Package com.exoscale.sdk.model
Class CreateUserRequest
- java.lang.Object
-
- com.exoscale.sdk.model.CreateUserRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class CreateUserRequest extends Object
CreateUserRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_EMAIL
static String
JSON_PROPERTY_ROLE
-
Constructor Summary
Constructors Constructor Description CreateUserRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateUserRequest
email(String email)
boolean
equals(Object o)
Return true if this create_user_request object is equal to o.String
getEmail()
User EmailIamRole
getRole()
Get roleint
hashCode()
CreateUserRequest
role(IamRole role)
void
setEmail(String email)
void
setRole(IamRole role)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_EMAIL
public static final String JSON_PROPERTY_EMAIL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ROLE
public static final String JSON_PROPERTY_ROLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
email
public CreateUserRequest email(String email)
-
getEmail
@Nonnull public String getEmail()
User Email- Returns:
-
setEmail
public void setEmail(String email)
-
role
public CreateUserRequest role(IamRole role)
-
getRole
@Nullable public IamRole getRole()
Get role- Returns:
- role
-
setRole
public void setRole(IamRole role)
-
equals
public boolean equals(Object o)
Return true if this create_user_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-