@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2022-10-28T09:54:00.189-05:00[America/Chicago]")
@Component(value="org.openapitools.client.api.DeviceApi")
public class DeviceApi
extends java.lang.Object
Constructor and Description |
---|
DeviceApi() |
DeviceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
activateDevice(java.lang.String deviceId)
Activate a Device
Activates a device by `deviceId`
|
void |
deactivateDevice(java.lang.String deviceId)
Deactivate a Device
Deactivates a device by `deviceId`
|
void |
deleteDevice(java.lang.String deviceId)
Delete a Device
Deletes a device by `deviceId`
|
ApiClient |
getApiClient() |
Device |
getDevice(java.lang.String deviceId)
Retrieve a Device
Retrieves a device by `deviceId`
|
PagedList |
getDeviceWithPaginationInfo(java.lang.String deviceId)
Retrieve a Device
Retrieves a device by `deviceId`
|
java.util.List<Device> |
listDevices(java.lang.String after,
java.lang.Integer limit,
java.lang.String search)
List all Devices
Lists all devices with pagination support.
|
PagedList |
listDevicesWithPaginationInfo(java.lang.String after,
java.lang.Integer limit,
java.lang.String search)
List all Devices
Lists all devices with pagination support.
|
void |
setApiClient(ApiClient apiClient) |
void |
suspendDevice(java.lang.String deviceId)
Suspend a Device
Suspends a device by `deviceId`
|
void |
unsuspendDevice(java.lang.String deviceId)
Unsuspend a Device
Unsuspends a device by `deviceId`
|
public DeviceApi()
@Autowired public DeviceApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void activateDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deactivateDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void deleteDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic Device getDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList getDeviceWithPaginationInfo(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic java.util.List<Device> listDevices(java.lang.String after, java.lang.Integer limit, java.lang.String search) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
429 - Too Many Requests
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return. (optional, default to 20)search
- SCIM filter expression that filters the results. Searches include all Device `profile` properties, as well as the Device `id`, `status` and `lastUpdated` properties. (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic PagedList listDevicesWithPaginationInfo(java.lang.String after, java.lang.Integer limit, java.lang.String search) throws org.springframework.web.client.RestClientException
200 - OK
403 - Forbidden
429 - Too Many Requests
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](/#pagination) for more information. (optional)limit
- A limit on the number of objects to return. (optional, default to 20)search
- SCIM filter expression that filters the results. Searches include all Device `profile` properties, as well as the Device `id`, `status` and `lastUpdated` properties. (optional)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void suspendDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APIpublic void unsuspendDevice(java.lang.String deviceId) throws org.springframework.web.client.RestClientException
204 - No Content
403 - Forbidden
404 - Not Found
429 - Too Many Requests
deviceId
- `id` of the device (required)org.springframework.web.client.RestClientException
- if an error occurs while attempting to invoke the APICopyright © 2017-2022 Okta. All Rights Reserved.