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-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class RoleCResourceSetResourceApi
extends Object
-
Constructor Summary
Constructors -
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 SetvoiddeleteResourceSetResource(String resourceSetIdOrLabel, String resourceId) Delete a Resource Set Resource Deletes a Resource (identified by `resourceId`) from a Resource SetvoiddeleteResourceSetResource(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.ObjectMapperlistResourceSetResources(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 SetvoidsetApiClient(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()
-