Package com.datadog.api.client.v2.model
Class CreateDegradationRequestData
java.lang.Object
com.datadog.api.client.v2.model.CreateDegradationRequestData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateDegradationRequestData
extends Object
The data object for creating a degradation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateDegradationRequestData(CreateDegradationRequestDataAttributes attributes, PatchDegradationRequestDataType type) -
Method Summary
Modifier and TypeMethodDescriptionattributes(CreateDegradationRequestDataAttributes attributes) booleanReturn true if this CreateDegradationRequestData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The supported attributes for creating a degradation.The supported relationships for creating a degradation.getType()Degradations resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(CreateDegradationRequestDataRelationships relationships) voidsetAttributes(CreateDegradationRequestDataAttributes attributes) voidsetRelationships(CreateDegradationRequestDataRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
CreateDegradationRequestData
public CreateDegradationRequestData() -
CreateDegradationRequestData
public CreateDegradationRequestData(CreateDegradationRequestDataAttributes attributes, PatchDegradationRequestDataType type)
-
-
Method Details
-
attributes
-
getAttributes
The supported attributes for creating a degradation.- Returns:
- attributes
-
setAttributes
-
relationships
public CreateDegradationRequestData relationships(CreateDegradationRequestDataRelationships relationships) -
getRelationships
The supported relationships for creating a degradation.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Degradations resource type.- Returns:
- type
-
setType
-
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:
- CreateDegradationRequestData
-
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 CreateDegradationRequestData object is equal to o. -
hashCode
public int hashCode() -
toString
-