Class TransferStatusEvent
java.lang.Object
markets.alpaca.client.openapi.broker.model.TransferStatusEvent
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class TransferStatusEvent
extends Object
implements Serializable
Represents a change in a Transfer's status, sent over the events streaming api.
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionat(OffsetDateTime at) booleanstatic TransferStatusEventCreate an instance of TransferStatusEvent given an JSON stringAccount UUIDReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getAt()Timestamp of when the transfer status changedMonotonically increasing 64-bit integer not available to new partners, and for backward compatibility purposes only; use `event_ulid` as the stable identifier where possiblelexically sortable, monotonically increasing character arrayGet statusFromGet statusToTransfer UUIDinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAccountId(UUID accountId) voidsetAt(OffsetDateTime at) voidsetEventId(Integer eventId) voidsetEventUlid(String eventUlid) voidsetStatusFrom(TransferStatus statusFrom) voidsetStatusTo(TransferStatus statusTo) voidsetTransferId(UUID transferId) statusFrom(TransferStatus statusFrom) statusTo(TransferStatus statusTo) toJson()Convert an instance of TransferStatusEvent to an JSON stringtoString()transferId(UUID transferId) static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_AT
- See Also:
-
SERIALIZED_NAME_EVENT_ID
- See Also:
-
SERIALIZED_NAME_EVENT_ULID
- See Also:
-
SERIALIZED_NAME_STATUS_FROM
- See Also:
-
SERIALIZED_NAME_STATUS_TO
- See Also:
-
SERIALIZED_NAME_TRANSFER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
TransferStatusEvent
public TransferStatusEvent()
-
-
Method Details
-
accountId
-
getAccountId
Account UUID- Returns:
- accountId
-
setAccountId
-
at
-
getAt
Timestamp of when the transfer status changed- Returns:
- at
-
setAt
-
eventId
-
getEventId
Monotonically increasing 64-bit integer not available to new partners, and for backward compatibility purposes only; use `event_ulid` as the stable identifier where possible- Returns:
- eventId
-
setEventId
-
eventUlid
-
getEventUlid
lexically sortable, monotonically increasing character array- Returns:
- eventUlid
-
setEventUlid
-
statusFrom
-
getStatusFrom
Get statusFrom- Returns:
- statusFrom
-
setStatusFrom
-
statusTo
-
getStatusTo
Get statusTo- Returns:
- statusTo
-
setStatusTo
-
transferId
-
getTransferId
Transfer UUID- Returns:
- transferId
-
setTransferId
-
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 TransferStatusEvent 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 TransferStatusEvent
-
fromJson
Create an instance of TransferStatusEvent given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of TransferStatusEvent
- Throws:
IOException- if the JSON string is invalid with respect to TransferStatusEvent
-
toJson
Convert an instance of TransferStatusEvent to an JSON string- Returns:
- JSON string
-