Package com.datadog.api.client.v2.model
Class ScheduleData
java.lang.Object
com.datadog.api.client.v2.model.ScheduleData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScheduleData
extends Object
Represents the primary data object for a schedule, linking attributes and relationships.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(ScheduleDataAttributes attributes) booleanReturn true if this ScheduleData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Provides core properties of a schedule object such as its name and time zone.getId()The schedule's unique identifier.Groups the relationships for a schedule object, referencing layers and teams.getType()Schedules resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(ScheduleDataRelationships relationships) voidsetAttributes(ScheduleDataAttributes attributes) voidvoidsetRelationships(ScheduleDataRelationships relationships) voidsetType(ScheduleDataType type) toString()type(ScheduleDataType type)
-
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
-
ScheduleData
public ScheduleData() -
ScheduleData
-
-
Method Details
-
attributes
-
getAttributes
Provides core properties of a schedule object such as its name and time zone.- Returns:
- attributes
-
setAttributes
-
id
-
getId
The schedule's unique identifier.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Groups the relationships for a schedule object, referencing layers and 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:
- ScheduleData
-
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 ScheduleData object is equal to o. -
hashCode
public int hashCode() -
toString
-