Class TokenizationRedeemResponse
java.lang.Object
markets.alpaca.client.openapi.broker.model.TokenizationRedeemResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TokenizationRedeemResponse
extends Object
implements Serializable
TokenizationRedeemResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanstatic TokenizationRedeemResponseCreate an instance of TokenizationRedeemResponse given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get createdAtGet issuerUnique identifier of the redemption request set by the issuerGet networkgetQty()The quantity to convert into the underlying asset.Get statusUnique identifier of the tokenization request set by AlpacaThe tokenized asset symbolTransaction hash of the completed request on the blockchaingetType()Get typeThe underlying asset symbolThe address where the redeemed tokens were originally heldinthashCode()issuer(TokenizationIssuer issuer) issuerRequestId(String issuerRequestId) network(TokenizationNetwork network) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetIssuer(TokenizationIssuer issuer) voidsetIssuerRequestId(String issuerRequestId) voidsetNetwork(TokenizationNetwork network) voidvoidsetStatus(TokenizationRequestStatus status) voidsetTokenizationRequestId(String tokenizationRequestId) voidsetTokenSymbol(String tokenSymbol) voidvoidvoidsetUnderlyingSymbol(String underlyingSymbol) voidsetWalletAddress(String walletAddress) status(TokenizationRequestStatus status) toJson()Convert an instance of TokenizationRedeemResponse to an JSON stringtokenizationRequestId(String tokenizationRequestId) tokenSymbol(String tokenSymbol) toString()type(TokenizationRequestType type) underlyingSymbol(String underlyingSymbol) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundwalletAddress(String walletAddress)
-
Field Details
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_ISSUER
- See Also:
-
SERIALIZED_NAME_ISSUER_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_NETWORK
- See Also:
-
SERIALIZED_NAME_QTY
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_TOKEN_SYMBOL
- See Also:
-
SERIALIZED_NAME_TOKENIZATION_REQUEST_ID
- See Also:
-
SERIALIZED_NAME_TX_HASH
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
SERIALIZED_NAME_UNDERLYING_SYMBOL
- See Also:
-
SERIALIZED_NAME_WALLET_ADDRESS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TokenizationRedeemResponse
public TokenizationRedeemResponse()
-
-
Method Details
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
issuer
-
getIssuer
Get issuer- Returns:
- issuer
-
setIssuer
-
issuerRequestId
-
getIssuerRequestId
Unique identifier of the redemption request set by the issuer- Returns:
- issuerRequestId
-
setIssuerRequestId
-
network
-
getNetwork
Get network- Returns:
- network
-
setNetwork
-
qty
-
getQty
The quantity to convert into the underlying asset. It can be fractional.- Returns:
- qty
-
setQty
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
tokenSymbol
-
getTokenSymbol
The tokenized asset symbol- Returns:
- tokenSymbol
-
setTokenSymbol
-
tokenizationRequestId
-
getTokenizationRequestId
Unique identifier of the tokenization request set by Alpaca- Returns:
- tokenizationRequestId
-
setTokenizationRequestId
-
txHash
-
getTxHash
Transaction hash of the completed request on the blockchain- Returns:
- txHash
-
setTxHash
-
type
-
getType
Get type- Returns:
- type
-
setType
-
underlyingSymbol
-
getUnderlyingSymbol
The underlying asset symbol- Returns:
- underlyingSymbol
-
setUnderlyingSymbol
-
walletAddress
-
getWalletAddress
The address where the redeemed tokens were originally held- Returns:
- walletAddress
-
setWalletAddress
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- name of the propertyvalue- value of the property- Returns:
- the TokenizationRedeemResponse instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to TokenizationRedeemResponse
-
fromJson
Create an instance of TokenizationRedeemResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TokenizationRedeemResponse
- Throws:
IOException- if the JSON string is invalid with respect to TokenizationRedeemResponse
-
toJson
Convert an instance of TokenizationRedeemResponse to an JSON string- Returns:
- JSON string
-