Package com.okta.sdk.resource.api
Class GroupOwnerApi
java.lang.Object
com.okta.sdk.resource.api.GroupOwnerApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class GroupOwnerApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionassignGroupOwner
(String groupId, AssignGroupOwnerRequestBody assignGroupOwnerRequestBody) Assign a Group Owner Assigns a group ownerassignGroupOwner
(String groupId, AssignGroupOwnerRequestBody assignGroupOwnerRequestBody, Map<String, String> additionalHeaders) Assign a Group Owner Assigns a group ownervoid
deleteGroupOwner
(String groupId, String ownerId) Delete a Group Owner Deletes a group owner from a specific groupvoid
Delete a Group Owner Deletes a group owner from a specific groupprotected static com.fasterxml.jackson.databind.ObjectMapper
listGroupOwners
(String groupId, String search, String after, Integer limit) List all Group Owners Lists all owners for a specific grouplistGroupOwners
(String groupId, String search, String after, Integer limit, Map<String, String> additionalHeaders) List all Group Owners Lists all owners for a specific groupvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
GroupOwnerApi
public GroupOwnerApi() -
GroupOwnerApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
assignGroupOwner
public GroupOwner assignGroupOwner(String groupId, AssignGroupOwnerRequestBody assignGroupOwnerRequestBody) throws ApiException Assign a Group Owner Assigns a group owner- Parameters:
groupId
- The `id` of the group (required)assignGroupOwnerRequestBody
- (required)- Returns:
- GroupOwner
- Throws:
ApiException
- if fails to make API call
-
assignGroupOwner
public GroupOwner assignGroupOwner(String groupId, AssignGroupOwnerRequestBody assignGroupOwnerRequestBody, Map<String, String> additionalHeaders) throws ApiExceptionAssign a Group Owner Assigns a group owner- Parameters:
groupId
- The `id` of the group (required)assignGroupOwnerRequestBody
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- GroupOwner
- Throws:
ApiException
- if fails to make API call
-
deleteGroupOwner
Delete a Group Owner Deletes a group owner from a specific group- Parameters:
groupId
- The `id` of the group (required)ownerId
- The `id` of the group owner (required)- Throws:
ApiException
- if fails to make API call
-
deleteGroupOwner
public void deleteGroupOwner(String groupId, String ownerId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Group Owner Deletes a group owner from a specific group- Parameters:
groupId
- The `id` of the group (required)ownerId
- The `id` of the group owner (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
listGroupOwners
public List<GroupOwner> listGroupOwners(String groupId, String search, String after, Integer limit) throws ApiException List all Group Owners Lists all owners for a specific group- Parameters:
groupId
- The `id` of the group (required)search
- SCIM Filter expression for group owners. Allows to filter owners by type. (optional)after
- Specifies the pagination cursor for the next page of owners (optional)limit
- Specifies the number of owner results in a page (optional, default to 1000)- Returns:
- List<GroupOwner>
- Throws:
ApiException
- if fails to make API call
-
listGroupOwners
public List<GroupOwner> listGroupOwners(String groupId, String search, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all Group Owners Lists all owners for a specific group- Parameters:
groupId
- The `id` of the group (required)search
- SCIM Filter expression for group owners. Allows to filter owners by type. (optional)after
- Specifies the pagination cursor for the next page of owners (optional)limit
- Specifies the number of owner results in a page (optional, default to 1000)additionalHeaders
- additionalHeaders for this call- Returns:
- List<GroupOwner>
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-