Class ContractTypesApi


  • public class ContractTypesApi
    extends Object
    • Constructor Detail

      • ContractTypesApi

        public ContractTypesApi()
      • ContractTypesApi

        public ContractTypesApi​(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 listener
        progressRequestListener - 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 listener
        progressRequestListener - 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 listener
        progressRequestListener - 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
      • 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