Package com.datadog.api.client.v2.model
Class DegradationDataAttributesSource
java.lang.Object
com.datadog.api.client.v2.model.DegradationDataAttributesSource
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class DegradationDataAttributesSource
extends Object
The source of the degradation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDegradationDataAttributesSource(OffsetDateTime createdAt, String sourceId, DegradationDataAttributesSourceType type) -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanReturn true if this DegradationDataAttributesSource object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Timestamp of when the source was created.The ID of the source.getType()The type of the source.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetSourceId(String sourceId) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CREATED_AT
- See Also:
-
JSON_PROPERTY_SOURCE_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
DegradationDataAttributesSource
public DegradationDataAttributesSource() -
DegradationDataAttributesSource
public DegradationDataAttributesSource(OffsetDateTime createdAt, String sourceId, DegradationDataAttributesSourceType type)
-
-
Method Details
-
createdAt
-
getCreatedAt
Timestamp of when the source was created.- Returns:
- createdAt
-
setCreatedAt
-
sourceId
-
getSourceId
The ID of the source.- Returns:
- sourceId
-
setSourceId
-
type
-
getType
The type of the source.- 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:
- DegradationDataAttributesSource
-
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 DegradationDataAttributesSource object is equal to o. -
hashCode
public int hashCode() -
toString
-