Package com.datadog.api.client.v2.model
Class PostmortemTemplateCreateRelationships
java.lang.Object
com.datadog.api.client.v2.model.PostmortemTemplateCreateRelationships
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PostmortemTemplateCreateRelationships
extends Object
Relationships for a postmortem template.
incident_type is required when creating a
template and is immutable afterwards.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this PostmortemTemplateCreateRelationships object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relationship to the incident type this template belongs to.inthashCode()incidentType(PostmortemTemplateIncidentTypeRelationship incidentType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetIncidentType(PostmortemTemplateIncidentTypeRelationship incidentType) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_INCIDENT_TYPE
- See Also:
-
-
Constructor Details
-
PostmortemTemplateCreateRelationships
public PostmortemTemplateCreateRelationships()
-
-
Method Details
-
incidentType
public PostmortemTemplateCreateRelationships incidentType(PostmortemTemplateIncidentTypeRelationship incidentType) -
getIncidentType
Relationship to the incident type this template belongs to.- Returns:
- incidentType
-
setIncidentType
-
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:
- PostmortemTemplateCreateRelationships
-
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 PostmortemTemplateCreateRelationships object is equal to o. -
hashCode
public int hashCode() -
toString
-