Class DeviceAssuranceApi

java.lang.Object
com.okta.sdk.resource.api.DeviceAssuranceApi

@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 DeviceAssuranceApi extends Object
  • Constructor Details

    • DeviceAssuranceApi

      public DeviceAssuranceApi()
    • DeviceAssuranceApi

      public DeviceAssuranceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 ApiException
      Create 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

      public void deleteDeviceAssurancePolicy(String deviceAssuranceId) throws ApiException
      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 ApiException
      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)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getDeviceAssurancePolicy

      public DeviceAssurance getDeviceAssurancePolicy(String deviceAssuranceId) throws ApiException
      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 ApiException
      Retrieve 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

      public List<DeviceAssurance> listDeviceAssurancePolicies() throws ApiException
      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 ApiException
      List 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 ApiException
      Replace 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()