Class ProjectAccessApi

java.lang.Object
com.redhat.parodos.sdk.api.ProjectAccessApi

public class ProjectAccessApi extends Object
  • Constructor Details

    • ProjectAccessApi

      public ProjectAccessApi()
    • ProjectAccessApi

      public ProjectAccessApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • getProjectAccessStatusCall

      public okhttp3.Call getProjectAccessStatusCall(UUID id, ApiCallback _callback) throws ApiException
      Build call for getProjectAccessStatus
      Parameters:
      id - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • getProjectAccessStatus

      public AccessStatusResponseDTO getProjectAccessStatus(UUID id) throws ApiException
      Returns status about a specified project access request
      Parameters:
      id - (required)
      Returns:
      AccessStatusResponseDTO
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getProjectAccessStatusWithHttpInfo

      public ApiResponse<AccessStatusResponseDTO> getProjectAccessStatusWithHttpInfo(UUID id) throws ApiException
      Returns status about a specified project access request
      Parameters:
      id - (required)
      Returns:
      ApiResponse<AccessStatusResponseDTO>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • getProjectAccessStatusAsync

      public okhttp3.Call getProjectAccessStatusAsync(UUID id, ApiCallback<AccessStatusResponseDTO> _callback) throws ApiException
      Returns status about a specified project access request (asynchronously)
      Parameters:
      id - (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
    • updateProjectAccessStatusCall

      public okhttp3.Call updateProjectAccessStatusCall(UUID id, AccessStatusRequestDTO accessStatusRequestDTO, ApiCallback _callback) throws ApiException
      Build call for updateProjectAccessStatus
      Parameters:
      id - (required)
      accessStatusRequestDTO - (required)
      _callback - Callback for upload/download progress
      Returns:
      Call to execute
      Throws:
      ApiException - If fail to serialize the request body object
    • updateProjectAccessStatus

      public void updateProjectAccessStatus(UUID id, AccessStatusRequestDTO accessStatusRequestDTO) throws ApiException
      Update status of a specified project access request
      Parameters:
      id - (required)
      accessStatusRequestDTO - (required)
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateProjectAccessStatusWithHttpInfo

      public ApiResponse<Void> updateProjectAccessStatusWithHttpInfo(UUID id, AccessStatusRequestDTO accessStatusRequestDTO) throws ApiException
      Update status of a specified project access request
      Parameters:
      id - (required)
      accessStatusRequestDTO - (required)
      Returns:
      ApiResponse<Void>
      Throws:
      ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
    • updateProjectAccessStatusAsync

      public okhttp3.Call updateProjectAccessStatusAsync(UUID id, AccessStatusRequestDTO accessStatusRequestDTO, ApiCallback<Void> _callback) throws ApiException
      Update status of a specified project access request (asynchronously)
      Parameters:
      id - (required)
      accessStatusRequestDTO - (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