public class SegmentationApi extends Object
| 构造器和说明 |
|---|
SegmentationApi() |
SegmentationApi(ApiClient apiClient) |
public SegmentationApi()
public SegmentationApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createConditionalSegmentCall(Integer tenantId, SimplifiedSegCreateOrUpdateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationResp createConditionalSegment(Integer tenantId, SimplifiedSegCreateOrUpdateRequest body) throws ApiException
tenantId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationResp> createConditionalSegmentWithHttpInfo(Integer tenantId, SimplifiedSegCreateOrUpdateRequest body) throws ApiException
tenantId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createConditionalSegmentAsync(Integer tenantId, SimplifiedSegCreateOrUpdateRequest body, ApiCallback<ByteDanceResponseSegmentationResp> callback) throws ApiException
tenantId - (required)body - (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 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 legacyCreateManualSegmentCall(Integer tenantId, LegacyManualSegCreateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ByteDanceResponseSegmentationResp legacyCreateManualSegment(Integer tenantId, LegacyManualSegCreateRequest body) throws ApiException
tenantId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ByteDanceResponseSegmentationResp> legacyCreateManualSegmentWithHttpInfo(Integer tenantId, LegacyManualSegCreateRequest body) throws ApiException
tenantId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call legacyCreateManualSegmentAsync(Integer tenantId, LegacyManualSegCreateRequest body, ApiCallback<ByteDanceResponseSegmentationResp> callback) throws ApiException
tenantId - (required)body - (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 legacyDeleteSegmentCall(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 CommonResponseVoid legacyDeleteSegment(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<CommonResponseVoid> legacyDeleteSegmentWithHttpInfo(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 legacyDeleteSegmentAsync(Integer tenantId, Integer segId, ApiCallback<CommonResponseVoid> 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 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 legacyModifyManualSegmentCall(Integer tenantId, Integer segId, LegacyManualSegCreateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)segId - (required)body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonResponseVoid legacyModifyManualSegment(Integer tenantId, Integer segId, LegacyManualSegCreateRequest body) throws ApiException
tenantId - (required)segId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonResponseVoid> legacyModifyManualSegmentWithHttpInfo(Integer tenantId, Integer segId, LegacyManualSegCreateRequest body) throws ApiException
tenantId - (required)segId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call legacyModifyManualSegmentAsync(Integer tenantId, Integer segId, LegacyManualSegCreateRequest body, ApiCallback<CommonResponseVoid> callback) throws ApiException
tenantId - (required)segId - (required)body - (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 modifyConditionalSegmentCall(Integer tenantId, Integer segId, SimplifiedSegCreateOrUpdateRequest body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
tenantId - (required)segId - (required)body - (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CommonResponse modifyConditionalSegment(Integer tenantId, Integer segId, SimplifiedSegCreateOrUpdateRequest body) throws ApiException
tenantId - (required)segId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CommonResponse> modifyConditionalSegmentWithHttpInfo(Integer tenantId, Integer segId, SimplifiedSegCreateOrUpdateRequest body) throws ApiException
tenantId - (required)segId - (required)body - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call modifyConditionalSegmentAsync(Integer tenantId, Integer segId, SimplifiedSegCreateOrUpdateRequest body, ApiCallback<CommonResponse> callback) throws ApiException
tenantId - (required)segId - (required)body - (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 refreshSegCall(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 ByteDanceResponseSegmentationRefreshResp refreshSeg(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<ByteDanceResponseSegmentationRefreshResp> refreshSegWithHttpInfo(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 refreshSegAsync(Integer tenantId, Integer segId, ApiCallback<ByteDanceResponseSegmentationRefreshResp> 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 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 objectpublic com.squareup.okhttp.Call uploadSegFileToChCall(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 SegOpenApiFileUploadResponse uploadSegFileToCh(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<SegOpenApiFileUploadResponse> uploadSegFileToChWithHttpInfo(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 uploadSegFileToChAsync(File file, Integer tenantId, ApiCallback<SegOpenApiFileUploadResponse> 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 objectpublic com.squareup.okhttp.Call uploadSegFileToChCall(ManualsegmentUploadBody1 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 SegOpenApiFileUploadResponse uploadSegFileToCh(ManualsegmentUploadBody1 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<SegOpenApiFileUploadResponse> uploadSegFileToChWithHttpInfo(ManualsegmentUploadBody1 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 uploadSegFileToChAsync(ManualsegmentUploadBody1 body, Integer tenantId, ApiCallback<SegOpenApiFileUploadResponse> 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 objectCopyright © 2023. All rights reserved.