public class LabelApi extends Object
| Constructor and Description |
|---|
LabelApi() |
LabelApi(ApiClient apiClient) |
public LabelApi()
public LabelApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createManualLabelCall(ManualLabelCreateReq body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonLabelId createManualLabel(ManualLabelCreateReq body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonLabelId> createManualLabelWithHttpInfo(ManualLabelCreateReq body) throws ApiException
body - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createManualLabelAsync(ManualLabelCreateReq body, ApiCallback<CommonLabelId> callback) throws ApiException
body - (required)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 getHistoryDataCall(Integer id, String startDate, String endDate, Integer showNum, Long xTenant, String period, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - 标签id (required)startDate - 开始日期 (required)endDate - 结束日期 (required)showNum - 展示数量 (required)xTenant - 项目ID (required)period - 周期 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonListLabelResultData getHistoryData(Integer id, String startDate, String endDate, Integer showNum, Long xTenant, String period) throws ApiException
id - 标签id (required)startDate - 开始日期 (required)endDate - 结束日期 (required)showNum - 展示数量 (required)xTenant - 项目ID (required)period - 周期 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonListLabelResultData> getHistoryDataWithHttpInfo(Integer id, String startDate, String endDate, Integer showNum, Long xTenant, String period) throws ApiException
id - 标签id (required)startDate - 开始日期 (required)endDate - 结束日期 (required)showNum - 展示数量 (required)xTenant - 项目ID (required)period - 周期 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getHistoryDataAsync(Integer id, String startDate, String endDate, Integer showNum, Long xTenant, String period, ApiCallback<CommonListLabelResultData> callback) throws ApiException
id - 标签id (required)startDate - 开始日期 (required)endDate - 结束日期 (required)showNum - 展示数量 (required)xTenant - 项目ID (required)period - 周期 (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 getLabelDescCall(Integer id, Long xTenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - 标签ID (required)xTenant - 租户ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonResponseLabelMetaSimpleInfo getLabelDesc(Integer id, Long xTenant) throws ApiException
id - 标签ID (required)xTenant - 租户ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonResponseLabelMetaSimpleInfo> getLabelDescWithHttpInfo(Integer id, Long xTenant) throws ApiException
id - 标签ID (required)xTenant - 租户ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLabelDescAsync(Integer id, Long xTenant, ApiCallback<CommonResponseLabelMetaSimpleInfo> callback) throws ApiException
id - 标签ID (required)xTenant - 租户ID (required)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 getLabelTreeCall(Long xTenant, Integer subjectId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xTenant - 租户ID (required)subjectId - 主体ID (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonResponseListLabelTreeNode getLabelTree(Long xTenant, Integer subjectId) throws ApiException
xTenant - 租户ID (required)subjectId - 主体ID (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonResponseListLabelTreeNode> getLabelTreeWithHttpInfo(Long xTenant, Integer subjectId) throws ApiException
xTenant - 租户ID (required)subjectId - 主体ID (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLabelTreeAsync(Long xTenant, Integer subjectId, ApiCallback<CommonResponseListLabelTreeNode> callback) throws ApiException
xTenant - 租户ID (required)subjectId - 主体ID (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 getLabelsCall(Long xTenant, Integer subjectId, String type, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
xTenant - 项目ID (required)subjectId - (optional)type - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonListLabelMetaInfo getLabels(Long xTenant, Integer subjectId, String type) throws ApiException
xTenant - 项目ID (required)subjectId - (optional)type - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonListLabelMetaInfo> getLabelsWithHttpInfo(Long xTenant, Integer subjectId, String type) throws ApiException
xTenant - 项目ID (required)subjectId - (optional)type - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLabelsAsync(Long xTenant, Integer subjectId, String type, ApiCallback<CommonListLabelMetaInfo> callback) throws ApiException
xTenant - 项目ID (required)subjectId - (optional)type - (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 getLatestHistoryDataCall(Integer id, Integer showNum, Long xTenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
id - 标签id (required)showNum - 展示数量 (required)xTenant - 项目ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonLabelResultData getLatestHistoryData(Integer id, Integer showNum, Long xTenant) throws ApiException
id - 标签id (required)showNum - 展示数量 (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonLabelResultData> getLatestHistoryDataWithHttpInfo(Integer id, Integer showNum, Long xTenant) throws ApiException
id - 标签id (required)showNum - 展示数量 (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLatestHistoryDataAsync(Integer id, Integer showNum, Long xTenant, ApiCallback<CommonLabelResultData> callback) throws ApiException
id - 标签id (required)showNum - 展示数量 (required)xTenant - 项目ID (required)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 getOnlineTagsPropCall(String tenantCode, String infoType, Integer current, Integer pageSize, Integer idType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantCode - 租户ID (required)infoType - 查询类型取值:label、property、behavior、detail (required)current - 当前页 (optional)pageSize - 分页大小 (optional)idType - id类型 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonOnlineTagInfoResp getOnlineTagsProp(String tenantCode, String infoType, Integer current, Integer pageSize, Integer idType) throws ApiException
tenantCode - 租户ID (required)infoType - 查询类型取值:label、property、behavior、detail (required)current - 当前页 (optional)pageSize - 分页大小 (optional)idType - id类型 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonOnlineTagInfoResp> getOnlineTagsPropWithHttpInfo(String tenantCode, String infoType, Integer current, Integer pageSize, Integer idType) throws ApiException
tenantCode - 租户ID (required)infoType - 查询类型取值:label、property、behavior、detail (required)current - 当前页 (optional)pageSize - 分页大小 (optional)idType - id类型 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getOnlineTagsPropAsync(String tenantCode, String infoType, Integer current, Integer pageSize, Integer idType, ApiCallback<CommonOnlineTagInfoResp> callback) throws ApiException
tenantCode - 租户ID (required)infoType - 查询类型取值:label、property、behavior、detail (required)current - 当前页 (optional)pageSize - 分页大小 (optional)idType - id类型 (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 rerunLabelCall(RerunRequest body, Long xTenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)xTenant - 项目ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonBoolean rerunLabel(RerunRequest body, Long xTenant) throws ApiException
body - (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonBoolean> rerunLabelWithHttpInfo(RerunRequest body, Long xTenant) throws ApiException
body - (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call rerunLabelAsync(RerunRequest body, Long xTenant, ApiCallback<CommonBoolean> callback) throws ApiException
body - (required)xTenant - 项目ID (required)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 uploadLabelDataCall(File file, Long xTenant, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - (required)xTenant - 项目ID (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonDataModelId uploadLabelData(File file, Long xTenant) throws ApiException
file - (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonDataModelId> uploadLabelDataWithHttpInfo(File file, Long xTenant) throws ApiException
file - (required)xTenant - 项目ID (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadLabelDataAsync(File file, Long xTenant, ApiCallback<CommonDataModelId> callback) throws ApiException
file - (required)xTenant - 项目ID (required)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 © 2023. All rights reserved.