Class DeviceAssuranceApi

java.lang.Object
org.openapitools.client.api.DeviceAssuranceApi

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-04-19T09:13:44.263607-05:00[America/Chicago]") @Component("org.openapitools.client.api.DeviceAssuranceApi") public class DeviceAssuranceApi extends Object
  • Constructor Details

    • DeviceAssuranceApi

      public DeviceAssuranceApi()
    • DeviceAssuranceApi

      @Autowired public DeviceAssuranceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createDeviceAssurancePolicy

      public DeviceAssurance createDeviceAssurancePolicy(DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Create a Device Assurance Policy Creates a new Device Assurance Policy

      200 - OK

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      deviceAssurance - (required)
      Returns:
      DeviceAssurance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createDeviceAssurancePolicy

      public <T> T createDeviceAssurancePolicy(Class<?> T, DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Create a Device Assurance Policy Creates a new Device Assurance Policy

      200 - OK

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      deviceAssurance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createDeviceAssurancePolicyWithHttpInfo

      public org.springframework.http.ResponseEntity<DeviceAssurance> createDeviceAssurancePolicyWithHttpInfo(DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Create a Device Assurance Policy Creates a new Device Assurance Policy

      200 - OK

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      deviceAssurance - (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • createDeviceAssurancePolicyWithPaginationInfo

      public PagedList createDeviceAssurancePolicyWithPaginationInfo(DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Create a Device Assurance Policy Creates a new Device Assurance Policy

      200 - OK

      400 - Bad Request

      403 - Forbidden

      429 - Too Many Requests

      Parameters:
      deviceAssurance - (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteDeviceAssurancePolicy

      public void deleteDeviceAssurancePolicy(String deviceAssuranceId) throws org.springframework.web.client.RestClientException
      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.

      204 - No Content

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • deleteDeviceAssurancePolicyWithHttpInfo

      public org.springframework.http.ResponseEntity<Void> deleteDeviceAssurancePolicyWithHttpInfo(String deviceAssuranceId) throws org.springframework.web.client.RestClientException
      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.

      204 - No Content

      403 - Forbidden

      404 - Not Found

      409 - Conflict

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      Returns:
      ResponseEntity<Void>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getDeviceAssurancePolicy

      public DeviceAssurance getDeviceAssurancePolicy(String deviceAssuranceId) throws org.springframework.web.client.RestClientException
      Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      Returns:
      DeviceAssurance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getDeviceAssurancePolicyWithHttpInfo

      public org.springframework.http.ResponseEntity<DeviceAssurance> getDeviceAssurancePolicyWithHttpInfo(String deviceAssuranceId) throws org.springframework.web.client.RestClientException
      Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • getDeviceAssurancePolicyWithPaginationInfo

      public PagedList getDeviceAssurancePolicyWithPaginationInfo(String deviceAssuranceId) throws org.springframework.web.client.RestClientException
      Retrieve a Device Assurance Policy Retrieves a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listDeviceAssurancePolicies

      public List<DeviceAssurance> listDeviceAssurancePolicies() throws org.springframework.web.client.RestClientException
      List all Device Assurance Policies Lists all device assurance policies

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      List<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listDeviceAssurancePoliciesWithHttpInfo

      public org.springframework.http.ResponseEntity<List<DeviceAssurance>> listDeviceAssurancePoliciesWithHttpInfo() throws org.springframework.web.client.RestClientException
      List all Device Assurance Policies Lists all device assurance policies

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<DeviceAssurance>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • listDeviceAssurancePoliciesWithPaginationInfo

      public PagedList listDeviceAssurancePoliciesWithPaginationInfo() throws org.springframework.web.client.RestClientException
      List all Device Assurance Policies Lists all device assurance policies

      200 - OK

      403 - Forbidden

      429 - Too Many Requests

      Returns:
      ResponseEntity<List<DeviceAssurance>>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDeviceAssurancePolicy

      public DeviceAssurance replaceDeviceAssurancePolicy(String deviceAssuranceId, DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      deviceAssurance - (required)
      Returns:
      DeviceAssurance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDeviceAssurancePolicy

      public <T> T replaceDeviceAssurancePolicy(Class<?> T, String deviceAssuranceId, DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      T - (required) - the assignable return type
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      deviceAssurance - (required)
      Returns:
      T instance
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDeviceAssurancePolicyWithHttpInfo

      public org.springframework.http.ResponseEntity<DeviceAssurance> replaceDeviceAssurancePolicyWithHttpInfo(String deviceAssuranceId, DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      deviceAssurance - (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API
    • replaceDeviceAssurancePolicyWithPaginationInfo

      public PagedList replaceDeviceAssurancePolicyWithPaginationInfo(String deviceAssuranceId, DeviceAssurance deviceAssurance) throws org.springframework.web.client.RestClientException
      Replace a Device Assurance Policy Replaces a Device Assurance Policy by `deviceAssuranceId`

      200 - OK

      400 - Bad Request

      403 - Forbidden

      404 - Not Found

      429 - Too Many Requests

      Parameters:
      deviceAssuranceId - Id of the Device Assurance Policy (required)
      deviceAssurance - (required)
      Returns:
      ResponseEntity<DeviceAssurance>
      Throws:
      org.springframework.web.client.RestClientException - if an error occurs while attempting to invoke the API