Class ListsApi.APIlistIdGetRequest

  • Enclosing class:
    ListsApi

    public class ListsApi.APIlistIdGetRequest
    extends Object
    • Method Detail

      • listFields

        public ListsApi.APIlistIdGetRequest listFields​(Set<String> listFields)
        Set listFields
        Parameters:
        listFields - A comma separated list of List fields to display. (optional)
        Returns:
        APIlistIdGetRequest
      • expansions

        public ListsApi.APIlistIdGetRequest expansions​(Set<String> expansions)
        Set expansions
        Parameters:
        expansions - A comma separated list of fields to expand. (optional)
        Returns:
        APIlistIdGetRequest
      • userFields

        public ListsApi.APIlistIdGetRequest userFields​(Set<String> userFields)
        Set userFields
        Parameters:
        userFields - A comma separated list of User fields to display. (optional)
        Returns:
        APIlistIdGetRequest
      • buildCall

        public okhttp3.Call buildCall​(ApiCallback _callback)
                               throws ApiException
        Build call for listIdGet
        Parameters:
        _callback - ApiCallback API callback
        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 has succeeded. -
        0 The request has failed. -
      • execute

        public Get2ListsIdResponse execute()
                                    throws ApiException
        Execute listIdGet request
        Returns:
        Get2ListsIdResponse
        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 has succeeded. -
        0 The request has failed. -
      • executeWithHttpInfo

        public ApiResponse<Get2ListsIdResponse> executeWithHttpInfo()
                                                             throws ApiException
        Execute listIdGet request with HTTP info returned
        Returns:
        ApiResponse<Get2ListsIdResponse>
        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 has succeeded. -
        0 The request has failed. -
      • executeAsync

        public okhttp3.Call executeAsync​(ApiCallback<Get2ListsIdResponse> _callback)
                                  throws ApiException
        Execute listIdGet request (asynchronously)
        Parameters:
        _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 has succeeded. -
        0 The request has failed. -