Package com.datadog.api.client.v2.model
Class ScheduleCreateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.ScheduleCreateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScheduleCreateRequestDataAttributes
extends Object
Describes the main attributes for creating a new schedule, including name, layers, and time zone.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduleCreateRequestDataAttributes(List<ScheduleCreateRequestDataAttributesLayersItems> layers, String name, String timeZone) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this ScheduleCreateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The layers of On-Call coverage that define rotation intervals and restrictions.getName()A human-readable name for the new schedule.The time zone in which the schedule is defined.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
-
ScheduleCreateRequestDataAttributes
public ScheduleCreateRequestDataAttributes() -
ScheduleCreateRequestDataAttributes
public ScheduleCreateRequestDataAttributes(List<ScheduleCreateRequestDataAttributesLayersItems> layers, String name, String timeZone)
-
-
Method Details
-
layers
public ScheduleCreateRequestDataAttributes layers(List<ScheduleCreateRequestDataAttributesLayersItems> layers) -
addLayersItem
public ScheduleCreateRequestDataAttributes addLayersItem(ScheduleCreateRequestDataAttributesLayersItems layersItem) -
getLayers
The layers of On-Call coverage that define rotation intervals and restrictions.- Returns:
- layers
-
setLayers
-
name
-
getName
A human-readable name for the new schedule.- Returns:
- name
-
setName
-
timeZone
-
getTimeZone
The time zone in which the schedule is defined.- 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:
- ScheduleCreateRequestDataAttributes
-
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 ScheduleCreateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-