Class Error
java.lang.Object
net.jacobpeterson.alpaca.openapi.broker.model.Error
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-23T18:58:47.485165-07:00[America/Los_Angeles]")
public class Error
extends Object
Error
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncode
(BigDecimal code) boolean
static Error
Create an instance of Error given an JSON stringgetCode()
Get codeGet messageint
hashCode()
void
setCode
(BigDecimal code) void
setMessage
(String message) toJson()
Convert an instance of Error to an JSON stringtoString()
static void
validateJsonElement
(com.google.gson.JsonElement jsonElement)
-
Field Details
-
SERIALIZED_NAME_CODE
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
validate
public static boolean validate -
isValid
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
code
-
getCode
Get code- Returns:
- code
-
setCode
-
message
-
getMessage
Get message- Returns:
- message
-
setMessage
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
- Throws:
IOException
-
fromJson
Create an instance of Error given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Error
- Throws:
IOException
- if the JSON string is invalid with respect to Error
-
toJson
Convert an instance of Error to an JSON string- Returns:
- JSON string
-