Class ScheduleData

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScheduleData extends Object
Represents the primary data object for a schedule, linking attributes and relationships.
  • Field Details

  • Constructor Details

    • ScheduleData

      public ScheduleData()
    • ScheduleData

      public ScheduleData(ScheduleDataType type)
  • Method Details

    • attributes

      public ScheduleData attributes(ScheduleDataAttributes attributes)
    • getAttributes

      @Nullable public ScheduleDataAttributes getAttributes()
      Provides core properties of a schedule object such as its name and time zone.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(ScheduleDataAttributes attributes)
    • id

      public ScheduleData id(String id)
    • getId

      @Nullable public String getId()
      The schedule's unique identifier.
      Returns:
      id
    • setId

      public void setId(String id)
    • relationships

      public ScheduleData relationships(ScheduleDataRelationships relationships)
    • getRelationships

      @Nullable public ScheduleDataRelationships getRelationships()
      Groups the relationships for a schedule object, referencing layers and teams.
      Returns:
      relationships
    • setRelationships

      public void setRelationships(ScheduleDataRelationships relationships)
    • type

      public ScheduleData type(ScheduleDataType type)
    • getType

      public ScheduleDataType getType()
      Schedules resource type.
      Returns:
      type
    • setType

      public void setType(ScheduleDataType type)
    • putAdditionalProperty

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