Package com.datadog.api.client.v2.model
Class EscalationPolicyStepTarget
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyStepTarget
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyStepTarget
extends Object
Defines a single escalation target within a step for an escalation policy creation request.
Contains
id, type, and optional config.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this EscalationPolicyStepTarget object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Configuration for an escalation target, such as schedule position.getId()Specifies the unique identifier for this target.getType()Specifies the type of escalation target (exampleusers,schedules, orteams).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CONFIG
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
EscalationPolicyStepTarget
public EscalationPolicyStepTarget()
-
-
Method Details
-
config
-
getConfig
Configuration for an escalation target, such as schedule position.- Returns:
- config
-
setConfig
-
id
-
getId
Specifies the unique identifier for this target.- Returns:
- id
-
setId
-
type
-
getType
Specifies the type of escalation target (exampleusers,schedules, orteams).- 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:
- EscalationPolicyStepTarget
-
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 EscalationPolicyStepTarget object is equal to o. -
hashCode
public int hashCode() -
toString
-