Package com.datadog.api.client.v2.model
Class PatchMaintenanceRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.PatchMaintenanceRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PatchMaintenanceRequestDataAttributes
extends Object
The supported attributes for updating a maintenance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(PatchMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) canceledDescription(String canceledDescription) completedDate(OffsetDateTime completedDate) completedDescription(String completedDescription) componentsAffected(List<PatchMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) booleanReturn true if this PatchMaintenanceRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description shown when the maintenance is canceled.Timestamp of when the maintenance was completed.The description shown when the maintenance is completed.The components affected by the maintenance.The description shown while the maintenance is in progress.The description shown when the maintenance is scheduled.Timestamp of when the maintenance is scheduled to start.The status of the maintenance.getTitle()The title of the maintenance.inthashCode()inProgressDescription(String inProgressDescription) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scheduledDescription(String scheduledDescription) voidsetCanceledDescription(String canceledDescription) voidsetCompletedDate(OffsetDateTime completedDate) voidsetCompletedDescription(String completedDescription) voidsetComponentsAffected(List<PatchMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetInProgressDescription(String inProgressDescription) voidsetScheduledDescription(String scheduledDescription) voidsetStartDate(OffsetDateTime startDate) voidvoidstartDate(OffsetDateTime startDate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CANCELED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_COMPLETED_DATE
- See Also:
-
JSON_PROPERTY_COMPLETED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_IN_PROGRESS_DESCRIPTION
- See Also:
-
JSON_PROPERTY_SCHEDULED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
PatchMaintenanceRequestDataAttributes
public PatchMaintenanceRequestDataAttributes()
-
-
Method Details
-
canceledDescription
-
getCanceledDescription
The description shown when the maintenance is canceled.- Returns:
- canceledDescription
-
setCanceledDescription
-
completedDate
-
getCompletedDate
Timestamp of when the maintenance was completed.- Returns:
- completedDate
-
setCompletedDate
-
completedDescription
-
getCompletedDescription
The description shown when the maintenance is completed.- Returns:
- completedDescription
-
setCompletedDescription
-
componentsAffected
public PatchMaintenanceRequestDataAttributes componentsAffected(List<PatchMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public PatchMaintenanceRequestDataAttributes addComponentsAffectedItem(PatchMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<PatchMaintenanceRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by the maintenance.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<PatchMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
inProgressDescription
-
getInProgressDescription
The description shown while the maintenance is in progress.- Returns:
- inProgressDescription
-
setInProgressDescription
-
scheduledDescription
-
getScheduledDescription
The description shown when the maintenance is scheduled.- Returns:
- scheduledDescription
-
setScheduledDescription
-
startDate
-
getStartDate
Timestamp of when the maintenance is scheduled to start.- Returns:
- startDate
-
setStartDate
-
status
-
getStatus
The status of the maintenance.- Returns:
- status
-
setStatus
-
title
-
getTitle
The title of the maintenance.- Returns:
- title
-
setTitle
-
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:
- PatchMaintenanceRequestDataAttributes
-
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 PatchMaintenanceRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-