public class ProjectsApi
extends java.lang.Object
| Constructor | Description |
|---|---|
ProjectsApi() |
|
ProjectsApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deleteProject(java.lang.String projectKey) |
Delete a project by key.
|
com.squareup.okhttp.Call |
deleteProjectAsync(java.lang.String projectKey,
ApiCallback<java.lang.Void> callback) |
Delete a project by key.
|
com.squareup.okhttp.Call |
deleteProjectCall(java.lang.String projectKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteProject
|
ApiResponse<java.lang.Void> |
deleteProjectWithHttpInfo(java.lang.String projectKey) |
Delete a project by key.
|
ApiClient |
getApiClient() |
|
Project |
getProject(java.lang.String projectKey) |
Fetch a single project by key.
|
com.squareup.okhttp.Call |
getProjectAsync(java.lang.String projectKey,
ApiCallback<Project> callback) |
Fetch a single project by key.
|
com.squareup.okhttp.Call |
getProjectCall(java.lang.String projectKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getProject
|
Projects |
getProjects() |
Returns a list of all projects in the account.
|
com.squareup.okhttp.Call |
getProjectsAsync(ApiCallback<Projects> callback) |
Returns a list of all projects in the account.
|
com.squareup.okhttp.Call |
getProjectsCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getProjects
|
ApiResponse<Projects> |
getProjectsWithHttpInfo() |
Returns a list of all projects in the account.
|
ApiResponse<Project> |
getProjectWithHttpInfo(java.lang.String projectKey) |
Fetch a single project by key.
|
Project |
patchProject(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta) |
Modify a project by ID.
|
com.squareup.okhttp.Call |
patchProjectAsync(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta,
ApiCallback<Project> callback) |
Modify a project by ID.
|
com.squareup.okhttp.Call |
patchProjectCall(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchProject
|
ApiResponse<Project> |
patchProjectWithHttpInfo(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta) |
Modify a project by ID.
|
Project |
postProject(ProjectBody projectBody) |
Create a new project with the given key and name.
|
com.squareup.okhttp.Call |
postProjectAsync(ProjectBody projectBody,
ApiCallback<Project> callback) |
Create a new project with the given key and name.
|
com.squareup.okhttp.Call |
postProjectCall(ProjectBody projectBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postProject
|
ApiResponse<Project> |
postProjectWithHttpInfo(ProjectBody projectBody) |
Create a new project with the given key and name.
|
void |
setApiClient(ApiClient apiClient) |
public ProjectsApi()
public ProjectsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call deleteProjectCall(java.lang.String projectKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteProject(java.lang.String projectKey)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteProjectWithHttpInfo(java.lang.String projectKey) throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteProjectAsync(java.lang.String projectKey,
ApiCallback<java.lang.Void> callback)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getProjectCall(java.lang.String projectKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Project getProject(java.lang.String projectKey) throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Project> getProjectWithHttpInfo(java.lang.String projectKey) throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProjectAsync(java.lang.String projectKey,
ApiCallback<Project> callback)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getProjectsCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Projects getProjects() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Projects> getProjectsWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getProjectsAsync(ApiCallback<Projects> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call patchProjectCall(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Project patchProject(java.lang.String projectKey, java.util.List<PatchOperation> patchDelta) throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Project> patchProjectWithHttpInfo(java.lang.String projectKey, java.util.List<PatchOperation> patchDelta) throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call patchProjectAsync(java.lang.String projectKey,
java.util.List<PatchOperation> patchDelta,
ApiCallback<Project> callback)
throws ApiException
projectKey - The project key, used to tie the flags together under one project so they can be managed together. (required)patchDelta - Requires a JSON Patch representation of the desired changes to the project. 'http://jsonpatch.com/' (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call postProjectCall(ProjectBody projectBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
projectBody - Project keys must be unique within an account. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic Project postProject(ProjectBody projectBody) throws ApiException
projectBody - Project keys must be unique within an account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Project> postProjectWithHttpInfo(ProjectBody projectBody) throws ApiException
projectBody - Project keys must be unique within an account. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postProjectAsync(ProjectBody projectBody, ApiCallback<Project> callback) throws ApiException
projectBody - Project keys must be unique within an account. (required)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body object