Package com.datadog.api.client.v2.model
Class IncidentResponseAttributes
java.lang.Object
com.datadog.api.client.v2.model.IncidentResponseAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class IncidentResponseAttributes
extends Object
The incident's attributes from a response.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddNotificationHandlesItem(IncidentNotificationHandle notificationHandlesItem) customerImpacted(Boolean customerImpacted) customerImpactEnd(OffsetDateTime customerImpactEnd) customerImpactScope(String customerImpactScope) customerImpactStart(OffsetDateTime customerImpactStart) declaredBy(IncidentNonDatadogCreator declaredBy) declaredByUuid(String declaredByUuid) detected(OffsetDateTime detected) booleanReturn true if this IncidentResponseAttributes object is equal to o.fields(Map<String, IncidentFieldAttributes> fields) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp of when the incident was archived.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The incident case id.org.openapitools.jackson.nullable.JsonNullable<Long>Timestamp when the incident was created.Length of the incident's customer impact in seconds.A flag indicating whether the incident caused customer impact.Timestamp when customers were no longer impacted by the incident.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>A summary of the impact customers experienced during the incident.org.openapitools.jackson.nullable.JsonNullable<String>Timestamp when customers began being impacted by the incident.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>Timestamp when the incident was declared.Incident's non Datadog creator.org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator>UUID of the user who declared the incident.org.openapitools.jackson.nullable.JsonNullable<String>Timestamp when the incident was detected.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>A condensed view of the user-defined fields attached to incidents.A unique identifier that represents an incident type.A flag indicating whether the incident is a test incident.Timestamp when the incident was last modified.Incident's non Datadog creator.org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator>Notification handles that will be notified of the incident during update.org.openapitools.jackson.nullable.JsonNullable<List<IncidentNotificationHandle>>The monotonically increasing integer ID for the incident.Timestamp when the incident's state was last changed from active or stable to resolved or completed.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The incident severity.getState()The state incident.org.openapitools.jackson.nullable.JsonNullable<String>The amount of time in seconds to detect the incident.The amount of time in seconds to call incident after detection.The amount of time in seconds to resolve customer impact after detecting the issue.The amount of time in seconds to resolve the incident after it was created.getTitle()The title of the incident, which summarizes what happened.The incident visibility status.org.openapitools.jackson.nullable.JsonNullable<String>inthashCode()incidentTypeUuid(String incidentTypeUuid) nonDatadogCreator(IncidentNonDatadogCreator nonDatadogCreator) notificationHandles(List<IncidentNotificationHandle> notificationHandles) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putFieldsItem(String key, IncidentFieldAttributes fieldsItem) resolved(OffsetDateTime resolved) voidvoidsetCaseId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> caseId) voidsetCustomerImpacted(Boolean customerImpacted) voidsetCustomerImpactEnd(OffsetDateTime customerImpactEnd) voidsetCustomerImpactEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> customerImpactEnd) voidsetCustomerImpactScope(String customerImpactScope) voidsetCustomerImpactScope_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerImpactScope) voidsetCustomerImpactStart(OffsetDateTime customerImpactStart) voidsetCustomerImpactStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> customerImpactStart) voidsetDeclaredBy(IncidentNonDatadogCreator declaredBy) voidsetDeclaredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> declaredBy) voidsetDeclaredByUuid(String declaredByUuid) voidsetDeclaredByUuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> declaredByUuid) voidsetDetected(OffsetDateTime detected) voidsetDetected_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> detected) voidsetFields(Map<String, IncidentFieldAttributes> fields) voidsetIncidentTypeUuid(String incidentTypeUuid) voidvoidsetNonDatadogCreator(IncidentNonDatadogCreator nonDatadogCreator) voidsetNonDatadogCreator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> nonDatadogCreator) voidsetNotificationHandles(List<IncidentNotificationHandle> notificationHandles) voidsetNotificationHandles_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<IncidentNotificationHandle>> notificationHandles) voidsetPublicId(Long publicId) voidsetResolved(OffsetDateTime resolved) voidsetResolved_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> resolved) voidsetSeverity(IncidentSeverity severity) voidvoidsetState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state) voidvoidsetVisibility(String visibility) voidsetVisibility_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> visibility) severity(IncidentSeverity severity) toString()visibility(String visibility)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ARCHIVED
- See Also:
-
JSON_PROPERTY_CASE_ID
- See Also:
-
JSON_PROPERTY_CREATED
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACT_DURATION
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACT_END
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACT_SCOPE
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACT_START
- See Also:
-
JSON_PROPERTY_CUSTOMER_IMPACTED
- See Also:
-
JSON_PROPERTY_DECLARED
- See Also:
-
JSON_PROPERTY_DECLARED_BY
- See Also:
-
JSON_PROPERTY_DECLARED_BY_UUID
- See Also:
-
JSON_PROPERTY_DETECTED
- See Also:
-
JSON_PROPERTY_FIELDS
- See Also:
-
JSON_PROPERTY_INCIDENT_TYPE_UUID
- See Also:
-
JSON_PROPERTY_IS_TEST
- See Also:
-
JSON_PROPERTY_MODIFIED
- See Also:
-
JSON_PROPERTY_NON_DATADOG_CREATOR
- See Also:
-
JSON_PROPERTY_NOTIFICATION_HANDLES
- See Also:
-
JSON_PROPERTY_PUBLIC_ID
- See Also:
-
JSON_PROPERTY_RESOLVED
- See Also:
-
JSON_PROPERTY_SEVERITY
- See Also:
-
JSON_PROPERTY_STATE
- See Also:
-
JSON_PROPERTY_TIME_TO_DETECT
- See Also:
-
JSON_PROPERTY_TIME_TO_INTERNAL_RESPONSE
- See Also:
-
JSON_PROPERTY_TIME_TO_REPAIR
- See Also:
-
JSON_PROPERTY_TIME_TO_RESOLVE
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_VISIBILITY
- See Also:
-
-
Constructor Details
-
IncidentResponseAttributes
public IncidentResponseAttributes() -
IncidentResponseAttributes
-
-
Method Details
-
getArchived
Timestamp of when the incident was archived.- Returns:
- archived
-
getArchived_JsonNullable
-
caseId
-
getCaseId
The incident case id.- Returns:
- caseId
-
getCaseId_JsonNullable
-
setCaseId_JsonNullable
-
setCaseId
-
getCreated
Timestamp when the incident was created.- Returns:
- created
-
getCustomerImpactDuration
Length of the incident's customer impact in seconds. Equals the difference betweencustomer_impact_startandcustomer_impact_end.- Returns:
- customerImpactDuration
-
customerImpactEnd
-
getCustomerImpactEnd
Timestamp when customers were no longer impacted by the incident.- Returns:
- customerImpactEnd
-
getCustomerImpactEnd_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCustomerImpactEnd_JsonNullable() -
setCustomerImpactEnd_JsonNullable
public void setCustomerImpactEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> customerImpactEnd) -
setCustomerImpactEnd
-
customerImpactScope
-
getCustomerImpactScope
A summary of the impact customers experienced during the incident.- Returns:
- customerImpactScope
-
getCustomerImpactScope_JsonNullable
-
setCustomerImpactScope_JsonNullable
public void setCustomerImpactScope_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerImpactScope) -
setCustomerImpactScope
-
customerImpactStart
-
getCustomerImpactStart
Timestamp when customers began being impacted by the incident.- Returns:
- customerImpactStart
-
getCustomerImpactStart_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getCustomerImpactStart_JsonNullable() -
setCustomerImpactStart_JsonNullable
public void setCustomerImpactStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> customerImpactStart) -
setCustomerImpactStart
-
customerImpacted
-
getCustomerImpacted
A flag indicating whether the incident caused customer impact.- Returns:
- customerImpacted
-
setCustomerImpacted
-
getDeclared
Timestamp when the incident was declared.- Returns:
- declared
-
declaredBy
-
getDeclaredBy
Incident's non Datadog creator.- Returns:
- declaredBy
-
getDeclaredBy_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> getDeclaredBy_JsonNullable() -
setDeclaredBy_JsonNullable
public void setDeclaredBy_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> declaredBy) -
setDeclaredBy
-
declaredByUuid
-
getDeclaredByUuid
UUID of the user who declared the incident.- Returns:
- declaredByUuid
-
getDeclaredByUuid_JsonNullable
-
setDeclaredByUuid_JsonNullable
public void setDeclaredByUuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> declaredByUuid) -
setDeclaredByUuid
-
detected
-
getDetected
Timestamp when the incident was detected.- Returns:
- detected
-
getDetected_JsonNullable
-
setDetected_JsonNullable
public void setDetected_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> detected) -
setDetected
-
fields
-
putFieldsItem
-
getFields
A condensed view of the user-defined fields attached to incidents.- Returns:
- fields
-
setFields
-
incidentTypeUuid
-
getIncidentTypeUuid
A unique identifier that represents an incident type.- Returns:
- incidentTypeUuid
-
setIncidentTypeUuid
-
isTest
-
getIsTest
A flag indicating whether the incident is a test incident.- Returns:
- isTest
-
setIsTest
-
getModified
Timestamp when the incident was last modified.- Returns:
- modified
-
nonDatadogCreator
-
getNonDatadogCreator
Incident's non Datadog creator.- Returns:
- nonDatadogCreator
-
getNonDatadogCreator_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> getNonDatadogCreator_JsonNullable() -
setNonDatadogCreator_JsonNullable
public void setNonDatadogCreator_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<IncidentNonDatadogCreator> nonDatadogCreator) -
setNonDatadogCreator
-
notificationHandles
public IncidentResponseAttributes notificationHandles(List<IncidentNotificationHandle> notificationHandles) -
addNotificationHandlesItem
public IncidentResponseAttributes addNotificationHandlesItem(IncidentNotificationHandle notificationHandlesItem) -
getNotificationHandles
Notification handles that will be notified of the incident during update.- Returns:
- notificationHandles
-
getNotificationHandles_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<List<IncidentNotificationHandle>> getNotificationHandles_JsonNullable() -
setNotificationHandles_JsonNullable
public void setNotificationHandles_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<List<IncidentNotificationHandle>> notificationHandles) -
setNotificationHandles
-
publicId
-
getPublicId
The monotonically increasing integer ID for the incident.- Returns:
- publicId
-
setPublicId
-
resolved
-
getResolved
Timestamp when the incident's state was last changed from active or stable to resolved or completed.- Returns:
- resolved
-
getResolved_JsonNullable
-
setResolved_JsonNullable
public void setResolved_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> resolved) -
setResolved
-
severity
-
getSeverity
The incident severity.- Returns:
- severity
-
setSeverity
-
state
-
getState
The state incident.- Returns:
- state
-
getState_JsonNullable
-
setState_JsonNullable
-
setState
-
getTimeToDetect
The amount of time in seconds to detect the incident. Equals the difference betweencustomer_impact_startanddetected.- Returns:
- timeToDetect
-
getTimeToInternalResponse
The amount of time in seconds to call incident after detection. Equals the difference ofdetectedandcreated.- Returns:
- timeToInternalResponse
-
getTimeToRepair
The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference betweencustomer_impact_endanddetected.- Returns:
- timeToRepair
-
getTimeToResolve
The amount of time in seconds to resolve the incident after it was created. Equals the difference betweencreatedandresolved.- Returns:
- timeToResolve
-
title
-
getTitle
The title of the incident, which summarizes what happened.- Returns:
- title
-
setTitle
-
visibility
-
getVisibility
The incident visibility status.- Returns:
- visibility
-
getVisibility_JsonNullable
-
setVisibility_JsonNullable
public void setVisibility_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> visibility) -
setVisibility
-
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:
- IncidentResponseAttributes
-
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 IncidentResponseAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-