Package com.legislate.api
Class ContractTemplatesApi
- java.lang.Object
-
- com.legislate.api.ContractTemplatesApi
-
public class ContractTemplatesApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ContractTemplatesApi()ContractTemplatesApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ContractResponseDTOgetTemplatesUsingGET(Long contractTypeId, Long teamId)Get the latest template version for a contract typecom.squareup.okhttp.CallgetTemplatesUsingGETAsync(Long contractTypeId, Long teamId, ApiCallback<ContractResponseDTO> callback)Get the latest template version for a contract type (asynchronously)com.squareup.okhttp.CallgetTemplatesUsingGETCall(Long contractTypeId, Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getTemplatesUsingGETApiResponse<ContractResponseDTO>getTemplatesUsingGETWithHttpInfo(Long contractTypeId, Long teamId)Get the latest template version for a contract typeContractResponseDTOgetTemplateUsingGET(Long contractTypeId, Long teamId, Long templateId)Get contract template.com.squareup.okhttp.CallgetTemplateUsingGETAsync(Long contractTypeId, Long teamId, Long templateId, ApiCallback<ContractResponseDTO> callback)Get contract template.com.squareup.okhttp.CallgetTemplateUsingGETCall(Long contractTypeId, Long teamId, Long templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getTemplateUsingGETApiResponse<ContractResponseDTO>getTemplateUsingGETWithHttpInfo(Long contractTypeId, Long teamId, Long templateId)Get contract template.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ContractTemplatesApi
public ContractTemplatesApi()
-
ContractTemplatesApi
public ContractTemplatesApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getTemplateUsingGETCall
public com.squareup.okhttp.Call getTemplateUsingGETCall(Long contractTypeId, Long teamId, Long templateId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getTemplateUsingGET- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)templateId- templateId (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getTemplateUsingGET
public ContractResponseDTO getTemplateUsingGET(Long contractTypeId, Long teamId, Long templateId) throws ApiException
Get contract template. This operation will retrieve details about a given contract.- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)templateId- templateId (required)- Returns:
- ContractResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTemplateUsingGETWithHttpInfo
public ApiResponse<ContractResponseDTO> getTemplateUsingGETWithHttpInfo(Long contractTypeId, Long teamId, Long templateId) throws ApiException
Get contract template. This operation will retrieve details about a given contract.- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)templateId- templateId (required)- Returns:
- ApiResponse<ContractResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTemplateUsingGETAsync
public com.squareup.okhttp.Call getTemplateUsingGETAsync(Long contractTypeId, Long teamId, Long templateId, ApiCallback<ContractResponseDTO> callback) throws ApiException
Get contract template. (asynchronously) This operation will retrieve details about a given contract.- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)templateId- templateId (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
-
getTemplatesUsingGETCall
public com.squareup.okhttp.Call getTemplatesUsingGETCall(Long contractTypeId, Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getTemplatesUsingGET- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getTemplatesUsingGET
public ContractResponseDTO getTemplatesUsingGET(Long contractTypeId, Long teamId) throws ApiException
Get the latest template version for a contract type- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)- Returns:
- ContractResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTemplatesUsingGETWithHttpInfo
public ApiResponse<ContractResponseDTO> getTemplatesUsingGETWithHttpInfo(Long contractTypeId, Long teamId) throws ApiException
Get the latest template version for a contract type- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (required)- Returns:
- ApiResponse<ContractResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getTemplatesUsingGETAsync
public com.squareup.okhttp.Call getTemplatesUsingGETAsync(Long contractTypeId, Long teamId, ApiCallback<ContractResponseDTO> callback) throws ApiException
Get the latest template version for a contract type (asynchronously)- Parameters:
contractTypeId- contractTypeId (required)teamId- teamId (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
-
-