Class ScheduleListItem

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScheduleListItem extends Object
Represents a summary of a schedule, linking its core attributes and team relationships.
  • Field Details

  • Constructor Details

    • ScheduleListItem

      public ScheduleListItem()
    • ScheduleListItem

      public ScheduleListItem(String id, ScheduleDataType type)
  • Method Details

    • attributes

      public ScheduleListItem 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 ScheduleListItem id(String id)
    • getId

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

      public void setId(String id)
    • relationships

      public ScheduleListItem relationships(ScheduleListItemRelationships relationships)
    • getRelationships

      @Nullable public ScheduleListItemRelationships getRelationships()
      Groups the relationships for a schedule summary, referencing its teams.
      Returns:
      relationships
    • setRelationships

      public void setRelationships(ScheduleListItemRelationships relationships)
    • type

      public ScheduleListItem type(ScheduleDataType type)
    • getType

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

      public void setType(ScheduleDataType type)
    • putAdditionalProperty

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