Package com.datadog.api.client.v2.model
Class PreviewEntityResponseData
java.lang.Object
com.datadog.api.client.v2.model.PreviewEntityResponseData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class PreviewEntityResponseData
extends Object
Entity data returned in a preview response, including attributes, relationships, and type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionattributes(EntityResponseDataAttributes attributes) booleanReturn true if this PreviewEntityResponseData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Entity response attributes containing core entity metadata fields.getId()Entity unique identifier.Entity relationships including incidents, oncalls, schemas, and related entities.getType()Entity resource type.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(EntityResponseDataRelationships relationships) voidsetAttributes(EntityResponseDataAttributes attributes) voidvoidsetRelationships(EntityResponseDataRelationships relationships) voidtoString()type(EntityResponseDataType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
PreviewEntityResponseData
public PreviewEntityResponseData() -
PreviewEntityResponseData
-
-
Method Details
-
attributes
-
getAttributes
Entity response attributes containing core entity metadata fields.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Entity unique identifier.- Returns:
- id
-
setId
-
relationships
-
getRelationships
Entity relationships including incidents, oncalls, schemas, and related entities.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Entity resource type.- 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:
- PreviewEntityResponseData
-
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 PreviewEntityResponseData object is equal to o. -
hashCode
public int hashCode() -
toString
-