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 Details

    • RoleCResourceSetResourceApi

      public RoleCResourceSetResourceApi()
    • RoleCResourceSetResourceApi

      public RoleCResourceSetResourceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 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)
      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 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)
      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 ApiException
      List 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()