Package com.datadog.api.client.v2.model
Class CreateMaintenanceRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateMaintenanceRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateMaintenanceRequestDataAttributes
extends Object
The supported attributes for creating a maintenance.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateMaintenanceRequestDataAttributes(OffsetDateTime completedDate, String completedDescription, String inProgressDescription, String scheduledDescription, OffsetDateTime startDate, String title) -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) completedDate(OffsetDateTime completedDate) completedDescription(String completedDescription) componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) booleanReturn true if this CreateMaintenanceRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.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.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) voidsetCompletedDate(OffsetDateTime completedDate) voidsetCompletedDescription(String completedDescription) voidsetComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetInProgressDescription(String inProgressDescription) voidsetScheduledDescription(String scheduledDescription) voidsetStartDate(OffsetDateTime startDate) voidstartDate(OffsetDateTime startDate) toString()
-
Field Details
-
unparsed
public boolean unparsed -
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_TITLE
- See Also:
-
-
Constructor Details
-
CreateMaintenanceRequestDataAttributes
public CreateMaintenanceRequestDataAttributes() -
CreateMaintenanceRequestDataAttributes
public CreateMaintenanceRequestDataAttributes(OffsetDateTime completedDate, String completedDescription, String inProgressDescription, String scheduledDescription, OffsetDateTime startDate, String title)
-
-
Method Details
-
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 CreateMaintenanceRequestDataAttributes componentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public CreateMaintenanceRequestDataAttributes addComponentsAffectedItem(CreateMaintenanceRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by the maintenance.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateMaintenanceRequestDataAttributesComponentsAffectedItems> 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
-
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:
- CreateMaintenanceRequestDataAttributes
-
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 CreateMaintenanceRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-