cyberdesk 0.2.3__tar.gz → 0.2.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cyberdesk might be problematic. Click here for more details.
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/PKG-INFO +1 -2
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/PKG-INFO +1 -2
- cyberdesk-0.2.4/cyberdesk.egg-info/SOURCES.txt +139 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/requires.txt +0 -1
- cyberdesk-0.2.4/cyberdesk.egg-info/top_level.txt +2 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/__init__.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/__init__.py +1 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/__init__.py +1 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py +293 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop.py +294 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py +307 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py +419 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py +288 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/client.py +268 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/errors.py +16 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/__init__.py +249 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py +104 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py +11 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_403_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_404_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_body.py +59 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_body.py +59 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py +79 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py +133 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py +10 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py +10 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py +98 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py +64 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py +80 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py +109 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py +10 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py +79 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py +63 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py +81 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py +11 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py +71 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py +70 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200.py +62 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py +11 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_200.py +70 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_200_status.py +11 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_400.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_401.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_403.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_404.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_409.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_429.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_500.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_502.py +69 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py +8 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/py.typed +1 -0
- cyberdesk-0.2.4/openapi_client/api_reference_client/types.py +46 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/pyproject.toml +3 -4
- cyberdesk-0.2.3/cyberdesk.egg-info/SOURCES.txt +0 -12
- cyberdesk-0.2.3/cyberdesk.egg-info/top_level.txt +0 -1
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/LICENSE +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/README.md +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/__init__.py +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/actions.py +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/client.py +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk/types.py +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/cyberdesk.egg-info/dependency_links.txt +0 -0
- {cyberdesk-0.2.3 → cyberdesk-0.2.4}/setup.cfg +0 -0
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cyberdesk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: The official Python SDK for Cyberdesk
|
|
5
5
|
Author-email: Cyberdesk Team <dev@cyberdesk.io>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Requires-Dist: httpx
|
|
10
|
-
Requires-Dist: openapi_client
|
|
11
10
|
Provides-Extra: dev
|
|
12
11
|
Requires-Dist: openapi-python-client; extra == "dev"
|
|
13
12
|
Requires-Dist: build; extra == "dev"
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cyberdesk
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.4
|
|
4
4
|
Summary: The official Python SDK for Cyberdesk
|
|
5
5
|
Author-email: Cyberdesk Team <dev@cyberdesk.io>
|
|
6
6
|
License-Expression: MIT
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
License-File: LICENSE
|
|
9
9
|
Requires-Dist: httpx
|
|
10
|
-
Requires-Dist: openapi_client
|
|
11
10
|
Provides-Extra: dev
|
|
12
11
|
Requires-Dist: openapi-python-client; extra == "dev"
|
|
13
12
|
Requires-Dist: build; extra == "dev"
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
README.md
|
|
3
|
+
pyproject.toml
|
|
4
|
+
cyberdesk/__init__.py
|
|
5
|
+
cyberdesk/actions.py
|
|
6
|
+
cyberdesk/client.py
|
|
7
|
+
cyberdesk/types.py
|
|
8
|
+
cyberdesk.egg-info/PKG-INFO
|
|
9
|
+
cyberdesk.egg-info/SOURCES.txt
|
|
10
|
+
cyberdesk.egg-info/dependency_links.txt
|
|
11
|
+
cyberdesk.egg-info/requires.txt
|
|
12
|
+
cyberdesk.egg-info/top_level.txt
|
|
13
|
+
openapi_client/api_reference_client/__init__.py
|
|
14
|
+
openapi_client/api_reference_client/client.py
|
|
15
|
+
openapi_client/api_reference_client/errors.py
|
|
16
|
+
openapi_client/api_reference_client/py.typed
|
|
17
|
+
openapi_client/api_reference_client/types.py
|
|
18
|
+
openapi_client/api_reference_client/api/__init__.py
|
|
19
|
+
openapi_client/api_reference_client/api/desktop/__init__.py
|
|
20
|
+
openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py
|
|
21
|
+
openapi_client/api_reference_client/api/desktop/post_v1_desktop.py
|
|
22
|
+
openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py
|
|
23
|
+
openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py
|
|
24
|
+
openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py
|
|
25
|
+
openapi_client/api_reference_client/models/__init__.py
|
|
26
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py
|
|
27
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py
|
|
28
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py
|
|
29
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py
|
|
30
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py
|
|
31
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py
|
|
32
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py
|
|
33
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_403_status.py
|
|
34
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py
|
|
35
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_404_status.py
|
|
36
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py
|
|
37
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py
|
|
38
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py
|
|
39
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py
|
|
40
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py
|
|
41
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py
|
|
42
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py
|
|
43
|
+
openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py
|
|
44
|
+
openapi_client/api_reference_client/models/post_v1_desktop_body.py
|
|
45
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_body.py
|
|
46
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py
|
|
47
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py
|
|
48
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py
|
|
49
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py
|
|
50
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py
|
|
51
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py
|
|
52
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py
|
|
53
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py
|
|
54
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py
|
|
55
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py
|
|
56
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py
|
|
57
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py
|
|
58
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py
|
|
59
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py
|
|
60
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py
|
|
61
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py
|
|
62
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py
|
|
63
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py
|
|
64
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py
|
|
65
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py
|
|
66
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py
|
|
67
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py
|
|
68
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py
|
|
69
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py
|
|
70
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py
|
|
71
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py
|
|
72
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py
|
|
73
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py
|
|
74
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py
|
|
75
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py
|
|
76
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py
|
|
77
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py
|
|
78
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py
|
|
79
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py
|
|
80
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py
|
|
81
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py
|
|
82
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py
|
|
83
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py
|
|
84
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py
|
|
85
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py
|
|
86
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py
|
|
87
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py
|
|
88
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py
|
|
89
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py
|
|
90
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py
|
|
91
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py
|
|
92
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py
|
|
93
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py
|
|
94
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py
|
|
95
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py
|
|
96
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py
|
|
97
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py
|
|
98
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py
|
|
99
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py
|
|
100
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py
|
|
101
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py
|
|
102
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py
|
|
103
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py
|
|
104
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200.py
|
|
105
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py
|
|
106
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py
|
|
107
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py
|
|
108
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py
|
|
109
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py
|
|
110
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py
|
|
111
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py
|
|
112
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py
|
|
113
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py
|
|
114
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py
|
|
115
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py
|
|
116
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py
|
|
117
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py
|
|
118
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py
|
|
119
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py
|
|
120
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py
|
|
121
|
+
openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py
|
|
122
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_200.py
|
|
123
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_200_status.py
|
|
124
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_400.py
|
|
125
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py
|
|
126
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_401.py
|
|
127
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py
|
|
128
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_403.py
|
|
129
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py
|
|
130
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_404.py
|
|
131
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py
|
|
132
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_409.py
|
|
133
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py
|
|
134
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_429.py
|
|
135
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py
|
|
136
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_500.py
|
|
137
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py
|
|
138
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_502.py
|
|
139
|
+
openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains methods for accessing the API"""
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""Contains endpoint functions for accessing the API"""
|
|
@@ -0,0 +1,293 @@
|
|
|
1
|
+
from http import HTTPStatus
|
|
2
|
+
from typing import Any, Optional, Union
|
|
3
|
+
from uuid import UUID
|
|
4
|
+
|
|
5
|
+
import httpx
|
|
6
|
+
|
|
7
|
+
from ... import errors
|
|
8
|
+
from ...client import AuthenticatedClient, Client
|
|
9
|
+
from ...models.get_v1_desktop_id_response_200 import GetV1DesktopIdResponse200
|
|
10
|
+
from ...models.get_v1_desktop_id_response_400 import GetV1DesktopIdResponse400
|
|
11
|
+
from ...models.get_v1_desktop_id_response_401 import GetV1DesktopIdResponse401
|
|
12
|
+
from ...models.get_v1_desktop_id_response_403 import GetV1DesktopIdResponse403
|
|
13
|
+
from ...models.get_v1_desktop_id_response_404 import GetV1DesktopIdResponse404
|
|
14
|
+
from ...models.get_v1_desktop_id_response_409 import GetV1DesktopIdResponse409
|
|
15
|
+
from ...models.get_v1_desktop_id_response_429 import GetV1DesktopIdResponse429
|
|
16
|
+
from ...models.get_v1_desktop_id_response_500 import GetV1DesktopIdResponse500
|
|
17
|
+
from ...models.get_v1_desktop_id_response_502 import GetV1DesktopIdResponse502
|
|
18
|
+
from ...types import Response
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
def _get_kwargs(
|
|
22
|
+
id: UUID,
|
|
23
|
+
*,
|
|
24
|
+
x_api_key: str,
|
|
25
|
+
) -> dict[str, Any]:
|
|
26
|
+
headers: dict[str, Any] = {}
|
|
27
|
+
headers["x-api-key"] = x_api_key
|
|
28
|
+
|
|
29
|
+
_kwargs: dict[str, Any] = {
|
|
30
|
+
"method": "get",
|
|
31
|
+
"url": f"/v1/desktop/{id}",
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
_kwargs["headers"] = headers
|
|
35
|
+
return _kwargs
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def _parse_response(
|
|
39
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
40
|
+
) -> Optional[
|
|
41
|
+
Union[
|
|
42
|
+
GetV1DesktopIdResponse200,
|
|
43
|
+
GetV1DesktopIdResponse400,
|
|
44
|
+
GetV1DesktopIdResponse401,
|
|
45
|
+
GetV1DesktopIdResponse403,
|
|
46
|
+
GetV1DesktopIdResponse404,
|
|
47
|
+
GetV1DesktopIdResponse409,
|
|
48
|
+
GetV1DesktopIdResponse429,
|
|
49
|
+
GetV1DesktopIdResponse500,
|
|
50
|
+
GetV1DesktopIdResponse502,
|
|
51
|
+
]
|
|
52
|
+
]:
|
|
53
|
+
if response.status_code == 200:
|
|
54
|
+
response_200 = GetV1DesktopIdResponse200.from_dict(response.json())
|
|
55
|
+
|
|
56
|
+
return response_200
|
|
57
|
+
if response.status_code == 400:
|
|
58
|
+
response_400 = GetV1DesktopIdResponse400.from_dict(response.json())
|
|
59
|
+
|
|
60
|
+
return response_400
|
|
61
|
+
if response.status_code == 401:
|
|
62
|
+
response_401 = GetV1DesktopIdResponse401.from_dict(response.json())
|
|
63
|
+
|
|
64
|
+
return response_401
|
|
65
|
+
if response.status_code == 403:
|
|
66
|
+
response_403 = GetV1DesktopIdResponse403.from_dict(response.json())
|
|
67
|
+
|
|
68
|
+
return response_403
|
|
69
|
+
if response.status_code == 404:
|
|
70
|
+
response_404 = GetV1DesktopIdResponse404.from_dict(response.json())
|
|
71
|
+
|
|
72
|
+
return response_404
|
|
73
|
+
if response.status_code == 409:
|
|
74
|
+
response_409 = GetV1DesktopIdResponse409.from_dict(response.json())
|
|
75
|
+
|
|
76
|
+
return response_409
|
|
77
|
+
if response.status_code == 429:
|
|
78
|
+
response_429 = GetV1DesktopIdResponse429.from_dict(response.json())
|
|
79
|
+
|
|
80
|
+
return response_429
|
|
81
|
+
if response.status_code == 500:
|
|
82
|
+
response_500 = GetV1DesktopIdResponse500.from_dict(response.json())
|
|
83
|
+
|
|
84
|
+
return response_500
|
|
85
|
+
if response.status_code == 502:
|
|
86
|
+
response_502 = GetV1DesktopIdResponse502.from_dict(response.json())
|
|
87
|
+
|
|
88
|
+
return response_502
|
|
89
|
+
if client.raise_on_unexpected_status:
|
|
90
|
+
raise errors.UnexpectedStatus(response.status_code, response.content)
|
|
91
|
+
else:
|
|
92
|
+
return None
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
def _build_response(
|
|
96
|
+
*, client: Union[AuthenticatedClient, Client], response: httpx.Response
|
|
97
|
+
) -> Response[
|
|
98
|
+
Union[
|
|
99
|
+
GetV1DesktopIdResponse200,
|
|
100
|
+
GetV1DesktopIdResponse400,
|
|
101
|
+
GetV1DesktopIdResponse401,
|
|
102
|
+
GetV1DesktopIdResponse403,
|
|
103
|
+
GetV1DesktopIdResponse404,
|
|
104
|
+
GetV1DesktopIdResponse409,
|
|
105
|
+
GetV1DesktopIdResponse429,
|
|
106
|
+
GetV1DesktopIdResponse500,
|
|
107
|
+
GetV1DesktopIdResponse502,
|
|
108
|
+
]
|
|
109
|
+
]:
|
|
110
|
+
return Response(
|
|
111
|
+
status_code=HTTPStatus(response.status_code),
|
|
112
|
+
content=response.content,
|
|
113
|
+
headers=response.headers,
|
|
114
|
+
parsed=_parse_response(client=client, response=response),
|
|
115
|
+
)
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
def sync_detailed(
|
|
119
|
+
id: UUID,
|
|
120
|
+
*,
|
|
121
|
+
client: Union[AuthenticatedClient, Client],
|
|
122
|
+
x_api_key: str,
|
|
123
|
+
) -> Response[
|
|
124
|
+
Union[
|
|
125
|
+
GetV1DesktopIdResponse200,
|
|
126
|
+
GetV1DesktopIdResponse400,
|
|
127
|
+
GetV1DesktopIdResponse401,
|
|
128
|
+
GetV1DesktopIdResponse403,
|
|
129
|
+
GetV1DesktopIdResponse404,
|
|
130
|
+
GetV1DesktopIdResponse409,
|
|
131
|
+
GetV1DesktopIdResponse429,
|
|
132
|
+
GetV1DesktopIdResponse500,
|
|
133
|
+
GetV1DesktopIdResponse502,
|
|
134
|
+
]
|
|
135
|
+
]:
|
|
136
|
+
"""Get details of a specific desktop instance
|
|
137
|
+
|
|
138
|
+
Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
|
|
139
|
+
|
|
140
|
+
Args:
|
|
141
|
+
id (UUID): The UUID of the desktop instance to retrieve Example:
|
|
142
|
+
a1b2c3d4-e5f6-7890-1234-567890abcdef.
|
|
143
|
+
x_api_key (str): API key for authentication Example: api_12345.
|
|
144
|
+
|
|
145
|
+
Raises:
|
|
146
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
147
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
148
|
+
|
|
149
|
+
Returns:
|
|
150
|
+
Response[Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]]
|
|
151
|
+
"""
|
|
152
|
+
|
|
153
|
+
kwargs = _get_kwargs(
|
|
154
|
+
id=id,
|
|
155
|
+
x_api_key=x_api_key,
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
response = client.get_httpx_client().request(
|
|
159
|
+
**kwargs,
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
return _build_response(client=client, response=response)
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
def sync(
|
|
166
|
+
id: UUID,
|
|
167
|
+
*,
|
|
168
|
+
client: Union[AuthenticatedClient, Client],
|
|
169
|
+
x_api_key: str,
|
|
170
|
+
) -> Optional[
|
|
171
|
+
Union[
|
|
172
|
+
GetV1DesktopIdResponse200,
|
|
173
|
+
GetV1DesktopIdResponse400,
|
|
174
|
+
GetV1DesktopIdResponse401,
|
|
175
|
+
GetV1DesktopIdResponse403,
|
|
176
|
+
GetV1DesktopIdResponse404,
|
|
177
|
+
GetV1DesktopIdResponse409,
|
|
178
|
+
GetV1DesktopIdResponse429,
|
|
179
|
+
GetV1DesktopIdResponse500,
|
|
180
|
+
GetV1DesktopIdResponse502,
|
|
181
|
+
]
|
|
182
|
+
]:
|
|
183
|
+
"""Get details of a specific desktop instance
|
|
184
|
+
|
|
185
|
+
Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
|
|
186
|
+
|
|
187
|
+
Args:
|
|
188
|
+
id (UUID): The UUID of the desktop instance to retrieve Example:
|
|
189
|
+
a1b2c3d4-e5f6-7890-1234-567890abcdef.
|
|
190
|
+
x_api_key (str): API key for authentication Example: api_12345.
|
|
191
|
+
|
|
192
|
+
Raises:
|
|
193
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
194
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
195
|
+
|
|
196
|
+
Returns:
|
|
197
|
+
Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]
|
|
198
|
+
"""
|
|
199
|
+
|
|
200
|
+
return sync_detailed(
|
|
201
|
+
id=id,
|
|
202
|
+
client=client,
|
|
203
|
+
x_api_key=x_api_key,
|
|
204
|
+
).parsed
|
|
205
|
+
|
|
206
|
+
|
|
207
|
+
async def asyncio_detailed(
|
|
208
|
+
id: UUID,
|
|
209
|
+
*,
|
|
210
|
+
client: Union[AuthenticatedClient, Client],
|
|
211
|
+
x_api_key: str,
|
|
212
|
+
) -> Response[
|
|
213
|
+
Union[
|
|
214
|
+
GetV1DesktopIdResponse200,
|
|
215
|
+
GetV1DesktopIdResponse400,
|
|
216
|
+
GetV1DesktopIdResponse401,
|
|
217
|
+
GetV1DesktopIdResponse403,
|
|
218
|
+
GetV1DesktopIdResponse404,
|
|
219
|
+
GetV1DesktopIdResponse409,
|
|
220
|
+
GetV1DesktopIdResponse429,
|
|
221
|
+
GetV1DesktopIdResponse500,
|
|
222
|
+
GetV1DesktopIdResponse502,
|
|
223
|
+
]
|
|
224
|
+
]:
|
|
225
|
+
"""Get details of a specific desktop instance
|
|
226
|
+
|
|
227
|
+
Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
|
|
228
|
+
|
|
229
|
+
Args:
|
|
230
|
+
id (UUID): The UUID of the desktop instance to retrieve Example:
|
|
231
|
+
a1b2c3d4-e5f6-7890-1234-567890abcdef.
|
|
232
|
+
x_api_key (str): API key for authentication Example: api_12345.
|
|
233
|
+
|
|
234
|
+
Raises:
|
|
235
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
236
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
237
|
+
|
|
238
|
+
Returns:
|
|
239
|
+
Response[Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]]
|
|
240
|
+
"""
|
|
241
|
+
|
|
242
|
+
kwargs = _get_kwargs(
|
|
243
|
+
id=id,
|
|
244
|
+
x_api_key=x_api_key,
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
response = await client.get_async_httpx_client().request(**kwargs)
|
|
248
|
+
|
|
249
|
+
return _build_response(client=client, response=response)
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
async def asyncio(
|
|
253
|
+
id: UUID,
|
|
254
|
+
*,
|
|
255
|
+
client: Union[AuthenticatedClient, Client],
|
|
256
|
+
x_api_key: str,
|
|
257
|
+
) -> Optional[
|
|
258
|
+
Union[
|
|
259
|
+
GetV1DesktopIdResponse200,
|
|
260
|
+
GetV1DesktopIdResponse400,
|
|
261
|
+
GetV1DesktopIdResponse401,
|
|
262
|
+
GetV1DesktopIdResponse403,
|
|
263
|
+
GetV1DesktopIdResponse404,
|
|
264
|
+
GetV1DesktopIdResponse409,
|
|
265
|
+
GetV1DesktopIdResponse429,
|
|
266
|
+
GetV1DesktopIdResponse500,
|
|
267
|
+
GetV1DesktopIdResponse502,
|
|
268
|
+
]
|
|
269
|
+
]:
|
|
270
|
+
"""Get details of a specific desktop instance
|
|
271
|
+
|
|
272
|
+
Returns the ID, status, creation timestamp, and timeout timestamp for a given desktop instance.
|
|
273
|
+
|
|
274
|
+
Args:
|
|
275
|
+
id (UUID): The UUID of the desktop instance to retrieve Example:
|
|
276
|
+
a1b2c3d4-e5f6-7890-1234-567890abcdef.
|
|
277
|
+
x_api_key (str): API key for authentication Example: api_12345.
|
|
278
|
+
|
|
279
|
+
Raises:
|
|
280
|
+
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
|
|
281
|
+
httpx.TimeoutException: If the request takes longer than Client.timeout.
|
|
282
|
+
|
|
283
|
+
Returns:
|
|
284
|
+
Union[GetV1DesktopIdResponse200, GetV1DesktopIdResponse400, GetV1DesktopIdResponse401, GetV1DesktopIdResponse403, GetV1DesktopIdResponse404, GetV1DesktopIdResponse409, GetV1DesktopIdResponse429, GetV1DesktopIdResponse500, GetV1DesktopIdResponse502]
|
|
285
|
+
"""
|
|
286
|
+
|
|
287
|
+
return (
|
|
288
|
+
await asyncio_detailed(
|
|
289
|
+
id=id,
|
|
290
|
+
client=client,
|
|
291
|
+
x_api_key=x_api_key,
|
|
292
|
+
)
|
|
293
|
+
).parsed
|