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​(@Nonnull
                                                       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​(@Nonnull
                                                             CreateWorkflowTemplateInput createWorkflowTemplateInput)
                                                      throws ApiException
        Create workflow template > ### Workflows are in maintenance mode > > The workflows feature is in maintenance mode, and is planned for future deprecation at a date not yet specified. We will work with existing customers using workflows to migrate to a replacement solution when deprecation occurs. 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​(@Nonnull
                                                                                      CreateWorkflowTemplateInput createWorkflowTemplateInput)
                                                                               throws ApiException
        Create workflow template > ### Workflows are in maintenance mode > > The workflows feature is in maintenance mode, and is planned for future deprecation at a date not yet specified. We will work with existing customers using workflows to migrate to a replacement solution when deprecation occurs. 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​(@Nonnull
                                                        CreateWorkflowTemplateInput createWorkflowTemplateInput,
                                                        ApiCallback<WorkflowTemplateOutput> _callback)
                                                 throws ApiException
        Create workflow template (asynchronously) > ### Workflows are in maintenance mode > > The workflows feature is in maintenance mode, and is planned for future deprecation at a date not yet specified. We will work with existing customers using workflows to migrate to a replacement solution when deprecation occurs. 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​(@Nonnull
                                                       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​(@Nonnull
                                           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​(@Nonnull
                                                                              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​(@Nonnull
                                                        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​(@Nullable
                                                     java.lang.Boolean summary,
                                                     @Nullable
                                                     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​(@Nullable
                                                                      java.lang.Boolean summary,
                                                                      @Nullable
                                                                      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​(@Nullable
                                                                                               java.lang.Boolean summary,
                                                                                               @Nullable
                                                                                               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​(@Nullable
                                                      java.lang.Boolean summary,
                                                      @Nullable
                                                      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