Package com.twitter.clientlib.model
Class SingleListLookupResponseIncludes
- java.lang.Object
-
- com.twitter.clientlib.model.SingleListLookupResponseIncludes
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class SingleListLookupResponseIncludes extends Object
SingleListLookupResponseIncludes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSingleListLookupResponseIncludes.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_USERS
-
Constructor Summary
Constructors Constructor Description SingleListLookupResponseIncludes()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SingleListLookupResponseIncludesaddUsersItem(User usersItem)booleanequals(Object o)static SingleListLookupResponseIncludesfromJson(String jsonString)Create an instance of SingleListLookupResponseIncludes given an JSON stringList<User>getUsers()Get usersinthashCode()voidsetUsers(List<User> users)StringtoJson()Convert an instance of SingleListLookupResponseIncludes to an JSON stringStringtoString()SingleListLookupResponseIncludesusers(List<User> users)static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues found
-
-
-
Method Detail
-
users
public SingleListLookupResponseIncludes users(List<User> users)
-
addUsersItem
public SingleListLookupResponseIncludes 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 SingleListLookupResponseIncludes
-
fromJson
public static SingleListLookupResponseIncludes fromJson(String jsonString) throws IOException
Create an instance of SingleListLookupResponseIncludes given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SingleListLookupResponseIncludes
- Throws:
IOException- if the JSON string is invalid with respect to SingleListLookupResponseIncludes
-
toJson
public String toJson()
Convert an instance of SingleListLookupResponseIncludes to an JSON string- Returns:
- JSON string
-
-