Class CryptoTradesResp
java.lang.Object
net.jacobpeterson.alpaca.openapi.marketdata.model.CryptoTradesResp
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:48.935255-07:00[America/Los_Angeles]")
public class CryptoTradesResp
extends Object
CryptoTradesResp
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
static CryptoTradesResp
Create an instance of CryptoTradesResp given an JSON stringPagination token for next pageGet tradesint
hashCode()
nextPageToken
(String nextPageToken) putTradesItem
(String key, List<CryptoTrade> tradesItem) void
setNextPageToken
(String nextPageToken) void
setTrades
(Map<String, List<CryptoTrade>> trades) toJson()
Convert an instance of CryptoTradesResp to an JSON stringtoString()
trades
(Map<String, List<CryptoTrade>> trades) static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_TRADES
- See Also:
-
SERIALIZED_NAME_NEXT_PAGE_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
CryptoTradesResp
public CryptoTradesResp()
-
-
Method Details
-
trades
-
putTradesItem
-
getTrades
Get trades- Returns:
- trades
-
setTrades
-
nextPageToken
-
getNextPageToken
Pagination token for next page- Returns:
- nextPageToken
-
setNextPageToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of CryptoTradesResp given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of CryptoTradesResp
- Throws:
IOException
- if the JSON string is invalid with respect to CryptoTradesResp
-
toJson
Convert an instance of CryptoTradesResp to an JSON string- Returns:
- JSON string
-