cyberdesk 0.2.7__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.
- cyberdesk/__init__.py +45 -7
- cyberdesk/client.py +779 -70
- cyberdesk-1.0.0.dist-info/METADATA +274 -0
- cyberdesk-1.0.0.dist-info/RECORD +114 -0
- {cyberdesk-0.2.7.dist-info → cyberdesk-1.0.0.dist-info}/WHEEL +1 -1
- openapi_client/{api_reference_client → cyberdesk_cloud_client}/__init__.py +8 -8
- openapi_client/{api_reference_client → cyberdesk_cloud_client}/api/__init__.py +1 -1
- openapi_client/{api_reference_client/api/desktop → cyberdesk_cloud_client/api/computer}/__init__.py +1 -1
- openapi_client/cyberdesk_cloud_client/api/computer/get_display_dimensions_v1_computer_machine_id_display_dimensions_get.py +163 -0
- openapi_client/cyberdesk_cloud_client/api/computer/get_mouse_position_v1_computer_machine_id_input_mouse_position_get.py +163 -0
- openapi_client/cyberdesk_cloud_client/api/computer/get_screenshot_v1_computer_machine_id_display_screenshot_get.py +158 -0
- openapi_client/cyberdesk_cloud_client/api/computer/keyboard_key_v1_computer_machine_id_input_keyboard_key_post.py +183 -0
- openapi_client/cyberdesk_cloud_client/api/computer/keyboard_type_v1_computer_machine_id_input_keyboard_type_post.py +183 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_click_v1_computer_machine_id_input_mouse_click_post.py +187 -0
- openapi_client/cyberdesk_cloud_client/api/computer/mouse_move_v1_computer_machine_id_input_mouse_move_post.py +183 -0
- openapi_client/cyberdesk_cloud_client/api/connections/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/connections/create_connection_v1_connections_post.py +180 -0
- openapi_client/cyberdesk_cloud_client/api/connections/delete_connection_v1_connections_connection_id_delete.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/connections/get_connection_v1_connections_connection_id_get.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/connections/list_connections_v1_connections_get.py +244 -0
- openapi_client/cyberdesk_cloud_client/api/connections/update_connection_v1_connections_connection_id_patch.py +198 -0
- openapi_client/cyberdesk_cloud_client/api/default/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/default/root_get.py +83 -0
- openapi_client/cyberdesk_cloud_client/api/health/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/health/database_health_check_v1_health_db_get.py +146 -0
- openapi_client/cyberdesk_cloud_client/api/health/health_check_v1_health_get.py +144 -0
- openapi_client/cyberdesk_cloud_client/api/machines/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/machines/create_machine_v1_machines_post.py +180 -0
- openapi_client/cyberdesk_cloud_client/api/machines/delete_machine_v1_machines_machine_id_delete.py +174 -0
- openapi_client/cyberdesk_cloud_client/api/machines/get_machine_v1_machines_machine_id_get.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/machines/list_machines_v1_machines_get.py +217 -0
- openapi_client/cyberdesk_cloud_client/api/machines/update_machine_v1_machines_machine_id_patch.py +198 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/create_request_log_v1_request_logs_post.py +184 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/delete_request_log_v1_request_logs_log_id_delete.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/get_request_log_v1_request_logs_log_id_get.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/list_request_logs_v1_request_logs_get.py +257 -0
- openapi_client/cyberdesk_cloud_client/api/request_logs/update_request_log_v1_request_logs_log_id_patch.py +202 -0
- openapi_client/cyberdesk_cloud_client/api/runs/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/runs/create_run_v1_runs_post.py +188 -0
- openapi_client/cyberdesk_cloud_client/api/runs/delete_run_v1_runs_run_id_delete.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/runs/get_run_v1_runs_run_id_get.py +176 -0
- openapi_client/cyberdesk_cloud_client/api/runs/list_runs_v1_runs_get.py +266 -0
- openapi_client/cyberdesk_cloud_client/api/runs/update_run_v1_runs_run_id_patch.py +202 -0
- openapi_client/cyberdesk_cloud_client/api/test/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/test/dummy_test_endpoint_v1_test_post.py +156 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/create_trajectory_v1_trajectories_post.py +184 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/delete_trajectory_v1_trajectories_trajectory_id_delete.py +170 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_latest_trajectory_for_workflow_v1_workflows_workflow_id_latest_trajectory_get.py +176 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/get_trajectory_v1_trajectories_trajectory_id_get.py +176 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/list_trajectories_v1_trajectories_get.py +221 -0
- openapi_client/cyberdesk_cloud_client/api/trajectories/update_trajectory_v1_trajectories_trajectory_id_patch.py +198 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/__init__.py +1 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/create_workflow_v1_workflows_post.py +180 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/delete_workflow_v1_workflows_workflow_id_delete.py +174 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_v1_workflows_workflow_id_get.py +172 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/get_workflow_versions_v1_workflows_workflow_id_versions_get.py +185 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/list_workflows_v1_workflows_get.py +194 -0
- openapi_client/cyberdesk_cloud_client/api/workflows/update_workflow_v1_workflows_workflow_id_patch.py +202 -0
- openapi_client/{api_reference_client → cyberdesk_cloud_client}/client.py +268 -268
- openapi_client/{api_reference_client → cyberdesk_cloud_client}/errors.py +16 -16
- openapi_client/cyberdesk_cloud_client/models/__init__.py +107 -0
- openapi_client/cyberdesk_cloud_client/models/connection_create.py +111 -0
- openapi_client/cyberdesk_cloud_client/models/connection_response.py +171 -0
- openapi_client/{api_reference_client/models/get_v1_desktop_id_response_404_status.py → cyberdesk_cloud_client/models/connection_status.py} +10 -8
- openapi_client/cyberdesk_cloud_client/models/connection_update.py +145 -0
- openapi_client/cyberdesk_cloud_client/models/database_health_check_v1_health_db_get_response_database_health_check_v1_health_db_get.py +44 -0
- openapi_client/{api_reference_client/models/post_v1_desktop_id_bash_action_body.py → cyberdesk_cloud_client/models/display_dimensions.py} +67 -59
- openapi_client/cyberdesk_cloud_client/models/dummy_test_endpoint_v1_test_post_response_dummy_test_endpoint_v1_test_post.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/get_workflow_versions_v1_workflows_workflow_id_versions_get_response_200_item.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/health_check_v1_health_get_response_health_check_v1_health_get.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/http_validation_error.py +75 -0
- openapi_client/{api_reference_client/models/post_v1_desktop_body.py → cyberdesk_cloud_client/models/keyboard_key_request.py} +59 -59
- openapi_client/{api_reference_client/models/post_v1_desktop_id_stop_response_200.py → cyberdesk_cloud_client/models/keyboard_type_request.py} +59 -62
- openapi_client/cyberdesk_cloud_client/models/machine_create.py +130 -0
- openapi_client/cyberdesk_cloud_client/models/machine_response.py +182 -0
- openapi_client/{api_reference_client/models/get_v1_desktop_id_response_403_status.py → cyberdesk_cloud_client/models/machine_status.py} +10 -8
- openapi_client/cyberdesk_cloud_client/models/machine_update.py +195 -0
- openapi_client/cyberdesk_cloud_client/models/mouse_click_request.py +109 -0
- 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
- 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
- openapi_client/cyberdesk_cloud_client/models/paginated_response.py +84 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_connection_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_machine_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_run_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_trajectory_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/paginated_response_workflow_response.py +97 -0
- openapi_client/cyberdesk_cloud_client/models/request_log_create.py +187 -0
- openapi_client/cyberdesk_cloud_client/models/request_log_response.py +230 -0
- openapi_client/cyberdesk_cloud_client/models/request_log_update.py +164 -0
- openapi_client/cyberdesk_cloud_client/models/run_create.py +94 -0
- openapi_client/cyberdesk_cloud_client/models/run_response.py +228 -0
- openapi_client/cyberdesk_cloud_client/models/run_response_output_data_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/run_response_run_message_history_type_0_item.py +44 -0
- openapi_client/{api_reference_client/models/post_v1_desktop_response_200_status.py → cyberdesk_cloud_client/models/run_status.py} +12 -11
- openapi_client/cyberdesk_cloud_client/models/run_update.py +226 -0
- openapi_client/cyberdesk_cloud_client/models/run_update_output_data_type_0.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/run_update_run_message_history_type_0_item.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_create.py +83 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_create_trajectory_data_item.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_response.py +117 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_response_trajectory_data_item.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_update.py +99 -0
- openapi_client/cyberdesk_cloud_client/models/trajectory_update_trajectory_data_type_0_item.py +44 -0
- openapi_client/{api_reference_client/models/post_v1_desktop_id_computer_action_wait_action.py → cyberdesk_cloud_client/models/validation_error.py} +88 -70
- openapi_client/cyberdesk_cloud_client/models/workflow_create.py +82 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_response.py +164 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_response_old_versions_type_0_item.py +44 -0
- openapi_client/cyberdesk_cloud_client/models/workflow_update.py +92 -0
- openapi_client/{api_reference_client → cyberdesk_cloud_client}/types.py +54 -46
- cyberdesk/actions.py +0 -118
- cyberdesk/types.py +0 -50
- cyberdesk-0.2.7.dist-info/METADATA +0 -228
- cyberdesk-0.2.7.dist-info/RECORD +0 -136
- openapi_client/api_reference_client/api/desktop/get_v1_desktop_id.py +0 -293
- openapi_client/api_reference_client/api/desktop/post_v1_desktop.py +0 -294
- openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_bash_action.py +0 -307
- openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_computer_action.py +0 -419
- openapi_client/api_reference_client/api/desktop/post_v1_desktop_id_stop.py +0 -288
- openapi_client/api_reference_client/models/__init__.py +0 -249
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_200.py +0 -104
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_200_status.py +0 -11
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_400.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_400_status.py +0 -8
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_401.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_401_status.py +0 -8
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_403.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_404.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_409.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_409_status.py +0 -8
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_429.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_429_status.py +0 -8
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_500.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_500_status.py +0 -8
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_502.py +0 -69
- openapi_client/api_reference_client/models/get_v1_desktop_id_response_502_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_200.py +0 -79
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_400_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_401_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_403_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_404_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_409_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_429_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_500_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_bash_action_response_502_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action.py +0 -133
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_button.py +0 -10
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_click_type.py +0 -10
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_click_mouse_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action.py +0 -98
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_drag_mouse_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action.py +0 -64
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_get_cursor_position_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action.py +0 -80
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_move_mouse_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action.py +0 -109
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_key_action_type.py +0 -10
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_press_keys_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_200.py +0 -79
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_400_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_401_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_403_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_404_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_409_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_429_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_500_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_response_502_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action.py +0 -63
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_screenshot_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action.py +0 -81
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_direction.py +0 -11
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_scroll_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action.py +0 -71
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_type_text_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_computer_action_wait_action_type.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_200_status.py +0 -11
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_400_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_401_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_403_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_404_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_409_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_429_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_500_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_id_stop_response_502_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_200.py +0 -70
- openapi_client/api_reference_client/models/post_v1_desktop_response_400.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_400_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_401.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_401_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_403.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_403_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_404.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_404_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_409.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_409_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_429.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_429_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_500.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_500_status.py +0 -8
- openapi_client/api_reference_client/models/post_v1_desktop_response_502.py +0 -69
- openapi_client/api_reference_client/models/post_v1_desktop_response_502_status.py +0 -8
- {cyberdesk-0.2.7.dist-info → cyberdesk-1.0.0.dist-info}/licenses/LICENSE +0 -0
- {cyberdesk-0.2.7.dist-info → cyberdesk-1.0.0.dist-info}/top_level.txt +0 -0
- /openapi_client/{api_reference_client → cyberdesk_cloud_client}/py.typed +0 -0
|
@@ -1,69 +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.get_v1_desktop_id_response_400_status import GetV1DesktopIdResponse400Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse400")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse400:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse400Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse400Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse400Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_400 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_400.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_400
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_401_status import GetV1DesktopIdResponse401Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse401")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse401:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse401Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse401Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse401Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_401 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_401.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_401
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_403_status import GetV1DesktopIdResponse403Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse403")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse403:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse403Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse403Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse403Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_403 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_403.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_403
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_404_status import GetV1DesktopIdResponse404Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse404")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse404:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse404Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse404Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse404Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_404 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_404.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_404
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_409_status import GetV1DesktopIdResponse409Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse409")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse409:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse409Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse409Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse409Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_409 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_409.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_409
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_429_status import GetV1DesktopIdResponse429Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse429")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse429:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse429Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse429Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse429Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_429 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_429.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_429
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_500_status import GetV1DesktopIdResponse500Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse500")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse500:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse500Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse500Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse500Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_500 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_500.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_500
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -1,69 +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.get_v1_desktop_id_response_502_status import GetV1DesktopIdResponse502Status
|
|
8
|
-
|
|
9
|
-
T = TypeVar("T", bound="GetV1DesktopIdResponse502")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class GetV1DesktopIdResponse502:
|
|
14
|
-
"""
|
|
15
|
-
Attributes:
|
|
16
|
-
status (GetV1DesktopIdResponse502Status): Example: error.
|
|
17
|
-
error (str): Error message detailing what went wrong Example: Instance not found or unauthorized.
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
status: GetV1DesktopIdResponse502Status
|
|
21
|
-
error: str
|
|
22
|
-
additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
|
|
23
|
-
|
|
24
|
-
def to_dict(self) -> dict[str, Any]:
|
|
25
|
-
status = self.status.value
|
|
26
|
-
|
|
27
|
-
error = self.error
|
|
28
|
-
|
|
29
|
-
field_dict: dict[str, Any] = {}
|
|
30
|
-
field_dict.update(self.additional_properties)
|
|
31
|
-
field_dict.update(
|
|
32
|
-
{
|
|
33
|
-
"status": status,
|
|
34
|
-
"error": error,
|
|
35
|
-
}
|
|
36
|
-
)
|
|
37
|
-
|
|
38
|
-
return field_dict
|
|
39
|
-
|
|
40
|
-
@classmethod
|
|
41
|
-
def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
|
|
42
|
-
d = dict(src_dict)
|
|
43
|
-
status = GetV1DesktopIdResponse502Status(d.pop("status"))
|
|
44
|
-
|
|
45
|
-
error = d.pop("error")
|
|
46
|
-
|
|
47
|
-
get_v1_desktop_id_response_502 = cls(
|
|
48
|
-
status=status,
|
|
49
|
-
error=error,
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
get_v1_desktop_id_response_502.additional_properties = d
|
|
53
|
-
return get_v1_desktop_id_response_502
|
|
54
|
-
|
|
55
|
-
@property
|
|
56
|
-
def additional_keys(self) -> list[str]:
|
|
57
|
-
return list(self.additional_properties.keys())
|
|
58
|
-
|
|
59
|
-
def __getitem__(self, key: str) -> Any:
|
|
60
|
-
return self.additional_properties[key]
|
|
61
|
-
|
|
62
|
-
def __setitem__(self, key: str, value: Any) -> None:
|
|
63
|
-
self.additional_properties[key] = value
|
|
64
|
-
|
|
65
|
-
def __delitem__(self, key: str) -> None:
|
|
66
|
-
del self.additional_properties[key]
|
|
67
|
-
|
|
68
|
-
def __contains__(self, key: str) -> bool:
|
|
69
|
-
return key in self.additional_properties
|
|
@@ -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="PostV1DesktopIdBashActionResponse200")
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@_attrs_define
|
|
13
|
-
class PostV1DesktopIdBashActionResponse200:
|
|
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_bash_action_response_200 = cls(
|
|
57
|
-
output=output,
|
|
58
|
-
error=error,
|
|
59
|
-
base64_image=base64_image,
|
|
60
|
-
)
|
|
61
|
-
|
|
62
|
-
post_v1_desktop_id_bash_action_response_200.additional_properties = d
|
|
63
|
-
return post_v1_desktop_id_bash_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
|