Package io.voucherify.client.model
Class ManagementProjectsUsersListResponseBody
java.lang.Object
io.voucherify.client.model.ManagementProjectsUsersListResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ManagementProjectsUsersListResponseBody
extends Object
Object containing a list of users assigned to the project.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumIdentifies the name of the attribute that contains the array of user objects.static enumThe type of the object represented by JSON. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDataItem(User dataItem) booleanCreate an instance of ManagementProjectsUsersListResponseBody given an JSON stringgetData()Array of user objects.Identifies the name of the attribute that contains the array of user objects.The type of the object represented by JSON.getTotal()The total number of users.inthashCode()voidvoidvoidvoidtoJson()Convert an instance of ManagementProjectsUsersListResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_DATA_REF
- See Also:
-
SERIALIZED_NAME_DATA
- See Also:
-
SERIALIZED_NAME_TOTAL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ManagementProjectsUsersListResponseBody
public ManagementProjectsUsersListResponseBody()
-
-
Method Details
-
_object
public ManagementProjectsUsersListResponseBody _object(ManagementProjectsUsersListResponseBody.ObjectEnum _object) -
getObject
The type of the object represented by JSON. This object stores information about the users in a dictionary.- Returns:
- _object
-
setObject
-
dataRef
public ManagementProjectsUsersListResponseBody dataRef(ManagementProjectsUsersListResponseBody.DataRefEnum dataRef) -
getDataRef
Identifies the name of the attribute that contains the array of user objects.- Returns:
- dataRef
-
setDataRef
-
data
-
addDataItem
-
getData
Array of user objects.- Returns:
- data
-
setData
-
total
-
getTotal
The total number of users.- Returns:
- total
-
setTotal
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static ManagementProjectsUsersListResponseBody fromJson(String jsonString) throws IOException Create an instance of ManagementProjectsUsersListResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ManagementProjectsUsersListResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ManagementProjectsUsersListResponseBody
-
toJson
Convert an instance of ManagementProjectsUsersListResponseBody to an JSON string- Returns:
- JSON string
-