public class SegmentationApi extends Object
| Constructor and Description |
|---|
SegmentationApi() |
SegmentationApi(ApiClient apiClient) |
public SegmentationApi()
public SegmentationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call downloadSegFileCall(Integer tenantId, Integer segId, String formatType, Boolean needEncrypt, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)segId - (required)formatType - 文件格式,GZ, TXT, CSV 可选 (required)needEncrypt - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic File downloadSegFile(Integer tenantId, Integer segId, String formatType, Boolean needEncrypt) throws ApiException
tenantId - (required)segId - (required)formatType - 文件格式,GZ, TXT, CSV 可选 (required)needEncrypt - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> downloadSegFileWithHttpInfo(Integer tenantId, Integer segId, String formatType, Boolean needEncrypt) throws ApiException
tenantId - (required)segId - (required)formatType - 文件格式,GZ, TXT, CSV 可选 (required)needEncrypt - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call downloadSegFileAsync(Integer tenantId, Integer segId, String formatType, Boolean needEncrypt, ApiCallback<File> callback) throws ApiException
tenantId - (required)segId - (required)formatType - 文件格式,GZ, TXT, CSV 可选 (required)needEncrypt - (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 legacyCreateUploadSegmentCall(LegacyUploadedSegCreateRequest body, Integer tenantId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)tenantId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseRecordSegShardInfoResp legacyCreateUploadSegment(LegacyUploadedSegCreateRequest body, Integer tenantId) throws ApiException
body - (required)tenantId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseRecordSegShardInfoResp> legacyCreateUploadSegmentWithHttpInfo(LegacyUploadedSegCreateRequest body, Integer tenantId) throws ApiException
body - (required)tenantId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call legacyCreateUploadSegmentAsync(LegacyUploadedSegCreateRequest body, Integer tenantId, ApiCallback<ByteDanceResponseRecordSegShardInfoResp> callback) throws ApiException
body - (required)tenantId - (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 legacyGetSegmentCall(Integer tenantId, Integer segId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)segId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationResp legacyGetSegment(Integer tenantId, Integer segId) throws ApiException
tenantId - (required)segId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationResp> legacyGetSegmentWithHttpInfo(Integer tenantId, Integer segId) throws ApiException
tenantId - (required)segId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call legacyGetSegmentAsync(Integer tenantId, Integer segId, ApiCallback<ByteDanceResponseSegmentationResp> callback) throws ApiException
tenantId - (required)segId - (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 legacyGetSegmentListCall(Integer tenantId, Integer current, Integer pageSize, String keyword, Boolean isSelfSee, Boolean isOnlySourceReady, String idType, String segTypes, String sourcePlatform, Boolean isAbaseAvailable, Boolean isAbaseEnabled, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)current - 页码 (optional)pageSize - 每页大小 (optional)keyword - 关键词,模糊搜索分群名称和创建人 (optional)isSelfSee - 是否只看自己创建的 (optional)isOnlySourceReady - 是否分群就绪的(文件+洞察) (optional)idType - 实体类型code (optional)segTypes - 分群类型,逗号分隔,多选 (optional)sourcePlatform - 来源平台 (optional)isAbaseAvailable - 筛选在线服务是否可用 (optional)isAbaseEnabled - 筛选在线服务配置开启 (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationListResp legacyGetSegmentList(Integer tenantId, Integer current, Integer pageSize, String keyword, Boolean isSelfSee, Boolean isOnlySourceReady, String idType, String segTypes, String sourcePlatform, Boolean isAbaseAvailable, Boolean isAbaseEnabled) throws ApiException
tenantId - (required)current - 页码 (optional)pageSize - 每页大小 (optional)keyword - 关键词,模糊搜索分群名称和创建人 (optional)isSelfSee - 是否只看自己创建的 (optional)isOnlySourceReady - 是否分群就绪的(文件+洞察) (optional)idType - 实体类型code (optional)segTypes - 分群类型,逗号分隔,多选 (optional)sourcePlatform - 来源平台 (optional)isAbaseAvailable - 筛选在线服务是否可用 (optional)isAbaseEnabled - 筛选在线服务配置开启 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationListResp> legacyGetSegmentListWithHttpInfo(Integer tenantId, Integer current, Integer pageSize, String keyword, Boolean isSelfSee, Boolean isOnlySourceReady, String idType, String segTypes, String sourcePlatform, Boolean isAbaseAvailable, Boolean isAbaseEnabled) throws ApiException
tenantId - (required)current - 页码 (optional)pageSize - 每页大小 (optional)keyword - 关键词,模糊搜索分群名称和创建人 (optional)isSelfSee - 是否只看自己创建的 (optional)isOnlySourceReady - 是否分群就绪的(文件+洞察) (optional)idType - 实体类型code (optional)segTypes - 分群类型,逗号分隔,多选 (optional)sourcePlatform - 来源平台 (optional)isAbaseAvailable - 筛选在线服务是否可用 (optional)isAbaseEnabled - 筛选在线服务配置开启 (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call legacyGetSegmentListAsync(Integer tenantId, Integer current, Integer pageSize, String keyword, Boolean isSelfSee, Boolean isOnlySourceReady, String idType, String segTypes, String sourcePlatform, Boolean isAbaseAvailable, Boolean isAbaseEnabled, ApiCallback<ByteDanceResponseSegmentationListResp> callback) throws ApiException
tenantId - (required)current - 页码 (optional)pageSize - 每页大小 (optional)keyword - 关键词,模糊搜索分群名称和创建人 (optional)isSelfSee - 是否只看自己创建的 (optional)isOnlySourceReady - 是否分群就绪的(文件+洞察) (optional)idType - 实体类型code (optional)segTypes - 分群类型,逗号分隔,多选 (optional)sourcePlatform - 来源平台 (optional)isAbaseAvailable - 筛选在线服务是否可用 (optional)isAbaseEnabled - 筛选在线服务配置开启 (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 segmentOnlineServiceEnableCall(ByteDanceResponseSegmentationOnlineServiceEnableReq body, Integer tenantId, Integer segId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - (required)tenantId - (required)segId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationOnlineServiceEnableResp segmentOnlineServiceEnable(ByteDanceResponseSegmentationOnlineServiceEnableReq body, Integer tenantId, Integer segId) throws ApiException
body - (required)tenantId - (required)segId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationOnlineServiceEnableResp> segmentOnlineServiceEnableWithHttpInfo(ByteDanceResponseSegmentationOnlineServiceEnableReq body, Integer tenantId, Integer segId) throws ApiException
body - (required)tenantId - (required)segId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call segmentOnlineServiceEnableAsync(ByteDanceResponseSegmentationOnlineServiceEnableReq body, Integer tenantId, Integer segId, ApiCallback<ByteDanceResponseSegmentationOnlineServiceEnableResp> callback) throws ApiException
body - (required)tenantId - (required)segId - (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 uploadSegFileCall(File file, Integer tenantId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - (required)tenantId - (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationUploadResp uploadSegFile(File file, Integer tenantId) throws ApiException
file - (required)tenantId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationUploadResp> uploadSegFileWithHttpInfo(File file, Integer tenantId) throws ApiException
file - (required)tenantId - (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call uploadSegFileAsync(File file, Integer tenantId, ApiCallback<ByteDanceResponseSegmentationUploadResp> callback) throws ApiException
file - (required)tenantId - (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.