Class DowntimeScheduleOneTimeCreateUpdateRequest

java.lang.Object
com.datadog.api.client.v2.model.DowntimeScheduleOneTimeCreateUpdateRequest

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class DowntimeScheduleOneTimeCreateUpdateRequest extends Object
A one-time downtime definition.
  • Field Details

  • Constructor Details

    • DowntimeScheduleOneTimeCreateUpdateRequest

      public DowntimeScheduleOneTimeCreateUpdateRequest()
  • Method Details

    • end

    • getEnd

      @Nullable public OffsetDateTime getEnd()
      ISO-8601 Datetime to end the downtime. Must include a UTC offset of zero. If not provided, the downtime continues forever.
      Returns:
      end
    • getEnd_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getEnd_JsonNullable()
    • setEnd_JsonNullable

      public void setEnd_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> end)
    • setEnd

      public void setEnd(OffsetDateTime end)
    • start

    • getStart

      @Nullable public OffsetDateTime getStart()
      ISO-8601 Datetime to start the downtime. Must include a UTC offset of zero. If not provided, the downtime starts the moment it is created.
      Returns:
      start
    • getStart_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> getStart_JsonNullable()
    • setStart_JsonNullable

      public void setStart_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<OffsetDateTime> start)
    • setStart

      public void setStart(OffsetDateTime start)
    • equals

      public boolean equals(Object o)
      Return true if this DowntimeScheduleOneTimeCreateUpdateRequest 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