Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionconfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) booleanReturn true if this PostmortemTemplateAttributesRequest 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.Settings for a postmortem template stored in Google Docs.When set, marks this template as a default.org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime>The location where the postmortem is created and stored.getName()The name of the template.googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) inthashCode()isDefault(OffsetDateTime isDefault) location(PostmortemTemplateLocation location) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) voidsetContent(String content) voidsetGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) voidsetIsDefault(OffsetDateTime isDefault) voidsetIsDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> isDefault) voidsetLocation(PostmortemTemplateLocation location) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS
- See Also:
-
JSON_PROPERTY_CONTENT
- See Also:
-
JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS
- See Also:
-
JSON_PROPERTY_IS_DEFAULT
- See Also:
-
JSON_PROPERTY_LOCATION
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
-
Constructor Details
-
PostmortemTemplateAttributesRequest
public PostmortemTemplateAttributesRequest() -
PostmortemTemplateAttributesRequest
-
-
Method Details
-
confluencePostmortemSettings
public PostmortemTemplateAttributesRequest 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
-
googleDocsPostmortemSettings
public PostmortemTemplateAttributesRequest 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. Set tonullto unset.- Returns:
- isDefault
-
getIsDefault_JsonNullable
-
setIsDefault_JsonNullable
public void setIsDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> isDefault) -
setIsDefault
-
location
-
getLocation
The location where the postmortem is created and stored.- Returns:
- location
-
setLocation
-
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:
- PostmortemTemplateAttributesRequest
-
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 PostmortemTemplateAttributesRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-