Class PDTRemoval
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.PDTRemoval
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class PDTRemoval
extends Object
PDTRemoval
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static enum
The request status -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt
(OffsetDateTime createdAt) boolean
static PDTRemoval
Create an instance of PDTRemoval given an JSON stringAccount IDThe request date and timegetId()
Unique IDReason of rejectionThe request statusint
hashCode()
void
setAccountId
(UUID accountId) void
setCreatedAt
(OffsetDateTime createdAt) void
void
void
setStatus
(PDTRemoval.StatusEnum status) status
(PDTRemoval.StatusEnum status) toJson()
Convert an instance of PDTRemoval to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_ACCOUNT_ID
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_REASON
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
PDTRemoval
public PDTRemoval()
-
-
Method Details
-
id
-
getId
Unique ID- Returns:
- id
-
setId
-
accountId
-
getAccountId
Account ID- Returns:
- accountId
-
setAccountId
-
status
-
getStatus
The request status- Returns:
- status
-
setStatus
-
createdAt
-
getCreatedAt
The request date and time- Returns:
- createdAt
-
setCreatedAt
-
reason
-
getReason
Reason of rejection- Returns:
- reason
-
setReason
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of PDTRemoval given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of PDTRemoval
- Throws:
IOException
- if the JSON string is invalid with respect to PDTRemoval
-
toJson
Convert an instance of PDTRemoval to an JSON string- Returns:
- JSON string
-