Package sh.ory.hydra.model
Class RejectRequest
- java.lang.Object
-
- sh.ory.hydra.model.RejectRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2021-01-12T16:13:57.119092Z[GMT]") public class RejectRequest extends Object
RejectRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ERRORstatic StringSERIALIZED_NAME_ERROR_DEBUGstatic StringSERIALIZED_NAME_ERROR_DESCRIPTIONstatic StringSERIALIZED_NAME_ERROR_HINTstatic StringSERIALIZED_NAME_STATUS_CODE
-
Constructor Summary
Constructors Constructor Description RejectRequest()
-
Method Summary
Modifier and Type Method Description booleanequals(Object o)RejectRequesterror(String error)RejectRequesterrorDebug(String errorDebug)RejectRequesterrorDescription(String errorDescription)RejectRequesterrorHint(String errorHint)StringgetError()The error should follow the OAuth2 error format (e.g.StringgetErrorDebug()Debug contains information to help resolve the problem as a developer.StringgetErrorDescription()Description of the error in a human readable format.StringgetErrorHint()Hint to help resolve the error.LonggetStatusCode()Represents the HTTP status code of the error (e.g.inthashCode()voidsetError(String error)voidsetErrorDebug(String errorDebug)voidsetErrorDescription(String errorDescription)voidsetErrorHint(String errorHint)voidsetStatusCode(Long statusCode)RejectRequeststatusCode(Long statusCode)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ERROR
public static final String SERIALIZED_NAME_ERROR
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_DEBUG
public static final String SERIALIZED_NAME_ERROR_DEBUG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_DESCRIPTION
public static final String SERIALIZED_NAME_ERROR_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_HINT
public static final String SERIALIZED_NAME_ERROR_HINT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS_CODE
public static final String SERIALIZED_NAME_STATUS_CODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
error
public RejectRequest error(String error)
-
getError
@Nullable public String getError()
The error should follow the OAuth2 error format (e.g. `invalid_request`, `login_required`). Defaults to `request_denied`.- Returns:
- error
-
setError
public void setError(String error)
-
errorDebug
public RejectRequest errorDebug(String errorDebug)
-
getErrorDebug
@Nullable public String getErrorDebug()
Debug contains information to help resolve the problem as a developer. Usually not exposed to the public but only in the server logs.- Returns:
- errorDebug
-
setErrorDebug
public void setErrorDebug(String errorDebug)
-
errorDescription
public RejectRequest errorDescription(String errorDescription)
-
getErrorDescription
@Nullable public String getErrorDescription()
Description of the error in a human readable format.- Returns:
- errorDescription
-
setErrorDescription
public void setErrorDescription(String errorDescription)
-
errorHint
public RejectRequest errorHint(String errorHint)
-
getErrorHint
@Nullable public String getErrorHint()
Hint to help resolve the error.- Returns:
- errorHint
-
setErrorHint
public void setErrorHint(String errorHint)
-
statusCode
public RejectRequest statusCode(Long statusCode)
-
getStatusCode
@Nullable public Long getStatusCode()
Represents the HTTP status code of the error (e.g. 401 or 403) Defaults to 400- Returns:
- statusCode
-
setStatusCode
public void setStatusCode(Long statusCode)
-
-