Class ScheduleUpdateRequest

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class ScheduleUpdateRequest extends Object
A top-level wrapper for a schedule update request, referring to the data object with the new details.
  • Field Details

    • unparsed

      public boolean unparsed
    • JSON_PROPERTY_DATA

      public static final String JSON_PROPERTY_DATA
      See Also:
  • Constructor Details

    • ScheduleUpdateRequest

      public ScheduleUpdateRequest()
    • ScheduleUpdateRequest

      public ScheduleUpdateRequest(ScheduleUpdateRequestData data)
  • Method Details

    • data

    • getData

      public ScheduleUpdateRequestData getData()
      Contains all data needed to update an existing schedule, including its attributes (such as name and time zone) and any relationships to teams.
      Returns:
      data
    • setData

      public void setData(ScheduleUpdateRequestData data)
    • putAdditionalProperty

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