Class OwnerDocument
java.lang.Object
markets.alpaca.client.openapi.broker.model.OwnerDocument
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class OwnerDocument
extends Object
implements Serializable
A document associated with an owner of the account
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) documentSubType(String documentSubType) documentType(OwnerDocumentType documentType) booleanstatic OwnerDocumentCreate an instance of OwnerDocument given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get createdAtThe sub-type of the document.Get documentTypegetId()Get idGet mimeTypeinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetCreatedAt(OffsetDateTime createdAt) voidsetDocumentSubType(String documentSubType) voidsetDocumentType(OwnerDocumentType documentType) voidvoidsetMimeType(String mimeType) toJson()Convert an instance of OwnerDocument 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_CREATED_AT
- See Also:
-
SERIALIZED_NAME_DOCUMENT_SUB_TYPE
- See Also:
-
SERIALIZED_NAME_DOCUMENT_TYPE
- See Also:
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_MIME_TYPE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
OwnerDocument
public OwnerDocument()
-
-
Method Details
-
createdAt
-
getCreatedAt
Get createdAt- Returns:
- createdAt
-
setCreatedAt
-
documentSubType
-
getDocumentSubType
The sub-type of the document. This is a free-form property.- Returns:
- documentSubType
-
setDocumentSubType
-
documentType
-
getDocumentType
Get documentType- Returns:
- documentType
-
setDocumentType
-
id
-
getId
Get id- Returns:
- id
-
setId
-
mimeType
-
getMimeType
Get mimeType- Returns:
- mimeType
-
setMimeType
-
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 OwnerDocument 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 OwnerDocument
-
fromJson
Create an instance of OwnerDocument given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of OwnerDocument
- Throws:
IOException- if the JSON string is invalid with respect to OwnerDocument
-
toJson
Convert an instance of OwnerDocument to an JSON string- Returns:
- JSON string
-