public class AuthRolesResourceApi extends Object
Constructor and Description |
---|
AuthRolesResourceApi() |
AuthRolesResourceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApiAuthRoleList |
createAuthRoles(ApiAuthRoleList body)
Creates a list of auth roles.
|
com.squareup.okhttp.Call |
createAuthRolesAsync(ApiAuthRoleList body,
ApiCallback<ApiAuthRoleList> callback)
Creates a list of auth roles.
|
com.squareup.okhttp.Call |
createAuthRolesCall(ApiAuthRoleList body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for createAuthRoles
|
ApiResponse<ApiAuthRoleList> |
createAuthRolesWithHttpInfo(ApiAuthRoleList body)
Creates a list of auth roles.
|
ApiAuthRole |
deleteAuthRole(String uuid)
Deletes an auth role from the system.
|
com.squareup.okhttp.Call |
deleteAuthRoleAsync(String uuid,
ApiCallback<ApiAuthRole> callback)
Deletes an auth role from the system.
|
com.squareup.okhttp.Call |
deleteAuthRoleCall(String uuid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for deleteAuthRole
|
ApiResponse<ApiAuthRole> |
deleteAuthRoleWithHttpInfo(String uuid)
Deletes an auth role from the system.
|
ApiClient |
getApiClient() |
ApiAuthRole |
readAuthRole(String uuid)
Returns detailed information about an auth role.
|
com.squareup.okhttp.Call |
readAuthRoleAsync(String uuid,
ApiCallback<ApiAuthRole> callback)
Returns detailed information about an auth role.
|
com.squareup.okhttp.Call |
readAuthRoleCall(String uuid,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAuthRole
|
ApiAuthRoleList |
readAuthRoles(String view)
Returns a list of the auth roles configured in the system.
|
com.squareup.okhttp.Call |
readAuthRolesAsync(String view,
ApiCallback<ApiAuthRoleList> callback)
Returns a list of the auth roles configured in the system.
|
com.squareup.okhttp.Call |
readAuthRolesCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAuthRoles
|
ApiAuthRoleMetadataList |
readAuthRolesMetadata(String view)
Returns a list of the auth roles' metadata for the built-in roles.
|
com.squareup.okhttp.Call |
readAuthRolesMetadataAsync(String view,
ApiCallback<ApiAuthRoleMetadataList> callback)
Returns a list of the auth roles' metadata for the built-in roles.
|
com.squareup.okhttp.Call |
readAuthRolesMetadataCall(String view,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for readAuthRolesMetadata
|
ApiResponse<ApiAuthRoleMetadataList> |
readAuthRolesMetadataWithHttpInfo(String view)
Returns a list of the auth roles' metadata for the built-in roles.
|
ApiResponse<ApiAuthRoleList> |
readAuthRolesWithHttpInfo(String view)
Returns a list of the auth roles configured in the system.
|
ApiResponse<ApiAuthRole> |
readAuthRoleWithHttpInfo(String uuid)
Returns detailed information about an auth role.
|
void |
setApiClient(ApiClient apiClient) |
ApiAuthRole |
updateAuthRole(String uuid,
ApiAuthRole body)
Updates the given auth role's information.
|
com.squareup.okhttp.Call |
updateAuthRoleAsync(String uuid,
ApiAuthRole body,
ApiCallback<ApiAuthRole> callback)
Updates the given auth role's information.
|
com.squareup.okhttp.Call |
updateAuthRoleCall(String uuid,
ApiAuthRole body,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAuthRole
|
ApiResponse<ApiAuthRole> |
updateAuthRoleWithHttpInfo(String uuid,
ApiAuthRole body)
Updates the given auth role's information.
|
public AuthRolesResourceApi()
public AuthRolesResourceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call createAuthRolesCall(ApiAuthRoleList body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body
- List of auth roles to create. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRoleList createAuthRoles(ApiAuthRoleList body) throws ApiException
body
- List of auth roles to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRoleList> createAuthRolesWithHttpInfo(ApiAuthRoleList body) throws ApiException
body
- List of auth roles to create. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call createAuthRolesAsync(ApiAuthRoleList body, ApiCallback<ApiAuthRoleList> callback) throws ApiException
body
- List of auth roles to create. (optional)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 deleteAuthRoleCall(String uuid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uuid
- The uuid of the auth role to delete. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRole deleteAuthRole(String uuid) throws ApiException
uuid
- The uuid of the auth role to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRole> deleteAuthRoleWithHttpInfo(String uuid) throws ApiException
uuid
- The uuid of the auth role to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call deleteAuthRoleAsync(String uuid, ApiCallback<ApiAuthRole> callback) throws ApiException
uuid
- The uuid of the auth role to delete. (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 readAuthRoleCall(String uuid, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uuid
- The auth role to read. (required)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRole readAuthRole(String uuid) throws ApiException
uuid
- The auth role to read. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRole> readAuthRoleWithHttpInfo(String uuid) throws ApiException
uuid
- The auth role to read. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAuthRoleAsync(String uuid, ApiCallback<ApiAuthRole> callback) throws ApiException
uuid
- The auth role to read. (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 readAuthRolesCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRoleList readAuthRoles(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRoleList> readAuthRolesWithHttpInfo(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAuthRolesAsync(String view, ApiCallback<ApiAuthRoleList> callback) throws ApiException
view
- (optional, default to summary)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 readAuthRolesMetadataCall(String view, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
view
- (optional, default to summary)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRoleMetadataList readAuthRolesMetadata(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRoleMetadataList> readAuthRolesMetadataWithHttpInfo(String view) throws ApiException
view
- (optional, default to summary)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call readAuthRolesMetadataAsync(String view, ApiCallback<ApiAuthRoleMetadataList> callback) throws ApiException
view
- (optional, default to summary)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 updateAuthRoleCall(String uuid, ApiAuthRole body, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
uuid
- Uuid of the auth role being updated. (required)body
- The auth role information. (optional)progressListener
- Progress listenerprogressRequestListener
- Progress request listenerApiException
- If fail to serialize the request body objectpublic ApiAuthRole updateAuthRole(String uuid, ApiAuthRole body) throws ApiException
uuid
- Uuid of the auth role being updated. (required)body
- The auth role information. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ApiAuthRole> updateAuthRoleWithHttpInfo(String uuid, ApiAuthRole body) throws ApiException
uuid
- Uuid of the auth role being updated. (required)body
- The auth role information. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAuthRoleAsync(String uuid, ApiAuthRole body, ApiCallback<ApiAuthRole> callback) throws ApiException
uuid
- Uuid of the auth role being updated. (required)body
- The auth role information. (optional)callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2019. All rights reserved.