Class Schedules

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Schedules extends Object
A list of schedules with pagination metadata and any related included resources (such as teams).
  • Field Details

  • Constructor Details

    • Schedules

      public Schedules()
  • Method Details

    • data

      public Schedules data(List<ScheduleListItem> data)
    • addDataItem

      public Schedules addDataItem(ScheduleListItem dataItem)
    • getData

      @Nullable public List<ScheduleListItem> getData()
      A list of schedules.
      Returns:
      data
    • setData

      public void setData(List<ScheduleListItem> data)
    • included

      public Schedules included(List<TeamReference> included)
    • addIncludedItem

      public Schedules addIncludedItem(TeamReference includedItem)
    • getIncluded

      @Nullable public List<TeamReference> getIncluded()
      Any additional resources related to the schedules, such as teams.
      Returns:
      included
    • setIncluded

      public void setIncluded(List<TeamReference> included)
    • meta

      public Schedules meta(SchedulesResponseMeta meta)
    • getMeta

      @Nullable public SchedulesResponseMeta getMeta()
      Metadata that is included in the response when listing schedules.
      Returns:
      meta
    • setMeta

      public void setMeta(SchedulesResponseMeta meta)
    • putAdditionalProperty

      public Schedules 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:
      Schedules
    • 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 Schedules 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