Package com.datadog.api.client.v2.model
Class EscalationPolicyUpdateRequestData
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyUpdateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyUpdateRequestData
extends Object
Represents the data for updating an existing escalation policy, including its ID, attributes,
relationships, and resource type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEscalationPolicyUpdateRequestData(EscalationPolicyUpdateRequestDataAttributes attributes, String id, EscalationPolicyUpdateRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this EscalationPolicyUpdateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the attributes that can be updated for an escalation policy, such as description, name, resolution behavior, retries, and steps.getId()Specifies the unique identifier of the escalation policy being updated.Represents relationships in an escalation policy update 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(EscalationPolicyUpdateRequestDataRelationships relationships) voidvoidvoidsetRelationships(EscalationPolicyUpdateRequestDataRelationships relationships) voidtoString()
-
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
-
EscalationPolicyUpdateRequestData
public EscalationPolicyUpdateRequestData() -
EscalationPolicyUpdateRequestData
public EscalationPolicyUpdateRequestData(EscalationPolicyUpdateRequestDataAttributes attributes, String id, EscalationPolicyUpdateRequestDataType type)
-
-
Method Details
-
attributes
public EscalationPolicyUpdateRequestData attributes(EscalationPolicyUpdateRequestDataAttributes attributes) -
getAttributes
Defines the attributes that can be updated for an escalation policy, such as description, name, resolution behavior, retries, and steps.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Specifies the unique identifier of the escalation policy being updated.- Returns:
- id
-
setId
-
relationships
public EscalationPolicyUpdateRequestData relationships(EscalationPolicyUpdateRequestDataRelationships relationships) -
getRelationships
Represents relationships in an escalation policy update 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:
- EscalationPolicyUpdateRequestData
-
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 EscalationPolicyUpdateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-