Package com.okta.sdk.resource.api
Class RoleCResourceSetResourceApi
java.lang.Object
com.okta.sdk.resource.api.RoleCResourceSetResourceApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class RoleCResourceSetResourceApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddResourceSetResources
(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance) Add more Resources to a Resource Set Adds more Resources to a Resource SetaddResourceSetResources
(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance, Map<String, String> additionalHeaders) Add more Resources to a Resource Set Adds more Resources to a Resource Setvoid
deleteResourceSetResource
(String resourceSetIdOrLabel, String resourceId) Delete a Resource Set Resource Deletes a Resource (identified by `resourceId`) from a Resource Setvoid
deleteResourceSetResource
(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) Delete a Resource Set Resource Deletes a Resource (identified by `resourceId`) from a Resource Setprotected static com.fasterxml.jackson.databind.ObjectMapper
listResourceSetResources
(String resourceSetIdOrLabel) List all Resource Set Resources Lists all Resources for the Resource SetlistResourceSetResources
(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) List all Resource Set Resources Lists all Resources for the Resource Setvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
RoleCResourceSetResourceApi
public RoleCResourceSetResourceApi() -
RoleCResourceSetResourceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addResourceSetResources
public ResourceSet addResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance) throws ApiException Add more Resources to a Resource Set Adds more Resources to a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)instance
- (required)- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
addResourceSetResources
public ResourceSet addResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionAdd more Resources to a Resource Set Adds more Resources to a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
deleteResourceSetResource
public void deleteResourceSetResource(String resourceSetIdOrLabel, String resourceId) throws ApiException Delete a Resource Set Resource Deletes a Resource (identified by `resourceId`) from a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)resourceId
- `id` of the Resource (required)- Throws:
ApiException
- if fails to make API call
-
deleteResourceSetResource
public void deleteResourceSetResource(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Resource Set Resource Deletes a Resource (identified by `resourceId`) from a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)resourceId
- `id` of the Resource (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
listResourceSetResources
public ResourceSetResources listResourceSetResources(String resourceSetIdOrLabel) throws ApiException List all Resource Set Resources Lists all Resources for the Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)- Returns:
- ResourceSetResources
- Throws:
ApiException
- if fails to make API call
-
listResourceSetResources
public ResourceSetResources listResourceSetResources(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) throws ApiExceptionList all Resource Set Resources Lists all Resources for the Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSetResources
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-