Package com.datadog.api.client.v2.model
Class TimeRestrictions
java.lang.Object
com.datadog.api.client.v2.model.TimeRestrictions
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class TimeRestrictions
extends Object
Time restrictions during which the routing rule is active. Outside of these hours, the rule does
not match and routing continues to subsequent rules. This is mutually exclusive with the
action-level
support_hours field.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRestrictionsItem(TimeRestriction restrictionsItem) booleanReturn true if this TimeRestrictions object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the list of time-based restrictions.Specifies the time zone applicable to the restrictions.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
-
TimeRestrictions
public TimeRestrictions() -
TimeRestrictions
-
-
Method Details
-
restrictions
-
addRestrictionsItem
-
getRestrictions
Defines the list of time-based restrictions.- Returns:
- restrictions
-
setRestrictions
-
timeZone
-
getTimeZone
Specifies the time zone applicable to the restrictions.- Returns:
- timeZone
-
setTimeZone
-
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:
- TimeRestrictions
-
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 TimeRestrictions object is equal to o. -
hashCode
public int hashCode() -
toString
-