Package com.launchdarkly.api.api
Class WorkflowTemplatesApi
- java.lang.Object
-
- com.launchdarkly.api.api.WorkflowTemplatesApi
-
public class WorkflowTemplatesApi extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description WorkflowTemplatesApi()WorkflowTemplatesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowTemplateOutputcreateWorkflowTemplate(CreateWorkflowTemplateInput createWorkflowTemplateInput)Create workflow template Create a template for a feature flag workflowokhttp3.CallcreateWorkflowTemplateAsync(CreateWorkflowTemplateInput createWorkflowTemplateInput, ApiCallback<WorkflowTemplateOutput> _callback)Create workflow template (asynchronously) Create a template for a feature flag workflowokhttp3.CallcreateWorkflowTemplateCall(CreateWorkflowTemplateInput createWorkflowTemplateInput, ApiCallback _callback)Build call for createWorkflowTemplateApiResponse<WorkflowTemplateOutput>createWorkflowTemplateWithHttpInfo(CreateWorkflowTemplateInput createWorkflowTemplateInput)Create workflow template Create a template for a feature flag workflowvoiddeleteWorkflowTemplate(java.lang.String templateKey)Delete workflow template Delete a workflow templateokhttp3.CalldeleteWorkflowTemplateAsync(java.lang.String templateKey, ApiCallback<java.lang.Void> _callback)Delete workflow template (asynchronously) Delete a workflow templateokhttp3.CalldeleteWorkflowTemplateCall(java.lang.String templateKey, ApiCallback _callback)Build call for deleteWorkflowTemplateApiResponse<java.lang.Void>deleteWorkflowTemplateWithHttpInfo(java.lang.String templateKey)Delete workflow template Delete a workflow templateApiClientgetApiClient()java.lang.StringgetCustomBaseUrl()intgetHostIndex()WorkflowTemplatesListingOutputRepgetWorkflowTemplates(java.lang.Boolean summary, java.lang.String search)Get workflow templates Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is trueokhttp3.CallgetWorkflowTemplatesAsync(java.lang.Boolean summary, java.lang.String search, ApiCallback<WorkflowTemplatesListingOutputRep> _callback)Get workflow templates (asynchronously) Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is trueokhttp3.CallgetWorkflowTemplatesCall(java.lang.Boolean summary, java.lang.String search, ApiCallback _callback)Build call for getWorkflowTemplatesApiResponse<WorkflowTemplatesListingOutputRep>getWorkflowTemplatesWithHttpInfo(java.lang.Boolean summary, java.lang.String search)Get workflow templates Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is truevoidsetApiClient(ApiClient apiClient)voidsetCustomBaseUrl(java.lang.String customBaseUrl)voidsetHostIndex(int hostIndex)
-
-
-
Constructor Detail
-
WorkflowTemplatesApi
public WorkflowTemplatesApi()
-
WorkflowTemplatesApi
public WorkflowTemplatesApi(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)
-
createWorkflowTemplateCall
public okhttp3.Call createWorkflowTemplateCall(CreateWorkflowTemplateInput createWorkflowTemplateInput, ApiCallback _callback) throws ApiException
Build call for createWorkflowTemplate- Parameters:
createWorkflowTemplateInput- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createWorkflowTemplate
public WorkflowTemplateOutput createWorkflowTemplate(CreateWorkflowTemplateInput createWorkflowTemplateInput) throws ApiException
Create workflow template Create a template for a feature flag workflow- Parameters:
createWorkflowTemplateInput- (required)- Returns:
- WorkflowTemplateOutput
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createWorkflowTemplateWithHttpInfo
public ApiResponse<WorkflowTemplateOutput> createWorkflowTemplateWithHttpInfo(CreateWorkflowTemplateInput createWorkflowTemplateInput) throws ApiException
Create workflow template Create a template for a feature flag workflow- Parameters:
createWorkflowTemplateInput- (required)- Returns:
- ApiResponse<WorkflowTemplateOutput>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createWorkflowTemplateAsync
public okhttp3.Call createWorkflowTemplateAsync(CreateWorkflowTemplateInput createWorkflowTemplateInput, ApiCallback<WorkflowTemplateOutput> _callback) throws ApiException
Create workflow template (asynchronously) Create a template for a feature flag workflow- Parameters:
createWorkflowTemplateInput- (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
-
deleteWorkflowTemplateCall
public okhttp3.Call deleteWorkflowTemplateCall(java.lang.String templateKey, ApiCallback _callback) throws ApiExceptionBuild call for deleteWorkflowTemplate- Parameters:
templateKey- The template key (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteWorkflowTemplate
public void deleteWorkflowTemplate(java.lang.String templateKey) throws ApiExceptionDelete workflow template Delete a workflow template- Parameters:
templateKey- The template key (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteWorkflowTemplateWithHttpInfo
public ApiResponse<java.lang.Void> deleteWorkflowTemplateWithHttpInfo(java.lang.String templateKey) throws ApiException
Delete workflow template Delete a workflow template- Parameters:
templateKey- The template key (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteWorkflowTemplateAsync
public okhttp3.Call deleteWorkflowTemplateAsync(java.lang.String templateKey, ApiCallback<java.lang.Void> _callback) throws ApiExceptionDelete workflow template (asynchronously) Delete a workflow template- Parameters:
templateKey- The template 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
-
getWorkflowTemplatesCall
public okhttp3.Call getWorkflowTemplatesCall(java.lang.Boolean summary, java.lang.String search, ApiCallback _callback) throws ApiExceptionBuild call for getWorkflowTemplates- Parameters:
summary- Whether the entire template object or just a summary should be returned (optional)search- The substring in either the name or description of a template (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getWorkflowTemplates
public WorkflowTemplatesListingOutputRep getWorkflowTemplates(java.lang.Boolean summary, java.lang.String search) throws ApiException
Get workflow templates Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is true- Parameters:
summary- Whether the entire template object or just a summary should be returned (optional)search- The substring in either the name or description of a template (optional)- Returns:
- WorkflowTemplatesListingOutputRep
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkflowTemplatesWithHttpInfo
public ApiResponse<WorkflowTemplatesListingOutputRep> getWorkflowTemplatesWithHttpInfo(java.lang.Boolean summary, java.lang.String search) throws ApiException
Get workflow templates Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is true- Parameters:
summary- Whether the entire template object or just a summary should be returned (optional)search- The substring in either the name or description of a template (optional)- Returns:
- ApiResponse<WorkflowTemplatesListingOutputRep>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkflowTemplatesAsync
public okhttp3.Call getWorkflowTemplatesAsync(java.lang.Boolean summary, java.lang.String search, ApiCallback<WorkflowTemplatesListingOutputRep> _callback) throws ApiExceptionGet workflow templates (asynchronously) Get workflow templates belonging to an account, or can optionally return templates_endpoints.workflowTemplateSummariesListingOutputRep when summary query param is true- Parameters:
summary- Whether the entire template object or just a summary should be returned (optional)search- The substring in either the name or description of a template (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
-
-