Package com.datadog.api.client.v2.model
Class CreateDegradationRequestDataAttributes
java.lang.Object
com.datadog.api.client.v2.model.CreateDegradationRequestDataAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateDegradationRequestDataAttributes
extends Object
The supported attributes for creating a degradation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateDegradationRequestDataAttributes(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected, CreateDegradationRequestDataAttributesStatus status, String title) -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) description(String description) booleanReturn true if this CreateDegradationRequestDataAttributes object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected by the degradation.The description of the degradation.The status of the degradation.getTitle()The title of the degradation.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetComponentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) voidsetDescription(String description) voidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TITLE
- See Also:
-
-
Constructor Details
-
CreateDegradationRequestDataAttributes
public CreateDegradationRequestDataAttributes() -
CreateDegradationRequestDataAttributes
public CreateDegradationRequestDataAttributes(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected, CreateDegradationRequestDataAttributesStatus status, String title)
-
-
Method Details
-
componentsAffected
public CreateDegradationRequestDataAttributes componentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public CreateDegradationRequestDataAttributes addComponentsAffectedItem(CreateDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
The components affected by the degradation.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
description
-
getDescription
The description of the degradation.- Returns:
- description
-
setDescription
-
status
public CreateDegradationRequestDataAttributes status(CreateDegradationRequestDataAttributesStatus status) -
getStatus
The status of the degradation.- Returns:
- status
-
setStatus
-
title
-
getTitle
The title of the degradation.- Returns:
- title
-
setTitle
-
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:
- CreateDegradationRequestDataAttributes
-
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 CreateDegradationRequestDataAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-