Package com.datadog.api.client.v2.model
Class DegradationTemplate
java.lang.Object
com.datadog.api.client.v2.model.DegradationTemplate
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DegradationTemplate
extends Object
Response object for a single degradation template.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddIncludedItem(DegradationIncluded includedItem) data(DegradationTemplateData data) booleanReturn true if this DegradationTemplate object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()The data object for a degradation template.The included related resources of a degradation template.inthashCode()included(List<DegradationIncluded> included) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetIncluded(List<DegradationIncluded> included) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_INCLUDED
- See Also:
-
-
Constructor Details
-
DegradationTemplate
public DegradationTemplate()
-
-
Method Details
-
data
-
getData
The data object for a degradation template.- Returns:
- data
-
setData
-
included
-
addIncludedItem
-
getIncluded
The included related resources of a degradation template. Client must explicitly request these resources by name in theincludequery parameter.- Returns:
- included
-
setIncluded
-
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:
- DegradationTemplate
-
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 DegradationTemplate object is equal to o. -
hashCode
public int hashCode() -
toString
-