com.lucadev.coinmarketcap.model.CoinMarketApiResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coinmarketcap-api Show documentation
Show all versions of coinmarketcap-api Show documentation
A REST API client specifically developed to connect to the CoinMarketCap API.
The newest version!
package com.lucadev.coinmarketcap.model;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Map;
/**
* API response for a single market
*
* @author Luca Camphuisen
* @since 6-5-18
*/
public class CoinMarketApiResponse extends ApiResponse {
/**
* Constructs the response model.
*
* @param data the response data.
* @param metadata the metadata object in the response. Inside a map.
*/
@JsonCreator
public CoinMarketApiResponse(@JsonProperty(JSON_DATA_PROPERTY) CoinMarket data,
@JsonProperty(JSON_METADATA_PROPERTY) Map metadata) {
super(data, metadata);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy