Class ImportExportApi


  • public class ImportExportApi
    extends Object
    • Constructor Detail

      • ImportExportApi

        public ImportExportApi()
      • ImportExportApi

        public ImportExportApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • applicationsExportGetCall

        public okhttp3.Call applicationsExportGetCall​(String appName,
                                                      String appOwner,
                                                      Boolean withKeys,
                                                      String format,
                                                      ApiCallback _callback)
                                               throws ApiException
        Build call for applicationsExportGet
        Parameters:
        appName - Application Name (required)
        appOwner - Owner of the Application (required)
        withKeys - Export application keys (optional)
        format - Format of output documents. Can be YAML or JSON. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • applicationsExportGet

        public File applicationsExportGet​(String appName,
                                          String appOwner,
                                          Boolean withKeys,
                                          String format)
                                   throws ApiException
        Export an Application This operation can be used to export the details of a particular application as a zip file.
        Parameters:
        appName - Application Name (required)
        appOwner - Owner of the Application (required)
        withKeys - Export application keys (optional)
        format - Format of output documents. Can be YAML or JSON. (optional)
        Returns:
        File
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsExportGetWithHttpInfo

        public ApiResponse<File> applicationsExportGetWithHttpInfo​(String appName,
                                                                   String appOwner,
                                                                   Boolean withKeys,
                                                                   String format)
                                                            throws ApiException
        Export an Application This operation can be used to export the details of a particular application as a zip file.
        Parameters:
        appName - Application Name (required)
        appOwner - Owner of the Application (required)
        withKeys - Export application keys (optional)
        format - Format of output documents. Can be YAML or JSON. (optional)
        Returns:
        ApiResponse<File>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • applicationsExportGetAsync

        public okhttp3.Call applicationsExportGetAsync​(String appName,
                                                       String appOwner,
                                                       Boolean withKeys,
                                                       String format,
                                                       ApiCallback<File> _callback)
                                                throws ApiException
        Export an Application (asynchronously) This operation can be used to export the details of a particular application as a zip file.
        Parameters:
        appName - Application Name (required)
        appOwner - Owner of the Application (required)
        withKeys - Export application keys (optional)
        format - Format of output documents. Can be YAML or JSON. (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