Class AdminActionContextLiquidationContext
java.lang.Object
markets.alpaca.client.openapi.broker.model.AdminActionContextLiquidationContext
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AdminActionContextLiquidationContext
extends Object
implements Serializable
Variable schema type which depends on the type
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionavailableQty(BigDecimal availableQty) booleanCreate an instance of AdminActionContextLiquidationContext given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get availableQtygetError()Get errorGet reasonGet requestedQtyGet symbolinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.requestedQty(BigDecimal requestedQty) voidsetAvailableQty(BigDecimal availableQty) voidvoidvoidsetRequestedQty(BigDecimal requestedQty) voidtoJson()Convert an instance of AdminActionContextLiquidationContext 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_AVAILABLE_QTY
- See Also:
-
SERIALIZED_NAME_ERROR
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
SERIALIZED_NAME_REQUESTED_QTY
- See Also:
-
SERIALIZED_NAME_SYMBOL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AdminActionContextLiquidationContext
public AdminActionContextLiquidationContext()
-
-
Method Details
-
availableQty
-
getAvailableQty
Get availableQty- Returns:
- availableQty
-
setAvailableQty
-
error
-
getError
Get error- Returns:
- error
-
setError
-
reason
-
getReason
Get reason- Returns:
- reason
-
setReason
-
requestedQty
-
getRequestedQty
Get requestedQty- Returns:
- requestedQty
-
setRequestedQty
-
symbol
-
getSymbol
Get symbol- Returns:
- symbol
-
setSymbol
-
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 AdminActionContextLiquidationContext 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 AdminActionContextLiquidationContext
-
fromJson
Create an instance of AdminActionContextLiquidationContext given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdminActionContextLiquidationContext
- Throws:
IOException- if the JSON string is invalid with respect to AdminActionContextLiquidationContext
-
toJson
Convert an instance of AdminActionContextLiquidationContext to an JSON string- Returns:
- JSON string
-