Package com.datadog.api.client.v2.model
Class PatchDegradationUpdateRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.PatchDegradationUpdateRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PatchDegradationUpdateRequestDataAttributes
extends Object
Attributes for editing a degradation update.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleanReturn true if this PatchDegradationUpdateRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The message body of the update.The status of the degradation update.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetDescription(String description) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
PatchDegradationUpdateRequestDataAttributes
public PatchDegradationUpdateRequestDataAttributes()
-
-
Method Details
-
description
-
getDescription
The message body of the update.- Returns:
- description
-
setDescription
-
status
public PatchDegradationUpdateRequestDataAttributes status(PatchDegradationUpdateRequestDataAttributesStatus status) -
getStatus
The status of the degradation update.- Returns:
- status
-
setStatus
-
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:
- PatchDegradationUpdateRequestDataAttributes
-
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 PatchDegradationUpdateRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-