wandelbots_api_client 26.3.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (740) 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 +815 -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 +1067 -0
  352. wandelbots_api_client/v2/api/version_api.py +240 -0
  353. wandelbots_api_client/v2/api/virtual_controller_api.py +5303 -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 +376 -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_motion_group.py +119 -0
  425. wandelbots_api_client/v2/models/collision_setup.py +130 -0
  426. wandelbots_api_client/v2/models/comparator.py +38 -0
  427. wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
  428. wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
  429. wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
  430. wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
  431. wandelbots_api_client/v2/models/configuration_resource.py +104 -0
  432. wandelbots_api_client/v2/models/constrained_pose.py +87 -0
  433. wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
  434. wandelbots_api_client/v2/models/container_image.py +110 -0
  435. wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
  436. wandelbots_api_client/v2/models/container_resources.py +87 -0
  437. wandelbots_api_client/v2/models/container_storage.py +94 -0
  438. wandelbots_api_client/v2/models/controller_description.py +97 -0
  439. wandelbots_api_client/v2/models/convex_hull.py +94 -0
  440. wandelbots_api_client/v2/models/coordinate_system.py +115 -0
  441. wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
  442. wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
  443. wandelbots_api_client/v2/models/cycle_time.py +86 -0
  444. wandelbots_api_client/v2/models/cylinder.py +92 -0
  445. wandelbots_api_client/v2/models/dh_parameter.py +98 -0
  446. wandelbots_api_client/v2/models/direction.py +34 -0
  447. wandelbots_api_client/v2/models/direction_constraint.py +107 -0
  448. wandelbots_api_client/v2/models/error.py +84 -0
  449. wandelbots_api_client/v2/models/error_direction_constraint_not_met.py +93 -0
  450. wandelbots_api_client/v2/models/error_direction_constraint_not_normalized.py +96 -0
  451. wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
  452. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
  453. wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
  454. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
  455. wandelbots_api_client/v2/models/error_motion_group_key_mismatch.py +85 -0
  456. wandelbots_api_client/v2/models/error_unsupported_operation.py +90 -0
  457. wandelbots_api_client/v2/models/execute.py +95 -0
  458. wandelbots_api_client/v2/models/execute_details.py +164 -0
  459. wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
  460. wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
  461. wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
  462. wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
  463. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
  464. wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
  465. wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
  466. wandelbots_api_client/v2/models/feedback_collision.py +112 -0
  467. wandelbots_api_client/v2/models/feedback_commands_missing.py +90 -0
  468. wandelbots_api_client/v2/models/feedback_cubic_spline_is_not_increasing.py +100 -0
  469. wandelbots_api_client/v2/models/feedback_cubic_spline_not_at_start_pose.py +105 -0
  470. wandelbots_api_client/v2/models/feedback_direction_constraint_no_solution_exists.py +93 -0
  471. wandelbots_api_client/v2/models/feedback_direction_constraint_not_met.py +93 -0
  472. wandelbots_api_client/v2/models/feedback_direction_constraint_not_normalized.py +96 -0
  473. wandelbots_api_client/v2/models/feedback_invalid_dof.py +101 -0
  474. wandelbots_api_client/v2/models/feedback_invalid_nan_value.py +91 -0
  475. wandelbots_api_client/v2/models/feedback_invalid_sampling_time.py +91 -0
  476. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
  477. wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
  478. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
  479. wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
  480. wandelbots_api_client/v2/models/feedback_start_joints_missing.py +98 -0
  481. wandelbots_api_client/v2/models/feedback_torque_exceeded.py +98 -0
  482. wandelbots_api_client/v2/models/flag.py +83 -0
  483. wandelbots_api_client/v2/models/flange_payload.py +98 -0
  484. wandelbots_api_client/v2/models/float_value.py +91 -0
  485. wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
  486. wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
  487. wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
  488. wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
  489. wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
  490. wandelbots_api_client/v2/models/http_validation_error.py +93 -0
  491. wandelbots_api_client/v2/models/image_credentials.py +85 -0
  492. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
  493. wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
  494. wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
  495. wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
  496. wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
  497. wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
  498. wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
  499. wandelbots_api_client/v2/models/integer_value.py +91 -0
  500. wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
  501. wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
  502. wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
  503. wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
  504. wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
  505. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
  506. wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
  507. wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
  508. wandelbots_api_client/v2/models/io_boundary.py +183 -0
  509. wandelbots_api_client/v2/models/io_description.py +116 -0
  510. wandelbots_api_client/v2/models/io_direction.py +34 -0
  511. wandelbots_api_client/v2/models/io_float_value.py +92 -0
  512. wandelbots_api_client/v2/models/io_integer_value.py +94 -0
  513. wandelbots_api_client/v2/models/io_origin.py +34 -0
  514. wandelbots_api_client/v2/models/io_value.py +183 -0
  515. wandelbots_api_client/v2/models/io_value_type.py +35 -0
  516. wandelbots_api_client/v2/models/jogging_details.py +97 -0
  517. wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
  518. wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
  519. wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
  520. wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
  521. wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
  522. wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
  523. wandelbots_api_client/v2/models/jogging_running.py +90 -0
  524. wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
  525. wandelbots_api_client/v2/models/joint_limits.py +101 -0
  526. wandelbots_api_client/v2/models/joint_ptp_motion.py +99 -0
  527. wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
  528. wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
  529. wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
  530. wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
  531. wandelbots_api_client/v2/models/kinematic_model.py +118 -0
  532. wandelbots_api_client/v2/models/kuka_controller.py +106 -0
  533. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
  534. wandelbots_api_client/v2/models/license.py +121 -0
  535. wandelbots_api_client/v2/models/license_status.py +85 -0
  536. wandelbots_api_client/v2/models/license_status_enum.py +37 -0
  537. wandelbots_api_client/v2/models/limit_range.py +84 -0
  538. wandelbots_api_client/v2/models/limit_set.py +118 -0
  539. wandelbots_api_client/v2/models/limits_override.py +136 -0
  540. wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
  541. wandelbots_api_client/v2/models/location1_inner.py +153 -0
  542. wandelbots_api_client/v2/models/manufacturer.py +37 -0
  543. wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
  544. wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
  545. wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
  546. wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
  547. wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
  548. wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
  549. wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
  550. wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
  551. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
  552. wandelbots_api_client/v2/models/modbus_io.py +109 -0
  553. wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
  554. wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
  555. wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
  556. wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
  557. wandelbots_api_client/v2/models/motion_command.py +106 -0
  558. wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
  559. wandelbots_api_client/v2/models/motion_command_path.py +298 -0
  560. wandelbots_api_client/v2/models/motion_group_description.py +241 -0
  561. wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
  562. wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
  563. wandelbots_api_client/v2/models/motion_group_info.py +90 -0
  564. wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
  565. wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
  566. wandelbots_api_client/v2/models/motion_group_state.py +187 -0
  567. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
  568. wandelbots_api_client/v2/models/movement_error_response.py +91 -0
  569. wandelbots_api_client/v2/models/multi_collision_setup.py +115 -0
  570. wandelbots_api_client/v2/models/multi_error_invalid_joint_count.py +101 -0
  571. wandelbots_api_client/v2/models/multi_error_joint_limit_exceeded.py +101 -0
  572. wandelbots_api_client/v2/models/multi_error_joint_position_collision.py +99 -0
  573. wandelbots_api_client/v2/models/multi_joint_trajectory.py +93 -0
  574. wandelbots_api_client/v2/models/multi_search_collision_free422_response.py +97 -0
  575. wandelbots_api_client/v2/models/multi_search_collision_free_request.py +149 -0
  576. wandelbots_api_client/v2/models/multi_search_collision_free_response.py +89 -0
  577. wandelbots_api_client/v2/models/multi_search_collision_free_response_response.py +147 -0
  578. wandelbots_api_client/v2/models/multi_search_collision_free_validation_error.py +109 -0
  579. wandelbots_api_client/v2/models/multi_search_collision_free_validation_error_all_of_data.py +197 -0
  580. wandelbots_api_client/v2/models/nan_value_error.py +100 -0
  581. wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
  582. wandelbots_api_client/v2/models/network_device.py +85 -0
  583. wandelbots_api_client/v2/models/network_interface.py +86 -0
  584. wandelbots_api_client/v2/models/network_state.py +125 -0
  585. wandelbots_api_client/v2/models/op_mode.py +84 -0
  586. wandelbots_api_client/v2/models/operating_state.py +34 -0
  587. wandelbots_api_client/v2/models/operation_limits.py +106 -0
  588. wandelbots_api_client/v2/models/operation_mode.py +42 -0
  589. wandelbots_api_client/v2/models/orientation_type.py +58 -0
  590. wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
  591. wandelbots_api_client/v2/models/path_circle.py +105 -0
  592. wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
  593. wandelbots_api_client/v2/models/path_direction_constrained_cartesian_ptp.py +106 -0
  594. wandelbots_api_client/v2/models/path_direction_constrained_joint_ptp.py +102 -0
  595. wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
  596. wandelbots_api_client/v2/models/path_line.py +100 -0
  597. wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
  598. wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
  599. wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
  600. wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
  601. wandelbots_api_client/v2/models/pause_on_io.py +99 -0
  602. wandelbots_api_client/v2/models/payload.py +98 -0
  603. wandelbots_api_client/v2/models/plan422_response.py +93 -0
  604. wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
  605. wandelbots_api_client/v2/models/plan_collision_free_request.py +118 -0
  606. wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
  607. wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
  608. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
  609. wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +505 -0
  610. wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
  611. wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
  612. wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
  613. wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
  614. wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +275 -0
  615. wandelbots_api_client/v2/models/plane.py +90 -0
  616. wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
  617. wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
  618. wandelbots_api_client/v2/models/pose.py +90 -0
  619. wandelbots_api_client/v2/models/profinet_description.py +112 -0
  620. wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
  621. wandelbots_api_client/v2/models/profinet_io.py +109 -0
  622. wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
  623. wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
  624. wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
  625. wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
  626. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
  627. wandelbots_api_client/v2/models/program.py +105 -0
  628. wandelbots_api_client/v2/models/program_run.py +124 -0
  629. wandelbots_api_client/v2/models/program_run_state.py +37 -0
  630. wandelbots_api_client/v2/models/program_start_request.py +83 -0
  631. wandelbots_api_client/v2/models/project_joint_position_direction_constraint422_response.py +99 -0
  632. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_request.py +148 -0
  633. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_response.py +85 -0
  634. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error.py +111 -0
  635. wandelbots_api_client/v2/models/project_joint_position_direction_constraint_validation_error_all_of_data.py +189 -0
  636. wandelbots_api_client/v2/models/rectangle.py +92 -0
  637. wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
  638. wandelbots_api_client/v2/models/release_channel.py +34 -0
  639. wandelbots_api_client/v2/models/robot_controller.py +105 -0
  640. wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
  641. wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
  642. wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
  643. wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
  644. wandelbots_api_client/v2/models/robot_tcp.py +110 -0
  645. wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
  646. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
  647. wandelbots_api_client/v2/models/safety_geometry.py +125 -0
  648. wandelbots_api_client/v2/models/safety_geometry_box.py +89 -0
  649. wandelbots_api_client/v2/models/safety_geometry_capsule.py +90 -0
  650. wandelbots_api_client/v2/models/safety_geometry_lozenge.py +97 -0
  651. wandelbots_api_client/v2/models/safety_geometry_plane.py +86 -0
  652. wandelbots_api_client/v2/models/safety_geometry_prism.py +88 -0
  653. wandelbots_api_client/v2/models/safety_geometry_sphere.py +87 -0
  654. wandelbots_api_client/v2/models/safety_state_type.py +48 -0
  655. wandelbots_api_client/v2/models/safety_zone.py +111 -0
  656. wandelbots_api_client/v2/models/safety_zone_pose.py +99 -0
  657. wandelbots_api_client/v2/models/safety_zones.py +97 -0
  658. wandelbots_api_client/v2/models/service_group.py +36 -0
  659. wandelbots_api_client/v2/models/service_status.py +96 -0
  660. wandelbots_api_client/v2/models/service_status_phase.py +46 -0
  661. wandelbots_api_client/v2/models/service_status_response.py +100 -0
  662. wandelbots_api_client/v2/models/service_status_severity.py +35 -0
  663. wandelbots_api_client/v2/models/service_status_status.py +87 -0
  664. wandelbots_api_client/v2/models/set_io.py +96 -0
  665. wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
  666. wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
  667. wandelbots_api_client/v2/models/sphere.py +91 -0
  668. wandelbots_api_client/v2/models/start_movement_request.py +133 -0
  669. wandelbots_api_client/v2/models/start_movement_response.py +91 -0
  670. wandelbots_api_client/v2/models/start_on_io.py +99 -0
  671. wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
  672. wandelbots_api_client/v2/models/tcp_offset.py +88 -0
  673. wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
  674. wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
  675. wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
  676. wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
  677. wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
  678. wandelbots_api_client/v2/models/trajectory_data.py +106 -0
  679. wandelbots_api_client/v2/models/trajectory_details.py +106 -0
  680. wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
  681. wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
  682. wandelbots_api_client/v2/models/trajectory_id.py +93 -0
  683. wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
  684. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
  685. wandelbots_api_client/v2/models/trajectory_running.py +94 -0
  686. wandelbots_api_client/v2/models/trajectory_section.py +84 -0
  687. wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
  688. wandelbots_api_client/v2/models/unit_type.py +42 -0
  689. wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
  690. wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
  691. wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
  692. wandelbots_api_client/v2/models/validation_error.py +101 -0
  693. wandelbots_api_client/v2/models/validation_error2.py +85 -0
  694. wandelbots_api_client/v2/models/virtual_controller.py +113 -0
  695. wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
  696. wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
  697. wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
  698. wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
  699. wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
  700. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
  701. wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
  702. wandelbots_api_client/v2/py.typed +0 -0
  703. wandelbots_api_client/v2/rest.py +188 -0
  704. wandelbots_api_client/v2_pydantic/__init__.py +49 -0
  705. wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
  706. wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
  707. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
  708. wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
  709. wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
  710. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
  711. wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
  712. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +811 -0
  713. wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
  714. wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
  715. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
  716. wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
  717. wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
  718. wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
  719. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
  720. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
  721. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
  722. wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
  723. wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
  724. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
  725. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +1067 -0
  726. wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
  727. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +5303 -0
  728. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
  729. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
  730. wandelbots_api_client/v2_pydantic/api_client.py +692 -0
  731. wandelbots_api_client/v2_pydantic/api_response.py +20 -0
  732. wandelbots_api_client/v2_pydantic/configuration.py +579 -0
  733. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  734. wandelbots_api_client/v2_pydantic/models/__init__.py +748 -0
  735. wandelbots_api_client/v2_pydantic/models/models.py +5909 -0
  736. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  737. wandelbots_api_client/v2_pydantic/rest.py +188 -0
  738. wandelbots_api_client-26.3.0.dist-info/METADATA +241 -0
  739. wandelbots_api_client-26.3.0.dist-info/RECORD +740 -0
  740. wandelbots_api_client-26.3.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,2163 @@
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
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, StrictStr
26
+ from typing import List, Optional
27
+ from typing_extensions import Annotated
28
+ from wandelbots_api_client.v2.models.cell import Cell
29
+ from wandelbots_api_client.v2.models.operating_state import OperatingState
30
+ from wandelbots_api_client.v2.models.release_channel import ReleaseChannel
31
+ from wandelbots_api_client.v2.models.service_status_response import ServiceStatusResponse
32
+ from wandelbots_api_client.v2.models.update_cell_version_request import UpdateCellVersionRequest
33
+
34
+ from wandelbots_api_client.v2.api_client import ApiClient, RequestSerialized
35
+ from wandelbots_api_client.v2.api_response import ApiResponse
36
+ from wandelbots_api_client.v2.rest import RESTResponseType
37
+
38
+
39
+ class CellApi:
40
+ """NOTE: This class is auto generated by OpenAPI Generator
41
+ Ref: https://openapi-generator.tech
42
+
43
+ Do not edit the class manually.
44
+ """
45
+
46
+ def __init__(self, api_client=None) -> None:
47
+ if api_client is None:
48
+ api_client = ApiClient.get_default()
49
+ self.api_client = api_client
50
+
51
+ @validate_call
52
+ async def check_cell_version_update(
53
+ self,
54
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
55
+ channel: ReleaseChannel,
56
+ _request_timeout: Union[
57
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
58
+ ] = None,
59
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
60
+ _content_type: Optional[StrictStr] = None,
61
+ _headers: Optional[Dict[StrictStr, Any]] = None,
62
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
63
+ ) -> str:
64
+ """Check Cell Update
65
+
66
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Check if a more recent Wandelbots NOVA version is available for the cell. Updates greater than the system version are ignored.
67
+
68
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
69
+ :type cell: str
70
+ :param channel: (required)
71
+ :type channel: ReleaseChannel
72
+ :param _request_timeout: timeout setting for this request. If one
73
+ number provided, it will be total request
74
+ timeout. It can also be a pair (tuple) of
75
+ (connection, read) timeouts.
76
+ :type _request_timeout: int, tuple(int, int), optional
77
+ :param _request_auth: set to override the auth_settings for an a single
78
+ request; this effectively ignores the
79
+ authentication in the spec for a single request.
80
+ :type _request_auth: dict, optional
81
+ :param _content_type: force content-type for the request.
82
+ :type _content_type: str, Optional
83
+ :param _headers: set to override the headers for a single
84
+ request; this effectively ignores the headers
85
+ in the spec for a single request.
86
+ :type _headers: dict, optional
87
+ :param _host_index: set to override the host_index for a single
88
+ request; this effectively ignores the host_index
89
+ in the spec for a single request.
90
+ :type _host_index: int, optional
91
+ :return: Returns the result object.
92
+ """ # noqa: E501
93
+
94
+ _param = self._check_cell_version_update_serialize(
95
+ cell=cell, channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
96
+ )
97
+
98
+ _response_types_map: Dict[str, Optional[str]] = {
99
+ "200": "str",
100
+ "204": None,
101
+ }
102
+
103
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
104
+ await response_data.read()
105
+ return self.api_client.response_deserialize(
106
+ response_data=response_data,
107
+ response_types_map=_response_types_map,
108
+ ).data
109
+
110
+ @validate_call
111
+ async def check_cell_version_update_with_http_info(
112
+ self,
113
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
114
+ channel: ReleaseChannel,
115
+ _request_timeout: Union[
116
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
117
+ ] = None,
118
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
119
+ _content_type: Optional[StrictStr] = None,
120
+ _headers: Optional[Dict[StrictStr, Any]] = None,
121
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
122
+ ) -> ApiResponse[str]:
123
+ """Check Cell Update
124
+
125
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Check if a more recent Wandelbots NOVA version is available for the cell. Updates greater than the system version are ignored.
126
+
127
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
128
+ :type cell: str
129
+ :param channel: (required)
130
+ :type channel: ReleaseChannel
131
+ :param _request_timeout: timeout setting for this request. If one
132
+ number provided, it will be total request
133
+ timeout. It can also be a pair (tuple) of
134
+ (connection, read) timeouts.
135
+ :type _request_timeout: int, tuple(int, int), optional
136
+ :param _request_auth: set to override the auth_settings for an a single
137
+ request; this effectively ignores the
138
+ authentication in the spec for a single request.
139
+ :type _request_auth: dict, optional
140
+ :param _content_type: force content-type for the request.
141
+ :type _content_type: str, Optional
142
+ :param _headers: set to override the headers for a single
143
+ request; this effectively ignores the headers
144
+ in the spec for a single request.
145
+ :type _headers: dict, optional
146
+ :param _host_index: set to override the host_index for a single
147
+ request; this effectively ignores the host_index
148
+ in the spec for a single request.
149
+ :type _host_index: int, optional
150
+ :return: Returns the result object.
151
+ """ # noqa: E501
152
+
153
+ _param = self._check_cell_version_update_serialize(
154
+ cell=cell, channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
155
+ )
156
+
157
+ _response_types_map: Dict[str, Optional[str]] = {
158
+ "200": "str",
159
+ "204": None,
160
+ }
161
+
162
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
163
+ await response_data.read()
164
+ return self.api_client.response_deserialize(
165
+ response_data=response_data,
166
+ response_types_map=_response_types_map,
167
+ )
168
+
169
+ @validate_call
170
+ async def check_cell_version_update_without_preload_content(
171
+ self,
172
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
173
+ channel: ReleaseChannel,
174
+ _request_timeout: Union[
175
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
176
+ ] = None,
177
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
178
+ _content_type: Optional[StrictStr] = None,
179
+ _headers: Optional[Dict[StrictStr, Any]] = None,
180
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
181
+ ) -> RESTResponseType:
182
+ """Check Cell Update
183
+
184
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Check if a more recent Wandelbots NOVA version is available for the cell. Updates greater than the system version are ignored.
185
+
186
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
187
+ :type cell: str
188
+ :param channel: (required)
189
+ :type channel: ReleaseChannel
190
+ :param _request_timeout: timeout setting for this request. If one
191
+ number provided, it will be total request
192
+ timeout. It can also be a pair (tuple) of
193
+ (connection, read) timeouts.
194
+ :type _request_timeout: int, tuple(int, int), optional
195
+ :param _request_auth: set to override the auth_settings for an a single
196
+ request; this effectively ignores the
197
+ authentication in the spec for a single request.
198
+ :type _request_auth: dict, optional
199
+ :param _content_type: force content-type for the request.
200
+ :type _content_type: str, Optional
201
+ :param _headers: set to override the headers for a single
202
+ request; this effectively ignores the headers
203
+ in the spec for a single request.
204
+ :type _headers: dict, optional
205
+ :param _host_index: set to override the host_index for a single
206
+ request; this effectively ignores the host_index
207
+ in the spec for a single request.
208
+ :type _host_index: int, optional
209
+ :return: Returns the result object.
210
+ """ # noqa: E501
211
+
212
+ _param = self._check_cell_version_update_serialize(
213
+ cell=cell, channel=channel, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
214
+ )
215
+
216
+ _response_types_map: Dict[str, Optional[str]] = {
217
+ "200": "str",
218
+ "204": None,
219
+ }
220
+
221
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
222
+ return response_data.response
223
+
224
+ def _check_cell_version_update_serialize(
225
+ self,
226
+ cell,
227
+ channel,
228
+ _request_auth,
229
+ _content_type,
230
+ _headers,
231
+ _host_index,
232
+ ) -> RequestSerialized:
233
+
234
+ _host = None
235
+
236
+ _collection_formats: Dict[str, str] = {}
237
+
238
+ _path_params: Dict[str, str] = {}
239
+ _query_params: List[Tuple[str, str]] = []
240
+ _header_params: Dict[str, Optional[str]] = _headers or {}
241
+ _form_params: List[Tuple[str, str]] = []
242
+ _files: Dict[str, Union[str, bytes]] = {}
243
+ _body_params: Optional[bytes] = None
244
+
245
+ # process the path parameters
246
+ if cell is not None:
247
+ _path_params["cell"] = cell
248
+ # process the query parameters
249
+ if channel is not None:
250
+ _query_params.append(("channel", channel.value))
251
+
252
+ # process the header parameters
253
+ # process the form parameters
254
+ # process the body parameter
255
+
256
+ # set the HTTP header `Accept`
257
+ _header_params["Accept"] = self.api_client.select_header_accept(["text/plain"])
258
+
259
+ # authentication setting
260
+ _auth_settings: List[str] = ["BearerAuth"]
261
+
262
+ return self.api_client.param_serialize(
263
+ method="GET",
264
+ resource_path="/cells/{cell}/update",
265
+ path_params=_path_params,
266
+ query_params=_query_params,
267
+ header_params=_header_params,
268
+ body=_body_params,
269
+ post_params=_form_params,
270
+ files=_files,
271
+ auth_settings=_auth_settings,
272
+ collection_formats=_collection_formats,
273
+ _host=_host,
274
+ _request_auth=_request_auth,
275
+ )
276
+
277
+ @validate_call
278
+ async def delete_cell(
279
+ self,
280
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
281
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
282
+ _request_timeout: Union[
283
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
284
+ ] = None,
285
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
286
+ _content_type: Optional[StrictStr] = None,
287
+ _headers: Optional[Dict[StrictStr, Any]] = None,
288
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
289
+ ) -> None:
290
+ """Delete Cell
291
+
292
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Delete an entire cell.
293
+
294
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
295
+ :type cell: str
296
+ :param completion_timeout:
297
+ :type completion_timeout: int
298
+ :param _request_timeout: timeout setting for this request. If one
299
+ number provided, it will be total request
300
+ timeout. It can also be a pair (tuple) of
301
+ (connection, read) timeouts.
302
+ :type _request_timeout: int, tuple(int, int), optional
303
+ :param _request_auth: set to override the auth_settings for an a single
304
+ request; this effectively ignores the
305
+ authentication in the spec for a single request.
306
+ :type _request_auth: dict, optional
307
+ :param _content_type: force content-type for the request.
308
+ :type _content_type: str, Optional
309
+ :param _headers: set to override the headers for a single
310
+ request; this effectively ignores the headers
311
+ in the spec for a single request.
312
+ :type _headers: dict, optional
313
+ :param _host_index: set to override the host_index for a single
314
+ request; this effectively ignores the host_index
315
+ in the spec for a single request.
316
+ :type _host_index: int, optional
317
+ :return: Returns the result object.
318
+ """ # noqa: E501
319
+
320
+ _param = self._delete_cell_serialize(
321
+ cell=cell,
322
+ completion_timeout=completion_timeout,
323
+ _request_auth=_request_auth,
324
+ _content_type=_content_type,
325
+ _headers=_headers,
326
+ _host_index=_host_index,
327
+ )
328
+
329
+ _response_types_map: Dict[str, Optional[str]] = {
330
+ "200": None,
331
+ "202": None,
332
+ "404": "Error",
333
+ }
334
+
335
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
336
+ await response_data.read()
337
+ return self.api_client.response_deserialize(
338
+ response_data=response_data,
339
+ response_types_map=_response_types_map,
340
+ ).data
341
+
342
+ @validate_call
343
+ async def delete_cell_with_http_info(
344
+ self,
345
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
346
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
347
+ _request_timeout: Union[
348
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
349
+ ] = None,
350
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
351
+ _content_type: Optional[StrictStr] = None,
352
+ _headers: Optional[Dict[StrictStr, Any]] = None,
353
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
354
+ ) -> ApiResponse[None]:
355
+ """Delete Cell
356
+
357
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Delete an entire cell.
358
+
359
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
360
+ :type cell: str
361
+ :param completion_timeout:
362
+ :type completion_timeout: int
363
+ :param _request_timeout: timeout setting for this request. If one
364
+ number provided, it will be total request
365
+ timeout. It can also be a pair (tuple) of
366
+ (connection, read) timeouts.
367
+ :type _request_timeout: int, tuple(int, int), optional
368
+ :param _request_auth: set to override the auth_settings for an a single
369
+ request; this effectively ignores the
370
+ authentication in the spec for a single request.
371
+ :type _request_auth: dict, optional
372
+ :param _content_type: force content-type for the request.
373
+ :type _content_type: str, Optional
374
+ :param _headers: set to override the headers for a single
375
+ request; this effectively ignores the headers
376
+ in the spec for a single request.
377
+ :type _headers: dict, optional
378
+ :param _host_index: set to override the host_index for a single
379
+ request; this effectively ignores the host_index
380
+ in the spec for a single request.
381
+ :type _host_index: int, optional
382
+ :return: Returns the result object.
383
+ """ # noqa: E501
384
+
385
+ _param = self._delete_cell_serialize(
386
+ cell=cell,
387
+ completion_timeout=completion_timeout,
388
+ _request_auth=_request_auth,
389
+ _content_type=_content_type,
390
+ _headers=_headers,
391
+ _host_index=_host_index,
392
+ )
393
+
394
+ _response_types_map: Dict[str, Optional[str]] = {
395
+ "200": None,
396
+ "202": None,
397
+ "404": "Error",
398
+ }
399
+
400
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
401
+ await response_data.read()
402
+ return self.api_client.response_deserialize(
403
+ response_data=response_data,
404
+ response_types_map=_response_types_map,
405
+ )
406
+
407
+ @validate_call
408
+ async def delete_cell_without_preload_content(
409
+ self,
410
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
411
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
412
+ _request_timeout: Union[
413
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
414
+ ] = None,
415
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
416
+ _content_type: Optional[StrictStr] = None,
417
+ _headers: Optional[Dict[StrictStr, Any]] = None,
418
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
419
+ ) -> RESTResponseType:
420
+ """Delete Cell
421
+
422
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Delete an entire cell.
423
+
424
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
425
+ :type cell: str
426
+ :param completion_timeout:
427
+ :type completion_timeout: int
428
+ :param _request_timeout: timeout setting for this request. If one
429
+ number provided, it will be total request
430
+ timeout. It can also be a pair (tuple) of
431
+ (connection, read) timeouts.
432
+ :type _request_timeout: int, tuple(int, int), optional
433
+ :param _request_auth: set to override the auth_settings for an a single
434
+ request; this effectively ignores the
435
+ authentication in the spec for a single request.
436
+ :type _request_auth: dict, optional
437
+ :param _content_type: force content-type for the request.
438
+ :type _content_type: str, Optional
439
+ :param _headers: set to override the headers for a single
440
+ request; this effectively ignores the headers
441
+ in the spec for a single request.
442
+ :type _headers: dict, optional
443
+ :param _host_index: set to override the host_index for a single
444
+ request; this effectively ignores the host_index
445
+ in the spec for a single request.
446
+ :type _host_index: int, optional
447
+ :return: Returns the result object.
448
+ """ # noqa: E501
449
+
450
+ _param = self._delete_cell_serialize(
451
+ cell=cell,
452
+ completion_timeout=completion_timeout,
453
+ _request_auth=_request_auth,
454
+ _content_type=_content_type,
455
+ _headers=_headers,
456
+ _host_index=_host_index,
457
+ )
458
+
459
+ _response_types_map: Dict[str, Optional[str]] = {
460
+ "200": None,
461
+ "202": None,
462
+ "404": "Error",
463
+ }
464
+
465
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
466
+ return response_data.response
467
+
468
+ def _delete_cell_serialize(
469
+ self,
470
+ cell,
471
+ completion_timeout,
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
+ if cell is not None:
491
+ _path_params["cell"] = cell
492
+ # process the query parameters
493
+ if completion_timeout is not None:
494
+ _query_params.append(("completion_timeout", completion_timeout))
495
+
496
+ # process the header parameters
497
+ # process the form parameters
498
+ # process the body parameter
499
+
500
+ # set the HTTP header `Accept`
501
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
502
+
503
+ # authentication setting
504
+ _auth_settings: List[str] = ["BearerAuth"]
505
+
506
+ return self.api_client.param_serialize(
507
+ method="DELETE",
508
+ resource_path="/cells/{cell}",
509
+ path_params=_path_params,
510
+ query_params=_query_params,
511
+ header_params=_header_params,
512
+ body=_body_params,
513
+ post_params=_form_params,
514
+ files=_files,
515
+ auth_settings=_auth_settings,
516
+ collection_formats=_collection_formats,
517
+ _host=_host,
518
+ _request_auth=_request_auth,
519
+ )
520
+
521
+ @validate_call
522
+ async def deploy_cell(
523
+ self,
524
+ cell: Cell,
525
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
526
+ _request_timeout: Union[
527
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
528
+ ] = None,
529
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
530
+ _content_type: Optional[StrictStr] = None,
531
+ _headers: Optional[Dict[StrictStr, Any]] = None,
532
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
533
+ ) -> None:
534
+ """Add Cell
535
+
536
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
537
+
538
+ :param cell: (required)
539
+ :type cell: Cell
540
+ :param completion_timeout:
541
+ :type completion_timeout: int
542
+ :param _request_timeout: timeout setting for this request. If one
543
+ number provided, it will be total request
544
+ timeout. It can also be a pair (tuple) of
545
+ (connection, read) timeouts.
546
+ :type _request_timeout: int, tuple(int, int), optional
547
+ :param _request_auth: set to override the auth_settings for an a single
548
+ request; this effectively ignores the
549
+ authentication in the spec for a single request.
550
+ :type _request_auth: dict, optional
551
+ :param _content_type: force content-type for the request.
552
+ :type _content_type: str, Optional
553
+ :param _headers: set to override the headers for a single
554
+ request; this effectively ignores the headers
555
+ in the spec for a single request.
556
+ :type _headers: dict, optional
557
+ :param _host_index: set to override the host_index for a single
558
+ request; this effectively ignores the host_index
559
+ in the spec for a single request.
560
+ :type _host_index: int, optional
561
+ :return: Returns the result object.
562
+ """ # noqa: E501
563
+
564
+ _param = self._deploy_cell_serialize(
565
+ cell=cell,
566
+ completion_timeout=completion_timeout,
567
+ _request_auth=_request_auth,
568
+ _content_type=_content_type,
569
+ _headers=_headers,
570
+ _host_index=_host_index,
571
+ )
572
+
573
+ _response_types_map: Dict[str, Optional[str]] = {
574
+ "200": None,
575
+ "202": None,
576
+ "403": "Error",
577
+ "409": None,
578
+ }
579
+
580
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
581
+ await response_data.read()
582
+ return self.api_client.response_deserialize(
583
+ response_data=response_data,
584
+ response_types_map=_response_types_map,
585
+ ).data
586
+
587
+ @validate_call
588
+ async def deploy_cell_with_http_info(
589
+ self,
590
+ cell: Cell,
591
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
592
+ _request_timeout: Union[
593
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
594
+ ] = None,
595
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
596
+ _content_type: Optional[StrictStr] = None,
597
+ _headers: Optional[Dict[StrictStr, Any]] = None,
598
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
599
+ ) -> ApiResponse[None]:
600
+ """Add Cell
601
+
602
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
603
+
604
+ :param cell: (required)
605
+ :type cell: Cell
606
+ :param completion_timeout:
607
+ :type completion_timeout: int
608
+ :param _request_timeout: timeout setting for this request. If one
609
+ number provided, it will be total request
610
+ timeout. It can also be a pair (tuple) of
611
+ (connection, read) timeouts.
612
+ :type _request_timeout: int, tuple(int, int), optional
613
+ :param _request_auth: set to override the auth_settings for an a single
614
+ request; this effectively ignores the
615
+ authentication in the spec for a single request.
616
+ :type _request_auth: dict, optional
617
+ :param _content_type: force content-type for the request.
618
+ :type _content_type: str, Optional
619
+ :param _headers: set to override the headers for a single
620
+ request; this effectively ignores the headers
621
+ in the spec for a single request.
622
+ :type _headers: dict, optional
623
+ :param _host_index: set to override the host_index for a single
624
+ request; this effectively ignores the host_index
625
+ in the spec for a single request.
626
+ :type _host_index: int, optional
627
+ :return: Returns the result object.
628
+ """ # noqa: E501
629
+
630
+ _param = self._deploy_cell_serialize(
631
+ cell=cell,
632
+ completion_timeout=completion_timeout,
633
+ _request_auth=_request_auth,
634
+ _content_type=_content_type,
635
+ _headers=_headers,
636
+ _host_index=_host_index,
637
+ )
638
+
639
+ _response_types_map: Dict[str, Optional[str]] = {
640
+ "200": None,
641
+ "202": None,
642
+ "403": "Error",
643
+ "409": None,
644
+ }
645
+
646
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
647
+ await response_data.read()
648
+ return self.api_client.response_deserialize(
649
+ response_data=response_data,
650
+ response_types_map=_response_types_map,
651
+ )
652
+
653
+ @validate_call
654
+ async def deploy_cell_without_preload_content(
655
+ self,
656
+ cell: Cell,
657
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
658
+ _request_timeout: Union[
659
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
660
+ ] = None,
661
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
662
+ _content_type: Optional[StrictStr] = None,
663
+ _headers: Optional[Dict[StrictStr, Any]] = None,
664
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
665
+ ) -> RESTResponseType:
666
+ """Add Cell
667
+
668
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
669
+
670
+ :param cell: (required)
671
+ :type cell: Cell
672
+ :param completion_timeout:
673
+ :type completion_timeout: int
674
+ :param _request_timeout: timeout setting for this request. If one
675
+ number provided, it will be total request
676
+ timeout. It can also be a pair (tuple) of
677
+ (connection, read) timeouts.
678
+ :type _request_timeout: int, tuple(int, int), optional
679
+ :param _request_auth: set to override the auth_settings for an a single
680
+ request; this effectively ignores the
681
+ authentication in the spec for a single request.
682
+ :type _request_auth: dict, optional
683
+ :param _content_type: force content-type for the request.
684
+ :type _content_type: str, Optional
685
+ :param _headers: set to override the headers for a single
686
+ request; this effectively ignores the headers
687
+ in the spec for a single request.
688
+ :type _headers: dict, optional
689
+ :param _host_index: set to override the host_index for a single
690
+ request; this effectively ignores the host_index
691
+ in the spec for a single request.
692
+ :type _host_index: int, optional
693
+ :return: Returns the result object.
694
+ """ # noqa: E501
695
+
696
+ _param = self._deploy_cell_serialize(
697
+ cell=cell,
698
+ completion_timeout=completion_timeout,
699
+ _request_auth=_request_auth,
700
+ _content_type=_content_type,
701
+ _headers=_headers,
702
+ _host_index=_host_index,
703
+ )
704
+
705
+ _response_types_map: Dict[str, Optional[str]] = {
706
+ "200": None,
707
+ "202": None,
708
+ "403": "Error",
709
+ "409": None,
710
+ }
711
+
712
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
713
+ return response_data.response
714
+
715
+ def _deploy_cell_serialize(
716
+ self,
717
+ cell,
718
+ completion_timeout,
719
+ _request_auth,
720
+ _content_type,
721
+ _headers,
722
+ _host_index,
723
+ ) -> RequestSerialized:
724
+
725
+ _host = None
726
+
727
+ _collection_formats: Dict[str, str] = {}
728
+
729
+ _path_params: Dict[str, str] = {}
730
+ _query_params: List[Tuple[str, str]] = []
731
+ _header_params: Dict[str, Optional[str]] = _headers or {}
732
+ _form_params: List[Tuple[str, str]] = []
733
+ _files: Dict[str, Union[str, bytes]] = {}
734
+ _body_params: Optional[bytes] = None
735
+
736
+ # process the path parameters
737
+ # process the query parameters
738
+ if completion_timeout is not None:
739
+ _query_params.append(("completion_timeout", completion_timeout))
740
+
741
+ # process the header parameters
742
+ # process the form parameters
743
+ # process the body parameter
744
+ if cell is not None:
745
+ _body_params = cell
746
+
747
+ # set the HTTP header `Accept`
748
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
749
+
750
+ # set the HTTP header `Content-Type`
751
+ if _content_type:
752
+ _header_params["Content-Type"] = _content_type
753
+ else:
754
+ _default_content_type = self.api_client.select_header_content_type(["application/json"])
755
+ if _default_content_type is not None:
756
+ _header_params["Content-Type"] = _default_content_type
757
+
758
+ # authentication setting
759
+ _auth_settings: List[str] = ["BearerAuth"]
760
+
761
+ return self.api_client.param_serialize(
762
+ method="POST",
763
+ resource_path="/cells",
764
+ path_params=_path_params,
765
+ query_params=_query_params,
766
+ header_params=_header_params,
767
+ body=_body_params,
768
+ post_params=_form_params,
769
+ files=_files,
770
+ auth_settings=_auth_settings,
771
+ collection_formats=_collection_formats,
772
+ _host=_host,
773
+ _request_auth=_request_auth,
774
+ )
775
+
776
+ @validate_call
777
+ async def get_cell(
778
+ self,
779
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
780
+ _request_timeout: Union[
781
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
782
+ ] = None,
783
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
784
+ _content_type: Optional[StrictStr] = None,
785
+ _headers: Optional[Dict[StrictStr, Any]] = None,
786
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
787
+ ) -> Cell:
788
+ """Configuration
789
+
790
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all cell resources.
791
+
792
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
793
+ :type cell: str
794
+ :param _request_timeout: timeout setting for this request. If one
795
+ number provided, it will be total request
796
+ timeout. It can also be a pair (tuple) of
797
+ (connection, read) timeouts.
798
+ :type _request_timeout: int, tuple(int, int), optional
799
+ :param _request_auth: set to override the auth_settings for an a single
800
+ request; this effectively ignores the
801
+ authentication in the spec for a single request.
802
+ :type _request_auth: dict, optional
803
+ :param _content_type: force content-type for the request.
804
+ :type _content_type: str, Optional
805
+ :param _headers: set to override the headers for a single
806
+ request; this effectively ignores the headers
807
+ in the spec for a single request.
808
+ :type _headers: dict, optional
809
+ :param _host_index: set to override the host_index for a single
810
+ request; this effectively ignores the host_index
811
+ in the spec for a single request.
812
+ :type _host_index: int, optional
813
+ :return: Returns the result object.
814
+ """ # noqa: E501
815
+
816
+ _param = self._get_cell_serialize(
817
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
818
+ )
819
+
820
+ _response_types_map: Dict[str, Optional[str]] = {
821
+ "200": "Cell",
822
+ "404": "Error",
823
+ }
824
+
825
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
826
+ await response_data.read()
827
+ return self.api_client.response_deserialize(
828
+ response_data=response_data,
829
+ response_types_map=_response_types_map,
830
+ ).data
831
+
832
+ @validate_call
833
+ async def get_cell_with_http_info(
834
+ self,
835
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
836
+ _request_timeout: Union[
837
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
838
+ ] = None,
839
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
840
+ _content_type: Optional[StrictStr] = None,
841
+ _headers: Optional[Dict[StrictStr, Any]] = None,
842
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
843
+ ) -> ApiResponse[Cell]:
844
+ """Configuration
845
+
846
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all cell resources.
847
+
848
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
849
+ :type cell: str
850
+ :param _request_timeout: timeout setting for this request. If one
851
+ number provided, it will be total request
852
+ timeout. It can also be a pair (tuple) of
853
+ (connection, read) timeouts.
854
+ :type _request_timeout: int, tuple(int, int), optional
855
+ :param _request_auth: set to override the auth_settings for an a single
856
+ request; this effectively ignores the
857
+ authentication in the spec for a single request.
858
+ :type _request_auth: dict, optional
859
+ :param _content_type: force content-type for the request.
860
+ :type _content_type: str, Optional
861
+ :param _headers: set to override the headers for a single
862
+ request; this effectively ignores the headers
863
+ in the spec for a single request.
864
+ :type _headers: dict, optional
865
+ :param _host_index: set to override the host_index for a single
866
+ request; this effectively ignores the host_index
867
+ in the spec for a single request.
868
+ :type _host_index: int, optional
869
+ :return: Returns the result object.
870
+ """ # noqa: E501
871
+
872
+ _param = self._get_cell_serialize(
873
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
874
+ )
875
+
876
+ _response_types_map: Dict[str, Optional[str]] = {
877
+ "200": "Cell",
878
+ "404": "Error",
879
+ }
880
+
881
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
882
+ await response_data.read()
883
+ return self.api_client.response_deserialize(
884
+ response_data=response_data,
885
+ response_types_map=_response_types_map,
886
+ )
887
+
888
+ @validate_call
889
+ async def get_cell_without_preload_content(
890
+ self,
891
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
892
+ _request_timeout: Union[
893
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
894
+ ] = None,
895
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
896
+ _content_type: Optional[StrictStr] = None,
897
+ _headers: Optional[Dict[StrictStr, Any]] = None,
898
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
899
+ ) -> RESTResponseType:
900
+ """Configuration
901
+
902
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all cell resources.
903
+
904
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
905
+ :type cell: str
906
+ :param _request_timeout: timeout setting for this request. If one
907
+ number provided, it will be total request
908
+ timeout. It can also be a pair (tuple) of
909
+ (connection, read) timeouts.
910
+ :type _request_timeout: int, tuple(int, int), optional
911
+ :param _request_auth: set to override the auth_settings for an a single
912
+ request; this effectively ignores the
913
+ authentication in the spec for a single request.
914
+ :type _request_auth: dict, optional
915
+ :param _content_type: force content-type for the request.
916
+ :type _content_type: str, Optional
917
+ :param _headers: set to override the headers for a single
918
+ request; this effectively ignores the headers
919
+ in the spec for a single request.
920
+ :type _headers: dict, optional
921
+ :param _host_index: set to override the host_index for a single
922
+ request; this effectively ignores the host_index
923
+ in the spec for a single request.
924
+ :type _host_index: int, optional
925
+ :return: Returns the result object.
926
+ """ # noqa: E501
927
+
928
+ _param = self._get_cell_serialize(
929
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
930
+ )
931
+
932
+ _response_types_map: Dict[str, Optional[str]] = {
933
+ "200": "Cell",
934
+ "404": "Error",
935
+ }
936
+
937
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
938
+ return response_data.response
939
+
940
+ def _get_cell_serialize(
941
+ self,
942
+ cell,
943
+ _request_auth,
944
+ _content_type,
945
+ _headers,
946
+ _host_index,
947
+ ) -> RequestSerialized:
948
+
949
+ _host = None
950
+
951
+ _collection_formats: Dict[str, str] = {}
952
+
953
+ _path_params: Dict[str, str] = {}
954
+ _query_params: List[Tuple[str, str]] = []
955
+ _header_params: Dict[str, Optional[str]] = _headers or {}
956
+ _form_params: List[Tuple[str, str]] = []
957
+ _files: Dict[str, Union[str, bytes]] = {}
958
+ _body_params: Optional[bytes] = None
959
+
960
+ # process the path parameters
961
+ if cell is not None:
962
+ _path_params["cell"] = cell
963
+ # process the query parameters
964
+ # process the header parameters
965
+ # process the form parameters
966
+ # process the body parameter
967
+
968
+ # set the HTTP header `Accept`
969
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
970
+
971
+ # authentication setting
972
+ _auth_settings: List[str] = ["BearerAuth"]
973
+
974
+ return self.api_client.param_serialize(
975
+ method="GET",
976
+ resource_path="/cells/{cell}",
977
+ path_params=_path_params,
978
+ query_params=_query_params,
979
+ header_params=_header_params,
980
+ body=_body_params,
981
+ post_params=_form_params,
982
+ files=_files,
983
+ auth_settings=_auth_settings,
984
+ collection_formats=_collection_formats,
985
+ _host=_host,
986
+ _request_auth=_request_auth,
987
+ )
988
+
989
+ @validate_call
990
+ async def get_cell_status(
991
+ self,
992
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
993
+ _request_timeout: Union[
994
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
995
+ ] = None,
996
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
997
+ _content_type: Optional[StrictStr] = None,
998
+ _headers: Optional[Dict[StrictStr, Any]] = None,
999
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1000
+ ) -> ServiceStatusResponse:
1001
+ """Service Status
1002
+
1003
+ **Required permissions:** `can_access_system` - View system status and metadata ___ List the status of all cell resources.
1004
+
1005
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1006
+ :type cell: str
1007
+ :param _request_timeout: timeout setting for this request. If one
1008
+ number provided, it will be total request
1009
+ timeout. It can also be a pair (tuple) of
1010
+ (connection, read) timeouts.
1011
+ :type _request_timeout: int, tuple(int, int), optional
1012
+ :param _request_auth: set to override the auth_settings for an a single
1013
+ request; this effectively ignores the
1014
+ authentication in the spec for a single request.
1015
+ :type _request_auth: dict, optional
1016
+ :param _content_type: force content-type for the request.
1017
+ :type _content_type: str, Optional
1018
+ :param _headers: set to override the headers for a single
1019
+ request; this effectively ignores the headers
1020
+ in the spec for a single request.
1021
+ :type _headers: dict, optional
1022
+ :param _host_index: set to override the host_index for a single
1023
+ request; this effectively ignores the host_index
1024
+ in the spec for a single request.
1025
+ :type _host_index: int, optional
1026
+ :return: Returns the result object.
1027
+ """ # noqa: E501
1028
+
1029
+ _param = self._get_cell_status_serialize(
1030
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1031
+ )
1032
+
1033
+ _response_types_map: Dict[str, Optional[str]] = {
1034
+ "200": "ServiceStatusResponse",
1035
+ "404": "Error",
1036
+ }
1037
+
1038
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1039
+ await response_data.read()
1040
+ return self.api_client.response_deserialize(
1041
+ response_data=response_data,
1042
+ response_types_map=_response_types_map,
1043
+ ).data
1044
+
1045
+ @validate_call
1046
+ async def get_cell_status_with_http_info(
1047
+ self,
1048
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
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[ServiceStatusResponse]:
1057
+ """Service Status
1058
+
1059
+ **Required permissions:** `can_access_system` - View system status and metadata ___ List the status of all cell resources.
1060
+
1061
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1062
+ :type cell: str
1063
+ :param _request_timeout: timeout setting for this request. If one
1064
+ number provided, it will be total request
1065
+ timeout. It can also be a pair (tuple) of
1066
+ (connection, read) timeouts.
1067
+ :type _request_timeout: int, tuple(int, int), optional
1068
+ :param _request_auth: set to override the auth_settings for an a single
1069
+ request; this effectively ignores the
1070
+ authentication in the spec for a single request.
1071
+ :type _request_auth: dict, optional
1072
+ :param _content_type: force content-type for the request.
1073
+ :type _content_type: str, Optional
1074
+ :param _headers: set to override the headers for a single
1075
+ request; this effectively ignores the headers
1076
+ in the spec for a single request.
1077
+ :type _headers: dict, optional
1078
+ :param _host_index: set to override the host_index for a single
1079
+ request; this effectively ignores the host_index
1080
+ in the spec for a single request.
1081
+ :type _host_index: int, optional
1082
+ :return: Returns the result object.
1083
+ """ # noqa: E501
1084
+
1085
+ _param = self._get_cell_status_serialize(
1086
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1087
+ )
1088
+
1089
+ _response_types_map: Dict[str, Optional[str]] = {
1090
+ "200": "ServiceStatusResponse",
1091
+ "404": "Error",
1092
+ }
1093
+
1094
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1095
+ await response_data.read()
1096
+ return self.api_client.response_deserialize(
1097
+ response_data=response_data,
1098
+ response_types_map=_response_types_map,
1099
+ )
1100
+
1101
+ @validate_call
1102
+ async def get_cell_status_without_preload_content(
1103
+ self,
1104
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1105
+ _request_timeout: Union[
1106
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1107
+ ] = None,
1108
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1109
+ _content_type: Optional[StrictStr] = None,
1110
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1111
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1112
+ ) -> RESTResponseType:
1113
+ """Service Status
1114
+
1115
+ **Required permissions:** `can_access_system` - View system status and metadata ___ List the status of all cell resources.
1116
+
1117
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1118
+ :type cell: str
1119
+ :param _request_timeout: timeout setting for this request. If one
1120
+ number provided, it will be total request
1121
+ timeout. It can also be a pair (tuple) of
1122
+ (connection, read) timeouts.
1123
+ :type _request_timeout: int, tuple(int, int), optional
1124
+ :param _request_auth: set to override the auth_settings for an a single
1125
+ request; this effectively ignores the
1126
+ authentication in the spec for a single request.
1127
+ :type _request_auth: dict, optional
1128
+ :param _content_type: force content-type for the request.
1129
+ :type _content_type: str, Optional
1130
+ :param _headers: set to override the headers for a single
1131
+ request; this effectively ignores the headers
1132
+ in the spec for a single request.
1133
+ :type _headers: dict, optional
1134
+ :param _host_index: set to override the host_index for a single
1135
+ request; this effectively ignores the host_index
1136
+ in the spec for a single request.
1137
+ :type _host_index: int, optional
1138
+ :return: Returns the result object.
1139
+ """ # noqa: E501
1140
+
1141
+ _param = self._get_cell_status_serialize(
1142
+ cell=cell, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1143
+ )
1144
+
1145
+ _response_types_map: Dict[str, Optional[str]] = {
1146
+ "200": "ServiceStatusResponse",
1147
+ "404": "Error",
1148
+ }
1149
+
1150
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1151
+ return response_data.response
1152
+
1153
+ def _get_cell_status_serialize(
1154
+ self,
1155
+ cell,
1156
+ _request_auth,
1157
+ _content_type,
1158
+ _headers,
1159
+ _host_index,
1160
+ ) -> RequestSerialized:
1161
+
1162
+ _host = None
1163
+
1164
+ _collection_formats: Dict[str, str] = {}
1165
+
1166
+ _path_params: Dict[str, str] = {}
1167
+ _query_params: List[Tuple[str, str]] = []
1168
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1169
+ _form_params: List[Tuple[str, str]] = []
1170
+ _files: Dict[str, Union[str, bytes]] = {}
1171
+ _body_params: Optional[bytes] = None
1172
+
1173
+ # process the path parameters
1174
+ if cell is not None:
1175
+ _path_params["cell"] = cell
1176
+ # process the query parameters
1177
+ # process the header parameters
1178
+ # process the form parameters
1179
+ # process the body parameter
1180
+
1181
+ # set the HTTP header `Accept`
1182
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1183
+
1184
+ # authentication setting
1185
+ _auth_settings: List[str] = ["BearerAuth"]
1186
+
1187
+ return self.api_client.param_serialize(
1188
+ method="GET",
1189
+ resource_path="/cells/{cell}/status",
1190
+ path_params=_path_params,
1191
+ query_params=_query_params,
1192
+ header_params=_header_params,
1193
+ body=_body_params,
1194
+ post_params=_form_params,
1195
+ files=_files,
1196
+ auth_settings=_auth_settings,
1197
+ collection_formats=_collection_formats,
1198
+ _host=_host,
1199
+ _request_auth=_request_auth,
1200
+ )
1201
+
1202
+ @validate_call
1203
+ async def list_cells(
1204
+ self,
1205
+ _request_timeout: Union[
1206
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1207
+ ] = None,
1208
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1209
+ _content_type: Optional[StrictStr] = None,
1210
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1211
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1212
+ ) -> List[str]:
1213
+ """List Cells
1214
+
1215
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all deployed cell names. If no cells are deployed, an empty list is returned.
1216
+
1217
+ :param _request_timeout: timeout setting for this request. If one
1218
+ number provided, it will be total request
1219
+ timeout. It can also be a pair (tuple) of
1220
+ (connection, read) timeouts.
1221
+ :type _request_timeout: int, tuple(int, int), optional
1222
+ :param _request_auth: set to override the auth_settings for an a single
1223
+ request; this effectively ignores the
1224
+ authentication in the spec for a single request.
1225
+ :type _request_auth: dict, optional
1226
+ :param _content_type: force content-type for the request.
1227
+ :type _content_type: str, Optional
1228
+ :param _headers: set to override the headers for a single
1229
+ request; this effectively ignores the headers
1230
+ in the spec for a single request.
1231
+ :type _headers: dict, optional
1232
+ :param _host_index: set to override the host_index for a single
1233
+ request; this effectively ignores the host_index
1234
+ in the spec for a single request.
1235
+ :type _host_index: int, optional
1236
+ :return: Returns the result object.
1237
+ """ # noqa: E501
1238
+
1239
+ _param = self._list_cells_serialize(
1240
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1241
+ )
1242
+
1243
+ _response_types_map: Dict[str, Optional[str]] = {
1244
+ "200": "List[str]",
1245
+ }
1246
+
1247
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1248
+ await response_data.read()
1249
+ return self.api_client.response_deserialize(
1250
+ response_data=response_data,
1251
+ response_types_map=_response_types_map,
1252
+ ).data
1253
+
1254
+ @validate_call
1255
+ async def list_cells_with_http_info(
1256
+ self,
1257
+ _request_timeout: Union[
1258
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1259
+ ] = None,
1260
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1261
+ _content_type: Optional[StrictStr] = None,
1262
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1263
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1264
+ ) -> ApiResponse[List[str]]:
1265
+ """List Cells
1266
+
1267
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all deployed cell names. If no cells are deployed, an empty list is returned.
1268
+
1269
+ :param _request_timeout: timeout setting for this request. If one
1270
+ number provided, it will be total request
1271
+ timeout. It can also be a pair (tuple) of
1272
+ (connection, read) timeouts.
1273
+ :type _request_timeout: int, tuple(int, int), optional
1274
+ :param _request_auth: set to override the auth_settings for an a single
1275
+ request; this effectively ignores the
1276
+ authentication in the spec for a single request.
1277
+ :type _request_auth: dict, optional
1278
+ :param _content_type: force content-type for the request.
1279
+ :type _content_type: str, Optional
1280
+ :param _headers: set to override the headers for a single
1281
+ request; this effectively ignores the headers
1282
+ in the spec for a single request.
1283
+ :type _headers: dict, optional
1284
+ :param _host_index: set to override the host_index for a single
1285
+ request; this effectively ignores the host_index
1286
+ in the spec for a single request.
1287
+ :type _host_index: int, optional
1288
+ :return: Returns the result object.
1289
+ """ # noqa: E501
1290
+
1291
+ _param = self._list_cells_serialize(
1292
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1293
+ )
1294
+
1295
+ _response_types_map: Dict[str, Optional[str]] = {
1296
+ "200": "List[str]",
1297
+ }
1298
+
1299
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1300
+ await response_data.read()
1301
+ return self.api_client.response_deserialize(
1302
+ response_data=response_data,
1303
+ response_types_map=_response_types_map,
1304
+ )
1305
+
1306
+ @validate_call
1307
+ async def list_cells_without_preload_content(
1308
+ self,
1309
+ _request_timeout: Union[
1310
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1311
+ ] = None,
1312
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1313
+ _content_type: Optional[StrictStr] = None,
1314
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1315
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1316
+ ) -> RESTResponseType:
1317
+ """List Cells
1318
+
1319
+ **Required permissions:** `can_access_cells` - View cell configurations and resources ___ List all deployed cell names. If no cells are deployed, an empty list is returned.
1320
+
1321
+ :param _request_timeout: timeout setting for this request. If one
1322
+ number provided, it will be total request
1323
+ timeout. It can also be a pair (tuple) of
1324
+ (connection, read) timeouts.
1325
+ :type _request_timeout: int, tuple(int, int), optional
1326
+ :param _request_auth: set to override the auth_settings for an a single
1327
+ request; this effectively ignores the
1328
+ authentication in the spec for a single request.
1329
+ :type _request_auth: dict, optional
1330
+ :param _content_type: force content-type for the request.
1331
+ :type _content_type: str, Optional
1332
+ :param _headers: set to override the headers for a single
1333
+ request; this effectively ignores the headers
1334
+ in the spec for a single request.
1335
+ :type _headers: dict, optional
1336
+ :param _host_index: set to override the host_index for a single
1337
+ request; this effectively ignores the host_index
1338
+ in the spec for a single request.
1339
+ :type _host_index: int, optional
1340
+ :return: Returns the result object.
1341
+ """ # noqa: E501
1342
+
1343
+ _param = self._list_cells_serialize(
1344
+ _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, _host_index=_host_index
1345
+ )
1346
+
1347
+ _response_types_map: Dict[str, Optional[str]] = {
1348
+ "200": "List[str]",
1349
+ }
1350
+
1351
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1352
+ return response_data.response
1353
+
1354
+ def _list_cells_serialize(
1355
+ self,
1356
+ _request_auth,
1357
+ _content_type,
1358
+ _headers,
1359
+ _host_index,
1360
+ ) -> RequestSerialized:
1361
+
1362
+ _host = None
1363
+
1364
+ _collection_formats: Dict[str, str] = {}
1365
+
1366
+ _path_params: Dict[str, str] = {}
1367
+ _query_params: List[Tuple[str, str]] = []
1368
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1369
+ _form_params: List[Tuple[str, str]] = []
1370
+ _files: Dict[str, Union[str, bytes]] = {}
1371
+ _body_params: Optional[bytes] = None
1372
+
1373
+ # process the path parameters
1374
+ # process the query parameters
1375
+ # process the header parameters
1376
+ # process the form parameters
1377
+ # process the body parameter
1378
+
1379
+ # set the HTTP header `Accept`
1380
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1381
+
1382
+ # authentication setting
1383
+ _auth_settings: List[str] = ["BearerAuth"]
1384
+
1385
+ return self.api_client.param_serialize(
1386
+ method="GET",
1387
+ resource_path="/cells",
1388
+ path_params=_path_params,
1389
+ query_params=_query_params,
1390
+ header_params=_header_params,
1391
+ body=_body_params,
1392
+ post_params=_form_params,
1393
+ files=_files,
1394
+ auth_settings=_auth_settings,
1395
+ collection_formats=_collection_formats,
1396
+ _host=_host,
1397
+ _request_auth=_request_auth,
1398
+ )
1399
+
1400
+ @validate_call
1401
+ async def set_cell_status(
1402
+ self,
1403
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1404
+ operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
1405
+ _request_timeout: Union[
1406
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1407
+ ] = None,
1408
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1409
+ _content_type: Optional[StrictStr] = None,
1410
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1411
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1412
+ ) -> None:
1413
+ """Operating State
1414
+
1415
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deactivate or activate the services of a cell.
1416
+
1417
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1418
+ :type cell: str
1419
+ :param operating_state: Set state of the cell. Active or inactive. (required)
1420
+ :type operating_state: OperatingState
1421
+ :param _request_timeout: timeout setting for this request. If one
1422
+ number provided, it will be total request
1423
+ timeout. It can also be a pair (tuple) of
1424
+ (connection, read) timeouts.
1425
+ :type _request_timeout: int, tuple(int, int), optional
1426
+ :param _request_auth: set to override the auth_settings for an a single
1427
+ request; this effectively ignores the
1428
+ authentication in the spec for a single request.
1429
+ :type _request_auth: dict, optional
1430
+ :param _content_type: force content-type for the request.
1431
+ :type _content_type: str, Optional
1432
+ :param _headers: set to override the headers for a single
1433
+ request; this effectively ignores the headers
1434
+ in the spec for a single request.
1435
+ :type _headers: dict, optional
1436
+ :param _host_index: set to override the host_index for a single
1437
+ request; this effectively ignores the host_index
1438
+ in the spec for a single request.
1439
+ :type _host_index: int, optional
1440
+ :return: Returns the result object.
1441
+ """ # noqa: E501
1442
+
1443
+ _param = self._set_cell_status_serialize(
1444
+ cell=cell,
1445
+ operating_state=operating_state,
1446
+ _request_auth=_request_auth,
1447
+ _content_type=_content_type,
1448
+ _headers=_headers,
1449
+ _host_index=_host_index,
1450
+ )
1451
+
1452
+ _response_types_map: Dict[str, Optional[str]] = {
1453
+ "202": None,
1454
+ "404": "Error",
1455
+ }
1456
+
1457
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1458
+ await response_data.read()
1459
+ return self.api_client.response_deserialize(
1460
+ response_data=response_data,
1461
+ response_types_map=_response_types_map,
1462
+ ).data
1463
+
1464
+ @validate_call
1465
+ async def set_cell_status_with_http_info(
1466
+ self,
1467
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1468
+ operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
1469
+ _request_timeout: Union[
1470
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1471
+ ] = None,
1472
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1473
+ _content_type: Optional[StrictStr] = None,
1474
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1475
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1476
+ ) -> ApiResponse[None]:
1477
+ """Operating State
1478
+
1479
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deactivate or activate the services of a cell.
1480
+
1481
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1482
+ :type cell: str
1483
+ :param operating_state: Set state of the cell. Active or inactive. (required)
1484
+ :type operating_state: OperatingState
1485
+ :param _request_timeout: timeout setting for this request. If one
1486
+ number provided, it will be total request
1487
+ timeout. It can also be a pair (tuple) of
1488
+ (connection, read) timeouts.
1489
+ :type _request_timeout: int, tuple(int, int), optional
1490
+ :param _request_auth: set to override the auth_settings for an a single
1491
+ request; this effectively ignores the
1492
+ authentication in the spec for a single request.
1493
+ :type _request_auth: dict, optional
1494
+ :param _content_type: force content-type for the request.
1495
+ :type _content_type: str, Optional
1496
+ :param _headers: set to override the headers for a single
1497
+ request; this effectively ignores the headers
1498
+ in the spec for a single request.
1499
+ :type _headers: dict, optional
1500
+ :param _host_index: set to override the host_index for a single
1501
+ request; this effectively ignores the host_index
1502
+ in the spec for a single request.
1503
+ :type _host_index: int, optional
1504
+ :return: Returns the result object.
1505
+ """ # noqa: E501
1506
+
1507
+ _param = self._set_cell_status_serialize(
1508
+ cell=cell,
1509
+ operating_state=operating_state,
1510
+ _request_auth=_request_auth,
1511
+ _content_type=_content_type,
1512
+ _headers=_headers,
1513
+ _host_index=_host_index,
1514
+ )
1515
+
1516
+ _response_types_map: Dict[str, Optional[str]] = {
1517
+ "202": None,
1518
+ "404": "Error",
1519
+ }
1520
+
1521
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1522
+ await response_data.read()
1523
+ return self.api_client.response_deserialize(
1524
+ response_data=response_data,
1525
+ response_types_map=_response_types_map,
1526
+ )
1527
+
1528
+ @validate_call
1529
+ async def set_cell_status_without_preload_content(
1530
+ self,
1531
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1532
+ operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
1533
+ _request_timeout: Union[
1534
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1535
+ ] = None,
1536
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1537
+ _content_type: Optional[StrictStr] = None,
1538
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1539
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1540
+ ) -> RESTResponseType:
1541
+ """Operating State
1542
+
1543
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Deactivate or activate the services of a cell.
1544
+
1545
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1546
+ :type cell: str
1547
+ :param operating_state: Set state of the cell. Active or inactive. (required)
1548
+ :type operating_state: OperatingState
1549
+ :param _request_timeout: timeout setting for this request. If one
1550
+ number provided, it will be total request
1551
+ timeout. It can also be a pair (tuple) of
1552
+ (connection, read) timeouts.
1553
+ :type _request_timeout: int, tuple(int, int), optional
1554
+ :param _request_auth: set to override the auth_settings for an a single
1555
+ request; this effectively ignores the
1556
+ authentication in the spec for a single request.
1557
+ :type _request_auth: dict, optional
1558
+ :param _content_type: force content-type for the request.
1559
+ :type _content_type: str, Optional
1560
+ :param _headers: set to override the headers for a single
1561
+ request; this effectively ignores the headers
1562
+ in the spec for a single request.
1563
+ :type _headers: dict, optional
1564
+ :param _host_index: set to override the host_index for a single
1565
+ request; this effectively ignores the host_index
1566
+ in the spec for a single request.
1567
+ :type _host_index: int, optional
1568
+ :return: Returns the result object.
1569
+ """ # noqa: E501
1570
+
1571
+ _param = self._set_cell_status_serialize(
1572
+ cell=cell,
1573
+ operating_state=operating_state,
1574
+ _request_auth=_request_auth,
1575
+ _content_type=_content_type,
1576
+ _headers=_headers,
1577
+ _host_index=_host_index,
1578
+ )
1579
+
1580
+ _response_types_map: Dict[str, Optional[str]] = {
1581
+ "202": None,
1582
+ "404": "Error",
1583
+ }
1584
+
1585
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1586
+ return response_data.response
1587
+
1588
+ def _set_cell_status_serialize(
1589
+ self,
1590
+ cell,
1591
+ operating_state,
1592
+ _request_auth,
1593
+ _content_type,
1594
+ _headers,
1595
+ _host_index,
1596
+ ) -> RequestSerialized:
1597
+
1598
+ _host = None
1599
+
1600
+ _collection_formats: Dict[str, str] = {}
1601
+
1602
+ _path_params: Dict[str, str] = {}
1603
+ _query_params: List[Tuple[str, str]] = []
1604
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1605
+ _form_params: List[Tuple[str, str]] = []
1606
+ _files: Dict[str, Union[str, bytes]] = {}
1607
+ _body_params: Optional[bytes] = None
1608
+
1609
+ # process the path parameters
1610
+ if cell is not None:
1611
+ _path_params["cell"] = cell
1612
+ # process the query parameters
1613
+ if operating_state is not None:
1614
+ _query_params.append(("operating_state", operating_state.value))
1615
+
1616
+ # process the header parameters
1617
+ # process the form parameters
1618
+ # process the body parameter
1619
+
1620
+ # set the HTTP header `Accept`
1621
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1622
+
1623
+ # authentication setting
1624
+ _auth_settings: List[str] = ["BearerAuth"]
1625
+
1626
+ return self.api_client.param_serialize(
1627
+ method="PUT",
1628
+ resource_path="/cells/{cell}/status",
1629
+ path_params=_path_params,
1630
+ query_params=_query_params,
1631
+ header_params=_header_params,
1632
+ body=_body_params,
1633
+ post_params=_form_params,
1634
+ files=_files,
1635
+ auth_settings=_auth_settings,
1636
+ collection_formats=_collection_formats,
1637
+ _host=_host,
1638
+ _request_auth=_request_auth,
1639
+ )
1640
+
1641
+ @validate_call
1642
+ async def update_cell(
1643
+ self,
1644
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1645
+ cell2: Cell,
1646
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
1647
+ _request_timeout: Union[
1648
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1649
+ ] = None,
1650
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1651
+ _content_type: Optional[StrictStr] = None,
1652
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1653
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1654
+ ) -> None:
1655
+ """Update Configuration
1656
+
1657
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the definition of the entire cell. <!-- theme: info --> > **NOTE** > > This endpoint replaces the full cell configuration and is not a partial update. > To change only one field: > 1. Get the current configuration via [Cell > Configuration](#/operations/getCell). > 2. Send the full configuration with your intended changes via [Cell > Update Configuration](#/operations/updateCell). Omitting existing sections may reset or remove their current configuration.
1658
+
1659
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1660
+ :type cell: str
1661
+ :param cell2: (required)
1662
+ :type cell2: Cell
1663
+ :param completion_timeout:
1664
+ :type completion_timeout: int
1665
+ :param _request_timeout: timeout setting for this request. If one
1666
+ number provided, it will be total request
1667
+ timeout. It can also be a pair (tuple) of
1668
+ (connection, read) timeouts.
1669
+ :type _request_timeout: int, tuple(int, int), optional
1670
+ :param _request_auth: set to override the auth_settings for an a single
1671
+ request; this effectively ignores the
1672
+ authentication in the spec for a single request.
1673
+ :type _request_auth: dict, optional
1674
+ :param _content_type: force content-type for the request.
1675
+ :type _content_type: str, Optional
1676
+ :param _headers: set to override the headers for a single
1677
+ request; this effectively ignores the headers
1678
+ in the spec for a single request.
1679
+ :type _headers: dict, optional
1680
+ :param _host_index: set to override the host_index for a single
1681
+ request; this effectively ignores the host_index
1682
+ in the spec for a single request.
1683
+ :type _host_index: int, optional
1684
+ :return: Returns the result object.
1685
+ """ # noqa: E501
1686
+
1687
+ _param = self._update_cell_serialize(
1688
+ cell=cell,
1689
+ cell2=cell2,
1690
+ completion_timeout=completion_timeout,
1691
+ _request_auth=_request_auth,
1692
+ _content_type=_content_type,
1693
+ _headers=_headers,
1694
+ _host_index=_host_index,
1695
+ )
1696
+
1697
+ _response_types_map: Dict[str, Optional[str]] = {
1698
+ "200": None,
1699
+ "202": None,
1700
+ "400": "Error",
1701
+ "403": "Error",
1702
+ "404": "Error",
1703
+ }
1704
+
1705
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1706
+ await response_data.read()
1707
+ return self.api_client.response_deserialize(
1708
+ response_data=response_data,
1709
+ response_types_map=_response_types_map,
1710
+ ).data
1711
+
1712
+ @validate_call
1713
+ async def update_cell_with_http_info(
1714
+ self,
1715
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1716
+ cell2: Cell,
1717
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
1718
+ _request_timeout: Union[
1719
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1720
+ ] = None,
1721
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1722
+ _content_type: Optional[StrictStr] = None,
1723
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1724
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1725
+ ) -> ApiResponse[None]:
1726
+ """Update Configuration
1727
+
1728
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the definition of the entire cell. <!-- theme: info --> > **NOTE** > > This endpoint replaces the full cell configuration and is not a partial update. > To change only one field: > 1. Get the current configuration via [Cell > Configuration](#/operations/getCell). > 2. Send the full configuration with your intended changes via [Cell > Update Configuration](#/operations/updateCell). Omitting existing sections may reset or remove their current configuration.
1729
+
1730
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1731
+ :type cell: str
1732
+ :param cell2: (required)
1733
+ :type cell2: Cell
1734
+ :param completion_timeout:
1735
+ :type completion_timeout: int
1736
+ :param _request_timeout: timeout setting for this request. If one
1737
+ number provided, it will be total request
1738
+ timeout. It can also be a pair (tuple) of
1739
+ (connection, read) timeouts.
1740
+ :type _request_timeout: int, tuple(int, int), optional
1741
+ :param _request_auth: set to override the auth_settings for an a single
1742
+ request; this effectively ignores the
1743
+ authentication in the spec for a single request.
1744
+ :type _request_auth: dict, optional
1745
+ :param _content_type: force content-type for the request.
1746
+ :type _content_type: str, Optional
1747
+ :param _headers: set to override the headers for a single
1748
+ request; this effectively ignores the headers
1749
+ in the spec for a single request.
1750
+ :type _headers: dict, optional
1751
+ :param _host_index: set to override the host_index for a single
1752
+ request; this effectively ignores the host_index
1753
+ in the spec for a single request.
1754
+ :type _host_index: int, optional
1755
+ :return: Returns the result object.
1756
+ """ # noqa: E501
1757
+
1758
+ _param = self._update_cell_serialize(
1759
+ cell=cell,
1760
+ cell2=cell2,
1761
+ completion_timeout=completion_timeout,
1762
+ _request_auth=_request_auth,
1763
+ _content_type=_content_type,
1764
+ _headers=_headers,
1765
+ _host_index=_host_index,
1766
+ )
1767
+
1768
+ _response_types_map: Dict[str, Optional[str]] = {
1769
+ "200": None,
1770
+ "202": None,
1771
+ "400": "Error",
1772
+ "403": "Error",
1773
+ "404": "Error",
1774
+ }
1775
+
1776
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1777
+ await response_data.read()
1778
+ return self.api_client.response_deserialize(
1779
+ response_data=response_data,
1780
+ response_types_map=_response_types_map,
1781
+ )
1782
+
1783
+ @validate_call
1784
+ async def update_cell_without_preload_content(
1785
+ self,
1786
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1787
+ cell2: Cell,
1788
+ completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
1789
+ _request_timeout: Union[
1790
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1791
+ ] = None,
1792
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1793
+ _content_type: Optional[StrictStr] = None,
1794
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1795
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1796
+ ) -> RESTResponseType:
1797
+ """Update Configuration
1798
+
1799
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the definition of the entire cell. <!-- theme: info --> > **NOTE** > > This endpoint replaces the full cell configuration and is not a partial update. > To change only one field: > 1. Get the current configuration via [Cell > Configuration](#/operations/getCell). > 2. Send the full configuration with your intended changes via [Cell > Update Configuration](#/operations/updateCell). Omitting existing sections may reset or remove their current configuration.
1800
+
1801
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1802
+ :type cell: str
1803
+ :param cell2: (required)
1804
+ :type cell2: Cell
1805
+ :param completion_timeout:
1806
+ :type completion_timeout: int
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._update_cell_serialize(
1830
+ cell=cell,
1831
+ cell2=cell2,
1832
+ completion_timeout=completion_timeout,
1833
+ _request_auth=_request_auth,
1834
+ _content_type=_content_type,
1835
+ _headers=_headers,
1836
+ _host_index=_host_index,
1837
+ )
1838
+
1839
+ _response_types_map: Dict[str, Optional[str]] = {
1840
+ "200": None,
1841
+ "202": None,
1842
+ "400": "Error",
1843
+ "403": "Error",
1844
+ "404": "Error",
1845
+ }
1846
+
1847
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1848
+ return response_data.response
1849
+
1850
+ def _update_cell_serialize(
1851
+ self,
1852
+ cell,
1853
+ cell2,
1854
+ completion_timeout,
1855
+ _request_auth,
1856
+ _content_type,
1857
+ _headers,
1858
+ _host_index,
1859
+ ) -> RequestSerialized:
1860
+
1861
+ _host = None
1862
+
1863
+ _collection_formats: Dict[str, str] = {}
1864
+
1865
+ _path_params: Dict[str, str] = {}
1866
+ _query_params: List[Tuple[str, str]] = []
1867
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1868
+ _form_params: List[Tuple[str, str]] = []
1869
+ _files: Dict[str, Union[str, bytes]] = {}
1870
+ _body_params: Optional[bytes] = None
1871
+
1872
+ # process the path parameters
1873
+ if cell is not None:
1874
+ _path_params["cell"] = cell
1875
+ # process the query parameters
1876
+ if completion_timeout is not None:
1877
+ _query_params.append(("completion_timeout", completion_timeout))
1878
+
1879
+ # process the header parameters
1880
+ # process the form parameters
1881
+ # process the body parameter
1882
+ if cell2 is not None:
1883
+ _body_params = cell2
1884
+
1885
+ # set the HTTP header `Accept`
1886
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
1887
+
1888
+ # set the HTTP header `Content-Type`
1889
+ if _content_type:
1890
+ _header_params["Content-Type"] = _content_type
1891
+ else:
1892
+ _default_content_type = self.api_client.select_header_content_type(["application/json"])
1893
+ if _default_content_type is not None:
1894
+ _header_params["Content-Type"] = _default_content_type
1895
+
1896
+ # authentication setting
1897
+ _auth_settings: List[str] = ["BearerAuth"]
1898
+
1899
+ return self.api_client.param_serialize(
1900
+ method="PUT",
1901
+ resource_path="/cells/{cell}",
1902
+ path_params=_path_params,
1903
+ query_params=_query_params,
1904
+ header_params=_header_params,
1905
+ body=_body_params,
1906
+ post_params=_form_params,
1907
+ files=_files,
1908
+ auth_settings=_auth_settings,
1909
+ collection_formats=_collection_formats,
1910
+ _host=_host,
1911
+ _request_auth=_request_auth,
1912
+ )
1913
+
1914
+ @validate_call
1915
+ async def update_cell_version(
1916
+ self,
1917
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1918
+ update_cell_version_request: UpdateCellVersionRequest,
1919
+ _request_timeout: Union[
1920
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1921
+ ] = None,
1922
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1923
+ _content_type: Optional[StrictStr] = None,
1924
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1925
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1926
+ ) -> None:
1927
+ """Update Cell Version
1928
+
1929
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the Foundation chart version for a single cell based on a release channel. The resulting version is capped at the current system version.
1930
+
1931
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1932
+ :type cell: str
1933
+ :param update_cell_version_request: (required)
1934
+ :type update_cell_version_request: UpdateCellVersionRequest
1935
+ :param _request_timeout: timeout setting for this request. If one
1936
+ number provided, it will be total request
1937
+ timeout. It can also be a pair (tuple) of
1938
+ (connection, read) timeouts.
1939
+ :type _request_timeout: int, tuple(int, int), optional
1940
+ :param _request_auth: set to override the auth_settings for an a single
1941
+ request; this effectively ignores the
1942
+ authentication in the spec for a single request.
1943
+ :type _request_auth: dict, optional
1944
+ :param _content_type: force content-type for the request.
1945
+ :type _content_type: str, Optional
1946
+ :param _headers: set to override the headers for a single
1947
+ request; this effectively ignores the headers
1948
+ in the spec for a single request.
1949
+ :type _headers: dict, optional
1950
+ :param _host_index: set to override the host_index for a single
1951
+ request; this effectively ignores the host_index
1952
+ in the spec for a single request.
1953
+ :type _host_index: int, optional
1954
+ :return: Returns the result object.
1955
+ """ # noqa: E501
1956
+
1957
+ _param = self._update_cell_version_serialize(
1958
+ cell=cell,
1959
+ update_cell_version_request=update_cell_version_request,
1960
+ _request_auth=_request_auth,
1961
+ _content_type=_content_type,
1962
+ _headers=_headers,
1963
+ _host_index=_host_index,
1964
+ )
1965
+
1966
+ _response_types_map: Dict[str, Optional[str]] = {
1967
+ "202": None,
1968
+ "400": "Error",
1969
+ "404": "Error",
1970
+ }
1971
+
1972
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
1973
+ await response_data.read()
1974
+ return self.api_client.response_deserialize(
1975
+ response_data=response_data,
1976
+ response_types_map=_response_types_map,
1977
+ ).data
1978
+
1979
+ @validate_call
1980
+ async def update_cell_version_with_http_info(
1981
+ self,
1982
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1983
+ update_cell_version_request: UpdateCellVersionRequest,
1984
+ _request_timeout: Union[
1985
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
1986
+ ] = None,
1987
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1988
+ _content_type: Optional[StrictStr] = None,
1989
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1990
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1991
+ ) -> ApiResponse[None]:
1992
+ """Update Cell Version
1993
+
1994
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the Foundation chart version for a single cell based on a release channel. The resulting version is capped at the current system version.
1995
+
1996
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1997
+ :type cell: str
1998
+ :param update_cell_version_request: (required)
1999
+ :type update_cell_version_request: UpdateCellVersionRequest
2000
+ :param _request_timeout: timeout setting for this request. If one
2001
+ number provided, it will be total request
2002
+ timeout. It can also be a pair (tuple) of
2003
+ (connection, read) timeouts.
2004
+ :type _request_timeout: int, tuple(int, int), optional
2005
+ :param _request_auth: set to override the auth_settings for an a single
2006
+ request; this effectively ignores the
2007
+ authentication in the spec for a single request.
2008
+ :type _request_auth: dict, optional
2009
+ :param _content_type: force content-type for the request.
2010
+ :type _content_type: str, Optional
2011
+ :param _headers: set to override the headers for a single
2012
+ request; this effectively ignores the headers
2013
+ in the spec for a single request.
2014
+ :type _headers: dict, optional
2015
+ :param _host_index: set to override the host_index for a single
2016
+ request; this effectively ignores the host_index
2017
+ in the spec for a single request.
2018
+ :type _host_index: int, optional
2019
+ :return: Returns the result object.
2020
+ """ # noqa: E501
2021
+
2022
+ _param = self._update_cell_version_serialize(
2023
+ cell=cell,
2024
+ update_cell_version_request=update_cell_version_request,
2025
+ _request_auth=_request_auth,
2026
+ _content_type=_content_type,
2027
+ _headers=_headers,
2028
+ _host_index=_host_index,
2029
+ )
2030
+
2031
+ _response_types_map: Dict[str, Optional[str]] = {
2032
+ "202": None,
2033
+ "400": "Error",
2034
+ "404": "Error",
2035
+ }
2036
+
2037
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2038
+ await response_data.read()
2039
+ return self.api_client.response_deserialize(
2040
+ response_data=response_data,
2041
+ response_types_map=_response_types_map,
2042
+ )
2043
+
2044
+ @validate_call
2045
+ async def update_cell_version_without_preload_content(
2046
+ self,
2047
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2048
+ update_cell_version_request: UpdateCellVersionRequest,
2049
+ _request_timeout: Union[
2050
+ None, Annotated[StrictFloat, Field(gt=0)], Tuple[Annotated[StrictFloat, Field(gt=0)], Annotated[StrictFloat, Field(gt=0)]]
2051
+ ] = None,
2052
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2053
+ _content_type: Optional[StrictStr] = None,
2054
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2055
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2056
+ ) -> RESTResponseType:
2057
+ """Update Cell Version
2058
+
2059
+ **Required permissions:** `can_manage_cells` - Create, update, or delete cells ___ Update the Foundation chart version for a single cell based on a release channel. The resulting version is capped at the current system version.
2060
+
2061
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2062
+ :type cell: str
2063
+ :param update_cell_version_request: (required)
2064
+ :type update_cell_version_request: UpdateCellVersionRequest
2065
+ :param _request_timeout: timeout setting for this request. If one
2066
+ number provided, it will be total request
2067
+ timeout. It can also be a pair (tuple) of
2068
+ (connection, read) timeouts.
2069
+ :type _request_timeout: int, tuple(int, int), optional
2070
+ :param _request_auth: set to override the auth_settings for an a single
2071
+ request; this effectively ignores the
2072
+ authentication in the spec for a single request.
2073
+ :type _request_auth: dict, optional
2074
+ :param _content_type: force content-type for the request.
2075
+ :type _content_type: str, Optional
2076
+ :param _headers: set to override the headers for a single
2077
+ request; this effectively ignores the headers
2078
+ in the spec for a single request.
2079
+ :type _headers: dict, optional
2080
+ :param _host_index: set to override the host_index for a single
2081
+ request; this effectively ignores the host_index
2082
+ in the spec for a single request.
2083
+ :type _host_index: int, optional
2084
+ :return: Returns the result object.
2085
+ """ # noqa: E501
2086
+
2087
+ _param = self._update_cell_version_serialize(
2088
+ cell=cell,
2089
+ update_cell_version_request=update_cell_version_request,
2090
+ _request_auth=_request_auth,
2091
+ _content_type=_content_type,
2092
+ _headers=_headers,
2093
+ _host_index=_host_index,
2094
+ )
2095
+
2096
+ _response_types_map: Dict[str, Optional[str]] = {
2097
+ "202": None,
2098
+ "400": "Error",
2099
+ "404": "Error",
2100
+ }
2101
+
2102
+ response_data = await self.api_client.call_api(*_param, _request_timeout=_request_timeout)
2103
+ return response_data.response
2104
+
2105
+ def _update_cell_version_serialize(
2106
+ self,
2107
+ cell,
2108
+ update_cell_version_request,
2109
+ _request_auth,
2110
+ _content_type,
2111
+ _headers,
2112
+ _host_index,
2113
+ ) -> RequestSerialized:
2114
+
2115
+ _host = None
2116
+
2117
+ _collection_formats: Dict[str, str] = {}
2118
+
2119
+ _path_params: Dict[str, str] = {}
2120
+ _query_params: List[Tuple[str, str]] = []
2121
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2122
+ _form_params: List[Tuple[str, str]] = []
2123
+ _files: Dict[str, Union[str, bytes]] = {}
2124
+ _body_params: Optional[bytes] = None
2125
+
2126
+ # process the path parameters
2127
+ if cell is not None:
2128
+ _path_params["cell"] = cell
2129
+ # process the query parameters
2130
+ # process the header parameters
2131
+ # process the form parameters
2132
+ # process the body parameter
2133
+ if update_cell_version_request is not None:
2134
+ _body_params = update_cell_version_request
2135
+
2136
+ # set the HTTP header `Accept`
2137
+ _header_params["Accept"] = self.api_client.select_header_accept(["application/json"])
2138
+
2139
+ # set the HTTP header `Content-Type`
2140
+ if _content_type:
2141
+ _header_params["Content-Type"] = _content_type
2142
+ else:
2143
+ _default_content_type = self.api_client.select_header_content_type(["application/json"])
2144
+ if _default_content_type is not None:
2145
+ _header_params["Content-Type"] = _default_content_type
2146
+
2147
+ # authentication setting
2148
+ _auth_settings: List[str] = ["BearerAuth"]
2149
+
2150
+ return self.api_client.param_serialize(
2151
+ method="PUT",
2152
+ resource_path="/cells/{cell}/update",
2153
+ path_params=_path_params,
2154
+ query_params=_query_params,
2155
+ header_params=_header_params,
2156
+ body=_body_params,
2157
+ post_params=_form_params,
2158
+ files=_files,
2159
+ auth_settings=_auth_settings,
2160
+ collection_formats=_collection_formats,
2161
+ _host=_host,
2162
+ _request_auth=_request_auth,
2163
+ )