Class Schedule

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class Schedule extends Object
Top-level container for a schedule object, including both the data payload and any related included resources (such as teams, layers, or members).
  • Field Details

  • Constructor Details

    • Schedule

      public Schedule()
  • Method Details

    • data

      public Schedule data(ScheduleData data)
    • getData

      @Nullable public ScheduleData getData()
      Represents the primary data object for a schedule, linking attributes and relationships.
      Returns:
      data
    • setData

      public void setData(ScheduleData data)
    • included

      public Schedule included(List<ScheduleDataIncludedItem> included)
    • addIncludedItem

      public Schedule addIncludedItem(ScheduleDataIncludedItem includedItem)
    • getIncluded

      @Nullable public List<ScheduleDataIncludedItem> getIncluded()
      Any additional resources related to this schedule, such as teams and layers.
      Returns:
      included
    • setIncluded

      public void setIncluded(List<ScheduleDataIncludedItem> included)
    • putAdditionalProperty

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