Package com.datadog.api.client.v2.model
Class CreateMaintenanceRequestData
java.lang.Object
com.datadog.api.client.v2.model.CreateMaintenanceRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateMaintenanceRequestData
extends Object
The data object for creating a maintenance.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateMaintenanceRequestData(CreateMaintenanceRequestDataAttributes attributes, PatchMaintenanceRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CreateMaintenanceRequestDataAttributes attributes) booleanReturn true if this CreateMaintenanceRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The supported attributes for creating a maintenance.The supported relationships for creating a maintenance.getType()Maintenances resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(CreateMaintenanceRequestDataRelationships relationships) voidsetAttributes(CreateMaintenanceRequestDataAttributes attributes) voidsetRelationships(CreateMaintenanceRequestDataRelationships 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
-
CreateMaintenanceRequestData
public CreateMaintenanceRequestData() -
CreateMaintenanceRequestData
public CreateMaintenanceRequestData(CreateMaintenanceRequestDataAttributes attributes, PatchMaintenanceRequestDataType type)
-
-
Method Details
-
attributes
-
getAttributes
The supported attributes for creating a maintenance.- Returns:
- attributes
-
setAttributes
-
relationships
public CreateMaintenanceRequestData relationships(CreateMaintenanceRequestDataRelationships relationships) -
getRelationships
The supported relationships for creating a maintenance.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Maintenances 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:
- CreateMaintenanceRequestData
-
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 CreateMaintenanceRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-