public class CustomRolesApi
extends java.lang.Object
| Constructor | Description |
|---|---|
CustomRolesApi() |
|
CustomRolesApi(ApiClient apiClient) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
deleteCustomRole(java.lang.String customRoleKey) |
Delete a custom role by key.
|
com.squareup.okhttp.Call |
deleteCustomRoleAsync(java.lang.String customRoleKey,
ApiCallback<java.lang.Void> callback) |
Delete a custom role by key.
|
com.squareup.okhttp.Call |
deleteCustomRoleCall(java.lang.String customRoleKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for deleteCustomRole
|
ApiResponse<java.lang.Void> |
deleteCustomRoleWithHttpInfo(java.lang.String customRoleKey) |
Delete a custom role by key.
|
ApiClient |
getApiClient() |
|
CustomRole |
getCustomRole(java.lang.String customRoleKey) |
Get one custom role by key.
|
com.squareup.okhttp.Call |
getCustomRoleAsync(java.lang.String customRoleKey,
ApiCallback<CustomRole> callback) |
Get one custom role by key.
|
com.squareup.okhttp.Call |
getCustomRoleCall(java.lang.String customRoleKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getCustomRole
|
CustomRoles |
getCustomRoles() |
Return a complete list of custom roles.
|
com.squareup.okhttp.Call |
getCustomRolesAsync(ApiCallback<CustomRoles> callback) |
Return a complete list of custom roles.
|
com.squareup.okhttp.Call |
getCustomRolesCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for getCustomRoles
|
ApiResponse<CustomRoles> |
getCustomRolesWithHttpInfo() |
Return a complete list of custom roles.
|
ApiResponse<CustomRole> |
getCustomRoleWithHttpInfo(java.lang.String customRoleKey) |
Get one custom role by key.
|
CustomRole |
patchCustomRole(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta) |
Modify a custom role by key.
|
com.squareup.okhttp.Call |
patchCustomRoleAsync(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta,
ApiCallback<CustomRole> callback) |
Modify a custom role by key.
|
com.squareup.okhttp.Call |
patchCustomRoleCall(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for patchCustomRole
|
ApiResponse<CustomRole> |
patchCustomRoleWithHttpInfo(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta) |
Modify a custom role by key.
|
CustomRole |
postCustomRole(CustomRoleBody customRoleBody) |
Create a new custom role.
|
com.squareup.okhttp.Call |
postCustomRoleAsync(CustomRoleBody customRoleBody,
ApiCallback<CustomRole> callback) |
Create a new custom role.
|
com.squareup.okhttp.Call |
postCustomRoleCall(CustomRoleBody customRoleBody,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener) |
Build call for postCustomRole
|
ApiResponse<CustomRole> |
postCustomRoleWithHttpInfo(CustomRoleBody customRoleBody) |
Create a new custom role.
|
void |
setApiClient(ApiClient apiClient) |
public CustomRolesApi()
public CustomRolesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call deleteCustomRoleCall(java.lang.String customRoleKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
customRoleKey - The custom role key. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void deleteCustomRole(java.lang.String customRoleKey)
throws ApiException
customRoleKey - The custom role key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<java.lang.Void> deleteCustomRoleWithHttpInfo(java.lang.String customRoleKey) throws ApiException
customRoleKey - The custom role key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteCustomRoleAsync(java.lang.String customRoleKey,
ApiCallback<java.lang.Void> callback)
throws ApiException
customRoleKey - The custom role key. (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 getCustomRoleCall(java.lang.String customRoleKey,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
customRoleKey - The custom role key. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomRole getCustomRole(java.lang.String customRoleKey) throws ApiException
customRoleKey - The custom role key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRole> getCustomRoleWithHttpInfo(java.lang.String customRoleKey) throws ApiException
customRoleKey - The custom role key. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCustomRoleAsync(java.lang.String customRoleKey,
ApiCallback<CustomRole> callback)
throws ApiException
customRoleKey - The custom role key. (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 getCustomRolesCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomRoles getCustomRoles() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRoles> getCustomRolesWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getCustomRolesAsync(ApiCallback<CustomRoles> 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 patchCustomRoleCall(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
throws ApiException
customRoleKey - The custom role key. (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 CustomRole patchCustomRole(java.lang.String customRoleKey, java.util.List<PatchOperation> patchDelta) throws ApiException
customRoleKey - The custom role key. (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<CustomRole> patchCustomRoleWithHttpInfo(java.lang.String customRoleKey, java.util.List<PatchOperation> patchDelta) throws ApiException
customRoleKey - The custom role key. (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 patchCustomRoleAsync(java.lang.String customRoleKey,
java.util.List<PatchOperation> patchDelta,
ApiCallback<CustomRole> callback)
throws ApiException
customRoleKey - The custom role key. (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 postCustomRoleCall(CustomRoleBody customRoleBody, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
customRoleBody - New role or roles to create. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic CustomRole postCustomRole(CustomRoleBody customRoleBody) throws ApiException
customRoleBody - New role or roles to create. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CustomRole> postCustomRoleWithHttpInfo(CustomRoleBody customRoleBody) throws ApiException
customRoleBody - New role or roles to create. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call postCustomRoleAsync(CustomRoleBody customRoleBody, ApiCallback<CustomRole> callback) throws ApiException
customRoleBody - New role or roles to create. (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