Package com.datadog.api.client.v2.model
Class EscalationPolicyData
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyData
extends Object
Represents the data for a single escalation policy, including its attributes, ID, relationships,
and resource type.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(EscalationPolicyDataAttributes attributes) booleanReturn true if this EscalationPolicyData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the main attributes of an escalation policy, such as its name and behavior on policy end.getId()Specifies the unique identifier of the escalation policy.Represents the relationships for an escalation policy, including references to steps and teams.getType()Indicates that the resource is of typepolicies.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(EscalationPolicyDataRelationships relationships) voidsetAttributes(EscalationPolicyDataAttributes attributes) voidvoidsetRelationships(EscalationPolicyDataRelationships relationships) voidtoString()type(EscalationPolicyDataType 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
-
EscalationPolicyData
public EscalationPolicyData() -
EscalationPolicyData
-
-
Method Details
-
attributes
-
getAttributes
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Specifies the unique identifier of the escalation policy.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Represents the relationships for an escalation policy, including references to steps and teams.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Indicates that the resource is of typepolicies.- 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:
- EscalationPolicyData
-
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 EscalationPolicyData object is equal to o. -
hashCode
public int hashCode() -
toString
-