Class GetOptionsContracts200Response
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.GetOptionsContracts200Response
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class GetOptionsContracts200Response
extends Object
GetOptionsContracts200Response
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddOptionContractsItem
(OptionContract optionContractsItem) boolean
Create an instance of GetOptionsContracts200Response given an JSON stringUse this token in your next API call to paginate through the dataset and retrieve the next page of results.Get optionContractsint
hashCode()
nextPageToken
(String nextPageToken) optionContracts
(List<OptionContract> optionContracts) void
setNextPageToken
(String nextPageToken) void
setOptionContracts
(List<OptionContract> optionContracts) toJson()
Convert an instance of GetOptionsContracts200Response to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_OPTION_CONTRACTS
- See Also:
-
SERIALIZED_NAME_NEXT_PAGE_TOKEN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
GetOptionsContracts200Response
public GetOptionsContracts200Response()
-
-
Method Details
-
optionContracts
-
addOptionContractsItem
-
getOptionContracts
Get optionContracts- Returns:
- optionContracts
-
setOptionContracts
-
nextPageToken
-
getNextPageToken
Use this token in your next API call to paginate through the dataset and retrieve the next page of results. A null token indicates there are no more data to fetch.- Returns:
- nextPageToken
-
setNextPageToken
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of GetOptionsContracts200Response given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of GetOptionsContracts200Response
- Throws:
IOException
- if the JSON string is invalid with respect to GetOptionsContracts200Response
-
toJson
Convert an instance of GetOptionsContracts200Response to an JSON string- Returns:
- JSON string
-