Package io.voucherify.client.model
Class ManagementProjectsUsersAssignRequestBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsUsersAssignRequestBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUsersAssignRequestBody
extends Object
ManagementProjectsUsersAssignRequestBody
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsUsersAssignRequestBody given an JSON stringgetId()The unique identifier of the user who will be assigned to the project.getLogin()The login data of the user who will be assigned to the project.getRole()The role of the user to be added.inthashCode()voidvoidvoidtoJson()Convert an instance of ManagementProjectsUsersAssignRequestBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LOGIN
- See Also:
-
SERIALIZED_NAME_ROLE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsUsersAssignRequestBody
public ManagementProjectsUsersAssignRequestBody()
-
-
Method Details
-
id
-
getId
The unique identifier of the user who will be assigned to the project. It can be found in Team Settings > Team > Edit member. **Required** with the `role` string. Do **not** use with the `login` string.- Returns:
- id
-
setId
-
login
-
getLogin
The login data of the user who will be assigned to the project. **Required** with the `role` string. Do **not** use with the `id` string.- Returns:
- login
-
setLogin
-
role
-
getRole
The role of the user to be added. It can be one of the 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 ManagementProjectsUsersAssignRequestBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUsersAssignRequestBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUsersAssignRequestBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUsersAssignRequestBody
-
toJson
Convert an instance of ManagementProjectsUsersAssignRequestBody to an JSON string- Returns:
- JSON string
-