Class CmcResult<V>

java.lang.Object
org.knowm.xchange.coinmarketcap.pro.v1.dto.CmcResult<V>
Direct Known Subclasses:
CmcCurrencyInfoResponse, CmcCurrencyMapResponse, CmcTickerListResponse, CmcTickerResponse

public class CmcResult<V>
extends Object
Generic result value structure for every API endpoint. See also: https://coinmarketcap.com/api/documentation/v1/#section/Standards-and-Conventions
  • Constructor Details

    • CmcResult

      public CmcResult​(V data, CmcStatus status)
  • Method Details

    • isSuccess

      public boolean isSuccess()
    • getData

      public V getData()
    • getStatus

      public CmcStatus getStatus()
    • toString

      public String toString()
      Overrides:
      toString in class Object