@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SyntheticsDowntimeTimeSlotResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_DURATION |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_NAME |
static String |
JSON_PROPERTY_RECURRENCE |
static String |
JSON_PROPERTY_START |
static String |
JSON_PROPERTY_TIMEZONE |
boolean |
unparsed |
| Constructor and Description |
|---|
SyntheticsDowntimeTimeSlotResponse() |
SyntheticsDowntimeTimeSlotResponse(Long duration,
String id,
SyntheticsDowntimeTimeSlotDate start,
String timezone) |
| Modifier and Type | Method and Description |
|---|---|
SyntheticsDowntimeTimeSlotResponse |
duration(Long duration) |
boolean |
equals(Object o)
Return true if this SyntheticsDowntimeTimeSlotResponse 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.
|
Long |
getDuration()
The duration of the time slot in seconds.
|
String |
getId()
The unique identifier of the time slot.
|
String |
getName()
The label for the time slot.
|
SyntheticsDowntimeTimeSlotRecurrenceResponse |
getRecurrence()
Recurrence settings returned in a Synthetics downtime time slot response.
|
SyntheticsDowntimeTimeSlotDate |
getStart()
A specific date and time used to define the start or end of a Synthetics downtime time slot.
|
String |
getTimezone()
The IANA timezone name for the time slot.
|
int |
hashCode() |
SyntheticsDowntimeTimeSlotResponse |
id(String id) |
SyntheticsDowntimeTimeSlotResponse |
name(String name) |
SyntheticsDowntimeTimeSlotResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SyntheticsDowntimeTimeSlotResponse |
recurrence(SyntheticsDowntimeTimeSlotRecurrenceResponse recurrence) |
void |
setDuration(Long duration) |
void |
setId(String id) |
void |
setName(String name) |
void |
setRecurrence(SyntheticsDowntimeTimeSlotRecurrenceResponse recurrence) |
void |
setStart(SyntheticsDowntimeTimeSlotDate start) |
void |
setTimezone(String timezone) |
SyntheticsDowntimeTimeSlotResponse |
start(SyntheticsDowntimeTimeSlotDate start) |
SyntheticsDowntimeTimeSlotResponse |
timezone(String timezone) |
String |
toString() |
public boolean unparsed
public static final String JSON_PROPERTY_DURATION
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_RECURRENCE
public static final String JSON_PROPERTY_START
public static final String JSON_PROPERTY_TIMEZONE
public SyntheticsDowntimeTimeSlotResponse()
public SyntheticsDowntimeTimeSlotResponse(Long duration, String id, SyntheticsDowntimeTimeSlotDate start, String timezone)
public SyntheticsDowntimeTimeSlotResponse duration(Long duration)
public Long getDuration()
public void setDuration(Long duration)
public SyntheticsDowntimeTimeSlotResponse id(String id)
public String getId()
public void setId(String id)
public SyntheticsDowntimeTimeSlotResponse name(String name)
@Nullable public String getName()
public void setName(String name)
public SyntheticsDowntimeTimeSlotResponse recurrence(SyntheticsDowntimeTimeSlotRecurrenceResponse recurrence)
@Nullable public SyntheticsDowntimeTimeSlotRecurrenceResponse getRecurrence()
public void setRecurrence(SyntheticsDowntimeTimeSlotRecurrenceResponse recurrence)
public SyntheticsDowntimeTimeSlotResponse start(SyntheticsDowntimeTimeSlotDate start)
public SyntheticsDowntimeTimeSlotDate getStart()
public void setStart(SyntheticsDowntimeTimeSlotDate start)
public SyntheticsDowntimeTimeSlotResponse timezone(String timezone)
public String getTimezone()
public void setTimezone(String timezone)
public SyntheticsDowntimeTimeSlotResponse 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 © 2026. All rights reserved.