Class WorkflowTemplatesApi


  • public class WorkflowTemplatesApi
    extends java.lang.Object
    • 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 ApiException
        Build 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 ApiException
        Delete 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 ApiException
        Delete 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 ApiException
        Build 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 ApiException
        Get 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