Package io.voucherify.client.model
Class ManagementProjectsUsersUpdateRoleRequestBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsUsersUpdateRoleRequestBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUsersUpdateRoleRequestBody
extends Object
ManagementProjectsUsersUpdateRoleRequestBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsUsersUpdateRoleRequestBody given an JSON stringgetRole()The role of the user to be added.inthashCode()voidtoJson()Convert an instance of ManagementProjectsUsersUpdateRoleRequestBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ROLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsUsersUpdateRoleRequestBody
public ManagementProjectsUsersUpdateRoleRequestBody()
-
-
Method Details
-
role
-
getRole
The role of the user to be added. It can be a custom role or one of following predefined roles: `ADMIN`, `USER`, `VIEWER`, `MERCHANT` or an ID of a custom role..- Returns:
- role
-
setRole
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsUsersUpdateRoleRequestBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUsersUpdateRoleRequestBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUsersUpdateRoleRequestBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUsersUpdateRoleRequestBody
-
toJson
Convert an instance of ManagementProjectsUsersUpdateRoleRequestBody to an JSON string- Returns:
- JSON string
-