Class Error
java.lang.Object
com.boldsign.model.Error
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.8.0")
public class Error
extends Object
Error
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ErrorCreate an instance of Error given an JSON stringgetCode()Get codeGet messageinthashCode()voidvoidsetMessage(String message) toJson()Convert an instance of Error 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_CODE
- See Also:
-
SERIALIZED_NAME_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Error
public Error()
-
-
Method Details
-
code
-
getCode
-
setCode
-
message
-
getMessage
-
setMessage
-
equals
-
hashCode
-
toString
-
createFormData
- Throws:
ApiException
-
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 Error
-
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
-