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