Package com.datadog.api.client.v2.model
Class RelationAttributes
java.lang.Object
com.datadog.api.client.v2.model.RelationAttributes
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RelationAttributes
extends Object
Relation attributes.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturn true if this RelationAttributes object is equal to o.from(RelationEntity from) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getFrom()Relation entity reference.getTo()Relation entity reference.getType()Supported relation types.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetFrom(RelationEntity from) voidsetTo(RelationEntity to) voidsetType(RelationType type) to(RelationEntity to) toString()type(RelationType type)
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_FROM
- See Also:
-
JSON_PROPERTY_TO
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
RelationAttributes
public RelationAttributes()
-
-
Method Details
-
from
-
getFrom
Relation entity reference.- Returns:
- from
-
setFrom
-
to
-
getTo
Relation entity reference.- Returns:
- to
-
setTo
-
type
-
getType
Supported relation types.- 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:
- RelationAttributes
-
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 RelationAttributes object is equal to o. -
hashCode
public int hashCode() -
toString
-