Package com.datadog.api.client.v2.model
Class EscalationPolicyCreateRequestData
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyCreateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyCreateRequestData
extends Object
Represents the data for creating an escalation policy, including its attributes, relationships,
and resource type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEscalationPolicyCreateRequestData(EscalationPolicyCreateRequestDataAttributes attributes, EscalationPolicyCreateRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this EscalationPolicyCreateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the attributes for creating an escalation policy, including its description, name, resolution behavior, retries, and steps.Represents relationships in an escalation policy creation request, including references to 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(EscalationPolicyCreateRequestDataRelationships relationships) voidvoidsetRelationships(EscalationPolicyCreateRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
EscalationPolicyCreateRequestData
public EscalationPolicyCreateRequestData() -
EscalationPolicyCreateRequestData
public EscalationPolicyCreateRequestData(EscalationPolicyCreateRequestDataAttributes attributes, EscalationPolicyCreateRequestDataType type)
-
-
Method Details
-
attributes
public EscalationPolicyCreateRequestData attributes(EscalationPolicyCreateRequestDataAttributes attributes) -
getAttributes
Defines the attributes for creating an escalation policy, including its description, name, resolution behavior, retries, and steps.- Returns:
- attributes
-
setAttributes
-
relationships
public EscalationPolicyCreateRequestData relationships(EscalationPolicyCreateRequestDataRelationships relationships) -
getRelationships
Represents relationships in an escalation policy creation request, including references to 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:
- EscalationPolicyCreateRequestData
-
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 EscalationPolicyCreateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-