@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class RoleTargetApi extends Object
Constructor and Description |
---|
RoleTargetApi() |
RoleTargetApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
assignAllAppsAsTargetToRoleForUser(String userId,
String roleId)
Assign all Apps as Target to Role
Assigns all Apps as Target to Role
|
void |
assignAllAppsAsTargetToRoleForUser(String userId,
String roleId,
Map<String,String> additionalHeaders)
Assign all Apps as Target to Role
Assigns all Apps as Target to Role
|
void |
assignAppInstanceTargetToAppAdminRoleForGroup(String groupId,
String roleId,
String appName,
String appId)
Assign an Application Instance Target to Application Administrator Role
Assigns App Instance Target to App Administrator Role given to a Group
|
void |
assignAppInstanceTargetToAppAdminRoleForGroup(String groupId,
String roleId,
String appName,
String appId,
Map<String,String> additionalHeaders)
Assign an Application Instance Target to Application Administrator Role
Assigns App Instance Target to App Administrator Role given to a Group
|
void |
assignAppInstanceTargetToAppAdminRoleForUser(String userId,
String roleId,
String appName,
String appId)
Assign an Application Instance Target to an Application Administrator Role
Assigns anapplication instance target to appplication administrator role
|
void |
assignAppInstanceTargetToAppAdminRoleForUser(String userId,
String roleId,
String appName,
String appId,
Map<String,String> additionalHeaders)
Assign an Application Instance Target to an Application Administrator Role
Assigns anapplication instance target to appplication administrator role
|
void |
assignAppTargetToAdminRoleForGroup(String groupId,
String roleId,
String appName)
Assign an Application Target to Administrator Role
Assigns an application target to administrator role
|
void |
assignAppTargetToAdminRoleForGroup(String groupId,
String roleId,
String appName,
Map<String,String> additionalHeaders)
Assign an Application Target to Administrator Role
Assigns an application target to administrator role
|
void |
assignAppTargetToAdminRoleForUser(String userId,
String roleId,
String appName)
Assign an Application Target to Administrator Role
Assigns an application target to administrator role
|
void |
assignAppTargetToAdminRoleForUser(String userId,
String roleId,
String appName,
Map<String,String> additionalHeaders)
Assign an Application Target to Administrator Role
Assigns an application target to administrator role
|
void |
assignGroupTargetToGroupAdminRole(String groupId,
String roleId,
String targetGroupId)
Assign a Group Target to a Group Role
Assigns a group target to a group role
|
void |
assignGroupTargetToGroupAdminRole(String groupId,
String roleId,
String targetGroupId,
Map<String,String> additionalHeaders)
Assign a Group Target to a Group Role
Assigns a group target to a group role
|
void |
assignGroupTargetToUserRole(String userId,
String roleId,
String groupId)
Assign a Group Target to Role
Assigns a Group Target to Role
|
void |
assignGroupTargetToUserRole(String userId,
String roleId,
String groupId,
Map<String,String> additionalHeaders)
Assign a Group Target to Role
Assigns a Group Target to Role
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<CatalogApplication> |
listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId,
String roleId,
String after,
Integer limit)
List all Application Targets for an Application Administrator Role
Lists all App targets for an `APP_ADMIN` Role assigned to a Group.
|
List<CatalogApplication> |
listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId,
String roleId,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Application Targets for an Application Administrator Role
Lists all App targets for an `APP_ADMIN` Role assigned to a Group.
|
List<CatalogApplication> |
listApplicationTargetsForApplicationAdministratorRoleForUser(String userId,
String roleId,
String after,
Integer limit)
List all Application Targets for Application Administrator Role
Lists all App targets for an `APP_ADMIN` Role assigned to a User.
|
List<CatalogApplication> |
listApplicationTargetsForApplicationAdministratorRoleForUser(String userId,
String roleId,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Application Targets for Application Administrator Role
Lists all App targets for an `APP_ADMIN` Role assigned to a User.
|
List<Group> |
listGroupTargetsForGroupRole(String groupId,
String roleId,
String after,
Integer limit)
List all Group Targets for a Group Role
Lists all group targets for a group role
|
List<Group> |
listGroupTargetsForGroupRole(String groupId,
String roleId,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Group Targets for a Group Role
Lists all group targets for a group role
|
List<Group> |
listGroupTargetsForRole(String userId,
String roleId,
String after,
Integer limit)
List all Group Targets for Role
Lists all group targets for role
|
List<Group> |
listGroupTargetsForRole(String userId,
String roleId,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Group Targets for Role
Lists all group targets for role
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignAppInstanceTargetFromAdminRoleForUser(String userId,
String roleId,
String appName,
String appId)
Unassign an Application Instance Target from an Application Administrator Role
Unassigns an application instance target from an application administrator role
|
void |
unassignAppInstanceTargetFromAdminRoleForUser(String userId,
String roleId,
String appName,
String appId,
Map<String,String> additionalHeaders)
Unassign an Application Instance Target from an Application Administrator Role
Unassigns an application instance target from an application administrator role
|
void |
unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId,
String roleId,
String appName,
String appId)
Unassign an Application Instance Target from an Application Administrator Role
Unassigns an application instance target from application administrator role
|
void |
unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId,
String roleId,
String appName,
String appId,
Map<String,String> additionalHeaders)
Unassign an Application Instance Target from an Application Administrator Role
Unassigns an application instance target from application administrator role
|
void |
unassignAppTargetFromAppAdminRoleForUser(String userId,
String roleId,
String appName)
Unassign an Application Target from an Application Administrator Role
Unassigns an application target from application administrator role
|
void |
unassignAppTargetFromAppAdminRoleForUser(String userId,
String roleId,
String appName,
Map<String,String> additionalHeaders)
Unassign an Application Target from an Application Administrator Role
Unassigns an application target from application administrator role
|
void |
unassignAppTargetToAdminRoleForGroup(String groupId,
String roleId,
String appName)
Unassign an Application Target from Application Administrator Role
Unassigns an application target from application administrator role
|
void |
unassignAppTargetToAdminRoleForGroup(String groupId,
String roleId,
String appName,
Map<String,String> additionalHeaders)
Unassign an Application Target from Application Administrator Role
Unassigns an application target from application administrator role
|
void |
unassignGroupTargetFromGroupAdminRole(String groupId,
String roleId,
String targetGroupId)
Unassign a Group Target from a Group Role
Unassigns a group target from a group role
|
void |
unassignGroupTargetFromGroupAdminRole(String groupId,
String roleId,
String targetGroupId,
Map<String,String> additionalHeaders)
Unassign a Group Target from a Group Role
Unassigns a group target from a group role
|
void |
unassignGroupTargetFromUserAdminRole(String userId,
String roleId,
String groupId)
Unassign a Group Target from Role
Unassigns a Group Target from Role
|
void |
unassignGroupTargetFromUserAdminRole(String userId,
String roleId,
String groupId,
Map<String,String> additionalHeaders)
Unassign a Group Target from Role
Unassigns a Group Target from Role
|
public RoleTargetApi()
public RoleTargetApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void assignAllAppsAsTargetToRoleForUser(String userId, String roleId) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)ApiException
- if fails to make API callpublic void assignAllAppsAsTargetToRoleForUser(String userId, String roleId, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)ApiException
- if fails to make API callpublic void assignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignAppInstanceTargetToAppAdminRoleForUser(String userId, String roleId, String appName, String appId) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)ApiException
- if fails to make API callpublic void assignAppInstanceTargetToAppAdminRoleForUser(String userId, String roleId, String appName, String appId, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)ApiException
- if fails to make API callpublic void assignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignAppTargetToAdminRoleForUser(String userId, String roleId, String appName) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)ApiException
- if fails to make API callpublic void assignAppTargetToAdminRoleForUser(String userId, String roleId, String appName, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignGroupTargetToGroupAdminRole(String groupId, String roleId, String targetGroupId) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)ApiException
- if fails to make API callpublic void assignGroupTargetToGroupAdminRole(String groupId, String roleId, String targetGroupId, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void assignGroupTargetToUserRole(String userId, String roleId, String groupId) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)ApiException
- if fails to make API callpublic void assignGroupTargetToUserRole(String userId, String roleId, String groupId, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId, String after, Integer limit) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)ApiException
- if fails to make API callpublic List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForGroup(String groupId, String roleId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId, String after, Integer limit) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)ApiException
- if fails to make API callpublic List<CatalogApplication> listApplicationTargetsForApplicationAdministratorRoleForUser(String userId, String roleId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Group> listGroupTargetsForGroupRole(String groupId, String roleId, String after, Integer limit) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)ApiException
- if fails to make API callpublic List<Group> listGroupTargetsForGroupRole(String groupId, String roleId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Group> listGroupTargetsForRole(String userId, String roleId, String after, Integer limit) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)ApiException
- if fails to make API callpublic List<Group> listGroupTargetsForRole(String userId, String roleId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)after
- (optional)limit
- (optional, default to 20)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignAppInstanceTargetFromAdminRoleForUser(String userId, String roleId, String appName, String appId) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)ApiException
- if fails to make API callpublic void unassignAppInstanceTargetFromAdminRoleForUser(String userId, String roleId, String appName, String appId, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)ApiException
- if fails to make API callpublic void unassignAppInstanceTargetToAppAdminRoleForGroup(String groupId, String roleId, String appName, String appId, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignAppTargetFromAppAdminRoleForUser(String userId, String roleId, String appName) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)ApiException
- if fails to make API callpublic void unassignAppTargetFromAppAdminRoleForUser(String userId, String roleId, String appName, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)appName
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)ApiException
- if fails to make API callpublic void unassignAppTargetToAdminRoleForGroup(String groupId, String roleId, String appName, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)appName
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignGroupTargetFromGroupAdminRole(String groupId, String roleId, String targetGroupId) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)ApiException
- if fails to make API callpublic void unassignGroupTargetFromGroupAdminRole(String groupId, String roleId, String targetGroupId, Map<String,String> additionalHeaders) throws ApiException
groupId
- The `id` of the group (required)roleId
- `id` of the Role (required)targetGroupId
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignGroupTargetFromUserAdminRole(String userId, String roleId, String groupId) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)ApiException
- if fails to make API callpublic void unassignGroupTargetFromUserAdminRole(String userId, String roleId, String groupId, Map<String,String> additionalHeaders) throws ApiException
userId
- (required)roleId
- `id` of the Role (required)groupId
- The `id` of the group (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.