@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class EntityData extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_ID |
static String |
JSON_PROPERTY_META |
static String |
JSON_PROPERTY_RELATIONSHIPS |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
EntityData() |
| Modifier and Type | Method and Description |
|---|---|
EntityData |
attributes(EntityAttributes attributes) |
boolean |
equals(Object o)
Return true if this EntityData object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
EntityAttributes |
getAttributes()
Entity attributes.
|
String |
getId()
Entity ID.
|
EntityMeta |
getMeta()
Entity metadata.
|
EntityRelationships |
getRelationships()
Entity relationships.
|
String |
getType()
Entity.
|
int |
hashCode() |
EntityData |
id(String id) |
EntityData |
meta(EntityMeta meta) |
EntityData |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
EntityData |
relationships(EntityRelationships relationships) |
void |
setAttributes(EntityAttributes attributes) |
void |
setId(String id) |
void |
setMeta(EntityMeta meta) |
void |
setRelationships(EntityRelationships relationships) |
void |
setType(String type) |
String |
toString() |
EntityData |
type(String type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_ID
public static final String JSON_PROPERTY_META
public static final String JSON_PROPERTY_RELATIONSHIPS
public static final String JSON_PROPERTY_TYPE
public EntityData attributes(EntityAttributes attributes)
@Nullable public EntityAttributes getAttributes()
public void setAttributes(EntityAttributes attributes)
public EntityData id(String id)
@Nullable public String getId()
public void setId(String id)
public EntityData meta(EntityMeta meta)
@Nullable public EntityMeta getMeta()
public void setMeta(EntityMeta meta)
public EntityData relationships(EntityRelationships relationships)
@Nullable public EntityRelationships getRelationships()
public void setRelationships(EntityRelationships relationships)
public EntityData type(String type)
@Nullable public String getType()
public void setType(String type)
public EntityData putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.