Package com.datadog.api.client.v2.model
Class RelationToEntity
java.lang.Object
com.datadog.api.client.v2.model.RelationToEntity
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RelationToEntity
extends Object
Relation to entity.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondata(RelationshipItem data) booleanReturn true if this RelationToEntity object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getData()Relationship entry.getMeta()Entity metadata.inthashCode()meta(EntityMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetData(RelationshipItem data) voidsetMeta(EntityMeta meta) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA
- See Also:
-
JSON_PROPERTY_META
- See Also:
-
-
Constructor Details
-
RelationToEntity
public RelationToEntity()
-
-
Method Details
-
data
-
getData
Relationship entry.- Returns:
- data
-
setData
-
meta
-
getMeta
Entity metadata.- Returns:
- meta
-
setMeta
-
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:
- RelationToEntity
-
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 RelationToEntity object is equal to o. -
hashCode
public int hashCode() -
toString
-