Package com.datadog.api.client.v2.model
Class DegradationTemplateDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.DegradationTemplateDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DegradationTemplateDataAttributes
extends Object
The attributes of a degradation template.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(DegradationTemplateDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<DegradationTemplateDataAttributesComponentsAffectedItems> componentsAffected) createdAt(OffsetDateTime createdAt) degradationTitle(String degradationTitle) booleanReturn true if this DegradationTemplateDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected by a degradation created from this template.Timestamp of when the degradation template was created.The title used for a degradation created from this template.Timestamp of when the degradation template was last modified.getName()The name of the degradation template.The pre-filled updates for a degradation created from this template.inthashCode()modifiedAt(OffsetDateTime modifiedAt) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<DegradationTemplateDataAttributesComponentsAffectedItems> componentsAffected) voidsetCreatedAt(OffsetDateTime createdAt) voidsetDegradationTitle(String degradationTitle) voidsetModifiedAt(OffsetDateTime modifiedAt) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_DEGRADATION_TITLE
- See Also:
-
JSON_PROPERTY_MODIFIED_AT
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_UPDATES
- See Also:
-
-
Constructor Details
-
DegradationTemplateDataAttributes
public DegradationTemplateDataAttributes()
-
-
Method Details
-
componentsAffected
public DegradationTemplateDataAttributes componentsAffected(List<DegradationTemplateDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public DegradationTemplateDataAttributes addComponentsAffectedItem(DegradationTemplateDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<DegradationTemplateDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected by a degradation created from this template.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<DegradationTemplateDataAttributesComponentsAffectedItems> componentsAffected) -
createdAt
-
getCreatedAt
Timestamp of when the degradation template was created.- Returns:
- createdAt
-
setCreatedAt
-
degradationTitle
-
getDegradationTitle
The title used for a degradation created from this template.- Returns:
- degradationTitle
-
setDegradationTitle
-
modifiedAt
-
getModifiedAt
Timestamp of when the degradation template was last modified.- Returns:
- modifiedAt
-
setModifiedAt
-
name
-
getName
The name of the degradation template.- Returns:
- name
-
setName
-
updates
public DegradationTemplateDataAttributes updates(List<DegradationTemplateDataAttributesUpdatesItems> updates) -
addUpdatesItem
public DegradationTemplateDataAttributes addUpdatesItem(DegradationTemplateDataAttributesUpdatesItems updatesItem) -
getUpdates
The pre-filled updates for a degradation created from this template.- Returns:
- updates
-
setUpdates
-
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:
- DegradationTemplateDataAttributes
-
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 DegradationTemplateDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-