Class InstrumentLinks

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.14.0") public class InstrumentLinks extends Object
HAL `_links` — segment discovery for the instruments listing
  • Field Details

  • Constructor Details

    • InstrumentLinks

      public InstrumentLinks()
  • Method Details

    • self

      public InstrumentLinks self(@Nonnull HalLink self)
    • getSelf

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

      public void setSelf(@Nonnull HalLink self)
    • spot

      public InstrumentLinks spot(@Nullable HalLink spot)
    • getSpot

      @Nullable public HalLink getSpot()
      Link to the spot instruments listing. Present when the exchange has a spot segment.
      Returns:
      spot
    • setSpot

      public void setSpot(@Nullable HalLink spot)
    • futures

      public InstrumentLinks futures(@Nullable HalLink futures)
    • getFutures

      @Nullable public HalLink getFutures()
      Link to the futures instruments listing. Present only when the exchange has a futures segment.
      Returns:
      futures
    • setFutures

      public void setFutures(@Nullable HalLink futures)
    • equals

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