Package com.datadog.api.client.v2.model
Class DegradationTemplateDataAttributesUpdatesItems
java.lang.Object
com.datadog.api.client.v2.model.DegradationTemplateDataAttributesUpdatesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DegradationTemplateDataAttributesUpdatesItems
extends Object
A pre-filled update for a degradation created from this template.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this DegradationTemplateDataAttributesUpdatesItems 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
-
DegradationTemplateDataAttributesUpdatesItems
public DegradationTemplateDataAttributesUpdatesItems() -
DegradationTemplateDataAttributesUpdatesItems
public DegradationTemplateDataAttributesUpdatesItems(CreateDegradationRequestDataAttributesStatus status)
-
-
Method Details
-
message
-
getMessage
The message of the update.- Returns:
- message
-
setMessage
-
status
public DegradationTemplateDataAttributesUpdatesItems status(CreateDegradationRequestDataAttributesStatus status) -
getStatus
The status of the degradation.- Returns:
- status
-
setStatus
-
putAdditionalProperty
public DegradationTemplateDataAttributesUpdatesItems 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:
- DegradationTemplateDataAttributesUpdatesItems
-
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 DegradationTemplateDataAttributesUpdatesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-