Modifier and Type | Class and Description |
---|---|
static class |
UpdateUserOptions.Builder |
Constructor and Description |
---|
UpdateUserOptions() |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
UpdateUserOptions |
email(String email) |
UpdateUserOptions |
enabled(boolean enabled) |
boolean |
equals(Object object) |
String |
getEmail()
Gets the user e-mail
|
String |
getName()
Gets the default user name
|
String |
getPassword()
Gets the default password
|
int |
hashCode() |
boolean |
isEnabled() |
UpdateUserOptions |
name(String name)
A name can be defined when updating an user.
|
UpdateUserOptions |
password(String password) |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper string()
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public String getName()
public UpdateUserOptions name(String name)
public String getPassword()
public UpdateUserOptions password(String password)
public String getEmail()
public UpdateUserOptions email(String email)
getEmail()
public boolean isEnabled()
public UpdateUserOptions enabled(boolean enabled)
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.