Package com.datadog.api.client.v2.model
Class RoutingRuleEscalationPolicyActionSupportHours
java.lang.Object
com.datadog.api.client.v2.model.RoutingRuleEscalationPolicyActionSupportHours
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RoutingRuleEscalationPolicyActionSupportHours
extends Object
Support hours during which the escalation policy will be executed. Outside of these hours, the
escalation policy will be on hold and triggered once the next support hours window starts. This
is mutually exclusive with the top-level
time_restriction field on the routing rule.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddRestrictionsItem(TimeRestriction restrictionsItem) booleanReturn true if this RoutingRuleEscalationPolicyActionSupportHours object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The list of support hours time windows.The time zone in which the support hours are expressed.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.restrictions(List<TimeRestriction> restrictions) voidsetRestrictions(List<TimeRestriction> restrictions) voidsetTimeZone(String timeZone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_RESTRICTIONS
- See Also:
-
JSON_PROPERTY_TIME_ZONE
- See Also:
-
-
Constructor Details
-
RoutingRuleEscalationPolicyActionSupportHours
public RoutingRuleEscalationPolicyActionSupportHours() -
RoutingRuleEscalationPolicyActionSupportHours
-
-
Method Details
-
restrictions
public RoutingRuleEscalationPolicyActionSupportHours restrictions(List<TimeRestriction> restrictions) -
addRestrictionsItem
public RoutingRuleEscalationPolicyActionSupportHours addRestrictionsItem(TimeRestriction restrictionsItem) -
getRestrictions
The list of support hours time windows.- Returns:
- restrictions
-
setRestrictions
-
timeZone
-
getTimeZone
The time zone in which the support hours are expressed.- Returns:
- timeZone
-
setTimeZone
-
putAdditionalProperty
public RoutingRuleEscalationPolicyActionSupportHours putAdditionalProperty(String key, Object value) 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:
- RoutingRuleEscalationPolicyActionSupportHours
-
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 RoutingRuleEscalationPolicyActionSupportHours object is equal to o. -
hashCode
public int hashCode() -
toString
-