Package com.datadog.api.client.v2.model
Class PostmortemTemplateDataRequest
java.lang.Object
com.datadog.api.client.v2.model.PostmortemTemplateDataRequest
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PostmortemTemplateDataRequest
extends Object
Data object for creating or updating a postmortem template.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPostmortemTemplateDataRequest(PostmortemTemplateAttributesRequest attributes, PostmortemTemplateType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(PostmortemTemplateAttributesRequest attributes) booleanReturn true if this PostmortemTemplateDataRequest object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for creating or updating a postmortem template.getId()The ID of the template.Relationships for a postmortem template.getType()Postmortem template resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(PostmortemTemplateCreateRelationships relationships) voidsetAttributes(PostmortemTemplateAttributesRequest attributes) voidvoidsetRelationships(PostmortemTemplateCreateRelationships relationships) voidtoString()type(PostmortemTemplateType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
PostmortemTemplateDataRequest
public PostmortemTemplateDataRequest() -
PostmortemTemplateDataRequest
public PostmortemTemplateDataRequest(PostmortemTemplateAttributesRequest attributes, PostmortemTemplateType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for creating or updating a postmortem template.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the template. Required when updating.- Returns:
- id
-
setId
-
relationships
public PostmortemTemplateDataRequest relationships(PostmortemTemplateCreateRelationships relationships) -
getRelationships
Relationships for a postmortem template.incident_typeis required when creating a template and is immutable afterwards.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Postmortem template resource type.- Returns:
- type
-
setType
-
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:
- PostmortemTemplateDataRequest
-
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 PostmortemTemplateDataRequest object is equal to o. -
hashCode
public int hashCode() -
toString
-