Package com.launchdarkly.api.api
Class WorkflowsBetaApi
- java.lang.Object
-
- com.launchdarkly.api.api.WorkflowsBetaApi
-
public class WorkflowsBetaApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowsBetaApi()
WorkflowsBetaApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId)
Delete workflow Delete a workflow from a feature flagokhttp3.Call
deleteWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback<java.lang.Void> _callback)
Delete workflow (asynchronously) Delete a workflow from a feature flagokhttp3.Call
deleteWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback _callback)
Build call for deleteWorkflowApiResponse<java.lang.Void>
deleteWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId)
Delete workflow Delete a workflow from a feature flagApiClient
getApiClient()
CustomWorkflowOutputRep
getCustomWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId)
Get custom workflow Get a specific workflow by IDokhttp3.Call
getCustomWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback<CustomWorkflowOutputRep> _callback)
Get custom workflow (asynchronously) Get a specific workflow by IDokhttp3.Call
getCustomWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback _callback)
Build call for getCustomWorkflowApiResponse<CustomWorkflowOutputRep>
getCustomWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId)
Get custom workflow Get a specific workflow by IDCustomWorkflowsListingOutputRep
getWorkflows(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
Get workflows Get workflows from a feature flagokhttp3.Call
getWorkflowsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<CustomWorkflowsListingOutputRep> _callback)
Get workflows (asynchronously) Get workflows from a feature flagokhttp3.Call
getWorkflowsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback)
Build call for getWorkflowsApiResponse<CustomWorkflowsListingOutputRep>
getWorkflowsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey)
Get workflows Get workflows from a feature flagCustomWorkflowOutputRep
postWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep)
Create workflow Create a workflow for a feature flagokhttp3.Call
postWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep, ApiCallback<CustomWorkflowOutputRep> _callback)
Create workflow (asynchronously) Create a workflow for a feature flagokhttp3.Call
postWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep, ApiCallback _callback)
Build call for postWorkflowApiResponse<CustomWorkflowOutputRep>
postWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep)
Create workflow Create a workflow for a feature flagvoid
setApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
WorkflowsBetaApi
public WorkflowsBetaApi()
-
WorkflowsBetaApi
public WorkflowsBetaApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
deleteWorkflowCall
public okhttp3.Call deleteWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback _callback) throws ApiException
Build call for deleteWorkflow- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow id (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
deleteWorkflow
public void deleteWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId) throws ApiException
Delete workflow Delete a workflow from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow id (required)- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteWorkflowWithHttpInfo
public ApiResponse<java.lang.Void> deleteWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId) throws ApiException
Delete workflow Delete a workflow from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow id (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteWorkflowAsync
public okhttp3.Call deleteWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback<java.lang.Void> _callback) throws ApiException
Delete workflow (asynchronously) Delete a workflow from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow 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
-
getCustomWorkflowCall
public okhttp3.Call getCustomWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback _callback) throws ApiException
Build call for getCustomWorkflow- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow ID (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getCustomWorkflow
public CustomWorkflowOutputRep getCustomWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId) throws ApiException
Get custom workflow Get a specific workflow by ID- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow ID (required)- Returns:
- CustomWorkflowOutputRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCustomWorkflowWithHttpInfo
public ApiResponse<CustomWorkflowOutputRep> getCustomWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId) throws ApiException
Get custom workflow Get a specific workflow by ID- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow ID (required)- Returns:
- ApiResponse<CustomWorkflowOutputRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getCustomWorkflowAsync
public okhttp3.Call getCustomWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, java.lang.String workflowId, ApiCallback<CustomWorkflowOutputRep> _callback) throws ApiException
Get custom workflow (asynchronously) Get a specific workflow by ID- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)workflowId
- The workflow 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
-
getWorkflowsCall
public okhttp3.Call getWorkflowsCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback _callback) throws ApiException
Build call for getWorkflows- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
getWorkflows
public CustomWorkflowsListingOutputRep getWorkflows(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
Get workflows Get workflows from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)- Returns:
- CustomWorkflowsListingOutputRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkflowsWithHttpInfo
public ApiResponse<CustomWorkflowsListingOutputRep> getWorkflowsWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey) throws ApiException
Get workflows Get workflows from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)- Returns:
- ApiResponse<CustomWorkflowsListingOutputRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkflowsAsync
public okhttp3.Call getWorkflowsAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, ApiCallback<CustomWorkflowsListingOutputRep> _callback) throws ApiException
Get workflows (asynchronously) Get workflows from a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment 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
-
postWorkflowCall
public okhttp3.Call postWorkflowCall(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep, ApiCallback _callback) throws ApiException
Build call for postWorkflow- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)customWorkflowInputRep
- (required)_callback
- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException
- If fail to serialize the request body object
-
postWorkflow
public CustomWorkflowOutputRep postWorkflow(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep) throws ApiException
Create workflow Create a workflow for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)customWorkflowInputRep
- (required)- Returns:
- CustomWorkflowOutputRep
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postWorkflowWithHttpInfo
public ApiResponse<CustomWorkflowOutputRep> postWorkflowWithHttpInfo(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep) throws ApiException
Create workflow Create a workflow for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)customWorkflowInputRep
- (required)- Returns:
- ApiResponse<CustomWorkflowOutputRep>
- Throws:
ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response body
-
postWorkflowAsync
public okhttp3.Call postWorkflowAsync(java.lang.String projectKey, java.lang.String featureFlagKey, java.lang.String environmentKey, CustomWorkflowInputRep customWorkflowInputRep, ApiCallback<CustomWorkflowOutputRep> _callback) throws ApiException
Create workflow (asynchronously) Create a workflow for a feature flag- Parameters:
projectKey
- The project key (required)featureFlagKey
- The feature flag's key (required)environmentKey
- The environment key (required)customWorkflowInputRep
- (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
-
-