Package com.twitter.clientlib.model
Class Get2UsersIdFollowedListsResponse
- java.lang.Object
-
- com.twitter.clientlib.model.Get2UsersIdFollowedListsResponse
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class Get2UsersIdFollowedListsResponse extends Object
Get2UsersIdFollowedListsResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Get2UsersIdFollowedListsResponse.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>
openapiFields
static HashSet<String>
openapiRequiredFields
static String
SERIALIZED_NAME_DATA
static String
SERIALIZED_NAME_ERRORS
static String
SERIALIZED_NAME_INCLUDES
static String
SERIALIZED_NAME_META
-
Constructor Summary
Constructors Constructor Description Get2UsersIdFollowedListsResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_DATA
public static final String SERIALIZED_NAME_DATA
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERRORS
public static final String SERIALIZED_NAME_ERRORS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_INCLUDES
public static final String SERIALIZED_NAME_INCLUDES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_META
public static final String SERIALIZED_NAME_META
- See Also:
- Constant Field Values
-
-
Method Detail
-
data
public Get2UsersIdFollowedListsResponse data(List<ModelList> data)
-
addDataItem
public Get2UsersIdFollowedListsResponse addDataItem(ModelList dataItem)
-
errors
public Get2UsersIdFollowedListsResponse errors(List<Problem> errors)
-
addErrorsItem
public Get2UsersIdFollowedListsResponse addErrorsItem(Problem errorsItem)
-
includes
public Get2UsersIdFollowedListsResponse includes(Expansions includes)
-
getIncludes
@Nullable public Expansions getIncludes()
Get includes- Returns:
- includes
-
setIncludes
public void setIncludes(Expansions includes)
-
meta
public Get2UsersIdFollowedListsResponse meta(Get2ListsIdFollowersResponseMeta meta)
-
getMeta
@Nullable public Get2ListsIdFollowersResponseMeta getMeta()
Get meta- Returns:
- meta
-
setMeta
public void setMeta(Get2ListsIdFollowersResponseMeta meta)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOException
Validates 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 Get2UsersIdFollowedListsResponse
-
fromJson
public static Get2UsersIdFollowedListsResponse fromJson(String jsonString) throws IOException
Create an instance of Get2UsersIdFollowedListsResponse given an JSON string- Parameters:
jsonString
- JSON string- Returns:
- An instance of Get2UsersIdFollowedListsResponse
- Throws:
IOException
- if the JSON string is invalid with respect to Get2UsersIdFollowedListsResponse
-
toJson
public String toJson()
Convert an instance of Get2UsersIdFollowedListsResponse to an JSON string- Returns:
- JSON string
-
-