Package com.datadog.api.client.v2.model
Class EntityData
java.lang.Object
com.datadog.api.client.v2.model.EntityData
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class EntityData
extends Object
Entity data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(EntityAttributes attributes) booleanReturn true if this EntityData object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Entity attributes.getId()Entity ID.getMeta()Entity metadata.Entity relationships.getType()Entity.inthashCode()meta(EntityMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(EntityRelationships relationships) voidsetAttributes(EntityAttributes attributes) voidvoidsetMeta(EntityMeta meta) voidsetRelationships(EntityRelationships relationships) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
JSON_PROPERTY_RELATIONSHIPS
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
EntityData
public EntityData()
-
-
Method Details
-
attributes
-
getAttributes
Entity attributes.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Entity ID.- Returns:
- id
-
setId
-
meta
-
getMeta
Entity metadata.- Returns:
- meta
-
setMeta
-
relationships
-
getRelationships
Entity relationships.- Returns:
- relationships
-
setRelationships
-
type
-
getType
Entity.- 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:
- EntityData
-
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 EntityData object is equal to o. -
hashCode
public int hashCode() -
toString
-