@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ResourceSetApi extends Object
Constructor and Description |
---|
ResourceSetApi() |
ResourceSetApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
ResourceSetBindingResponse |
addMembersToBinding(String resourceSetId,
String roleIdOrLabel,
ResourceSetBindingAddMembersRequest instance)
Add more Members to a binding
Adds more members to a Resource Set binding
|
ResourceSetBindingResponse |
addMembersToBinding(String resourceSetId,
String roleIdOrLabel,
ResourceSetBindingAddMembersRequest instance,
Map<String,String> additionalHeaders)
Add more Members to a binding
Adds more members to a Resource Set binding
|
ResourceSet |
addResourceSetResource(String resourceSetId,
ResourceSetResourcePatchRequest instance)
Add more Resource to a Resource Set
Adds more resources to a Resource Set
|
ResourceSet |
addResourceSetResource(String resourceSetId,
ResourceSetResourcePatchRequest instance,
Map<String,String> additionalHeaders)
Add more Resource to a Resource Set
Adds more resources to a Resource Set
|
ResourceSet |
createResourceSet(CreateResourceSetRequest instance)
Create a Resource Set
Creates a new Resource Set
|
ResourceSet |
createResourceSet(CreateResourceSetRequest instance,
Map<String,String> additionalHeaders)
Create a Resource Set
Creates a new Resource Set
|
ResourceSetBindingResponse |
createResourceSetBinding(String resourceSetId,
ResourceSetBindingCreateRequest instance)
Create a Resource Set Binding
Creates a new Resource Set binding
|
ResourceSetBindingResponse |
createResourceSetBinding(String resourceSetId,
ResourceSetBindingCreateRequest instance,
Map<String,String> additionalHeaders)
Create a Resource Set Binding
Creates a new Resource Set binding
|
void |
deleteBinding(String resourceSetId,
String roleIdOrLabel)
Delete a Binding
Deletes a Resource Set binding by `resourceSetId` and `roleIdOrLabel`
|
void |
deleteBinding(String resourceSetId,
String roleIdOrLabel,
Map<String,String> additionalHeaders)
Delete a Binding
Deletes a Resource Set binding by `resourceSetId` and `roleIdOrLabel`
|
void |
deleteResourceSet(String resourceSetId)
Delete a Resource Set
Deletes a role by `resourceSetId`
|
void |
deleteResourceSet(String resourceSetId,
Map<String,String> additionalHeaders)
Delete a Resource Set
Deletes a role by `resourceSetId`
|
void |
deleteResourceSetResource(String resourceSetId,
String resourceId)
Delete a Resource from a Resource Set
Deletes a resource identified by `resourceId` from a Resource Set
|
void |
deleteResourceSetResource(String resourceSetId,
String resourceId,
Map<String,String> additionalHeaders)
Delete a Resource from a Resource Set
Deletes a resource identified by `resourceId` from a Resource Set
|
ApiClient |
getApiClient() |
ResourceSetBindingResponse |
getBinding(String resourceSetId,
String roleIdOrLabel)
Retrieve a Binding
Retrieves a Resource Set binding by `resourceSetId` and `roleIdOrLabel`
|
ResourceSetBindingResponse |
getBinding(String resourceSetId,
String roleIdOrLabel,
Map<String,String> additionalHeaders)
Retrieve a Binding
Retrieves a Resource Set binding by `resourceSetId` and `roleIdOrLabel`
|
ResourceSetBindingMember |
getMemberOfBinding(String resourceSetId,
String roleIdOrLabel,
String memberId)
Retrieve a Member of a binding
Retrieves a member identified by `memberId` for a binding
|
ResourceSetBindingMember |
getMemberOfBinding(String resourceSetId,
String roleIdOrLabel,
String memberId,
Map<String,String> additionalHeaders)
Retrieve a Member of a binding
Retrieves a member identified by `memberId` for a binding
|
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
ResourceSet |
getResourceSet(String resourceSetId)
Retrieve a Resource Set
Retrieves a Resource Set by `resourceSetId`
|
ResourceSet |
getResourceSet(String resourceSetId,
Map<String,String> additionalHeaders)
Retrieve a Resource Set
Retrieves a Resource Set by `resourceSetId`
|
ResourceSetBindings |
listBindings(String resourceSetId,
String after)
List all Bindings
Lists all Resource Set bindings with pagination support
|
ResourceSetBindings |
listBindings(String resourceSetId,
String after,
Map<String,String> additionalHeaders)
List all Bindings
Lists all Resource Set bindings with pagination support
|
ResourceSetBindingMembers |
listMembersOfBinding(String resourceSetId,
String roleIdOrLabel,
String after)
List all Members of a binding
Lists all members of a Resource Set binding with pagination support
|
ResourceSetBindingMembers |
listMembersOfBinding(String resourceSetId,
String roleIdOrLabel,
String after,
Map<String,String> additionalHeaders)
List all Members of a binding
Lists all members of a Resource Set binding with pagination support
|
ResourceSetResources |
listResourceSetResources(String resourceSetId)
List all Resources of a Resource Set
Lists all resources that make up the Resource Set
|
ResourceSetResources |
listResourceSetResources(String resourceSetId,
Map<String,String> additionalHeaders)
List all Resources of a Resource Set
Lists all resources that make up the Resource Set
|
ResourceSets |
listResourceSets(String after)
List all Resource Sets
Lists all Resource Sets with pagination support
|
ResourceSets |
listResourceSets(String after,
Map<String,String> additionalHeaders)
List all Resource Sets
Lists all Resource Sets with pagination support
|
ResourceSet |
replaceResourceSet(String resourceSetId,
ResourceSet instance)
Replace a Resource Set
Replaces a Resource Set by `resourceSetId`
|
ResourceSet |
replaceResourceSet(String resourceSetId,
ResourceSet instance,
Map<String,String> additionalHeaders)
Replace a Resource Set
Replaces a Resource Set by `resourceSetId`
|
void |
setApiClient(ApiClient apiClient) |
void |
unassignMemberFromBinding(String resourceSetId,
String roleIdOrLabel,
String memberId)
Unassign a Member from a binding
Unassigns a member identified by `memberId` from a binding
|
void |
unassignMemberFromBinding(String resourceSetId,
String roleIdOrLabel,
String memberId,
Map<String,String> additionalHeaders)
Unassign a Member from a binding
Unassigns a member identified by `memberId` from a binding
|
public ResourceSetApi()
public ResourceSetApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public ResourceSetBindingResponse addMembersToBinding(String resourceSetId, String roleIdOrLabel, ResourceSetBindingAddMembersRequest instance) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)instance
- (required)ApiException
- if fails to make API callpublic ResourceSetBindingResponse addMembersToBinding(String resourceSetId, String roleIdOrLabel, ResourceSetBindingAddMembersRequest instance, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSet addResourceSetResource(String resourceSetId, ResourceSetResourcePatchRequest instance) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)ApiException
- if fails to make API callpublic ResourceSet addResourceSetResource(String resourceSetId, ResourceSetResourcePatchRequest instance, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSet createResourceSet(CreateResourceSetRequest instance) throws ApiException
instance
- (required)ApiException
- if fails to make API callpublic ResourceSet createResourceSet(CreateResourceSetRequest instance, Map<String,String> additionalHeaders) throws ApiException
instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetBindingResponse createResourceSetBinding(String resourceSetId, ResourceSetBindingCreateRequest instance) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)ApiException
- if fails to make API callpublic ResourceSetBindingResponse createResourceSetBinding(String resourceSetId, ResourceSetBindingCreateRequest instance, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteBinding(String resourceSetId, String roleIdOrLabel) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)ApiException
- if fails to make API callpublic void deleteBinding(String resourceSetId, String roleIdOrLabel, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteResourceSet(String resourceSetId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)ApiException
- if fails to make API callpublic void deleteResourceSet(String resourceSetId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteResourceSetResource(String resourceSetId, String resourceId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)resourceId
- `id` of a resource (required)ApiException
- if fails to make API callpublic void deleteResourceSetResource(String resourceSetId, String resourceId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)resourceId
- `id` of a resource (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetBindingResponse getBinding(String resourceSetId, String roleIdOrLabel) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)ApiException
- if fails to make API callpublic ResourceSetBindingResponse getBinding(String resourceSetId, String roleIdOrLabel, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetBindingMember getMemberOfBinding(String resourceSetId, String roleIdOrLabel, String memberId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)memberId
- `id` of a member (required)ApiException
- if fails to make API callpublic ResourceSetBindingMember getMemberOfBinding(String resourceSetId, String roleIdOrLabel, String memberId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)memberId
- `id` of a member (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSet getResourceSet(String resourceSetId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)ApiException
- if fails to make API callpublic ResourceSet getResourceSet(String resourceSetId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetBindings listBindings(String resourceSetId, String after) throws ApiException
resourceSetId
- `id` of a Resource Set (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](/#pagination) for more information. (optional)ApiException
- if fails to make API callpublic ResourceSetBindings listBindings(String resourceSetId, String after, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (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](/#pagination) for more information. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetBindingMembers listMembersOfBinding(String resourceSetId, String roleIdOrLabel, String after) throws ApiException
resourceSetId
- `id` of a 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](/#pagination) for more information. (optional)ApiException
- if fails to make API callpublic ResourceSetBindingMembers listMembersOfBinding(String resourceSetId, String roleIdOrLabel, String after, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a 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](/#pagination) for more information. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSetResources listResourceSetResources(String resourceSetId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)ApiException
- if fails to make API callpublic ResourceSetResources listResourceSetResources(String resourceSetId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSets listResourceSets(String after) throws ApiException
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](/#pagination) for more information. (optional)ApiException
- if fails to make API callpublic ResourceSets listResourceSets(String after, Map<String,String> additionalHeaders) throws ApiException
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](/#pagination) for more information. (optional)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic ResourceSet replaceResourceSet(String resourceSetId, ResourceSet instance) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)ApiException
- if fails to make API callpublic ResourceSet replaceResourceSet(String resourceSetId, ResourceSet instance, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)instance
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void unassignMemberFromBinding(String resourceSetId, String roleIdOrLabel, String memberId) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)memberId
- `id` of a member (required)ApiException
- if fails to make API callpublic void unassignMemberFromBinding(String resourceSetId, String roleIdOrLabel, String memberId, Map<String,String> additionalHeaders) throws ApiException
resourceSetId
- `id` of a Resource Set (required)roleIdOrLabel
- `id` or `label` of the role (required)memberId
- `id` of a member (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.