Class PostmortemTemplateAttributesRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PostmortemTemplateAttributesRequest extends Object
Attributes for creating or updating a postmortem template.
  • Field Details

  • Constructor Details

    • PostmortemTemplateAttributesRequest

      public PostmortemTemplateAttributesRequest()
    • PostmortemTemplateAttributesRequest

      public PostmortemTemplateAttributesRequest(String name)
  • Method Details

    • confluencePostmortemSettings

      public PostmortemTemplateAttributesRequest confluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings)
    • getConfluencePostmortemSettings

      @Nullable public ConfluencePostmortemSettings getConfluencePostmortemSettings()
      Settings for a postmortem template stored in Confluence. Required when location is confluence.
      Returns:
      confluencePostmortemSettings
    • setConfluencePostmortemSettings

      public void setConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings)
    • content

      public PostmortemTemplateAttributesRequest content(String content)
    • getContent

      @Nullable public String getContent()
      The templated content of the postmortem, supporting Markdown and incident template variables.
      Returns:
      content
    • setContent

      public void setContent(String content)
    • googleDocsPostmortemSettings

      public PostmortemTemplateAttributesRequest googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings)
    • getGoogleDocsPostmortemSettings

      @Nullable public GoogleDocsPostmortemSettings getGoogleDocsPostmortemSettings()
      Settings for a postmortem template stored in Google Docs. Required when location is google_docs.
      Returns:
      googleDocsPostmortemSettings
    • setGoogleDocsPostmortemSettings

      public void setGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings)
    • isDefault

    • getIsDefault

      @Nullable public OffsetDateTime getIsDefault()
      When set, marks this template as a default. The effective default for an incident type is the template with the most recent is_default timestamp. Set to null to unset.
      Returns:
      isDefault
    • getIsDefault_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getIsDefault_JsonNullable()
    • setIsDefault_JsonNullable

      public void setIsDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> isDefault)
    • setIsDefault

      public void setIsDefault(OffsetDateTime isDefault)
    • location

    • getLocation

      @Nullable public PostmortemTemplateLocation getLocation()
      The location where the postmortem is created and stored.
      Returns:
      location
    • setLocation

      public void setLocation(PostmortemTemplateLocation location)
    • name

    • getName

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

      public void setName(String name)
    • putAdditionalProperty

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