Class AccountDocument
java.lang.Object
markets.alpaca.client.openapi.broker.model.AccountDocument
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class AccountDocument
extends Object
implements Serializable
A document associated with an account
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic AccountDocumentCreate an instance of AccountDocument given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getDate()Get dategetId()Get idgetName()Get nameThe sub-type of the document.getType()Get typeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidvoidvoidsetSubType(String subType) voidsetType(AccountDocumentType type) toJson()Convert an instance of AccountDocument to an JSON stringtoString()type(AccountDocumentType type) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_SUB_TYPE
- See Also:
-
SERIALIZED_NAME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
AccountDocument
public AccountDocument()
-
-
Method Details
-
date
-
getDate
Get date- Returns:
- date
-
setDate
-
id
-
getId
Get id- Returns:
- id
-
setId
-
name
-
getName
Get name- Returns:
- name
-
setName
-
subType
-
getSubType
The sub-type of the document. This is a free-form property.- Returns:
- subType
-
setSubType
-
type
-
getType
Get type- Returns:
- type
-
setType
-
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 AccountDocument 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 AccountDocument
-
fromJson
Create an instance of AccountDocument given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AccountDocument
- Throws:
IOException- if the JSON string is invalid with respect to AccountDocument
-
toJson
Convert an instance of AccountDocument to an JSON string- Returns:
- JSON string
-