Package com.datadog.api.client.v2.model
Class RelationResponse
java.lang.Object
com.datadog.api.client.v2.model.RelationResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class RelationResponse
extends Object
Relation response data.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributes(RelationAttributes attributes) booleanReturn true if this RelationResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Relation attributes.getId()Relation ID.getMeta()Relation metadata.Relation relationships.Relation subtype.getType()Relation type.inthashCode()meta(RelationMeta meta) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.relationships(RelationRelationships relationships) voidsetAttributes(RelationAttributes attributes) voidvoidsetMeta(RelationMeta meta) voidsetRelationships(RelationRelationships relationships) voidsetSubtype(String subtype) voidsetType(RelationResponseType type) toString()type(RelationResponseType type)
-
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_SUBTYPE
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
-
Constructor Details
-
RelationResponse
public RelationResponse()
-
-
Method Details
-
attributes
-
getAttributes
Relation attributes.- Returns:
- attributes
-
setAttributes
-
id
-
getId
Relation ID.- Returns:
- id
-
setId
-
meta
-
getMeta
Relation metadata.- Returns:
- meta
-
setMeta
-
relationships
-
getRelationships
Relation relationships.- Returns:
- relationships
-
setRelationships
-
subtype
-
getSubtype
Relation subtype.- Returns:
- subtype
-
setSubtype
-
type
-
getType
Relation type.- 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:
- RelationResponse
-
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 RelationResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-