public class VideosApi extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
VideosAddResponse |
videosAdd(Long accountId,
File videoFile,
String signature,
String description,
Long adcreativeTemplateId)
添加视频文件
|
com.squareup.okhttp.Call |
videosAddAsync(Long accountId,
File videoFile,
String signature,
String description,
Long adcreativeTemplateId,
ApiCallback<VideosAddResponse> callback)
添加视频文件 (asynchronously)
|
com.squareup.okhttp.Call |
videosAddCall(Long accountId,
File videoFile,
String signature,
String description,
Long adcreativeTemplateId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for videosAdd
|
ApiResponse<VideosAddResponse> |
videosAddWithHttpInfo(Long accountId,
File videoFile,
String signature,
String description,
Long adcreativeTemplateId)
添加视频文件
|
VideosGetResponse |
videosGet(Long accountId,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields)
获取视频文件
|
com.squareup.okhttp.Call |
videosGetAsync(Long accountId,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields,
ApiCallback<VideosGetResponse> callback)
获取视频文件 (asynchronously)
|
com.squareup.okhttp.Call |
videosGetCall(Long accountId,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for videosGet
|
ApiResponse<VideosGetResponse> |
videosGetWithHttpInfo(Long accountId,
List<FilteringStruct> filtering,
Long page,
Long pageSize,
List<String> fields)
获取视频文件
|
public VideosApi()
public VideosApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call videosAddCall(Long accountId, File videoFile, String signature, String description, Long adcreativeTemplateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)videoFile - (required)signature - (required)description - (optional)adcreativeTemplateId - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic VideosAddResponse videosAdd(Long accountId, File videoFile, String signature, String description, Long adcreativeTemplateId) throws ApiException
accountId - (required)videoFile - (required)signature - (required)description - (optional)adcreativeTemplateId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic ApiResponse<VideosAddResponse> videosAddWithHttpInfo(Long accountId, File videoFile, String signature, String description, Long adcreativeTemplateId) throws ApiException
accountId - (required)videoFile - (required)signature - (required)description - (optional)adcreativeTemplateId - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the
response bodypublic com.squareup.okhttp.Call videosAddAsync(Long accountId, File videoFile, String signature, String description, Long adcreativeTemplateId, ApiCallback<VideosAddResponse> callback) throws ApiException
accountId - (required)videoFile - (required)signature - (required)description - (optional)adcreativeTemplateId - (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 objectpublic com.squareup.okhttp.Call videosGetCall(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
accountId - (required)filtering - (optional)page - (optional)pageSize - (optional)fields - 返回参数的字段列表 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic VideosGetResponse videosGet(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (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<VideosGetResponse> videosGetWithHttpInfo(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields) throws ApiException
accountId - (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 videosGetAsync(Long accountId, List<FilteringStruct> filtering, Long page, Long pageSize, List<String> fields, ApiCallback<VideosGetResponse> callback) throws ApiException
accountId - (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.