Package sh.ory.model
Class NeedsPrivilegedSessionError
java.lang.Object
sh.ory.model.NeedsPrivilegedSessionError
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2022-04-19T11:31:27.587817519Z[Etc/UTC]") public class NeedsPrivilegedSessionError extends Object
NeedsPrivilegedSessionError
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CODEstatic StringSERIALIZED_NAME_DEBUGstatic StringSERIALIZED_NAME_DETAILSstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_MESSAGEstatic StringSERIALIZED_NAME_REASONstatic StringSERIALIZED_NAME_REDIRECT_BROWSER_TOstatic StringSERIALIZED_NAME_REQUESTstatic StringSERIALIZED_NAME_STATUS -
Constructor Summary
Constructors Constructor Description NeedsPrivilegedSessionError() -
Method Summary
Modifier and Type Method Description NeedsPrivilegedSessionErrorcode(Long code)NeedsPrivilegedSessionErrordebug(String debug)NeedsPrivilegedSessionErrordetails(Map<String,Object> details)booleanequals(Object o)LonggetCode()The status codeStringgetDebug()Debug information This field is often not exposed to protect against leaking sensitive information.Map<String,Object>getDetails()Further error detailsStringgetId()The error ID Useful when trying to identify various errors in application logic.StringgetMessage()Error message The error's message.StringgetReason()A human-readable reason for the errorStringgetRedirectBrowserTo()Points to where to redirect the user to next.StringgetRequest()The request ID The request ID is often exposed internally in order to trace errors across service architectures.StringgetStatus()The status descriptioninthashCode()NeedsPrivilegedSessionErrorid(String id)NeedsPrivilegedSessionErrormessage(String message)NeedsPrivilegedSessionErrorputDetailsItem(String key, Object detailsItem)NeedsPrivilegedSessionErrorreason(String reason)NeedsPrivilegedSessionErrorredirectBrowserTo(String redirectBrowserTo)NeedsPrivilegedSessionErrorrequest(String request)voidsetCode(Long code)voidsetDebug(String debug)voidsetDetails(Map<String,Object> details)voidsetId(String id)voidsetMessage(String message)voidsetReason(String reason)voidsetRedirectBrowserTo(String redirectBrowserTo)voidsetRequest(String request)voidsetStatus(String status)NeedsPrivilegedSessionErrorstatus(String status)StringtoString()
-
Field Details
-
SERIALIZED_NAME_CODE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEBUG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DETAILS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REASON
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REDIRECT_BROWSER_TO
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REQUEST
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Constructor Details
-
NeedsPrivilegedSessionError
public NeedsPrivilegedSessionError()
-
-
Method Details
-
code
-
getCode
The status code- Returns:
- code
-
setCode
-
debug
-
getDebug
Debug information This field is often not exposed to protect against leaking sensitive information.- Returns:
- debug
-
setDebug
-
details
-
putDetailsItem
-
getDetails
Further error details- Returns:
- details
-
setDetails
-
id
-
getId
The error ID Useful when trying to identify various errors in application logic.- Returns:
- id
-
setId
-
message
-
getMessage
Error message The error's message.- Returns:
- message
-
setMessage
-
reason
-
getReason
A human-readable reason for the error- Returns:
- reason
-
setReason
-
redirectBrowserTo
-
getRedirectBrowserTo
Points to where to redirect the user to next.- Returns:
- redirectBrowserTo
-
setRedirectBrowserTo
-
request
-
getRequest
The request ID The request ID is often exposed internally in order to trace errors across service architectures. This is often a UUID.- Returns:
- request
-
setRequest
-
status
-
getStatus
The status description- Returns:
- status
-
setStatus
-
equals
-
hashCode
public int hashCode() -
toString
-