Class ExternalStoresApi


  • public class ExternalStoresApi
    extends Object
    • Constructor Detail

      • ExternalStoresApi

        public ExternalStoresApi()
      • ExternalStoresApi

        public ExternalStoresApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getAllExternalStoresCall

        public okhttp3.Call getAllExternalStoresCall​(ApiCallback _callback)
                                              throws ApiException
        Build call for getAllExternalStores
        Parameters:
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getAllExternalStores

        public ExternalStoreDTO getAllExternalStores()
                                              throws ApiException
        Retrieve External Stores List to Publish an API Retrieve external stores list configured to publish an API
        Returns:
        ExternalStoreDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllExternalStoresWithHttpInfo

        public ApiResponse<ExternalStoreDTO> getAllExternalStoresWithHttpInfo()
                                                                       throws ApiException
        Retrieve External Stores List to Publish an API Retrieve external stores list configured to publish an API
        Returns:
        ApiResponse<ExternalStoreDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllExternalStoresAsync

        public okhttp3.Call getAllExternalStoresAsync​(ApiCallback<ExternalStoreDTO> _callback)
                                               throws ApiException
        Retrieve External Stores List to Publish an API (asynchronously) Retrieve external stores list configured to publish an API
        Parameters:
        _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
      • getAllPublishedExternalStoresByAPICall

        public okhttp3.Call getAllPublishedExternalStoresByAPICall​(String apiId,
                                                                   String ifNoneMatch,
                                                                   ApiCallback _callback)
                                                            throws ApiException
        Build call for getAllPublishedExternalStoresByAPI
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getAllPublishedExternalStoresByAPI

        public APIExternalStoreListDTO getAllPublishedExternalStoresByAPI​(String apiId,
                                                                          String ifNoneMatch)
                                                                   throws ApiException
        Get the List of External Stores to which an API is Published This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        Returns:
        APIExternalStoreListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllPublishedExternalStoresByAPIWithHttpInfo

        public ApiResponse<APIExternalStoreListDTO> getAllPublishedExternalStoresByAPIWithHttpInfo​(String apiId,
                                                                                                   String ifNoneMatch)
                                                                                            throws ApiException
        Get the List of External Stores to which an API is Published This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)
        Returns:
        ApiResponse<APIExternalStoreListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getAllPublishedExternalStoresByAPIAsync

        public okhttp3.Call getAllPublishedExternalStoresByAPIAsync​(String apiId,
                                                                    String ifNoneMatch,
                                                                    ApiCallback<APIExternalStoreListDTO> _callback)
                                                             throws ApiException
        Get the List of External Stores to which an API is Published (asynchronously) This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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
      • publishAPIToExternalStoresCall

        public okhttp3.Call publishAPIToExternalStoresCall​(String apiId,
                                                           String externalStoreIds,
                                                           String ifMatch,
                                                           ApiCallback _callback)
                                                    throws ApiException
        Build call for publishAPIToExternalStores
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (optional)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • publishAPIToExternalStores

        public APIExternalStoreListDTO publishAPIToExternalStores​(String apiId,
                                                                  String externalStoreIds,
                                                                  String ifMatch)
                                                           throws ApiException
        Publish an API to External Stores This operation can be used to publish an API to a list of external stores.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (optional)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        APIExternalStoreListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • publishAPIToExternalStoresWithHttpInfo

        public ApiResponse<APIExternalStoreListDTO> publishAPIToExternalStoresWithHttpInfo​(String apiId,
                                                                                           String externalStoreIds,
                                                                                           String ifMatch)
                                                                                    throws ApiException
        Publish an API to External Stores This operation can be used to publish an API to a list of external stores.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (optional)
        ifMatch - Validator for conditional requests; based on ETag. (optional)
        Returns:
        ApiResponse<APIExternalStoreListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • publishAPIToExternalStoresAsync

        public okhttp3.Call publishAPIToExternalStoresAsync​(String apiId,
                                                            String externalStoreIds,
                                                            String ifMatch,
                                                            ApiCallback<APIExternalStoreListDTO> _callback)
                                                     throws ApiException
        Publish an API to External Stores (asynchronously) This operation can be used to publish an API to a list of external stores.
        Parameters:
        apiId - **API ID** consisting of the **UUID** of the API. (required)
        externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (optional)
        ifMatch - Validator for conditional requests; based on ETag. (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