Package com.okta.sdk.resource.api
Class SchemaApi
java.lang.Object
com.okta.sdk.resource.api.SchemaApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-03-29T16:47:02.065887-05:00[America/Chicago]",
comments="Generator version: 7.4.0")
public class SchemaApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetApplicationUserSchema
(String appId) Retrieve the default Application User Schema for an Application Retrieves the Schema for an App UsergetApplicationUserSchema
(String appId, Map<String, String> additionalHeaders) Retrieve the default Application User Schema for an Application Retrieves the Schema for an App UsergetAppUISchema
(String appName, String section, String operation) Retrieve the UI schema for a section Retrieves the UI schema for an Application given `appName`, `section` and `operation`getAppUISchema
(String appName, String section, String operation, Map<String, String> additionalHeaders) Retrieve the UI schema for a section Retrieves the UI schema for an Application given `appName`, `section` and `operation`getAppUISchemaLinks
(String appName) Retrieve the links for UI schemas for an Application Retrieves the links for UI schemas for an Application given `appName`getAppUISchemaLinks
(String appName, Map<String, String> additionalHeaders) Retrieve the links for UI schemas for an Application Retrieves the links for UI schemas for an Application given `appName`Retrieve the default Group Schema Retrieves the group schemagetGroupSchema
(Map<String, String> additionalHeaders) Retrieve the default Group Schema Retrieves the group schemagetLogStreamSchema
(LogStreamType logStreamType) Retrieve the Log Stream Schema for the schema type Retrieves the schema for a Log Stream type.getLogStreamSchema
(LogStreamType logStreamType, Map<String, String> additionalHeaders) Retrieve the Log Stream Schema for the schema type Retrieves the schema for a Log Stream type.protected static com.fasterxml.jackson.databind.ObjectMapper
getUserSchema
(String schemaId) Retrieve a User Schema Retrieves the schema for a Schema IdgetUserSchema
(String schemaId, Map<String, String> additionalHeaders) Retrieve a User Schema Retrieves the schema for a Schema IdList the Log Stream Schemas Lists the schema for all log stream types visible for this orglistLogStreamSchemas
(Map<String, String> additionalHeaders) List the Log Stream Schemas Lists the schema for all log stream types visible for this orgvoid
setApiClient
(ApiClient apiClient) updateApplicationUserProfile
(String appId, UserSchema body) Update the default Application User Schema for an Application Partially updates on the User Profile properties of the Application User SchemaupdateApplicationUserProfile
(String appId, UserSchema body, Map<String, String> additionalHeaders) Update the default Application User Schema for an Application Partially updates on the User Profile properties of the Application User SchemaupdateGroupSchema
(GroupSchema groupSchema) Update the default Group Schema Updates the default group schema.updateGroupSchema
(GroupSchema groupSchema, Map<String, String> additionalHeaders) Update the default Group Schema Updates the default group schema.updateUserProfile
(String schemaId, UserSchema userSchema) Update a User Schema Partially updates on the User Profile properties of the user schemaupdateUserProfile
(String schemaId, UserSchema userSchema, Map<String, String> additionalHeaders) Update a User Schema Partially updates on the User Profile properties of the user schema
-
Constructor Details
-
SchemaApi
public SchemaApi() -
SchemaApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAppUISchema
public ApplicationLayout getAppUISchema(String appName, String section, String operation) throws ApiException Retrieve the UI schema for a section Retrieves the UI schema for an Application given `appName`, `section` and `operation`- Parameters:
appName
- (required)section
- (required)operation
- (required)- Returns:
- ApplicationLayout
- Throws:
ApiException
- if fails to make API call
-
getAppUISchema
public ApplicationLayout getAppUISchema(String appName, String section, String operation, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the UI schema for a section Retrieves the UI schema for an Application given `appName`, `section` and `operation`- Parameters:
appName
- (required)section
- (required)operation
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ApplicationLayout
- Throws:
ApiException
- if fails to make API call
-
getAppUISchemaLinks
Retrieve the links for UI schemas for an Application Retrieves the links for UI schemas for an Application given `appName`- Parameters:
appName
- (required)- Returns:
- ApplicationLayouts
- Throws:
ApiException
- if fails to make API call
-
getAppUISchemaLinks
public ApplicationLayouts getAppUISchemaLinks(String appName, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the links for UI schemas for an Application Retrieves the links for UI schemas for an Application given `appName`- Parameters:
appName
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ApplicationLayouts
- Throws:
ApiException
- if fails to make API call
-
getApplicationUserSchema
Retrieve the default Application User Schema for an Application Retrieves the Schema for an App User- Parameters:
appId
- ID of the Application (required)- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
getApplicationUserSchema
public UserSchema getApplicationUserSchema(String appId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the default Application User Schema for an Application Retrieves the Schema for an App User- Parameters:
appId
- ID of the Application (required)additionalHeaders
- additionalHeaders for this call- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
getGroupSchema
Retrieve the default Group Schema Retrieves the group schema- Returns:
- GroupSchema
- Throws:
ApiException
- if fails to make API call
-
getGroupSchema
Retrieve the default Group Schema Retrieves the group schema- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- GroupSchema
- Throws:
ApiException
- if fails to make API call
-
getLogStreamSchema
Retrieve the Log Stream Schema for the schema type Retrieves the schema for a Log Stream type. The `logStreamType` element in the URL specifies the Log Stream type, which is either `aws_eventbridge` or `splunk_cloud_logstreaming`. Use the `aws_eventbridge` literal to retrieve the AWS EventBridge type schema, and use the `splunk_cloud_logstreaming` literal retrieve the Splunk Cloud type schema.- Parameters:
logStreamType
- (required)- Returns:
- LogStreamSchema
- Throws:
ApiException
- if fails to make API call
-
getLogStreamSchema
public LogStreamSchema getLogStreamSchema(LogStreamType logStreamType, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve the Log Stream Schema for the schema type Retrieves the schema for a Log Stream type. The `logStreamType` element in the URL specifies the Log Stream type, which is either `aws_eventbridge` or `splunk_cloud_logstreaming`. Use the `aws_eventbridge` literal to retrieve the AWS EventBridge type schema, and use the `splunk_cloud_logstreaming` literal retrieve the Splunk Cloud type schema.- Parameters:
logStreamType
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- LogStreamSchema
- Throws:
ApiException
- if fails to make API call
-
getUserSchema
Retrieve a User Schema Retrieves the schema for a Schema Id- Parameters:
schemaId
- (required)- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
getUserSchema
public UserSchema getUserSchema(String schemaId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a User Schema Retrieves the schema for a Schema Id- Parameters:
schemaId
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
listLogStreamSchemas
List the Log Stream Schemas Lists the schema for all log stream types visible for this org- Returns:
- List<LogStreamSchema>
- Throws:
ApiException
- if fails to make API call
-
listLogStreamSchemas
public List<LogStreamSchema> listLogStreamSchemas(Map<String, String> additionalHeaders) throws ApiExceptionList the Log Stream Schemas Lists the schema for all log stream types visible for this org- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<LogStreamSchema>
- Throws:
ApiException
- if fails to make API call
-
updateApplicationUserProfile
Update the default Application User Schema for an Application Partially updates on the User Profile properties of the Application User Schema- Parameters:
appId
- ID of the Application (required)body
- (optional)- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
updateApplicationUserProfile
public UserSchema updateApplicationUserProfile(String appId, UserSchema body, Map<String, String> additionalHeaders) throws ApiExceptionUpdate the default Application User Schema for an Application Partially updates on the User Profile properties of the Application User Schema- Parameters:
appId
- ID of the Application (required)body
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
updateGroupSchema
Update the default Group Schema Updates the default group schema. This updates, adds, or removes one or more custom Group Profile properties in the schema.- Parameters:
groupSchema
- (optional)- Returns:
- GroupSchema
- Throws:
ApiException
- if fails to make API call
-
updateGroupSchema
public GroupSchema updateGroupSchema(GroupSchema groupSchema, Map<String, String> additionalHeaders) throws ApiExceptionUpdate the default Group Schema Updates the default group schema. This updates, adds, or removes one or more custom Group Profile properties in the schema.- Parameters:
groupSchema
- (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- GroupSchema
- Throws:
ApiException
- if fails to make API call
-
updateUserProfile
Update a User Schema Partially updates on the User Profile properties of the user schema- Parameters:
schemaId
- (required)userSchema
- (required)- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
updateUserProfile
public UserSchema updateUserProfile(String schemaId, UserSchema userSchema, Map<String, String> additionalHeaders) throws ApiExceptionUpdate a User Schema Partially updates on the User Profile properties of the user schema- Parameters:
schemaId
- (required)userSchema
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- UserSchema
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-