Package com.legislate.api
Class ContractTypeApi
- java.lang.Object
-
- com.legislate.api.ContractTypeApi
-
public class ContractTypeApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ContractTypeApi()ContractTypeApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiClientgetApiClient()ContractTypeResponseDTOgetContractTypePerTeamUsingGET(Long contractTypeId, Long teamId)Get information relative a given contract type.com.squareup.okhttp.CallgetContractTypePerTeamUsingGETAsync(Long contractTypeId, Long teamId, ApiCallback<ContractTypeResponseDTO> callback)Get information relative a given contract type.com.squareup.okhttp.CallgetContractTypePerTeamUsingGETCall(Long contractTypeId, Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getContractTypePerTeamUsingGETApiResponse<ContractTypeResponseDTO>getContractTypePerTeamUsingGETWithHttpInfo(Long contractTypeId, Long teamId)Get information relative a given contract type.List<ContractTypeResponseDTO>getContractTypesPerTeamUsingGET(Long teamId)Get contract types of a team This operation will retrieve information of every contract type relative a team.com.squareup.okhttp.CallgetContractTypesPerTeamUsingGETAsync(Long teamId, ApiCallback<List<ContractTypeResponseDTO>> callback)Get contract types of a team (asynchronously) This operation will retrieve information of every contract type relative a team.com.squareup.okhttp.CallgetContractTypesPerTeamUsingGETCall(Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getContractTypesPerTeamUsingGETApiResponse<List<ContractTypeResponseDTO>>getContractTypesPerTeamUsingGETWithHttpInfo(Long teamId)Get contract types of a team This operation will retrieve information of every contract type relative a team.List<ContractTypeResponseDTO>getContractTypesUsingGET()Get public contract types.com.squareup.okhttp.CallgetContractTypesUsingGETAsync(ApiCallback<List<ContractTypeResponseDTO>> callback)Get public contract types.com.squareup.okhttp.CallgetContractTypesUsingGETCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getContractTypesUsingGETApiResponse<List<ContractTypeResponseDTO>>getContractTypesUsingGETWithHttpInfo()Get public contract types.ContractTypeResponseDTOgetContractTypeUsingGET(Long contractTypeId)Get contract type terms.com.squareup.okhttp.CallgetContractTypeUsingGETAsync(Long contractTypeId, ApiCallback<ContractTypeResponseDTO> callback)Get contract type terms.com.squareup.okhttp.CallgetContractTypeUsingGETCall(Long contractTypeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener)Build call for getContractTypeUsingGETApiResponse<ContractTypeResponseDTO>getContractTypeUsingGETWithHttpInfo(Long contractTypeId)Get contract type terms.voidsetApiClient(ApiClient apiClient)
-
-
-
Constructor Detail
-
ContractTypeApi
public ContractTypeApi()
-
ContractTypeApi
public ContractTypeApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
getContractTypePerTeamUsingGETCall
public com.squareup.okhttp.Call getContractTypePerTeamUsingGETCall(Long contractTypeId, Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getContractTypePerTeamUsingGET- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getContractTypePerTeamUsingGET
public ContractTypeResponseDTO getContractTypePerTeamUsingGET(Long contractTypeId, Long teamId) throws ApiException
Get information relative a given contract type. This operation will retrieve information about a given contract type and a team.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)- Returns:
- ContractTypeResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypePerTeamUsingGETWithHttpInfo
public ApiResponse<ContractTypeResponseDTO> getContractTypePerTeamUsingGETWithHttpInfo(Long contractTypeId, Long teamId) throws ApiException
Get information relative a given contract type. This operation will retrieve information about a given contract type and a team.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)- Returns:
- ApiResponse<ContractTypeResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypePerTeamUsingGETAsync
public com.squareup.okhttp.Call getContractTypePerTeamUsingGETAsync(Long contractTypeId, Long teamId, ApiCallback<ContractTypeResponseDTO> callback) throws ApiException
Get information relative a given contract type. (asynchronously) This operation will retrieve information about a given contract type and a team.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)teamId- The unique Id of the team you wish to retrieve the contract type information 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
-
getContractTypeUsingGETCall
public com.squareup.okhttp.Call getContractTypeUsingGETCall(Long contractTypeId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getContractTypeUsingGET- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getContractTypeUsingGET
public ContractTypeResponseDTO getContractTypeUsingGET(Long contractTypeId) throws ApiException
Get contract type terms. This operation will retrieve terms about a given contract type.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)- Returns:
- ContractTypeResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypeUsingGETWithHttpInfo
public ApiResponse<ContractTypeResponseDTO> getContractTypeUsingGETWithHttpInfo(Long contractTypeId) throws ApiException
Get contract type terms. This operation will retrieve terms about a given contract type.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information from. (required)- Returns:
- ApiResponse<ContractTypeResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypeUsingGETAsync
public com.squareup.okhttp.Call getContractTypeUsingGETAsync(Long contractTypeId, ApiCallback<ContractTypeResponseDTO> callback) throws ApiException
Get contract type terms. (asynchronously) This operation will retrieve terms about a given contract type.- Parameters:
contractTypeId- The unique Id of the contract type you'd like to look up contract template information 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
-
getContractTypesPerTeamUsingGETCall
public com.squareup.okhttp.Call getContractTypesPerTeamUsingGETCall(Long teamId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getContractTypesPerTeamUsingGET- Parameters:
teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getContractTypesPerTeamUsingGET
public List<ContractTypeResponseDTO> getContractTypesPerTeamUsingGET(Long teamId) throws ApiException
Get contract types of a team This operation will retrieve information of every contract type relative a team.- Parameters:
teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)- Returns:
- List<ContractTypeResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypesPerTeamUsingGETWithHttpInfo
public ApiResponse<List<ContractTypeResponseDTO>> getContractTypesPerTeamUsingGETWithHttpInfo(Long teamId) throws ApiException
Get contract types of a team This operation will retrieve information of every contract type relative a team.- Parameters:
teamId- The unique Id of the team you wish to retrieve the contract type information from. (required)- Returns:
- ApiResponse<List<ContractTypeResponseDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypesPerTeamUsingGETAsync
public com.squareup.okhttp.Call getContractTypesPerTeamUsingGETAsync(Long teamId, ApiCallback<List<ContractTypeResponseDTO>> callback) throws ApiException
Get contract types of a team (asynchronously) This operation will retrieve information of every contract type relative a team.- Parameters:
teamId- The unique Id of the team you wish to retrieve the contract type information 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
-
getContractTypesUsingGETCall
public com.squareup.okhttp.Call getContractTypesUsingGETCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
Build call for getContractTypesUsingGET- Parameters:
progressListener- Progress listenerprogressRequestListener- Progress request listener- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getContractTypesUsingGET
public List<ContractTypeResponseDTO> getContractTypesUsingGET() throws ApiException
Get public contract types. This operation will retrieve terms about a given contract type.- Returns:
- List<ContractTypeResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypesUsingGETWithHttpInfo
public ApiResponse<List<ContractTypeResponseDTO>> getContractTypesUsingGETWithHttpInfo() throws ApiException
Get public contract types. This operation will retrieve terms about a given contract type.- Returns:
- ApiResponse<List<ContractTypeResponseDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getContractTypesUsingGETAsync
public com.squareup.okhttp.Call getContractTypesUsingGETAsync(ApiCallback<List<ContractTypeResponseDTO>> callback) throws ApiException
Get public contract types. (asynchronously) This operation will retrieve terms about a given contract type.- 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
-
-