Package com.datadog.api.client.v2.model
Class CreateMaintenanceTemplateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateMaintenanceTemplateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateMaintenanceTemplateRequestDataAttributes
extends Object
The attributes for creating a maintenance template.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionaddComponentIdsItem(String componentIdsItem) completedDescription(String completedDescription) componentIds(List<String> componentIds) booleanReturn true if this CreateMaintenanceTemplateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The description shown when a maintenance created from this template is completed.The IDs of the components affected by a maintenance created from this template.The description shown while a maintenance created from this template is in progress.The title used for a maintenance created from this template.getName()The name of the maintenance template.The description shown when a maintenance created from this template is scheduled.inthashCode()inProgressDescription(String inProgressDescription) maintenanceTitle(String maintenanceTitle) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.scheduledDescription(String scheduledDescription) voidsetCompletedDescription(String completedDescription) voidsetComponentIds(List<String> componentIds) voidsetInProgressDescription(String inProgressDescription) voidsetMaintenanceTitle(String maintenanceTitle) voidvoidsetScheduledDescription(String scheduledDescription) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPLETED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_COMPONENT_IDS
- See Also:
-
JSON_PROPERTY_IN_PROGRESS_DESCRIPTION
- See Also:
-
JSON_PROPERTY_MAINTENANCE_TITLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_SCHEDULED_DESCRIPTION
- See Also:
-
-
Constructor Details
-
CreateMaintenanceTemplateRequestDataAttributes
public CreateMaintenanceTemplateRequestDataAttributes() -
CreateMaintenanceTemplateRequestDataAttributes
-
-
Method Details
-
completedDescription
public CreateMaintenanceTemplateRequestDataAttributes completedDescription(String completedDescription) -
getCompletedDescription
The description shown when a maintenance created from this template is completed.- Returns:
- completedDescription
-
setCompletedDescription
-
componentIds
-
addComponentIdsItem
-
getComponentIds
The IDs of the components affected by a maintenance created from this template.- Returns:
- componentIds
-
setComponentIds
-
inProgressDescription
public CreateMaintenanceTemplateRequestDataAttributes inProgressDescription(String inProgressDescription) -
getInProgressDescription
The description shown while a maintenance created from this template is in progress.- Returns:
- inProgressDescription
-
setInProgressDescription
-
maintenanceTitle
-
getMaintenanceTitle
The title used for a maintenance created from this template.- Returns:
- maintenanceTitle
-
setMaintenanceTitle
-
name
-
getName
The name of the maintenance template.- Returns:
- name
-
setName
-
scheduledDescription
public CreateMaintenanceTemplateRequestDataAttributes scheduledDescription(String scheduledDescription) -
getScheduledDescription
The description shown when a maintenance created from this template is scheduled.- Returns:
- scheduledDescription
-
setScheduledDescription
-
putAdditionalProperty
public CreateMaintenanceTemplateRequestDataAttributes 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:
- CreateMaintenanceTemplateRequestDataAttributes
-
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 CreateMaintenanceTemplateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-