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 Details

  • Constructor Details

    • RelationResponse

      public RelationResponse()
  • Method Details

    • attributes

      public RelationResponse attributes(RelationAttributes attributes)
    • getAttributes

      @Nullable public RelationAttributes getAttributes()
      Relation attributes.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(RelationAttributes attributes)
    • id

      public RelationResponse id(String id)
    • getId

      @Nullable public String getId()
      Relation ID.
      Returns:
      id
    • setId

      public void setId(String id)
    • meta

      public RelationResponse meta(RelationMeta meta)
    • getMeta

      @Nullable public RelationMeta getMeta()
      Relation metadata.
      Returns:
      meta
    • setMeta

      public void setMeta(RelationMeta meta)
    • relationships

      public RelationResponse relationships(RelationRelationships relationships)
    • getRelationships

      @Nullable public RelationRelationships getRelationships()
      Relation relationships.
      Returns:
      relationships
    • setRelationships

      public void setRelationships(RelationRelationships relationships)
    • subtype

      public RelationResponse subtype(String subtype)
    • getSubtype

      @Nullable public String getSubtype()
      Relation subtype.
      Returns:
      subtype
    • setSubtype

      public void setSubtype(String subtype)
    • type

    • getType

      @Nullable public RelationResponseType getType()
      Relation type.
      Returns:
      type
    • setType

      public void setType(RelationResponseType type)
    • putAdditionalProperty

      public RelationResponse putAdditionalProperty(String key, Object value)
      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 set
      value - The associated value
      Returns:
      RelationResponse
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      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

      public boolean equals(Object o)
      Return true if this RelationResponse object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object