Package com.datadog.api.client.v2.model
Class ConfiguredSchedule
java.lang.Object
com.datadog.api.client.v2.model.ConfiguredSchedule
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ConfiguredSchedule
extends Object
Full resource representation of a configured schedule target with position (previous, current, or
next).
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConfiguredSchedule(ConfiguredScheduleTargetAttributes attributes, String id, ConfiguredScheduleTargetRelationships relationships, ConfiguredScheduleTargetType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(ConfiguredScheduleTargetAttributes attributes) booleanReturn true if this ConfiguredSchedule object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Attributes for a configured schedule target, including position.getId()Specifies the unique identifier of the configured schedule target.Represents the relationships of a configured schedule target.getType()Indicates that the resource is of typeschedule_target.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(ConfiguredScheduleTargetRelationships relationships) voidsetAttributes(ConfiguredScheduleTargetAttributes attributes) voidvoidsetRelationships(ConfiguredScheduleTargetRelationships 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
-
ConfiguredSchedule
public ConfiguredSchedule() -
ConfiguredSchedule
public ConfiguredSchedule(ConfiguredScheduleTargetAttributes attributes, String id, ConfiguredScheduleTargetRelationships relationships, ConfiguredScheduleTargetType type)
-
-
Method Details
-
attributes
-
getAttributes
Attributes for a configured schedule target, including position.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Specifies the unique identifier of the configured schedule target.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Represents the relationships of a configured schedule target.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Indicates that the resource is of typeschedule_target.- 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:
- ConfiguredSchedule
-
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 ConfiguredSchedule object is equal to o. -
hashCode
public int hashCode() -
toString
-