Class UsersApi

    • Constructor Detail

      • UsersApi

        public UsersApi()
    • Method Detail

      • findMyUserCall

        public okhttp3.Call findMyUserCall​(Set<String> expansions,
                                           Set<String> tweetFields,
                                           Set<String> userFields,
                                           ApiCallback _callback)
                                    throws ApiException
        Build call for findMyUser
        Parameters:
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findMyUser

        public SingleUserLookupResponse findMyUser​(Set<String> expansions,
                                                   Set<String> tweetFields,
                                                   Set<String> userFields)
                                            throws ApiException
        User lookup me This endpoint returns information about the requesting user.
        Parameters:
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        SingleUserLookupResponse
        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. -
      • findMyUserWithHttpInfo

        public ApiResponse<SingleUserLookupResponse> findMyUserWithHttpInfo​(Set<String> expansions,
                                                                            Set<String> tweetFields,
                                                                            Set<String> userFields)
                                                                     throws ApiException
        User lookup me This endpoint returns information about the requesting user.
        Parameters:
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<SingleUserLookupResponse>
        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. -
      • findMyUserAsync

        public okhttp3.Call findMyUserAsync​(Set<String> expansions,
                                            Set<String> tweetFields,
                                            Set<String> userFields,
                                            ApiCallback<SingleUserLookupResponse> _callback)
                                     throws ApiException
        User lookup me (asynchronously) This endpoint returns information about the requesting user.
        Parameters:
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUserByIdCall

        public okhttp3.Call findUserByIdCall​(String id,
                                             Set<String> expansions,
                                             Set<String> tweetFields,
                                             Set<String> userFields,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for findUserById
        Parameters:
        id - Required. A User ID. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUserById

        public SingleUserLookupResponse findUserById​(String id,
                                                     Set<String> expansions,
                                                     Set<String> tweetFields,
                                                     Set<String> userFields)
                                              throws ApiException
        User lookup by ID This endpoint returns information about a user. Specify user by ID.
        Parameters:
        id - Required. A User ID. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        SingleUserLookupResponse
        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. -
      • findUserByIdWithHttpInfo

        public ApiResponse<SingleUserLookupResponse> findUserByIdWithHttpInfo​(String id,
                                                                              Set<String> expansions,
                                                                              Set<String> tweetFields,
                                                                              Set<String> userFields)
                                                                       throws ApiException
        User lookup by ID This endpoint returns information about a user. Specify user by ID.
        Parameters:
        id - Required. A User ID. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<SingleUserLookupResponse>
        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. -
      • findUserByIdAsync

        public okhttp3.Call findUserByIdAsync​(String id,
                                              Set<String> expansions,
                                              Set<String> tweetFields,
                                              Set<String> userFields,
                                              ApiCallback<SingleUserLookupResponse> _callback)
                                       throws ApiException
        User lookup by ID (asynchronously) This endpoint returns information about a user. Specify user by ID.
        Parameters:
        id - Required. A User ID. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUserByUsernameCall

        public okhttp3.Call findUserByUsernameCall​(String username,
                                                   Set<String> expansions,
                                                   Set<String> tweetFields,
                                                   Set<String> userFields,
                                                   ApiCallback _callback)
                                            throws ApiException
        Build call for findUserByUsername
        Parameters:
        username - Required. A username. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUserByUsername

        public SingleUserLookupResponse findUserByUsername​(String username,
                                                           Set<String> expansions,
                                                           Set<String> tweetFields,
                                                           Set<String> userFields)
                                                    throws ApiException
        User lookup by username This endpoint returns information about a user. Specify user by username.
        Parameters:
        username - Required. A username. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        SingleUserLookupResponse
        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. -
      • findUserByUsernameWithHttpInfo

        public ApiResponse<SingleUserLookupResponse> findUserByUsernameWithHttpInfo​(String username,
                                                                                    Set<String> expansions,
                                                                                    Set<String> tweetFields,
                                                                                    Set<String> userFields)
                                                                             throws ApiException
        User lookup by username This endpoint returns information about a user. Specify user by username.
        Parameters:
        username - Required. A username. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<SingleUserLookupResponse>
        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. -
      • findUserByUsernameAsync

        public okhttp3.Call findUserByUsernameAsync​(String username,
                                                    Set<String> expansions,
                                                    Set<String> tweetFields,
                                                    Set<String> userFields,
                                                    ApiCallback<SingleUserLookupResponse> _callback)
                                             throws ApiException
        User lookup by username (asynchronously) This endpoint returns information about a user. Specify user by username.
        Parameters:
        username - Required. A username. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUsersByIdCall

        public okhttp3.Call findUsersByIdCall​(List<String> ids,
                                              Set<String> expansions,
                                              Set<String> tweetFields,
                                              Set<String> userFields,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for findUsersById
        Parameters:
        ids - Required. A list of User IDs, comma-separated. You can specify up to 100 IDs. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUsersById

        public MultiUserLookupResponse findUsersById​(List<String> ids,
                                                     Set<String> expansions,
                                                     Set<String> tweetFields,
                                                     Set<String> userFields)
                                              throws ApiException
        User lookup by IDs This endpoint returns information about users. Specify users by their ID.
        Parameters:
        ids - Required. A list of User IDs, comma-separated. You can specify up to 100 IDs. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        MultiUserLookupResponse
        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. -
      • findUsersByIdWithHttpInfo

        public ApiResponse<MultiUserLookupResponse> findUsersByIdWithHttpInfo​(List<String> ids,
                                                                              Set<String> expansions,
                                                                              Set<String> tweetFields,
                                                                              Set<String> userFields)
                                                                       throws ApiException
        User lookup by IDs This endpoint returns information about users. Specify users by their ID.
        Parameters:
        ids - Required. A list of User IDs, comma-separated. You can specify up to 100 IDs. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<MultiUserLookupResponse>
        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. -
      • findUsersByIdAsync

        public okhttp3.Call findUsersByIdAsync​(List<String> ids,
                                               Set<String> expansions,
                                               Set<String> tweetFields,
                                               Set<String> userFields,
                                               ApiCallback<MultiUserLookupResponse> _callback)
                                        throws ApiException
        User lookup by IDs (asynchronously) This endpoint returns information about users. Specify users by their ID.
        Parameters:
        ids - Required. A list of User IDs, comma-separated. You can specify up to 100 IDs. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUsersByUsernameCall

        public okhttp3.Call findUsersByUsernameCall​(List<String> usernames,
                                                    Set<String> expansions,
                                                    Set<String> tweetFields,
                                                    Set<String> userFields,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for findUsersByUsername
        Parameters:
        usernames - Required . A list of usernames, comma-separated. You can specify up to 100 usernames. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • findUsersByUsername

        public MultiUserLookupResponse findUsersByUsername​(List<String> usernames,
                                                           Set<String> expansions,
                                                           Set<String> tweetFields,
                                                           Set<String> userFields)
                                                    throws ApiException
        User lookup by usernames This endpoint returns information about users. Specify users by their username.
        Parameters:
        usernames - Required . A list of usernames, comma-separated. You can specify up to 100 usernames. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        MultiUserLookupResponse
        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. -
      • findUsersByUsernameWithHttpInfo

        public ApiResponse<MultiUserLookupResponse> findUsersByUsernameWithHttpInfo​(List<String> usernames,
                                                                                    Set<String> expansions,
                                                                                    Set<String> tweetFields,
                                                                                    Set<String> userFields)
                                                                             throws ApiException
        User lookup by usernames This endpoint returns information about users. Specify users by their username.
        Parameters:
        usernames - Required . A list of usernames, comma-separated. You can specify up to 100 usernames. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<MultiUserLookupResponse>
        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. -
      • findUsersByUsernameAsync

        public okhttp3.Call findUsersByUsernameAsync​(List<String> usernames,
                                                     Set<String> expansions,
                                                     Set<String> tweetFields,
                                                     Set<String> userFields,
                                                     ApiCallback<MultiUserLookupResponse> _callback)
                                              throws ApiException
        User lookup by usernames (asynchronously) This endpoint returns information about users. Specify users by their username.
        Parameters:
        usernames - Required . A list of usernames, comma-separated. You can specify up to 100 usernames. (required)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • listGetFollowersCall

        public okhttp3.Call listGetFollowersCall​(String id,
                                                 Integer maxResults,
                                                 Long paginationToken,
                                                 Set<String> expansions,
                                                 Set<String> tweetFields,
                                                 Set<String> userFields,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for listGetFollowers
        Parameters:
        id - The ID of the List for which to return followers (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • listGetFollowers

        public ListLookupMultipleUsersLookupResponse listGetFollowers​(String id,
                                                                      Integer maxResults,
                                                                      Long paginationToken,
                                                                      Set<String> expansions,
                                                                      Set<String> tweetFields,
                                                                      Set<String> userFields)
                                                               throws ApiException
        Returns user objects that follow a List by the provided List ID Returns a list of users that follow a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return followers (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ListLookupMultipleUsersLookupResponse
        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. -
      • listGetFollowersWithHttpInfo

        public ApiResponse<ListLookupMultipleUsersLookupResponse> listGetFollowersWithHttpInfo​(String id,
                                                                                               Integer maxResults,
                                                                                               Long paginationToken,
                                                                                               Set<String> expansions,
                                                                                               Set<String> tweetFields,
                                                                                               Set<String> userFields)
                                                                                        throws ApiException
        Returns user objects that follow a List by the provided List ID Returns a list of users that follow a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return followers (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<ListLookupMultipleUsersLookupResponse>
        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. -
      • listGetFollowersAsync

        public okhttp3.Call listGetFollowersAsync​(String id,
                                                  Integer maxResults,
                                                  Long paginationToken,
                                                  Set<String> expansions,
                                                  Set<String> tweetFields,
                                                  Set<String> userFields,
                                                  ApiCallback<ListLookupMultipleUsersLookupResponse> _callback)
                                           throws ApiException
        Returns user objects that follow a List by the provided List ID (asynchronously) Returns a list of users that follow a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return followers (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • listGetMembersCall

        public okhttp3.Call listGetMembersCall​(String id,
                                               Integer maxResults,
                                               Long paginationToken,
                                               Set<String> expansions,
                                               Set<String> tweetFields,
                                               Set<String> userFields,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for listGetMembers
        Parameters:
        id - The ID of the List for which to return members (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • listGetMembers

        public ListLookupMultipleUsersLookupResponse listGetMembers​(String id,
                                                                    Integer maxResults,
                                                                    Long paginationToken,
                                                                    Set<String> expansions,
                                                                    Set<String> tweetFields,
                                                                    Set<String> userFields)
                                                             throws ApiException
        Returns user objects that are members of a List by the provided List ID Returns a list of users that are members of a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return members (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ListLookupMultipleUsersLookupResponse
        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. -
      • listGetMembersWithHttpInfo

        public ApiResponse<ListLookupMultipleUsersLookupResponse> listGetMembersWithHttpInfo​(String id,
                                                                                             Integer maxResults,
                                                                                             Long paginationToken,
                                                                                             Set<String> expansions,
                                                                                             Set<String> tweetFields,
                                                                                             Set<String> userFields)
                                                                                      throws ApiException
        Returns user objects that are members of a List by the provided List ID Returns a list of users that are members of a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return members (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (optional)
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        ApiResponse<ListLookupMultipleUsersLookupResponse>
        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. -
      • listGetMembersAsync

        public okhttp3.Call listGetMembersAsync​(String id,
                                                Integer maxResults,
                                                Long paginationToken,
                                                Set<String> expansions,
                                                Set<String> tweetFields,
                                                Set<String> userFields,
                                                ApiCallback<ListLookupMultipleUsersLookupResponse> _callback)
                                         throws ApiException
        Returns user objects that are members of a List by the provided List ID (asynchronously) Returns a list of users that are members of a List by the provided List ID
        Parameters:
        id - The ID of the List for which to return members (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get a specified 'page' of results. (optional)
        expansions - A comma separated list of fields to expand. (optional)
        tweetFields - A comma separated list of Tweet fields to display. (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. -
      • tweetsIdLikingUsersCall

        public okhttp3.Call tweetsIdLikingUsersCall​(String id,
                                                    Integer maxResults,
                                                    String paginationToken,
                                                    ApiCallback _callback)
                                             throws ApiException
        Build call for tweetsIdLikingUsers
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (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. -
      • tweetsIdLikingUsers

        public GenericMultipleUsersLookupResponse tweetsIdLikingUsers​(String id,
                                                                      Integer maxResults,
                                                                      String paginationToken)
                                                               throws ApiException
        Returns user objects that have liked the provided Tweet ID Returns a list of users that have liked the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (optional)
        Returns:
        GenericMultipleUsersLookupResponse
        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. -
      • tweetsIdLikingUsersWithHttpInfo

        public ApiResponse<GenericMultipleUsersLookupResponse> tweetsIdLikingUsersWithHttpInfo​(String id,
                                                                                               Integer maxResults,
                                                                                               String paginationToken)
                                                                                        throws ApiException
        Returns user objects that have liked the provided Tweet ID Returns a list of users that have liked the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (optional)
        Returns:
        ApiResponse<GenericMultipleUsersLookupResponse>
        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. -
      • tweetsIdLikingUsersAsync

        public okhttp3.Call tweetsIdLikingUsersAsync​(String id,
                                                     Integer maxResults,
                                                     String paginationToken,
                                                     ApiCallback<GenericMultipleUsersLookupResponse> _callback)
                                              throws ApiException
        Returns user objects that have liked the provided Tweet ID (asynchronously) Returns a list of users that have liked the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (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. -
      • tweetsIdRetweetingUsersCall

        public okhttp3.Call tweetsIdRetweetingUsersCall​(String id,
                                                        Integer maxResults,
                                                        String paginationToken,
                                                        ApiCallback _callback)
                                                 throws ApiException
        Build call for tweetsIdRetweetingUsers
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (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. -
      • tweetsIdRetweetingUsers

        public GenericMultipleUsersLookupResponse tweetsIdRetweetingUsers​(String id,
                                                                          Integer maxResults,
                                                                          String paginationToken)
                                                                   throws ApiException
        Returns user objects that have retweeted the provided Tweet ID Returns a list of users that have retweeted the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (optional)
        Returns:
        GenericMultipleUsersLookupResponse
        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. -
      • tweetsIdRetweetingUsersWithHttpInfo

        public ApiResponse<GenericMultipleUsersLookupResponse> tweetsIdRetweetingUsersWithHttpInfo​(String id,
                                                                                                   Integer maxResults,
                                                                                                   String paginationToken)
                                                                                            throws ApiException
        Returns user objects that have retweeted the provided Tweet ID Returns a list of users that have retweeted the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (optional)
        Returns:
        ApiResponse<GenericMultipleUsersLookupResponse>
        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. -
      • tweetsIdRetweetingUsersAsync

        public okhttp3.Call tweetsIdRetweetingUsersAsync​(String id,
                                                         Integer maxResults,
                                                         String paginationToken,
                                                         ApiCallback<GenericMultipleUsersLookupResponse> _callback)
                                                  throws ApiException
        Returns user objects that have retweeted the provided Tweet ID (asynchronously) Returns a list of users that have retweeted the provided Tweet ID
        Parameters:
        id - The ID of the Tweet for which to return results (required)
        maxResults - The maximum number of results (optional, default to 100)
        paginationToken - This parameter is used to get the next 'page' of results. (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. -
      • usersIdBlockCall

        public okhttp3.Call usersIdBlockCall​(UsersIdBlockRequest usersIdBlockRequest,
                                             String id,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for usersIdBlock
        Parameters:
        usersIdBlockRequest - (optional)
        id - The ID of the user that is requesting to block the target user (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. -
      • usersIdBlock

        public UsersBlockingMutationResponse usersIdBlock​(UsersIdBlockRequest usersIdBlockRequest,
                                                          String id)
                                                   throws ApiException
        Block User by User ID Causes the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdBlockRequest - (optional)
        id - The ID of the user that is requesting to block the target user (required)
        Returns:
        UsersBlockingMutationResponse
        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. -
      • usersIdBlockWithHttpInfo

        public ApiResponse<UsersBlockingMutationResponse> usersIdBlockWithHttpInfo​(UsersIdBlockRequest usersIdBlockRequest,
                                                                                   String id)
                                                                            throws ApiException
        Block User by User ID Causes the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdBlockRequest - (optional)
        id - The ID of the user that is requesting to block the target user (required)
        Returns:
        ApiResponse<UsersBlockingMutationResponse>
        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. -
      • usersIdBlockAsync

        public okhttp3.Call usersIdBlockAsync​(UsersIdBlockRequest usersIdBlockRequest,
                                              String id,
                                              ApiCallback<UsersBlockingMutationResponse> _callback)
                                       throws ApiException
        Block User by User ID (asynchronously) Causes the user (in the path) to block the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdBlockRequest - (optional)
        id - The ID of the user that is requesting to block the target user (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. -
      • usersIdBlockingCall

        public okhttp3.Call usersIdBlockingCall​(String id,
                                                Integer maxResults,
                                                String paginationToken,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for usersIdBlocking
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdBlocking

        public GenericMultipleUsersLookupResponse usersIdBlocking​(String id,
                                                                  Integer maxResults,
                                                                  String paginationToken)
                                                           throws ApiException
        Returns user objects that are blocked by provided user ID Returns a list of users that are blocked by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        GenericMultipleUsersLookupResponse
        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. -
      • usersIdBlockingWithHttpInfo

        public ApiResponse<GenericMultipleUsersLookupResponse> usersIdBlockingWithHttpInfo​(String id,
                                                                                           Integer maxResults,
                                                                                           String paginationToken)
                                                                                    throws ApiException
        Returns user objects that are blocked by provided user ID Returns a list of users that are blocked by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        ApiResponse<GenericMultipleUsersLookupResponse>
        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. -
      • usersIdBlockingAsync

        public okhttp3.Call usersIdBlockingAsync​(String id,
                                                 Integer maxResults,
                                                 String paginationToken,
                                                 ApiCallback<GenericMultipleUsersLookupResponse> _callback)
                                          throws ApiException
        Returns user objects that are blocked by provided user ID (asynchronously) Returns a list of users that are blocked by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdFollowCall

        public okhttp3.Call usersIdFollowCall​(UsersIdFollowRequest usersIdFollowRequest,
                                              String id,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for usersIdFollow
        Parameters:
        usersIdFollowRequest - (optional)
        id - The ID of the user that is requesting to follow the target user (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. -
      • usersIdFollow

        public UsersFollowingCreateResponse usersIdFollow​(UsersIdFollowRequest usersIdFollowRequest,
                                                          String id)
                                                   throws ApiException
        Follow User Causes the user(in the path) to follow, or “request to follow” for protected users, the target user. The user(in the path) must match the user context authorizing the request
        Parameters:
        usersIdFollowRequest - (optional)
        id - The ID of the user that is requesting to follow the target user (required)
        Returns:
        UsersFollowingCreateResponse
        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. -
      • usersIdFollowWithHttpInfo

        public ApiResponse<UsersFollowingCreateResponse> usersIdFollowWithHttpInfo​(UsersIdFollowRequest usersIdFollowRequest,
                                                                                   String id)
                                                                            throws ApiException
        Follow User Causes the user(in the path) to follow, or “request to follow” for protected users, the target user. The user(in the path) must match the user context authorizing the request
        Parameters:
        usersIdFollowRequest - (optional)
        id - The ID of the user that is requesting to follow the target user (required)
        Returns:
        ApiResponse<UsersFollowingCreateResponse>
        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. -
      • usersIdFollowAsync

        public okhttp3.Call usersIdFollowAsync​(UsersIdFollowRequest usersIdFollowRequest,
                                               String id,
                                               ApiCallback<UsersFollowingCreateResponse> _callback)
                                        throws ApiException
        Follow User (asynchronously) Causes the user(in the path) to follow, or “request to follow” for protected users, the target user. The user(in the path) must match the user context authorizing the request
        Parameters:
        usersIdFollowRequest - (optional)
        id - The ID of the user that is requesting to follow the target user (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. -
      • usersIdFollowersCall

        public okhttp3.Call usersIdFollowersCall​(String id,
                                                 Integer maxResults,
                                                 String paginationToken,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for usersIdFollowers
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdFollowers

        public GenericMultipleUsersLookupResponse usersIdFollowers​(String id,
                                                                   Integer maxResults,
                                                                   String paginationToken)
                                                            throws ApiException
        Returns user objects that follow the provided user ID Returns a list of users that follow the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        GenericMultipleUsersLookupResponse
        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. -
      • usersIdFollowersWithHttpInfo

        public ApiResponse<GenericMultipleUsersLookupResponse> usersIdFollowersWithHttpInfo​(String id,
                                                                                            Integer maxResults,
                                                                                            String paginationToken)
                                                                                     throws ApiException
        Returns user objects that follow the provided user ID Returns a list of users that follow the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        ApiResponse<GenericMultipleUsersLookupResponse>
        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. -
      • usersIdFollowersAsync

        public okhttp3.Call usersIdFollowersAsync​(String id,
                                                  Integer maxResults,
                                                  String paginationToken,
                                                  ApiCallback<GenericMultipleUsersLookupResponse> _callback)
                                           throws ApiException
        Returns user objects that follow the provided user ID (asynchronously) Returns a list of users that follow the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdFollowingCall

        public okhttp3.Call usersIdFollowingCall​(String id,
                                                 Integer maxResults,
                                                 String paginationToken,
                                                 ApiCallback _callback)
                                          throws ApiException
        Build call for usersIdFollowing
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdFollowing

        public UsersFollowingLookupResponse usersIdFollowing​(String id,
                                                             Integer maxResults,
                                                             String paginationToken)
                                                      throws ApiException
        Following by User ID Returns a list of users that are being followed by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        UsersFollowingLookupResponse
        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. -
      • usersIdFollowingWithHttpInfo

        public ApiResponse<UsersFollowingLookupResponse> usersIdFollowingWithHttpInfo​(String id,
                                                                                      Integer maxResults,
                                                                                      String paginationToken)
                                                                               throws ApiException
        Following by User ID Returns a list of users that are being followed by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (optional)
        Returns:
        ApiResponse<UsersFollowingLookupResponse>
        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. -
      • usersIdFollowingAsync

        public okhttp3.Call usersIdFollowingAsync​(String id,
                                                  Integer maxResults,
                                                  String paginationToken,
                                                  ApiCallback<UsersFollowingLookupResponse> _callback)
                                           throws ApiException
        Following by User ID (asynchronously) Returns a list of users that are being followed by the provided user ID
        Parameters:
        id - The ID of the user for whom to return results (required)
        maxResults - The maximum number of results (optional)
        paginationToken - This value is populated by passing the 'next_token' or 'previous_token' returned in a request to paginate through results. (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. -
      • usersIdMuteCall

        public okhttp3.Call usersIdMuteCall​(UsersIdMuteRequest usersIdMuteRequest,
                                            String id,
                                            ApiCallback _callback)
                                     throws ApiException
        Build call for usersIdMute
        Parameters:
        usersIdMuteRequest - (optional)
        id - The ID of the user that is requesting to mute the target user (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. -
      • usersIdMute

        public UsersMutingMutationResponse usersIdMute​(UsersIdMuteRequest usersIdMuteRequest,
                                                       String id)
                                                throws ApiException
        Mute User by User ID Causes the user (in the path) to mute the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdMuteRequest - (optional)
        id - The ID of the user that is requesting to mute the target user (required)
        Returns:
        UsersMutingMutationResponse
        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. -
      • usersIdMuteWithHttpInfo

        public ApiResponse<UsersMutingMutationResponse> usersIdMuteWithHttpInfo​(UsersIdMuteRequest usersIdMuteRequest,
                                                                                String id)
                                                                         throws ApiException
        Mute User by User ID Causes the user (in the path) to mute the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdMuteRequest - (optional)
        id - The ID of the user that is requesting to mute the target user (required)
        Returns:
        ApiResponse<UsersMutingMutationResponse>
        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. -
      • usersIdMuteAsync

        public okhttp3.Call usersIdMuteAsync​(UsersIdMuteRequest usersIdMuteRequest,
                                             String id,
                                             ApiCallback<UsersMutingMutationResponse> _callback)
                                      throws ApiException
        Mute User by User ID (asynchronously) Causes the user (in the path) to mute the target user. The user (in the path) must match the user context authorizing the request
        Parameters:
        usersIdMuteRequest - (optional)
        id - The ID of the user that is requesting to mute the target user (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. -
      • usersIdMutingCall

        public okhttp3.Call usersIdMutingCall​(String id,
                                              Integer maxResults,
                                              String paginationToken,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for usersIdMuting
        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 the next 'page' of results. (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. -
      • usersIdMuting

        public GenericMultipleUsersLookupResponse usersIdMuting​(String id,
                                                                Integer maxResults,
                                                                String paginationToken)
                                                         throws ApiException
        Returns user objects that are muted by the provided user ID Returns a list of users that are muted by the provided user ID
        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 the next 'page' of results. (optional)
        Returns:
        GenericMultipleUsersLookupResponse
        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. -
      • usersIdMutingWithHttpInfo

        public ApiResponse<GenericMultipleUsersLookupResponse> usersIdMutingWithHttpInfo​(String id,
                                                                                         Integer maxResults,
                                                                                         String paginationToken)
                                                                                  throws ApiException
        Returns user objects that are muted by the provided user ID Returns a list of users that are muted by the provided user ID
        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 the next 'page' of results. (optional)
        Returns:
        ApiResponse<GenericMultipleUsersLookupResponse>
        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. -
      • usersIdMutingAsync

        public okhttp3.Call usersIdMutingAsync​(String id,
                                               Integer maxResults,
                                               String paginationToken,
                                               ApiCallback<GenericMultipleUsersLookupResponse> _callback)
                                        throws ApiException
        Returns user objects that are muted by the provided user ID (asynchronously) Returns a list of users that are muted by the provided user ID
        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 the next 'page' of results. (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. -
      • usersIdUnblockCall

        public okhttp3.Call usersIdUnblockCall​(String sourceUserId,
                                               String targetUserId,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for usersIdUnblock
        Parameters:
        sourceUserId - The ID of the user that is requesting to unblock the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unblock (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. -
      • usersIdUnblock

        public UsersBlockingMutationResponse usersIdUnblock​(String sourceUserId,
                                                            String targetUserId)
                                                     throws ApiException
        Unblock User by User ID Causes the source user to unblock the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unblock the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unblock (required)
        Returns:
        UsersBlockingMutationResponse
        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. -
      • usersIdUnblockWithHttpInfo

        public ApiResponse<UsersBlockingMutationResponse> usersIdUnblockWithHttpInfo​(String sourceUserId,
                                                                                     String targetUserId)
                                                                              throws ApiException
        Unblock User by User ID Causes the source user to unblock the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unblock the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unblock (required)
        Returns:
        ApiResponse<UsersBlockingMutationResponse>
        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. -
      • usersIdUnblockAsync

        public okhttp3.Call usersIdUnblockAsync​(String sourceUserId,
                                                String targetUserId,
                                                ApiCallback<UsersBlockingMutationResponse> _callback)
                                         throws ApiException
        Unblock User by User ID (asynchronously) Causes the source user to unblock the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unblock the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unblock (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. -
      • usersIdUnfollowCall

        public okhttp3.Call usersIdUnfollowCall​(String sourceUserId,
                                                String targetUserId,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for usersIdUnfollow
        Parameters:
        sourceUserId - The ID of the user that is requesting to unfollow the target user (required)
        targetUserId - The ID of the user that the source user is requesting 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. -
      • usersIdUnfollow

        public UsersFollowingDeleteResponse usersIdUnfollow​(String sourceUserId,
                                                            String targetUserId)
                                                     throws ApiException
        Unfollow User Causes the source user to unfollow the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unfollow the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unfollow (required)
        Returns:
        UsersFollowingDeleteResponse
        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. -
      • usersIdUnfollowWithHttpInfo

        public ApiResponse<UsersFollowingDeleteResponse> usersIdUnfollowWithHttpInfo​(String sourceUserId,
                                                                                     String targetUserId)
                                                                              throws ApiException
        Unfollow User Causes the source user to unfollow the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unfollow the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unfollow (required)
        Returns:
        ApiResponse<UsersFollowingDeleteResponse>
        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. -
      • usersIdUnfollowAsync

        public okhttp3.Call usersIdUnfollowAsync​(String sourceUserId,
                                                 String targetUserId,
                                                 ApiCallback<UsersFollowingDeleteResponse> _callback)
                                          throws ApiException
        Unfollow User (asynchronously) Causes the source user to unfollow the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unfollow the target user (required)
        targetUserId - The ID of the user that the source user is requesting 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. -
      • usersIdUnmuteCall

        public okhttp3.Call usersIdUnmuteCall​(String sourceUserId,
                                              String targetUserId,
                                              ApiCallback _callback)
                                       throws ApiException
        Build call for usersIdUnmute
        Parameters:
        sourceUserId - The ID of the user that is requesting to unmute the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unmute (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. -
      • usersIdUnmute

        public UsersMutingMutationResponse usersIdUnmute​(String sourceUserId,
                                                         String targetUserId)
                                                  throws ApiException
        Unmute User by User ID Causes the source user to unmute the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unmute the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unmute (required)
        Returns:
        UsersMutingMutationResponse
        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. -
      • usersIdUnmuteWithHttpInfo

        public ApiResponse<UsersMutingMutationResponse> usersIdUnmuteWithHttpInfo​(String sourceUserId,
                                                                                  String targetUserId)
                                                                           throws ApiException
        Unmute User by User ID Causes the source user to unmute the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unmute the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unmute (required)
        Returns:
        ApiResponse<UsersMutingMutationResponse>
        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. -
      • usersIdUnmuteAsync

        public okhttp3.Call usersIdUnmuteAsync​(String sourceUserId,
                                               String targetUserId,
                                               ApiCallback<UsersMutingMutationResponse> _callback)
                                        throws ApiException
        Unmute User by User ID (asynchronously) Causes the source user to unmute the target user. The source user must match the user context authorizing the request
        Parameters:
        sourceUserId - The ID of the user that is requesting to unmute the target user (required)
        targetUserId - The ID of the user that the source user is requesting to unmute (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. -