Class IncidentTypeUpdateAttributes

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

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

  • Constructor Details

    • IncidentTypeUpdateAttributes

      public IncidentTypeUpdateAttributes()
  • Method Details

    • configuration

      public IncidentTypeUpdateAttributes 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 IncidentTypeUpdateAttributes description(String description)
    • getDescription

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

      public void setDescription(String description)
    • isDefault

      public IncidentTypeUpdateAttributes isDefault(Boolean isDefault)
    • getIsDefault

      @Nullable public Boolean getIsDefault()
      When true, this incident type will be used as the default type when an incident type is not specified.
      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

    • getName

      @Nullable 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 IncidentTypeUpdateAttributes 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:
      IncidentTypeUpdateAttributes
    • 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 IncidentTypeUpdateAttributes 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