Package org.bonitasoft.web.client.model
Class LoginRequest
- java.lang.Object
-
- org.bonitasoft.web.client.model.LoginRequest
-
- All Implemented Interfaces:
Serializable
public class LoginRequest extends Object implements Serializable
LoginRequest- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_PASSWORDstatic StringJSON_PROPERTY_REDIRECTstatic StringJSON_PROPERTY_REDIRECT_U_R_Lstatic StringJSON_PROPERTY_TENANTstatic StringJSON_PROPERTY_USERNAME
-
Constructor Summary
Constructors Constructor Description LoginRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetPassword()the passwordStringgetRedirect()\"true\" or \"false\".StringgetRedirectURL()the URL of the page to be displayed after loginorg.openapitools.jackson.nullable.JsonNullable<String>getRedirectURL_JsonNullable()StringgetTenant()the user tenantStringgetUsername()the usernameinthashCode()LoginRequestpassword(String password)LoginRequestredirect(String redirect)LoginRequestredirectURL(String redirectURL)voidsetPassword(String password)voidsetRedirect(String redirect)voidsetRedirectURL(String redirectURL)voidsetRedirectURL_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> redirectURL)voidsetTenant(String tenant)voidsetUsername(String username)LoginRequesttenant(String tenant)StringtoString()LoginRequestusername(String username)
-
-
-
Field Detail
-
JSON_PROPERTY_USERNAME
public static final String JSON_PROPERTY_USERNAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD
public static final String JSON_PROPERTY_PASSWORD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TENANT
public static final String JSON_PROPERTY_TENANT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT
public static final String JSON_PROPERTY_REDIRECT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REDIRECT_U_R_L
public static final String JSON_PROPERTY_REDIRECT_U_R_L
- See Also:
- Constant Field Values
-
-
Method Detail
-
username
public LoginRequest username(String username)
-
getUsername
public String getUsername()
the username- Returns:
- username
-
setUsername
public void setUsername(String username)
-
password
public LoginRequest password(String password)
-
getPassword
public String getPassword()
the password- Returns:
- password
-
setPassword
public void setPassword(String password)
-
tenant
public LoginRequest tenant(String tenant)
-
setTenant
public void setTenant(String tenant)
-
redirect
public LoginRequest redirect(String redirect)
-
getRedirect
@Nullable public String getRedirect()
\"true\" or \"false\". \"false\" indicates that the service should not redirect to Bonita Portal (after a successful login) or to the login page (after a login failure).- Returns:
- redirect
-
setRedirect
public void setRedirect(String redirect)
-
redirectURL
public LoginRequest redirectURL(String redirectURL)
-
getRedirectURL
@Nullable public String getRedirectURL()
the URL of the page to be displayed after login- Returns:
- redirectURL
-
getRedirectURL_JsonNullable
public org.openapitools.jackson.nullable.JsonNullable<String> getRedirectURL_JsonNullable()
-
setRedirectURL_JsonNullable
public void setRedirectURL_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> redirectURL)
-
setRedirectURL
public void setRedirectURL(String redirectURL)
-
-