Package com.datadog.api.client.v2.model
Class ScheduleUpdateRequestData
java.lang.Object
com.datadog.api.client.v2.model.ScheduleUpdateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScheduleUpdateRequestData
extends Object
Contains all data needed to update an existing schedule, including its attributes (such as name
and time zone) and any relationships to teams.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduleUpdateRequestData(ScheduleUpdateRequestDataAttributes attributes, String id, ScheduleUpdateRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(ScheduleUpdateRequestDataAttributes attributes) booleanReturn true if this ScheduleUpdateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Defines the updatable attributes for a schedule, such as name, time zone, and layers.getId()The ID of the schedule to be updated.Houses relationships for the schedule update, typically referencing teams.getType()Schedules resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(ScheduleUpdateRequestDataRelationships relationships) voidsetAttributes(ScheduleUpdateRequestDataAttributes attributes) voidvoidsetRelationships(ScheduleUpdateRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ScheduleUpdateRequestData
public ScheduleUpdateRequestData() -
ScheduleUpdateRequestData
public ScheduleUpdateRequestData(ScheduleUpdateRequestDataAttributes attributes, String id, ScheduleUpdateRequestDataType type)
-
-
Method Details
-
attributes
-
getAttributes
Defines the updatable attributes for a schedule, such as name, time zone, and layers.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The ID of the schedule to be updated.- Returns:
- id
-
setId
-
relationships
public ScheduleUpdateRequestData relationships(ScheduleUpdateRequestDataRelationships relationships) -
getRelationships
Houses relationships for the schedule update, typically referencing teams.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Schedules resource type.- Returns:
- type
-
setType
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- ScheduleUpdateRequestData
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this ScheduleUpdateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-