Class CreateCryptoTransferRequest
java.lang.Object
markets.alpaca.client.openapi.broker.model.CreateCryptoTransferRequest
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateCryptoTransferRequest
extends Object
implements Serializable
CreateCryptoTransferRequest
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumOptional chain identifier.static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateCryptoTransferRequestCreate an instance of CreateCryptoTransferRequest given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.The destination wallet addressThe amount, denoted in the specified asset, to be withdrawn from the user's walletgetAsset()Get assetgetChain()Optional chain identifier.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAddress(String address) voidvoidvoidtoJson()Convert an instance of CreateCryptoTransferRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ADDRESS
- See Also:
-
SERIALIZED_NAME_AMOUNT
- See Also:
-
SERIALIZED_NAME_ASSET
- See Also:
-
SERIALIZED_NAME_CHAIN
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateCryptoTransferRequest
public CreateCryptoTransferRequest()
-
-
Method Details
-
address
-
getAddress
The destination wallet address- Returns:
- address
-
setAddress
-
amount
-
getAmount
The amount, denoted in the specified asset, to be withdrawn from the user's wallet- Returns:
- amount
-
setAmount
-
asset
-
getAsset
Get asset- Returns:
- asset
-
setAsset
-
chain
-
getChain
Optional chain identifier. The blockchain network used for the withdrawal.- Returns:
- chain
-
setChain
-
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 CreateCryptoTransferRequest 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 CreateCryptoTransferRequest
-
fromJson
Create an instance of CreateCryptoTransferRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateCryptoTransferRequest
- Throws:
IOException- if the JSON string is invalid with respect to CreateCryptoTransferRequest
-
toJson
Convert an instance of CreateCryptoTransferRequest to an JSON string- Returns:
- JSON string
-