cyberdesk 0.2.6__py3-none-any.whl → 1.0.0__py3-none-any.whl

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.

Files changed (229) hide show
  1. cyberdesk/__init__.py +45 -7
  2. cyberdesk/client.py +779 -70
  3. cyberdesk-1.0.0.dist-info/METADATA +274 -0
  4. cyberdesk-1.0.0.dist-info/RECORD +114 -0
  5. {cyberdesk-0.2.6.dist-info → cyberdesk-1.0.0.dist-info}/WHEEL +1 -1
  6. openapi_client/{api_reference_client → cyberdesk_cloud_client}/__init__.py +8 -8
  7. openapi_client/{api_reference_client → cyberdesk_cloud_client}/api/__init__.py +1 -1
  8. openapi_client/{api_reference_client/api/desktop → cyberdesk_cloud_client/api/computer}/__init__.py +1 -1
  9. openapi_client/cyberdesk_cloud_client/api/computer/get_display_dimensions_v1_computer_machine_id_display_dimensions_get.py +163 -0
  10. openapi_client/cyberdesk_cloud_client/api/computer/get_mouse_position_v1_computer_machine_id_input_mouse_position_get.py +163 -0
  11. openapi_client/cyberdesk_cloud_client/api/computer/get_screenshot_v1_computer_machine_id_display_screenshot_get.py +158 -0
  12. openapi_client/cyberdesk_cloud_client/api/computer/keyboard_key_v1_computer_machine_id_input_keyboard_key_post.py +183 -0
  13. openapi_client/cyberdesk_cloud_client/api/computer/keyboard_type_v1_computer_machine_id_input_keyboard_type_post.py +183 -0
  14. openapi_client/cyberdesk_cloud_client/api/computer/mouse_click_v1_computer_machine_id_input_mouse_click_post.py +187 -0
  15. openapi_client/cyberdesk_cloud_client/api/computer/mouse_move_v1_computer_machine_id_input_mouse_move_post.py +183 -0
  16. openapi_client/cyberdesk_cloud_client/api/connections/__init__.py +1 -0
  17. openapi_client/cyberdesk_cloud_client/api/connections/create_connection_v1_connections_post.py +180 -0
  18. openapi_client/cyberdesk_cloud_client/api/connections/delete_connection_v1_connections_connection_id_delete.py +170 -0
  19. openapi_client/cyberdesk_cloud_client/api/connections/get_connection_v1_connections_connection_id_get.py +172 -0
  20. openapi_client/cyberdesk_cloud_client/api/connections/list_connections_v1_connections_get.py +244 -0
  21. openapi_client/cyberdesk_cloud_client/api/connections/update_connection_v1_connections_connection_id_patch.py +198 -0
  22. openapi_client/cyberdesk_cloud_client/api/default/__init__.py +1 -0
  23. openapi_client/cyberdesk_cloud_client/api/default/root_get.py +83 -0
  24. openapi_client/cyberdesk_cloud_client/api/health/__init__.py +1 -0
  25. openapi_client/cyberdesk_cloud_client/api/health/database_health_check_v1_health_db_get.py +146 -0
  26. openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py +144 -0
  27. openapi_client/cyberdesk_cloud_client/api/machines/__init__.py +1 -0
  28. openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py +180 -0
  29. openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py +174 -0
  30. openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py +172 -0
  31. openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +217 -0
  32. openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py +198 -0
  33. openapi_client/cyberdesk_cloud_client/api/request_logs/__init__.py +1 -0
  34. openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py +184 -0
  35. openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py +170 -0
  36. openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py +172 -0
  37. openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py +257 -0
  38. openapi_client/cyberdesk_cloud_client/api/request_logs/update_request_log_v1_request_logs_log_id_patch.py +202 -0
  39. openapi_client/cyberdesk_cloud_client/api/runs/__init__.py +1 -0
  40. openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py +188 -0
  41. openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py +170 -0
  42. openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py +176 -0
  43. openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +266 -0
  44. openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py +202 -0
  45. openapi_client/cyberdesk_cloud_client/api/test/__init__.py +1 -0
  46. openapi_client/cyberdesk_cloud_client/api/test/dummy_test_endpoint_v1_test_post.py +156 -0
  47. openapi_client/cyberdesk_cloud_client/api/trajectories/__init__.py +1 -0
  48. openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py +184 -0
  49. openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py +170 -0
  50. openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py +176 -0
  51. openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py +176 -0
  52. openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +221 -0
  53. openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py +198 -0
  54. openapi_client/cyberdesk_cloud_client/api/workflows/__init__.py +1 -0
  55. openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py +180 -0
  56. openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py +174 -0
  57. openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py +172 -0
  58. openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py +185 -0
  59. openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +194 -0
  60. openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py +202 -0
  61. openapi_client/{api_reference_client → cyberdesk_cloud_client}/client.py +268 -268
  62. openapi_client/{api_reference_client → cyberdesk_cloud_client}/errors.py +16 -16
  63. openapi_client/cyberdesk_cloud_client/models/__init__.py +107 -0
  64. openapi_client/cyberdesk_cloud_client/models/connection_create.py +111 -0
  65. openapi_client/cyberdesk_cloud_client/models/connection_response.py +171 -0
  66. openapi_client/{api_reference_client/models/get_v1_desktop_id_response_404_status.py → cyberdesk_cloud_client/models/connection_status.py} +10 -8
  67. openapi_client/cyberdesk_cloud_client/models/connection_update.py +145 -0
  68. openapi_client/cyberdesk_cloud_client/models/database_health_check_v1_health_db_get_response_database_health_check_v1_health_db_get.py +44 -0
  69. openapi_client/{api_reference_client/models/post_v1_desktop_id_bash_action_body.py → cyberdesk_cloud_client/models/display_dimensions.py} +67 -59
  70. openapi_client/cyberdesk_cloud_client/models/dummy_test_endpoint_v1_test_post_response_dummy_test_endpoint_v1_test_post.py +44 -0
  71. openapi_client/cyberdesk_cloud_client/models/get_workflow_versions_v1_workflows_workflow_id_versions_get_response_200_item.py +44 -0
  72. openapi_client/cyberdesk_cloud_client/models/health_check_v1_health_get_response_health_check_v1_health_get.py +44 -0
  73. openapi_client/cyberdesk_cloud_client/models/http_validation_error.py +75 -0
  74. openapi_client/{api_reference_client/models/post_v1_desktop_body.py → cyberdesk_cloud_client/models/keyboard_key_request.py} +59 -59
  75. openapi_client/{api_reference_client/models/post_v1_desktop_id_stop_response_200.py → cyberdesk_cloud_client/models/keyboard_type_request.py} +59 -62
  76. openapi_client/cyberdesk_cloud_client/models/machine_create.py +130 -0
  77. openapi_client/cyberdesk_cloud_client/models/machine_response.py +182 -0
  78. openapi_client/{api_reference_client/models/get_v1_desktop_id_response_403_status.py → cyberdesk_cloud_client/models/machine_status.py} +10 -8
  79. openapi_client/cyberdesk_cloud_client/models/machine_update.py +195 -0
  80. openapi_client/cyberdesk_cloud_client/models/mouse_click_request.py +109 -0
  81. openapi_client/{api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_end.py → cyberdesk_cloud_client/models/mouse_move_request.py} +67 -71
  82. openapi_client/{api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_start.py → cyberdesk_cloud_client/models/mouse_position.py} +67 -71
  83. openapi_client/cyberdesk_cloud_client/models/paginated_response.py +84 -0
  84. openapi_client/cyberdesk_cloud_client/models/paginated_response_connection_response.py +97 -0
  85. openapi_client/cyberdesk_cloud_client/models/paginated_response_machine_response.py +97 -0
  86. openapi_client/cyberdesk_cloud_client/models/paginated_response_run_response.py +97 -0
  87. openapi_client/cyberdesk_cloud_client/models/paginated_response_trajectory_response.py +97 -0
  88. openapi_client/cyberdesk_cloud_client/models/paginated_response_workflow_response.py +97 -0
  89. openapi_client/cyberdesk_cloud_client/models/request_log_create.py +187 -0
  90. openapi_client/cyberdesk_cloud_client/models/request_log_response.py +230 -0
  91. openapi_client/cyberdesk_cloud_client/models/request_log_update.py +164 -0
  92. openapi_client/cyberdesk_cloud_client/models/run_create.py +94 -0
  93. openapi_client/cyberdesk_cloud_client/models/run_response.py +228 -0
  94. openapi_client/cyberdesk_cloud_client/models/run_response_output_data_type_0.py +44 -0
  95. openapi_client/cyberdesk_cloud_client/models/run_response_run_message_history_type_0_item.py +44 -0
  96. openapi_client/{api_reference_client/models/post_v1_desktop_response_200_status.py → cyberdesk_cloud_client/models/run_status.py} +12 -11
  97. openapi_client/cyberdesk_cloud_client/models/run_update.py +226 -0
  98. openapi_client/cyberdesk_cloud_client/models/run_update_output_data_type_0.py +44 -0
  99. openapi_client/cyberdesk_cloud_client/models/run_update_run_message_history_type_0_item.py +44 -0
  100. openapi_client/cyberdesk_cloud_client/models/trajectory_create.py +83 -0
  101. openapi_client/cyberdesk_cloud_client/models/trajectory_create_trajectory_data_item.py +44 -0
  102. openapi_client/cyberdesk_cloud_client/models/trajectory_response.py +117 -0
  103. openapi_client/cyberdesk_cloud_client/models/trajectory_response_trajectory_data_item.py +44 -0
  104. openapi_client/cyberdesk_cloud_client/models/trajectory_update.py +99 -0
  105. openapi_client/cyberdesk_cloud_client/models/trajectory_update_trajectory_data_type_0_item.py +44 -0
  106. openapi_client/{api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py → cyberdesk_cloud_client/models/validation_error.py} +88 -70
  107. openapi_client/cyberdesk_cloud_client/models/workflow_create.py +82 -0
  108. openapi_client/cyberdesk_cloud_client/models/workflow_response.py +164 -0
  109. openapi_client/cyberdesk_cloud_client/models/workflow_response_old_versions_type_0_item.py +44 -0
  110. openapi_client/cyberdesk_cloud_client/models/workflow_update.py +92 -0
  111. openapi_client/{api_reference_client → cyberdesk_cloud_client}/types.py +54 -46
  112. cyberdesk/actions.py +0 -38
  113. cyberdesk/types.py +0 -50
  114. cyberdesk-0.2.6.dist-info/METADATA +0 -226
  115. cyberdesk-0.2.6.dist-info/RECORD +0 -136
  116. openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py +0 -293
  117. openapi_client/api_reference_client/api/desktop/post_v1_desktop.py +0 -294
  118. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py +0 -307
  119. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py +0 -419
  120. openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py +0 -288
  121. openapi_client/api_reference_client/models/__init__.py +0 -249
  122. openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py +0 -104
  123. openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py +0 -11
  124. openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py +0 -69
  125. openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py +0 -8
  126. openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py +0 -69
  127. openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py +0 -8
  128. openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py +0 -69
  129. openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py +0 -69
  130. openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py +0 -69
  131. openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py +0 -8
  132. openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py +0 -69
  133. openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py +0 -8
  134. openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py +0 -69
  135. openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py +0 -8
  136. openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py +0 -69
  137. openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py +0 -8
  138. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py +0 -79
  139. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py +0 -69
  140. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py +0 -8
  141. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py +0 -69
  142. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py +0 -8
  143. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py +0 -69
  144. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py +0 -8
  145. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py +0 -69
  146. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py +0 -8
  147. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py +0 -69
  148. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py +0 -8
  149. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py +0 -69
  150. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py +0 -8
  151. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py +0 -69
  152. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py +0 -8
  153. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py +0 -69
  154. openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py +0 -8
  155. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py +0 -133
  156. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py +0 -10
  157. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py +0 -10
  158. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py +0 -8
  159. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py +0 -98
  160. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py +0 -8
  161. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py +0 -64
  162. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py +0 -8
  163. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py +0 -80
  164. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py +0 -8
  165. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py +0 -109
  166. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py +0 -10
  167. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py +0 -8
  168. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py +0 -79
  169. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py +0 -71
  170. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py +0 -8
  171. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py +0 -71
  172. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py +0 -8
  173. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py +0 -71
  174. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py +0 -8
  175. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py +0 -71
  176. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py +0 -8
  177. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py +0 -71
  178. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py +0 -8
  179. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py +0 -71
  180. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py +0 -8
  181. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py +0 -71
  182. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py +0 -8
  183. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py +0 -71
  184. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py +0 -8
  185. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py +0 -63
  186. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py +0 -8
  187. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py +0 -81
  188. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py +0 -11
  189. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py +0 -8
  190. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py +0 -71
  191. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py +0 -8
  192. openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py +0 -8
  193. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py +0 -11
  194. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py +0 -69
  195. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py +0 -8
  196. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py +0 -69
  197. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py +0 -8
  198. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py +0 -69
  199. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py +0 -8
  200. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py +0 -69
  201. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py +0 -8
  202. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py +0 -69
  203. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py +0 -8
  204. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py +0 -69
  205. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py +0 -8
  206. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py +0 -69
  207. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py +0 -8
  208. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py +0 -69
  209. openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py +0 -8
  210. openapi_client/api_reference_client/models/post_v1_desktop_response_200.py +0 -70
  211. openapi_client/api_reference_client/models/post_v1_desktop_response_400.py +0 -69
  212. openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py +0 -8
  213. openapi_client/api_reference_client/models/post_v1_desktop_response_401.py +0 -69
  214. openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py +0 -8
  215. openapi_client/api_reference_client/models/post_v1_desktop_response_403.py +0 -69
  216. openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py +0 -8
  217. openapi_client/api_reference_client/models/post_v1_desktop_response_404.py +0 -69
  218. openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py +0 -8
  219. openapi_client/api_reference_client/models/post_v1_desktop_response_409.py +0 -69
  220. openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py +0 -8
  221. openapi_client/api_reference_client/models/post_v1_desktop_response_429.py +0 -69
  222. openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py +0 -8
  223. openapi_client/api_reference_client/models/post_v1_desktop_response_500.py +0 -69
  224. openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py +0 -8
  225. openapi_client/api_reference_client/models/post_v1_desktop_response_502.py +0 -69
  226. openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py +0 -8
  227. {cyberdesk-0.2.6.dist-info → cyberdesk-1.0.0.dist-info}/licenses/LICENSE +0 -0
  228. {cyberdesk-0.2.6.dist-info → cyberdesk-1.0.0.dist-info}/top_level.txt +0 -0
  229. /openapi_client/{api_reference_client → cyberdesk_cloud_client}/py.typed +0 -0
@@ -1,133 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..models.post_v1_desktop_id_computer_action_click_mouse_action_button import (
8
- PostV1DesktopIdComputerActionClickMouseActionButton,
9
- )
10
- from ..models.post_v1_desktop_id_computer_action_click_mouse_action_click_type import (
11
- PostV1DesktopIdComputerActionClickMouseActionClickType,
12
- )
13
- from ..models.post_v1_desktop_id_computer_action_click_mouse_action_type import (
14
- PostV1DesktopIdComputerActionClickMouseActionType,
15
- )
16
- from ..types import UNSET, Unset
17
-
18
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionClickMouseAction")
19
-
20
-
21
- @_attrs_define
22
- class PostV1DesktopIdComputerActionClickMouseAction:
23
- """
24
- Attributes:
25
- type_ (PostV1DesktopIdComputerActionClickMouseActionType): Perform a mouse action: click, press (down), or
26
- release (up). Defaults to a single left click at the current position. Example: click_mouse.
27
- x (Union[Unset, int]): X coordinate for the action (optional, uses current position if omitted) Example: 500.
28
- y (Union[Unset, int]): Y coordinate for the action (optional, uses current position if omitted) Example: 300.
29
- button (Union[Unset, PostV1DesktopIdComputerActionClickMouseActionButton]): Mouse button to use (optional,
30
- defaults to 'left') Example: left.
31
- num_of_clicks (Union[Unset, int]): Number of clicks to perform (optional, defaults to 1, only applicable for
32
- 'click' type) Example: 1.
33
- click_type (Union[Unset, PostV1DesktopIdComputerActionClickMouseActionClickType]): Type of mouse action
34
- (optional, defaults to 'click') Example: click.
35
- """
36
-
37
- type_: PostV1DesktopIdComputerActionClickMouseActionType
38
- x: Union[Unset, int] = UNSET
39
- y: Union[Unset, int] = UNSET
40
- button: Union[Unset, PostV1DesktopIdComputerActionClickMouseActionButton] = UNSET
41
- num_of_clicks: Union[Unset, int] = UNSET
42
- click_type: Union[Unset, PostV1DesktopIdComputerActionClickMouseActionClickType] = UNSET
43
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
44
-
45
- def to_dict(self) -> dict[str, Any]:
46
- type_ = self.type_.value
47
-
48
- x = self.x
49
-
50
- y = self.y
51
-
52
- button: Union[Unset, str] = UNSET
53
- if not isinstance(self.button, Unset):
54
- button = self.button.value
55
-
56
- num_of_clicks = self.num_of_clicks
57
-
58
- click_type: Union[Unset, str] = UNSET
59
- if not isinstance(self.click_type, Unset):
60
- click_type = self.click_type.value
61
-
62
- field_dict: dict[str, Any] = {}
63
- field_dict.update(self.additional_properties)
64
- field_dict.update(
65
- {
66
- "type": type_,
67
- }
68
- )
69
- if x is not UNSET:
70
- field_dict["x"] = x
71
- if y is not UNSET:
72
- field_dict["y"] = y
73
- if button is not UNSET:
74
- field_dict["button"] = button
75
- if num_of_clicks is not UNSET:
76
- field_dict["num_of_clicks"] = num_of_clicks
77
- if click_type is not UNSET:
78
- field_dict["click_type"] = click_type
79
-
80
- return field_dict
81
-
82
- @classmethod
83
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
84
- d = dict(src_dict)
85
- type_ = PostV1DesktopIdComputerActionClickMouseActionType(d.pop("type"))
86
-
87
- x = d.pop("x", UNSET)
88
-
89
- y = d.pop("y", UNSET)
90
-
91
- _button = d.pop("button", UNSET)
92
- button: Union[Unset, PostV1DesktopIdComputerActionClickMouseActionButton]
93
- if isinstance(_button, Unset):
94
- button = UNSET
95
- else:
96
- button = PostV1DesktopIdComputerActionClickMouseActionButton(_button)
97
-
98
- num_of_clicks = d.pop("num_of_clicks", UNSET)
99
-
100
- _click_type = d.pop("click_type", UNSET)
101
- click_type: Union[Unset, PostV1DesktopIdComputerActionClickMouseActionClickType]
102
- if isinstance(_click_type, Unset):
103
- click_type = UNSET
104
- else:
105
- click_type = PostV1DesktopIdComputerActionClickMouseActionClickType(_click_type)
106
-
107
- post_v1_desktop_id_computer_action_click_mouse_action = cls(
108
- type_=type_,
109
- x=x,
110
- y=y,
111
- button=button,
112
- num_of_clicks=num_of_clicks,
113
- click_type=click_type,
114
- )
115
-
116
- post_v1_desktop_id_computer_action_click_mouse_action.additional_properties = d
117
- return post_v1_desktop_id_computer_action_click_mouse_action
118
-
119
- @property
120
- def additional_keys(self) -> list[str]:
121
- return list(self.additional_properties.keys())
122
-
123
- def __getitem__(self, key: str) -> Any:
124
- return self.additional_properties[key]
125
-
126
- def __setitem__(self, key: str, value: Any) -> None:
127
- self.additional_properties[key] = value
128
-
129
- def __delitem__(self, key: str) -> None:
130
- del self.additional_properties[key]
131
-
132
- def __contains__(self, key: str) -> bool:
133
- return key in self.additional_properties
@@ -1,10 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionClickMouseActionButton(str, Enum):
5
- LEFT = "left"
6
- MIDDLE = "middle"
7
- RIGHT = "right"
8
-
9
- def __str__(self) -> str:
10
- return str(self.value)
@@ -1,10 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionClickMouseActionClickType(str, Enum):
5
- CLICK = "click"
6
- DOWN = "down"
7
- UP = "up"
8
-
9
- def __str__(self) -> str:
10
- return str(self.value)
@@ -1,8 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionClickMouseActionType(str, Enum):
5
- CLICK_MOUSE = "click_mouse"
6
-
7
- def __str__(self) -> str:
8
- return str(self.value)
@@ -1,98 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import TYPE_CHECKING, Any, TypeVar
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..models.post_v1_desktop_id_computer_action_drag_mouse_action_type import (
8
- PostV1DesktopIdComputerActionDragMouseActionType,
9
- )
10
-
11
- if TYPE_CHECKING:
12
- from ..models.post_v1_desktop_id_computer_action_drag_mouse_action_end import (
13
- PostV1DesktopIdComputerActionDragMouseActionEnd,
14
- )
15
- from ..models.post_v1_desktop_id_computer_action_drag_mouse_action_start import (
16
- PostV1DesktopIdComputerActionDragMouseActionStart,
17
- )
18
-
19
-
20
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionDragMouseAction")
21
-
22
-
23
- @_attrs_define
24
- class PostV1DesktopIdComputerActionDragMouseAction:
25
- """
26
- Attributes:
27
- type_ (PostV1DesktopIdComputerActionDragMouseActionType): Drag the mouse from start to end coordinates Example:
28
- drag_mouse.
29
- start (PostV1DesktopIdComputerActionDragMouseActionStart): Starting coordinates for the drag operation Example:
30
- {'x': 100, 'y': 100}.
31
- end (PostV1DesktopIdComputerActionDragMouseActionEnd): Ending coordinates for the drag operation Example: {'x':
32
- 300, 'y': 300}.
33
- """
34
-
35
- type_: PostV1DesktopIdComputerActionDragMouseActionType
36
- start: "PostV1DesktopIdComputerActionDragMouseActionStart"
37
- end: "PostV1DesktopIdComputerActionDragMouseActionEnd"
38
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
39
-
40
- def to_dict(self) -> dict[str, Any]:
41
- type_ = self.type_.value
42
-
43
- start = self.start.to_dict()
44
-
45
- end = self.end.to_dict()
46
-
47
- field_dict: dict[str, Any] = {}
48
- field_dict.update(self.additional_properties)
49
- field_dict.update(
50
- {
51
- "type": type_,
52
- "start": start,
53
- "end": end,
54
- }
55
- )
56
-
57
- return field_dict
58
-
59
- @classmethod
60
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
61
- from ..models.post_v1_desktop_id_computer_action_drag_mouse_action_end import (
62
- PostV1DesktopIdComputerActionDragMouseActionEnd,
63
- )
64
- from ..models.post_v1_desktop_id_computer_action_drag_mouse_action_start import (
65
- PostV1DesktopIdComputerActionDragMouseActionStart,
66
- )
67
-
68
- d = dict(src_dict)
69
- type_ = PostV1DesktopIdComputerActionDragMouseActionType(d.pop("type"))
70
-
71
- start = PostV1DesktopIdComputerActionDragMouseActionStart.from_dict(d.pop("start"))
72
-
73
- end = PostV1DesktopIdComputerActionDragMouseActionEnd.from_dict(d.pop("end"))
74
-
75
- post_v1_desktop_id_computer_action_drag_mouse_action = cls(
76
- type_=type_,
77
- start=start,
78
- end=end,
79
- )
80
-
81
- post_v1_desktop_id_computer_action_drag_mouse_action.additional_properties = d
82
- return post_v1_desktop_id_computer_action_drag_mouse_action
83
-
84
- @property
85
- def additional_keys(self) -> list[str]:
86
- return list(self.additional_properties.keys())
87
-
88
- def __getitem__(self, key: str) -> Any:
89
- return self.additional_properties[key]
90
-
91
- def __setitem__(self, key: str, value: Any) -> None:
92
- self.additional_properties[key] = value
93
-
94
- def __delitem__(self, key: str) -> None:
95
- del self.additional_properties[key]
96
-
97
- def __contains__(self, key: str) -> bool:
98
- return key in self.additional_properties
@@ -1,8 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionDragMouseActionType(str, Enum):
5
- DRAG_MOUSE = "drag_mouse"
6
-
7
- def __str__(self) -> str:
8
- return str(self.value)
@@ -1,64 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import Any, TypeVar
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..models.post_v1_desktop_id_computer_action_get_cursor_position_action_type import (
8
- PostV1DesktopIdComputerActionGetCursorPositionActionType,
9
- )
10
-
11
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionGetCursorPositionAction")
12
-
13
-
14
- @_attrs_define
15
- class PostV1DesktopIdComputerActionGetCursorPositionAction:
16
- """
17
- Attributes:
18
- type_ (PostV1DesktopIdComputerActionGetCursorPositionActionType): Get the current mouse cursor position Example:
19
- get_cursor_position.
20
- """
21
-
22
- type_: PostV1DesktopIdComputerActionGetCursorPositionActionType
23
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
24
-
25
- def to_dict(self) -> dict[str, Any]:
26
- type_ = self.type_.value
27
-
28
- field_dict: dict[str, Any] = {}
29
- field_dict.update(self.additional_properties)
30
- field_dict.update(
31
- {
32
- "type": type_,
33
- }
34
- )
35
-
36
- return field_dict
37
-
38
- @classmethod
39
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
40
- d = dict(src_dict)
41
- type_ = PostV1DesktopIdComputerActionGetCursorPositionActionType(d.pop("type"))
42
-
43
- post_v1_desktop_id_computer_action_get_cursor_position_action = cls(
44
- type_=type_,
45
- )
46
-
47
- post_v1_desktop_id_computer_action_get_cursor_position_action.additional_properties = d
48
- return post_v1_desktop_id_computer_action_get_cursor_position_action
49
-
50
- @property
51
- def additional_keys(self) -> list[str]:
52
- return list(self.additional_properties.keys())
53
-
54
- def __getitem__(self, key: str) -> Any:
55
- return self.additional_properties[key]
56
-
57
- def __setitem__(self, key: str, value: Any) -> None:
58
- self.additional_properties[key] = value
59
-
60
- def __delitem__(self, key: str) -> None:
61
- del self.additional_properties[key]
62
-
63
- def __contains__(self, key: str) -> bool:
64
- return key in self.additional_properties
@@ -1,8 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionGetCursorPositionActionType(str, Enum):
5
- GET_CURSOR_POSITION = "get_cursor_position"
6
-
7
- def __str__(self) -> str:
8
- return str(self.value)
@@ -1,80 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import Any, TypeVar
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..models.post_v1_desktop_id_computer_action_move_mouse_action_type import (
8
- PostV1DesktopIdComputerActionMoveMouseActionType,
9
- )
10
-
11
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionMoveMouseAction")
12
-
13
-
14
- @_attrs_define
15
- class PostV1DesktopIdComputerActionMoveMouseAction:
16
- """
17
- Attributes:
18
- type_ (PostV1DesktopIdComputerActionMoveMouseActionType): Move the mouse cursor to the specified coordinates
19
- Example: move_mouse.
20
- x (int): X coordinate to move to Example: 500.
21
- y (int): Y coordinate to move to Example: 300.
22
- """
23
-
24
- type_: PostV1DesktopIdComputerActionMoveMouseActionType
25
- x: int
26
- y: int
27
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
28
-
29
- def to_dict(self) -> dict[str, Any]:
30
- type_ = self.type_.value
31
-
32
- x = self.x
33
-
34
- y = self.y
35
-
36
- field_dict: dict[str, Any] = {}
37
- field_dict.update(self.additional_properties)
38
- field_dict.update(
39
- {
40
- "type": type_,
41
- "x": x,
42
- "y": y,
43
- }
44
- )
45
-
46
- return field_dict
47
-
48
- @classmethod
49
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
50
- d = dict(src_dict)
51
- type_ = PostV1DesktopIdComputerActionMoveMouseActionType(d.pop("type"))
52
-
53
- x = d.pop("x")
54
-
55
- y = d.pop("y")
56
-
57
- post_v1_desktop_id_computer_action_move_mouse_action = cls(
58
- type_=type_,
59
- x=x,
60
- y=y,
61
- )
62
-
63
- post_v1_desktop_id_computer_action_move_mouse_action.additional_properties = d
64
- return post_v1_desktop_id_computer_action_move_mouse_action
65
-
66
- @property
67
- def additional_keys(self) -> list[str]:
68
- return list(self.additional_properties.keys())
69
-
70
- def __getitem__(self, key: str) -> Any:
71
- return self.additional_properties[key]
72
-
73
- def __setitem__(self, key: str, value: Any) -> None:
74
- self.additional_properties[key] = value
75
-
76
- def __delitem__(self, key: str) -> None:
77
- del self.additional_properties[key]
78
-
79
- def __contains__(self, key: str) -> bool:
80
- return key in self.additional_properties
@@ -1,8 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionMoveMouseActionType(str, Enum):
5
- MOVE_MOUSE = "move_mouse"
6
-
7
- def __str__(self) -> str:
8
- return str(self.value)
@@ -1,109 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union, cast
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..models.post_v1_desktop_id_computer_action_press_keys_action_key_action_type import (
8
- PostV1DesktopIdComputerActionPressKeysActionKeyActionType,
9
- )
10
- from ..models.post_v1_desktop_id_computer_action_press_keys_action_type import (
11
- PostV1DesktopIdComputerActionPressKeysActionType,
12
- )
13
- from ..types import UNSET, Unset
14
-
15
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionPressKeysAction")
16
-
17
-
18
- @_attrs_define
19
- class PostV1DesktopIdComputerActionPressKeysAction:
20
- """
21
- Attributes:
22
- type_ (PostV1DesktopIdComputerActionPressKeysActionType): Press, hold down, or release one or more keyboard
23
- keys. Defaults to a single press and release. Example: press_keys.
24
- keys (Union[list[str], str]):
25
- key_action_type (Union[Unset, PostV1DesktopIdComputerActionPressKeysActionKeyActionType]): Type of key action
26
- (optional, defaults to 'press' which is a down and up action) Example: press.
27
- """
28
-
29
- type_: PostV1DesktopIdComputerActionPressKeysActionType
30
- keys: Union[list[str], str]
31
- key_action_type: Union[Unset, PostV1DesktopIdComputerActionPressKeysActionKeyActionType] = UNSET
32
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
33
-
34
- def to_dict(self) -> dict[str, Any]:
35
- type_ = self.type_.value
36
-
37
- keys: Union[list[str], str]
38
- if isinstance(self.keys, list):
39
- keys = self.keys
40
-
41
- else:
42
- keys = self.keys
43
-
44
- key_action_type: Union[Unset, str] = UNSET
45
- if not isinstance(self.key_action_type, Unset):
46
- key_action_type = self.key_action_type.value
47
-
48
- field_dict: dict[str, Any] = {}
49
- field_dict.update(self.additional_properties)
50
- field_dict.update(
51
- {
52
- "type": type_,
53
- "keys": keys,
54
- }
55
- )
56
- if key_action_type is not UNSET:
57
- field_dict["key_action_type"] = key_action_type
58
-
59
- return field_dict
60
-
61
- @classmethod
62
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
63
- d = dict(src_dict)
64
- type_ = PostV1DesktopIdComputerActionPressKeysActionType(d.pop("type"))
65
-
66
- def _parse_keys(data: object) -> Union[list[str], str]:
67
- try:
68
- if not isinstance(data, list):
69
- raise TypeError()
70
- keys_type_1 = cast(list[str], data)
71
-
72
- return keys_type_1
73
- except: # noqa: E722
74
- pass
75
- return cast(Union[list[str], str], data)
76
-
77
- keys = _parse_keys(d.pop("keys"))
78
-
79
- _key_action_type = d.pop("key_action_type", UNSET)
80
- key_action_type: Union[Unset, PostV1DesktopIdComputerActionPressKeysActionKeyActionType]
81
- if isinstance(_key_action_type, Unset):
82
- key_action_type = UNSET
83
- else:
84
- key_action_type = PostV1DesktopIdComputerActionPressKeysActionKeyActionType(_key_action_type)
85
-
86
- post_v1_desktop_id_computer_action_press_keys_action = cls(
87
- type_=type_,
88
- keys=keys,
89
- key_action_type=key_action_type,
90
- )
91
-
92
- post_v1_desktop_id_computer_action_press_keys_action.additional_properties = d
93
- return post_v1_desktop_id_computer_action_press_keys_action
94
-
95
- @property
96
- def additional_keys(self) -> list[str]:
97
- return list(self.additional_properties.keys())
98
-
99
- def __getitem__(self, key: str) -> Any:
100
- return self.additional_properties[key]
101
-
102
- def __setitem__(self, key: str, value: Any) -> None:
103
- self.additional_properties[key] = value
104
-
105
- def __delitem__(self, key: str) -> None:
106
- del self.additional_properties[key]
107
-
108
- def __contains__(self, key: str) -> bool:
109
- return key in self.additional_properties
@@ -1,10 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionPressKeysActionKeyActionType(str, Enum):
5
- DOWN = "down"
6
- PRESS = "press"
7
- UP = "up"
8
-
9
- def __str__(self) -> str:
10
- return str(self.value)
@@ -1,8 +0,0 @@
1
- from enum import Enum
2
-
3
-
4
- class PostV1DesktopIdComputerActionPressKeysActionType(str, Enum):
5
- PRESS_KEYS = "press_keys"
6
-
7
- def __str__(self) -> str:
8
- return str(self.value)
@@ -1,79 +0,0 @@
1
- from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union
3
-
4
- from attrs import define as _attrs_define
5
- from attrs import field as _attrs_field
6
-
7
- from ..types import UNSET, Unset
8
-
9
- T = TypeVar("T", bound="PostV1DesktopIdComputerActionResponse200")
10
-
11
-
12
- @_attrs_define
13
- class PostV1DesktopIdComputerActionResponse200:
14
- """
15
- Attributes:
16
- output (Union[Unset, str]): Raw string output from the executed command (if any) Example: X=500 Y=300.
17
- error (Union[Unset, str]): Error message if the operation failed (also indicated by non-2xx HTTP status)
18
- Example: Command failed with code 1: xdotool: command not found.
19
- base64_image (Union[Unset, str]): Base64 encoded JPEG image data (only returned for screenshot actions) Example:
20
- /9j/4AAQSkZJRgABAQEAYABgAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQ....
21
- """
22
-
23
- output: Union[Unset, str] = UNSET
24
- error: Union[Unset, str] = UNSET
25
- base64_image: Union[Unset, str] = UNSET
26
- additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
27
-
28
- def to_dict(self) -> dict[str, Any]:
29
- output = self.output
30
-
31
- error = self.error
32
-
33
- base64_image = self.base64_image
34
-
35
- field_dict: dict[str, Any] = {}
36
- field_dict.update(self.additional_properties)
37
- field_dict.update({})
38
- if output is not UNSET:
39
- field_dict["output"] = output
40
- if error is not UNSET:
41
- field_dict["error"] = error
42
- if base64_image is not UNSET:
43
- field_dict["base64_image"] = base64_image
44
-
45
- return field_dict
46
-
47
- @classmethod
48
- def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
49
- d = dict(src_dict)
50
- output = d.pop("output", UNSET)
51
-
52
- error = d.pop("error", UNSET)
53
-
54
- base64_image = d.pop("base64_image", UNSET)
55
-
56
- post_v1_desktop_id_computer_action_response_200 = cls(
57
- output=output,
58
- error=error,
59
- base64_image=base64_image,
60
- )
61
-
62
- post_v1_desktop_id_computer_action_response_200.additional_properties = d
63
- return post_v1_desktop_id_computer_action_response_200
64
-
65
- @property
66
- def additional_keys(self) -> list[str]:
67
- return list(self.additional_properties.keys())
68
-
69
- def __getitem__(self, key: str) -> Any:
70
- return self.additional_properties[key]
71
-
72
- def __setitem__(self, key: str, value: Any) -> None:
73
- self.additional_properties[key] = value
74
-
75
- def __delitem__(self, key: str) -> None:
76
- del self.additional_properties[key]
77
-
78
- def __contains__(self, key: str) -> bool:
79
- return key in self.additional_properties