Package com.datadog.api.client.v2.model
Class CreateBackfilledMaintenanceRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateBackfilledMaintenanceRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateBackfilledMaintenanceRequestDataAttributes
extends Object
The supported attributes for creating a backfilled maintenance.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateBackfilledMaintenanceRequestDataAttributes(String title, List<CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems> updates) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this CreateBackfilledMaintenanceRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getTitle()The title of the backfilled maintenance.The list of updates.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_UPDATES
- See Also:
-
-
Constructor Details
-
CreateBackfilledMaintenanceRequestDataAttributes
public CreateBackfilledMaintenanceRequestDataAttributes() -
CreateBackfilledMaintenanceRequestDataAttributes
public CreateBackfilledMaintenanceRequestDataAttributes(String title, List<CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems> updates)
-
-
Method Details
-
title
-
getTitle
The title of the backfilled maintenance.- Returns:
- title
-
setTitle
-
updates
-
addUpdatesItem
public CreateBackfilledMaintenanceRequestDataAttributes addUpdatesItem(CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems updatesItem) -
getUpdates
The list of updates. Exactly two updates are required: the start (in_progress) and the end (completed).- Returns:
- updates
-
setUpdates
-
putAdditionalProperty
public CreateBackfilledMaintenanceRequestDataAttributes putAdditionalProperty(String key, Object value) 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:
- CreateBackfilledMaintenanceRequestDataAttributes
-
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 CreateBackfilledMaintenanceRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-