Package com.datadog.api.client.v2.model
Class IncidentTypeConfiguration
java.lang.Object
com.datadog.api.client.v2.model.IncidentTypeConfiguration
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentTypeConfiguration
extends Object
The incident-type-scoped behavior settings. All fields are optional on update. Any field omitted
from a PATCH request keeps its current value. This object is read-only on the incident type
resource itself and is only mutated through the update (PATCH) endpoint.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowIncidentDeletion(Boolean allowIncidentDeletion) allowWorkflows(Boolean allowWorkflows) createMessage(String createMessage) editableTimestamps(Boolean editableTimestamps) booleanReturn true if this IncidentTypeConfiguration object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Whether incidents of this type can be deleted.Whether automation workflows can be triggered for incidents of this type.An optional message shown to users when they declare an incident of this type.Whether responders can edit incident timestamps for incidents of this type.Whether responders can create private incidents of this type.Whether incidents of this type are created as private by default.When set toservicenow, incidents will display the ServiceNow record ID instead of the public ID.Whether incidents of this type are treated as test incidents.inthashCode()privateIncidents(Boolean privateIncidents) privateIncidentsByDefault(Boolean privateIncidentsByDefault) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAllowIncidentDeletion(Boolean allowIncidentDeletion) voidsetAllowWorkflows(Boolean allowWorkflows) voidsetCreateMessage(String createMessage) voidsetEditableTimestamps(Boolean editableTimestamps) voidsetPrivateIncidents(Boolean privateIncidents) voidsetPrivateIncidentsByDefault(Boolean privateIncidentsByDefault) voidsetSlugSource(IncidentTypeSlugSource slugSource) voidsetTestIncidents(Boolean testIncidents) slugSource(IncidentTypeSlugSource slugSource) testIncidents(Boolean testIncidents) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ALLOW_INCIDENT_DELETION
- See Also:
-
JSON_PROPERTY_ALLOW_WORKFLOWS
- See Also:
-
JSON_PROPERTY_CREATE_MESSAGE
- See Also:
-
JSON_PROPERTY_EDITABLE_TIMESTAMPS
- See Also:
-
JSON_PROPERTY_PRIVATE_INCIDENTS
- See Also:
-
JSON_PROPERTY_PRIVATE_INCIDENTS_BY_DEFAULT
- See Also:
-
JSON_PROPERTY_SLUG_SOURCE
- See Also:
-
JSON_PROPERTY_TEST_INCIDENTS
- See Also:
-
-
Constructor Details
-
IncidentTypeConfiguration
public IncidentTypeConfiguration()
-
-
Method Details
-
allowIncidentDeletion
-
getAllowIncidentDeletion
Whether incidents of this type can be deleted.- Returns:
- allowIncidentDeletion
-
setAllowIncidentDeletion
-
allowWorkflows
-
getAllowWorkflows
Whether automation workflows can be triggered for incidents of this type.- Returns:
- allowWorkflows
-
setAllowWorkflows
-
createMessage
-
getCreateMessage
An optional message shown to users when they declare an incident of this type.- Returns:
- createMessage
-
setCreateMessage
-
editableTimestamps
-
getEditableTimestamps
Whether responders can edit incident timestamps for incidents of this type.- Returns:
- editableTimestamps
-
setEditableTimestamps
-
privateIncidents
-
getPrivateIncidents
Whether responders can create private incidents of this type. This is an opt-in setting, distinct fromprivate_incidents_by_default, which controls whether incidents are created private automatically.- Returns:
- privateIncidents
-
setPrivateIncidents
-
privateIncidentsByDefault
-
getPrivateIncidentsByDefault
Whether incidents of this type are created as private by default.- Returns:
- privateIncidentsByDefault
-
setPrivateIncidentsByDefault
-
slugSource
-
getSlugSource
When set toservicenow, incidents will display the ServiceNow record ID instead of the public ID. If no ServiceNow integration exists, the public ID will be displayed.- Returns:
- slugSource
-
setSlugSource
-
testIncidents
-
getTestIncidents
Whether incidents of this type are treated as test incidents.- Returns:
- testIncidents
-
setTestIncidents
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- IncidentTypeConfiguration
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this IncidentTypeConfiguration object is equal to o. -
hashCode
public int hashCode() -
toString
-