Package com.redhat.parodos.sdk.api
Class ProjectApi
java.lang.Object
com.redhat.parodos.sdk.api.ProjectApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateAccessRequestToProject(UUID id, AccessRequestDTO accessRequestDTO) Request user access to projectokhttp3.CallcreateAccessRequestToProjectAsync(UUID id, AccessRequestDTO accessRequestDTO, ApiCallback<AccessResponseDTO> _callback) Request user access to project (asynchronously)okhttp3.CallcreateAccessRequestToProjectCall(UUID id, AccessRequestDTO accessRequestDTO, ApiCallback _callback) Build call for createAccessRequestToProjectcreateAccessRequestToProjectWithHttpInfo(UUID id, AccessRequestDTO accessRequestDTO) Request user access to projectcreateProject(ProjectRequestDTO projectRequestDTO) Creates a new projectokhttp3.CallcreateProjectAsync(ProjectRequestDTO projectRequestDTO, ApiCallback<ProjectResponseDTO> _callback) Creates a new project (asynchronously)okhttp3.CallcreateProjectCall(ProjectRequestDTO projectRequestDTO, ApiCallback _callback) Build call for createProjectcreateProjectWithHttpInfo(ProjectRequestDTO projectRequestDTO) Creates a new projectintgetProjectById(UUID id) Returns information about a specified projectokhttp3.CallgetProjectByIdAsync(UUID id, ApiCallback<ProjectResponseDTO> _callback) Returns information about a specified project (asynchronously)okhttp3.CallgetProjectByIdCall(UUID id, ApiCallback _callback) Build call for getProjectByIdReturns information about a specified projectReturns a list of projectokhttp3.CallgetProjectsAsync(ApiCallback<List<ProjectResponseDTO>> _callback) Returns a list of project (asynchronously)okhttp3.CallgetProjectsCall(ApiCallback _callback) Build call for getProjectsReturns a list of projectremoveUsersFromProject(UUID id, List<String> requestBody) Remove users from projectokhttp3.CallremoveUsersFromProjectAsync(UUID id, List<String> requestBody, ApiCallback<ProjectUserRoleResponseDTO> _callback) Remove users from project (asynchronously)okhttp3.CallremoveUsersFromProjectCall(UUID id, List<String> requestBody, ApiCallback _callback) Build call for removeUsersFromProjectremoveUsersFromProjectWithHttpInfo(UUID id, List<String> requestBody) Remove users from projectvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateUserRolesToProject(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO) Update user roles in projectokhttp3.CallupdateUserRolesToProjectAsync(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO, ApiCallback<ProjectUserRoleResponseDTO> _callback) Update user roles in project (asynchronously)okhttp3.CallupdateUserRolesToProjectCall(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO, ApiCallback _callback) Build call for updateUserRolesToProjectupdateUserRolesToProjectWithHttpInfo(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO) Update user roles in project
-
Constructor Details
-
ProjectApi
public ProjectApi() -
ProjectApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
createAccessRequestToProjectCall
public okhttp3.Call createAccessRequestToProjectCall(UUID id, AccessRequestDTO accessRequestDTO, ApiCallback _callback) throws ApiException Build call for createAccessRequestToProject- Parameters:
id- (required)accessRequestDTO- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createAccessRequestToProject
public AccessResponseDTO createAccessRequestToProject(UUID id, AccessRequestDTO accessRequestDTO) throws ApiException Request user access to project- Parameters:
id- (required)accessRequestDTO- (required)- Returns:
- AccessResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAccessRequestToProjectWithHttpInfo
public ApiResponse<AccessResponseDTO> createAccessRequestToProjectWithHttpInfo(UUID id, AccessRequestDTO accessRequestDTO) throws ApiException Request user access to project- Parameters:
id- (required)accessRequestDTO- (required)- Returns:
- ApiResponse<AccessResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAccessRequestToProjectAsync
public okhttp3.Call createAccessRequestToProjectAsync(UUID id, AccessRequestDTO accessRequestDTO, ApiCallback<AccessResponseDTO> _callback) throws ApiException Request user access to project (asynchronously)- Parameters:
id- (required)accessRequestDTO- (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
-
createProjectCall
public okhttp3.Call createProjectCall(ProjectRequestDTO projectRequestDTO, ApiCallback _callback) throws ApiException Build call for createProject- Parameters:
projectRequestDTO- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createProject
Creates a new project- Parameters:
projectRequestDTO- (required)- Returns:
- ProjectResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createProjectWithHttpInfo
public ApiResponse<ProjectResponseDTO> createProjectWithHttpInfo(ProjectRequestDTO projectRequestDTO) throws ApiException Creates a new project- Parameters:
projectRequestDTO- (required)- Returns:
- ApiResponse<ProjectResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createProjectAsync
public okhttp3.Call createProjectAsync(ProjectRequestDTO projectRequestDTO, ApiCallback<ProjectResponseDTO> _callback) throws ApiException Creates a new project (asynchronously)- Parameters:
projectRequestDTO- (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
-
getProjectByIdCall
Build call for getProjectById- Parameters:
id- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getProjectById
Returns information about a specified project- Parameters:
id- (required)- Returns:
- ProjectResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getProjectByIdWithHttpInfo
Returns information about a specified project- Parameters:
id- (required)- Returns:
- ApiResponse<ProjectResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getProjectByIdAsync
public okhttp3.Call getProjectByIdAsync(UUID id, ApiCallback<ProjectResponseDTO> _callback) throws ApiException Returns information about a specified project (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
-
getProjectsCall
Build call for getProjects- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getProjects
Returns a list of project- Returns:
- List<ProjectResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getProjectsWithHttpInfo
Returns a list of project- Returns:
- ApiResponse<List<ProjectResponseDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getProjectsAsync
public okhttp3.Call getProjectsAsync(ApiCallback<List<ProjectResponseDTO>> _callback) throws ApiException Returns a list of project (asynchronously)- 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
-
removeUsersFromProjectCall
public okhttp3.Call removeUsersFromProjectCall(UUID id, List<String> requestBody, ApiCallback _callback) throws ApiException Build call for removeUsersFromProject- Parameters:
id- (required)requestBody- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
removeUsersFromProject
public ProjectUserRoleResponseDTO removeUsersFromProject(UUID id, List<String> requestBody) throws ApiException Remove users from project- Parameters:
id- (required)requestBody- (required)- Returns:
- ProjectUserRoleResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
removeUsersFromProjectWithHttpInfo
public ApiResponse<ProjectUserRoleResponseDTO> removeUsersFromProjectWithHttpInfo(UUID id, List<String> requestBody) throws ApiException Remove users from project- Parameters:
id- (required)requestBody- (required)- Returns:
- ApiResponse<ProjectUserRoleResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
removeUsersFromProjectAsync
public okhttp3.Call removeUsersFromProjectAsync(UUID id, List<String> requestBody, ApiCallback<ProjectUserRoleResponseDTO> _callback) throws ApiException Remove users from project (asynchronously)- Parameters:
id- (required)requestBody- (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
-
updateUserRolesToProjectCall
public okhttp3.Call updateUserRolesToProjectCall(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO, ApiCallback _callback) throws ApiException Build call for updateUserRolesToProject- Parameters:
id- (required)userRoleRequestDTO- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateUserRolesToProject
public ProjectUserRoleResponseDTO updateUserRolesToProject(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO) throws ApiException Update user roles in project- Parameters:
id- (required)userRoleRequestDTO- (required)- Returns:
- ProjectUserRoleResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserRolesToProjectWithHttpInfo
public ApiResponse<ProjectUserRoleResponseDTO> updateUserRolesToProjectWithHttpInfo(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO) throws ApiException Update user roles in project- Parameters:
id- (required)userRoleRequestDTO- (required)- Returns:
- ApiResponse<ProjectUserRoleResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateUserRolesToProjectAsync
public okhttp3.Call updateUserRolesToProjectAsync(UUID id, List<UserRoleRequestDTO> userRoleRequestDTO, ApiCallback<ProjectUserRoleResponseDTO> _callback) throws ApiException Update user roles in project (asynchronously)- Parameters:
id- (required)userRoleRequestDTO- (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
-