wandelbots_api_client 26.3.0.dev29__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.
Files changed (693) hide show
  1. wandelbots_api_client/__init__.py +48 -0
  2. wandelbots_api_client/api/__init__.py +63 -0
  3. wandelbots_api_client/api/application_api.py +1514 -0
  4. wandelbots_api_client/api/cell_api.py +1424 -0
  5. wandelbots_api_client/api/controller_api.py +2951 -0
  6. wandelbots_api_client/api/controller_ios_api.py +1205 -0
  7. wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
  8. wandelbots_api_client/api/device_configuration_api.py +1193 -0
  9. wandelbots_api_client/api/library_program_api.py +1326 -0
  10. wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
  11. wandelbots_api_client/api/library_recipe_api.py +1351 -0
  12. wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
  13. wandelbots_api_client/api/license_api.py +865 -0
  14. wandelbots_api_client/api/motion_api.py +3596 -0
  15. wandelbots_api_client/api/motion_group_api.py +956 -0
  16. wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
  17. wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
  18. wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
  19. wandelbots_api_client/api/program_api.py +1987 -0
  20. wandelbots_api_client/api/program_operator_api.py +1881 -0
  21. wandelbots_api_client/api/program_values_api.py +1444 -0
  22. wandelbots_api_client/api/store_collision_components_api.py +3074 -0
  23. wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
  24. wandelbots_api_client/api/store_object_api.py +1387 -0
  25. wandelbots_api_client/api/system_api.py +1075 -0
  26. wandelbots_api_client/api/version_api.py +237 -0
  27. wandelbots_api_client/api/virtual_robot_api.py +1583 -0
  28. wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
  29. wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
  30. wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
  31. wandelbots_api_client/api_client.py +688 -0
  32. wandelbots_api_client/api_response.py +20 -0
  33. wandelbots_api_client/authorization.py +243 -0
  34. wandelbots_api_client/configuration.py +579 -0
  35. wandelbots_api_client/exceptions.py +216 -0
  36. wandelbots_api_client/models/__init__.py +316 -0
  37. wandelbots_api_client/models/abb_controller.py +112 -0
  38. wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
  39. wandelbots_api_client/models/activate_license_request.py +86 -0
  40. wandelbots_api_client/models/add_request.py +95 -0
  41. wandelbots_api_client/models/all_joint_positions_request.py +96 -0
  42. wandelbots_api_client/models/all_joint_positions_response.py +109 -0
  43. wandelbots_api_client/models/api_version.py +86 -0
  44. wandelbots_api_client/models/app.py +148 -0
  45. wandelbots_api_client/models/array_input.py +114 -0
  46. wandelbots_api_client/models/array_output.py +116 -0
  47. wandelbots_api_client/models/behavior.py +35 -0
  48. wandelbots_api_client/models/blending_auto.py +99 -0
  49. wandelbots_api_client/models/blending_position.py +97 -0
  50. wandelbots_api_client/models/box.py +98 -0
  51. wandelbots_api_client/models/box2.py +112 -0
  52. wandelbots_api_client/models/box3.py +112 -0
  53. wandelbots_api_client/models/capsule.py +87 -0
  54. wandelbots_api_client/models/capsule2.py +97 -0
  55. wandelbots_api_client/models/capsule3.py +101 -0
  56. wandelbots_api_client/models/capture.py +86 -0
  57. wandelbots_api_client/models/cell.py +142 -0
  58. wandelbots_api_client/models/circle.py +99 -0
  59. wandelbots_api_client/models/code_with_arguments.py +108 -0
  60. wandelbots_api_client/models/collection_value.py +322 -0
  61. wandelbots_api_client/models/collider.py +105 -0
  62. wandelbots_api_client/models/collider_input.py +105 -0
  63. wandelbots_api_client/models/collider_output.py +105 -0
  64. wandelbots_api_client/models/collider_output_shape.py +242 -0
  65. wandelbots_api_client/models/collider_shape.py +280 -0
  66. wandelbots_api_client/models/collision.py +110 -0
  67. wandelbots_api_client/models/collision_contact.py +92 -0
  68. wandelbots_api_client/models/collision_motion_group.py +124 -0
  69. wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
  70. wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
  71. wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
  72. wandelbots_api_client/models/collision_scene.py +117 -0
  73. wandelbots_api_client/models/collision_scene_assembly.py +133 -0
  74. wandelbots_api_client/models/command.py +140 -0
  75. wandelbots_api_client/models/command_settings.py +104 -0
  76. wandelbots_api_client/models/comparator.py +39 -0
  77. wandelbots_api_client/models/compound.py +114 -0
  78. wandelbots_api_client/models/container_environment_inner.py +87 -0
  79. wandelbots_api_client/models/container_image.py +122 -0
  80. wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
  81. wandelbots_api_client/models/container_resources.py +89 -0
  82. wandelbots_api_client/models/container_storage.py +97 -0
  83. wandelbots_api_client/models/controller_capabilities.py +89 -0
  84. wandelbots_api_client/models/controller_instance.py +148 -0
  85. wandelbots_api_client/models/controller_instance_list.py +109 -0
  86. wandelbots_api_client/models/convex_hull.py +109 -0
  87. wandelbots_api_client/models/convex_hull2.py +97 -0
  88. wandelbots_api_client/models/convex_hull3.py +97 -0
  89. wandelbots_api_client/models/coordinate_system.py +108 -0
  90. wandelbots_api_client/models/coordinate_systems.py +109 -0
  91. wandelbots_api_client/models/create_program_run200_response.py +88 -0
  92. wandelbots_api_client/models/create_program_run_request.py +86 -0
  93. wandelbots_api_client/models/create_trigger200_response.py +86 -0
  94. wandelbots_api_client/models/create_trigger_request.py +101 -0
  95. wandelbots_api_client/models/cubic_spline.py +109 -0
  96. wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
  97. wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
  98. wandelbots_api_client/models/cycle_time.py +86 -0
  99. wandelbots_api_client/models/cylinder.py +87 -0
  100. wandelbots_api_client/models/cylinder2.py +95 -0
  101. wandelbots_api_client/models/cylinder3.py +101 -0
  102. wandelbots_api_client/models/devices_inner.py +321 -0
  103. wandelbots_api_client/models/dh_parameter.py +98 -0
  104. wandelbots_api_client/models/direction.py +34 -0
  105. wandelbots_api_client/models/direction_jogging_request.py +136 -0
  106. wandelbots_api_client/models/error.py +87 -0
  107. wandelbots_api_client/models/execute_trajectory_request.py +182 -0
  108. wandelbots_api_client/models/execute_trajectory_response.py +223 -0
  109. wandelbots_api_client/models/execution_result.py +113 -0
  110. wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
  111. wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
  112. wandelbots_api_client/models/fanuc_controller.py +99 -0
  113. wandelbots_api_client/models/feedback_collision.py +126 -0
  114. wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
  115. wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
  116. wandelbots_api_client/models/feedback_singularity.py +102 -0
  117. wandelbots_api_client/models/flag.py +86 -0
  118. wandelbots_api_client/models/force_vector.py +103 -0
  119. wandelbots_api_client/models/geometry.py +167 -0
  120. wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
  121. wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
  122. wandelbots_api_client/models/get_mode_response.py +87 -0
  123. wandelbots_api_client/models/get_trajectory_response.py +112 -0
  124. wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
  125. wandelbots_api_client/models/google_protobuf_any.py +102 -0
  126. wandelbots_api_client/models/http_exception_response.py +86 -0
  127. wandelbots_api_client/models/http_validation_error.py +109 -0
  128. wandelbots_api_client/models/http_validation_error2.py +109 -0
  129. wandelbots_api_client/models/image_credentials.py +88 -0
  130. wandelbots_api_client/models/info_service_capabilities.py +110 -0
  131. wandelbots_api_client/models/initialize_movement_request.py +111 -0
  132. wandelbots_api_client/models/initialize_movement_response.py +96 -0
  133. wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
  134. wandelbots_api_client/models/io.py +105 -0
  135. wandelbots_api_client/models/io_description.py +156 -0
  136. wandelbots_api_client/models/io_value.py +104 -0
  137. wandelbots_api_client/models/ios.py +109 -0
  138. wandelbots_api_client/models/jogging_response.py +117 -0
  139. wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
  140. wandelbots_api_client/models/joint_jogging_request.py +108 -0
  141. wandelbots_api_client/models/joint_limit.py +123 -0
  142. wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
  143. wandelbots_api_client/models/joint_position_request.py +104 -0
  144. wandelbots_api_client/models/joint_trajectory.py +117 -0
  145. wandelbots_api_client/models/joints.py +86 -0
  146. wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
  147. wandelbots_api_client/models/kuka_controller.py +112 -0
  148. wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
  149. wandelbots_api_client/models/license.py +124 -0
  150. wandelbots_api_client/models/license_status.py +88 -0
  151. wandelbots_api_client/models/license_status_enum.py +37 -0
  152. wandelbots_api_client/models/limit_settings.py +223 -0
  153. wandelbots_api_client/models/limits_override.py +132 -0
  154. wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
  155. wandelbots_api_client/models/list_io_values_response.py +109 -0
  156. wandelbots_api_client/models/list_payloads_response.py +109 -0
  157. wandelbots_api_client/models/list_program_metadata_response.py +109 -0
  158. wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
  159. wandelbots_api_client/models/list_response.py +109 -0
  160. wandelbots_api_client/models/list_tcps_response.py +112 -0
  161. wandelbots_api_client/models/location_inner.py +153 -0
  162. wandelbots_api_client/models/location_inner1.py +142 -0
  163. wandelbots_api_client/models/manufacturer.py +37 -0
  164. wandelbots_api_client/models/mode_change_response.py +97 -0
  165. wandelbots_api_client/models/motion_command.py +109 -0
  166. wandelbots_api_client/models/motion_command_blending.py +164 -0
  167. wandelbots_api_client/models/motion_command_path.py +221 -0
  168. wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
  169. wandelbots_api_client/models/motion_group_info.py +88 -0
  170. wandelbots_api_client/models/motion_group_infos.py +109 -0
  171. wandelbots_api_client/models/motion_group_instance.py +101 -0
  172. wandelbots_api_client/models/motion_group_instance_list.py +109 -0
  173. wandelbots_api_client/models/motion_group_joints.py +100 -0
  174. wandelbots_api_client/models/motion_group_physical.py +105 -0
  175. wandelbots_api_client/models/motion_group_specification.py +136 -0
  176. wandelbots_api_client/models/motion_group_state.py +180 -0
  177. wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
  178. wandelbots_api_client/models/motion_group_state_response.py +103 -0
  179. wandelbots_api_client/models/motion_id.py +88 -0
  180. wandelbots_api_client/models/motion_ids_list_response.py +89 -0
  181. wandelbots_api_client/models/motion_vector.py +103 -0
  182. wandelbots_api_client/models/mounting.py +98 -0
  183. wandelbots_api_client/models/move_request.py +162 -0
  184. wandelbots_api_client/models/move_response.py +91 -0
  185. wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
  186. wandelbots_api_client/models/movement.py +90 -0
  187. wandelbots_api_client/models/movement_error.py +90 -0
  188. wandelbots_api_client/models/movement_error_error.py +86 -0
  189. wandelbots_api_client/models/movement_movement.py +98 -0
  190. wandelbots_api_client/models/op_mode.py +93 -0
  191. wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
  192. wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
  193. wandelbots_api_client/models/optimizer_setup.py +145 -0
  194. wandelbots_api_client/models/out_of_workspace.py +92 -0
  195. wandelbots_api_client/models/path.py +109 -0
  196. wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
  197. wandelbots_api_client/models/path_circle.py +108 -0
  198. wandelbots_api_client/models/path_cubic_spline.py +118 -0
  199. wandelbots_api_client/models/path_joint_ptp.py +96 -0
  200. wandelbots_api_client/models/path_line.py +103 -0
  201. wandelbots_api_client/models/pause_movement_request.py +95 -0
  202. wandelbots_api_client/models/pause_movement_response.py +96 -0
  203. wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
  204. wandelbots_api_client/models/pause_on_io.py +96 -0
  205. wandelbots_api_client/models/payload.py +103 -0
  206. wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
  207. wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
  208. wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
  209. wandelbots_api_client/models/plan_failed_response.py +136 -0
  210. wandelbots_api_client/models/plan_request.py +127 -0
  211. wandelbots_api_client/models/plan_response.py +112 -0
  212. wandelbots_api_client/models/plan_successful_response.py +100 -0
  213. wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
  214. wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
  215. wandelbots_api_client/models/plan_trajectory_request.py +154 -0
  216. wandelbots_api_client/models/plan_trajectory_response.py +92 -0
  217. wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
  218. wandelbots_api_client/models/plane2.py +93 -0
  219. wandelbots_api_client/models/plane3.py +93 -0
  220. wandelbots_api_client/models/planned_motion.py +125 -0
  221. wandelbots_api_client/models/planner_pose.py +100 -0
  222. wandelbots_api_client/models/planning_limits.py +168 -0
  223. wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
  224. wandelbots_api_client/models/playback_speed_request.py +94 -0
  225. wandelbots_api_client/models/playback_speed_response.py +96 -0
  226. wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
  227. wandelbots_api_client/models/point_cloud.py +86 -0
  228. wandelbots_api_client/models/pose.py +107 -0
  229. wandelbots_api_client/models/pose2.py +93 -0
  230. wandelbots_api_client/models/program_metadata.py +100 -0
  231. wandelbots_api_client/models/program_run.py +168 -0
  232. wandelbots_api_client/models/program_run_object.py +103 -0
  233. wandelbots_api_client/models/program_run_state.py +37 -0
  234. wandelbots_api_client/models/program_runner_reference.py +88 -0
  235. wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
  236. wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
  237. wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
  238. wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
  239. wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
  240. wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
  241. wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
  242. wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
  243. wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
  244. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
  245. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
  246. wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
  247. wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
  248. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
  249. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
  250. wandelbots_api_client/models/quaternion.py +89 -0
  251. wandelbots_api_client/models/recipe_metadata.py +102 -0
  252. wandelbots_api_client/models/rectangle.py +87 -0
  253. wandelbots_api_client/models/rectangle2.py +95 -0
  254. wandelbots_api_client/models/rectangle3.py +101 -0
  255. wandelbots_api_client/models/rectangular_capsule.py +94 -0
  256. wandelbots_api_client/models/rectangular_capsule2.py +103 -0
  257. wandelbots_api_client/models/rectangular_capsule3.py +103 -0
  258. wandelbots_api_client/models/release_channel.py +34 -0
  259. wandelbots_api_client/models/request.py +142 -0
  260. wandelbots_api_client/models/request1.py +140 -0
  261. wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
  262. wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
  263. wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
  264. wandelbots_api_client/models/robot_controller.py +108 -0
  265. wandelbots_api_client/models/robot_controller_configuration.py +262 -0
  266. wandelbots_api_client/models/robot_controller_state.py +191 -0
  267. wandelbots_api_client/models/robot_link_geometry.py +98 -0
  268. wandelbots_api_client/models/robot_state.py +101 -0
  269. wandelbots_api_client/models/robot_system_mode.py +37 -0
  270. wandelbots_api_client/models/robot_tcp.py +104 -0
  271. wandelbots_api_client/models/robot_tcps.py +109 -0
  272. wandelbots_api_client/models/rotation_angle_types.py +58 -0
  273. wandelbots_api_client/models/rotation_angles.py +91 -0
  274. wandelbots_api_client/models/safety_configuration.py +182 -0
  275. wandelbots_api_client/models/safety_setup.py +172 -0
  276. wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
  277. wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
  278. wandelbots_api_client/models/safety_zone.py +98 -0
  279. wandelbots_api_client/models/safety_zone_limits.py +96 -0
  280. wandelbots_api_client/models/safety_zone_violation.py +86 -0
  281. wandelbots_api_client/models/service_status.py +96 -0
  282. wandelbots_api_client/models/service_status_phase.py +46 -0
  283. wandelbots_api_client/models/service_status_severity.py +35 -0
  284. wandelbots_api_client/models/service_status_status.py +90 -0
  285. wandelbots_api_client/models/set_io.py +93 -0
  286. wandelbots_api_client/models/set_playback_speed.py +91 -0
  287. wandelbots_api_client/models/single_joint_limit.py +112 -0
  288. wandelbots_api_client/models/singularity.py +110 -0
  289. wandelbots_api_client/models/singularity_type_enum.py +35 -0
  290. wandelbots_api_client/models/sphere.py +86 -0
  291. wandelbots_api_client/models/sphere2.py +94 -0
  292. wandelbots_api_client/models/sphere3.py +96 -0
  293. wandelbots_api_client/models/standstill.py +92 -0
  294. wandelbots_api_client/models/standstill_reason.py +36 -0
  295. wandelbots_api_client/models/standstill_standstill.py +99 -0
  296. wandelbots_api_client/models/start_movement_request.py +135 -0
  297. wandelbots_api_client/models/start_on_io.py +96 -0
  298. wandelbots_api_client/models/status.py +119 -0
  299. wandelbots_api_client/models/stop_response.py +109 -0
  300. wandelbots_api_client/models/store_value.py +349 -0
  301. wandelbots_api_client/models/stream_move_backward.py +90 -0
  302. wandelbots_api_client/models/stream_move_forward.py +90 -0
  303. wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
  304. wandelbots_api_client/models/stream_move_request.py +207 -0
  305. wandelbots_api_client/models/stream_move_response.py +110 -0
  306. wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
  307. wandelbots_api_client/models/stream_stop.py +90 -0
  308. wandelbots_api_client/models/tcp_pose.py +105 -0
  309. wandelbots_api_client/models/tcp_pose_request.py +106 -0
  310. wandelbots_api_client/models/tool_geometry.py +111 -0
  311. wandelbots_api_client/models/trajectory_sample.py +139 -0
  312. wandelbots_api_client/models/trigger_object.py +110 -0
  313. wandelbots_api_client/models/trigger_type.py +33 -0
  314. wandelbots_api_client/models/universalrobots_controller.py +102 -0
  315. wandelbots_api_client/models/update_nova_version_request.py +87 -0
  316. wandelbots_api_client/models/update_program_metadata_request.py +88 -0
  317. wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
  318. wandelbots_api_client/models/update_trigger_request.py +100 -0
  319. wandelbots_api_client/models/validation_error.py +113 -0
  320. wandelbots_api_client/models/validation_error2.py +113 -0
  321. wandelbots_api_client/models/value.py +317 -0
  322. wandelbots_api_client/models/vector3d.py +88 -0
  323. wandelbots_api_client/models/version_number.py +113 -0
  324. wandelbots_api_client/models/virtual_controller.py +117 -0
  325. wandelbots_api_client/models/virtual_controller_types.py +153 -0
  326. wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
  327. wandelbots_api_client/models/yaskawa_controller.py +99 -0
  328. wandelbots_api_client/py.typed +0 -0
  329. wandelbots_api_client/rest.py +188 -0
  330. wandelbots_api_client/v2/__init__.py +49 -0
  331. wandelbots_api_client/v2/api/__init__.py +55 -0
  332. wandelbots_api_client/v2/api/application_api.py +1532 -0
  333. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
  334. wandelbots_api_client/v2/api/cell_api.py +2163 -0
  335. wandelbots_api_client/v2/api/controller_api.py +3238 -0
  336. wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
  337. wandelbots_api_client/v2/api/jogging_api.py +113 -0
  338. wandelbots_api_client/v2/api/kinematics_api.py +555 -0
  339. wandelbots_api_client/v2/api/license_api.py +877 -0
  340. wandelbots_api_client/v2/api/motion_group_api.py +689 -0
  341. wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
  342. wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
  343. wandelbots_api_client/v2/api/program_api.py +988 -0
  344. wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
  345. wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
  346. wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
  347. wandelbots_api_client/v2/api/store_object_api.py +1414 -0
  348. wandelbots_api_client/v2/api/system_api.py +2696 -0
  349. wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
  350. wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
  351. wandelbots_api_client/v2/api/trajectory_planning_api.py +811 -0
  352. wandelbots_api_client/v2/api/version_api.py +240 -0
  353. wandelbots_api_client/v2/api/virtual_controller_api.py +4534 -0
  354. wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
  355. wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
  356. wandelbots_api_client/v2/api_client.py +692 -0
  357. wandelbots_api_client/v2/api_response.py +20 -0
  358. wandelbots_api_client/v2/configuration.py +579 -0
  359. wandelbots_api_client/v2/exceptions.py +216 -0
  360. wandelbots_api_client/v2/models/__init__.py +317 -0
  361. wandelbots_api_client/v2/models/abb_controller.py +104 -0
  362. wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
  363. wandelbots_api_client/v2/models/activate_license_request.py +83 -0
  364. wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
  365. wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
  366. wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
  367. wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
  368. wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
  369. wandelbots_api_client/v2/models/api_version.py +83 -0
  370. wandelbots_api_client/v2/models/app.py +156 -0
  371. wandelbots_api_client/v2/models/behavior.py +35 -0
  372. wandelbots_api_client/v2/models/blending_auto.py +97 -0
  373. wandelbots_api_client/v2/models/blending_position.py +143 -0
  374. wandelbots_api_client/v2/models/blending_space.py +34 -0
  375. wandelbots_api_client/v2/models/boolean_value.py +91 -0
  376. wandelbots_api_client/v2/models/box.py +109 -0
  377. wandelbots_api_client/v2/models/bus_io_description.py +111 -0
  378. wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
  379. wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
  380. wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
  381. wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
  382. wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
  383. wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
  384. wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
  385. wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
  386. wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
  387. wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
  388. wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
  389. wandelbots_api_client/v2/models/bus_io_type.py +223 -0
  390. wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
  391. wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
  392. wandelbots_api_client/v2/models/capsule.py +94 -0
  393. wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
  394. wandelbots_api_client/v2/models/cell.py +127 -0
  395. wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
  396. wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
  397. wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
  398. wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
  399. wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
  400. wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
  401. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
  402. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
  403. wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
  404. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
  405. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
  406. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
  407. wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
  408. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
  409. wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
  410. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
  411. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
  412. wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
  413. wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
  414. wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
  415. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
  416. wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
  417. wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
  418. wandelbots_api_client/v2/models/collider.py +102 -0
  419. wandelbots_api_client/v2/models/collider_shape.py +278 -0
  420. wandelbots_api_client/v2/models/collision.py +107 -0
  421. wandelbots_api_client/v2/models/collision_contact.py +89 -0
  422. wandelbots_api_client/v2/models/collision_error.py +100 -0
  423. wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
  424. wandelbots_api_client/v2/models/collision_setup.py +130 -0
  425. wandelbots_api_client/v2/models/comparator.py +38 -0
  426. wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
  427. wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
  428. wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
  429. wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
  430. wandelbots_api_client/v2/models/configuration_resource.py +104 -0
  431. wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
  432. wandelbots_api_client/v2/models/container_image.py +110 -0
  433. wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
  434. wandelbots_api_client/v2/models/container_resources.py +87 -0
  435. wandelbots_api_client/v2/models/container_storage.py +94 -0
  436. wandelbots_api_client/v2/models/controller_description.py +97 -0
  437. wandelbots_api_client/v2/models/convex_hull.py +94 -0
  438. wandelbots_api_client/v2/models/coordinate_system.py +115 -0
  439. wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
  440. wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
  441. wandelbots_api_client/v2/models/cycle_time.py +86 -0
  442. wandelbots_api_client/v2/models/cylinder.py +92 -0
  443. wandelbots_api_client/v2/models/dh_parameter.py +98 -0
  444. wandelbots_api_client/v2/models/direction.py +34 -0
  445. wandelbots_api_client/v2/models/error.py +84 -0
  446. wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
  447. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
  448. wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
  449. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
  450. wandelbots_api_client/v2/models/execute.py +95 -0
  451. wandelbots_api_client/v2/models/execute_details.py +164 -0
  452. wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
  453. wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
  454. wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
  455. wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
  456. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
  457. wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
  458. wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
  459. wandelbots_api_client/v2/models/feedback_collision.py +112 -0
  460. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
  461. wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
  462. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
  463. wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
  464. wandelbots_api_client/v2/models/flag.py +83 -0
  465. wandelbots_api_client/v2/models/flange_payload.py +98 -0
  466. wandelbots_api_client/v2/models/float_value.py +91 -0
  467. wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
  468. wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
  469. wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
  470. wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
  471. wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
  472. wandelbots_api_client/v2/models/http_validation_error.py +93 -0
  473. wandelbots_api_client/v2/models/image_credentials.py +85 -0
  474. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
  475. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
  476. wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
  477. wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
  478. wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
  479. wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
  480. wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
  481. wandelbots_api_client/v2/models/integer_value.py +91 -0
  482. wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
  483. wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
  484. wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
  485. wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
  486. wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
  487. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
  488. wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
  489. wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
  490. wandelbots_api_client/v2/models/io_boundary.py +183 -0
  491. wandelbots_api_client/v2/models/io_description.py +116 -0
  492. wandelbots_api_client/v2/models/io_direction.py +34 -0
  493. wandelbots_api_client/v2/models/io_float_value.py +92 -0
  494. wandelbots_api_client/v2/models/io_integer_value.py +94 -0
  495. wandelbots_api_client/v2/models/io_origin.py +34 -0
  496. wandelbots_api_client/v2/models/io_value.py +183 -0
  497. wandelbots_api_client/v2/models/io_value_type.py +35 -0
  498. wandelbots_api_client/v2/models/jogging_details.py +97 -0
  499. wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
  500. wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
  501. wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
  502. wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
  503. wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
  504. wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
  505. wandelbots_api_client/v2/models/jogging_running.py +90 -0
  506. wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
  507. wandelbots_api_client/v2/models/joint_limits.py +101 -0
  508. wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
  509. wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
  510. wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
  511. wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
  512. wandelbots_api_client/v2/models/kinematic_model.py +118 -0
  513. wandelbots_api_client/v2/models/kuka_controller.py +106 -0
  514. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
  515. wandelbots_api_client/v2/models/license.py +121 -0
  516. wandelbots_api_client/v2/models/license_status.py +85 -0
  517. wandelbots_api_client/v2/models/license_status_enum.py +37 -0
  518. wandelbots_api_client/v2/models/limit_range.py +84 -0
  519. wandelbots_api_client/v2/models/limit_set.py +118 -0
  520. wandelbots_api_client/v2/models/limits_override.py +136 -0
  521. wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
  522. wandelbots_api_client/v2/models/location1_inner.py +153 -0
  523. wandelbots_api_client/v2/models/manufacturer.py +37 -0
  524. wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
  525. wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
  526. wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
  527. wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
  528. wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
  529. wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
  530. wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
  531. wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
  532. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
  533. wandelbots_api_client/v2/models/modbus_io.py +109 -0
  534. wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
  535. wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
  536. wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
  537. wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
  538. wandelbots_api_client/v2/models/motion_command.py +106 -0
  539. wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
  540. wandelbots_api_client/v2/models/motion_command_path.py +221 -0
  541. wandelbots_api_client/v2/models/motion_group_description.py +235 -0
  542. wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
  543. wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
  544. wandelbots_api_client/v2/models/motion_group_info.py +90 -0
  545. wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
  546. wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
  547. wandelbots_api_client/v2/models/motion_group_state.py +182 -0
  548. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
  549. wandelbots_api_client/v2/models/movement_error_response.py +91 -0
  550. wandelbots_api_client/v2/models/nan_value_error.py +100 -0
  551. wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
  552. wandelbots_api_client/v2/models/network_device.py +85 -0
  553. wandelbots_api_client/v2/models/network_interface.py +86 -0
  554. wandelbots_api_client/v2/models/network_state.py +125 -0
  555. wandelbots_api_client/v2/models/op_mode.py +84 -0
  556. wandelbots_api_client/v2/models/operating_state.py +34 -0
  557. wandelbots_api_client/v2/models/operation_limits.py +106 -0
  558. wandelbots_api_client/v2/models/operation_mode.py +42 -0
  559. wandelbots_api_client/v2/models/orientation_type.py +58 -0
  560. wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
  561. wandelbots_api_client/v2/models/path_circle.py +105 -0
  562. wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
  563. wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
  564. wandelbots_api_client/v2/models/path_line.py +100 -0
  565. wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
  566. wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
  567. wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
  568. wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
  569. wandelbots_api_client/v2/models/pause_on_io.py +99 -0
  570. wandelbots_api_client/v2/models/payload.py +98 -0
  571. wandelbots_api_client/v2/models/plan422_response.py +93 -0
  572. wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
  573. wandelbots_api_client/v2/models/plan_collision_free_request.py +109 -0
  574. wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
  575. wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
  576. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
  577. wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +252 -0
  578. wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
  579. wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
  580. wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
  581. wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
  582. wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +183 -0
  583. wandelbots_api_client/v2/models/plane.py +90 -0
  584. wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
  585. wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
  586. wandelbots_api_client/v2/models/pose.py +90 -0
  587. wandelbots_api_client/v2/models/profinet_description.py +112 -0
  588. wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
  589. wandelbots_api_client/v2/models/profinet_io.py +109 -0
  590. wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
  591. wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
  592. wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
  593. wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
  594. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
  595. wandelbots_api_client/v2/models/program.py +105 -0
  596. wandelbots_api_client/v2/models/program_run.py +124 -0
  597. wandelbots_api_client/v2/models/program_run_state.py +37 -0
  598. wandelbots_api_client/v2/models/program_start_request.py +83 -0
  599. wandelbots_api_client/v2/models/rectangle.py +92 -0
  600. wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
  601. wandelbots_api_client/v2/models/release_channel.py +34 -0
  602. wandelbots_api_client/v2/models/robot_controller.py +105 -0
  603. wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
  604. wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
  605. wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
  606. wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
  607. wandelbots_api_client/v2/models/robot_tcp.py +110 -0
  608. wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
  609. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
  610. wandelbots_api_client/v2/models/safety_state_type.py +48 -0
  611. wandelbots_api_client/v2/models/service_group.py +36 -0
  612. wandelbots_api_client/v2/models/service_status.py +96 -0
  613. wandelbots_api_client/v2/models/service_status_phase.py +46 -0
  614. wandelbots_api_client/v2/models/service_status_response.py +100 -0
  615. wandelbots_api_client/v2/models/service_status_severity.py +35 -0
  616. wandelbots_api_client/v2/models/service_status_status.py +87 -0
  617. wandelbots_api_client/v2/models/set_io.py +96 -0
  618. wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
  619. wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
  620. wandelbots_api_client/v2/models/sphere.py +91 -0
  621. wandelbots_api_client/v2/models/start_movement_request.py +133 -0
  622. wandelbots_api_client/v2/models/start_movement_response.py +91 -0
  623. wandelbots_api_client/v2/models/start_on_io.py +99 -0
  624. wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
  625. wandelbots_api_client/v2/models/tcp_offset.py +88 -0
  626. wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
  627. wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
  628. wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
  629. wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
  630. wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
  631. wandelbots_api_client/v2/models/trajectory_data.py +106 -0
  632. wandelbots_api_client/v2/models/trajectory_details.py +106 -0
  633. wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
  634. wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
  635. wandelbots_api_client/v2/models/trajectory_id.py +93 -0
  636. wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
  637. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
  638. wandelbots_api_client/v2/models/trajectory_running.py +94 -0
  639. wandelbots_api_client/v2/models/trajectory_section.py +84 -0
  640. wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
  641. wandelbots_api_client/v2/models/unit_type.py +42 -0
  642. wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
  643. wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
  644. wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
  645. wandelbots_api_client/v2/models/validation_error.py +101 -0
  646. wandelbots_api_client/v2/models/validation_error2.py +85 -0
  647. wandelbots_api_client/v2/models/virtual_controller.py +113 -0
  648. wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
  649. wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
  650. wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
  651. wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
  652. wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
  653. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
  654. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
  655. wandelbots_api_client/v2/py.typed +0 -0
  656. wandelbots_api_client/v2/rest.py +188 -0
  657. wandelbots_api_client/v2_pydantic/__init__.py +49 -0
  658. wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
  659. wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
  660. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
  661. wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
  662. wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
  663. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
  664. wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
  665. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +555 -0
  666. wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
  667. wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
  668. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
  669. wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
  670. wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
  671. wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
  672. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
  673. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
  674. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
  675. wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
  676. wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
  677. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
  678. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +811 -0
  679. wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
  680. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4534 -0
  681. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
  682. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
  683. wandelbots_api_client/v2_pydantic/api_client.py +692 -0
  684. wandelbots_api_client/v2_pydantic/api_response.py +20 -0
  685. wandelbots_api_client/v2_pydantic/configuration.py +579 -0
  686. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  687. wandelbots_api_client/v2_pydantic/models/__init__.py +642 -0
  688. wandelbots_api_client/v2_pydantic/models/models.py +5090 -0
  689. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  690. wandelbots_api_client/v2_pydantic/rest.py +188 -0
  691. wandelbots_api_client-26.3.0.dev29.dist-info/METADATA +241 -0
  692. wandelbots_api_client-26.3.0.dev29.dist-info/RECORD +693 -0
  693. wandelbots_api_client-26.3.0.dev29.dist-info/WHEEL +4 -0
@@ -0,0 +1,2696 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wandelbots NOVA API
5
+
6
+ Interact with robots in an easy and intuitive way.
7
+
8
+ The version of the OpenAPI document: 2.3.0 dev
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+ from furl import furl
15
+ import json
16
+ import humps
17
+ import re
18
+ import warnings
19
+ import websockets
20
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
21
+ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
22
+ from typing_extensions import Annotated
23
+ from urllib.parse import quote
24
+
25
+ from pydantic import Field, StrictBytes, StrictStr
26
+ from typing import Dict, List, Optional, Tuple, Union
27
+ from typing_extensions import Annotated
28
+ from uuid import UUID
29
+ from wandelbots_api_client.v2_pydantic.models import ConfigurationArchiveStatus
30
+ from wandelbots_api_client.v2_pydantic.models import ConfigurationResource
31
+ from wandelbots_api_client.v2_pydantic.models import NetworkDevice
32
+ from wandelbots_api_client.v2_pydantic.models import NetworkInterface
33
+ from wandelbots_api_client.v2_pydantic.models import NetworkState
34
+ from wandelbots_api_client.v2_pydantic.models import ReleaseChannel
35
+ from wandelbots_api_client.v2_pydantic.models import ServiceStatus
36
+ from wandelbots_api_client.v2_pydantic.models import UpdateNovaVersionRequest
37
+
38
+ from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
39
+ from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
40
+ from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
41
+
42
+
43
+ class SystemApi:
44
+ """NOTE: This class is auto generated by OpenAPI Generator
45
+ Ref: https://openapi-generator.tech
46
+
47
+ Do not edit the class manually.
48
+ """
49
+
50
+ def __init__(self, api_client=None) -> None:
51
+ if api_client is None:
52
+ api_client = ApiClient.get_default()
53
+ self.api_client = api_client
54
+
55
+ @validate_call
56
+ async def backup_configuration(
57
+ self,
58
+ resources: Annotated[
59
+ Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")
60
+ ] = None,
61
+ metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = None,
62
+ _request_timeout: Union[
63
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
64
+ ] = None,
65
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
66
+ _content_type: Optional[StrictStr] = None,
67
+ _headers: Optional[Dict[StrictStr, Any]] = None,
68
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
69
+ ) -> bytearray:
70
+ """Retrieve Configuration Backup
71
+
72
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
73
+
74
+ :param resources: List of resource identifiers to include in the retrieval.
75
+ :type resources: List[str]
76
+ :param metadata: Additional metadata to add to the backup
77
+ :type metadata: Dict[str, str]
78
+ :param _request_timeout: timeout setting for this request. If one
79
+ number provided, it will be total request
80
+ timeout. It can also be a pair (tuple) of
81
+ (connection, read) timeouts.
82
+ :type _request_timeout: int, tuple(int, int), optional
83
+ :param _request_auth: set to override the auth_settings for an a single
84
+ request; this effectively ignores the
85
+ authentication in the spec for a single request.
86
+ :type _request_auth: dict, optional
87
+ :param _content_type: force content-type for the request.
88
+ :type _content_type: str, Optional
89
+ :param _headers: set to override the headers for a single
90
+ request; this effectively ignores the headers
91
+ in the spec for a single request.
92
+ :type _headers: dict, optional
93
+ :param _host_index: set to override the host_index for a single
94
+ request; this effectively ignores the host_index
95
+ in the spec for a single request.
96
+ :type _host_index: int, optional
97
+ :return: Returns the result object.
98
+ """ # noqa: E501
99
+
100
+ _param = self._backup_configuration_serialize(
101
+ resources=resources,
102
+ metadata=metadata,
103
+ _request_auth=_request_auth,
104
+ _content_type=_content_type,
105
+ _headers=_headers,
106
+ _host_index=_host_index,
107
+ )
108
+
109
+ _response_types_map: Dict[str, Optional[str]] = {
110
+ "200": "bytearray",
111
+ "400": "Error",
112
+ }
113
+
114
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
115
+ await response_data.read()
116
+ return self.api_client.response_deserialize(
117
+ response_data=response_data,
118
+ response_types_map=_response_types_map,
119
+ ).data
120
+
121
+ @validate_call
122
+ async def backup_configuration_with_http_info(
123
+ self,
124
+ resources: Annotated[
125
+ Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")
126
+ ] = None,
127
+ metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = None,
128
+ _request_timeout: Union[
129
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
130
+ ] = None,
131
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
132
+ _content_type: Optional[StrictStr] = None,
133
+ _headers: Optional[Dict[StrictStr, Any]] = None,
134
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
135
+ ) -> ApiResponse[bytearray]:
136
+ """Retrieve Configuration Backup
137
+
138
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
139
+
140
+ :param resources: List of resource identifiers to include in the retrieval.
141
+ :type resources: List[str]
142
+ :param metadata: Additional metadata to add to the backup
143
+ :type metadata: Dict[str, str]
144
+ :param _request_timeout: timeout setting for this request. If one
145
+ number provided, it will be total request
146
+ timeout. It can also be a pair (tuple) of
147
+ (connection, read) timeouts.
148
+ :type _request_timeout: int, tuple(int, int), optional
149
+ :param _request_auth: set to override the auth_settings for an a single
150
+ request; this effectively ignores the
151
+ authentication in the spec for a single request.
152
+ :type _request_auth: dict, optional
153
+ :param _content_type: force content-type for the request.
154
+ :type _content_type: str, Optional
155
+ :param _headers: set to override the headers for a single
156
+ request; this effectively ignores the headers
157
+ in the spec for a single request.
158
+ :type _headers: dict, optional
159
+ :param _host_index: set to override the host_index for a single
160
+ request; this effectively ignores the host_index
161
+ in the spec for a single request.
162
+ :type _host_index: int, optional
163
+ :return: Returns the result object.
164
+ """ # noqa: E501
165
+
166
+ _param = self._backup_configuration_serialize(
167
+ resources=resources,
168
+ metadata=metadata,
169
+ _request_auth=_request_auth,
170
+ _content_type=_content_type,
171
+ _headers=_headers,
172
+ _host_index=_host_index,
173
+ )
174
+
175
+ _response_types_map: Dict[str, Optional[str]] = {
176
+ "200": "bytearray",
177
+ "400": "Error",
178
+ }
179
+
180
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
181
+ await response_data.read()
182
+ return self.api_client.response_deserialize(
183
+ response_data=response_data,
184
+ response_types_map=_response_types_map,
185
+ )
186
+
187
+ @validate_call
188
+ async def backup_configuration_without_preload_content(
189
+ self,
190
+ resources: Annotated[
191
+ Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")
192
+ ] = None,
193
+ metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = None,
194
+ _request_timeout: Union[
195
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
196
+ ] = None,
197
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
198
+ _content_type: Optional[StrictStr] = None,
199
+ _headers: Optional[Dict[StrictStr, Any]] = None,
200
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
201
+ ) -> RESTResponseType:
202
+ """Retrieve Configuration Backup
203
+
204
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
205
+
206
+ :param resources: List of resource identifiers to include in the retrieval.
207
+ :type resources: List[str]
208
+ :param metadata: Additional metadata to add to the backup
209
+ :type metadata: Dict[str, str]
210
+ :param _request_timeout: timeout setting for this request. If one
211
+ number provided, it will be total request
212
+ timeout. It can also be a pair (tuple) of
213
+ (connection, read) timeouts.
214
+ :type _request_timeout: int, tuple(int, int), optional
215
+ :param _request_auth: set to override the auth_settings for an a single
216
+ request; this effectively ignores the
217
+ authentication in the spec for a single request.
218
+ :type _request_auth: dict, optional
219
+ :param _content_type: force content-type for the request.
220
+ :type _content_type: str, Optional
221
+ :param _headers: set to override the headers for a single
222
+ request; this effectively ignores the headers
223
+ in the spec for a single request.
224
+ :type _headers: dict, optional
225
+ :param _host_index: set to override the host_index for a single
226
+ request; this effectively ignores the host_index
227
+ in the spec for a single request.
228
+ :type _host_index: int, optional
229
+ :return: Returns the result object.
230
+ """ # noqa: E501
231
+
232
+ _param = self._backup_configuration_serialize(
233
+ resources=resources,
234
+ metadata=metadata,
235
+ _request_auth=_request_auth,
236
+ _content_type=_content_type,
237
+ _headers=_headers,
238
+ _host_index=_host_index,
239
+ )
240
+
241
+ _response_types_map: Dict[str, Optional[str]] = {
242
+ "200": "bytearray",
243
+ "400": "Error",
244
+ }
245
+
246
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
247
+ return response_data.response
248
+
249
+ def _backup_configuration_serialize(
250
+ self,
251
+ resources,
252
+ metadata,
253
+ _request_auth,
254
+ _content_type,
255
+ _headers,
256
+ _host_index,
257
+ ) -> RequestSerialized:
258
+
259
+ _host = None
260
+
261
+ _collection_formats: Dict[str, str] = {
262
+ "resources": "csv",
263
+ }
264
+
265
+ _path_params: Dict[str, str] = {}
266
+ _query_params: List[Tuple[str, str]] = []
267
+ _header_params: Dict[str, Optional[str]] = _headers or {}
268
+ _form_params: List[Tuple[str, str]] = []
269
+ _files: Dict[str, Union[str, bytes]] = {}
270
+ _body_params: Optional[bytes] = None
271
+
272
+ # process the path parameters
273
+ # process the query parameters
274
+ if resources is not None:
275
+ _query_params.append(("resources", resources))
276
+
277
+ if metadata is not None:
278
+ _query_params.append(("metadata", metadata))
279
+
280
+ # process the header parameters
281
+ # process the form parameters
282
+ # process the body parameter
283
+
284
+ # set the HTTP header `Accept`
285
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/gzip", "application/json"])
286
+
287
+ # authentication setting
288
+ _auth_settings: List[str] = ["BearerAuth"]
289
+
290
+ return self.api_client.param_serialize(
291
+ method="GET",
292
+ resource_path="/system/configuration",
293
+ path_params=_path_params,
294
+ query_params=_query_params,
295
+ header_params=_header_params,
296
+ body=_body_params,
297
+ post_params=_form_params,
298
+ files=_files,
299
+ auth_settings=_auth_settings,
300
+ collection_formats=_collection_formats,
301
+ _host=_host,
302
+ _request_auth=_request_auth,
303
+ )
304
+
305
+ @validate_call
306
+ async def check_nova_version_update(
307
+ self,
308
+ channel: ReleaseChannel,
309
+ _request_timeout: Union[
310
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
311
+ ] = None,
312
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
313
+ _content_type: Optional[StrictStr] = None,
314
+ _headers: Optional[Dict[StrictStr, Any]] = None,
315
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
316
+ ) -> str:
317
+ """Check update
318
+
319
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Check if a more recent Wandelbots NOVA Version is available.
320
+
321
+ :param channel: (required)
322
+ :type channel: ReleaseChannel
323
+ :param _request_timeout: timeout setting for this request. If one
324
+ number provided, it will be total request
325
+ timeout. It can also be a pair (tuple) of
326
+ (connection, read) timeouts.
327
+ :type _request_timeout: int, tuple(int, int), optional
328
+ :param _request_auth: set to override the auth_settings for an a single
329
+ request; this effectively ignores the
330
+ authentication in the spec for a single request.
331
+ :type _request_auth: dict, optional
332
+ :param _content_type: force content-type for the request.
333
+ :type _content_type: str, Optional
334
+ :param _headers: set to override the headers for a single
335
+ request; this effectively ignores the headers
336
+ in the spec for a single request.
337
+ :type _headers: dict, optional
338
+ :param _host_index: set to override the host_index for a single
339
+ request; this effectively ignores the host_index
340
+ in the spec for a single request.
341
+ :type _host_index: int, optional
342
+ :return: Returns the result object.
343
+ """ # noqa: E501
344
+
345
+ _param = self._check_nova_version_update_serialize(
346
+ channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
347
+ )
348
+
349
+ _response_types_map: Dict[str, Optional[str]] = {
350
+ "200": "str",
351
+ "204": None,
352
+ }
353
+
354
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
355
+ await response_data.read()
356
+ return self.api_client.response_deserialize(
357
+ response_data=response_data,
358
+ response_types_map=_response_types_map,
359
+ ).data
360
+
361
+ @validate_call
362
+ async def check_nova_version_update_with_http_info(
363
+ self,
364
+ channel: ReleaseChannel,
365
+ _request_timeout: Union[
366
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
367
+ ] = None,
368
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
369
+ _content_type: Optional[StrictStr] = None,
370
+ _headers: Optional[Dict[StrictStr, Any]] = None,
371
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
372
+ ) -> ApiResponse[str]:
373
+ """Check update
374
+
375
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Check if a more recent Wandelbots NOVA Version is available.
376
+
377
+ :param channel: (required)
378
+ :type channel: ReleaseChannel
379
+ :param _request_timeout: timeout setting for this request. If one
380
+ number provided, it will be total request
381
+ timeout. It can also be a pair (tuple) of
382
+ (connection, read) timeouts.
383
+ :type _request_timeout: int, tuple(int, int), optional
384
+ :param _request_auth: set to override the auth_settings for an a single
385
+ request; this effectively ignores the
386
+ authentication in the spec for a single request.
387
+ :type _request_auth: dict, optional
388
+ :param _content_type: force content-type for the request.
389
+ :type _content_type: str, Optional
390
+ :param _headers: set to override the headers for a single
391
+ request; this effectively ignores the headers
392
+ in the spec for a single request.
393
+ :type _headers: dict, optional
394
+ :param _host_index: set to override the host_index for a single
395
+ request; this effectively ignores the host_index
396
+ in the spec for a single request.
397
+ :type _host_index: int, optional
398
+ :return: Returns the result object.
399
+ """ # noqa: E501
400
+
401
+ _param = self._check_nova_version_update_serialize(
402
+ channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
403
+ )
404
+
405
+ _response_types_map: Dict[str, Optional[str]] = {
406
+ "200": "str",
407
+ "204": None,
408
+ }
409
+
410
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
411
+ await response_data.read()
412
+ return self.api_client.response_deserialize(
413
+ response_data=response_data,
414
+ response_types_map=_response_types_map,
415
+ )
416
+
417
+ @validate_call
418
+ async def check_nova_version_update_without_preload_content(
419
+ self,
420
+ channel: ReleaseChannel,
421
+ _request_timeout: Union[
422
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
423
+ ] = None,
424
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
425
+ _content_type: Optional[StrictStr] = None,
426
+ _headers: Optional[Dict[StrictStr, Any]] = None,
427
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
428
+ ) -> RESTResponseType:
429
+ """Check update
430
+
431
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Check if a more recent Wandelbots NOVA Version is available.
432
+
433
+ :param channel: (required)
434
+ :type channel: ReleaseChannel
435
+ :param _request_timeout: timeout setting for this request. If one
436
+ number provided, it will be total request
437
+ timeout. It can also be a pair (tuple) of
438
+ (connection, read) timeouts.
439
+ :type _request_timeout: int, tuple(int, int), optional
440
+ :param _request_auth: set to override the auth_settings for an a single
441
+ request; this effectively ignores the
442
+ authentication in the spec for a single request.
443
+ :type _request_auth: dict, optional
444
+ :param _content_type: force content-type for the request.
445
+ :type _content_type: str, Optional
446
+ :param _headers: set to override the headers for a single
447
+ request; this effectively ignores the headers
448
+ in the spec for a single request.
449
+ :type _headers: dict, optional
450
+ :param _host_index: set to override the host_index for a single
451
+ request; this effectively ignores the host_index
452
+ in the spec for a single request.
453
+ :type _host_index: int, optional
454
+ :return: Returns the result object.
455
+ """ # noqa: E501
456
+
457
+ _param = self._check_nova_version_update_serialize(
458
+ channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
459
+ )
460
+
461
+ _response_types_map: Dict[str, Optional[str]] = {
462
+ "200": "str",
463
+ "204": None,
464
+ }
465
+
466
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
467
+ return response_data.response
468
+
469
+ def _check_nova_version_update_serialize(
470
+ self,
471
+ channel,
472
+ _request_auth,
473
+ _content_type,
474
+ _headers,
475
+ _host_index,
476
+ ) -> RequestSerialized:
477
+
478
+ _host = None
479
+
480
+ _collection_formats: Dict[str, str] = {}
481
+
482
+ _path_params: Dict[str, str] = {}
483
+ _query_params: List[Tuple[str, str]] = []
484
+ _header_params: Dict[str, Optional[str]] = _headers or {}
485
+ _form_params: List[Tuple[str, str]] = []
486
+ _files: Dict[str, Union[str, bytes]] = {}
487
+ _body_params: Optional[bytes] = None
488
+
489
+ # process the path parameters
490
+ # process the query parameters
491
+ if channel is not None:
492
+ _query_params.append(("channel", channel.value))
493
+
494
+ # process the header parameters
495
+ # process the form parameters
496
+ # process the body parameter
497
+
498
+ # set the HTTP header `Accept`
499
+ _header_params["Accept"] = self.api_client.select_header_accept(["text/plain"])
500
+
501
+ # authentication setting
502
+ _auth_settings: List[str] = ["BearerAuth"]
503
+
504
+ return self.api_client.param_serialize(
505
+ method="GET",
506
+ resource_path="/system/update",
507
+ path_params=_path_params,
508
+ query_params=_query_params,
509
+ header_params=_header_params,
510
+ body=_body_params,
511
+ post_params=_form_params,
512
+ files=_files,
513
+ auth_settings=_auth_settings,
514
+ collection_formats=_collection_formats,
515
+ _host=_host,
516
+ _request_auth=_request_auth,
517
+ )
518
+
519
+ @validate_call
520
+ async def get_arp_scan(
521
+ self,
522
+ interface: Optional[StrictStr] = None,
523
+ cidr: Optional[StrictStr] = None,
524
+ timeout: Optional[Annotated[int, Field(strict=True, ge=100)]] = None,
525
+ _request_timeout: Union[
526
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
527
+ ] = None,
528
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
529
+ _content_type: Optional[StrictStr] = None,
530
+ _headers: Optional[Dict[StrictStr, Any]] = None,
531
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
532
+ ) -> List[NetworkDevice]:
533
+ """Get ARP-Scan
534
+
535
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Performs an address resolution protocol (ARP) scan on the specified interface/classless inter-domain routing (CIDR) and returns all discovered devices on the network by CIDR notation.
536
+
537
+ :param interface:
538
+ :type interface: str
539
+ :param cidr:
540
+ :type cidr: str
541
+ :param timeout:
542
+ :type timeout: int
543
+ :param _request_timeout: timeout setting for this request. If one
544
+ number provided, it will be total request
545
+ timeout. It can also be a pair (tuple) of
546
+ (connection, read) timeouts.
547
+ :type _request_timeout: int, tuple(int, int), optional
548
+ :param _request_auth: set to override the auth_settings for an a single
549
+ request; this effectively ignores the
550
+ authentication in the spec for a single request.
551
+ :type _request_auth: dict, optional
552
+ :param _content_type: force content-type for the request.
553
+ :type _content_type: str, Optional
554
+ :param _headers: set to override the headers for a single
555
+ request; this effectively ignores the headers
556
+ in the spec for a single request.
557
+ :type _headers: dict, optional
558
+ :param _host_index: set to override the host_index for a single
559
+ request; this effectively ignores the host_index
560
+ in the spec for a single request.
561
+ :type _host_index: int, optional
562
+ :return: Returns the result object.
563
+ """ # noqa: E501
564
+
565
+ _param = self._get_arp_scan_serialize(
566
+ interface=interface,
567
+ cidr=cidr,
568
+ timeout=timeout,
569
+ _request_auth=_request_auth,
570
+ _content_type=_content_type,
571
+ _headers=_headers,
572
+ _host_index=_host_index,
573
+ )
574
+
575
+ _response_types_map: Dict[str, Optional[str]] = {
576
+ "200": "List[NetworkDevice]",
577
+ "400": "Error",
578
+ "404": "Error",
579
+ }
580
+
581
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
582
+ await response_data.read()
583
+ return self.api_client.response_deserialize(
584
+ response_data=response_data,
585
+ response_types_map=_response_types_map,
586
+ ).data
587
+
588
+ @validate_call
589
+ async def get_arp_scan_with_http_info(
590
+ self,
591
+ interface: Optional[StrictStr] = None,
592
+ cidr: Optional[StrictStr] = None,
593
+ timeout: Optional[Annotated[int, Field(strict=True, ge=100)]] = None,
594
+ _request_timeout: Union[
595
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
596
+ ] = None,
597
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
598
+ _content_type: Optional[StrictStr] = None,
599
+ _headers: Optional[Dict[StrictStr, Any]] = None,
600
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
601
+ ) -> ApiResponse[List[NetworkDevice]]:
602
+ """Get ARP-Scan
603
+
604
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Performs an address resolution protocol (ARP) scan on the specified interface/classless inter-domain routing (CIDR) and returns all discovered devices on the network by CIDR notation.
605
+
606
+ :param interface:
607
+ :type interface: str
608
+ :param cidr:
609
+ :type cidr: str
610
+ :param timeout:
611
+ :type timeout: int
612
+ :param _request_timeout: timeout setting for this request. If one
613
+ number provided, it will be total request
614
+ timeout. It can also be a pair (tuple) of
615
+ (connection, read) timeouts.
616
+ :type _request_timeout: int, tuple(int, int), optional
617
+ :param _request_auth: set to override the auth_settings for an a single
618
+ request; this effectively ignores the
619
+ authentication in the spec for a single request.
620
+ :type _request_auth: dict, optional
621
+ :param _content_type: force content-type for the request.
622
+ :type _content_type: str, Optional
623
+ :param _headers: set to override the headers for a single
624
+ request; this effectively ignores the headers
625
+ in the spec for a single request.
626
+ :type _headers: dict, optional
627
+ :param _host_index: set to override the host_index for a single
628
+ request; this effectively ignores the host_index
629
+ in the spec for a single request.
630
+ :type _host_index: int, optional
631
+ :return: Returns the result object.
632
+ """ # noqa: E501
633
+
634
+ _param = self._get_arp_scan_serialize(
635
+ interface=interface,
636
+ cidr=cidr,
637
+ timeout=timeout,
638
+ _request_auth=_request_auth,
639
+ _content_type=_content_type,
640
+ _headers=_headers,
641
+ _host_index=_host_index,
642
+ )
643
+
644
+ _response_types_map: Dict[str, Optional[str]] = {
645
+ "200": "List[NetworkDevice]",
646
+ "400": "Error",
647
+ "404": "Error",
648
+ }
649
+
650
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
651
+ await response_data.read()
652
+ return self.api_client.response_deserialize(
653
+ response_data=response_data,
654
+ response_types_map=_response_types_map,
655
+ )
656
+
657
+ @validate_call
658
+ async def get_arp_scan_without_preload_content(
659
+ self,
660
+ interface: Optional[StrictStr] = None,
661
+ cidr: Optional[StrictStr] = None,
662
+ timeout: Optional[Annotated[int, Field(strict=True, ge=100)]] = None,
663
+ _request_timeout: Union[
664
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
665
+ ] = None,
666
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
667
+ _content_type: Optional[StrictStr] = None,
668
+ _headers: Optional[Dict[StrictStr, Any]] = None,
669
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
670
+ ) -> RESTResponseType:
671
+ """Get ARP-Scan
672
+
673
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Performs an address resolution protocol (ARP) scan on the specified interface/classless inter-domain routing (CIDR) and returns all discovered devices on the network by CIDR notation.
674
+
675
+ :param interface:
676
+ :type interface: str
677
+ :param cidr:
678
+ :type cidr: str
679
+ :param timeout:
680
+ :type timeout: int
681
+ :param _request_timeout: timeout setting for this request. If one
682
+ number provided, it will be total request
683
+ timeout. It can also be a pair (tuple) of
684
+ (connection, read) timeouts.
685
+ :type _request_timeout: int, tuple(int, int), optional
686
+ :param _request_auth: set to override the auth_settings for an a single
687
+ request; this effectively ignores the
688
+ authentication in the spec for a single request.
689
+ :type _request_auth: dict, optional
690
+ :param _content_type: force content-type for the request.
691
+ :type _content_type: str, Optional
692
+ :param _headers: set to override the headers for a single
693
+ request; this effectively ignores the headers
694
+ in the spec for a single request.
695
+ :type _headers: dict, optional
696
+ :param _host_index: set to override the host_index for a single
697
+ request; this effectively ignores the host_index
698
+ in the spec for a single request.
699
+ :type _host_index: int, optional
700
+ :return: Returns the result object.
701
+ """ # noqa: E501
702
+
703
+ _param = self._get_arp_scan_serialize(
704
+ interface=interface,
705
+ cidr=cidr,
706
+ timeout=timeout,
707
+ _request_auth=_request_auth,
708
+ _content_type=_content_type,
709
+ _headers=_headers,
710
+ _host_index=_host_index,
711
+ )
712
+
713
+ _response_types_map: Dict[str, Optional[str]] = {
714
+ "200": "List[NetworkDevice]",
715
+ "400": "Error",
716
+ "404": "Error",
717
+ }
718
+
719
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
720
+ return response_data.response
721
+
722
+ def _get_arp_scan_serialize(
723
+ self,
724
+ interface,
725
+ cidr,
726
+ timeout,
727
+ _request_auth,
728
+ _content_type,
729
+ _headers,
730
+ _host_index,
731
+ ) -> RequestSerialized:
732
+
733
+ _host = None
734
+
735
+ _collection_formats: Dict[str, str] = {}
736
+
737
+ _path_params: Dict[str, str] = {}
738
+ _query_params: List[Tuple[str, str]] = []
739
+ _header_params: Dict[str, Optional[str]] = _headers or {}
740
+ _form_params: List[Tuple[str, str]] = []
741
+ _files: Dict[str, Union[str, bytes]] = {}
742
+ _body_params: Optional[bytes] = None
743
+
744
+ # process the path parameters
745
+ # process the query parameters
746
+ if interface is not None:
747
+ _query_params.append(("interface", interface))
748
+
749
+ if cidr is not None:
750
+ _query_params.append(("cidr", cidr))
751
+
752
+ if timeout is not None:
753
+ _query_params.append(("timeout", timeout))
754
+
755
+ # process the header parameters
756
+ # process the form parameters
757
+ # process the body parameter
758
+
759
+ # set the HTTP header `Accept`
760
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
761
+
762
+ # authentication setting
763
+ _auth_settings: List[str] = ["BearerAuth"]
764
+
765
+ return self.api_client.param_serialize(
766
+ method="GET",
767
+ resource_path="/experimental/system/network/arp-scan",
768
+ path_params=_path_params,
769
+ query_params=_query_params,
770
+ header_params=_header_params,
771
+ body=_body_params,
772
+ post_params=_form_params,
773
+ files=_files,
774
+ auth_settings=_auth_settings,
775
+ collection_formats=_collection_formats,
776
+ _host=_host,
777
+ _request_auth=_request_auth,
778
+ )
779
+
780
+ @validate_call
781
+ async def get_configuration_backup_status(
782
+ self,
783
+ operation_id: UUID,
784
+ _request_timeout: Union[
785
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
786
+ ] = None,
787
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
788
+ _content_type: Optional[StrictStr] = None,
789
+ _headers: Optional[Dict[StrictStr, Any]] = None,
790
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
791
+ ) -> ConfigurationArchiveStatus:
792
+ """Retrieve Backup Status
793
+
794
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
795
+
796
+ :param operation_id: (required)
797
+ :type operation_id: UUID
798
+ :param _request_timeout: timeout setting for this request. If one
799
+ number provided, it will be total request
800
+ timeout. It can also be a pair (tuple) of
801
+ (connection, read) timeouts.
802
+ :type _request_timeout: int, tuple(int, int), optional
803
+ :param _request_auth: set to override the auth_settings for an a single
804
+ request; this effectively ignores the
805
+ authentication in the spec for a single request.
806
+ :type _request_auth: dict, optional
807
+ :param _content_type: force content-type for the request.
808
+ :type _content_type: str, Optional
809
+ :param _headers: set to override the headers for a single
810
+ request; this effectively ignores the headers
811
+ in the spec for a single request.
812
+ :type _headers: dict, optional
813
+ :param _host_index: set to override the host_index for a single
814
+ request; this effectively ignores the host_index
815
+ in the spec for a single request.
816
+ :type _host_index: int, optional
817
+ :return: Returns the result object.
818
+ """ # noqa: E501
819
+
820
+ _param = self._get_configuration_backup_status_serialize(
821
+ operation_id=operation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
822
+ )
823
+
824
+ _response_types_map: Dict[str, Optional[str]] = {
825
+ "200": "ConfigurationArchiveStatus",
826
+ "404": "Error",
827
+ }
828
+
829
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
830
+ await response_data.read()
831
+ return self.api_client.response_deserialize(
832
+ response_data=response_data,
833
+ response_types_map=_response_types_map,
834
+ ).data
835
+
836
+ @validate_call
837
+ async def get_configuration_backup_status_with_http_info(
838
+ self,
839
+ operation_id: UUID,
840
+ _request_timeout: Union[
841
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
842
+ ] = None,
843
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
844
+ _content_type: Optional[StrictStr] = None,
845
+ _headers: Optional[Dict[StrictStr, Any]] = None,
846
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
847
+ ) -> ApiResponse[ConfigurationArchiveStatus]:
848
+ """Retrieve Backup Status
849
+
850
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
851
+
852
+ :param operation_id: (required)
853
+ :type operation_id: UUID
854
+ :param _request_timeout: timeout setting for this request. If one
855
+ number provided, it will be total request
856
+ timeout. It can also be a pair (tuple) of
857
+ (connection, read) timeouts.
858
+ :type _request_timeout: int, tuple(int, int), optional
859
+ :param _request_auth: set to override the auth_settings for an a single
860
+ request; this effectively ignores the
861
+ authentication in the spec for a single request.
862
+ :type _request_auth: dict, optional
863
+ :param _content_type: force content-type for the request.
864
+ :type _content_type: str, Optional
865
+ :param _headers: set to override the headers for a single
866
+ request; this effectively ignores the headers
867
+ in the spec for a single request.
868
+ :type _headers: dict, optional
869
+ :param _host_index: set to override the host_index for a single
870
+ request; this effectively ignores the host_index
871
+ in the spec for a single request.
872
+ :type _host_index: int, optional
873
+ :return: Returns the result object.
874
+ """ # noqa: E501
875
+
876
+ _param = self._get_configuration_backup_status_serialize(
877
+ operation_id=operation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
878
+ )
879
+
880
+ _response_types_map: Dict[str, Optional[str]] = {
881
+ "200": "ConfigurationArchiveStatus",
882
+ "404": "Error",
883
+ }
884
+
885
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
886
+ await response_data.read()
887
+ return self.api_client.response_deserialize(
888
+ response_data=response_data,
889
+ response_types_map=_response_types_map,
890
+ )
891
+
892
+ @validate_call
893
+ async def get_configuration_backup_status_without_preload_content(
894
+ self,
895
+ operation_id: UUID,
896
+ _request_timeout: Union[
897
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
898
+ ] = None,
899
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
900
+ _content_type: Optional[StrictStr] = None,
901
+ _headers: Optional[Dict[StrictStr, Any]] = None,
902
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
903
+ ) -> RESTResponseType:
904
+ """Retrieve Backup Status
905
+
906
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
907
+
908
+ :param operation_id: (required)
909
+ :type operation_id: UUID
910
+ :param _request_timeout: timeout setting for this request. If one
911
+ number provided, it will be total request
912
+ timeout. It can also be a pair (tuple) of
913
+ (connection, read) timeouts.
914
+ :type _request_timeout: int, tuple(int, int), optional
915
+ :param _request_auth: set to override the auth_settings for an a single
916
+ request; this effectively ignores the
917
+ authentication in the spec for a single request.
918
+ :type _request_auth: dict, optional
919
+ :param _content_type: force content-type for the request.
920
+ :type _content_type: str, Optional
921
+ :param _headers: set to override the headers for a single
922
+ request; this effectively ignores the headers
923
+ in the spec for a single request.
924
+ :type _headers: dict, optional
925
+ :param _host_index: set to override the host_index for a single
926
+ request; this effectively ignores the host_index
927
+ in the spec for a single request.
928
+ :type _host_index: int, optional
929
+ :return: Returns the result object.
930
+ """ # noqa: E501
931
+
932
+ _param = self._get_configuration_backup_status_serialize(
933
+ operation_id=operation_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
934
+ )
935
+
936
+ _response_types_map: Dict[str, Optional[str]] = {
937
+ "200": "ConfigurationArchiveStatus",
938
+ "404": "Error",
939
+ }
940
+
941
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
942
+ return response_data.response
943
+
944
+ def _get_configuration_backup_status_serialize(
945
+ self,
946
+ operation_id,
947
+ _request_auth,
948
+ _content_type,
949
+ _headers,
950
+ _host_index,
951
+ ) -> RequestSerialized:
952
+
953
+ _host = None
954
+
955
+ _collection_formats: Dict[str, str] = {}
956
+
957
+ _path_params: Dict[str, str] = {}
958
+ _query_params: List[Tuple[str, str]] = []
959
+ _header_params: Dict[str, Optional[str]] = _headers or {}
960
+ _form_params: List[Tuple[str, str]] = []
961
+ _files: Dict[str, Union[str, bytes]] = {}
962
+ _body_params: Optional[bytes] = None
963
+
964
+ # process the path parameters
965
+ # process the query parameters
966
+ if operation_id is not None:
967
+ _query_params.append(("operation_id", operation_id))
968
+
969
+ # process the header parameters
970
+ # process the form parameters
971
+ # process the body parameter
972
+
973
+ # set the HTTP header `Accept`
974
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
975
+
976
+ # authentication setting
977
+ _auth_settings: List[str] = ["BearerAuth"]
978
+
979
+ return self.api_client.param_serialize(
980
+ method="GET",
981
+ resource_path="/system/configuration/status",
982
+ path_params=_path_params,
983
+ query_params=_query_params,
984
+ header_params=_header_params,
985
+ body=_body_params,
986
+ post_params=_form_params,
987
+ files=_files,
988
+ auth_settings=_auth_settings,
989
+ collection_formats=_collection_formats,
990
+ _host=_host,
991
+ _request_auth=_request_auth,
992
+ )
993
+
994
+ @validate_call
995
+ async def get_diagnose_package(
996
+ self,
997
+ _request_timeout: Union[
998
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
999
+ ] = None,
1000
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1001
+ _content_type: Optional[StrictStr] = None,
1002
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1003
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1004
+ ) -> bytearray:
1005
+ """Download Diagnosis Package
1006
+
1007
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
1008
+
1009
+ :param _request_timeout: timeout setting for this request. If one
1010
+ number provided, it will be total request
1011
+ timeout. It can also be a pair (tuple) of
1012
+ (connection, read) timeouts.
1013
+ :type _request_timeout: int, tuple(int, int), optional
1014
+ :param _request_auth: set to override the auth_settings for an a single
1015
+ request; this effectively ignores the
1016
+ authentication in the spec for a single request.
1017
+ :type _request_auth: dict, optional
1018
+ :param _content_type: force content-type for the request.
1019
+ :type _content_type: str, Optional
1020
+ :param _headers: set to override the headers for a single
1021
+ request; this effectively ignores the headers
1022
+ in the spec for a single request.
1023
+ :type _headers: dict, optional
1024
+ :param _host_index: set to override the host_index for a single
1025
+ request; this effectively ignores the host_index
1026
+ in the spec for a single request.
1027
+ :type _host_index: int, optional
1028
+ :return: Returns the result object.
1029
+ """ # noqa: E501
1030
+
1031
+ _param = self._get_diagnose_package_serialize(
1032
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1033
+ )
1034
+
1035
+ _response_types_map: Dict[str, Optional[str]] = {
1036
+ "200": "bytearray",
1037
+ }
1038
+
1039
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1040
+ await response_data.read()
1041
+ return self.api_client.response_deserialize(
1042
+ response_data=response_data,
1043
+ response_types_map=_response_types_map,
1044
+ ).data
1045
+
1046
+ @validate_call
1047
+ async def get_diagnose_package_with_http_info(
1048
+ self,
1049
+ _request_timeout: Union[
1050
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1051
+ ] = None,
1052
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1053
+ _content_type: Optional[StrictStr] = None,
1054
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1055
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1056
+ ) -> ApiResponse[bytearray]:
1057
+ """Download Diagnosis Package
1058
+
1059
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
1060
+
1061
+ :param _request_timeout: timeout setting for this request. If one
1062
+ number provided, it will be total request
1063
+ timeout. It can also be a pair (tuple) of
1064
+ (connection, read) timeouts.
1065
+ :type _request_timeout: int, tuple(int, int), optional
1066
+ :param _request_auth: set to override the auth_settings for an a single
1067
+ request; this effectively ignores the
1068
+ authentication in the spec for a single request.
1069
+ :type _request_auth: dict, optional
1070
+ :param _content_type: force content-type for the request.
1071
+ :type _content_type: str, Optional
1072
+ :param _headers: set to override the headers for a single
1073
+ request; this effectively ignores the headers
1074
+ in the spec for a single request.
1075
+ :type _headers: dict, optional
1076
+ :param _host_index: set to override the host_index for a single
1077
+ request; this effectively ignores the host_index
1078
+ in the spec for a single request.
1079
+ :type _host_index: int, optional
1080
+ :return: Returns the result object.
1081
+ """ # noqa: E501
1082
+
1083
+ _param = self._get_diagnose_package_serialize(
1084
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1085
+ )
1086
+
1087
+ _response_types_map: Dict[str, Optional[str]] = {
1088
+ "200": "bytearray",
1089
+ }
1090
+
1091
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1092
+ await response_data.read()
1093
+ return self.api_client.response_deserialize(
1094
+ response_data=response_data,
1095
+ response_types_map=_response_types_map,
1096
+ )
1097
+
1098
+ @validate_call
1099
+ async def get_diagnose_package_without_preload_content(
1100
+ self,
1101
+ _request_timeout: Union[
1102
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1103
+ ] = None,
1104
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1105
+ _content_type: Optional[StrictStr] = None,
1106
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1107
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1108
+ ) -> RESTResponseType:
1109
+ """Download Diagnosis Package
1110
+
1111
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
1112
+
1113
+ :param _request_timeout: timeout setting for this request. If one
1114
+ number provided, it will be total request
1115
+ timeout. It can also be a pair (tuple) of
1116
+ (connection, read) timeouts.
1117
+ :type _request_timeout: int, tuple(int, int), optional
1118
+ :param _request_auth: set to override the auth_settings for an a single
1119
+ request; this effectively ignores the
1120
+ authentication in the spec for a single request.
1121
+ :type _request_auth: dict, optional
1122
+ :param _content_type: force content-type for the request.
1123
+ :type _content_type: str, Optional
1124
+ :param _headers: set to override the headers for a single
1125
+ request; this effectively ignores the headers
1126
+ in the spec for a single request.
1127
+ :type _headers: dict, optional
1128
+ :param _host_index: set to override the host_index for a single
1129
+ request; this effectively ignores the host_index
1130
+ in the spec for a single request.
1131
+ :type _host_index: int, optional
1132
+ :return: Returns the result object.
1133
+ """ # noqa: E501
1134
+
1135
+ _param = self._get_diagnose_package_serialize(
1136
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1137
+ )
1138
+
1139
+ _response_types_map: Dict[str, Optional[str]] = {
1140
+ "200": "bytearray",
1141
+ }
1142
+
1143
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1144
+ return response_data.response
1145
+
1146
+ def _get_diagnose_package_serialize(
1147
+ self,
1148
+ _request_auth,
1149
+ _content_type,
1150
+ _headers,
1151
+ _host_index,
1152
+ ) -> RequestSerialized:
1153
+
1154
+ _host = None
1155
+
1156
+ _collection_formats: Dict[str, str] = {}
1157
+
1158
+ _path_params: Dict[str, str] = {}
1159
+ _query_params: List[Tuple[str, str]] = []
1160
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1161
+ _form_params: List[Tuple[str, str]] = []
1162
+ _files: Dict[str, Union[str, bytes]] = {}
1163
+ _body_params: Optional[bytes] = None
1164
+
1165
+ # process the path parameters
1166
+ # process the query parameters
1167
+ # process the header parameters
1168
+ # process the form parameters
1169
+ # process the body parameter
1170
+
1171
+ # set the HTTP header `Accept`
1172
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/zip"])
1173
+
1174
+ # authentication setting
1175
+ _auth_settings: List[str] = ["BearerAuth"]
1176
+
1177
+ return self.api_client.param_serialize(
1178
+ method="GET",
1179
+ resource_path="/system/diagnosis-package/zip",
1180
+ path_params=_path_params,
1181
+ query_params=_query_params,
1182
+ header_params=_header_params,
1183
+ body=_body_params,
1184
+ post_params=_form_params,
1185
+ files=_files,
1186
+ auth_settings=_auth_settings,
1187
+ collection_formats=_collection_formats,
1188
+ _host=_host,
1189
+ _request_auth=_request_auth,
1190
+ )
1191
+
1192
+ @validate_call
1193
+ async def get_network_interfaces(
1194
+ self,
1195
+ _request_timeout: Union[
1196
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1197
+ ] = None,
1198
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1199
+ _content_type: Optional[StrictStr] = None,
1200
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1201
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1202
+ ) -> List[NetworkInterface]:
1203
+ """Network Interfaces
1204
+
1205
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the network interfaces of the system.
1206
+
1207
+ :param _request_timeout: timeout setting for this request. If one
1208
+ number provided, it will be total request
1209
+ timeout. It can also be a pair (tuple) of
1210
+ (connection, read) timeouts.
1211
+ :type _request_timeout: int, tuple(int, int), optional
1212
+ :param _request_auth: set to override the auth_settings for an a single
1213
+ request; this effectively ignores the
1214
+ authentication in the spec for a single request.
1215
+ :type _request_auth: dict, optional
1216
+ :param _content_type: force content-type for the request.
1217
+ :type _content_type: str, Optional
1218
+ :param _headers: set to override the headers for a single
1219
+ request; this effectively ignores the headers
1220
+ in the spec for a single request.
1221
+ :type _headers: dict, optional
1222
+ :param _host_index: set to override the host_index for a single
1223
+ request; this effectively ignores the host_index
1224
+ in the spec for a single request.
1225
+ :type _host_index: int, optional
1226
+ :return: Returns the result object.
1227
+ """ # noqa: E501
1228
+
1229
+ _param = self._get_network_interfaces_serialize(
1230
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1231
+ )
1232
+
1233
+ _response_types_map: Dict[str, Optional[str]] = {
1234
+ "200": "List[NetworkInterface]",
1235
+ "404": "Error",
1236
+ }
1237
+
1238
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1239
+ await response_data.read()
1240
+ return self.api_client.response_deserialize(
1241
+ response_data=response_data,
1242
+ response_types_map=_response_types_map,
1243
+ ).data
1244
+
1245
+ @validate_call
1246
+ async def get_network_interfaces_with_http_info(
1247
+ self,
1248
+ _request_timeout: Union[
1249
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1250
+ ] = None,
1251
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1252
+ _content_type: Optional[StrictStr] = None,
1253
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1254
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1255
+ ) -> ApiResponse[List[NetworkInterface]]:
1256
+ """Network Interfaces
1257
+
1258
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the network interfaces of the system.
1259
+
1260
+ :param _request_timeout: timeout setting for this request. If one
1261
+ number provided, it will be total request
1262
+ timeout. It can also be a pair (tuple) of
1263
+ (connection, read) timeouts.
1264
+ :type _request_timeout: int, tuple(int, int), optional
1265
+ :param _request_auth: set to override the auth_settings for an a single
1266
+ request; this effectively ignores the
1267
+ authentication in the spec for a single request.
1268
+ :type _request_auth: dict, optional
1269
+ :param _content_type: force content-type for the request.
1270
+ :type _content_type: str, Optional
1271
+ :param _headers: set to override the headers for a single
1272
+ request; this effectively ignores the headers
1273
+ in the spec for a single request.
1274
+ :type _headers: dict, optional
1275
+ :param _host_index: set to override the host_index for a single
1276
+ request; this effectively ignores the host_index
1277
+ in the spec for a single request.
1278
+ :type _host_index: int, optional
1279
+ :return: Returns the result object.
1280
+ """ # noqa: E501
1281
+
1282
+ _param = self._get_network_interfaces_serialize(
1283
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1284
+ )
1285
+
1286
+ _response_types_map: Dict[str, Optional[str]] = {
1287
+ "200": "List[NetworkInterface]",
1288
+ "404": "Error",
1289
+ }
1290
+
1291
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1292
+ await response_data.read()
1293
+ return self.api_client.response_deserialize(
1294
+ response_data=response_data,
1295
+ response_types_map=_response_types_map,
1296
+ )
1297
+
1298
+ @validate_call
1299
+ async def get_network_interfaces_without_preload_content(
1300
+ self,
1301
+ _request_timeout: Union[
1302
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1303
+ ] = None,
1304
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1305
+ _content_type: Optional[StrictStr] = None,
1306
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1307
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1308
+ ) -> RESTResponseType:
1309
+ """Network Interfaces
1310
+
1311
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the network interfaces of the system.
1312
+
1313
+ :param _request_timeout: timeout setting for this request. If one
1314
+ number provided, it will be total request
1315
+ timeout. It can also be a pair (tuple) of
1316
+ (connection, read) timeouts.
1317
+ :type _request_timeout: int, tuple(int, int), optional
1318
+ :param _request_auth: set to override the auth_settings for an a single
1319
+ request; this effectively ignores the
1320
+ authentication in the spec for a single request.
1321
+ :type _request_auth: dict, optional
1322
+ :param _content_type: force content-type for the request.
1323
+ :type _content_type: str, Optional
1324
+ :param _headers: set to override the headers for a single
1325
+ request; this effectively ignores the headers
1326
+ in the spec for a single request.
1327
+ :type _headers: dict, optional
1328
+ :param _host_index: set to override the host_index for a single
1329
+ request; this effectively ignores the host_index
1330
+ in the spec for a single request.
1331
+ :type _host_index: int, optional
1332
+ :return: Returns the result object.
1333
+ """ # noqa: E501
1334
+
1335
+ _param = self._get_network_interfaces_serialize(
1336
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1337
+ )
1338
+
1339
+ _response_types_map: Dict[str, Optional[str]] = {
1340
+ "200": "List[NetworkInterface]",
1341
+ "404": "Error",
1342
+ }
1343
+
1344
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1345
+ return response_data.response
1346
+
1347
+ def _get_network_interfaces_serialize(
1348
+ self,
1349
+ _request_auth,
1350
+ _content_type,
1351
+ _headers,
1352
+ _host_index,
1353
+ ) -> RequestSerialized:
1354
+
1355
+ _host = None
1356
+
1357
+ _collection_formats: Dict[str, str] = {}
1358
+
1359
+ _path_params: Dict[str, str] = {}
1360
+ _query_params: List[Tuple[str, str]] = []
1361
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1362
+ _form_params: List[Tuple[str, str]] = []
1363
+ _files: Dict[str, Union[str, bytes]] = {}
1364
+ _body_params: Optional[bytes] = None
1365
+
1366
+ # process the path parameters
1367
+ # process the query parameters
1368
+ # process the header parameters
1369
+ # process the form parameters
1370
+ # process the body parameter
1371
+
1372
+ # set the HTTP header `Accept`
1373
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1374
+
1375
+ # authentication setting
1376
+ _auth_settings: List[str] = ["BearerAuth"]
1377
+
1378
+ return self.api_client.param_serialize(
1379
+ method="GET",
1380
+ resource_path="/experimental/system/network/interfaces",
1381
+ path_params=_path_params,
1382
+ query_params=_query_params,
1383
+ header_params=_header_params,
1384
+ body=_body_params,
1385
+ post_params=_form_params,
1386
+ files=_files,
1387
+ auth_settings=_auth_settings,
1388
+ collection_formats=_collection_formats,
1389
+ _host=_host,
1390
+ _request_auth=_request_auth,
1391
+ )
1392
+
1393
+ @validate_call
1394
+ async def get_network_state(
1395
+ self,
1396
+ _request_timeout: Union[
1397
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1398
+ ] = None,
1399
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1400
+ _content_type: Optional[StrictStr] = None,
1401
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1402
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1403
+ ) -> NetworkState:
1404
+ """Network State
1405
+
1406
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the current state of the network.
1407
+
1408
+ :param _request_timeout: timeout setting for this request. If one
1409
+ number provided, it will be total request
1410
+ timeout. It can also be a pair (tuple) of
1411
+ (connection, read) timeouts.
1412
+ :type _request_timeout: int, tuple(int, int), optional
1413
+ :param _request_auth: set to override the auth_settings for an a single
1414
+ request; this effectively ignores the
1415
+ authentication in the spec for a single request.
1416
+ :type _request_auth: dict, optional
1417
+ :param _content_type: force content-type for the request.
1418
+ :type _content_type: str, Optional
1419
+ :param _headers: set to override the headers for a single
1420
+ request; this effectively ignores the headers
1421
+ in the spec for a single request.
1422
+ :type _headers: dict, optional
1423
+ :param _host_index: set to override the host_index for a single
1424
+ request; this effectively ignores the host_index
1425
+ in the spec for a single request.
1426
+ :type _host_index: int, optional
1427
+ :return: Returns the result object.
1428
+ """ # noqa: E501
1429
+
1430
+ _param = self._get_network_state_serialize(
1431
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1432
+ )
1433
+
1434
+ _response_types_map: Dict[str, Optional[str]] = {
1435
+ "200": "NetworkState",
1436
+ "404": "Error",
1437
+ }
1438
+
1439
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1440
+ await response_data.read()
1441
+ return self.api_client.response_deserialize(
1442
+ response_data=response_data,
1443
+ response_types_map=_response_types_map,
1444
+ ).data
1445
+
1446
+ @validate_call
1447
+ async def get_network_state_with_http_info(
1448
+ self,
1449
+ _request_timeout: Union[
1450
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1451
+ ] = None,
1452
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1453
+ _content_type: Optional[StrictStr] = None,
1454
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1455
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1456
+ ) -> ApiResponse[NetworkState]:
1457
+ """Network State
1458
+
1459
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the current state of the network.
1460
+
1461
+ :param _request_timeout: timeout setting for this request. If one
1462
+ number provided, it will be total request
1463
+ timeout. It can also be a pair (tuple) of
1464
+ (connection, read) timeouts.
1465
+ :type _request_timeout: int, tuple(int, int), optional
1466
+ :param _request_auth: set to override the auth_settings for an a single
1467
+ request; this effectively ignores the
1468
+ authentication in the spec for a single request.
1469
+ :type _request_auth: dict, optional
1470
+ :param _content_type: force content-type for the request.
1471
+ :type _content_type: str, Optional
1472
+ :param _headers: set to override the headers for a single
1473
+ request; this effectively ignores the headers
1474
+ in the spec for a single request.
1475
+ :type _headers: dict, optional
1476
+ :param _host_index: set to override the host_index for a single
1477
+ request; this effectively ignores the host_index
1478
+ in the spec for a single request.
1479
+ :type _host_index: int, optional
1480
+ :return: Returns the result object.
1481
+ """ # noqa: E501
1482
+
1483
+ _param = self._get_network_state_serialize(
1484
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1485
+ )
1486
+
1487
+ _response_types_map: Dict[str, Optional[str]] = {
1488
+ "200": "NetworkState",
1489
+ "404": "Error",
1490
+ }
1491
+
1492
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1493
+ await response_data.read()
1494
+ return self.api_client.response_deserialize(
1495
+ response_data=response_data,
1496
+ response_types_map=_response_types_map,
1497
+ )
1498
+
1499
+ @validate_call
1500
+ async def get_network_state_without_preload_content(
1501
+ self,
1502
+ _request_timeout: Union[
1503
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1504
+ ] = None,
1505
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1506
+ _content_type: Optional[StrictStr] = None,
1507
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1508
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1509
+ ) -> RESTResponseType:
1510
+ """Network State
1511
+
1512
+ **Required permissions:** `can_access_system` - View system status and metadata ___ <!-- theme: danger --> > **Experimental** Get the current state of the network.
1513
+
1514
+ :param _request_timeout: timeout setting for this request. If one
1515
+ number provided, it will be total request
1516
+ timeout. It can also be a pair (tuple) of
1517
+ (connection, read) timeouts.
1518
+ :type _request_timeout: int, tuple(int, int), optional
1519
+ :param _request_auth: set to override the auth_settings for an a single
1520
+ request; this effectively ignores the
1521
+ authentication in the spec for a single request.
1522
+ :type _request_auth: dict, optional
1523
+ :param _content_type: force content-type for the request.
1524
+ :type _content_type: str, Optional
1525
+ :param _headers: set to override the headers for a single
1526
+ request; this effectively ignores the headers
1527
+ in the spec for a single request.
1528
+ :type _headers: dict, optional
1529
+ :param _host_index: set to override the host_index for a single
1530
+ request; this effectively ignores the host_index
1531
+ in the spec for a single request.
1532
+ :type _host_index: int, optional
1533
+ :return: Returns the result object.
1534
+ """ # noqa: E501
1535
+
1536
+ _param = self._get_network_state_serialize(
1537
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1538
+ )
1539
+
1540
+ _response_types_map: Dict[str, Optional[str]] = {
1541
+ "200": "NetworkState",
1542
+ "404": "Error",
1543
+ }
1544
+
1545
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1546
+ return response_data.response
1547
+
1548
+ def _get_network_state_serialize(
1549
+ self,
1550
+ _request_auth,
1551
+ _content_type,
1552
+ _headers,
1553
+ _host_index,
1554
+ ) -> RequestSerialized:
1555
+
1556
+ _host = None
1557
+
1558
+ _collection_formats: Dict[str, str] = {}
1559
+
1560
+ _path_params: Dict[str, str] = {}
1561
+ _query_params: List[Tuple[str, str]] = []
1562
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1563
+ _form_params: List[Tuple[str, str]] = []
1564
+ _files: Dict[str, Union[str, bytes]] = {}
1565
+ _body_params: Optional[bytes] = None
1566
+
1567
+ # process the path parameters
1568
+ # process the query parameters
1569
+ # process the header parameters
1570
+ # process the form parameters
1571
+ # process the body parameter
1572
+
1573
+ # set the HTTP header `Accept`
1574
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1575
+
1576
+ # authentication setting
1577
+ _auth_settings: List[str] = ["BearerAuth"]
1578
+
1579
+ return self.api_client.param_serialize(
1580
+ method="GET",
1581
+ resource_path="/experimental/system/network/status",
1582
+ path_params=_path_params,
1583
+ query_params=_query_params,
1584
+ header_params=_header_params,
1585
+ body=_body_params,
1586
+ post_params=_form_params,
1587
+ files=_files,
1588
+ auth_settings=_auth_settings,
1589
+ collection_formats=_collection_formats,
1590
+ _host=_host,
1591
+ _request_auth=_request_auth,
1592
+ )
1593
+
1594
+ @validate_call
1595
+ async def get_system_status(
1596
+ self,
1597
+ _request_timeout: Union[
1598
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1599
+ ] = None,
1600
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1601
+ _content_type: Optional[StrictStr] = None,
1602
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1603
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1604
+ ) -> List[ServiceStatus]:
1605
+ """Wandelbots NOVA status
1606
+
1607
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the status of all system services.
1608
+
1609
+ :param _request_timeout: timeout setting for this request. If one
1610
+ number provided, it will be total request
1611
+ timeout. It can also be a pair (tuple) of
1612
+ (connection, read) timeouts.
1613
+ :type _request_timeout: int, tuple(int, int), optional
1614
+ :param _request_auth: set to override the auth_settings for an a single
1615
+ request; this effectively ignores the
1616
+ authentication in the spec for a single request.
1617
+ :type _request_auth: dict, optional
1618
+ :param _content_type: force content-type for the request.
1619
+ :type _content_type: str, Optional
1620
+ :param _headers: set to override the headers for a single
1621
+ request; this effectively ignores the headers
1622
+ in the spec for a single request.
1623
+ :type _headers: dict, optional
1624
+ :param _host_index: set to override the host_index for a single
1625
+ request; this effectively ignores the host_index
1626
+ in the spec for a single request.
1627
+ :type _host_index: int, optional
1628
+ :return: Returns the result object.
1629
+ """ # noqa: E501
1630
+
1631
+ _param = self._get_system_status_serialize(
1632
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1633
+ )
1634
+
1635
+ _response_types_map: Dict[str, Optional[str]] = {
1636
+ "200": "List[ServiceStatus]",
1637
+ }
1638
+
1639
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1640
+ await response_data.read()
1641
+ return self.api_client.response_deserialize(
1642
+ response_data=response_data,
1643
+ response_types_map=_response_types_map,
1644
+ ).data
1645
+
1646
+ @validate_call
1647
+ async def get_system_status_with_http_info(
1648
+ self,
1649
+ _request_timeout: Union[
1650
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1651
+ ] = None,
1652
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1653
+ _content_type: Optional[StrictStr] = None,
1654
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1655
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1656
+ ) -> ApiResponse[List[ServiceStatus]]:
1657
+ """Wandelbots NOVA status
1658
+
1659
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the status of all system services.
1660
+
1661
+ :param _request_timeout: timeout setting for this request. If one
1662
+ number provided, it will be total request
1663
+ timeout. It can also be a pair (tuple) of
1664
+ (connection, read) timeouts.
1665
+ :type _request_timeout: int, tuple(int, int), optional
1666
+ :param _request_auth: set to override the auth_settings for an a single
1667
+ request; this effectively ignores the
1668
+ authentication in the spec for a single request.
1669
+ :type _request_auth: dict, optional
1670
+ :param _content_type: force content-type for the request.
1671
+ :type _content_type: str, Optional
1672
+ :param _headers: set to override the headers for a single
1673
+ request; this effectively ignores the headers
1674
+ in the spec for a single request.
1675
+ :type _headers: dict, optional
1676
+ :param _host_index: set to override the host_index for a single
1677
+ request; this effectively ignores the host_index
1678
+ in the spec for a single request.
1679
+ :type _host_index: int, optional
1680
+ :return: Returns the result object.
1681
+ """ # noqa: E501
1682
+
1683
+ _param = self._get_system_status_serialize(
1684
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1685
+ )
1686
+
1687
+ _response_types_map: Dict[str, Optional[str]] = {
1688
+ "200": "List[ServiceStatus]",
1689
+ }
1690
+
1691
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1692
+ await response_data.read()
1693
+ return self.api_client.response_deserialize(
1694
+ response_data=response_data,
1695
+ response_types_map=_response_types_map,
1696
+ )
1697
+
1698
+ @validate_call
1699
+ async def get_system_status_without_preload_content(
1700
+ self,
1701
+ _request_timeout: Union[
1702
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1703
+ ] = None,
1704
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1705
+ _content_type: Optional[StrictStr] = None,
1706
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1707
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1708
+ ) -> RESTResponseType:
1709
+ """Wandelbots NOVA status
1710
+
1711
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the status of all system services.
1712
+
1713
+ :param _request_timeout: timeout setting for this request. If one
1714
+ number provided, it will be total request
1715
+ timeout. It can also be a pair (tuple) of
1716
+ (connection, read) timeouts.
1717
+ :type _request_timeout: int, tuple(int, int), optional
1718
+ :param _request_auth: set to override the auth_settings for an a single
1719
+ request; this effectively ignores the
1720
+ authentication in the spec for a single request.
1721
+ :type _request_auth: dict, optional
1722
+ :param _content_type: force content-type for the request.
1723
+ :type _content_type: str, Optional
1724
+ :param _headers: set to override the headers for a single
1725
+ request; this effectively ignores the headers
1726
+ in the spec for a single request.
1727
+ :type _headers: dict, optional
1728
+ :param _host_index: set to override the host_index for a single
1729
+ request; this effectively ignores the host_index
1730
+ in the spec for a single request.
1731
+ :type _host_index: int, optional
1732
+ :return: Returns the result object.
1733
+ """ # noqa: E501
1734
+
1735
+ _param = self._get_system_status_serialize(
1736
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1737
+ )
1738
+
1739
+ _response_types_map: Dict[str, Optional[str]] = {
1740
+ "200": "List[ServiceStatus]",
1741
+ }
1742
+
1743
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1744
+ return response_data.response
1745
+
1746
+ def _get_system_status_serialize(
1747
+ self,
1748
+ _request_auth,
1749
+ _content_type,
1750
+ _headers,
1751
+ _host_index,
1752
+ ) -> RequestSerialized:
1753
+
1754
+ _host = None
1755
+
1756
+ _collection_formats: Dict[str, str] = {}
1757
+
1758
+ _path_params: Dict[str, str] = {}
1759
+ _query_params: List[Tuple[str, str]] = []
1760
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1761
+ _form_params: List[Tuple[str, str]] = []
1762
+ _files: Dict[str, Union[str, bytes]] = {}
1763
+ _body_params: Optional[bytes] = None
1764
+
1765
+ # process the path parameters
1766
+ # process the query parameters
1767
+ # process the header parameters
1768
+ # process the form parameters
1769
+ # process the body parameter
1770
+
1771
+ # set the HTTP header `Accept`
1772
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1773
+
1774
+ # authentication setting
1775
+ _auth_settings: List[str] = ["BearerAuth"]
1776
+
1777
+ return self.api_client.param_serialize(
1778
+ method="GET",
1779
+ resource_path="/system/status",
1780
+ path_params=_path_params,
1781
+ query_params=_query_params,
1782
+ header_params=_header_params,
1783
+ body=_body_params,
1784
+ post_params=_form_params,
1785
+ files=_files,
1786
+ auth_settings=_auth_settings,
1787
+ collection_formats=_collection_formats,
1788
+ _host=_host,
1789
+ _request_auth=_request_auth,
1790
+ )
1791
+
1792
+ @validate_call
1793
+ async def get_system_version(
1794
+ self,
1795
+ _request_timeout: Union[
1796
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1797
+ ] = None,
1798
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1799
+ _content_type: Optional[StrictStr] = None,
1800
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1801
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1802
+ ) -> str:
1803
+ """Wandelbots NOVA Version
1804
+
1805
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the current Wandelbots NOVA version.
1806
+
1807
+ :param _request_timeout: timeout setting for this request. If one
1808
+ number provided, it will be total request
1809
+ timeout. It can also be a pair (tuple) of
1810
+ (connection, read) timeouts.
1811
+ :type _request_timeout: int, tuple(int, int), optional
1812
+ :param _request_auth: set to override the auth_settings for an a single
1813
+ request; this effectively ignores the
1814
+ authentication in the spec for a single request.
1815
+ :type _request_auth: dict, optional
1816
+ :param _content_type: force content-type for the request.
1817
+ :type _content_type: str, Optional
1818
+ :param _headers: set to override the headers for a single
1819
+ request; this effectively ignores the headers
1820
+ in the spec for a single request.
1821
+ :type _headers: dict, optional
1822
+ :param _host_index: set to override the host_index for a single
1823
+ request; this effectively ignores the host_index
1824
+ in the spec for a single request.
1825
+ :type _host_index: int, optional
1826
+ :return: Returns the result object.
1827
+ """ # noqa: E501
1828
+
1829
+ _param = self._get_system_version_serialize(
1830
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1831
+ )
1832
+
1833
+ _response_types_map: Dict[str, Optional[str]] = {
1834
+ "200": "str",
1835
+ }
1836
+
1837
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1838
+ await response_data.read()
1839
+ return self.api_client.response_deserialize(
1840
+ response_data=response_data,
1841
+ response_types_map=_response_types_map,
1842
+ ).data
1843
+
1844
+ @validate_call
1845
+ async def get_system_version_with_http_info(
1846
+ self,
1847
+ _request_timeout: Union[
1848
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1849
+ ] = None,
1850
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1851
+ _content_type: Optional[StrictStr] = None,
1852
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1853
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1854
+ ) -> ApiResponse[str]:
1855
+ """Wandelbots NOVA Version
1856
+
1857
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the current Wandelbots NOVA version.
1858
+
1859
+ :param _request_timeout: timeout setting for this request. If one
1860
+ number provided, it will be total request
1861
+ timeout. It can also be a pair (tuple) of
1862
+ (connection, read) timeouts.
1863
+ :type _request_timeout: int, tuple(int, int), optional
1864
+ :param _request_auth: set to override the auth_settings for an a single
1865
+ request; this effectively ignores the
1866
+ authentication in the spec for a single request.
1867
+ :type _request_auth: dict, optional
1868
+ :param _content_type: force content-type for the request.
1869
+ :type _content_type: str, Optional
1870
+ :param _headers: set to override the headers for a single
1871
+ request; this effectively ignores the headers
1872
+ in the spec for a single request.
1873
+ :type _headers: dict, optional
1874
+ :param _host_index: set to override the host_index for a single
1875
+ request; this effectively ignores the host_index
1876
+ in the spec for a single request.
1877
+ :type _host_index: int, optional
1878
+ :return: Returns the result object.
1879
+ """ # noqa: E501
1880
+
1881
+ _param = self._get_system_version_serialize(
1882
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1883
+ )
1884
+
1885
+ _response_types_map: Dict[str, Optional[str]] = {
1886
+ "200": "str",
1887
+ }
1888
+
1889
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1890
+ await response_data.read()
1891
+ return self.api_client.response_deserialize(
1892
+ response_data=response_data,
1893
+ response_types_map=_response_types_map,
1894
+ )
1895
+
1896
+ @validate_call
1897
+ async def get_system_version_without_preload_content(
1898
+ self,
1899
+ _request_timeout: Union[
1900
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1901
+ ] = None,
1902
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1903
+ _content_type: Optional[StrictStr] = None,
1904
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1905
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1906
+ ) -> RESTResponseType:
1907
+ """Wandelbots NOVA Version
1908
+
1909
+ **Required permissions:** `can_access_system` - View system status and metadata ___ Get the current Wandelbots NOVA version.
1910
+
1911
+ :param _request_timeout: timeout setting for this request. If one
1912
+ number provided, it will be total request
1913
+ timeout. It can also be a pair (tuple) of
1914
+ (connection, read) timeouts.
1915
+ :type _request_timeout: int, tuple(int, int), optional
1916
+ :param _request_auth: set to override the auth_settings for an a single
1917
+ request; this effectively ignores the
1918
+ authentication in the spec for a single request.
1919
+ :type _request_auth: dict, optional
1920
+ :param _content_type: force content-type for the request.
1921
+ :type _content_type: str, Optional
1922
+ :param _headers: set to override the headers for a single
1923
+ request; this effectively ignores the headers
1924
+ in the spec for a single request.
1925
+ :type _headers: dict, optional
1926
+ :param _host_index: set to override the host_index for a single
1927
+ request; this effectively ignores the host_index
1928
+ in the spec for a single request.
1929
+ :type _host_index: int, optional
1930
+ :return: Returns the result object.
1931
+ """ # noqa: E501
1932
+
1933
+ _param = self._get_system_version_serialize(
1934
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1935
+ )
1936
+
1937
+ _response_types_map: Dict[str, Optional[str]] = {
1938
+ "200": "str",
1939
+ }
1940
+
1941
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1942
+ return response_data.response
1943
+
1944
+ def _get_system_version_serialize(
1945
+ self,
1946
+ _request_auth,
1947
+ _content_type,
1948
+ _headers,
1949
+ _host_index,
1950
+ ) -> RequestSerialized:
1951
+
1952
+ _host = None
1953
+
1954
+ _collection_formats: Dict[str, str] = {}
1955
+
1956
+ _path_params: Dict[str, str] = {}
1957
+ _query_params: List[Tuple[str, str]] = []
1958
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1959
+ _form_params: List[Tuple[str, str]] = []
1960
+ _files: Dict[str, Union[str, bytes]] = {}
1961
+ _body_params: Optional[bytes] = None
1962
+
1963
+ # process the path parameters
1964
+ # process the query parameters
1965
+ # process the header parameters
1966
+ # process the form parameters
1967
+ # process the body parameter
1968
+
1969
+ # set the HTTP header `Accept`
1970
+ _header_params["Accept"] = self.api_client.select_header_accept(["text/plain"])
1971
+
1972
+ # authentication setting
1973
+ _auth_settings: List[str] = ["BearerAuth"]
1974
+
1975
+ return self.api_client.param_serialize(
1976
+ method="GET",
1977
+ resource_path="/system/version",
1978
+ path_params=_path_params,
1979
+ query_params=_query_params,
1980
+ header_params=_header_params,
1981
+ body=_body_params,
1982
+ post_params=_form_params,
1983
+ files=_files,
1984
+ auth_settings=_auth_settings,
1985
+ collection_formats=_collection_formats,
1986
+ _host=_host,
1987
+ _request_auth=_request_auth,
1988
+ )
1989
+
1990
+ @validate_call
1991
+ async def list_configuration_resources(
1992
+ self,
1993
+ _request_timeout: Union[
1994
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1995
+ ] = None,
1996
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1997
+ _content_type: Optional[StrictStr] = None,
1998
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1999
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2000
+ ) -> List[ConfigurationResource]:
2001
+ """List Configuration Resources
2002
+
2003
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a list of all available configuration resources for backup purposes.
2004
+
2005
+ :param _request_timeout: timeout setting for this request. If one
2006
+ number provided, it will be total request
2007
+ timeout. It can also be a pair (tuple) of
2008
+ (connection, read) timeouts.
2009
+ :type _request_timeout: int, tuple(int, int), optional
2010
+ :param _request_auth: set to override the auth_settings for an a single
2011
+ request; this effectively ignores the
2012
+ authentication in the spec for a single request.
2013
+ :type _request_auth: dict, optional
2014
+ :param _content_type: force content-type for the request.
2015
+ :type _content_type: str, Optional
2016
+ :param _headers: set to override the headers for a single
2017
+ request; this effectively ignores the headers
2018
+ in the spec for a single request.
2019
+ :type _headers: dict, optional
2020
+ :param _host_index: set to override the host_index for a single
2021
+ request; this effectively ignores the host_index
2022
+ in the spec for a single request.
2023
+ :type _host_index: int, optional
2024
+ :return: Returns the result object.
2025
+ """ # noqa: E501
2026
+
2027
+ _param = self._list_configuration_resources_serialize(
2028
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
2029
+ )
2030
+
2031
+ _response_types_map: Dict[str, Optional[str]] = {
2032
+ "200": "List[ConfigurationResource]",
2033
+ }
2034
+
2035
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2036
+ await response_data.read()
2037
+ return self.api_client.response_deserialize(
2038
+ response_data=response_data,
2039
+ response_types_map=_response_types_map,
2040
+ ).data
2041
+
2042
+ @validate_call
2043
+ async def list_configuration_resources_with_http_info(
2044
+ self,
2045
+ _request_timeout: Union[
2046
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2047
+ ] = None,
2048
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2049
+ _content_type: Optional[StrictStr] = None,
2050
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2051
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2052
+ ) -> ApiResponse[List[ConfigurationResource]]:
2053
+ """List Configuration Resources
2054
+
2055
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a list of all available configuration resources for backup purposes.
2056
+
2057
+ :param _request_timeout: timeout setting for this request. If one
2058
+ number provided, it will be total request
2059
+ timeout. It can also be a pair (tuple) of
2060
+ (connection, read) timeouts.
2061
+ :type _request_timeout: int, tuple(int, int), optional
2062
+ :param _request_auth: set to override the auth_settings for an a single
2063
+ request; this effectively ignores the
2064
+ authentication in the spec for a single request.
2065
+ :type _request_auth: dict, optional
2066
+ :param _content_type: force content-type for the request.
2067
+ :type _content_type: str, Optional
2068
+ :param _headers: set to override the headers for a single
2069
+ request; this effectively ignores the headers
2070
+ in the spec for a single request.
2071
+ :type _headers: dict, optional
2072
+ :param _host_index: set to override the host_index for a single
2073
+ request; this effectively ignores the host_index
2074
+ in the spec for a single request.
2075
+ :type _host_index: int, optional
2076
+ :return: Returns the result object.
2077
+ """ # noqa: E501
2078
+
2079
+ _param = self._list_configuration_resources_serialize(
2080
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
2081
+ )
2082
+
2083
+ _response_types_map: Dict[str, Optional[str]] = {
2084
+ "200": "List[ConfigurationResource]",
2085
+ }
2086
+
2087
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2088
+ await response_data.read()
2089
+ return self.api_client.response_deserialize(
2090
+ response_data=response_data,
2091
+ response_types_map=_response_types_map,
2092
+ )
2093
+
2094
+ @validate_call
2095
+ async def list_configuration_resources_without_preload_content(
2096
+ self,
2097
+ _request_timeout: Union[
2098
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2099
+ ] = None,
2100
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2101
+ _content_type: Optional[StrictStr] = None,
2102
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2103
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2104
+ ) -> RESTResponseType:
2105
+ """List Configuration Resources
2106
+
2107
+ **Required permissions:** `can_backup_system` - Create system backups ___ Retrieves a list of all available configuration resources for backup purposes.
2108
+
2109
+ :param _request_timeout: timeout setting for this request. If one
2110
+ number provided, it will be total request
2111
+ timeout. It can also be a pair (tuple) of
2112
+ (connection, read) timeouts.
2113
+ :type _request_timeout: int, tuple(int, int), optional
2114
+ :param _request_auth: set to override the auth_settings for an a single
2115
+ request; this effectively ignores the
2116
+ authentication in the spec for a single request.
2117
+ :type _request_auth: dict, optional
2118
+ :param _content_type: force content-type for the request.
2119
+ :type _content_type: str, Optional
2120
+ :param _headers: set to override the headers for a single
2121
+ request; this effectively ignores the headers
2122
+ in the spec for a single request.
2123
+ :type _headers: dict, optional
2124
+ :param _host_index: set to override the host_index for a single
2125
+ request; this effectively ignores the host_index
2126
+ in the spec for a single request.
2127
+ :type _host_index: int, optional
2128
+ :return: Returns the result object.
2129
+ """ # noqa: E501
2130
+
2131
+ _param = self._list_configuration_resources_serialize(
2132
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
2133
+ )
2134
+
2135
+ _response_types_map: Dict[str, Optional[str]] = {
2136
+ "200": "List[ConfigurationResource]",
2137
+ }
2138
+
2139
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2140
+ return response_data.response
2141
+
2142
+ def _list_configuration_resources_serialize(
2143
+ self,
2144
+ _request_auth,
2145
+ _content_type,
2146
+ _headers,
2147
+ _host_index,
2148
+ ) -> RequestSerialized:
2149
+
2150
+ _host = None
2151
+
2152
+ _collection_formats: Dict[str, str] = {}
2153
+
2154
+ _path_params: Dict[str, str] = {}
2155
+ _query_params: List[Tuple[str, str]] = []
2156
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2157
+ _form_params: List[Tuple[str, str]] = []
2158
+ _files: Dict[str, Union[str, bytes]] = {}
2159
+ _body_params: Optional[bytes] = None
2160
+
2161
+ # process the path parameters
2162
+ # process the query parameters
2163
+ # process the header parameters
2164
+ # process the form parameters
2165
+ # process the body parameter
2166
+
2167
+ # set the HTTP header `Accept`
2168
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
2169
+
2170
+ # authentication setting
2171
+ _auth_settings: List[str] = ["BearerAuth"]
2172
+
2173
+ return self.api_client.param_serialize(
2174
+ method="GET",
2175
+ resource_path="/system/configuration/resources",
2176
+ path_params=_path_params,
2177
+ query_params=_query_params,
2178
+ header_params=_header_params,
2179
+ body=_body_params,
2180
+ post_params=_form_params,
2181
+ files=_files,
2182
+ auth_settings=_auth_settings,
2183
+ collection_formats=_collection_formats,
2184
+ _host=_host,
2185
+ _request_auth=_request_auth,
2186
+ )
2187
+
2188
+ @validate_call
2189
+ async def restore_configuration(
2190
+ self,
2191
+ body: Annotated[
2192
+ Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
2193
+ Field(description="Backup file stream containing the configuration to restore."),
2194
+ ],
2195
+ resources: Annotated[
2196
+ Optional[List[StrictStr]],
2197
+ Field(description="List of resource identifiers to restore. If empty, all resources from the backup will be restored."),
2198
+ ] = None,
2199
+ _request_timeout: Union[
2200
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2201
+ ] = None,
2202
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2203
+ _content_type: Optional[StrictStr] = None,
2204
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2205
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2206
+ ) -> None:
2207
+ """Restore Configuration Backup
2208
+
2209
+ **Required permissions:** `can_restore_system` - Restore system backups ___ Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
2210
+
2211
+ :param body: Backup file stream containing the configuration to restore. (required)
2212
+ :type body: bytearray
2213
+ :param resources: List of resource identifiers to restore. If empty, all resources from the backup will be restored.
2214
+ :type resources: List[str]
2215
+ :param _request_timeout: timeout setting for this request. If one
2216
+ number provided, it will be total request
2217
+ timeout. It can also be a pair (tuple) of
2218
+ (connection, read) timeouts.
2219
+ :type _request_timeout: int, tuple(int, int), optional
2220
+ :param _request_auth: set to override the auth_settings for an a single
2221
+ request; this effectively ignores the
2222
+ authentication in the spec for a single request.
2223
+ :type _request_auth: dict, optional
2224
+ :param _content_type: force content-type for the request.
2225
+ :type _content_type: str, Optional
2226
+ :param _headers: set to override the headers for a single
2227
+ request; this effectively ignores the headers
2228
+ in the spec for a single request.
2229
+ :type _headers: dict, optional
2230
+ :param _host_index: set to override the host_index for a single
2231
+ request; this effectively ignores the host_index
2232
+ in the spec for a single request.
2233
+ :type _host_index: int, optional
2234
+ :return: Returns the result object.
2235
+ """ # noqa: E501
2236
+
2237
+ _param = self._restore_configuration_serialize(
2238
+ body=body,
2239
+ resources=resources,
2240
+ _request_auth=_request_auth,
2241
+ _content_type=_content_type,
2242
+ _headers=_headers,
2243
+ _host_index=_host_index,
2244
+ )
2245
+
2246
+ _response_types_map: Dict[str, Optional[str]] = {
2247
+ "200": None,
2248
+ "400": "Error",
2249
+ }
2250
+
2251
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2252
+ await response_data.read()
2253
+ return self.api_client.response_deserialize(
2254
+ response_data=response_data,
2255
+ response_types_map=_response_types_map,
2256
+ ).data
2257
+
2258
+ @validate_call
2259
+ async def restore_configuration_with_http_info(
2260
+ self,
2261
+ body: Annotated[
2262
+ Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
2263
+ Field(description="Backup file stream containing the configuration to restore."),
2264
+ ],
2265
+ resources: Annotated[
2266
+ Optional[List[StrictStr]],
2267
+ Field(description="List of resource identifiers to restore. If empty, all resources from the backup will be restored."),
2268
+ ] = None,
2269
+ _request_timeout: Union[
2270
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2271
+ ] = None,
2272
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2273
+ _content_type: Optional[StrictStr] = None,
2274
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2275
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2276
+ ) -> ApiResponse[None]:
2277
+ """Restore Configuration Backup
2278
+
2279
+ **Required permissions:** `can_restore_system` - Restore system backups ___ Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
2280
+
2281
+ :param body: Backup file stream containing the configuration to restore. (required)
2282
+ :type body: bytearray
2283
+ :param resources: List of resource identifiers to restore. If empty, all resources from the backup will be restored.
2284
+ :type resources: List[str]
2285
+ :param _request_timeout: timeout setting for this request. If one
2286
+ number provided, it will be total request
2287
+ timeout. It can also be a pair (tuple) of
2288
+ (connection, read) timeouts.
2289
+ :type _request_timeout: int, tuple(int, int), optional
2290
+ :param _request_auth: set to override the auth_settings for an a single
2291
+ request; this effectively ignores the
2292
+ authentication in the spec for a single request.
2293
+ :type _request_auth: dict, optional
2294
+ :param _content_type: force content-type for the request.
2295
+ :type _content_type: str, Optional
2296
+ :param _headers: set to override the headers for a single
2297
+ request; this effectively ignores the headers
2298
+ in the spec for a single request.
2299
+ :type _headers: dict, optional
2300
+ :param _host_index: set to override the host_index for a single
2301
+ request; this effectively ignores the host_index
2302
+ in the spec for a single request.
2303
+ :type _host_index: int, optional
2304
+ :return: Returns the result object.
2305
+ """ # noqa: E501
2306
+
2307
+ _param = self._restore_configuration_serialize(
2308
+ body=body,
2309
+ resources=resources,
2310
+ _request_auth=_request_auth,
2311
+ _content_type=_content_type,
2312
+ _headers=_headers,
2313
+ _host_index=_host_index,
2314
+ )
2315
+
2316
+ _response_types_map: Dict[str, Optional[str]] = {
2317
+ "200": None,
2318
+ "400": "Error",
2319
+ }
2320
+
2321
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2322
+ await response_data.read()
2323
+ return self.api_client.response_deserialize(
2324
+ response_data=response_data,
2325
+ response_types_map=_response_types_map,
2326
+ )
2327
+
2328
+ @validate_call
2329
+ async def restore_configuration_without_preload_content(
2330
+ self,
2331
+ body: Annotated[
2332
+ Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]],
2333
+ Field(description="Backup file stream containing the configuration to restore."),
2334
+ ],
2335
+ resources: Annotated[
2336
+ Optional[List[StrictStr]],
2337
+ Field(description="List of resource identifiers to restore. If empty, all resources from the backup will be restored."),
2338
+ ] = None,
2339
+ _request_timeout: Union[
2340
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2341
+ ] = None,
2342
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2343
+ _content_type: Optional[StrictStr] = None,
2344
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2345
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2346
+ ) -> RESTResponseType:
2347
+ """Restore Configuration Backup
2348
+
2349
+ **Required permissions:** `can_restore_system` - Restore system backups ___ Restores a previously backed up configuration. If an empty array of resources is provided, all resources from the backup will be restored.
2350
+
2351
+ :param body: Backup file stream containing the configuration to restore. (required)
2352
+ :type body: bytearray
2353
+ :param resources: List of resource identifiers to restore. If empty, all resources from the backup will be restored.
2354
+ :type resources: List[str]
2355
+ :param _request_timeout: timeout setting for this request. If one
2356
+ number provided, it will be total request
2357
+ timeout. It can also be a pair (tuple) of
2358
+ (connection, read) timeouts.
2359
+ :type _request_timeout: int, tuple(int, int), optional
2360
+ :param _request_auth: set to override the auth_settings for an a single
2361
+ request; this effectively ignores the
2362
+ authentication in the spec for a single request.
2363
+ :type _request_auth: dict, optional
2364
+ :param _content_type: force content-type for the request.
2365
+ :type _content_type: str, Optional
2366
+ :param _headers: set to override the headers for a single
2367
+ request; this effectively ignores the headers
2368
+ in the spec for a single request.
2369
+ :type _headers: dict, optional
2370
+ :param _host_index: set to override the host_index for a single
2371
+ request; this effectively ignores the host_index
2372
+ in the spec for a single request.
2373
+ :type _host_index: int, optional
2374
+ :return: Returns the result object.
2375
+ """ # noqa: E501
2376
+
2377
+ _param = self._restore_configuration_serialize(
2378
+ body=body,
2379
+ resources=resources,
2380
+ _request_auth=_request_auth,
2381
+ _content_type=_content_type,
2382
+ _headers=_headers,
2383
+ _host_index=_host_index,
2384
+ )
2385
+
2386
+ _response_types_map: Dict[str, Optional[str]] = {
2387
+ "200": None,
2388
+ "400": "Error",
2389
+ }
2390
+
2391
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2392
+ return response_data.response
2393
+
2394
+ def _restore_configuration_serialize(
2395
+ self,
2396
+ body,
2397
+ resources,
2398
+ _request_auth,
2399
+ _content_type,
2400
+ _headers,
2401
+ _host_index,
2402
+ ) -> RequestSerialized:
2403
+
2404
+ _host = None
2405
+
2406
+ _collection_formats: Dict[str, str] = {
2407
+ "resources": "csv",
2408
+ }
2409
+
2410
+ _path_params: Dict[str, str] = {}
2411
+ _query_params: List[Tuple[str, str]] = []
2412
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2413
+ _form_params: List[Tuple[str, str]] = []
2414
+ _files: Dict[str, Union[str, bytes]] = {}
2415
+ _body_params: Optional[bytes] = None
2416
+
2417
+ # process the path parameters
2418
+ # process the query parameters
2419
+ if resources is not None:
2420
+ _query_params.append(("resources", resources))
2421
+
2422
+ # process the header parameters
2423
+ # process the form parameters
2424
+ # process the body parameter
2425
+ if body is not None:
2426
+ # convert to byte array if the input is a file name (str)
2427
+ if isinstance(body, str):
2428
+ with open(body, "rb") as _fp:
2429
+ _body_params = _fp.read()
2430
+ else:
2431
+ _body_params = body
2432
+
2433
+ # set the HTTP header `Accept`
2434
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
2435
+
2436
+ # set the HTTP header `Content-Type`
2437
+ if _content_type:
2438
+ _header_params["Content-Type"] = _content_type
2439
+ else:
2440
+ _default_content_type = self.api_client.select_header_content_type(["application/gzip"])
2441
+ if _default_content_type is not None:
2442
+ _header_params["Content-Type"] = _default_content_type
2443
+
2444
+ # authentication setting
2445
+ _auth_settings: List[str] = ["BearerAuth"]
2446
+
2447
+ return self.api_client.param_serialize(
2448
+ method="POST",
2449
+ resource_path="/system/configuration",
2450
+ path_params=_path_params,
2451
+ query_params=_query_params,
2452
+ header_params=_header_params,
2453
+ body=_body_params,
2454
+ post_params=_form_params,
2455
+ files=_files,
2456
+ auth_settings=_auth_settings,
2457
+ collection_formats=_collection_formats,
2458
+ _host=_host,
2459
+ _request_auth=_request_auth,
2460
+ )
2461
+
2462
+ @validate_call
2463
+ async def update_nova_version(
2464
+ self,
2465
+ update_nova_version_request: UpdateNovaVersionRequest,
2466
+ _request_timeout: Union[
2467
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2468
+ ] = None,
2469
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2470
+ _content_type: Optional[StrictStr] = None,
2471
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2472
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2473
+ ) -> None:
2474
+ """Update Wandelbots NOVA version
2475
+
2476
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored. System updates only apply to cells without an explicit chart version. Pinned versions are always preserved; setting `update_cells=false` pins unversioned cells to the current system version before updating.
2477
+
2478
+ :param update_nova_version_request: (required)
2479
+ :type update_nova_version_request: UpdateNovaVersionRequest
2480
+ :param _request_timeout: timeout setting for this request. If one
2481
+ number provided, it will be total request
2482
+ timeout. It can also be a pair (tuple) of
2483
+ (connection, read) timeouts.
2484
+ :type _request_timeout: int, tuple(int, int), optional
2485
+ :param _request_auth: set to override the auth_settings for an a single
2486
+ request; this effectively ignores the
2487
+ authentication in the spec for a single request.
2488
+ :type _request_auth: dict, optional
2489
+ :param _content_type: force content-type for the request.
2490
+ :type _content_type: str, Optional
2491
+ :param _headers: set to override the headers for a single
2492
+ request; this effectively ignores the headers
2493
+ in the spec for a single request.
2494
+ :type _headers: dict, optional
2495
+ :param _host_index: set to override the host_index for a single
2496
+ request; this effectively ignores the host_index
2497
+ in the spec for a single request.
2498
+ :type _host_index: int, optional
2499
+ :return: Returns the result object.
2500
+ """ # noqa: E501
2501
+
2502
+ _param = self._update_nova_version_serialize(
2503
+ update_nova_version_request=update_nova_version_request,
2504
+ _request_auth=_request_auth,
2505
+ _content_type=_content_type,
2506
+ _headers=_headers,
2507
+ _host_index=_host_index,
2508
+ )
2509
+
2510
+ _response_types_map: Dict[str, Optional[str]] = {
2511
+ "200": None,
2512
+ "204": None,
2513
+ "400": None,
2514
+ "501": None,
2515
+ }
2516
+
2517
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2518
+ await response_data.read()
2519
+ return self.api_client.response_deserialize(
2520
+ response_data=response_data,
2521
+ response_types_map=_response_types_map,
2522
+ ).data
2523
+
2524
+ @validate_call
2525
+ async def update_nova_version_with_http_info(
2526
+ self,
2527
+ update_nova_version_request: UpdateNovaVersionRequest,
2528
+ _request_timeout: Union[
2529
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2530
+ ] = None,
2531
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2532
+ _content_type: Optional[StrictStr] = None,
2533
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2534
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2535
+ ) -> ApiResponse[None]:
2536
+ """Update Wandelbots NOVA version
2537
+
2538
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored. System updates only apply to cells without an explicit chart version. Pinned versions are always preserved; setting `update_cells=false` pins unversioned cells to the current system version before updating.
2539
+
2540
+ :param update_nova_version_request: (required)
2541
+ :type update_nova_version_request: UpdateNovaVersionRequest
2542
+ :param _request_timeout: timeout setting for this request. If one
2543
+ number provided, it will be total request
2544
+ timeout. It can also be a pair (tuple) of
2545
+ (connection, read) timeouts.
2546
+ :type _request_timeout: int, tuple(int, int), optional
2547
+ :param _request_auth: set to override the auth_settings for an a single
2548
+ request; this effectively ignores the
2549
+ authentication in the spec for a single request.
2550
+ :type _request_auth: dict, optional
2551
+ :param _content_type: force content-type for the request.
2552
+ :type _content_type: str, Optional
2553
+ :param _headers: set to override the headers for a single
2554
+ request; this effectively ignores the headers
2555
+ in the spec for a single request.
2556
+ :type _headers: dict, optional
2557
+ :param _host_index: set to override the host_index for a single
2558
+ request; this effectively ignores the host_index
2559
+ in the spec for a single request.
2560
+ :type _host_index: int, optional
2561
+ :return: Returns the result object.
2562
+ """ # noqa: E501
2563
+
2564
+ _param = self._update_nova_version_serialize(
2565
+ update_nova_version_request=update_nova_version_request,
2566
+ _request_auth=_request_auth,
2567
+ _content_type=_content_type,
2568
+ _headers=_headers,
2569
+ _host_index=_host_index,
2570
+ )
2571
+
2572
+ _response_types_map: Dict[str, Optional[str]] = {
2573
+ "200": None,
2574
+ "204": None,
2575
+ "400": None,
2576
+ "501": None,
2577
+ }
2578
+
2579
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2580
+ await response_data.read()
2581
+ return self.api_client.response_deserialize(
2582
+ response_data=response_data,
2583
+ response_types_map=_response_types_map,
2584
+ )
2585
+
2586
+ @validate_call
2587
+ async def update_nova_version_without_preload_content(
2588
+ self,
2589
+ update_nova_version_request: UpdateNovaVersionRequest,
2590
+ _request_timeout: Union[
2591
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2592
+ ] = None,
2593
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2594
+ _content_type: Optional[StrictStr] = None,
2595
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2596
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2597
+ ) -> RESTResponseType:
2598
+ """Update Wandelbots NOVA version
2599
+
2600
+ **Required permissions:** `can_update_system` - Update system versions and services ___ Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored. System updates only apply to cells without an explicit chart version. Pinned versions are always preserved; setting `update_cells=false` pins unversioned cells to the current system version before updating.
2601
+
2602
+ :param update_nova_version_request: (required)
2603
+ :type update_nova_version_request: UpdateNovaVersionRequest
2604
+ :param _request_timeout: timeout setting for this request. If one
2605
+ number provided, it will be total request
2606
+ timeout. It can also be a pair (tuple) of
2607
+ (connection, read) timeouts.
2608
+ :type _request_timeout: int, tuple(int, int), optional
2609
+ :param _request_auth: set to override the auth_settings for an a single
2610
+ request; this effectively ignores the
2611
+ authentication in the spec for a single request.
2612
+ :type _request_auth: dict, optional
2613
+ :param _content_type: force content-type for the request.
2614
+ :type _content_type: str, Optional
2615
+ :param _headers: set to override the headers for a single
2616
+ request; this effectively ignores the headers
2617
+ in the spec for a single request.
2618
+ :type _headers: dict, optional
2619
+ :param _host_index: set to override the host_index for a single
2620
+ request; this effectively ignores the host_index
2621
+ in the spec for a single request.
2622
+ :type _host_index: int, optional
2623
+ :return: Returns the result object.
2624
+ """ # noqa: E501
2625
+
2626
+ _param = self._update_nova_version_serialize(
2627
+ update_nova_version_request=update_nova_version_request,
2628
+ _request_auth=_request_auth,
2629
+ _content_type=_content_type,
2630
+ _headers=_headers,
2631
+ _host_index=_host_index,
2632
+ )
2633
+
2634
+ _response_types_map: Dict[str, Optional[str]] = {
2635
+ "200": None,
2636
+ "204": None,
2637
+ "400": None,
2638
+ "501": None,
2639
+ }
2640
+
2641
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2642
+ return response_data.response
2643
+
2644
+ def _update_nova_version_serialize(
2645
+ self,
2646
+ update_nova_version_request,
2647
+ _request_auth,
2648
+ _content_type,
2649
+ _headers,
2650
+ _host_index,
2651
+ ) -> RequestSerialized:
2652
+
2653
+ _host = None
2654
+
2655
+ _collection_formats: Dict[str, str] = {}
2656
+
2657
+ _path_params: Dict[str, str] = {}
2658
+ _query_params: List[Tuple[str, str]] = []
2659
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2660
+ _form_params: List[Tuple[str, str]] = []
2661
+ _files: Dict[str, Union[str, bytes]] = {}
2662
+ _body_params: Optional[bytes] = None
2663
+
2664
+ # process the path parameters
2665
+ # process the query parameters
2666
+ # process the header parameters
2667
+ # process the form parameters
2668
+ # process the body parameter
2669
+ if update_nova_version_request is not None:
2670
+ _body_params = update_nova_version_request
2671
+
2672
+ # set the HTTP header `Content-Type`
2673
+ if _content_type:
2674
+ _header_params["Content-Type"] = _content_type
2675
+ else:
2676
+ _default_content_type = self.api_client.select_header_content_type(["application/json"])
2677
+ if _default_content_type is not None:
2678
+ _header_params["Content-Type"] = _default_content_type
2679
+
2680
+ # authentication setting
2681
+ _auth_settings: List[str] = ["BearerAuth"]
2682
+
2683
+ return self.api_client.param_serialize(
2684
+ method="PUT",
2685
+ resource_path="/system/update",
2686
+ path_params=_path_params,
2687
+ query_params=_query_params,
2688
+ header_params=_header_params,
2689
+ body=_body_params,
2690
+ post_params=_form_params,
2691
+ files=_files,
2692
+ auth_settings=_auth_settings,
2693
+ collection_formats=_collection_formats,
2694
+ _host=_host,
2695
+ _request_auth=_request_auth,
2696
+ )