@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T17:07:26.321-05:00[America/Chicago]") public class TrustedOriginApi extends Object
Constructor and Description |
---|
TrustedOriginApi() |
TrustedOriginApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
TrustedOrigin |
activateTrustedOrigin(String trustedOriginId)
Activate a Trusted Origin
Activates a trusted origin
|
TrustedOrigin |
activateTrustedOrigin(String trustedOriginId,
Map<String,String> additionalHeaders)
Activate a Trusted Origin
Activates a trusted origin
|
TrustedOrigin |
createTrustedOrigin(TrustedOrigin trustedOrigin)
Create a Trusted Origin
Creates a trusted origin
|
TrustedOrigin |
createTrustedOrigin(TrustedOrigin trustedOrigin,
Map<String,String> additionalHeaders)
Create a Trusted Origin
Creates a trusted origin
|
TrustedOrigin |
deactivateTrustedOrigin(String trustedOriginId)
Deactivate a Trusted Origin
Deactivates a trusted origin
|
TrustedOrigin |
deactivateTrustedOrigin(String trustedOriginId,
Map<String,String> additionalHeaders)
Deactivate a Trusted Origin
Deactivates a trusted origin
|
void |
deleteTrustedOrigin(String trustedOriginId)
Delete a Trusted Origin
Deletes a trusted origin
|
void |
deleteTrustedOrigin(String trustedOriginId,
Map<String,String> additionalHeaders)
Delete a Trusted Origin
Deletes a trusted origin
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
TrustedOrigin |
getTrustedOrigin(String trustedOriginId)
Retrieve a Trusted Origin
Retrieves a trusted origin
|
TrustedOrigin |
getTrustedOrigin(String trustedOriginId,
Map<String,String> additionalHeaders)
Retrieve a Trusted Origin
Retrieves a trusted origin
|
List<TrustedOrigin> |
listTrustedOrigins(String q,
String filter,
String after,
Integer limit)
List all Trusted Origins
Lists all trusted origins
|
List<TrustedOrigin> |
listTrustedOrigins(String q,
String filter,
String after,
Integer limit,
Map<String,String> additionalHeaders)
List all Trusted Origins
Lists all trusted origins
|
TrustedOrigin |
replaceTrustedOrigin(String trustedOriginId,
TrustedOrigin trustedOrigin)
Replace a Trusted Origin
Replaces a trusted origin
|
TrustedOrigin |
replaceTrustedOrigin(String trustedOriginId,
TrustedOrigin trustedOrigin,
Map<String,String> additionalHeaders)
Replace a Trusted Origin
Replaces a trusted origin
|
void |
setApiClient(ApiClient apiClient) |
public TrustedOriginApi()
public TrustedOriginApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public TrustedOrigin activateTrustedOrigin(String trustedOriginId) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)ApiException
- if fails to make API callpublic TrustedOrigin activateTrustedOrigin(String trustedOriginId, Map<String,String> additionalHeaders) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic TrustedOrigin createTrustedOrigin(TrustedOrigin trustedOrigin) throws ApiException
trustedOrigin
- (required)ApiException
- if fails to make API callpublic TrustedOrigin createTrustedOrigin(TrustedOrigin trustedOrigin, Map<String,String> additionalHeaders) throws ApiException
trustedOrigin
- (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic TrustedOrigin deactivateTrustedOrigin(String trustedOriginId) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)ApiException
- if fails to make API callpublic TrustedOrigin deactivateTrustedOrigin(String trustedOriginId, Map<String,String> additionalHeaders) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic void deleteTrustedOrigin(String trustedOriginId) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)ApiException
- if fails to make API callpublic void deleteTrustedOrigin(String trustedOriginId, Map<String,String> additionalHeaders) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic TrustedOrigin getTrustedOrigin(String trustedOriginId) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)ApiException
- if fails to make API callpublic TrustedOrigin getTrustedOrigin(String trustedOriginId, Map<String,String> additionalHeaders) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic List<TrustedOrigin> listTrustedOrigins(String q, String filter, String after, Integer limit) throws ApiException
q
- (optional)filter
- (optional)after
- (optional)limit
- (optional, default to -1)ApiException
- if fails to make API callpublic List<TrustedOrigin> listTrustedOrigins(String q, String filter, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
q
- (optional)filter
- (optional)after
- (optional)limit
- (optional, default to -1)additionalHeaders
- additionalHeaders for this callApiException
- if fails to make API callpublic TrustedOrigin replaceTrustedOrigin(String trustedOriginId, TrustedOrigin trustedOrigin) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)trustedOrigin
- (required)ApiException
- if fails to make API callpublic TrustedOrigin replaceTrustedOrigin(String trustedOriginId, TrustedOrigin trustedOrigin, Map<String,String> additionalHeaders) throws ApiException
trustedOriginId
- `id` of the Trusted Origin (required)trustedOrigin
- (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.