Package com.datadog.api.client.v2.model
Class CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
java.lang.Object
com.datadog.api.client.v2.model.CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
extends Object
A backfilled maintenance update entry.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateBackfilledMaintenanceRequestDataAttributesUpdatesItems(String description, OffsetDateTime startedAt, CreateMaintenanceRequestDataAttributesUpdatesItemsStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) description(String description) booleanReturn true if this CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected.A description of the update.Timestamp of when the update occurred.The status of a maintenance update.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetDescription(String description) voidsetStartedAt(OffsetDateTime startedAt) voidstartedAt(OffsetDateTime startedAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems() -
CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems(String description, OffsetDateTime startedAt, CreateMaintenanceRequestDataAttributesUpdatesItemsStatus status)
-
-
Method Details
-
componentsAffected
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems addComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
description
-
getDescription
A description of the update.- Returns:
- description
-
setDescription
-
startedAt
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems startedAt(OffsetDateTime startedAt) -
getStartedAt
Timestamp of when the update occurred.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
The status of a maintenance update.- Returns:
- status
-
setStatus
-
putAdditionalProperty
public CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems 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:
- CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems
-
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 CreateBackfilledMaintenanceRequestDataAttributesUpdatesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-