public class ProjectsApi extends Object
| Constructor and Description |
|---|
ProjectsApi() |
ProjectsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ProjectCodeResponse |
createProject(ProjectCreate projectCreate)
Create new project.
|
okhttp3.Call |
createProjectAsync(ProjectCreate projectCreate,
ApiCallback<ProjectCodeResponse> _callback)
Create new project.
|
okhttp3.Call |
createProjectCall(ProjectCreate projectCreate,
ApiCallback _callback)
Build call for createProject
|
ApiResponse<ProjectCodeResponse> |
createProjectWithHttpInfo(ProjectCreate projectCreate)
Create new project.
|
Response |
deleteProject(String code)
Delete Project by code.
|
okhttp3.Call |
deleteProjectAsync(String code,
ApiCallback<Response> _callback)
Delete Project by code.
|
okhttp3.Call |
deleteProjectCall(String code,
ApiCallback _callback)
Build call for deleteProject
|
ApiResponse<Response> |
deleteProjectWithHttpInfo(String code)
Delete Project by code.
|
ApiClient |
getApiClient() |
String |
getCustomBaseUrl() |
int |
getHostIndex() |
ProjectResponse |
getProject(String code)
Get Project by code.
|
okhttp3.Call |
getProjectAsync(String code,
ApiCallback<ProjectResponse> _callback)
Get Project by code.
|
okhttp3.Call |
getProjectCall(String code,
ApiCallback _callback)
Build call for getProject
|
ProjectListResponse |
getProjects(Integer limit,
Integer offset)
Get All Projects.
|
okhttp3.Call |
getProjectsAsync(Integer limit,
Integer offset,
ApiCallback<ProjectListResponse> _callback)
Get All Projects.
|
okhttp3.Call |
getProjectsCall(Integer limit,
Integer offset,
ApiCallback _callback)
Build call for getProjects
|
ApiResponse<ProjectListResponse> |
getProjectsWithHttpInfo(Integer limit,
Integer offset)
Get All Projects.
|
ApiResponse<ProjectResponse> |
getProjectWithHttpInfo(String code)
Get Project by code.
|
Response |
grantAccessToProject(String code,
ProjectAccess projectAccess)
Grant access to project by code.
|
okhttp3.Call |
grantAccessToProjectAsync(String code,
ProjectAccess projectAccess,
ApiCallback<Response> _callback)
Grant access to project by code.
|
okhttp3.Call |
grantAccessToProjectCall(String code,
ProjectAccess projectAccess,
ApiCallback _callback)
Build call for grantAccessToProject
|
ApiResponse<Response> |
grantAccessToProjectWithHttpInfo(String code,
ProjectAccess projectAccess)
Grant access to project by code.
|
Response |
revokeAccessToProject(String code,
ProjectAccess projectAccess)
Revoke access to project by code.
|
okhttp3.Call |
revokeAccessToProjectAsync(String code,
ProjectAccess projectAccess,
ApiCallback<Response> _callback)
Revoke access to project by code.
|
okhttp3.Call |
revokeAccessToProjectCall(String code,
ProjectAccess projectAccess,
ApiCallback _callback)
Build call for revokeAccessToProject
|
ApiResponse<Response> |
revokeAccessToProjectWithHttpInfo(String code,
ProjectAccess projectAccess)
Revoke access to project by code.
|
void |
setApiClient(ApiClient apiClient) |
void |
setCustomBaseUrl(String customBaseUrl) |
void |
setHostIndex(int hostIndex) |
public ProjectsApi()
public ProjectsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public int getHostIndex()
public void setHostIndex(int hostIndex)
public String getCustomBaseUrl()
public void setCustomBaseUrl(String customBaseUrl)
public okhttp3.Call createProjectCall(ProjectCreate projectCreate, ApiCallback _callback) throws QaseException
projectCreate - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic ProjectCodeResponse createProject(ProjectCreate projectCreate) throws QaseException
projectCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProjectCodeResponse> createProjectWithHttpInfo(ProjectCreate projectCreate) throws QaseException
projectCreate - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createProjectAsync(ProjectCreate projectCreate, ApiCallback<ProjectCodeResponse> _callback) throws QaseException
projectCreate - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteProjectCall(String code, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic Response deleteProject(String code) throws QaseException
code - Code of project, where to search entities. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Response> deleteProjectWithHttpInfo(String code) throws QaseException
code - Code of project, where to search entities. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteProjectAsync(String code, ApiCallback<Response> _callback) throws QaseException
code - Code of project, where to search entities. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getProjectCall(String code, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic ProjectResponse getProject(String code) throws QaseException
code - Code of project, where to search entities. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProjectResponse> getProjectWithHttpInfo(String code) throws QaseException
code - Code of project, where to search entities. (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getProjectAsync(String code, ApiCallback<ProjectResponse> _callback) throws QaseException
code - Code of project, where to search entities. (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getProjectsCall(Integer limit, Integer offset, ApiCallback _callback) throws QaseException
limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic ProjectListResponse getProjects(Integer limit, Integer offset) throws QaseException
limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ProjectListResponse> getProjectsWithHttpInfo(Integer limit, Integer offset) throws QaseException
limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getProjectsAsync(Integer limit, Integer offset, ApiCallback<ProjectListResponse> _callback) throws QaseException
limit - A number of entities in result set. (optional, default to 10)offset - How many entities should be skipped. (optional, default to 0)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call grantAccessToProjectCall(String code, ProjectAccess projectAccess, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic Response grantAccessToProject(String code, ProjectAccess projectAccess) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Response> grantAccessToProjectWithHttpInfo(String code, ProjectAccess projectAccess) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call grantAccessToProjectAsync(String code, ProjectAccess projectAccess, ApiCallback<Response> _callback) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call revokeAccessToProjectCall(String code, ProjectAccess projectAccess, ApiCallback _callback) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)_callback - Callback for upload/download progressQaseException - If fail to serialize the request body objectpublic Response revokeAccessToProject(String code, ProjectAccess projectAccess) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Response> revokeAccessToProjectWithHttpInfo(String code, ProjectAccess projectAccess) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)QaseException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call revokeAccessToProjectAsync(String code, ProjectAccess projectAccess, ApiCallback<Response> _callback) throws QaseException
code - Code of project, where to search entities. (required)projectAccess - (required)_callback - The callback to be executed when the API call finishesQaseException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2023. All rights reserved.