@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TimeRestrictions extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_RESTRICTIONS |
static String |
JSON_PROPERTY_TIME_ZONE |
boolean |
unparsed |
| Constructor and Description |
|---|
TimeRestrictions() |
TimeRestrictions(List<TimeRestriction> restrictions,
String timeZone) |
| Modifier and Type | Method and Description |
|---|---|
TimeRestrictions |
addRestrictionsItem(TimeRestriction restrictionsItem) |
boolean |
equals(Object o)
Return true if this TimeRestrictions object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
List<TimeRestriction> |
getRestrictions()
Defines the list of time-based restrictions.
|
String |
getTimeZone()
Specifies the time zone applicable to the restrictions.
|
int |
hashCode() |
TimeRestrictions |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
TimeRestrictions |
restrictions(List<TimeRestriction> restrictions) |
void |
setRestrictions(List<TimeRestriction> restrictions) |
void |
setTimeZone(String timeZone) |
TimeRestrictions |
timeZone(String timeZone) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_RESTRICTIONS
public static final String JSON_PROPERTY_TIME_ZONE
public TimeRestrictions()
public TimeRestrictions(List<TimeRestriction> restrictions, String timeZone)
public TimeRestrictions restrictions(List<TimeRestriction> restrictions)
public TimeRestrictions addRestrictionsItem(TimeRestriction restrictionsItem)
public List<TimeRestriction> getRestrictions()
public void setRestrictions(List<TimeRestriction> restrictions)
public TimeRestrictions timeZone(String timeZone)
public String getTimeZone()
public void setTimeZone(String timeZone)
public TimeRestrictions putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2025. All rights reserved.