Package com.datadog.api.client.v2.model
Class ScheduleUpdateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ScheduleUpdateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScheduleUpdateRequestDataAttributes
extends Object
Defines the updatable attributes for a schedule, such as name, time zone, and layers.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduleUpdateRequestDataAttributes(List<ScheduleUpdateRequestDataAttributesLayersItems> layers, String name, String timeZone) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ScheduleUpdateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The updated list of layers (rotations) for this schedule.getName()A short name for the schedule.The time zone used when interpreting rotation times.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidsetTimeZone(String timeZone) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_LAYERS
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TIME_ZONE
- See Also:
-
-
Constructor Details
-
ScheduleUpdateRequestDataAttributes
public ScheduleUpdateRequestDataAttributes() -
ScheduleUpdateRequestDataAttributes
public ScheduleUpdateRequestDataAttributes(List<ScheduleUpdateRequestDataAttributesLayersItems> layers, String name, String timeZone)
-
-
Method Details
-
layers
public ScheduleUpdateRequestDataAttributes layers(List<ScheduleUpdateRequestDataAttributesLayersItems> layers) -
addLayersItem
public ScheduleUpdateRequestDataAttributes addLayersItem(ScheduleUpdateRequestDataAttributesLayersItems layersItem) -
getLayers
The updated list of layers (rotations) for this schedule.- Returns:
- layers
-
setLayers
-
name
-
getName
A short name for the schedule.- Returns:
- name
-
setName
-
timeZone
-
getTimeZone
The time zone used when interpreting rotation times.- Returns:
- timeZone
-
setTimeZone
-
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:
- ScheduleUpdateRequestDataAttributes
-
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 ScheduleUpdateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-