Class ContractFieldsApi


  • public class ContractFieldsApi
    extends Object
    • Constructor Detail

      • ContractFieldsApi

        public ContractFieldsApi()
      • ContractFieldsApi

        public ContractFieldsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getTemplateTermUsingGETCall

        public com.squareup.okhttp.Call getTemplateTermUsingGETCall​(Long termId,
                                                                    ProgressResponseBody.ProgressListener progressListener,
                                                                    ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                             throws ApiException
        Build call for getTemplateTermUsingGET
        Parameters:
        termId - The unique Id of the field you'd like to look up. (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getTemplateTermUsingGET

        public ContractFieldResponseDTO getTemplateTermUsingGET​(Long termId)
                                                         throws ApiException
        Get template term. This operation will retrieve terms about a given template.
        Parameters:
        termId - The unique Id of the field you'd like to look up. (required)
        Returns:
        ContractFieldResponseDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTemplateTermUsingGETWithHttpInfo

        public ApiResponse<ContractFieldResponseDTO> getTemplateTermUsingGETWithHttpInfo​(Long termId)
                                                                                  throws ApiException
        Get template term. This operation will retrieve terms about a given template.
        Parameters:
        termId - The unique Id of the field you'd like to look up. (required)
        Returns:
        ApiResponse<ContractFieldResponseDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTemplateTermUsingGETAsync

        public com.squareup.okhttp.Call getTemplateTermUsingGETAsync​(Long termId,
                                                                     ApiCallback<ContractFieldResponseDTO> callback)
                                                              throws ApiException
        Get template term. (asynchronously) This operation will retrieve terms about a given template.
        Parameters:
        termId - The unique Id of the field you'd like to look up. (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
      • getTemplateTermsUsingGETCall

        public com.squareup.okhttp.Call getTemplateTermsUsingGETCall​(Long templateId,
                                                                     ProgressResponseBody.ProgressListener progressListener,
                                                                     ProgressRequestBody.ProgressRequestListener progressRequestListener)
                                                              throws ApiException
        Build call for getTemplateTermsUsingGET
        Parameters:
        templateId - The unique Id of the team you'd like to retrieve the available contract types from. (required)
        progressListener - Progress listener
        progressRequestListener - Progress request listener
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getTemplateTermsUsingGET

        public List<ContractFieldResponseDTO> getTemplateTermsUsingGET​(Long templateId)
                                                                throws ApiException
        Get template terms. This operation will retrieve terms about a given template.
        Parameters:
        templateId - The unique Id of the team you'd like to retrieve the available contract types from. (required)
        Returns:
        List<ContractFieldResponseDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTemplateTermsUsingGETWithHttpInfo

        public ApiResponse<List<ContractFieldResponseDTO>> getTemplateTermsUsingGETWithHttpInfo​(Long templateId)
                                                                                         throws ApiException
        Get template terms. This operation will retrieve terms about a given template.
        Parameters:
        templateId - The unique Id of the team you'd like to retrieve the available contract types from. (required)
        Returns:
        ApiResponse<List<ContractFieldResponseDTO>>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTemplateTermsUsingGETAsync

        public com.squareup.okhttp.Call getTemplateTermsUsingGETAsync​(Long templateId,
                                                                      ApiCallback<List<ContractFieldResponseDTO>> callback)
                                                               throws ApiException
        Get template terms. (asynchronously) This operation will retrieve terms about a given template.
        Parameters:
        templateId - The unique Id of the team you'd like to retrieve the available contract types from. (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