@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class TimeRestriction extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_END_DAY |
static String |
JSON_PROPERTY_END_TIME |
static String |
JSON_PROPERTY_START_DAY |
static String |
JSON_PROPERTY_START_TIME |
boolean |
unparsed |
| Constructor and Description |
|---|
TimeRestriction() |
| Modifier and Type | Method and Description |
|---|---|
TimeRestriction |
endDay(Weekday endDay) |
TimeRestriction |
endTime(String endTime) |
boolean |
equals(Object o)
Return true if this TimeRestriction 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.
|
Weekday |
getEndDay()
A day of the week.
|
String |
getEndTime()
Specifies the ending time for this restriction.
|
Weekday |
getStartDay()
A day of the week.
|
String |
getStartTime()
Specifies the starting time for this restriction.
|
int |
hashCode() |
TimeRestriction |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setEndDay(Weekday endDay) |
void |
setEndTime(String endTime) |
void |
setStartDay(Weekday startDay) |
void |
setStartTime(String startTime) |
TimeRestriction |
startDay(Weekday startDay) |
TimeRestriction |
startTime(String startTime) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_END_DAY
public static final String JSON_PROPERTY_END_TIME
public static final String JSON_PROPERTY_START_DAY
public static final String JSON_PROPERTY_START_TIME
public TimeRestriction endDay(Weekday endDay)
@Nullable public Weekday getEndDay()
public void setEndDay(Weekday endDay)
public TimeRestriction endTime(String endTime)
@Nullable public String getEndTime()
public void setEndTime(String endTime)
public TimeRestriction startDay(Weekday startDay)
@Nullable public Weekday getStartDay()
public void setStartDay(Weekday startDay)
public TimeRestriction startTime(String startTime)
@Nullable public String getStartTime()
public void setStartTime(String startTime)
public TimeRestriction 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.