Package com.datadog.api.client.v2.model
Class PostmortemTemplateAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.PostmortemTemplateAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PostmortemTemplateAttributesResponse
extends Object
Attributes of a postmortem template returned in a response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPostmortemTemplateAttributesResponse(String content, OffsetDateTime createdAt, OffsetDateTime isDefault, PostmortemTemplateLocation location, OffsetDateTime modifiedAt, String name) -
Method Summary
Modifier and TypeMethodDescriptionconfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) createdAt(OffsetDateTime createdAt) booleanReturn true if this PostmortemTemplateAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Settings for a postmortem template stored in Confluence.The templated content of the postmortem, supporting Markdown and incident template variables.When the template was created.Settings for a postmortem template stored in Google Docs.When set, marks this template as a default.The location where the postmortem is created and stored.When the template was last modified.getName()The name of the template.googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) inthashCode()isDefault(OffsetDateTime isDefault) location(PostmortemTemplateLocation location) modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) voidsetContent(String content) voidsetCreatedAt(OffsetDateTime createdAt) voidsetGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) voidsetIsDefault(OffsetDateTime isDefault) voidsetLocation(PostmortemTemplateLocation location) voidsetModifiedAt(OffsetDateTime modifiedAt) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS
- See Also:
-
JSON_PROPERTY_IS_DEFAULT
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
PostmortemTemplateAttributesResponse
public PostmortemTemplateAttributesResponse() -
PostmortemTemplateAttributesResponse
public PostmortemTemplateAttributesResponse(String content, OffsetDateTime createdAt, OffsetDateTime isDefault, PostmortemTemplateLocation location, OffsetDateTime modifiedAt, String name)
-
-
Method Details
-
confluencePostmortemSettings
public PostmortemTemplateAttributesResponse confluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) -
getConfluencePostmortemSettings
Settings for a postmortem template stored in Confluence. Required whenlocationisconfluence.- Returns:
- confluencePostmortemSettings
-
setConfluencePostmortemSettings
public void setConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) -
content
-
getContent
The templated content of the postmortem, supporting Markdown and incident template variables.- Returns:
- content
-
setContent
-
createdAt
-
getCreatedAt
When the template was created.- Returns:
- createdAt
-
setCreatedAt
-
googleDocsPostmortemSettings
public PostmortemTemplateAttributesResponse googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) -
getGoogleDocsPostmortemSettings
Settings for a postmortem template stored in Google Docs. Required whenlocationisgoogle_docs.- Returns:
- googleDocsPostmortemSettings
-
setGoogleDocsPostmortemSettings
public void setGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) -
isDefault
-
getIsDefault
When set, marks this template as a default. The effective default for an incident type is the template with the most recentis_defaulttimestamp.- Returns:
- isDefault
-
setIsDefault
-
location
-
getLocation
The location where the postmortem is created and stored.- Returns:
- location
-
setLocation
-
modifiedAt
-
getModifiedAt
When the template was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
name
-
getName
The name of the template.- Returns:
- name
-
setName
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- PostmortemTemplateAttributesResponse
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this PostmortemTemplateAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-