Package com.datadog.api.client.v2.model
Class PatchDegradationTemplateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.PatchDegradationTemplateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PatchDegradationTemplateRequestDataAttributes
extends Object
The supported attributes for updating a degradation template.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) degradationTitle(String degradationTitle) booleanReturn true if this PatchDegradationTemplateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected by a degradation created from this template.The title used for a degradation created from this template.getName()The name of the degradation template.The pre-filled updates for a degradation created from this template.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetDegradationTitle(String degradationTitle) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DEGRADATION_TITLE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UPDATES
- See Also:
-
-
Constructor Details
-
PatchDegradationTemplateRequestDataAttributes
public PatchDegradationTemplateRequestDataAttributes()
-
-
Method Details
-
componentsAffected
public PatchDegradationTemplateRequestDataAttributes componentsAffected(List<PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public PatchDegradationTemplateRequestDataAttributes addComponentsAffectedItem(PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by a degradation created from this template.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<PatchDegradationTemplateRequestDataAttributesComponentsAffectedItems> componentsAffected) -
degradationTitle
-
getDegradationTitle
The title used for a degradation created from this template.- Returns:
- degradationTitle
-
setDegradationTitle
-
name
-
getName
The name of the degradation template.- Returns:
- name
-
setName
-
updates
public PatchDegradationTemplateRequestDataAttributes updates(List<PatchDegradationTemplateRequestDataAttributesUpdatesItems> updates) -
addUpdatesItem
public PatchDegradationTemplateRequestDataAttributes addUpdatesItem(PatchDegradationTemplateRequestDataAttributesUpdatesItems updatesItem) -
getUpdates
The pre-filled updates for a degradation created from this template.- Returns:
- updates
-
setUpdates
-
putAdditionalProperty
public PatchDegradationTemplateRequestDataAttributes 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:
- PatchDegradationTemplateRequestDataAttributes
-
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 PatchDegradationTemplateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-