Package sh.ory.model
Class GenericErrorContent
java.lang.Object
sh.ory.model.GenericErrorContent
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class GenericErrorContent extends Object
Error response
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DEBUGstatic StringSERIALIZED_NAME_ERRORstatic StringSERIALIZED_NAME_ERROR_DESCRIPTIONstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_STATUS_CODE -
Constructor Summary
Constructors Constructor Description GenericErrorContent() -
Method Summary
Modifier and Type Method Description GenericErrorContentdebug(String debug)booleanequals(Object o)GenericErrorContenterror(String error)GenericErrorContenterrorDescription(String errorDescription)StringgetDebug()Debug contains debug information.StringgetError()Name is the error name.StringgetErrorDescription()Description contains further information on the nature of the error.StringgetMessage()Message contains the error message.LonggetStatusCode()Code represents the error status code (404, 403, 401, ...).inthashCode()GenericErrorContentmessage(String message)voidsetDebug(String debug)voidsetError(String error)voidsetErrorDescription(String errorDescription)voidsetMessage(String message)voidsetStatusCode(Long statusCode)GenericErrorContentstatusCode(Long statusCode)StringtoString()
-
Field Details
-
SERIALIZED_NAME_DEBUG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS_CODE
- See Also:
- Constant Field Values
-
-
Constructor Details
-
GenericErrorContent
public GenericErrorContent()
-
-
Method Details
-
debug
-
getDebug
Debug contains debug information. This is usually not available and has to be enabled.- Returns:
- debug
-
setDebug
-
error
-
getError
Name is the error name.- Returns:
- error
-
setError
-
errorDescription
-
getErrorDescription
Description contains further information on the nature of the error.- Returns:
- errorDescription
-
setErrorDescription
-
message
-
getMessage
Message contains the error message.- Returns:
- message
-
setMessage
-
statusCode
-
getStatusCode
Code represents the error status code (404, 403, 401, ...).- Returns:
- statusCode
-
setStatusCode
-
equals
-
hashCode
public int hashCode() -
toString
-