@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class PostmortemTemplateAttributesRequest extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS |
static String |
JSON_PROPERTY_CONTENT |
static String |
JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS |
static String |
JSON_PROPERTY_IS_DEFAULT |
static String |
JSON_PROPERTY_LOCATION |
static String |
JSON_PROPERTY_NAME |
boolean |
unparsed |
| Constructor and Description |
|---|
PostmortemTemplateAttributesRequest() |
PostmortemTemplateAttributesRequest(String name) |
| Modifier and Type | Method and Description |
|---|---|
PostmortemTemplateAttributesRequest |
confluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) |
PostmortemTemplateAttributesRequest |
content(String content) |
boolean |
equals(Object o)
Return true if this PostmortemTemplateAttributesRequest object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
ConfluencePostmortemSettings |
getConfluencePostmortemSettings()
Settings for a postmortem template stored in Confluence.
|
String |
getContent()
The templated content of the postmortem, supporting Markdown and incident template variables.
|
GoogleDocsPostmortemSettings |
getGoogleDocsPostmortemSettings()
Settings for a postmortem template stored in Google Docs.
|
org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> |
getIsDefault_JsonNullable() |
OffsetDateTime |
getIsDefault()
When set, marks this template as a default.
|
PostmortemTemplateLocation |
getLocation()
The location where the postmortem is created and stored.
|
String |
getName()
The name of the template.
|
PostmortemTemplateAttributesRequest |
googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) |
int |
hashCode() |
PostmortemTemplateAttributesRequest |
isDefault(OffsetDateTime isDefault) |
PostmortemTemplateAttributesRequest |
location(PostmortemTemplateLocation location) |
PostmortemTemplateAttributesRequest |
name(String name) |
PostmortemTemplateAttributesRequest |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings) |
void |
setContent(String content) |
void |
setGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings) |
void |
setIsDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> isDefault) |
void |
setIsDefault(OffsetDateTime isDefault) |
void |
setLocation(PostmortemTemplateLocation location) |
void |
setName(String name) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_CONFLUENCE_POSTMORTEM_SETTINGS
public static final String JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_GOOGLE_DOCS_POSTMORTEM_SETTINGS
public static final String JSON_PROPERTY_IS_DEFAULT
public static final String JSON_PROPERTY_LOCATION
public static final String JSON_PROPERTY_NAME
public PostmortemTemplateAttributesRequest()
public PostmortemTemplateAttributesRequest(String name)
public PostmortemTemplateAttributesRequest confluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings)
@Nullable public ConfluencePostmortemSettings getConfluencePostmortemSettings()
location is
confluence.public void setConfluencePostmortemSettings(ConfluencePostmortemSettings confluencePostmortemSettings)
public PostmortemTemplateAttributesRequest content(String content)
@Nullable public String getContent()
public void setContent(String content)
public PostmortemTemplateAttributesRequest googleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings)
@Nullable public GoogleDocsPostmortemSettings getGoogleDocsPostmortemSettings()
location
is google_docs.public void setGoogleDocsPostmortemSettings(GoogleDocsPostmortemSettings googleDocsPostmortemSettings)
public PostmortemTemplateAttributesRequest isDefault(OffsetDateTime isDefault)
@Nullable public OffsetDateTime getIsDefault()
is_default timestamp. Set to null to
unset.public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getIsDefault_JsonNullable()
public void setIsDefault_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> isDefault)
public void setIsDefault(OffsetDateTime isDefault)
public PostmortemTemplateAttributesRequest location(PostmortemTemplateLocation location)
@Nullable public PostmortemTemplateLocation getLocation()
public void setLocation(PostmortemTemplateLocation location)
public PostmortemTemplateAttributesRequest name(String name)
public String getName()
public void setName(String name)
public PostmortemTemplateAttributesRequest putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.