public class LeadsApi extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
LeadsGetResponse |
leadsGet(Long accountId,
TimeRange timeRange,
String positionType,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields)
获取销售线索(待废弃)
|
com.squareup.okhttp.Call |
leadsGetAsync(Long accountId,
TimeRange timeRange,
String positionType,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields,
ApiCallback<LeadsGetResponse> callback)
获取销售线索(待废弃) (asynchronously)
|
com.squareup.okhttp.Call |
leadsGetCall(Long accountId,
TimeRange timeRange,
String positionType,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for leadsGet
|
ApiResponse<LeadsGetResponse> |
leadsGetWithHttpInfo(Long accountId,
TimeRange timeRange,
String positionType,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields)
获取销售线索(待废弃)
|
void |
setApiClient(ApiClient apiClient) |
public LeadsApi()
public LeadsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call leadsGetCall(Long accountId, TimeRange timeRange, String positionType, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)timeRange - (required)positionType - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LeadsGetResponse leadsGet(Long accountId, TimeRange timeRange, String positionType, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)timeRange - (required)positionType - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<LeadsGetResponse> leadsGetWithHttpInfo(Long accountId, TimeRange timeRange, String positionType, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (required)timeRange - (required)positionType - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call leadsGetAsync(Long accountId, TimeRange timeRange, String positionType, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ApiCallback<LeadsGetResponse> callback) throws ApiException
accountId - (required)timeRange - (required)positionType - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2020. All rights reserved.