Package com.okta.sdk.resource.api
Class UiSchemaApi
java.lang.Object
com.okta.sdk.resource.api.UiSchemaApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class UiSchemaApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateUISchema(CreateUISchema uischemabody) Create a UI schema Creates an input for an enrollment formcreateUISchema(CreateUISchema uischemabody, Map<String, String> additionalHeaders) Create a UI schema Creates an input for an enrollment formvoidDelete a UI schema Deletes a UI Schema by `id`voiddeleteUISchemas(String id, Map<String, String> additionalHeaders) Delete a UI schema Deletes a UI Schema by `id`protected static com.fasterxml.jackson.databind.ObjectMappergetUISchema(String id) Retrieve a UI schema Retrieves a UI Schema by `id`getUISchema(String id, Map<String, String> additionalHeaders) Retrieve a UI schema Retrieves a UI Schema by `id`List all UI schemas Lists all UI Schemas in your orglistUISchemas(Map<String, String> additionalHeaders) List all UI schemas Lists all UI Schemas in your orgList all UI schemas (Paginated) Lists all UI Schemas in your org This method returns a lazy, paginated iterable that automatically handles pagination.listUISchemasPaged(Map<String, String> additionalHeaders) List all UI schemas (Paginated with additional headers) Lists all UI Schemas in your org This method returns a lazy, paginated iterable that automatically handles pagination.replaceUISchemas(String id, UpdateUISchema updateUISchemaBody) Replace a UI schema Replaces a UI Schema by `id`replaceUISchemas(String id, UpdateUISchema updateUISchemaBody, Map<String, String> additionalHeaders) Replace a UI schema Replaces a UI Schema by `id`voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
UiSchemaApi
public UiSchemaApi() -
UiSchemaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createUISchema
Create a UI schema Creates an input for an enrollment form- Parameters:
uischemabody- (required)- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
createUISchema
public UISchemasResponseObject createUISchema(CreateUISchema uischemabody, Map<String, String> additionalHeaders) throws ApiExceptionCreate a UI schema Creates an input for an enrollment form- Parameters:
uischemabody- (required)additionalHeaders- additionalHeaders for this call- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
deleteUISchemas
Delete a UI schema Deletes a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)- Throws:
ApiException- if fails to make API call
-
deleteUISchemas
Delete a UI schema Deletes a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getUISchema
Retrieve a UI schema Retrieves a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
getUISchema
public UISchemasResponseObject getUISchema(String id, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a UI schema Retrieves a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)additionalHeaders- additionalHeaders for this call- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
listUISchemas
List all UI schemas Lists all UI Schemas in your org- Returns:
- List<UISchemasResponseObject>
- Throws:
ApiException- if fails to make API call
-
listUISchemas
public List<UISchemasResponseObject> listUISchemas(Map<String, String> additionalHeaders) throws ApiExceptionList all UI schemas Lists all UI Schemas in your org- Parameters:
additionalHeaders- additionalHeaders for this call- Returns:
- List<UISchemasResponseObject>
- Throws:
ApiException- if fails to make API call
-
listUISchemasPaged
List all UI schemas (Paginated) Lists all UI Schemas in your org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks. Use this method in a for-each loop to automatically fetch all pages without manual cursor management.- Returns:
- Iterable<UISchemasResponseObject> lazy iterable over all pages
-
listUISchemasPaged
List all UI schemas (Paginated with additional headers) Lists all UI Schemas in your org This method returns a lazy, paginated iterable that automatically handles pagination. It is thread-safe and does not cause memory leaks.- Parameters:
additionalHeaders- additional headers for this call- Returns:
- Iterable<UISchemasResponseObject> lazy iterable over all pages
-
replaceUISchemas
public UISchemasResponseObject replaceUISchemas(String id, UpdateUISchema updateUISchemaBody) throws ApiException Replace a UI schema Replaces a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)updateUISchemaBody- (required)- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
replaceUISchemas
public UISchemasResponseObject replaceUISchemas(String id, UpdateUISchema updateUISchemaBody, Map<String, String> additionalHeaders) throws ApiExceptionReplace a UI schema Replaces a UI Schema by `id`- Parameters:
id- The unique ID of the UI Schema (required)updateUISchemaBody- (required)additionalHeaders- additionalHeaders for this call- Returns:
- UISchemasResponseObject
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-