Package com.datadog.api.client.v2.model
Class PatchDegradationRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.PatchDegradationRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PatchDegradationRequestDataAttributes
extends Object
The supported attributes for updating a degradation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(PatchDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<PatchDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) description(String description) booleanReturn true if this PatchDegradationRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected by the degradation.The description of the degradation.The status of the degradation.getTitle()The title of the degradation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<PatchDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetDescription(String description) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
PatchDegradationRequestDataAttributes
public PatchDegradationRequestDataAttributes()
-
-
Method Details
-
componentsAffected
public PatchDegradationRequestDataAttributes componentsAffected(List<PatchDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public PatchDegradationRequestDataAttributes addComponentsAffectedItem(PatchDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<PatchDegradationRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by the degradation.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<PatchDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
description
-
getDescription
The description of the degradation.- Returns:
- description
-
setDescription
-
status
public PatchDegradationRequestDataAttributes status(PatchDegradationRequestDataAttributesStatus status) -
getStatus
The status of the degradation.- Returns:
- status
-
setStatus
-
title
-
getTitle
The title of the degradation.- 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:
- PatchDegradationRequestDataAttributes
-
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 PatchDegradationRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-