Class PartyErrorResponse
java.lang.Object
markets.alpaca.client.openapi.broker.model.PartyErrorResponse
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.28.0")
public class PartyErrorResponse
extends Object
implements Serializable
Error response returned by party, agreement, document, and verification endpoints.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumMachine-readable error code -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFieldsItem(PartyErrorResponseFieldsInner fieldsItem) booleanerrorDescription(String errorDescription) fields(List<PartyErrorResponseFieldsInner> fields) static PartyErrorResponseCreate an instance of PartyErrorResponse given an JSON stringgetError()Machine-readable error codeHuman-readable error descriptionList of invalid request fields, if anyinthashCode()voidvoidsetErrorDescription(String errorDescription) voidsetFields(List<PartyErrorResponseFieldsInner> fields) toJson()Convert an instance of PartyErrorResponse 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_ERROR
- See Also:
-
SERIALIZED_NAME_ERROR_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_FIELDS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
PartyErrorResponse
public PartyErrorResponse()
-
-
Method Details
-
error
-
getError
Machine-readable error code- Returns:
- error
-
setError
-
errorDescription
-
getErrorDescription
Human-readable error description- Returns:
- errorDescription
-
setErrorDescription
-
fields
-
addFieldsItem
-
getFields
List of invalid request fields, if any- Returns:
- fields
-
setFields
-
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 PartyErrorResponse
-
fromJson
Create an instance of PartyErrorResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PartyErrorResponse
- Throws:
IOException- if the JSON string is invalid with respect to PartyErrorResponse
-
toJson
Convert an instance of PartyErrorResponse to an JSON string- Returns:
- JSON string
-