Package com.datadog.api.client.v2.model
Class MaintenanceDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.MaintenanceDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class MaintenanceDataAttributes
extends Object
The attributes of a maintenance.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(MaintenanceDataAttributesComponentsAffectedItems componentsAffectedItem) addUpdatesItem(MaintenanceDataAttributesUpdatesItems updatesItem) canceledDescription(String canceledDescription) completedDate(OffsetDateTime completedDate) completedDescription(String completedDescription) componentsAffected(List<MaintenanceDataAttributesComponentsAffectedItems> componentsAffected) booleanReturn true if this MaintenanceDataAttributes 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.Components affected by the maintenance.The description shown while the maintenance is in progress.Whether the maintenance was backfilled.Timestamp of when the maintenance was last modified.Timestamp of when the maintenance was published.The description shown when the maintenance is scheduled.Timestamp of when the maintenance is scheduled to start.The status of the maintenance.getTitle()Title of the maintenance.Past updates made to the maintenance.inthashCode()inProgressDescription(String inProgressDescription) isBackfilled(Boolean isBackfilled) modifiedAt(OffsetDateTime modifiedAt) publishedDate(OffsetDateTime publishedDate) 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<MaintenanceDataAttributesComponentsAffectedItems> componentsAffected) voidsetInProgressDescription(String inProgressDescription) voidsetIsBackfilled(Boolean isBackfilled) voidsetModifiedAt(OffsetDateTime modifiedAt) voidsetPublishedDate(OffsetDateTime publishedDate) voidsetScheduledDescription(String scheduledDescription) voidsetStartDate(OffsetDateTime startDate) voidvoidvoidstartDate(OffsetDateTime startDate) toString()updates(List<MaintenanceDataAttributesUpdatesItems> updates)
-
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_IS_BACKFILLED
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_PUBLISHED_DATE
- See Also:
-
JSON_PROPERTY_SCHEDULED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_START_DATE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
JSON_PROPERTY_UPDATES
- See Also:
-
-
Constructor Details
-
MaintenanceDataAttributes
public MaintenanceDataAttributes()
-
-
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 MaintenanceDataAttributes componentsAffected(List<MaintenanceDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public MaintenanceDataAttributes addComponentsAffectedItem(MaintenanceDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
Components affected by the maintenance.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<MaintenanceDataAttributesComponentsAffectedItems> componentsAffected) -
inProgressDescription
-
getInProgressDescription
The description shown while the maintenance is in progress.- Returns:
- inProgressDescription
-
setInProgressDescription
-
isBackfilled
-
getIsBackfilled
Whether the maintenance was backfilled.- Returns:
- isBackfilled
-
setIsBackfilled
-
modifiedAt
-
getModifiedAt
Timestamp of when the maintenance was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
publishedDate
-
getPublishedDate
Timestamp of when the maintenance was published.- Returns:
- publishedDate
-
setPublishedDate
-
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
Title of the maintenance.- Returns:
- title
-
setTitle
-
updates
-
addUpdatesItem
-
getUpdates
Past updates made to the maintenance.- Returns:
- updates
-
setUpdates
-
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:
- MaintenanceDataAttributes
-
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 MaintenanceDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-