Package com.datadog.api.client.v2.model
Class PatchDegradationTemplateRequestDataAttributesUpdatesItems
java.lang.Object
com.datadog.api.client.v2.model.PatchDegradationTemplateRequestDataAttributesUpdatesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PatchDegradationTemplateRequestDataAttributesUpdatesItems
extends Object
A pre-filled update for a degradation created from this template.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this PatchDegradationTemplateRequestDataAttributesUpdatesItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The message of the update.The status of the degradation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetMessage(String message) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_MESSAGE
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
PatchDegradationTemplateRequestDataAttributesUpdatesItems
public PatchDegradationTemplateRequestDataAttributesUpdatesItems() -
PatchDegradationTemplateRequestDataAttributesUpdatesItems
public PatchDegradationTemplateRequestDataAttributesUpdatesItems(CreateDegradationRequestDataAttributesStatus status)
-
-
Method Details
-
message
-
getMessage
The message of the update.- Returns:
- message
-
setMessage
-
status
-
getStatus
The status of the degradation.- Returns:
- status
-
setStatus
-
putAdditionalProperty
public PatchDegradationTemplateRequestDataAttributesUpdatesItems 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:
- PatchDegradationTemplateRequestDataAttributesUpdatesItems
-
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 PatchDegradationTemplateRequestDataAttributesUpdatesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-