Package com.datadog.api.client.v2.model
Class SyntheticsDowntimeTimeSlotDate
java.lang.Object
com.datadog.api.client.v2.model.SyntheticsDowntimeTimeSlotDate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class SyntheticsDowntimeTimeSlotDate
extends Object
A specific date and time used to define the start or end of a Synthetics downtime time slot.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this SyntheticsDowntimeTimeSlotDate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getDay()The day component of the date (1-31).getHour()The hour component of the time (0-23).The minute component of the time (0-59).getMonth()The month component of the date (1-12).getYear()The year component of the date.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DAY
- See Also:
-
JSON_PROPERTY_HOUR
- See Also:
-
JSON_PROPERTY_MINUTE
- See Also:
-
JSON_PROPERTY_MONTH
- See Also:
-
JSON_PROPERTY_YEAR
- See Also:
-
-
Constructor Details
-
SyntheticsDowntimeTimeSlotDate
public SyntheticsDowntimeTimeSlotDate() -
SyntheticsDowntimeTimeSlotDate
-
-
Method Details
-
day
-
getDay
The day component of the date (1-31).- Returns:
- day
-
setDay
-
hour
-
getHour
The hour component of the time (0-23).- Returns:
- hour
-
setHour
-
minute
-
getMinute
The minute component of the time (0-59).- Returns:
- minute
-
setMinute
-
month
-
getMonth
The month component of the date (1-12).- Returns:
- month
-
setMonth
-
year
-
getYear
The year component of the date.- Returns:
- year
-
setYear
-
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:
- SyntheticsDowntimeTimeSlotDate
-
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 SyntheticsDowntimeTimeSlotDate object is equal to o. -
hashCode
public int hashCode() -
toString
-