device_api
¶
OQTOPUS Cloud User API
OQTOPUS Cloud User API. This API is used to interact with the OQTOPUS Cloud service. The API provides endpoints to manage devices, jobs, and results. # noqa: E501
OpenAPI spec version: 1.0 Contact: oqtopus-team[at]googlegroups.com Generated by: https://github.com/swagger-api/swagger-codegen.git
Classes:
-
DeviceApi–NOTE: This class is auto generated by the swagger code generator program.
DeviceApi
¶
DeviceApi(api_client=None)
NOTE: This class is auto generated by the swagger code generator program.
Do not edit the class manually. Ref: https://github.com/swagger-api/swagger-codegen
Methods:
-
get_device–Get specified device details # noqa: E501
-
get_device_with_http_info–Get specified device details # noqa: E501
-
list_devices–List available devices # noqa: E501
-
list_devices_with_http_info–List available devices # noqa: E501
get_device
¶
get_device(device_id, **kwargs)
Get specified device details # noqa: E501
get device # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
thread = api.get_device(device_id, async_req=True) result = thread.get()
:param async_req bool :param str device_id: Device identifier (required) :return: DevicesDeviceInfo If the method is called asynchronously, returns the request thread.
get_device_with_http_info
¶
get_device_with_http_info(device_id, **kwargs)
Get specified device details # noqa: E501
get device # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
thread = api.get_device_with_http_info(device_id, async_req=True) result = thread.get()
:param async_req bool :param str device_id: Device identifier (required) :return: DevicesDeviceInfo If the method is called asynchronously, returns the request thread.
list_devices
¶
list_devices(**kwargs)
List available devices # noqa: E501
List available devices # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
thread = api.list_devices(async_req=True) result = thread.get()
:param async_req bool :return: list[DevicesDeviceInfo] If the method is called asynchronously, returns the request thread.
list_devices_with_http_info
¶
list_devices_with_http_info(**kwargs)
List available devices # noqa: E501
List available devices # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
thread = api.list_devices_with_http_info(async_req=True) result = thread.get()
:param async_req bool :return: list[DevicesDeviceInfo] If the method is called asynchronously, returns the request thread.