@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class RealmApi extends Object
Constructor and Description |
---|
RealmApi() |
RealmApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
Realm |
createRealm(Realm body)
Create a Realm
Creates a new Realm
|
Realm |
createRealm(Realm body,
Map<String,String> additionalHeaders)
Create a Realm
Creates a new Realm
|
void |
deleteRealm(String realmId)
Delete a Realm
Deletes a Realm permanently.
|
void |
deleteRealm(String realmId,
Map<String,String> additionalHeaders)
Delete a Realm
Deletes a Realm permanently.
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
Realm |
getRealm(String realmId)
Retrieve a Realm
Retrieves a Realm
|
Realm |
getRealm(String realmId,
Map<String,String> additionalHeaders)
Retrieve a Realm
Retrieves a Realm
|
List<Realm> |
listRealms(Integer limit,
String after,
String search,
String sortBy,
String sortOrder)
List all Realms
Lists all Realms
|
List<Realm> |
listRealms(Integer limit,
String after,
String search,
String sortBy,
String sortOrder,
Map<String,String> additionalHeaders)
List all Realms
Lists all Realms
|
void |
setApiClient(ApiClient apiClient) |
Realm |
updateRealm(String realmId,
Realm body)
Update a Realm
Updates a Realm
|
Realm |
updateRealm(String realmId,
Realm body,
Map<String,String> additionalHeaders)
Update a Realm
Updates a Realm
|
public RealmApi()
public RealmApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public Realm createRealm(Realm body) throws ApiException
body
- (required)ApiException
- if fails to make API callpublic Realm createRealm(Realm body, Map<String,String> additionalHeaders) throws ApiException
body
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteRealm(String realmId) throws ApiException
realmId
- `id` of the Realm (required)ApiException
- if fails to make API callpublic void deleteRealm(String realmId, Map<String,String> additionalHeaders) throws ApiException
realmId
- `id` of the Realm (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic Realm getRealm(String realmId) throws ApiException
realmId
- `id` of the Realm (required)ApiException
- if fails to make API callpublic Realm getRealm(String realmId, Map<String,String> additionalHeaders) throws ApiException
realmId
- `id` of the Realm (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<Realm> listRealms(Integer limit, String after, String search, String sortBy, String sortOrder) throws ApiException
limit
- Specifies the number of results returned. Defaults to 10 if `search` is provided. (optional, default to 200)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)search
- Searches for Realms with a supported filtering expression for most properties (optional)sortBy
- Specifies field to sort by and can be any single property (for search queries only). (optional)sortOrder
- Specifies sort order `asc` or `desc` (for search queries only). This parameter is ignored if `sortBy` isn't present. (optional, default to asc)ApiException
- if fails to make API callpublic List<Realm> listRealms(Integer limit, String after, String search, String sortBy, String sortOrder, Map<String,String> additionalHeaders) throws ApiException
limit
- Specifies the number of results returned. Defaults to 10 if `search` is provided. (optional, default to 200)after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)search
- Searches for Realms with a supported filtering expression for most properties (optional)sortBy
- Specifies field to sort by and can be any single property (for search queries only). (optional)sortOrder
- Specifies sort order `asc` or `desc` (for search queries only). This parameter is ignored if `sortBy` isn't present. (optional, default to asc)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic Realm updateRealm(String realmId, Realm body) throws ApiException
realmId
- `id` of the Realm (required)body
- (required)ApiException
- if fails to make API callpublic Realm updateRealm(String realmId, Realm body, Map<String,String> additionalHeaders) throws ApiException
realmId
- `id` of the Realm (required)body
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callprotected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
Copyright © 2017–2023 Okta. All rights reserved.