@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class RelationAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_FROM |
static String |
JSON_PROPERTY_TO |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
RelationAttributes() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o)
Return true if this RelationAttributes object is equal to o.
|
RelationAttributes |
from(RelationEntity from) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
RelationEntity |
getFrom()
Relation entity reference.
|
RelationEntity |
getTo()
Relation entity reference.
|
RelationType |
getType()
Supported relation types.
|
int |
hashCode() |
RelationAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setFrom(RelationEntity from) |
void |
setTo(RelationEntity to) |
void |
setType(RelationType type) |
RelationAttributes |
to(RelationEntity to) |
String |
toString() |
RelationAttributes |
type(RelationType type) |
public boolean unparsed
public static final String JSON_PROPERTY_FROM
public static final String JSON_PROPERTY_TO
public static final String JSON_PROPERTY_TYPE
public RelationAttributes from(RelationEntity from)
@Nullable public RelationEntity getFrom()
public void setFrom(RelationEntity from)
public RelationAttributes to(RelationEntity to)
@Nullable public RelationEntity getTo()
public void setTo(RelationEntity to)
public RelationAttributes type(RelationType type)
@Nullable public RelationType getType()
public void setType(RelationType type)
public RelationAttributes 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 © 2026. All rights reserved.