@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ApplicationGroupsApi extends Object
Constructor and Description |
---|
ApplicationGroupsApi() |
ApplicationGroupsApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ApplicationGroupAssignment |
assignGroupToApplication(String appId,
String groupId,
ApplicationGroupAssignment applicationGroupAssignment)
Assign a Group
Assigns a group to an application
|
ApplicationGroupAssignment |
assignGroupToApplication(String appId,
String groupId,
ApplicationGroupAssignment applicationGroupAssignment,
Map<String,String> additionalHeaders)
Assign a Group
Assigns a group to an application
|
ApiClient |
getApiClient() |
ApplicationGroupAssignment |
getApplicationGroupAssignment(String appId,
String groupId,
String expand)
Retrieve an Assigned Group
Retrieves an application group assignment
|
ApplicationGroupAssignment |
getApplicationGroupAssignment(String appId,
String groupId,
String expand,
Map<String,String> additionalHeaders)
Retrieve an Assigned Group
Retrieves an application group assignment
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
List<ApplicationGroupAssignment> |
listApplicationGroupAssignments(String appId,
String q,
String after,
Integer limit,
String expand)
List all Assigned Groups
Lists all group assignments for an application
|
List<ApplicationGroupAssignment> |
listApplicationGroupAssignments(String appId,
String q,
String after,
Integer limit,
String expand,
Map<String,String> additionalHeaders)
List all Assigned Groups
Lists all group assignments for an application
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignApplicationFromGroup(String appId,
String groupId)
Unassign a Group
Unassigns a group from an application
|
void |
unassignApplicationFromGroup(String appId,
String groupId,
Map<String,String> additionalHeaders)
Unassign a Group
Unassigns a group from an application
|
public ApplicationGroupsApi()
public ApplicationGroupsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ApplicationGroupAssignment assignGroupToApplication(String appId, String groupId, ApplicationGroupAssignment applicationGroupAssignment) throws ApiException
appId
- ID of the Application (required)groupId
- The `id` of the group (required)applicationGroupAssignment
- (optional)ApiException
- if fails to make API callpublic ApplicationGroupAssignment assignGroupToApplication(String appId, String groupId, ApplicationGroupAssignment applicationGroupAssignment, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)groupId
- The `id` of the group (required)applicationGroupAssignment
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ApplicationGroupAssignment getApplicationGroupAssignment(String appId, String groupId, String expand) throws ApiException
appId
- ID of the Application (required)groupId
- The `id` of the group (required)expand
- (optional)ApiException
- if fails to make API callpublic ApplicationGroupAssignment getApplicationGroupAssignment(String appId, String groupId, String expand, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)groupId
- The `id` of the group (required)expand
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<ApplicationGroupAssignment> listApplicationGroupAssignments(String appId, String q, String after, Integer limit, String expand) throws ApiException
appId
- ID of the Application (required)q
- (optional)after
- Specifies the pagination cursor for the next page of assignments (optional)limit
- Specifies the number of results for a page (optional, default to -1)expand
- (optional)ApiException
- if fails to make API callpublic List<ApplicationGroupAssignment> listApplicationGroupAssignments(String appId, String q, String after, Integer limit, String expand, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)q
- (optional)after
- Specifies the pagination cursor for the next page of assignments (optional)limit
- Specifies the number of results for a page (optional, default to -1)expand
- (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignApplicationFromGroup(String appId, String groupId) throws ApiException
appId
- ID of the Application (required)groupId
- The `id` of the group (required)ApiException
- if fails to make API callpublic void unassignApplicationFromGroup(String appId, String groupId, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (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.