@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class CreateDegradationRequestData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
CreateDegradationRequestData() |
CreateDegradationRequestData(CreateDegradationRequestDataAttributes attributes,
PatchDegradationRequestDataType type) |
| Modifier and Type | Method and Description |
|---|---|
CreateDegradationRequestData |
attributes(CreateDegradationRequestDataAttributes attributes) |
boolean |
equals(Object o)
Return true if this CreateDegradationRequestData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
CreateDegradationRequestDataAttributes |
getAttributes()
The supported attributes for creating a degradation.
|
PatchDegradationRequestDataType |
getType()
Degradations resource type.
|
int |
hashCode() |
CreateDegradationRequestData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAttributes(CreateDegradationRequestDataAttributes attributes) |
void |
setType(PatchDegradationRequestDataType type) |
String |
toString() |
CreateDegradationRequestData |
type(PatchDegradationRequestDataType type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_TYPE
public CreateDegradationRequestData()
public CreateDegradationRequestData(CreateDegradationRequestDataAttributes attributes, PatchDegradationRequestDataType type)
public CreateDegradationRequestData attributes(CreateDegradationRequestDataAttributes attributes)
public CreateDegradationRequestDataAttributes getAttributes()
public void setAttributes(CreateDegradationRequestDataAttributes attributes)
public CreateDegradationRequestData type(PatchDegradationRequestDataType type)
public PatchDegradationRequestDataType getType()
public void setType(PatchDegradationRequestDataType type)
public CreateDegradationRequestData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.