Class IncidentIntegrationMetadataAttributes

java.lang.Object
com.datadog.api.client.v2.model.IncidentIntegrationMetadataAttributes

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentIntegrationMetadataAttributes extends Object
Incident integration metadata's attributes for a create request.
  • Field Details

  • Constructor Details

    • IncidentIntegrationMetadataAttributes

      public IncidentIntegrationMetadataAttributes()
    • IncidentIntegrationMetadataAttributes

      public IncidentIntegrationMetadataAttributes(Integer integrationType, IncidentIntegrationMetadataMetadata metadata)
  • Method Details

    • getCreated

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

      public IncidentIntegrationMetadataAttributes incidentId(String incidentId)
    • getIncidentId

      @Nullable public String getIncidentId()
      UUID of the incident this integration metadata is connected to.
      Returns:
      incidentId
    • setIncidentId

      public void setIncidentId(String incidentId)
    • integrationType

      public IncidentIntegrationMetadataAttributes integrationType(Integer integrationType)
    • getIntegrationType

      public Integer getIntegrationType()
      A number indicating the type of integration this metadata is for. 1 indicates Slack; 7 indicates Microsoft Teams; 8 indicates Jira. maximum: 100
      Returns:
      integrationType
    • setIntegrationType

      public void setIntegrationType(Integer integrationType)
    • metadata

    • getMetadata

      Incident integration metadata's metadata attribute.
      Returns:
      metadata
    • setMetadata

      public void setMetadata(IncidentIntegrationMetadataMetadata metadata)
    • getModified

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

    • getStatus

      @Nullable public Integer getStatus()
      A number indicating the status of this integration metadata. 0 indicates unknown; 1 indicates pending; 2 indicates complete; 3 indicates manually created; 4 indicates manually updated; 5 indicates failed. maximum: 5
      Returns:
      status
    • setStatus

      public void setStatus(Integer status)
    • putAdditionalProperty

      public IncidentIntegrationMetadataAttributes 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:
      IncidentIntegrationMetadataAttributes
    • 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 IncidentIntegrationMetadataAttributes 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