Class PoolListMeta

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.24.0") public class PoolListMeta extends Object
Metadata describing the pools listing of a decentralized exchange
  • Field Details

  • Constructor Details

    • PoolListMeta

      public PoolListMeta()
  • Method Details

    • updatedAt

      public PoolListMeta updatedAt(@Nonnull OffsetDateTime updatedAt)
    • getUpdatedAt

      @Nonnull public OffsetDateTime getUpdatedAt()
      When this listing was last refreshed. It is refreshed every hour, and the `lastPrice` of each pool is as of this time.
      Returns:
      updatedAt
    • setUpdatedAt

      public void setUpdatedAt(@Nonnull OffsetDateTime updatedAt)
    • exchange

      public PoolListMeta exchange(@Nonnull String exchange)
    • getExchange

      @Nonnull public String getExchange()
      The exchange the pools belong to
      Returns:
      exchange
    • setExchange

      public void setExchange(@Nonnull String exchange)
    • segment

      public PoolListMeta segment(@Nonnull String segment)
    • getSegment

      @Nonnull public String getSegment()
      The protocol served in `data`, one of the exchange's `segments`
      Returns:
      segment
    • setSegment

      public void setSegment(@Nonnull String segment)
    • venueType

      public PoolListMeta venueType(@Nonnull PoolListMeta.VenueTypeEnum venueType)
    • getVenueType

      @Nonnull public PoolListMeta.VenueTypeEnum getVenueType()
      The venue type of the exchange, as `GET /exchanges` lists it. Always `dex` here; a listing of instruments of a centralized exchange says `cex`.
      Returns:
      venueType
    • setVenueType

      public void setVenueType(@Nonnull PoolListMeta.VenueTypeEnum venueType)
    • minTvlUsd

      public PoolListMeta minTvlUsd(@Nonnull BigDecimal minTvlUsd)
    • getMinTvlUsd

      @Nonnull public BigDecimal getMinTvlUsd()
      A pool with less liquidity than this (in US dollars) is not listed
      Returns:
      minTvlUsd
    • setMinTvlUsd

      public void setMinTvlUsd(@Nonnull BigDecimal minTvlUsd)
    • limit

      public PoolListMeta limit(@Nonnull Integer limit)
    • getLimit

      @Nonnull public Integer getLimit()
      The most pools the listing has
      Returns:
      limit
    • setLimit

      public void setLimit(@Nonnull Integer limit)
    • equals

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