Class RoleDResourceSetBindingMemberApi

java.lang.Object
com.okta.sdk.resource.api.RoleDResourceSetBindingMemberApi

@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 RoleDResourceSetBindingMemberApi extends Object
  • Constructor Details

    • RoleDResourceSetBindingMemberApi

      public RoleDResourceSetBindingMemberApi()
    • RoleDResourceSetBindingMemberApi

      public RoleDResourceSetBindingMemberApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • addMembersToBinding

      public ResourceSetBindingResponse addMembersToBinding(String resourceSetIdOrLabel, String roleIdOrLabel, ResourceSetBindingAddMembersRequest instance) throws ApiException
      Add more Role Resource Set Binding Members Adds more members to a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      instance - (required)
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • addMembersToBinding

      public ResourceSetBindingResponse addMembersToBinding(String resourceSetIdOrLabel, String roleIdOrLabel, ResourceSetBindingAddMembersRequest instance, Map<String,String> additionalHeaders) throws ApiException
      Add more Role Resource Set Binding Members Adds more members to a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      instance - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • getMemberOfBinding

      public ResourceSetBindingMember getMemberOfBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String memberId) throws ApiException
      Retrieve a Role Resource Set Binding Member Retrieves a Member (identified by `memberId`) that belongs to a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      memberId - `id` of the Member (required)
      Returns:
      ResourceSetBindingMember
      Throws:
      ApiException - if fails to make API call
    • getMemberOfBinding

      public ResourceSetBindingMember getMemberOfBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String memberId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Role Resource Set Binding Member Retrieves a Member (identified by `memberId`) that belongs to a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      memberId - `id` of the Member (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetBindingMember
      Throws:
      ApiException - if fails to make API call
    • listMembersOfBinding

      public ResourceSetBindingMembers listMembersOfBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String after) throws ApiException
      List all Role Resource Set Binding Members Lists all members of a Role Resource Set Binding with pagination support
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      after - The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](https://developer.okta.com/docs/api/#pagination). (optional)
      Returns:
      ResourceSetBindingMembers
      Throws:
      ApiException - if fails to make API call
    • listMembersOfBinding

      public ResourceSetBindingMembers listMembersOfBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String after, Map<String,String> additionalHeaders) throws ApiException
      List all Role Resource Set Binding Members Lists all members of a Role Resource Set Binding with pagination support
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      after - The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](https://developer.okta.com/docs/api/#pagination). (optional)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetBindingMembers
      Throws:
      ApiException - if fails to make API call
    • unassignMemberFromBinding

      public void unassignMemberFromBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String memberId) throws ApiException
      Unassign a Role Resource Set Bindiing Member Unassigns a Member (identified by `memberId`) from a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      memberId - `id` of the Member (required)
      Throws:
      ApiException - if fails to make API call
    • unassignMemberFromBinding

      public void unassignMemberFromBinding(String resourceSetIdOrLabel, String roleIdOrLabel, String memberId, Map<String,String> additionalHeaders) throws ApiException
      Unassign a Role Resource Set Bindiing Member Unassigns a Member (identified by `memberId`) from a Role Resource Set Binding
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      memberId - `id` of the Member (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()