Package com.twitter.clientlib.api
Class ListsApi
- java.lang.Object
-
- com.twitter.clientlib.api.ApiCommon
-
- com.twitter.clientlib.api.ListsApi
-
public class ListsApi extends ApiCommon
-
-
Field Summary
-
Fields inherited from class com.twitter.clientlib.api.ApiCommon
localVarApiClient
-
-
Constructor Summary
Constructors Constructor Description ListsApi()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MultiListResponsegetUserListMemberships(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's List Memberships Get a User's List Memberships.okhttp3.CallgetUserListMembershipsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback)Get a User's List Memberships (asynchronously) Get a User's List Memberships.okhttp3.CallgetUserListMembershipsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback)Build call for getUserListMembershipsApiResponse<MultiListResponse>getUserListMembershipsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's List Memberships Get a User's List Memberships.ListMemberResponselistAddMember(ListAddMemberRequest listAddMemberRequest, String id)Add a List member Causes a user to become a member of a List.okhttp3.CalllistAddMemberAsync(ListAddMemberRequest listAddMemberRequest, String id, ApiCallback<ListMemberResponse> _callback)Add a List member (asynchronously) Causes a user to become a member of a List.okhttp3.CalllistAddMemberCall(ListAddMemberRequest listAddMemberRequest, String id, ApiCallback _callback)Build call for listAddMemberApiResponse<ListMemberResponse>listAddMemberWithHttpInfo(ListAddMemberRequest listAddMemberRequest, String id)Add a List member Causes a user to become a member of a List.ListCreateResponselistIdCreate(ListCreateRequest listCreateRequest)Create List Creates a new List.okhttp3.CalllistIdCreateAsync(ListCreateRequest listCreateRequest, ApiCallback<ListCreateResponse> _callback)Create List (asynchronously) Creates a new List.okhttp3.CalllistIdCreateCall(ListCreateRequest listCreateRequest, ApiCallback _callback)Build call for listIdCreateApiResponse<ListCreateResponse>listIdCreateWithHttpInfo(ListCreateRequest listCreateRequest)Create List Creates a new List.ListDeleteResponselistIdDelete(String id)Delete List Delete a List that you own.okhttp3.CalllistIdDeleteAsync(String id, ApiCallback<ListDeleteResponse> _callback)Delete List (asynchronously) Delete a List that you own.okhttp3.CalllistIdDeleteCall(String id, ApiCallback _callback)Build call for listIdDeleteApiResponse<ListDeleteResponse>listIdDeleteWithHttpInfo(String id)Delete List Delete a List that you own.SingleListLookupResponselistIdGet(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields)List lookup by List ID Returns a Listokhttp3.CalllistIdGetAsync(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<SingleListLookupResponse> _callback)List lookup by List ID (asynchronously) Returns a Listokhttp3.CalllistIdGetCall(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback)Build call for listIdGetApiResponse<SingleListLookupResponse>listIdGetWithHttpInfo(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields)List lookup by List ID Returns a ListListUpdateResponselistIdUpdate(ListUpdateRequest listUpdateRequest, String id)Update List Update a List that you own.okhttp3.CalllistIdUpdateAsync(ListUpdateRequest listUpdateRequest, String id, ApiCallback<ListUpdateResponse> _callback)Update List (asynchronously) Update a List that you own.okhttp3.CalllistIdUpdateCall(ListUpdateRequest listUpdateRequest, String id, ApiCallback _callback)Build call for listIdUpdateApiResponse<ListUpdateResponse>listIdUpdateWithHttpInfo(ListUpdateRequest listUpdateRequest, String id)Update List Update a List that you own.ListMemberResponselistRemoveMember(String id, String userId)Remove a List member Causes a user to be removed from the members of a List.okhttp3.CalllistRemoveMemberAsync(String id, String userId, ApiCallback<ListMemberResponse> _callback)Remove a List member (asynchronously) Causes a user to be removed from the members of a List.okhttp3.CalllistRemoveMemberCall(String id, String userId, ApiCallback _callback)Build call for listRemoveMemberApiResponse<ListMemberResponse>listRemoveMemberWithHttpInfo(String id, String userId)Remove a List member Causes a user to be removed from the members of a List.ListFollowedResponselistUserFollow(ListFollowRequest listFollowRequest, String id)Follow a List Causes a user to follow a List.okhttp3.CalllistUserFollowAsync(ListFollowRequest listFollowRequest, String id, ApiCallback<ListFollowedResponse> _callback)Follow a List (asynchronously) Causes a user to follow a List.okhttp3.CalllistUserFollowCall(ListFollowRequest listFollowRequest, String id, ApiCallback _callback)Build call for listUserFollowApiResponse<ListFollowedResponse>listUserFollowWithHttpInfo(ListFollowRequest listFollowRequest, String id)Follow a List Causes a user to follow a List.MultiListResponselistUserOwnedLists(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's Owned Lists Get a User's Owned Lists.okhttp3.CalllistUserOwnedListsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback)Get a User's Owned Lists (asynchronously) Get a User's Owned Lists.okhttp3.CalllistUserOwnedListsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback)Build call for listUserOwnedListsApiResponse<MultiListResponse>listUserOwnedListsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's Owned Lists Get a User's Owned Lists.ListPinnedResponselistUserPin(ListPinRequest listPinRequest, String id)Pin a List Causes a user to pin a List.okhttp3.CalllistUserPinAsync(ListPinRequest listPinRequest, String id, ApiCallback<ListPinnedResponse> _callback)Pin a List (asynchronously) Causes a user to pin a List.okhttp3.CalllistUserPinCall(ListPinRequest listPinRequest, String id, ApiCallback _callback)Build call for listUserPinMultiListNoPaginationResponselistUserPinnedLists(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's Pinned Lists Get a User's Pinned Lists.okhttp3.CalllistUserPinnedListsAsync(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListNoPaginationResponse> _callback)Get a User's Pinned Lists (asynchronously) Get a User's Pinned Lists.okhttp3.CalllistUserPinnedListsCall(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback)Build call for listUserPinnedListsApiResponse<MultiListNoPaginationResponse>listUserPinnedListsWithHttpInfo(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get a User's Pinned Lists Get a User's Pinned Lists.ApiResponse<ListPinnedResponse>listUserPinWithHttpInfo(ListPinRequest listPinRequest, String id)Pin a List Causes a user to pin a List.ListFollowedResponselistUserUnfollow(String id, String listId)Unfollow a List Causes a user to unfollow a List.okhttp3.CalllistUserUnfollowAsync(String id, String listId, ApiCallback<ListFollowedResponse> _callback)Unfollow a List (asynchronously) Causes a user to unfollow a List.okhttp3.CalllistUserUnfollowCall(String id, String listId, ApiCallback _callback)Build call for listUserUnfollowApiResponse<ListFollowedResponse>listUserUnfollowWithHttpInfo(String id, String listId)Unfollow a List Causes a user to unfollow a List.ListPinnedResponselistUserUnpin(String id, String listId)Unpin a List Causes a user to remove a pinned List.okhttp3.CalllistUserUnpinAsync(String id, String listId, ApiCallback<ListPinnedResponse> _callback)Unpin a List (asynchronously) Causes a user to remove a pinned List.okhttp3.CalllistUserUnpinCall(String id, String listId, ApiCallback _callback)Build call for listUserUnpinApiResponse<ListPinnedResponse>listUserUnpinWithHttpInfo(String id, String listId)Unpin a List Causes a user to remove a pinned List.MultiListResponseuserFollowedLists(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get User's Followed Lists Returns a user's followed Lists.okhttp3.CalluserFollowedListsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback)Get User's Followed Lists (asynchronously) Returns a user's followed Lists.okhttp3.CalluserFollowedListsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback)Build call for userFollowedListsApiResponse<MultiListResponse>userFollowedListsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields)Get User's Followed Lists Returns a user's followed Lists.-
Methods inherited from class com.twitter.clientlib.api.ApiCommon
isOAUth2AutoRefreshToken, reduceAuthNames, refreshToken, setClient
-
-
-
-
Method Detail
-
getUserListMembershipsCall
public okhttp3.Call getUserListMembershipsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback) throws ApiException
Build call for getUserListMemberships- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
getUserListMemberships
public MultiListResponse getUserListMemberships(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's List Memberships Get a User's List Memberships.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- MultiListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
getUserListMembershipsWithHttpInfo
public ApiResponse<MultiListResponse> getUserListMembershipsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's List Memberships Get a User's List Memberships.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- ApiResponse<MultiListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
getUserListMembershipsAsync
public okhttp3.Call getUserListMembershipsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback) throws ApiException
Get a User's List Memberships (asynchronously) Get a User's List Memberships.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listAddMemberCall
public okhttp3.Call listAddMemberCall(ListAddMemberRequest listAddMemberRequest, String id, ApiCallback _callback) throws ApiException
Build call for listAddMember- Parameters:
listAddMemberRequest- (optional)id- The ID of the List to add a member (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listAddMember
public ListMemberResponse listAddMember(ListAddMemberRequest listAddMemberRequest, String id) throws ApiException
Add a List member Causes a user to become a member of a List.- Parameters:
listAddMemberRequest- (optional)id- The ID of the List to add a member (required)- Returns:
- ListMemberResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listAddMemberWithHttpInfo
public ApiResponse<ListMemberResponse> listAddMemberWithHttpInfo(ListAddMemberRequest listAddMemberRequest, String id) throws ApiException
Add a List member Causes a user to become a member of a List.- Parameters:
listAddMemberRequest- (optional)id- The ID of the List to add a member (required)- Returns:
- ApiResponse<ListMemberResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listAddMemberAsync
public okhttp3.Call listAddMemberAsync(ListAddMemberRequest listAddMemberRequest, String id, ApiCallback<ListMemberResponse> _callback) throws ApiException
Add a List member (asynchronously) Causes a user to become a member of a List.- Parameters:
listAddMemberRequest- (optional)id- The ID of the List to add a member (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdCreateCall
public okhttp3.Call listIdCreateCall(ListCreateRequest listCreateRequest, ApiCallback _callback) throws ApiException
Build call for listIdCreate- Parameters:
listCreateRequest- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdCreate
public ListCreateResponse listIdCreate(ListCreateRequest listCreateRequest) throws ApiException
Create List Creates a new List.- Parameters:
listCreateRequest- (optional)- Returns:
- ListCreateResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdCreateWithHttpInfo
public ApiResponse<ListCreateResponse> listIdCreateWithHttpInfo(ListCreateRequest listCreateRequest) throws ApiException
Create List Creates a new List.- Parameters:
listCreateRequest- (optional)- Returns:
- ApiResponse<ListCreateResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdCreateAsync
public okhttp3.Call listIdCreateAsync(ListCreateRequest listCreateRequest, ApiCallback<ListCreateResponse> _callback) throws ApiException
Create List (asynchronously) Creates a new List.- Parameters:
listCreateRequest- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdDeleteCall
public okhttp3.Call listIdDeleteCall(String id, ApiCallback _callback) throws ApiException
Build call for listIdDelete- Parameters:
id- The ID of the List to delete (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdDelete
public ListDeleteResponse listIdDelete(String id) throws ApiException
Delete List Delete a List that you own.- Parameters:
id- The ID of the List to delete (required)- Returns:
- ListDeleteResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdDeleteWithHttpInfo
public ApiResponse<ListDeleteResponse> listIdDeleteWithHttpInfo(String id) throws ApiException
Delete List Delete a List that you own.- Parameters:
id- The ID of the List to delete (required)- Returns:
- ApiResponse<ListDeleteResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdDeleteAsync
public okhttp3.Call listIdDeleteAsync(String id, ApiCallback<ListDeleteResponse> _callback) throws ApiException
Delete List (asynchronously) Delete a List that you own.- Parameters:
id- The ID of the List to delete (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdGetCall
public okhttp3.Call listIdGetCall(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback) throws ApiException
Build call for listIdGet- Parameters:
id- The ID of the List to get (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdGet
public SingleListLookupResponse listIdGet(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
List lookup by List ID Returns a List- Parameters:
id- The ID of the List to get (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- SingleListLookupResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdGetWithHttpInfo
public ApiResponse<SingleListLookupResponse> listIdGetWithHttpInfo(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
List lookup by List ID Returns a List- Parameters:
id- The ID of the List to get (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- ApiResponse<SingleListLookupResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdGetAsync
public okhttp3.Call listIdGetAsync(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<SingleListLookupResponse> _callback) throws ApiException
List lookup by List ID (asynchronously) Returns a List- Parameters:
id- The ID of the List to get (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdUpdateCall
public okhttp3.Call listIdUpdateCall(ListUpdateRequest listUpdateRequest, String id, ApiCallback _callback) throws ApiException
Build call for listIdUpdate- Parameters:
listUpdateRequest- (optional)id- The ID of the List to modify (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdUpdate
public ListUpdateResponse listIdUpdate(ListUpdateRequest listUpdateRequest, String id) throws ApiException
Update List Update a List that you own.- Parameters:
listUpdateRequest- (optional)id- The ID of the List to modify (required)- Returns:
- ListUpdateResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdUpdateWithHttpInfo
public ApiResponse<ListUpdateResponse> listIdUpdateWithHttpInfo(ListUpdateRequest listUpdateRequest, String id) throws ApiException
Update List Update a List that you own.- Parameters:
listUpdateRequest- (optional)id- The ID of the List to modify (required)- Returns:
- ApiResponse<ListUpdateResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listIdUpdateAsync
public okhttp3.Call listIdUpdateAsync(ListUpdateRequest listUpdateRequest, String id, ApiCallback<ListUpdateResponse> _callback) throws ApiException
Update List (asynchronously) Update a List that you own.- Parameters:
listUpdateRequest- (optional)id- The ID of the List to modify (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listRemoveMemberCall
public okhttp3.Call listRemoveMemberCall(String id, String userId, ApiCallback _callback) throws ApiException
Build call for listRemoveMember- Parameters:
id- The ID of the List to remove a member (required)userId- The ID of user that will be removed from the List (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listRemoveMember
public ListMemberResponse listRemoveMember(String id, String userId) throws ApiException
Remove a List member Causes a user to be removed from the members of a List.- Parameters:
id- The ID of the List to remove a member (required)userId- The ID of user that will be removed from the List (required)- Returns:
- ListMemberResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listRemoveMemberWithHttpInfo
public ApiResponse<ListMemberResponse> listRemoveMemberWithHttpInfo(String id, String userId) throws ApiException
Remove a List member Causes a user to be removed from the members of a List.- Parameters:
id- The ID of the List to remove a member (required)userId- The ID of user that will be removed from the List (required)- Returns:
- ApiResponse<ListMemberResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listRemoveMemberAsync
public okhttp3.Call listRemoveMemberAsync(String id, String userId, ApiCallback<ListMemberResponse> _callback) throws ApiException
Remove a List member (asynchronously) Causes a user to be removed from the members of a List.- Parameters:
id- The ID of the List to remove a member (required)userId- The ID of user that will be removed from the List (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserFollowCall
public okhttp3.Call listUserFollowCall(ListFollowRequest listFollowRequest, String id, ApiCallback _callback) throws ApiException
Build call for listUserFollow- Parameters:
listFollowRequest- (optional)id- The ID of the authenticated source user that will follow the List (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserFollow
public ListFollowedResponse listUserFollow(ListFollowRequest listFollowRequest, String id) throws ApiException
Follow a List Causes a user to follow a List.- Parameters:
listFollowRequest- (optional)id- The ID of the authenticated source user that will follow the List (required)- Returns:
- ListFollowedResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserFollowWithHttpInfo
public ApiResponse<ListFollowedResponse> listUserFollowWithHttpInfo(ListFollowRequest listFollowRequest, String id) throws ApiException
Follow a List Causes a user to follow a List.- Parameters:
listFollowRequest- (optional)id- The ID of the authenticated source user that will follow the List (required)- Returns:
- ApiResponse<ListFollowedResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserFollowAsync
public okhttp3.Call listUserFollowAsync(ListFollowRequest listFollowRequest, String id, ApiCallback<ListFollowedResponse> _callback) throws ApiException
Follow a List (asynchronously) Causes a user to follow a List.- Parameters:
listFollowRequest- (optional)id- The ID of the authenticated source user that will follow the List (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserOwnedListsCall
public okhttp3.Call listUserOwnedListsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback) throws ApiException
Build call for listUserOwnedLists- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserOwnedLists
public MultiListResponse listUserOwnedLists(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's Owned Lists Get a User's Owned Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- MultiListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserOwnedListsWithHttpInfo
public ApiResponse<MultiListResponse> listUserOwnedListsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's Owned Lists Get a User's Owned Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- ApiResponse<MultiListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserOwnedListsAsync
public okhttp3.Call listUserOwnedListsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback) throws ApiException
Get a User's Owned Lists (asynchronously) Get a User's Owned Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinCall
public okhttp3.Call listUserPinCall(ListPinRequest listPinRequest, String id, ApiCallback _callback) throws ApiException
Build call for listUserPin- Parameters:
listPinRequest- (optional)id- The ID of the authenticated source user that will pin the List (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPin
public ListPinnedResponse listUserPin(ListPinRequest listPinRequest, String id) throws ApiException
Pin a List Causes a user to pin a List.- Parameters:
listPinRequest- (optional)id- The ID of the authenticated source user that will pin the List (required)- Returns:
- ListPinnedResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinWithHttpInfo
public ApiResponse<ListPinnedResponse> listUserPinWithHttpInfo(ListPinRequest listPinRequest, String id) throws ApiException
Pin a List Causes a user to pin a List.- Parameters:
listPinRequest- (optional)id- The ID of the authenticated source user that will pin the List (required)- Returns:
- ApiResponse<ListPinnedResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinAsync
public okhttp3.Call listUserPinAsync(ListPinRequest listPinRequest, String id, ApiCallback<ListPinnedResponse> _callback) throws ApiException
Pin a List (asynchronously) Causes a user to pin a List.- Parameters:
listPinRequest- (optional)id- The ID of the authenticated source user that will pin the List (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinnedListsCall
public okhttp3.Call listUserPinnedListsCall(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback) throws ApiException
Build call for listUserPinnedLists- Parameters:
id- The ID of the user for whom to return results (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinnedLists
public MultiListNoPaginationResponse listUserPinnedLists(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's Pinned Lists Get a User's Pinned Lists.- Parameters:
id- The ID of the user for whom to return results (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- MultiListNoPaginationResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinnedListsWithHttpInfo
public ApiResponse<MultiListNoPaginationResponse> listUserPinnedListsWithHttpInfo(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get a User's Pinned Lists Get a User's Pinned Lists.- Parameters:
id- The ID of the user for whom to return results (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- ApiResponse<MultiListNoPaginationResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserPinnedListsAsync
public okhttp3.Call listUserPinnedListsAsync(String id, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListNoPaginationResponse> _callback) throws ApiException
Get a User's Pinned Lists (asynchronously) Get a User's Pinned Lists.- Parameters:
id- The ID of the user for whom to return results (required)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnfollowCall
public okhttp3.Call listUserUnfollowCall(String id, String listId, ApiCallback _callback) throws ApiException
Build call for listUserUnfollow- Parameters:
id- The ID of the authenticated source user that will unfollow the List (required)listId- The ID of the List to unfollow (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnfollow
public ListFollowedResponse listUserUnfollow(String id, String listId) throws ApiException
Unfollow a List Causes a user to unfollow a List.- Parameters:
id- The ID of the authenticated source user that will unfollow the List (required)listId- The ID of the List to unfollow (required)- Returns:
- ListFollowedResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnfollowWithHttpInfo
public ApiResponse<ListFollowedResponse> listUserUnfollowWithHttpInfo(String id, String listId) throws ApiException
Unfollow a List Causes a user to unfollow a List.- Parameters:
id- The ID of the authenticated source user that will unfollow the List (required)listId- The ID of the List to unfollow (required)- Returns:
- ApiResponse<ListFollowedResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnfollowAsync
public okhttp3.Call listUserUnfollowAsync(String id, String listId, ApiCallback<ListFollowedResponse> _callback) throws ApiException
Unfollow a List (asynchronously) Causes a user to unfollow a List.- Parameters:
id- The ID of the authenticated source user that will unfollow the List (required)listId- The ID of the List to unfollow (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnpinCall
public okhttp3.Call listUserUnpinCall(String id, String listId, ApiCallback _callback) throws ApiException
Build call for listUserUnpin- Parameters:
id- The ID of the authenticated source user that will remove the pinned List (required)listId- The ID of the List to unpin (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnpin
public ListPinnedResponse listUserUnpin(String id, String listId) throws ApiException
Unpin a List Causes a user to remove a pinned List.- Parameters:
id- The ID of the authenticated source user that will remove the pinned List (required)listId- The ID of the List to unpin (required)- Returns:
- ListPinnedResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnpinWithHttpInfo
public ApiResponse<ListPinnedResponse> listUserUnpinWithHttpInfo(String id, String listId) throws ApiException
Unpin a List Causes a user to remove a pinned List.- Parameters:
id- The ID of the authenticated source user that will remove the pinned List (required)listId- The ID of the List to unpin (required)- Returns:
- ApiResponse<ListPinnedResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
listUserUnpinAsync
public okhttp3.Call listUserUnpinAsync(String id, String listId, ApiCallback<ListPinnedResponse> _callback) throws ApiException
Unpin a List (asynchronously) Causes a user to remove a pinned List.- Parameters:
id- The ID of the authenticated source user that will remove the pinned List (required)listId- The ID of the List to unpin (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
userFollowedListsCall
public okhttp3.Call userFollowedListsCall(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback _callback) throws ApiException
Build call for userFollowedLists- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
userFollowedLists
public MultiListResponse userFollowedLists(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get User's Followed Lists Returns a user's followed Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- MultiListResponse
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
userFollowedListsWithHttpInfo
public ApiResponse<MultiListResponse> userFollowedListsWithHttpInfo(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields) throws ApiException
Get User's Followed Lists Returns a user's followed Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)- Returns:
- ApiResponse<MultiListResponse>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
userFollowedListsAsync
public okhttp3.Call userFollowedListsAsync(String id, Integer maxResults, Long paginationToken, Set<String> listFields, Set<String> expansions, Set<String> userFields, ApiCallback<MultiListResponse> _callback) throws ApiException
Get User's Followed Lists (asynchronously) Returns a user's followed Lists.- Parameters:
id- The ID of the user for whom to return results (required)maxResults- The maximum number of results (optional, default to 100)paginationToken- This parameter is used to get a specified 'page' of results. (optional)listFields- A comma separated list of List fields to display. (optional)expansions- A comma separated list of fields to expand. (optional)userFields- A comma separated list of User fields to display. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object- Http Response Details:
Status Code Description Response Headers 200 The request was successful - 0 The request has failed. -
-
-