Class MfaVerificationResponse
- java.lang.Object
-
- de.xima.fc.api.rest.pub.client.security.model.MfaVerificationResponse
-
- All Implemented Interfaces:
Serializable
@Generated("de.xima.openapi.codegen.java_jaxrs.XimaJavaJaxrsGenerator") public class MfaVerificationResponse extends Object implements SerializableMfaVerificationResponse- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_SUCCESSstatic StringJSON_PROPERTY_TOKEN
-
Constructor Summary
Constructors Constructor Description MfaVerificationResponse()Creates a new empty model with no data yet.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BooleangetSuccess()Indicates whether the MFA verification was successful.AuthenticationTokenResponsegetToken()Get tokeninthashCode()voidsetSuccess(Boolean success)voidsetToken(AuthenticationTokenResponse token)MfaVerificationResponsesuccess(Boolean success)Creates a new model with the given enum and no other data.MfaVerificationResponsetoken(AuthenticationTokenResponse token)Creates a new model with the given enum and no other data.StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_SUCCESS
public static final String JSON_PROPERTY_SUCCESS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TOKEN
public static final String JSON_PROPERTY_TOKEN
- See Also:
- Constant Field Values
-
-
Method Detail
-
success
public MfaVerificationResponse success(Boolean success)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getSuccess
@Nullable public Boolean getSuccess()
Indicates whether the MFA verification was successful.- Returns:
- success
-
setSuccess
public void setSuccess(Boolean success)
-
token
public MfaVerificationResponse token(AuthenticationTokenResponse token)
Creates a new model with the given enum and no other data. Use the various setters or fluent setters to add further data.
-
getToken
@Nullable public AuthenticationTokenResponse getToken()
Get token- Returns:
- token
-
setToken
public void setToken(AuthenticationTokenResponse token)
-
-