Package model
Class UsersListEmbedded
- java.lang.Object
-
- model.UsersListEmbedded
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class UsersListEmbedded extends Object
List of `User` objects.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUsersListEmbedded.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_USERS
-
Constructor Summary
Constructors Constructor Description UsersListEmbedded()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description UsersListEmbeddedaddUsersItem(User usersItem)booleanequals(Object o)static UsersListEmbeddedfromJson(String jsonString)Create an instance of UsersListEmbedded given an JSON stringSet<User>getUsers()`User` objects.inthashCode()voidsetUsers(Set<User> users)StringtoJson()Convert an instance of UsersListEmbedded to an JSON stringStringtoString()UsersListEmbeddedusers(Set<User> users)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
users
public UsersListEmbedded users(Set<User> users)
-
addUsersItem
public UsersListEmbedded addUsersItem(User usersItem)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to UsersListEmbedded
-
fromJson
public static UsersListEmbedded fromJson(String jsonString) throws IOException
Create an instance of UsersListEmbedded given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UsersListEmbedded
- Throws:
IOException- if the JSON string is invalid with respect to UsersListEmbedded
-
toJson
public String toJson()
Convert an instance of UsersListEmbedded to an JSON string- Returns:
- JSON string
-
-