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 Details

  • Constructor Details

    • SyntheticsDowntimeTimeSlotDate

      public SyntheticsDowntimeTimeSlotDate()
    • SyntheticsDowntimeTimeSlotDate

      public SyntheticsDowntimeTimeSlotDate(Long day, Long hour, Long minute, Long month, Long year)
  • Method Details

    • day

    • getDay

      public Long getDay()
      The day component of the date (1-31).
      Returns:
      day
    • setDay

      public void setDay(Long day)
    • hour

    • getHour

      public Long getHour()
      The hour component of the time (0-23).
      Returns:
      hour
    • setHour

      public void setHour(Long hour)
    • minute

      public SyntheticsDowntimeTimeSlotDate minute(Long minute)
    • getMinute

      public Long getMinute()
      The minute component of the time (0-59).
      Returns:
      minute
    • setMinute

      public void setMinute(Long minute)
    • month

      public SyntheticsDowntimeTimeSlotDate month(Long month)
    • getMonth

      public Long getMonth()
      The month component of the date (1-12).
      Returns:
      month
    • setMonth

      public void setMonth(Long month)
    • year

    • getYear

      public Long getYear()
      The year component of the date.
      Returns:
      year
    • setYear

      public void setYear(Long year)
    • putAdditionalProperty

      public SyntheticsDowntimeTimeSlotDate putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      SyntheticsDowntimeTimeSlotDate
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this SyntheticsDowntimeTimeSlotDate object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object