Package com.launchdarkly.api.api
Class SegmentsBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.SegmentsBetaApi
-
public class SegmentsBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SegmentsBetaApi()SegmentsBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateBigSegmentExport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey)Create big segment export Starts a new export process for a big segment.okhttp3.CallcreateBigSegmentExportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, ApiCallback<java.lang.Void> _callback)Create big segment export (asynchronously) Starts a new export process for a big segment.okhttp3.CallcreateBigSegmentExportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, ApiCallback _callback)Build call for createBigSegmentExportApiResponse<java.lang.Void>createBigSegmentExportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey)Create big segment export Starts a new export process for a big segment.voidcreateBigSegmentImport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode)Create big segment import Start a new import process for a big segment.okhttp3.CallcreateBigSegmentImportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode, ApiCallback<java.lang.Void> _callback)Create big segment import (asynchronously) Start a new import process for a big segment.okhttp3.CallcreateBigSegmentImportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode, ApiCallback _callback)Build call for createBigSegmentImportApiResponse<java.lang.Void>createBigSegmentImportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode)Create big segment import Start a new import process for a big segment.ApiClientgetApiClient()ExportgetBigSegmentExport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID)Get big segment export Returns information about a big segment export process.okhttp3.CallgetBigSegmentExportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID, ApiCallback<Export> _callback)Get big segment export (asynchronously) Returns information about a big segment export process.okhttp3.CallgetBigSegmentExportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID, ApiCallback _callback)Build call for getBigSegmentExportApiResponse<Export>getBigSegmentExportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID)Get big segment export Returns information about a big segment export process.ModelImportgetBigSegmentImport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID)Get big segment import Returns information about a big segment import process.okhttp3.CallgetBigSegmentImportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID, ApiCallback<ModelImport> _callback)Get big segment import (asynchronously) Returns information about a big segment import process.okhttp3.CallgetBigSegmentImportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID, ApiCallback _callback)Build call for getBigSegmentImportApiResponse<ModelImport>getBigSegmentImportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID)Get big segment import Returns information about a big segment import process.java.lang.StringgetCustomBaseUrl()intgetHostIndex()voidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
SegmentsBetaApi
public SegmentsBetaApi()
-
SegmentsBetaApi
public SegmentsBetaApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getHostIndex
public int getHostIndex()
-
setHostIndex
public void setHostIndex(int hostIndex)
-
getCustomBaseUrl
public java.lang.String getCustomBaseUrl()
-
setCustomBaseUrl
public void setCustomBaseUrl(java.lang.String customBaseUrl)
-
createBigSegmentExportCall
public okhttp3.Call createBigSegmentExportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, ApiCallback _callback) throws ApiExceptionBuild call for createBigSegmentExport- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createBigSegmentExport
public void createBigSegmentExport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey) throws ApiExceptionCreate big segment export Starts a new export process for a big segment. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createBigSegmentExportWithHttpInfo
public ApiResponse<java.lang.Void> createBigSegmentExportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey) throws ApiException
Create big segment export Starts a new export process for a big segment. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createBigSegmentExportAsync
public okhttp3.Call createBigSegmentExportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionCreate big segment export (asynchronously) Starts a new export process for a big segment. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
createBigSegmentImportCall
public okhttp3.Call createBigSegmentImportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode, ApiCallback _callback) throws ApiExceptionBuild call for createBigSegmentImport- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_file- CSV file containing keys (optional)mode- Import mode. Use either `merge` or `replace` (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createBigSegmentImport
public void createBigSegmentImport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode) throws ApiExceptionCreate big segment import Start a new import process for a big segment. This is an import for a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_file- CSV file containing keys (optional)mode- Import mode. Use either `merge` or `replace` (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createBigSegmentImportWithHttpInfo
public ApiResponse<java.lang.Void> createBigSegmentImportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode) throws ApiException
Create big segment import Start a new import process for a big segment. This is an import for a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_file- CSV file containing keys (optional)mode- Import mode. Use either `merge` or `replace` (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createBigSegmentImportAsync
public okhttp3.Call createBigSegmentImportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.io.File _file, java.lang.String mode, ApiCallback<java.lang.Void> _callback) throws ApiExceptionCreate big segment import (asynchronously) Start a new import process for a big segment. This is an import for a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)_file- CSV file containing keys (optional)mode- Import mode. Use either `merge` or `replace` (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getBigSegmentExportCall
public okhttp3.Call getBigSegmentExportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID, ApiCallback _callback) throws ApiExceptionBuild call for getBigSegmentExport- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)exportID- The export ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getBigSegmentExport
public Export getBigSegmentExport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID) throws ApiException
Get big segment export Returns information about a big segment export process. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)exportID- The export ID (required)- Returns:
- Export
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getBigSegmentExportWithHttpInfo
public ApiResponse<Export> getBigSegmentExportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID) throws ApiException
Get big segment export Returns information about a big segment export process. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)exportID- The export ID (required)- Returns:
- ApiResponse<Export>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getBigSegmentExportAsync
public okhttp3.Call getBigSegmentExportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String exportID, ApiCallback<Export> _callback) throws ApiExceptionGet big segment export (asynchronously) Returns information about a big segment export process. This is an export for a synced segment or a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)exportID- The export ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getBigSegmentImportCall
public okhttp3.Call getBigSegmentImportCall(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID, ApiCallback _callback) throws ApiExceptionBuild call for getBigSegmentImport- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)importID- The import ID (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getBigSegmentImport
public ModelImport getBigSegmentImport(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID) throws ApiException
Get big segment import Returns information about a big segment import process. This is the import of a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)importID- The import ID (required)- Returns:
- ModelImport
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getBigSegmentImportWithHttpInfo
public ApiResponse<ModelImport> getBigSegmentImportWithHttpInfo(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID) throws ApiException
Get big segment import Returns information about a big segment import process. This is the import of a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)importID- The import ID (required)- Returns:
- ApiResponse<ModelImport>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getBigSegmentImportAsync
public okhttp3.Call getBigSegmentImportAsync(java.lang.String projectKey, java.lang.String environmentKey, java.lang.String segmentKey, java.lang.String importID, ApiCallback<ModelImport> _callback) throws ApiExceptionGet big segment import (asynchronously) Returns information about a big segment import process. This is the import of a list-based segment that can include more than 15,000 entries.- Parameters:
projectKey- The project key (required)environmentKey- The environment key (required)segmentKey- The segment key (required)importID- The import ID (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-