Package io.voucherify.client.model
Class ManagementProjectsUsersGetUserResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsUsersGetUserResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUsersGetUserResponseBody
extends Object
Details about the user assigned to the project.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCreate an instance of ManagementProjectsUsersGetUserResponseBody given an JSON stringgetEmail()The email address of the user who has been assigned to the project.The first name of the user who has been assigned to the project.getId()The unique identifier of the user who has been assigned to the project.Determines if the user is the owner for the organization in Voucherify.The last name of the user who has been assigned to the project.getLogin()The login data of the user who has been assigned to the project.Lists key-value pairs, where the key is the project to which the user is assigned.inthashCode()putProjectsItem(String key, String projectsItem) voidvoidsetFirstName(String firstName) voidvoidsetIsOwner(Boolean isOwner) voidsetLastName(String lastName) voidvoidsetProjects(Map<String, String> projects) toJson()Convert an instance of ManagementProjectsUsersGetUserResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_LOGIN
- See Also:
-
SERIALIZED_NAME_EMAIL
- See Also:
-
SERIALIZED_NAME_FIRST_NAME
- See Also:
-
SERIALIZED_NAME_LAST_NAME
- See Also:
-
SERIALIZED_NAME_PROJECTS
- See Also:
-
SERIALIZED_NAME_IS_OWNER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsUsersGetUserResponseBody
public ManagementProjectsUsersGetUserResponseBody()
-
-
Method Details
-
id
-
getId
The unique identifier of the user who has been assigned to the project.- Returns:
- id
-
setId
-
login
-
getLogin
The login data of the user who has been assigned to the project.- Returns:
- login
-
setLogin
-
email
-
getEmail
The email address of the user who has been assigned to the project.- Returns:
-
setEmail
-
firstName
-
getFirstName
The first name of the user who has been assigned to the project.- Returns:
- firstName
-
setFirstName
-
lastName
-
getLastName
The last name of the user who has been assigned to the project.- Returns:
- lastName
-
setLastName
-
projects
-
putProjectsItem
-
getProjects
Lists key-value pairs, where the key is the project to which the user is assigned. The value is the role assigned in a given project. The predefined Voucherify roles are: `ADMIN`, `USER`, `VIEWER`, `MERCHANT`, `USER_RESTRICTED` (for the Areas and Stores, an Enterprise feature).- Returns:
- projects
-
setProjects
-
isOwner
-
getIsOwner
Determines if the user is the owner for the organization in Voucherify.- Returns:
- isOwner
-
setIsOwner
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsUsersGetUserResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUsersGetUserResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUsersGetUserResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUsersGetUserResponseBody
-
toJson
Convert an instance of ManagementProjectsUsersGetUserResponseBody to an JSON string- Returns:
- JSON string
-