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 Details

  • Constructor Details

    • IncidentResponseAttributes

      public IncidentResponseAttributes()
    • IncidentResponseAttributes

      public IncidentResponseAttributes(String title)
  • Method Details

    • getArchived

      @Nullable public OffsetDateTime getArchived()
      Timestamp of when the incident was archived.
      Returns:
      archived
    • getArchived_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getArchived_JsonNullable()
    • caseId

      public IncidentResponseAttributes caseId(Long caseId)
    • getCaseId

      @Nullable public Long getCaseId()
      The incident case id.
      Returns:
      caseId
    • getCaseId_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getCaseId_JsonNullable()
    • setCaseId_JsonNullable

      public void setCaseId_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> caseId)
    • setCaseId

      public void setCaseId(Long caseId)
    • getCreated

      @Nullable public OffsetDateTime getCreated()
      Timestamp when the incident was created.
      Returns:
      created
    • getCustomerImpactDuration

      @Nullable public Long getCustomerImpactDuration()
      Length of the incident's customer impact in seconds. Equals the difference between customer_impact_start and customer_impact_end.
      Returns:
      customerImpactDuration
    • customerImpactEnd

      public IncidentResponseAttributes customerImpactEnd(OffsetDateTime customerImpactEnd)
    • getCustomerImpactEnd

      @Nullable public OffsetDateTime 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

      public void setCustomerImpactEnd(OffsetDateTime customerImpactEnd)
    • customerImpactScope

      public IncidentResponseAttributes customerImpactScope(String customerImpactScope)
    • getCustomerImpactScope

      @Nullable public String getCustomerImpactScope()
      A summary of the impact customers experienced during the incident.
      Returns:
      customerImpactScope
    • getCustomerImpactScope_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCustomerImpactScope_JsonNullable()
    • setCustomerImpactScope_JsonNullable

      public void setCustomerImpactScope_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> customerImpactScope)
    • setCustomerImpactScope

      public void setCustomerImpactScope(String customerImpactScope)
    • customerImpactStart

      public IncidentResponseAttributes customerImpactStart(OffsetDateTime customerImpactStart)
    • getCustomerImpactStart

      @Nullable public OffsetDateTime 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

      public void setCustomerImpactStart(OffsetDateTime customerImpactStart)
    • customerImpacted

      public IncidentResponseAttributes customerImpacted(Boolean customerImpacted)
    • getCustomerImpacted

      @Nullable public Boolean getCustomerImpacted()
      A flag indicating whether the incident caused customer impact.
      Returns:
      customerImpacted
    • setCustomerImpacted

      public void setCustomerImpacted(Boolean customerImpacted)
    • getDeclared

      @Nullable public OffsetDateTime getDeclared()
      Timestamp when the incident was declared.
      Returns:
      declared
    • declaredBy

      public IncidentResponseAttributes declaredBy(IncidentNonDatadogCreator declaredBy)
    • getDeclaredBy

      @Nullable public IncidentNonDatadogCreator 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

      public void setDeclaredBy(IncidentNonDatadogCreator declaredBy)
    • declaredByUuid

      public IncidentResponseAttributes declaredByUuid(String declaredByUuid)
    • getDeclaredByUuid

      @Nullable public String getDeclaredByUuid()
      UUID of the user who declared the incident.
      Returns:
      declaredByUuid
    • getDeclaredByUuid_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getDeclaredByUuid_JsonNullable()
    • setDeclaredByUuid_JsonNullable

      public void setDeclaredByUuid_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> declaredByUuid)
    • setDeclaredByUuid

      public void setDeclaredByUuid(String declaredByUuid)
    • detected

      public IncidentResponseAttributes detected(OffsetDateTime detected)
    • getDetected

      @Nullable public OffsetDateTime getDetected()
      Timestamp when the incident was detected.
      Returns:
      detected
    • getDetected_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getDetected_JsonNullable()
    • setDetected_JsonNullable

      public void setDetected_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> detected)
    • setDetected

      public void setDetected(OffsetDateTime detected)
    • fields

    • putFieldsItem

      public IncidentResponseAttributes putFieldsItem(String key, IncidentFieldAttributes fieldsItem)
    • getFields

      @Nullable public Map<String,IncidentFieldAttributes> getFields()
      A condensed view of the user-defined fields attached to incidents.
      Returns:
      fields
    • setFields

      public void setFields(Map<String,IncidentFieldAttributes> fields)
    • incidentTypeUuid

      public IncidentResponseAttributes incidentTypeUuid(String incidentTypeUuid)
    • getIncidentTypeUuid

      @Nullable public String getIncidentTypeUuid()
      A unique identifier that represents an incident type.
      Returns:
      incidentTypeUuid
    • setIncidentTypeUuid

      public void setIncidentTypeUuid(String incidentTypeUuid)
    • isTest

      public IncidentResponseAttributes isTest(Boolean isTest)
    • getIsTest

      @Nullable public Boolean getIsTest()
      A flag indicating whether the incident is a test incident.
      Returns:
      isTest
    • setIsTest

      public void setIsTest(Boolean isTest)
    • getModified

      @Nullable public OffsetDateTime getModified()
      Timestamp when the incident was last modified.
      Returns:
      modified
    • nonDatadogCreator

      public IncidentResponseAttributes nonDatadogCreator(IncidentNonDatadogCreator nonDatadogCreator)
    • getNonDatadogCreator

      @Nullable public IncidentNonDatadogCreator 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

      public void setNonDatadogCreator(IncidentNonDatadogCreator nonDatadogCreator)
    • notificationHandles

      public IncidentResponseAttributes notificationHandles(List<IncidentNotificationHandle> notificationHandles)
    • addNotificationHandlesItem

      public IncidentResponseAttributes addNotificationHandlesItem(IncidentNotificationHandle notificationHandlesItem)
    • getNotificationHandles

      @Nullable public List<IncidentNotificationHandle> 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

      public void setNotificationHandles(List<IncidentNotificationHandle> notificationHandles)
    • publicId

      public IncidentResponseAttributes publicId(Long publicId)
    • getPublicId

      @Nullable public Long getPublicId()
      The monotonically increasing integer ID for the incident.
      Returns:
      publicId
    • setPublicId

      public void setPublicId(Long publicId)
    • resolved

      public IncidentResponseAttributes resolved(OffsetDateTime resolved)
    • getResolved

      @Nullable public OffsetDateTime getResolved()
      Timestamp when the incident's state was last changed from active or stable to resolved or completed.
      Returns:
      resolved
    • getResolved_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getResolved_JsonNullable()
    • setResolved_JsonNullable

      public void setResolved_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> resolved)
    • setResolved

      public void setResolved(OffsetDateTime resolved)
    • severity

      public IncidentResponseAttributes severity(IncidentSeverity severity)
    • getSeverity

      @Nullable public IncidentSeverity getSeverity()
      The incident severity.
      Returns:
      severity
    • setSeverity

      public void setSeverity(IncidentSeverity severity)
    • state

      public IncidentResponseAttributes state(String state)
    • getState

      @Nullable public String getState()
      The state incident.
      Returns:
      state
    • getState_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getState_JsonNullable()
    • setState_JsonNullable

      public void setState_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> state)
    • setState

      public void setState(String state)
    • getTimeToDetect

      @Nullable public Long getTimeToDetect()
      The amount of time in seconds to detect the incident. Equals the difference between customer_impact_start and detected.
      Returns:
      timeToDetect
    • getTimeToInternalResponse

      @Nullable public Long getTimeToInternalResponse()
      The amount of time in seconds to call incident after detection. Equals the difference of detected and created.
      Returns:
      timeToInternalResponse
    • getTimeToRepair

      @Nullable public Long getTimeToRepair()
      The amount of time in seconds to resolve customer impact after detecting the issue. Equals the difference between customer_impact_end and detected.
      Returns:
      timeToRepair
    • getTimeToResolve

      @Nullable public Long getTimeToResolve()
      The amount of time in seconds to resolve the incident after it was created. Equals the difference between created and resolved.
      Returns:
      timeToResolve
    • title

      public IncidentResponseAttributes title(String title)
    • getTitle

      public String getTitle()
      The title of the incident, which summarizes what happened.
      Returns:
      title
    • setTitle

      public void setTitle(String title)
    • visibility

      public IncidentResponseAttributes visibility(String visibility)
    • getVisibility

      @Nullable public String getVisibility()
      The incident visibility status.
      Returns:
      visibility
    • getVisibility_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getVisibility_JsonNullable()
    • setVisibility_JsonNullable

      public void setVisibility_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> visibility)
    • setVisibility

      public void setVisibility(String visibility)
    • putAdditionalProperty

      public IncidentResponseAttributes putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      IncidentResponseAttributes
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this IncidentResponseAttributes object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object