Package com.datadog.api.client.v2.model
Class CreateBackfilledDegradationRequestDataAttributesUpdatesItems
java.lang.Object
com.datadog.api.client.v2.model.CreateBackfilledDegradationRequestDataAttributesUpdatesItems
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class CreateBackfilledDegradationRequestDataAttributesUpdatesItems
extends Object
A backfilled degradation update entry.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCreateBackfilledDegradationRequestDataAttributesUpdatesItems(OffsetDateTime startedAt, CreateDegradationRequestDataAttributesStatus status) -
Method Summary
Modifier and TypeMethodDescriptionaddComponentsAffectedItem(CreateDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) componentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) description(String description) booleanReturn true if this CreateBackfilledDegradationRequestDataAttributesUpdatesItems object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The components affected.A description of the update.Timestamp of when the update occurred.The status 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) voidsetStartedAt(OffsetDateTime startedAt) voidstartedAt(OffsetDateTime startedAt) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_COMPONENTS_AFFECTED
- See Also:
-
JSON_PROPERTY_DESCRIPTION
- See Also:
-
JSON_PROPERTY_STARTED_AT
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
-
Constructor Details
-
CreateBackfilledDegradationRequestDataAttributesUpdatesItems
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems() -
CreateBackfilledDegradationRequestDataAttributesUpdatesItems
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems(OffsetDateTime startedAt, CreateDegradationRequestDataAttributesStatus status)
-
-
Method Details
-
componentsAffected
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems componentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
addComponentsAffectedItem
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems addComponentsAffectedItem(CreateDegradationRequestDataAttributesComponentsAffectedItems componentsAffectedItem) -
getComponentsAffected
@Nullable public List<CreateDegradationRequestDataAttributesComponentsAffectedItems> getComponentsAffected()The components affected.- Returns:
- componentsAffected
-
setComponentsAffected
public void setComponentsAffected(List<CreateDegradationRequestDataAttributesComponentsAffectedItems> componentsAffected) -
description
-
getDescription
A description of the update.- Returns:
- description
-
setDescription
-
startedAt
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems startedAt(OffsetDateTime startedAt) -
getStartedAt
Timestamp of when the update occurred.- Returns:
- startedAt
-
setStartedAt
-
status
-
getStatus
The status of the degradation.- Returns:
- status
-
setStatus
-
putAdditionalProperty
public CreateBackfilledDegradationRequestDataAttributesUpdatesItems putAdditionalProperty(String key, Object value) 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:
- CreateBackfilledDegradationRequestDataAttributesUpdatesItems
-
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 CreateBackfilledDegradationRequestDataAttributesUpdatesItems object is equal to o. -
hashCode
public int hashCode() -
toString
-