Package com.okta.sdk.resource.api
Class DeviceAssuranceApi
java.lang.Object
com.okta.sdk.resource.api.DeviceAssuranceApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class DeviceAssuranceApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateDeviceAssurancePolicy
(DeviceAssurance deviceAssurance) Create a Device Assurance Policy Creates a new Device Assurance PolicycreateDeviceAssurancePolicy
(DeviceAssurance deviceAssurance, Map<String, String> additionalHeaders) Create a Device Assurance Policy Creates a new Device Assurance Policyvoid
deleteDeviceAssurancePolicy
(String deviceAssuranceId) Delete a Device Assurance Policy Deletes a Device Assurance Policy by `deviceAssuranceId`.void
deleteDeviceAssurancePolicy
(String deviceAssuranceId, Map<String, String> additionalHeaders) Delete a Device Assurance Policy Deletes a Device Assurance Policy by `deviceAssuranceId`.getDeviceAssurancePolicy
(String deviceAssuranceId) Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`getDeviceAssurancePolicy
(String deviceAssuranceId, Map<String, String> additionalHeaders) Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`protected static com.fasterxml.jackson.databind.ObjectMapper
List all Device Assurance Policies Lists all device assurance policieslistDeviceAssurancePolicies
(Map<String, String> additionalHeaders) List all Device Assurance Policies Lists all device assurance policiesreplaceDeviceAssurancePolicy
(String deviceAssuranceId, DeviceAssurance deviceAssurance) Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`replaceDeviceAssurancePolicy
(String deviceAssuranceId, DeviceAssurance deviceAssurance, Map<String, String> additionalHeaders) Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`void
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
DeviceAssuranceApi
public DeviceAssuranceApi() -
DeviceAssuranceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createDeviceAssurancePolicy
public DeviceAssurance createDeviceAssurancePolicy(DeviceAssurance deviceAssurance) throws ApiException Create a Device Assurance Policy Creates a new Device Assurance Policy- Parameters:
deviceAssurance
- (required)- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
createDeviceAssurancePolicy
public DeviceAssurance createDeviceAssurancePolicy(DeviceAssurance deviceAssurance, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Device Assurance Policy Creates a new Device Assurance Policy- Parameters:
deviceAssurance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
deleteDeviceAssurancePolicy
Delete a Device Assurance Policy Deletes a Device Assurance Policy by `deviceAssuranceId`. If the Device Assurance Policy is currently being used in the org Authentication Policies, the delete will not be allowed.- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)- Throws:
ApiException
- if fails to make API call
-
deleteDeviceAssurancePolicy
public void deleteDeviceAssurancePolicy(String deviceAssuranceId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Device Assurance Policy Deletes a Device Assurance Policy by `deviceAssuranceId`. If the Device Assurance Policy is currently being used in the org Authentication Policies, the delete will not be allowed.- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getDeviceAssurancePolicy
Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
getDeviceAssurancePolicy
public DeviceAssurance getDeviceAssurancePolicy(String deviceAssuranceId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)additionalHeaders
- additionalHeaders for this call- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
listDeviceAssurancePolicies
List all Device Assurance Policies Lists all device assurance policies- Returns:
- List<DeviceAssurance>
- Throws:
ApiException
- if fails to make API call
-
listDeviceAssurancePolicies
public List<DeviceAssurance> listDeviceAssurancePolicies(Map<String, String> additionalHeaders) throws ApiExceptionList all Device Assurance Policies Lists all device assurance policies- Parameters:
additionalHeaders
- additionalHeaders for this call- Returns:
- List<DeviceAssurance>
- Throws:
ApiException
- if fails to make API call
-
replaceDeviceAssurancePolicy
public DeviceAssurance replaceDeviceAssurancePolicy(String deviceAssuranceId, DeviceAssurance deviceAssurance) throws ApiException Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)deviceAssurance
- (required)- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
replaceDeviceAssurancePolicy
public DeviceAssurance replaceDeviceAssurancePolicy(String deviceAssuranceId, DeviceAssurance deviceAssurance, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`- Parameters:
deviceAssuranceId
- Id of the Device Assurance Policy (required)deviceAssurance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- DeviceAssurance
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-