Package com.okta.sdk.resource.api
Class RoleECustomPermissionApi
java.lang.Object
com.okta.sdk.resource.api.RoleECustomPermissionApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
           date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
           comments="Generator version: 7.8.0")
public class RoleECustomPermissionApi
extends Object
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreateRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance) Create a Custom Role Permission Creates a permission (specified by `permissionType`) for a Custom RolevoidcreateRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance, Map<String, String> additionalHeaders) Create a Custom Role Permission Creates a permission (specified by `permissionType`) for a Custom RolevoiddeleteRolePermission(String roleIdOrLabel, String permissionType) Delete a Custom Role Permission Deletes a permission (identified by `permissionType`) from a Custom RolevoiddeleteRolePermission(String roleIdOrLabel, String permissionType, Map<String, String> additionalHeaders) Delete a Custom Role Permission Deletes a permission (identified by `permissionType`) from a Custom Roleprotected static com.fasterxml.jackson.databind.ObjectMappergetRolePermission(String roleIdOrLabel, String permissionType) Retrieve a Custom Role Permission Retrieves a permission (identified by `permissionType`) for a Custom RolegetRolePermission(String roleIdOrLabel, String permissionType, Map<String, String> additionalHeaders) Retrieve a Custom Role Permission Retrieves a permission (identified by `permissionType`) for a Custom RolelistRolePermissions(String roleIdOrLabel) List all Custom Role Permissions Lists all permissions for a Custom Role by `roleIdOrLabel`listRolePermissions(String roleIdOrLabel, Map<String, String> additionalHeaders) List all Custom Role Permissions Lists all permissions for a Custom Role by `roleIdOrLabel`replaceRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance) Replace a Custom Role Permission Replaces a permission (specified by `permissionType`) for a Custom RolereplaceRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance, Map<String, String> additionalHeaders) Replace a Custom Role Permission Replaces a permission (specified by `permissionType`) for a Custom RolevoidsetApiClient(ApiClient apiClient) 
- 
Constructor Details- 
RoleECustomPermissionApipublic RoleECustomPermissionApi()
- 
RoleECustomPermissionApi
 
- 
- 
Method Details- 
getApiClient
- 
setApiClient
- 
createRolePermissionpublic void createRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance) throws ApiException Create a Custom Role Permission Creates a permission (specified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- instance- (optional)
- Throws:
- ApiException- if fails to make API call
 
- 
createRolePermissionpublic void createRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Custom Role Permission Creates a permission (specified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- instance- (optional)
- additionalHeaders- additionalHeaders for this call
- Throws:
- ApiException- if fails to make API call
 
- 
deleteRolePermissionDelete a Custom Role Permission Deletes a permission (identified by `permissionType`) from a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- Throws:
- ApiException- if fails to make API call
 
- 
deleteRolePermissionpublic void deleteRolePermission(String roleIdOrLabel, String permissionType, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Custom Role Permission Deletes a permission (identified by `permissionType`) from a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- additionalHeaders- additionalHeaders for this call
- Throws:
- ApiException- if fails to make API call
 
- 
getRolePermissionpublic Permission getRolePermission(String roleIdOrLabel, String permissionType) throws ApiException Retrieve a Custom Role Permission Retrieves a permission (identified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- Returns:
- Permission
- Throws:
- ApiException- if fails to make API call
 
- 
getRolePermissionpublic Permission getRolePermission(String roleIdOrLabel, String permissionType, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Custom Role Permission Retrieves a permission (identified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- additionalHeaders- additionalHeaders for this call
- Returns:
- Permission
- Throws:
- ApiException- if fails to make API call
 
- 
listRolePermissionsList all Custom Role Permissions Lists all permissions for a Custom Role by `roleIdOrLabel`- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- Returns:
- Permissions
- Throws:
- ApiException- if fails to make API call
 
- 
listRolePermissionspublic Permissions listRolePermissions(String roleIdOrLabel, Map<String, String> additionalHeaders) throws ApiExceptionList all Custom Role Permissions Lists all permissions for a Custom Role by `roleIdOrLabel`- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- additionalHeaders- additionalHeaders for this call
- Returns:
- Permissions
- Throws:
- ApiException- if fails to make API call
 
- 
replaceRolePermissionpublic Permission replaceRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance) throws ApiException Replace a Custom Role Permission Replaces a permission (specified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- instance- (optional)
- Returns:
- Permission
- Throws:
- ApiException- if fails to make API call
 
- 
replaceRolePermissionpublic Permission replaceRolePermission(String roleIdOrLabel, String permissionType, CreateUpdateIamRolePermissionRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Custom Role Permission Replaces a permission (specified by `permissionType`) for a Custom Role- Parameters:
- roleIdOrLabel- `id` or `label` of the Role (required)
- permissionType- An okta permission type (required)
- instance- (optional)
- additionalHeaders- additionalHeaders for this call
- Returns:
- Permission
- Throws:
- ApiException- if fails to make API call
 
- 
getObjectMapperprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
 
-