Class IncidentTypeAttributes

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class IncidentTypeAttributes extends Object
Incident type's attributes.
  • Field Details

  • Constructor Details

    • IncidentTypeAttributes

      public IncidentTypeAttributes()
    • IncidentTypeAttributes

      public IncidentTypeAttributes(String name)
  • Method Details

    • configuration

      public IncidentTypeAttributes configuration(IncidentTypeConfiguration configuration)
    • getConfiguration

      @Nullable public IncidentTypeConfiguration getConfiguration()
      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.
      Returns:
      configuration
    • setConfiguration

      public void setConfiguration(IncidentTypeConfiguration configuration)
    • getCreatedAt

      @Nullable public OffsetDateTime getCreatedAt()
      Timestamp when the incident type was created.
      Returns:
      createdAt
    • getCreatedBy

      @Nullable public String getCreatedBy()
      A unique identifier that represents the user that created the incident type.
      Returns:
      createdBy
    • description

      public IncidentTypeAttributes description(String description)
    • getDescription

      @Nullable public String getDescription()
      Text that describes the incident type.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
    • isDefault

      public IncidentTypeAttributes isDefault(Boolean isDefault)
    • getIsDefault

      @Nullable public Boolean getIsDefault()
      If true, this incident type will be used as the default incident type if a type is not specified during the creation of incident resources.
      Returns:
      isDefault
    • setIsDefault

      public void setIsDefault(Boolean isDefault)
    • getLastModifiedBy

      @Nullable public String getLastModifiedBy()
      A unique identifier that represents the user that last modified the incident type.
      Returns:
      lastModifiedBy
    • getModifiedAt

      @Nullable public OffsetDateTime getModifiedAt()
      Timestamp when the incident type was last modified.
      Returns:
      modifiedAt
    • name

      public IncidentTypeAttributes name(String name)
    • getName

      public String getName()
      The name of the incident type.
      Returns:
      name
    • setName

      public void setName(String name)
    • getPrefix

      @Nullable public String getPrefix()
      The string that will be prepended to the incident title across the Datadog app.
      Returns:
      prefix
    • putAdditionalProperty

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