Package com.datadog.api.client.v2.model
Class MaintenanceUpdateDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceUpdateDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceUpdateDataAttributes
extends Object
Attributes of a maintenance update resource.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) createdAt(OffsetDateTime createdAt) description(String description) booleanReturn true if this MaintenanceUpdateDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Components affected at the time of the update.The date and time the update was created.The message body of the update.Whether the update was applied manually by a user (true) or automatically by the system (false).The date and time the update was last modified.The date and time the update started.The status of the maintenance update.inthashCode()manualTransition(Boolean manualTransition) modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDescription(String description) voidsetManualTransition(Boolean manualTransition) voidsetModifiedAt(OffsetDateTime modifiedAt) voidsetStartedAt(OffsetDateTime startedAt) voidstartedAt(OffsetDateTime startedAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_MANUAL_TRANSITION
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
MaintenanceUpdateDataAttributes
public MaintenanceUpdateDataAttributes()
-
-
Method Details
-
componentsAffected
public MaintenanceUpdateDataAttributes componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public MaintenanceUpdateDataAttributes addComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> getComponentsAffected()Components affected at the time of the update.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
createdAt
-
getCreatedAt
The date and time the update was created.- Returns:
- createdAt
-
setCreatedAt
-
description
-
getDescription
The message body of the update.- Returns:
- description
-
setDescription
-
manualTransition
-
getManualTransition
Whether the update was applied manually by a user (true) or automatically by the system (false).- Returns:
- manualTransition
-
setManualTransition
-
modifiedAt
-
getModifiedAt
The date and time the update was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
startedAt
-
getStartedAt
The date and time the update started.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
The status of the maintenance update.- Returns:
- status
-
setStatus
-
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:
- MaintenanceUpdateDataAttributes
-
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 MaintenanceUpdateDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-