Class TemplatesApi


  • public class TemplatesApi
    extends Object
    • Constructor Detail

      • TemplatesApi

        public TemplatesApi()
      • TemplatesApi

        public TemplatesApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • expandTemplateCall

        public okhttp3.Call expandTemplateCall​(String templateLocation,
                                               Map<String,​String> params,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for expandTemplate
        Parameters:
        templateLocation - URL of the template; must be relative (to a URL configured on the server). (required)
        params - (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
        Http Response Details:
        Status Code Description Response Headers
        200 expanded template -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • expandTemplate

        public Object expandTemplate​(String templateLocation,
                                     Map<String,​String> params)
                              throws ApiException
        fetch and expand template
        Parameters:
        templateLocation - URL of the template; must be relative (to a URL configured on the server). (required)
        params - (optional)
        Returns:
        Object
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 expanded template -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • expandTemplateWithHttpInfo

        public ApiResponse<Object> expandTemplateWithHttpInfo​(String templateLocation,
                                                              Map<String,​String> params)
                                                       throws ApiException
        fetch and expand template
        Parameters:
        templateLocation - URL of the template; must be relative (to a URL configured on the server). (required)
        params - (optional)
        Returns:
        ApiResponse<Object>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
        Http Response Details:
        Status Code Description Response Headers
        200 expanded template -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -
      • expandTemplateAsync

        public okhttp3.Call expandTemplateAsync​(String templateLocation,
                                                Map<String,​String> params,
                                                ApiCallback<Object> _callback)
                                         throws ApiException
        (asynchronously) fetch and expand template
        Parameters:
        templateLocation - URL of the template; must be relative (to a URL configured on the server). (required)
        params - (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
        Http Response Details:
        Status Code Description Response Headers
        200 expanded template -
        401 Unauthorized -
        404 Resource Not Found -
        0 Internal Server Error -