@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-01-18T04:14:02.238-06:00[America/Chicago]") @Component(value="org.openapitools.client.api.DeviceApi") public class DeviceApi extends Object
Constructor and Description |
---|
DeviceApi() |
DeviceApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
activateDevice(String deviceId)
Activate a Device
Activates a device by `deviceId`
|
void |
deactivateDevice(String deviceId)
Deactivate a Device
Deactivates a device by `deviceId`
|
void |
deleteDevice(String deviceId)
Delete a Device
Deletes a device by `deviceId`
|
ApiClient |
getApiClient() |
Device |
getDevice(String deviceId)
Retrieve a Device
Retrieves a device by `deviceId`
|
PagedList |
getDeviceWithPaginationInfo(String deviceId)
Retrieve a Device
Retrieves a device by `deviceId`
|
List<Device> |
listDevices(String after,
Integer limit,
String search)
List all Devices
Lists all devices with pagination support.
|
PagedList |
listDevicesWithPaginationInfo(String after,
Integer limit,
String search)
List all Devices
Lists all devices with pagination support.
|
void |
setApiClient(ApiClient apiClient) |
void |
suspendDevice(String deviceId)
Suspend a Device
Suspends a device by `deviceId`
|
void |
unsuspendDevice(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(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(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(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(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(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 List<Device> listDevices(String after, Integer limit, 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(String after, Integer limit, 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(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(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–2023 Okta. All rights reserved.