Package com.datadog.api.client.v2.model
Class ScheduleCreateRequestData
java.lang.Object
com.datadog.api.client.v2.model.ScheduleCreateRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ScheduleCreateRequestData
extends Object
The core data wrapper for creating a schedule, encompassing attributes, relationships, and the
resource type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionScheduleCreateRequestData(ScheduleCreateRequestDataAttributes attributes, ScheduleCreateRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(ScheduleCreateRequestDataAttributes attributes) booleanReturn true if this ScheduleCreateRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Describes the main attributes for creating a new schedule, including name, layers, and time zone.Gathers relationship objects for the schedule creation request, including the teams to associate.getType()Schedules resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(ScheduleCreateRequestDataRelationships relationships) voidsetAttributes(ScheduleCreateRequestDataAttributes attributes) voidsetRelationships(ScheduleCreateRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
ScheduleCreateRequestData
public ScheduleCreateRequestData() -
ScheduleCreateRequestData
public ScheduleCreateRequestData(ScheduleCreateRequestDataAttributes attributes, ScheduleCreateRequestDataType type)
-
-
Method Details
-
attributes
-
getAttributes
Describes the main attributes for creating a new schedule, including name, layers, and time zone.- Returns:
- attributes
-
setAttributes
-
relationships
public ScheduleCreateRequestData relationships(ScheduleCreateRequestDataRelationships relationships) -
getRelationships
Gathers relationship objects for the schedule creation request, including the teams to associate.- 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:
- ScheduleCreateRequestData
-
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 ScheduleCreateRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-