Package com.datadog.api.client.v2.model
Class EscalationPolicyDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.EscalationPolicyDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EscalationPolicyDataAttributes
extends Object
Defines the main attributes of an escalation policy, such as its name and behavior on policy end.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this EscalationPolicyDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getName()Specifies the name of the escalation policy.Indicates whether the page is automatically resolved when the policy ends.Specifies how many times the escalation sequence is retried if there is no response.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resolvePageOnPolicyEnd(Boolean resolvePageOnPolicyEnd) voidvoidsetResolvePageOnPolicyEnd(Boolean resolvePageOnPolicyEnd) voidsetRetries(Long retries) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RESOLVE_PAGE_ON_POLICY_END
- See Also:
-
JSON_PROPERTY_RETRIES
- See Also:
-
-
Constructor Details
-
EscalationPolicyDataAttributes
public EscalationPolicyDataAttributes() -
EscalationPolicyDataAttributes
-
-
Method Details
-
name
-
getName
Specifies the name of the escalation policy.- Returns:
- name
-
setName
-
resolvePageOnPolicyEnd
-
getResolvePageOnPolicyEnd
Indicates whether the page is automatically resolved when the policy ends.- Returns:
- resolvePageOnPolicyEnd
-
setResolvePageOnPolicyEnd
-
retries
-
getRetries
Specifies how many times the escalation sequence is retried if there is no response. minimum: 0 maximum: 10- Returns:
- retries
-
setRetries
-
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:
- EscalationPolicyDataAttributes
-
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 EscalationPolicyDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-