Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeTimeSlotResponse
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeTimeSlotResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeTimeSlotResponse
extends Object
A time slot returned in a Synthetics downtime response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSyntheticsDowntimeTimeSlotResponse(Long duration, String id, SyntheticsDowntimeTimeSlotDate start, String timezone) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsDowntimeTimeSlotResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The duration of the time slot in seconds.getId()The unique identifier of the time slot.getName()The label for the time slot.Recurrence settings returned in a Synthetics downtime time slot response.getStart()A specific date and time used to define the start or end of a Synthetics downtime time slot.The IANA timezone name for the time slot.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDuration(Long duration) voidvoidvoidvoidvoidsetTimezone(String timezone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DURATION
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_RECURRENCE
- See Also:
-
JSON_PROPERTY_START
- See Also:
-
JSON_PROPERTY_TIMEZONE
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeTimeSlotResponse
public SyntheticsDowntimeTimeSlotResponse() -
SyntheticsDowntimeTimeSlotResponse
public SyntheticsDowntimeTimeSlotResponse(Long duration, String id, SyntheticsDowntimeTimeSlotDate start, String timezone)
-
-
Method Details
-
duration
-
getDuration
The duration of the time slot in seconds.- Returns:
- duration
-
setDuration
-
id
-
getId
The unique identifier of the time slot.- Returns:
- id
-
setId
-
name
-
getName
The label for the time slot.- Returns:
- name
-
setName
-
recurrence
public SyntheticsDowntimeTimeSlotResponse recurrence(SyntheticsDowntimeTimeSlotRecurrenceResponse recurrence) -
getRecurrence
Recurrence settings returned in a Synthetics downtime time slot response.- Returns:
- recurrence
-
setRecurrence
-
start
-
getStart
A specific date and time used to define the start or end of a Synthetics downtime time slot.- Returns:
- start
-
setStart
-
timezone
-
getTimezone
The IANA timezone name for the time slot.- 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:
- SyntheticsDowntimeTimeSlotResponse
-
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 SyntheticsDowntimeTimeSlotResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-