@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-14T23:40:43.026Z[Etc/UTC]") public class ApplicationPoliciesApi extends Object
Constructor and Description |
---|
ApplicationPoliciesApi() |
ApplicationPoliciesApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
assignApplicationPolicy(String appId,
String policyId)
Assign an application to a Policy
Assigns an application to an [authentication policy](/openapi/okta-management/management/tag/Policy/), identified by `policyId`.
|
void |
assignApplicationPolicy(String appId,
String policyId,
Map<String,String> additionalHeaders)
Assign an application to a Policy
Assigns an application to an [authentication policy](/openapi/okta-management/management/tag/Policy/), identified by `policyId`.
|
ApiClient |
getApiClient() |
protected static com.fasterxml.jackson.databind.ObjectMapper |
getObjectMapper() |
void |
setApiClient(ApiClient apiClient) |
public ApplicationPoliciesApi()
public ApplicationPoliciesApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void assignApplicationPolicy(String appId, String policyId) throws ApiException
appId
- ID of the Application (required)policyId
- `id` of the Policy (required)ApiException
- if fails to make API callpublic void assignApplicationPolicy(String appId, String policyId, Map<String,String> additionalHeaders) throws ApiException
appId
- ID of the Application (required)policyId
- `id` of the Policy (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.