Class PoolLinks

java.lang.Object
com.qtsurfer.api.client.model.PoolLinks

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class PoolLinks extends Object
HAL `_links` — protocol discovery for the pools listing of a decentralized exchange
  • Field Details

  • Constructor Details

    • PoolLinks

      public PoolLinks()
  • Method Details

    • self

      public PoolLinks self(@Nonnull HalLink self)
    • getSelf

      @Nonnull public HalLink getSelf()
      Link to this listing
      Returns:
      self
    • setSelf

      public void setSelf(@Nonnull HalLink self)
    • putAdditionalProperty

      public PoolLinks putAdditionalProperty(String key, HalLink 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 name of the property
      value - the value of the property
      Returns:
      self reference
    • getAdditionalProperties

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

      public HalLink getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - the name of the property
      Returns:
      the additional (undeclared) property with the specified name
    • equals

      public boolean equals(Object o)
      Return true if this PoolLinks 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
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string