wandelbots-api-client 25.8.0.dev88__py3-none-any.whl → 25.10.0.dev47__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 (526) hide show
  1. wandelbots_api_client/__init__.py +1 -1
  2. wandelbots_api_client/api/controller_api.py +9 -3
  3. wandelbots_api_client/api/controller_ios_api.py +2 -4
  4. wandelbots_api_client/api/motion_api.py +16 -4
  5. wandelbots_api_client/api/motion_group_infos_api.py +2 -0
  6. wandelbots_api_client/api/motion_group_jogging_api.py +10 -4
  7. wandelbots_api_client/api/store_collision_components_api.py +9 -6
  8. wandelbots_api_client/api/virtual_robot_behavior_api.py +5 -2
  9. wandelbots_api_client/api_client.py +1 -1
  10. wandelbots_api_client/configuration.py +1 -1
  11. wandelbots_api_client/models/abb_controller.py +4 -4
  12. wandelbots_api_client/models/abb_controller_egm_server.py +2 -2
  13. wandelbots_api_client/models/activate_license_request.py +1 -1
  14. wandelbots_api_client/models/add_request.py +2 -2
  15. wandelbots_api_client/models/all_joint_positions_request.py +2 -2
  16. wandelbots_api_client/models/all_joint_positions_response.py +1 -1
  17. wandelbots_api_client/models/app.py +7 -7
  18. wandelbots_api_client/models/array_input.py +1 -1
  19. wandelbots_api_client/models/array_output.py +1 -1
  20. wandelbots_api_client/models/blending_auto.py +2 -2
  21. wandelbots_api_client/models/blending_position.py +2 -2
  22. wandelbots_api_client/models/box.py +4 -4
  23. wandelbots_api_client/models/box2.py +5 -5
  24. wandelbots_api_client/models/box3.py +5 -5
  25. wandelbots_api_client/models/capsule.py +2 -2
  26. wandelbots_api_client/models/capsule2.py +3 -3
  27. wandelbots_api_client/models/capsule3.py +3 -3
  28. wandelbots_api_client/models/capture.py +1 -1
  29. wandelbots_api_client/models/cell.py +3 -3
  30. wandelbots_api_client/models/circle.py +2 -2
  31. wandelbots_api_client/models/code_with_arguments.py +2 -2
  32. wandelbots_api_client/models/collider.py +3 -3
  33. wandelbots_api_client/models/collider_input.py +3 -3
  34. wandelbots_api_client/models/collider_output.py +3 -3
  35. wandelbots_api_client/models/collision.py +6 -6
  36. wandelbots_api_client/models/collision_contact.py +2 -2
  37. wandelbots_api_client/models/collision_motion_group.py +2 -2
  38. wandelbots_api_client/models/collision_motion_group_assembly.py +4 -4
  39. wandelbots_api_client/models/collision_robot_configuration_input.py +3 -3
  40. wandelbots_api_client/models/collision_robot_configuration_output.py +3 -3
  41. wandelbots_api_client/models/collision_scene.py +2 -2
  42. wandelbots_api_client/models/collision_scene_assembly.py +5 -5
  43. wandelbots_api_client/models/command.py +6 -6
  44. wandelbots_api_client/models/command_settings.py +3 -3
  45. wandelbots_api_client/models/compound.py +1 -1
  46. wandelbots_api_client/models/container_environment_inner.py +2 -2
  47. wandelbots_api_client/models/container_image.py +3 -3
  48. wandelbots_api_client/models/container_image_secrets_inner.py +1 -1
  49. wandelbots_api_client/models/container_resources.py +1 -1
  50. wandelbots_api_client/models/container_storage.py +2 -2
  51. wandelbots_api_client/models/controller_capabilities.py +2 -2
  52. wandelbots_api_client/models/controller_instance.py +8 -8
  53. wandelbots_api_client/models/controller_instance_list.py +1 -1
  54. wandelbots_api_client/models/convex_hull.py +1 -1
  55. wandelbots_api_client/models/convex_hull2.py +2 -2
  56. wandelbots_api_client/models/convex_hull3.py +2 -2
  57. wandelbots_api_client/models/coordinate_system.py +5 -5
  58. wandelbots_api_client/models/coordinate_systems.py +1 -1
  59. wandelbots_api_client/models/create_program_run200_response.py +1 -1
  60. wandelbots_api_client/models/create_program_run_request.py +1 -1
  61. wandelbots_api_client/models/create_trigger200_response.py +1 -1
  62. wandelbots_api_client/models/create_trigger_request.py +4 -4
  63. wandelbots_api_client/models/cubic_spline.py +1 -1
  64. wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +2 -2
  65. wandelbots_api_client/models/cubic_spline_parameter.py +2 -2
  66. wandelbots_api_client/models/cycle_time.py +1 -1
  67. wandelbots_api_client/models/cylinder.py +2 -2
  68. wandelbots_api_client/models/cylinder2.py +3 -3
  69. wandelbots_api_client/models/cylinder3.py +3 -3
  70. wandelbots_api_client/models/dh_parameter.py +5 -5
  71. wandelbots_api_client/models/direction_jogging_request.py +9 -9
  72. wandelbots_api_client/models/error.py +2 -2
  73. wandelbots_api_client/models/execution_result.py +3 -3
  74. wandelbots_api_client/models/external_joint_stream_datapoint.py +2 -2
  75. wandelbots_api_client/models/external_joint_stream_datapoint_value.py +4 -4
  76. wandelbots_api_client/models/fanuc_controller.py +2 -2
  77. wandelbots_api_client/models/feedback_collision.py +4 -4
  78. wandelbots_api_client/models/feedback_joint_limit_exceeded.py +3 -3
  79. wandelbots_api_client/models/feedback_out_of_workspace.py +2 -2
  80. wandelbots_api_client/models/feedback_singularity.py +3 -3
  81. wandelbots_api_client/models/flag.py +1 -1
  82. wandelbots_api_client/models/force_vector.py +3 -3
  83. wandelbots_api_client/models/geometry.py +11 -11
  84. wandelbots_api_client/models/get_all_program_runs200_response.py +1 -1
  85. wandelbots_api_client/models/get_all_triggers200_response.py +1 -1
  86. wandelbots_api_client/models/get_mode_response.py +1 -1
  87. wandelbots_api_client/models/get_trajectory_response.py +1 -1
  88. wandelbots_api_client/models/get_trajectory_sample_response.py +1 -1
  89. wandelbots_api_client/models/google_protobuf_any.py +1 -1
  90. wandelbots_api_client/models/http_exception_response.py +1 -1
  91. wandelbots_api_client/models/http_validation_error.py +1 -1
  92. wandelbots_api_client/models/http_validation_error2.py +1 -1
  93. wandelbots_api_client/models/image_credentials.py +3 -3
  94. wandelbots_api_client/models/info_service_capabilities.py +7 -7
  95. wandelbots_api_client/models/initialize_movement_request.py +5 -5
  96. wandelbots_api_client/models/initialize_movement_response.py +1 -1
  97. wandelbots_api_client/models/initialize_movement_response_init_response.py +2 -2
  98. wandelbots_api_client/models/io.py +5 -5
  99. wandelbots_api_client/models/io_description.py +9 -9
  100. wandelbots_api_client/models/io_value.py +4 -4
  101. wandelbots_api_client/models/ios.py +1 -1
  102. wandelbots_api_client/models/jogging_response.py +3 -3
  103. wandelbots_api_client/models/jogging_service_capabilities.py +2 -2
  104. wandelbots_api_client/models/joint_jogging_request.py +5 -5
  105. wandelbots_api_client/models/joint_limit.py +4 -4
  106. wandelbots_api_client/models/joint_limit_exceeded.py +2 -2
  107. wandelbots_api_client/models/joint_position_request.py +3 -3
  108. wandelbots_api_client/models/joint_trajectory.py +3 -3
  109. wandelbots_api_client/models/joints.py +1 -1
  110. wandelbots_api_client/models/kinematic_service_capabilities.py +3 -3
  111. wandelbots_api_client/models/kuka_controller.py +5 -5
  112. wandelbots_api_client/models/kuka_controller_rsi_server.py +2 -2
  113. wandelbots_api_client/models/license.py +10 -10
  114. wandelbots_api_client/models/license_status.py +2 -2
  115. wandelbots_api_client/models/limit_settings.py +12 -12
  116. wandelbots_api_client/models/limits_override.py +6 -6
  117. wandelbots_api_client/models/list_io_descriptions_response.py +1 -1
  118. wandelbots_api_client/models/list_io_values_response.py +1 -1
  119. wandelbots_api_client/models/list_payloads_response.py +1 -1
  120. wandelbots_api_client/models/list_program_metadata_response.py +1 -1
  121. wandelbots_api_client/models/list_recipe_metadata_response.py +1 -1
  122. wandelbots_api_client/models/list_response.py +1 -1
  123. wandelbots_api_client/models/list_tcps_response.py +1 -1
  124. wandelbots_api_client/models/mode_change_response.py +4 -4
  125. wandelbots_api_client/models/motion_command.py +3 -3
  126. wandelbots_api_client/models/motion_group_behavior_getter.py +1 -1
  127. wandelbots_api_client/models/motion_group_info.py +3 -3
  128. wandelbots_api_client/models/motion_group_infos.py +1 -1
  129. wandelbots_api_client/models/motion_group_instance.py +5 -5
  130. wandelbots_api_client/models/motion_group_instance_list.py +1 -1
  131. wandelbots_api_client/models/motion_group_joints.py +4 -4
  132. wandelbots_api_client/models/motion_group_physical.py +5 -5
  133. wandelbots_api_client/models/motion_group_specification.py +2 -2
  134. wandelbots_api_client/models/motion_group_state.py +12 -12
  135. wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +1 -1
  136. wandelbots_api_client/models/motion_group_state_response.py +2 -2
  137. wandelbots_api_client/models/motion_id.py +1 -1
  138. wandelbots_api_client/models/motion_ids_list_response.py +1 -1
  139. wandelbots_api_client/models/motion_vector.py +3 -3
  140. wandelbots_api_client/models/mounting.py +2 -2
  141. wandelbots_api_client/models/move_request.py +8 -8
  142. wandelbots_api_client/models/move_response.py +2 -2
  143. wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +4 -4
  144. wandelbots_api_client/models/movement.py +1 -1
  145. wandelbots_api_client/models/movement_error.py +1 -1
  146. wandelbots_api_client/models/movement_error_error.py +1 -1
  147. wandelbots_api_client/models/movement_movement.py +3 -3
  148. wandelbots_api_client/models/op_mode.py +1 -1
  149. wandelbots_api_client/models/opcua_node_value_trigger_config.py +3 -3
  150. wandelbots_api_client/models/optimizer_setup.py +7 -7
  151. wandelbots_api_client/models/out_of_workspace.py +1 -1
  152. wandelbots_api_client/models/path.py +1 -1
  153. wandelbots_api_client/models/path_cartesian_ptp.py +2 -2
  154. wandelbots_api_client/models/path_circle.py +3 -3
  155. wandelbots_api_client/models/path_cubic_spline.py +2 -2
  156. wandelbots_api_client/models/path_joint_ptp.py +2 -2
  157. wandelbots_api_client/models/path_line.py +2 -2
  158. wandelbots_api_client/models/pause_movement_request.py +2 -2
  159. wandelbots_api_client/models/pause_movement_response.py +1 -1
  160. wandelbots_api_client/models/pause_movement_response_pause_response.py +2 -2
  161. wandelbots_api_client/models/pause_on_io.py +2 -2
  162. wandelbots_api_client/models/payload.py +4 -4
  163. wandelbots_api_client/models/plan_collision_free_ptp_request.py +5 -5
  164. wandelbots_api_client/models/plan_failed_on_trajectory_response.py +9 -9
  165. wandelbots_api_client/models/plan_failed_response.py +7 -7
  166. wandelbots_api_client/models/plan_request.py +5 -5
  167. wandelbots_api_client/models/plan_response.py +3 -3
  168. wandelbots_api_client/models/plan_successful_response.py +2 -2
  169. wandelbots_api_client/models/plan_trajectory_failed_response.py +3 -3
  170. wandelbots_api_client/models/plan_trajectory_request.py +5 -5
  171. wandelbots_api_client/models/plan_trajectory_response.py +1 -1
  172. wandelbots_api_client/models/plane2.py +1 -1
  173. wandelbots_api_client/models/plane3.py +1 -1
  174. wandelbots_api_client/models/planned_motion.py +5 -5
  175. wandelbots_api_client/models/planner_pose.py +2 -2
  176. wandelbots_api_client/models/planning_limits.py +12 -12
  177. wandelbots_api_client/models/planning_limits_limit_range.py +2 -2
  178. wandelbots_api_client/models/playback_speed_request.py +2 -2
  179. wandelbots_api_client/models/playback_speed_response.py +1 -1
  180. wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +1 -1
  181. wandelbots_api_client/models/point_cloud.py +1 -1
  182. wandelbots_api_client/models/pose.py +3 -3
  183. wandelbots_api_client/models/pose2.py +2 -2
  184. wandelbots_api_client/models/program_metadata.py +6 -6
  185. wandelbots_api_client/models/program_run.py +10 -10
  186. wandelbots_api_client/models/program_run_object.py +6 -6
  187. wandelbots_api_client/models/program_runner_reference.py +2 -2
  188. wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +2 -2
  189. wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +1 -1
  190. wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +1 -1
  191. wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +1 -1
  192. wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +4 -4
  193. wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +4 -4
  194. wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +3 -3
  195. wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +6 -6
  196. wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +7 -7
  197. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +4 -4
  198. wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +4 -4
  199. wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +2 -2
  200. wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +3 -3
  201. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +2 -2
  202. wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +2 -2
  203. wandelbots_api_client/models/quaternion.py +4 -4
  204. wandelbots_api_client/models/recipe_metadata.py +7 -7
  205. wandelbots_api_client/models/rectangle.py +2 -2
  206. wandelbots_api_client/models/rectangle2.py +3 -3
  207. wandelbots_api_client/models/rectangle3.py +3 -3
  208. wandelbots_api_client/models/rectangular_capsule.py +3 -3
  209. wandelbots_api_client/models/rectangular_capsule2.py +4 -4
  210. wandelbots_api_client/models/rectangular_capsule3.py +4 -4
  211. wandelbots_api_client/models/robot_controller.py +2 -2
  212. wandelbots_api_client/models/robot_controller_state.py +7 -7
  213. wandelbots_api_client/models/robot_link_geometry.py +2 -2
  214. wandelbots_api_client/models/robot_state.py +2 -2
  215. wandelbots_api_client/models/robot_tcp.py +4 -4
  216. wandelbots_api_client/models/robot_tcps.py +1 -1
  217. wandelbots_api_client/models/rotation_angles.py +2 -2
  218. wandelbots_api_client/models/safety_configuration.py +5 -5
  219. wandelbots_api_client/models/safety_setup.py +4 -4
  220. wandelbots_api_client/models/safety_setup_safety_settings.py +2 -2
  221. wandelbots_api_client/models/safety_setup_safety_zone.py +4 -4
  222. wandelbots_api_client/models/safety_zone.py +3 -3
  223. wandelbots_api_client/models/safety_zone_limits.py +2 -2
  224. wandelbots_api_client/models/safety_zone_violation.py +1 -1
  225. wandelbots_api_client/models/service_status.py +2 -2
  226. wandelbots_api_client/models/service_status_status.py +3 -3
  227. wandelbots_api_client/models/set_io.py +2 -2
  228. wandelbots_api_client/models/set_playback_speed.py +2 -2
  229. wandelbots_api_client/models/single_joint_limit.py +2 -2
  230. wandelbots_api_client/models/singularity.py +2 -2
  231. wandelbots_api_client/models/sphere.py +1 -1
  232. wandelbots_api_client/models/sphere2.py +2 -2
  233. wandelbots_api_client/models/sphere3.py +2 -2
  234. wandelbots_api_client/models/standstill.py +1 -1
  235. wandelbots_api_client/models/standstill_standstill.py +3 -3
  236. wandelbots_api_client/models/start_movement_request.py +5 -5
  237. wandelbots_api_client/models/start_on_io.py +2 -2
  238. wandelbots_api_client/models/status.py +3 -3
  239. wandelbots_api_client/models/stop_response.py +3 -3
  240. wandelbots_api_client/models/stream_move_backward.py +1 -1
  241. wandelbots_api_client/models/stream_move_forward.py +1 -1
  242. wandelbots_api_client/models/stream_move_playback_speed.py +1 -1
  243. wandelbots_api_client/models/stream_move_response.py +3 -3
  244. wandelbots_api_client/models/stream_move_to_trajectory.py +1 -1
  245. wandelbots_api_client/models/stream_stop.py +1 -1
  246. wandelbots_api_client/models/tcp_pose.py +4 -4
  247. wandelbots_api_client/models/tcp_pose_request.py +4 -4
  248. wandelbots_api_client/models/tool_geometry.py +2 -2
  249. wandelbots_api_client/models/trajectory_sample.py +11 -11
  250. wandelbots_api_client/models/trigger_object.py +8 -8
  251. wandelbots_api_client/models/universalrobots_controller.py +2 -2
  252. wandelbots_api_client/models/update_nova_version_request.py +1 -1
  253. wandelbots_api_client/models/update_program_metadata_request.py +3 -3
  254. wandelbots_api_client/models/update_recipe_metadata_request.py +3 -3
  255. wandelbots_api_client/models/update_trigger_request.py +3 -3
  256. wandelbots_api_client/models/validation_error.py +3 -3
  257. wandelbots_api_client/models/validation_error2.py +3 -3
  258. wandelbots_api_client/models/vector3d.py +3 -3
  259. wandelbots_api_client/models/version_number.py +8 -8
  260. wandelbots_api_client/models/virtual_controller.py +5 -5
  261. wandelbots_api_client/models/virtual_controller_types.py +3 -0
  262. wandelbots_api_client/models/virtual_robot_configuration.py +2 -2
  263. wandelbots_api_client/models/yaskawa_controller.py +2 -2
  264. wandelbots_api_client/v2/__init__.py +1 -1
  265. wandelbots_api_client/v2/api/application_api.py +9 -9
  266. wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +928 -79
  267. wandelbots_api_client/v2/api/cell_api.py +6 -6
  268. wandelbots_api_client/v2/api/controller_api.py +33 -29
  269. wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +12 -10
  270. wandelbots_api_client/v2/api/jogging_api.py +6 -3
  271. wandelbots_api_client/v2/api/kinematics_api.py +12 -13
  272. wandelbots_api_client/v2/api/license_api.py +6 -6
  273. wandelbots_api_client/v2/api/motion_group_api.py +8 -6
  274. wandelbots_api_client/v2/api/motion_group_models_api.py +11 -47
  275. wandelbots_api_client/v2/api/store_collision_components_api.py +799 -25
  276. wandelbots_api_client/v2/api/store_collision_setups_api.py +262 -4
  277. wandelbots_api_client/v2/api/store_object_api.py +9 -9
  278. wandelbots_api_client/v2/api/trajectory_caching_api.py +12 -12
  279. wandelbots_api_client/v2/api/trajectory_execution_api.py +6 -3
  280. wandelbots_api_client/v2/api/trajectory_planning_api.py +15 -16
  281. wandelbots_api_client/v2/api/virtual_controller_api.py +51 -36
  282. wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +18 -9
  283. wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +3 -3
  284. wandelbots_api_client/v2/api_client.py +1 -1
  285. wandelbots_api_client/v2/configuration.py +1 -1
  286. wandelbots_api_client/v2/models/__init__.py +44 -26
  287. wandelbots_api_client/v2/models/abb_controller.py +6 -9
  288. wandelbots_api_client/v2/models/abb_controller_egm_server.py +2 -2
  289. wandelbots_api_client/v2/models/activate_license_request.py +1 -1
  290. wandelbots_api_client/v2/models/add_trajectory_error.py +3 -3
  291. wandelbots_api_client/v2/models/add_trajectory_error_data.py +56 -56
  292. wandelbots_api_client/v2/models/add_trajectory_request.py +3 -3
  293. wandelbots_api_client/v2/models/add_trajectory_response.py +2 -2
  294. wandelbots_api_client/v2/models/app.py +9 -9
  295. wandelbots_api_client/v2/models/behavior.py +1 -1
  296. wandelbots_api_client/v2/models/blending_auto.py +4 -3
  297. wandelbots_api_client/v2/models/blending_position.py +2 -2
  298. wandelbots_api_client/v2/models/boolean_value.py +4 -7
  299. wandelbots_api_client/v2/models/box.py +5 -5
  300. wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +14 -14
  301. wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
  302. wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
  303. wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
  304. wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
  305. wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
  306. wandelbots_api_client/v2/models/bus_io_profinet.py +6 -9
  307. wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +2 -2
  308. wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +3 -3
  309. wandelbots_api_client/v2/models/bus_io_profinet_network.py +3 -3
  310. wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +3 -6
  311. wandelbots_api_client/v2/models/bus_io_type.py +80 -8
  312. wandelbots_api_client/v2/models/bus_ios_state.py +2 -2
  313. wandelbots_api_client/v2/models/capsule.py +3 -3
  314. wandelbots_api_client/v2/models/cartesian_limits.py +4 -4
  315. wandelbots_api_client/v2/models/cell.py +5 -5
  316. wandelbots_api_client/v2/models/collider.py +3 -3
  317. wandelbots_api_client/v2/models/collision.py +6 -6
  318. wandelbots_api_client/v2/models/collision_contact.py +2 -2
  319. wandelbots_api_client/v2/models/collision_error.py +1 -1
  320. wandelbots_api_client/v2/models/collision_setup.py +4 -4
  321. wandelbots_api_client/v2/models/configuration_archive_status_creating.py +2 -2
  322. wandelbots_api_client/v2/models/configuration_archive_status_error.py +2 -2
  323. wandelbots_api_client/v2/models/configuration_archive_status_success.py +1 -1
  324. wandelbots_api_client/v2/models/configuration_resource.py +3 -3
  325. wandelbots_api_client/v2/models/container_environment_inner.py +2 -2
  326. wandelbots_api_client/v2/models/container_image.py +3 -3
  327. wandelbots_api_client/v2/models/container_image_secrets_inner.py +1 -1
  328. wandelbots_api_client/v2/models/container_resources.py +2 -2
  329. wandelbots_api_client/v2/models/container_storage.py +2 -2
  330. wandelbots_api_client/v2/models/controller_description.py +4 -4
  331. wandelbots_api_client/v2/models/convex_hull.py +2 -2
  332. wandelbots_api_client/v2/models/coordinate_system.py +6 -6
  333. wandelbots_api_client/v2/models/coordinate_system_data.py +5 -5
  334. wandelbots_api_client/v2/models/cubic_spline_parameter.py +2 -2
  335. wandelbots_api_client/v2/models/cycle_time.py +3 -2
  336. wandelbots_api_client/v2/models/cylinder.py +3 -3
  337. wandelbots_api_client/v2/models/dh_parameter.py +5 -5
  338. wandelbots_api_client/v2/models/error.py +2 -2
  339. wandelbots_api_client/v2/models/error_invalid_joint_count.py +3 -3
  340. wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +4 -3
  341. wandelbots_api_client/v2/models/error_joint_position_collision.py +4 -4
  342. wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +2 -2
  343. wandelbots_api_client/v2/models/execute.py +2 -2
  344. wandelbots_api_client/v2/models/execute_jogging_request.py +28 -0
  345. wandelbots_api_client/v2/models/execute_jogging_response.py +25 -0
  346. wandelbots_api_client/v2/models/execute_trajectory_request.py +28 -0
  347. wandelbots_api_client/v2/models/execute_trajectory_response.py +25 -0
  348. wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +2 -2
  349. wandelbots_api_client/v2/models/external_joint_stream_request.py +1 -1
  350. wandelbots_api_client/v2/models/fanuc_controller.py +4 -7
  351. wandelbots_api_client/v2/models/feedback_collision.py +4 -4
  352. wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +5 -4
  353. wandelbots_api_client/v2/models/feedback_out_of_workspace.py +2 -2
  354. wandelbots_api_client/v2/models/feedback_singularity.py +3 -3
  355. wandelbots_api_client/v2/models/flag.py +1 -1
  356. wandelbots_api_client/v2/models/float_value.py +4 -7
  357. wandelbots_api_client/v2/models/forward_kinematics422_response.py +1 -1
  358. wandelbots_api_client/v2/models/forward_kinematics_request.py +4 -4
  359. wandelbots_api_client/v2/models/forward_kinematics_response.py +1 -1
  360. wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +5 -5
  361. wandelbots_api_client/v2/models/get_trajectory_response.py +3 -3
  362. wandelbots_api_client/v2/models/http_validation_error.py +1 -1
  363. wandelbots_api_client/v2/models/image_credentials.py +3 -3
  364. wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +7 -7
  365. wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +7 -7
  366. wandelbots_api_client/v2/models/initialize_jogging_request.py +5 -8
  367. wandelbots_api_client/v2/models/initialize_jogging_response.py +2 -2
  368. wandelbots_api_client/v2/models/initialize_movement_request.py +5 -8
  369. wandelbots_api_client/v2/models/initialize_movement_response.py +3 -3
  370. wandelbots_api_client/v2/models/integer_value.py +4 -7
  371. wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +7 -7
  372. wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +6 -6
  373. wandelbots_api_client/v2/models/inverse_kinematics422_response.py +1 -1
  374. wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -6
  375. wandelbots_api_client/v2/models/inverse_kinematics_response.py +1 -1
  376. wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +5 -5
  377. wandelbots_api_client/v2/models/io_boolean_value.py +5 -8
  378. wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +8 -8
  379. wandelbots_api_client/v2/models/io_description.py +11 -11
  380. wandelbots_api_client/v2/models/io_float_value.py +5 -8
  381. wandelbots_api_client/v2/models/io_integer_value.py +5 -8
  382. wandelbots_api_client/v2/models/jogging_details.py +2 -2
  383. wandelbots_api_client/v2/models/jogging_paused_by_user.py +1 -1
  384. wandelbots_api_client/v2/models/jogging_paused_near_collision.py +2 -2
  385. wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +4 -3
  386. wandelbots_api_client/v2/models/jogging_paused_on_io.py +1 -1
  387. wandelbots_api_client/v2/models/jogging_running.py +1 -1
  388. wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +5 -5
  389. wandelbots_api_client/v2/models/joint_limits.py +4 -4
  390. wandelbots_api_client/v2/models/joint_trajectory.py +3 -3
  391. wandelbots_api_client/v2/models/joint_velocity_request.py +4 -7
  392. wandelbots_api_client/v2/models/joint_velocity_response.py +2 -2
  393. wandelbots_api_client/v2/models/kuka_controller.py +6 -9
  394. wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +2 -2
  395. wandelbots_api_client/v2/models/license.py +10 -10
  396. wandelbots_api_client/v2/models/license_status.py +2 -2
  397. wandelbots_api_client/v2/models/limit_range.py +2 -2
  398. wandelbots_api_client/v2/models/limit_set.py +5 -5
  399. wandelbots_api_client/v2/models/limits_override.py +6 -6
  400. wandelbots_api_client/v2/models/list_trajectories_response.py +1 -1
  401. wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +2 -2
  402. wandelbots_api_client/v2/models/modbus_io.py +105 -0
  403. wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
  404. wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
  405. wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +21 -26
  406. wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
  407. wandelbots_api_client/v2/models/motion_command.py +3 -3
  408. wandelbots_api_client/v2/models/motion_group_description.py +12 -11
  409. wandelbots_api_client/v2/models/motion_group_info.py +5 -4
  410. wandelbots_api_client/v2/models/motion_group_joints.py +4 -4
  411. wandelbots_api_client/v2/models/motion_group_setup.py +9 -8
  412. wandelbots_api_client/v2/models/motion_group_state.py +16 -15
  413. wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +1 -1
  414. wandelbots_api_client/v2/models/movement_error_response.py +2 -2
  415. wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +7 -7
  416. wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +4 -4
  417. wandelbots_api_client/v2/models/op_mode.py +1 -1
  418. wandelbots_api_client/v2/models/operation_limits.py +4 -4
  419. wandelbots_api_client/v2/models/path_cartesian_ptp.py +2 -2
  420. wandelbots_api_client/v2/models/path_circle.py +3 -3
  421. wandelbots_api_client/v2/models/path_cubic_spline.py +2 -2
  422. wandelbots_api_client/v2/models/path_joint_ptp.py +2 -2
  423. wandelbots_api_client/v2/models/path_line.py +2 -2
  424. wandelbots_api_client/v2/models/pause_jogging_request.py +3 -6
  425. wandelbots_api_client/v2/models/pause_jogging_response.py +2 -2
  426. wandelbots_api_client/v2/models/pause_movement_request.py +3 -6
  427. wandelbots_api_client/v2/models/pause_movement_response.py +2 -2
  428. wandelbots_api_client/v2/models/pause_on_io.py +3 -3
  429. wandelbots_api_client/v2/models/payload.py +4 -4
  430. wandelbots_api_client/v2/models/plan422_response.py +1 -1
  431. wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +1 -1
  432. wandelbots_api_client/v2/models/plan_collision_free_request.py +4 -4
  433. wandelbots_api_client/v2/models/plan_collision_free_response.py +1 -1
  434. wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +3 -3
  435. wandelbots_api_client/v2/models/plan_trajectory_request.py +3 -3
  436. wandelbots_api_client/v2/models/plan_trajectory_response.py +1 -1
  437. wandelbots_api_client/v2/models/plan_validation_error.py +5 -5
  438. wandelbots_api_client/v2/models/plane.py +1 -1
  439. wandelbots_api_client/v2/models/playback_speed_request.py +6 -8
  440. wandelbots_api_client/v2/models/playback_speed_response.py +2 -2
  441. wandelbots_api_client/v2/models/pose.py +2 -2
  442. wandelbots_api_client/v2/models/profinet_description.py +5 -5
  443. wandelbots_api_client/v2/models/profinet_input_output_config.py +3 -3
  444. wandelbots_api_client/v2/models/profinet_io.py +8 -8
  445. wandelbots_api_client/v2/models/profinet_io_data.py +7 -7
  446. wandelbots_api_client/v2/models/profinet_io_direction.py +1 -1
  447. wandelbots_api_client/v2/models/profinet_slot_description.py +4 -4
  448. wandelbots_api_client/v2/models/profinet_sub_slot_description.py +3 -3
  449. wandelbots_api_client/v2/models/program.py +6 -6
  450. wandelbots_api_client/v2/models/program_run.py +14 -12
  451. wandelbots_api_client/v2/models/program_start_request.py +1 -1
  452. wandelbots_api_client/v2/models/rectangle.py +3 -3
  453. wandelbots_api_client/v2/models/rectangular_capsule.py +4 -4
  454. wandelbots_api_client/v2/models/robot_controller.py +2 -2
  455. wandelbots_api_client/v2/models/robot_controller_state.py +11 -10
  456. wandelbots_api_client/v2/models/robot_tcp.py +5 -5
  457. wandelbots_api_client/v2/models/robot_tcp_data.py +4 -4
  458. wandelbots_api_client/v2/models/rrt_connect_algorithm.py +6 -6
  459. wandelbots_api_client/v2/models/service_status.py +3 -3
  460. wandelbots_api_client/v2/models/service_status_response.py +2 -2
  461. wandelbots_api_client/v2/models/service_status_status.py +3 -3
  462. wandelbots_api_client/v2/models/set_io.py +3 -3
  463. wandelbots_api_client/v2/models/sphere.py +2 -2
  464. wandelbots_api_client/v2/models/start_movement_request.py +11 -12
  465. wandelbots_api_client/v2/models/start_movement_response.py +2 -2
  466. wandelbots_api_client/v2/models/start_on_io.py +3 -3
  467. wandelbots_api_client/v2/models/stream_io_values_response.py +5 -4
  468. wandelbots_api_client/v2/models/tcp_offset.py +2 -2
  469. wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +4 -4
  470. wandelbots_api_client/v2/models/tcp_velocity_request.py +5 -8
  471. wandelbots_api_client/v2/models/tcp_velocity_response.py +2 -2
  472. wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +7 -7
  473. wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +6 -6
  474. wandelbots_api_client/v2/models/trajectory_data.py +5 -5
  475. wandelbots_api_client/v2/models/trajectory_details.py +4 -4
  476. wandelbots_api_client/v2/models/trajectory_ended.py +1 -1
  477. wandelbots_api_client/v2/models/trajectory_id.py +3 -3
  478. wandelbots_api_client/v2/models/trajectory_paused_by_user.py +1 -1
  479. wandelbots_api_client/v2/models/trajectory_paused_on_io.py +1 -1
  480. wandelbots_api_client/v2/models/trajectory_running.py +4 -3
  481. wandelbots_api_client/v2/models/trajectory_wait_for_io.py +1 -1
  482. wandelbots_api_client/v2/models/universalrobots_controller.py +4 -7
  483. wandelbots_api_client/v2/models/update_nova_version_request.py +1 -1
  484. wandelbots_api_client/v2/models/validation_error.py +4 -4
  485. wandelbots_api_client/v2/models/validation_error2.py +3 -3
  486. wandelbots_api_client/v2/models/virtual_controller.py +6 -9
  487. wandelbots_api_client/v2/models/virtual_controller_types.py +3 -0
  488. wandelbots_api_client/v2/models/virtual_robot_configuration.py +2 -2
  489. wandelbots_api_client/v2/models/wait_for_io_event_request.py +2 -2
  490. wandelbots_api_client/v2/models/yaskawa_controller.py +4 -7
  491. wandelbots_api_client/v2_pydantic/__init__.py +51 -0
  492. wandelbots_api_client/v2_pydantic/api/__init__.py +49 -0
  493. wandelbots_api_client/v2_pydantic/api/application_api.py +1822 -0
  494. wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4652 -0
  495. wandelbots_api_client/v2_pydantic/api/cell_api.py +2025 -0
  496. wandelbots_api_client/v2_pydantic/api/controller_api.py +3758 -0
  497. wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1408 -0
  498. wandelbots_api_client/v2_pydantic/api/jogging_api.py +126 -0
  499. wandelbots_api_client/v2_pydantic/api/kinematics_api.py +649 -0
  500. wandelbots_api_client/v2_pydantic/api/license_api.py +1074 -0
  501. wandelbots_api_client/v2_pydantic/api/motion_group_api.py +740 -0
  502. wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +570 -0
  503. wandelbots_api_client/v2_pydantic/api/program_api.py +1200 -0
  504. wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4216 -0
  505. wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1435 -0
  506. wandelbots_api_client/v2_pydantic/api/store_object_api.py +1738 -0
  507. wandelbots_api_client/v2_pydantic/api/system_api.py +2454 -0
  508. wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1524 -0
  509. wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +126 -0
  510. wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +649 -0
  511. wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4656 -0
  512. wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +1001 -0
  513. wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1022 -0
  514. wandelbots_api_client/v2_pydantic/api_client.py +810 -0
  515. wandelbots_api_client/v2_pydantic/api_response.py +21 -0
  516. wandelbots_api_client/v2_pydantic/configuration.py +595 -0
  517. wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
  518. wandelbots_api_client/v2_pydantic/models.py +4547 -0
  519. wandelbots_api_client/v2_pydantic/py.typed +0 -0
  520. wandelbots_api_client/v2_pydantic/rest.py +212 -0
  521. {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/METADATA +16 -15
  522. wandelbots_api_client-25.10.0.dev47.dist-info/RECORD +636 -0
  523. wandelbots_api_client-25.8.0.dev88.dist-info/RECORD +0 -597
  524. {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/WHEEL +0 -0
  525. {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/licenses/LICENSE +0 -0
  526. {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,4216 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Wandelbots NOVA API
5
+
6
+ Interact with robots in an easy and intuitive way. > **Note:** API version 2 is experimental and will experience functional changes.
7
+
8
+ The version of the OpenAPI document: 2.0.0 beta
9
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
10
+
11
+ Do not edit the class manually.
12
+ """ # noqa: E501
13
+
14
+
15
+ from furl import furl
16
+ import json
17
+ import humps
18
+ import re
19
+ import warnings
20
+ import websockets
21
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
22
+ from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
23
+ from typing_extensions import Annotated
24
+ from urllib.parse import quote
25
+
26
+ from pydantic import Field, StrictStr
27
+ from typing import Dict, List
28
+ from typing_extensions import Annotated
29
+ from wandelbots_api_client.v2_pydantic.models import Collider
30
+
31
+ from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
32
+ from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
33
+ from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
34
+
35
+ class StoreCollisionComponentsApi:
36
+ """NOTE: This class is auto generated by OpenAPI Generator
37
+ Ref: https://openapi-generator.tech
38
+
39
+ Do not edit the class manually.
40
+ """
41
+
42
+ def __init__(self, api_client=None) -> None:
43
+ if api_client is None:
44
+ api_client = ApiClient.get_default()
45
+ self.api_client = api_client
46
+
47
+ @validate_call
48
+ async def delete_stored_collider(
49
+ self,
50
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
51
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
52
+ _request_timeout: Union[
53
+ None,
54
+ Annotated[StrictFloat, Field(gt=0)],
55
+ Tuple[
56
+ Annotated[StrictFloat, Field(gt=0)],
57
+ Annotated[StrictFloat, Field(gt=0)]
58
+ ]
59
+ ] = None,
60
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
61
+ _content_type: Optional[StrictStr] = None,
62
+ _headers: Optional[Dict[StrictStr, Any]] = None,
63
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
64
+ ) -> None:
65
+ """Delete Collider
66
+
67
+ Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
68
+
69
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
70
+ :type cell: str
71
+ :param collider: Unique identifier addressing a collider. (required)
72
+ :type collider: str
73
+ :param _request_timeout: timeout setting for this request. If one
74
+ number provided, it will be total request
75
+ timeout. It can also be a pair (tuple) of
76
+ (connection, read) timeouts.
77
+ :type _request_timeout: int, tuple(int, int), optional
78
+ :param _request_auth: set to override the auth_settings for an a single
79
+ request; this effectively ignores the
80
+ authentication in the spec for a single request.
81
+ :type _request_auth: dict, optional
82
+ :param _content_type: force content-type for the request.
83
+ :type _content_type: str, Optional
84
+ :param _headers: set to override the headers for a single
85
+ request; this effectively ignores the headers
86
+ in the spec for a single request.
87
+ :type _headers: dict, optional
88
+ :param _host_index: set to override the host_index for a single
89
+ request; this effectively ignores the host_index
90
+ in the spec for a single request.
91
+ :type _host_index: int, optional
92
+ :return: Returns the result object.
93
+ """ # noqa: E501
94
+
95
+ _param = self._delete_stored_collider_serialize(
96
+ cell=cell,
97
+ collider=collider,
98
+ _request_auth=_request_auth,
99
+ _content_type=_content_type,
100
+ _headers=_headers,
101
+ _host_index=_host_index
102
+ )
103
+
104
+ _response_types_map: Dict[str, Optional[str]] = {
105
+ '204': None,
106
+ }
107
+
108
+
109
+ response_data = await self.api_client.call_api(
110
+ *_param,
111
+ _request_timeout=_request_timeout
112
+ )
113
+ await response_data.read()
114
+ return self.api_client.response_deserialize(
115
+ response_data=response_data,
116
+ response_types_map=_response_types_map,
117
+ ).data
118
+
119
+
120
+ @validate_call
121
+ async def delete_stored_collider_with_http_info(
122
+ self,
123
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
124
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
125
+ _request_timeout: Union[
126
+ None,
127
+ Annotated[StrictFloat, Field(gt=0)],
128
+ Tuple[
129
+ Annotated[StrictFloat, Field(gt=0)],
130
+ Annotated[StrictFloat, Field(gt=0)]
131
+ ]
132
+ ] = None,
133
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
134
+ _content_type: Optional[StrictStr] = None,
135
+ _headers: Optional[Dict[StrictStr, Any]] = None,
136
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
137
+ ) -> ApiResponse[None]:
138
+ """Delete Collider
139
+
140
+ Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
141
+
142
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
143
+ :type cell: str
144
+ :param collider: Unique identifier addressing a collider. (required)
145
+ :type collider: str
146
+ :param _request_timeout: timeout setting for this request. If one
147
+ number provided, it will be total request
148
+ timeout. It can also be a pair (tuple) of
149
+ (connection, read) timeouts.
150
+ :type _request_timeout: int, tuple(int, int), optional
151
+ :param _request_auth: set to override the auth_settings for an a single
152
+ request; this effectively ignores the
153
+ authentication in the spec for a single request.
154
+ :type _request_auth: dict, optional
155
+ :param _content_type: force content-type for the request.
156
+ :type _content_type: str, Optional
157
+ :param _headers: set to override the headers for a single
158
+ request; this effectively ignores the headers
159
+ in the spec for a single request.
160
+ :type _headers: dict, optional
161
+ :param _host_index: set to override the host_index for a single
162
+ request; this effectively ignores the host_index
163
+ in the spec for a single request.
164
+ :type _host_index: int, optional
165
+ :return: Returns the result object.
166
+ """ # noqa: E501
167
+
168
+ _param = self._delete_stored_collider_serialize(
169
+ cell=cell,
170
+ collider=collider,
171
+ _request_auth=_request_auth,
172
+ _content_type=_content_type,
173
+ _headers=_headers,
174
+ _host_index=_host_index
175
+ )
176
+
177
+ _response_types_map: Dict[str, Optional[str]] = {
178
+ '204': None,
179
+ }
180
+
181
+
182
+ response_data = await self.api_client.call_api(
183
+ *_param,
184
+ _request_timeout=_request_timeout
185
+ )
186
+ await response_data.read()
187
+ return self.api_client.response_deserialize(
188
+ response_data=response_data,
189
+ response_types_map=_response_types_map,
190
+ )
191
+
192
+
193
+ @validate_call
194
+ async def delete_stored_collider_without_preload_content(
195
+ self,
196
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
197
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
198
+ _request_timeout: Union[
199
+ None,
200
+ Annotated[StrictFloat, Field(gt=0)],
201
+ Tuple[
202
+ Annotated[StrictFloat, Field(gt=0)],
203
+ Annotated[StrictFloat, Field(gt=0)]
204
+ ]
205
+ ] = None,
206
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
207
+ _content_type: Optional[StrictStr] = None,
208
+ _headers: Optional[Dict[StrictStr, Any]] = None,
209
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
210
+ ) -> RESTResponseType:
211
+ """Delete Collider
212
+
213
+ Deletes the stored collider. <!-- theme: danger --> > This will delete persistently stored data.
214
+
215
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
216
+ :type cell: str
217
+ :param collider: Unique identifier addressing a collider. (required)
218
+ :type collider: str
219
+ :param _request_timeout: timeout setting for this request. If one
220
+ number provided, it will be total request
221
+ timeout. It can also be a pair (tuple) of
222
+ (connection, read) timeouts.
223
+ :type _request_timeout: int, tuple(int, int), optional
224
+ :param _request_auth: set to override the auth_settings for an a single
225
+ request; this effectively ignores the
226
+ authentication in the spec for a single request.
227
+ :type _request_auth: dict, optional
228
+ :param _content_type: force content-type for the request.
229
+ :type _content_type: str, Optional
230
+ :param _headers: set to override the headers for a single
231
+ request; this effectively ignores the headers
232
+ in the spec for a single request.
233
+ :type _headers: dict, optional
234
+ :param _host_index: set to override the host_index for a single
235
+ request; this effectively ignores the host_index
236
+ in the spec for a single request.
237
+ :type _host_index: int, optional
238
+ :return: Returns the result object.
239
+ """ # noqa: E501
240
+
241
+ _param = self._delete_stored_collider_serialize(
242
+ cell=cell,
243
+ collider=collider,
244
+ _request_auth=_request_auth,
245
+ _content_type=_content_type,
246
+ _headers=_headers,
247
+ _host_index=_host_index
248
+ )
249
+
250
+ _response_types_map: Dict[str, Optional[str]] = {
251
+ '204': None,
252
+ }
253
+
254
+
255
+ response_data = await self.api_client.call_api(
256
+ *_param,
257
+ _request_timeout=_request_timeout
258
+ )
259
+ return response_data.response
260
+
261
+
262
+ def _delete_stored_collider_serialize(
263
+ self,
264
+ cell,
265
+ collider,
266
+ _request_auth,
267
+ _content_type,
268
+ _headers,
269
+ _host_index,
270
+ ) -> RequestSerialized:
271
+
272
+ _host = None
273
+
274
+ _collection_formats: Dict[str, str] = {
275
+ }
276
+
277
+ _path_params: Dict[str, str] = {}
278
+ _query_params: List[Tuple[str, str]] = []
279
+ _header_params: Dict[str, Optional[str]] = _headers or {}
280
+ _form_params: List[Tuple[str, str]] = []
281
+ _files: Dict[str, Union[str, bytes]] = {}
282
+ _body_params: Optional[bytes] = None
283
+
284
+ # process the path parameters
285
+ if cell is not None:
286
+ _path_params['cell'] = cell
287
+ if collider is not None:
288
+ _path_params['collider'] = collider
289
+ # process the query parameters
290
+ # process the header parameters
291
+ # process the form parameters
292
+ # process the body parameter
293
+
294
+
295
+
296
+
297
+ # authentication setting
298
+ _auth_settings: List[str] = [
299
+ 'BasicAuth',
300
+ 'BearerAuth'
301
+ ]
302
+
303
+ return self.api_client.param_serialize(
304
+ method='DELETE',
305
+ resource_path='/cells/{cell}/store/collision/colliders/{collider}',
306
+ path_params=_path_params,
307
+ query_params=_query_params,
308
+ header_params=_header_params,
309
+ body=_body_params,
310
+ post_params=_form_params,
311
+ files=_files,
312
+ auth_settings=_auth_settings,
313
+ collection_formats=_collection_formats,
314
+ _host=_host,
315
+ _request_auth=_request_auth
316
+ )
317
+
318
+
319
+
320
+ @validate_call
321
+ async def delete_stored_collision_link_chain(
322
+ self,
323
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
324
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
325
+ _request_timeout: Union[
326
+ None,
327
+ Annotated[StrictFloat, Field(gt=0)],
328
+ Tuple[
329
+ Annotated[StrictFloat, Field(gt=0)],
330
+ Annotated[StrictFloat, Field(gt=0)]
331
+ ]
332
+ ] = None,
333
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
334
+ _content_type: Optional[StrictStr] = None,
335
+ _headers: Optional[Dict[StrictStr, Any]] = None,
336
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
337
+ ) -> None:
338
+ """Delete Link Chain
339
+
340
+ Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
341
+
342
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
343
+ :type cell: str
344
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
345
+ :type link_chain: str
346
+ :param _request_timeout: timeout setting for this request. If one
347
+ number provided, it will be total request
348
+ timeout. It can also be a pair (tuple) of
349
+ (connection, read) timeouts.
350
+ :type _request_timeout: int, tuple(int, int), optional
351
+ :param _request_auth: set to override the auth_settings for an a single
352
+ request; this effectively ignores the
353
+ authentication in the spec for a single request.
354
+ :type _request_auth: dict, optional
355
+ :param _content_type: force content-type for the request.
356
+ :type _content_type: str, Optional
357
+ :param _headers: set to override the headers for a single
358
+ request; this effectively ignores the headers
359
+ in the spec for a single request.
360
+ :type _headers: dict, optional
361
+ :param _host_index: set to override the host_index for a single
362
+ request; this effectively ignores the host_index
363
+ in the spec for a single request.
364
+ :type _host_index: int, optional
365
+ :return: Returns the result object.
366
+ """ # noqa: E501
367
+
368
+ _param = self._delete_stored_collision_link_chain_serialize(
369
+ cell=cell,
370
+ link_chain=link_chain,
371
+ _request_auth=_request_auth,
372
+ _content_type=_content_type,
373
+ _headers=_headers,
374
+ _host_index=_host_index
375
+ )
376
+
377
+ _response_types_map: Dict[str, Optional[str]] = {
378
+ '204': None,
379
+ }
380
+
381
+
382
+ response_data = await self.api_client.call_api(
383
+ *_param,
384
+ _request_timeout=_request_timeout
385
+ )
386
+ await response_data.read()
387
+ return self.api_client.response_deserialize(
388
+ response_data=response_data,
389
+ response_types_map=_response_types_map,
390
+ ).data
391
+
392
+
393
+ @validate_call
394
+ async def delete_stored_collision_link_chain_with_http_info(
395
+ self,
396
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
397
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
398
+ _request_timeout: Union[
399
+ None,
400
+ Annotated[StrictFloat, Field(gt=0)],
401
+ Tuple[
402
+ Annotated[StrictFloat, Field(gt=0)],
403
+ Annotated[StrictFloat, Field(gt=0)]
404
+ ]
405
+ ] = None,
406
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
407
+ _content_type: Optional[StrictStr] = None,
408
+ _headers: Optional[Dict[StrictStr, Any]] = None,
409
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
410
+ ) -> ApiResponse[None]:
411
+ """Delete Link Chain
412
+
413
+ Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
414
+
415
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
416
+ :type cell: str
417
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
418
+ :type link_chain: str
419
+ :param _request_timeout: timeout setting for this request. If one
420
+ number provided, it will be total request
421
+ timeout. It can also be a pair (tuple) of
422
+ (connection, read) timeouts.
423
+ :type _request_timeout: int, tuple(int, int), optional
424
+ :param _request_auth: set to override the auth_settings for an a single
425
+ request; this effectively ignores the
426
+ authentication in the spec for a single request.
427
+ :type _request_auth: dict, optional
428
+ :param _content_type: force content-type for the request.
429
+ :type _content_type: str, Optional
430
+ :param _headers: set to override the headers for a single
431
+ request; this effectively ignores the headers
432
+ in the spec for a single request.
433
+ :type _headers: dict, optional
434
+ :param _host_index: set to override the host_index for a single
435
+ request; this effectively ignores the host_index
436
+ in the spec for a single request.
437
+ :type _host_index: int, optional
438
+ :return: Returns the result object.
439
+ """ # noqa: E501
440
+
441
+ _param = self._delete_stored_collision_link_chain_serialize(
442
+ cell=cell,
443
+ link_chain=link_chain,
444
+ _request_auth=_request_auth,
445
+ _content_type=_content_type,
446
+ _headers=_headers,
447
+ _host_index=_host_index
448
+ )
449
+
450
+ _response_types_map: Dict[str, Optional[str]] = {
451
+ '204': None,
452
+ }
453
+
454
+
455
+ response_data = await self.api_client.call_api(
456
+ *_param,
457
+ _request_timeout=_request_timeout
458
+ )
459
+ await response_data.read()
460
+ return self.api_client.response_deserialize(
461
+ response_data=response_data,
462
+ response_types_map=_response_types_map,
463
+ )
464
+
465
+
466
+ @validate_call
467
+ async def delete_stored_collision_link_chain_without_preload_content(
468
+ self,
469
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
470
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
471
+ _request_timeout: Union[
472
+ None,
473
+ Annotated[StrictFloat, Field(gt=0)],
474
+ Tuple[
475
+ Annotated[StrictFloat, Field(gt=0)],
476
+ Annotated[StrictFloat, Field(gt=0)]
477
+ ]
478
+ ] = None,
479
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
480
+ _content_type: Optional[StrictStr] = None,
481
+ _headers: Optional[Dict[StrictStr, Any]] = None,
482
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
483
+ ) -> RESTResponseType:
484
+ """Delete Link Chain
485
+
486
+ Deletes the stored link chain. <!-- theme: danger --> > This will delete persistently stored data.
487
+
488
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
489
+ :type cell: str
490
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
491
+ :type link_chain: str
492
+ :param _request_timeout: timeout setting for this request. If one
493
+ number provided, it will be total request
494
+ timeout. It can also be a pair (tuple) of
495
+ (connection, read) timeouts.
496
+ :type _request_timeout: int, tuple(int, int), optional
497
+ :param _request_auth: set to override the auth_settings for an a single
498
+ request; this effectively ignores the
499
+ authentication in the spec for a single request.
500
+ :type _request_auth: dict, optional
501
+ :param _content_type: force content-type for the request.
502
+ :type _content_type: str, Optional
503
+ :param _headers: set to override the headers for a single
504
+ request; this effectively ignores the headers
505
+ in the spec for a single request.
506
+ :type _headers: dict, optional
507
+ :param _host_index: set to override the host_index for a single
508
+ request; this effectively ignores the host_index
509
+ in the spec for a single request.
510
+ :type _host_index: int, optional
511
+ :return: Returns the result object.
512
+ """ # noqa: E501
513
+
514
+ _param = self._delete_stored_collision_link_chain_serialize(
515
+ cell=cell,
516
+ link_chain=link_chain,
517
+ _request_auth=_request_auth,
518
+ _content_type=_content_type,
519
+ _headers=_headers,
520
+ _host_index=_host_index
521
+ )
522
+
523
+ _response_types_map: Dict[str, Optional[str]] = {
524
+ '204': None,
525
+ }
526
+
527
+
528
+ response_data = await self.api_client.call_api(
529
+ *_param,
530
+ _request_timeout=_request_timeout
531
+ )
532
+ return response_data.response
533
+
534
+
535
+ def _delete_stored_collision_link_chain_serialize(
536
+ self,
537
+ cell,
538
+ link_chain,
539
+ _request_auth,
540
+ _content_type,
541
+ _headers,
542
+ _host_index,
543
+ ) -> RequestSerialized:
544
+
545
+ _host = None
546
+
547
+ _collection_formats: Dict[str, str] = {
548
+ }
549
+
550
+ _path_params: Dict[str, str] = {}
551
+ _query_params: List[Tuple[str, str]] = []
552
+ _header_params: Dict[str, Optional[str]] = _headers or {}
553
+ _form_params: List[Tuple[str, str]] = []
554
+ _files: Dict[str, Union[str, bytes]] = {}
555
+ _body_params: Optional[bytes] = None
556
+
557
+ # process the path parameters
558
+ if cell is not None:
559
+ _path_params['cell'] = cell
560
+ if link_chain is not None:
561
+ _path_params['link-chain'] = link_chain
562
+ # process the query parameters
563
+ # process the header parameters
564
+ # process the form parameters
565
+ # process the body parameter
566
+
567
+
568
+
569
+
570
+ # authentication setting
571
+ _auth_settings: List[str] = [
572
+ 'BasicAuth',
573
+ 'BearerAuth'
574
+ ]
575
+
576
+ return self.api_client.param_serialize(
577
+ method='DELETE',
578
+ resource_path='/cells/{cell}/store/collision/link-chains/{link-chain}',
579
+ path_params=_path_params,
580
+ query_params=_query_params,
581
+ header_params=_header_params,
582
+ body=_body_params,
583
+ post_params=_form_params,
584
+ files=_files,
585
+ auth_settings=_auth_settings,
586
+ collection_formats=_collection_formats,
587
+ _host=_host,
588
+ _request_auth=_request_auth
589
+ )
590
+
591
+
592
+
593
+ @validate_call
594
+ async def delete_stored_collision_tool(
595
+ self,
596
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
597
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
598
+ _request_timeout: Union[
599
+ None,
600
+ Annotated[StrictFloat, Field(gt=0)],
601
+ Tuple[
602
+ Annotated[StrictFloat, Field(gt=0)],
603
+ Annotated[StrictFloat, Field(gt=0)]
604
+ ]
605
+ ] = None,
606
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
607
+ _content_type: Optional[StrictStr] = None,
608
+ _headers: Optional[Dict[StrictStr, Any]] = None,
609
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
610
+ ) -> None:
611
+ """Delete Tool
612
+
613
+ Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
614
+
615
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
616
+ :type cell: str
617
+ :param tool: Unique identifier addressing a collision tool. (required)
618
+ :type tool: str
619
+ :param _request_timeout: timeout setting for this request. If one
620
+ number provided, it will be total request
621
+ timeout. It can also be a pair (tuple) of
622
+ (connection, read) timeouts.
623
+ :type _request_timeout: int, tuple(int, int), optional
624
+ :param _request_auth: set to override the auth_settings for an a single
625
+ request; this effectively ignores the
626
+ authentication in the spec for a single request.
627
+ :type _request_auth: dict, optional
628
+ :param _content_type: force content-type for the request.
629
+ :type _content_type: str, Optional
630
+ :param _headers: set to override the headers for a single
631
+ request; this effectively ignores the headers
632
+ in the spec for a single request.
633
+ :type _headers: dict, optional
634
+ :param _host_index: set to override the host_index for a single
635
+ request; this effectively ignores the host_index
636
+ in the spec for a single request.
637
+ :type _host_index: int, optional
638
+ :return: Returns the result object.
639
+ """ # noqa: E501
640
+
641
+ _param = self._delete_stored_collision_tool_serialize(
642
+ cell=cell,
643
+ tool=tool,
644
+ _request_auth=_request_auth,
645
+ _content_type=_content_type,
646
+ _headers=_headers,
647
+ _host_index=_host_index
648
+ )
649
+
650
+ _response_types_map: Dict[str, Optional[str]] = {
651
+ '204': None,
652
+ }
653
+
654
+
655
+ response_data = await self.api_client.call_api(
656
+ *_param,
657
+ _request_timeout=_request_timeout
658
+ )
659
+ await response_data.read()
660
+ return self.api_client.response_deserialize(
661
+ response_data=response_data,
662
+ response_types_map=_response_types_map,
663
+ ).data
664
+
665
+
666
+ @validate_call
667
+ async def delete_stored_collision_tool_with_http_info(
668
+ self,
669
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
670
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
671
+ _request_timeout: Union[
672
+ None,
673
+ Annotated[StrictFloat, Field(gt=0)],
674
+ Tuple[
675
+ Annotated[StrictFloat, Field(gt=0)],
676
+ Annotated[StrictFloat, Field(gt=0)]
677
+ ]
678
+ ] = None,
679
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
680
+ _content_type: Optional[StrictStr] = None,
681
+ _headers: Optional[Dict[StrictStr, Any]] = None,
682
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
683
+ ) -> ApiResponse[None]:
684
+ """Delete Tool
685
+
686
+ Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
687
+
688
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
689
+ :type cell: str
690
+ :param tool: Unique identifier addressing a collision tool. (required)
691
+ :type tool: str
692
+ :param _request_timeout: timeout setting for this request. If one
693
+ number provided, it will be total request
694
+ timeout. It can also be a pair (tuple) of
695
+ (connection, read) timeouts.
696
+ :type _request_timeout: int, tuple(int, int), optional
697
+ :param _request_auth: set to override the auth_settings for an a single
698
+ request; this effectively ignores the
699
+ authentication in the spec for a single request.
700
+ :type _request_auth: dict, optional
701
+ :param _content_type: force content-type for the request.
702
+ :type _content_type: str, Optional
703
+ :param _headers: set to override the headers for a single
704
+ request; this effectively ignores the headers
705
+ in the spec for a single request.
706
+ :type _headers: dict, optional
707
+ :param _host_index: set to override the host_index for a single
708
+ request; this effectively ignores the host_index
709
+ in the spec for a single request.
710
+ :type _host_index: int, optional
711
+ :return: Returns the result object.
712
+ """ # noqa: E501
713
+
714
+ _param = self._delete_stored_collision_tool_serialize(
715
+ cell=cell,
716
+ tool=tool,
717
+ _request_auth=_request_auth,
718
+ _content_type=_content_type,
719
+ _headers=_headers,
720
+ _host_index=_host_index
721
+ )
722
+
723
+ _response_types_map: Dict[str, Optional[str]] = {
724
+ '204': None,
725
+ }
726
+
727
+
728
+ response_data = await self.api_client.call_api(
729
+ *_param,
730
+ _request_timeout=_request_timeout
731
+ )
732
+ await response_data.read()
733
+ return self.api_client.response_deserialize(
734
+ response_data=response_data,
735
+ response_types_map=_response_types_map,
736
+ )
737
+
738
+
739
+ @validate_call
740
+ async def delete_stored_collision_tool_without_preload_content(
741
+ self,
742
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
743
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
744
+ _request_timeout: Union[
745
+ None,
746
+ Annotated[StrictFloat, Field(gt=0)],
747
+ Tuple[
748
+ Annotated[StrictFloat, Field(gt=0)],
749
+ Annotated[StrictFloat, Field(gt=0)]
750
+ ]
751
+ ] = None,
752
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
753
+ _content_type: Optional[StrictStr] = None,
754
+ _headers: Optional[Dict[StrictStr, Any]] = None,
755
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
756
+ ) -> RESTResponseType:
757
+ """Delete Tool
758
+
759
+ Deletes the stored tool. <!-- theme: danger --> > This will delete persistently stored data.
760
+
761
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
762
+ :type cell: str
763
+ :param tool: Unique identifier addressing a collision tool. (required)
764
+ :type tool: str
765
+ :param _request_timeout: timeout setting for this request. If one
766
+ number provided, it will be total request
767
+ timeout. It can also be a pair (tuple) of
768
+ (connection, read) timeouts.
769
+ :type _request_timeout: int, tuple(int, int), optional
770
+ :param _request_auth: set to override the auth_settings for an a single
771
+ request; this effectively ignores the
772
+ authentication in the spec for a single request.
773
+ :type _request_auth: dict, optional
774
+ :param _content_type: force content-type for the request.
775
+ :type _content_type: str, Optional
776
+ :param _headers: set to override the headers for a single
777
+ request; this effectively ignores the headers
778
+ in the spec for a single request.
779
+ :type _headers: dict, optional
780
+ :param _host_index: set to override the host_index for a single
781
+ request; this effectively ignores the host_index
782
+ in the spec for a single request.
783
+ :type _host_index: int, optional
784
+ :return: Returns the result object.
785
+ """ # noqa: E501
786
+
787
+ _param = self._delete_stored_collision_tool_serialize(
788
+ cell=cell,
789
+ tool=tool,
790
+ _request_auth=_request_auth,
791
+ _content_type=_content_type,
792
+ _headers=_headers,
793
+ _host_index=_host_index
794
+ )
795
+
796
+ _response_types_map: Dict[str, Optional[str]] = {
797
+ '204': None,
798
+ }
799
+
800
+
801
+ response_data = await self.api_client.call_api(
802
+ *_param,
803
+ _request_timeout=_request_timeout
804
+ )
805
+ return response_data.response
806
+
807
+
808
+ def _delete_stored_collision_tool_serialize(
809
+ self,
810
+ cell,
811
+ tool,
812
+ _request_auth,
813
+ _content_type,
814
+ _headers,
815
+ _host_index,
816
+ ) -> RequestSerialized:
817
+
818
+ _host = None
819
+
820
+ _collection_formats: Dict[str, str] = {
821
+ }
822
+
823
+ _path_params: Dict[str, str] = {}
824
+ _query_params: List[Tuple[str, str]] = []
825
+ _header_params: Dict[str, Optional[str]] = _headers or {}
826
+ _form_params: List[Tuple[str, str]] = []
827
+ _files: Dict[str, Union[str, bytes]] = {}
828
+ _body_params: Optional[bytes] = None
829
+
830
+ # process the path parameters
831
+ if cell is not None:
832
+ _path_params['cell'] = cell
833
+ if tool is not None:
834
+ _path_params['tool'] = tool
835
+ # process the query parameters
836
+ # process the header parameters
837
+ # process the form parameters
838
+ # process the body parameter
839
+
840
+
841
+
842
+
843
+ # authentication setting
844
+ _auth_settings: List[str] = [
845
+ 'BasicAuth',
846
+ 'BearerAuth'
847
+ ]
848
+
849
+ return self.api_client.param_serialize(
850
+ method='DELETE',
851
+ resource_path='/cells/{cell}/store/collision/tools/{tool}',
852
+ path_params=_path_params,
853
+ query_params=_query_params,
854
+ header_params=_header_params,
855
+ body=_body_params,
856
+ post_params=_form_params,
857
+ files=_files,
858
+ auth_settings=_auth_settings,
859
+ collection_formats=_collection_formats,
860
+ _host=_host,
861
+ _request_auth=_request_auth
862
+ )
863
+
864
+
865
+
866
+ @validate_call
867
+ async def get_stored_collider(
868
+ self,
869
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
870
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
871
+ _request_timeout: Union[
872
+ None,
873
+ Annotated[StrictFloat, Field(gt=0)],
874
+ Tuple[
875
+ Annotated[StrictFloat, Field(gt=0)],
876
+ Annotated[StrictFloat, Field(gt=0)]
877
+ ]
878
+ ] = None,
879
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
880
+ _content_type: Optional[StrictStr] = None,
881
+ _headers: Optional[Dict[StrictStr, Any]] = None,
882
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
883
+ ) -> Collider:
884
+ """Get Collider
885
+
886
+ Returns the collider.
887
+
888
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
889
+ :type cell: str
890
+ :param collider: Unique identifier addressing a collider. (required)
891
+ :type collider: str
892
+ :param _request_timeout: timeout setting for this request. If one
893
+ number provided, it will be total request
894
+ timeout. It can also be a pair (tuple) of
895
+ (connection, read) timeouts.
896
+ :type _request_timeout: int, tuple(int, int), optional
897
+ :param _request_auth: set to override the auth_settings for an a single
898
+ request; this effectively ignores the
899
+ authentication in the spec for a single request.
900
+ :type _request_auth: dict, optional
901
+ :param _content_type: force content-type for the request.
902
+ :type _content_type: str, Optional
903
+ :param _headers: set to override the headers for a single
904
+ request; this effectively ignores the headers
905
+ in the spec for a single request.
906
+ :type _headers: dict, optional
907
+ :param _host_index: set to override the host_index for a single
908
+ request; this effectively ignores the host_index
909
+ in the spec for a single request.
910
+ :type _host_index: int, optional
911
+ :return: Returns the result object.
912
+ """ # noqa: E501
913
+
914
+ _param = self._get_stored_collider_serialize(
915
+ cell=cell,
916
+ collider=collider,
917
+ _request_auth=_request_auth,
918
+ _content_type=_content_type,
919
+ _headers=_headers,
920
+ _host_index=_host_index
921
+ )
922
+
923
+ _response_types_map: Dict[str, Optional[str]] = {
924
+ '200': "Collider",
925
+ '404': None,
926
+ }
927
+
928
+
929
+ response_data = await self.api_client.call_api(
930
+ *_param,
931
+ _request_timeout=_request_timeout
932
+ )
933
+ await response_data.read()
934
+ return self.api_client.response_deserialize(
935
+ response_data=response_data,
936
+ response_types_map=_response_types_map,
937
+ ).data
938
+
939
+
940
+ @validate_call
941
+ async def get_stored_collider_with_http_info(
942
+ self,
943
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
944
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
945
+ _request_timeout: Union[
946
+ None,
947
+ Annotated[StrictFloat, Field(gt=0)],
948
+ Tuple[
949
+ Annotated[StrictFloat, Field(gt=0)],
950
+ Annotated[StrictFloat, Field(gt=0)]
951
+ ]
952
+ ] = None,
953
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
954
+ _content_type: Optional[StrictStr] = None,
955
+ _headers: Optional[Dict[StrictStr, Any]] = None,
956
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
957
+ ) -> ApiResponse[Collider]:
958
+ """Get Collider
959
+
960
+ Returns the collider.
961
+
962
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
963
+ :type cell: str
964
+ :param collider: Unique identifier addressing a collider. (required)
965
+ :type collider: str
966
+ :param _request_timeout: timeout setting for this request. If one
967
+ number provided, it will be total request
968
+ timeout. It can also be a pair (tuple) of
969
+ (connection, read) timeouts.
970
+ :type _request_timeout: int, tuple(int, int), optional
971
+ :param _request_auth: set to override the auth_settings for an a single
972
+ request; this effectively ignores the
973
+ authentication in the spec for a single request.
974
+ :type _request_auth: dict, optional
975
+ :param _content_type: force content-type for the request.
976
+ :type _content_type: str, Optional
977
+ :param _headers: set to override the headers for a single
978
+ request; this effectively ignores the headers
979
+ in the spec for a single request.
980
+ :type _headers: dict, optional
981
+ :param _host_index: set to override the host_index for a single
982
+ request; this effectively ignores the host_index
983
+ in the spec for a single request.
984
+ :type _host_index: int, optional
985
+ :return: Returns the result object.
986
+ """ # noqa: E501
987
+
988
+ _param = self._get_stored_collider_serialize(
989
+ cell=cell,
990
+ collider=collider,
991
+ _request_auth=_request_auth,
992
+ _content_type=_content_type,
993
+ _headers=_headers,
994
+ _host_index=_host_index
995
+ )
996
+
997
+ _response_types_map: Dict[str, Optional[str]] = {
998
+ '200': "Collider",
999
+ '404': None,
1000
+ }
1001
+
1002
+
1003
+ response_data = await self.api_client.call_api(
1004
+ *_param,
1005
+ _request_timeout=_request_timeout
1006
+ )
1007
+ await response_data.read()
1008
+ return self.api_client.response_deserialize(
1009
+ response_data=response_data,
1010
+ response_types_map=_response_types_map,
1011
+ )
1012
+
1013
+
1014
+ @validate_call
1015
+ async def get_stored_collider_without_preload_content(
1016
+ self,
1017
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1018
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
1019
+ _request_timeout: Union[
1020
+ None,
1021
+ Annotated[StrictFloat, Field(gt=0)],
1022
+ Tuple[
1023
+ Annotated[StrictFloat, Field(gt=0)],
1024
+ Annotated[StrictFloat, Field(gt=0)]
1025
+ ]
1026
+ ] = None,
1027
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1028
+ _content_type: Optional[StrictStr] = None,
1029
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1030
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1031
+ ) -> RESTResponseType:
1032
+ """Get Collider
1033
+
1034
+ Returns the collider.
1035
+
1036
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1037
+ :type cell: str
1038
+ :param collider: Unique identifier addressing a collider. (required)
1039
+ :type collider: str
1040
+ :param _request_timeout: timeout setting for this request. If one
1041
+ number provided, it will be total request
1042
+ timeout. It can also be a pair (tuple) of
1043
+ (connection, read) timeouts.
1044
+ :type _request_timeout: int, tuple(int, int), optional
1045
+ :param _request_auth: set to override the auth_settings for an a single
1046
+ request; this effectively ignores the
1047
+ authentication in the spec for a single request.
1048
+ :type _request_auth: dict, optional
1049
+ :param _content_type: force content-type for the request.
1050
+ :type _content_type: str, Optional
1051
+ :param _headers: set to override the headers for a single
1052
+ request; this effectively ignores the headers
1053
+ in the spec for a single request.
1054
+ :type _headers: dict, optional
1055
+ :param _host_index: set to override the host_index for a single
1056
+ request; this effectively ignores the host_index
1057
+ in the spec for a single request.
1058
+ :type _host_index: int, optional
1059
+ :return: Returns the result object.
1060
+ """ # noqa: E501
1061
+
1062
+ _param = self._get_stored_collider_serialize(
1063
+ cell=cell,
1064
+ collider=collider,
1065
+ _request_auth=_request_auth,
1066
+ _content_type=_content_type,
1067
+ _headers=_headers,
1068
+ _host_index=_host_index
1069
+ )
1070
+
1071
+ _response_types_map: Dict[str, Optional[str]] = {
1072
+ '200': "Collider",
1073
+ '404': None,
1074
+ }
1075
+
1076
+
1077
+ response_data = await self.api_client.call_api(
1078
+ *_param,
1079
+ _request_timeout=_request_timeout
1080
+ )
1081
+ return response_data.response
1082
+
1083
+
1084
+ def _get_stored_collider_serialize(
1085
+ self,
1086
+ cell,
1087
+ collider,
1088
+ _request_auth,
1089
+ _content_type,
1090
+ _headers,
1091
+ _host_index,
1092
+ ) -> RequestSerialized:
1093
+
1094
+ _host = None
1095
+
1096
+ _collection_formats: Dict[str, str] = {
1097
+ }
1098
+
1099
+ _path_params: Dict[str, str] = {}
1100
+ _query_params: List[Tuple[str, str]] = []
1101
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1102
+ _form_params: List[Tuple[str, str]] = []
1103
+ _files: Dict[str, Union[str, bytes]] = {}
1104
+ _body_params: Optional[bytes] = None
1105
+
1106
+ # process the path parameters
1107
+ if cell is not None:
1108
+ _path_params['cell'] = cell
1109
+ if collider is not None:
1110
+ _path_params['collider'] = collider
1111
+ # process the query parameters
1112
+ # process the header parameters
1113
+ # process the form parameters
1114
+ # process the body parameter
1115
+
1116
+
1117
+ # set the HTTP header `Accept`
1118
+ _header_params['Accept'] = self.api_client.select_header_accept(
1119
+ [
1120
+ 'application/json'
1121
+ ]
1122
+ )
1123
+
1124
+
1125
+ # authentication setting
1126
+ _auth_settings: List[str] = [
1127
+ 'BasicAuth',
1128
+ 'BearerAuth'
1129
+ ]
1130
+
1131
+ return self.api_client.param_serialize(
1132
+ method='GET',
1133
+ resource_path='/cells/{cell}/store/collision/colliders/{collider}',
1134
+ path_params=_path_params,
1135
+ query_params=_query_params,
1136
+ header_params=_header_params,
1137
+ body=_body_params,
1138
+ post_params=_form_params,
1139
+ files=_files,
1140
+ auth_settings=_auth_settings,
1141
+ collection_formats=_collection_formats,
1142
+ _host=_host,
1143
+ _request_auth=_request_auth
1144
+ )
1145
+
1146
+
1147
+
1148
+ @validate_call
1149
+ async def get_stored_collision_link_chain(
1150
+ self,
1151
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1152
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
1153
+ _request_timeout: Union[
1154
+ None,
1155
+ Annotated[StrictFloat, Field(gt=0)],
1156
+ Tuple[
1157
+ Annotated[StrictFloat, Field(gt=0)],
1158
+ Annotated[StrictFloat, Field(gt=0)]
1159
+ ]
1160
+ ] = None,
1161
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1162
+ _content_type: Optional[StrictStr] = None,
1163
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1164
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1165
+ ) -> List[Dict[str, Collider]]:
1166
+ """Get Link Chain
1167
+
1168
+ Returns the collision link chain.
1169
+
1170
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1171
+ :type cell: str
1172
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
1173
+ :type link_chain: str
1174
+ :param _request_timeout: timeout setting for this request. If one
1175
+ number provided, it will be total request
1176
+ timeout. It can also be a pair (tuple) of
1177
+ (connection, read) timeouts.
1178
+ :type _request_timeout: int, tuple(int, int), optional
1179
+ :param _request_auth: set to override the auth_settings for an a single
1180
+ request; this effectively ignores the
1181
+ authentication in the spec for a single request.
1182
+ :type _request_auth: dict, optional
1183
+ :param _content_type: force content-type for the request.
1184
+ :type _content_type: str, Optional
1185
+ :param _headers: set to override the headers for a single
1186
+ request; this effectively ignores the headers
1187
+ in the spec for a single request.
1188
+ :type _headers: dict, optional
1189
+ :param _host_index: set to override the host_index for a single
1190
+ request; this effectively ignores the host_index
1191
+ in the spec for a single request.
1192
+ :type _host_index: int, optional
1193
+ :return: Returns the result object.
1194
+ """ # noqa: E501
1195
+
1196
+ _param = self._get_stored_collision_link_chain_serialize(
1197
+ cell=cell,
1198
+ link_chain=link_chain,
1199
+ _request_auth=_request_auth,
1200
+ _content_type=_content_type,
1201
+ _headers=_headers,
1202
+ _host_index=_host_index
1203
+ )
1204
+
1205
+ _response_types_map: Dict[str, Optional[str]] = {
1206
+ '200': "List[Dict[str, Collider]]",
1207
+ '404': None,
1208
+ }
1209
+
1210
+
1211
+ response_data = await self.api_client.call_api(
1212
+ *_param,
1213
+ _request_timeout=_request_timeout
1214
+ )
1215
+ await response_data.read()
1216
+ return self.api_client.response_deserialize(
1217
+ response_data=response_data,
1218
+ response_types_map=_response_types_map,
1219
+ ).data
1220
+
1221
+
1222
+ @validate_call
1223
+ async def get_stored_collision_link_chain_with_http_info(
1224
+ self,
1225
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1226
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
1227
+ _request_timeout: Union[
1228
+ None,
1229
+ Annotated[StrictFloat, Field(gt=0)],
1230
+ Tuple[
1231
+ Annotated[StrictFloat, Field(gt=0)],
1232
+ Annotated[StrictFloat, Field(gt=0)]
1233
+ ]
1234
+ ] = None,
1235
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1236
+ _content_type: Optional[StrictStr] = None,
1237
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1238
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1239
+ ) -> ApiResponse[List[Dict[str, Collider]]]:
1240
+ """Get Link Chain
1241
+
1242
+ Returns the collision link chain.
1243
+
1244
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1245
+ :type cell: str
1246
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
1247
+ :type link_chain: str
1248
+ :param _request_timeout: timeout setting for this request. If one
1249
+ number provided, it will be total request
1250
+ timeout. It can also be a pair (tuple) of
1251
+ (connection, read) timeouts.
1252
+ :type _request_timeout: int, tuple(int, int), optional
1253
+ :param _request_auth: set to override the auth_settings for an a single
1254
+ request; this effectively ignores the
1255
+ authentication in the spec for a single request.
1256
+ :type _request_auth: dict, optional
1257
+ :param _content_type: force content-type for the request.
1258
+ :type _content_type: str, Optional
1259
+ :param _headers: set to override the headers for a single
1260
+ request; this effectively ignores the headers
1261
+ in the spec for a single request.
1262
+ :type _headers: dict, optional
1263
+ :param _host_index: set to override the host_index for a single
1264
+ request; this effectively ignores the host_index
1265
+ in the spec for a single request.
1266
+ :type _host_index: int, optional
1267
+ :return: Returns the result object.
1268
+ """ # noqa: E501
1269
+
1270
+ _param = self._get_stored_collision_link_chain_serialize(
1271
+ cell=cell,
1272
+ link_chain=link_chain,
1273
+ _request_auth=_request_auth,
1274
+ _content_type=_content_type,
1275
+ _headers=_headers,
1276
+ _host_index=_host_index
1277
+ )
1278
+
1279
+ _response_types_map: Dict[str, Optional[str]] = {
1280
+ '200': "List[Dict[str, Collider]]",
1281
+ '404': None,
1282
+ }
1283
+
1284
+
1285
+ response_data = await self.api_client.call_api(
1286
+ *_param,
1287
+ _request_timeout=_request_timeout
1288
+ )
1289
+ await response_data.read()
1290
+ return self.api_client.response_deserialize(
1291
+ response_data=response_data,
1292
+ response_types_map=_response_types_map,
1293
+ )
1294
+
1295
+
1296
+ @validate_call
1297
+ async def get_stored_collision_link_chain_without_preload_content(
1298
+ self,
1299
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1300
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
1301
+ _request_timeout: Union[
1302
+ None,
1303
+ Annotated[StrictFloat, Field(gt=0)],
1304
+ Tuple[
1305
+ Annotated[StrictFloat, Field(gt=0)],
1306
+ Annotated[StrictFloat, Field(gt=0)]
1307
+ ]
1308
+ ] = None,
1309
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1310
+ _content_type: Optional[StrictStr] = None,
1311
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1312
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1313
+ ) -> RESTResponseType:
1314
+ """Get Link Chain
1315
+
1316
+ Returns the collision link chain.
1317
+
1318
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1319
+ :type cell: str
1320
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
1321
+ :type link_chain: str
1322
+ :param _request_timeout: timeout setting for this request. If one
1323
+ number provided, it will be total request
1324
+ timeout. It can also be a pair (tuple) of
1325
+ (connection, read) timeouts.
1326
+ :type _request_timeout: int, tuple(int, int), optional
1327
+ :param _request_auth: set to override the auth_settings for an a single
1328
+ request; this effectively ignores the
1329
+ authentication in the spec for a single request.
1330
+ :type _request_auth: dict, optional
1331
+ :param _content_type: force content-type for the request.
1332
+ :type _content_type: str, Optional
1333
+ :param _headers: set to override the headers for a single
1334
+ request; this effectively ignores the headers
1335
+ in the spec for a single request.
1336
+ :type _headers: dict, optional
1337
+ :param _host_index: set to override the host_index for a single
1338
+ request; this effectively ignores the host_index
1339
+ in the spec for a single request.
1340
+ :type _host_index: int, optional
1341
+ :return: Returns the result object.
1342
+ """ # noqa: E501
1343
+
1344
+ _param = self._get_stored_collision_link_chain_serialize(
1345
+ cell=cell,
1346
+ link_chain=link_chain,
1347
+ _request_auth=_request_auth,
1348
+ _content_type=_content_type,
1349
+ _headers=_headers,
1350
+ _host_index=_host_index
1351
+ )
1352
+
1353
+ _response_types_map: Dict[str, Optional[str]] = {
1354
+ '200': "List[Dict[str, Collider]]",
1355
+ '404': None,
1356
+ }
1357
+
1358
+
1359
+ response_data = await self.api_client.call_api(
1360
+ *_param,
1361
+ _request_timeout=_request_timeout
1362
+ )
1363
+ return response_data.response
1364
+
1365
+
1366
+ def _get_stored_collision_link_chain_serialize(
1367
+ self,
1368
+ cell,
1369
+ link_chain,
1370
+ _request_auth,
1371
+ _content_type,
1372
+ _headers,
1373
+ _host_index,
1374
+ ) -> RequestSerialized:
1375
+
1376
+ _host = None
1377
+
1378
+ _collection_formats: Dict[str, str] = {
1379
+ }
1380
+
1381
+ _path_params: Dict[str, str] = {}
1382
+ _query_params: List[Tuple[str, str]] = []
1383
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1384
+ _form_params: List[Tuple[str, str]] = []
1385
+ _files: Dict[str, Union[str, bytes]] = {}
1386
+ _body_params: Optional[bytes] = None
1387
+
1388
+ # process the path parameters
1389
+ if cell is not None:
1390
+ _path_params['cell'] = cell
1391
+ if link_chain is not None:
1392
+ _path_params['link-chain'] = link_chain
1393
+ # process the query parameters
1394
+ # process the header parameters
1395
+ # process the form parameters
1396
+ # process the body parameter
1397
+
1398
+
1399
+ # set the HTTP header `Accept`
1400
+ _header_params['Accept'] = self.api_client.select_header_accept(
1401
+ [
1402
+ 'application/json'
1403
+ ]
1404
+ )
1405
+
1406
+
1407
+ # authentication setting
1408
+ _auth_settings: List[str] = [
1409
+ 'BasicAuth',
1410
+ 'BearerAuth'
1411
+ ]
1412
+
1413
+ return self.api_client.param_serialize(
1414
+ method='GET',
1415
+ resource_path='/cells/{cell}/store/collision/link-chains/{link-chain}',
1416
+ path_params=_path_params,
1417
+ query_params=_query_params,
1418
+ header_params=_header_params,
1419
+ body=_body_params,
1420
+ post_params=_form_params,
1421
+ files=_files,
1422
+ auth_settings=_auth_settings,
1423
+ collection_formats=_collection_formats,
1424
+ _host=_host,
1425
+ _request_auth=_request_auth
1426
+ )
1427
+
1428
+
1429
+
1430
+ @validate_call
1431
+ async def get_stored_collision_tool(
1432
+ self,
1433
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1434
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
1435
+ _request_timeout: Union[
1436
+ None,
1437
+ Annotated[StrictFloat, Field(gt=0)],
1438
+ Tuple[
1439
+ Annotated[StrictFloat, Field(gt=0)],
1440
+ Annotated[StrictFloat, Field(gt=0)]
1441
+ ]
1442
+ ] = None,
1443
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1444
+ _content_type: Optional[StrictStr] = None,
1445
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1446
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1447
+ ) -> Dict[str, Collider]:
1448
+ """Get Tool
1449
+
1450
+ Returns the stored tool.
1451
+
1452
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1453
+ :type cell: str
1454
+ :param tool: Unique identifier addressing a collision tool. (required)
1455
+ :type tool: str
1456
+ :param _request_timeout: timeout setting for this request. If one
1457
+ number provided, it will be total request
1458
+ timeout. It can also be a pair (tuple) of
1459
+ (connection, read) timeouts.
1460
+ :type _request_timeout: int, tuple(int, int), optional
1461
+ :param _request_auth: set to override the auth_settings for an a single
1462
+ request; this effectively ignores the
1463
+ authentication in the spec for a single request.
1464
+ :type _request_auth: dict, optional
1465
+ :param _content_type: force content-type for the request.
1466
+ :type _content_type: str, Optional
1467
+ :param _headers: set to override the headers for a single
1468
+ request; this effectively ignores the headers
1469
+ in the spec for a single request.
1470
+ :type _headers: dict, optional
1471
+ :param _host_index: set to override the host_index for a single
1472
+ request; this effectively ignores the host_index
1473
+ in the spec for a single request.
1474
+ :type _host_index: int, optional
1475
+ :return: Returns the result object.
1476
+ """ # noqa: E501
1477
+
1478
+ _param = self._get_stored_collision_tool_serialize(
1479
+ cell=cell,
1480
+ tool=tool,
1481
+ _request_auth=_request_auth,
1482
+ _content_type=_content_type,
1483
+ _headers=_headers,
1484
+ _host_index=_host_index
1485
+ )
1486
+
1487
+ _response_types_map: Dict[str, Optional[str]] = {
1488
+ '200': "Dict[str, Collider]",
1489
+ '404': None,
1490
+ }
1491
+
1492
+
1493
+ response_data = await self.api_client.call_api(
1494
+ *_param,
1495
+ _request_timeout=_request_timeout
1496
+ )
1497
+ await response_data.read()
1498
+ return self.api_client.response_deserialize(
1499
+ response_data=response_data,
1500
+ response_types_map=_response_types_map,
1501
+ ).data
1502
+
1503
+
1504
+ @validate_call
1505
+ async def get_stored_collision_tool_with_http_info(
1506
+ self,
1507
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1508
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
1509
+ _request_timeout: Union[
1510
+ None,
1511
+ Annotated[StrictFloat, Field(gt=0)],
1512
+ Tuple[
1513
+ Annotated[StrictFloat, Field(gt=0)],
1514
+ Annotated[StrictFloat, Field(gt=0)]
1515
+ ]
1516
+ ] = None,
1517
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1518
+ _content_type: Optional[StrictStr] = None,
1519
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1520
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1521
+ ) -> ApiResponse[Dict[str, Collider]]:
1522
+ """Get Tool
1523
+
1524
+ Returns the stored tool.
1525
+
1526
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1527
+ :type cell: str
1528
+ :param tool: Unique identifier addressing a collision tool. (required)
1529
+ :type tool: str
1530
+ :param _request_timeout: timeout setting for this request. If one
1531
+ number provided, it will be total request
1532
+ timeout. It can also be a pair (tuple) of
1533
+ (connection, read) timeouts.
1534
+ :type _request_timeout: int, tuple(int, int), optional
1535
+ :param _request_auth: set to override the auth_settings for an a single
1536
+ request; this effectively ignores the
1537
+ authentication in the spec for a single request.
1538
+ :type _request_auth: dict, optional
1539
+ :param _content_type: force content-type for the request.
1540
+ :type _content_type: str, Optional
1541
+ :param _headers: set to override the headers for a single
1542
+ request; this effectively ignores the headers
1543
+ in the spec for a single request.
1544
+ :type _headers: dict, optional
1545
+ :param _host_index: set to override the host_index for a single
1546
+ request; this effectively ignores the host_index
1547
+ in the spec for a single request.
1548
+ :type _host_index: int, optional
1549
+ :return: Returns the result object.
1550
+ """ # noqa: E501
1551
+
1552
+ _param = self._get_stored_collision_tool_serialize(
1553
+ cell=cell,
1554
+ tool=tool,
1555
+ _request_auth=_request_auth,
1556
+ _content_type=_content_type,
1557
+ _headers=_headers,
1558
+ _host_index=_host_index
1559
+ )
1560
+
1561
+ _response_types_map: Dict[str, Optional[str]] = {
1562
+ '200': "Dict[str, Collider]",
1563
+ '404': None,
1564
+ }
1565
+
1566
+
1567
+ response_data = await self.api_client.call_api(
1568
+ *_param,
1569
+ _request_timeout=_request_timeout
1570
+ )
1571
+ await response_data.read()
1572
+ return self.api_client.response_deserialize(
1573
+ response_data=response_data,
1574
+ response_types_map=_response_types_map,
1575
+ )
1576
+
1577
+
1578
+ @validate_call
1579
+ async def get_stored_collision_tool_without_preload_content(
1580
+ self,
1581
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1582
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
1583
+ _request_timeout: Union[
1584
+ None,
1585
+ Annotated[StrictFloat, Field(gt=0)],
1586
+ Tuple[
1587
+ Annotated[StrictFloat, Field(gt=0)],
1588
+ Annotated[StrictFloat, Field(gt=0)]
1589
+ ]
1590
+ ] = None,
1591
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1592
+ _content_type: Optional[StrictStr] = None,
1593
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1594
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1595
+ ) -> RESTResponseType:
1596
+ """Get Tool
1597
+
1598
+ Returns the stored tool.
1599
+
1600
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1601
+ :type cell: str
1602
+ :param tool: Unique identifier addressing a collision tool. (required)
1603
+ :type tool: str
1604
+ :param _request_timeout: timeout setting for this request. If one
1605
+ number provided, it will be total request
1606
+ timeout. It can also be a pair (tuple) of
1607
+ (connection, read) timeouts.
1608
+ :type _request_timeout: int, tuple(int, int), optional
1609
+ :param _request_auth: set to override the auth_settings for an a single
1610
+ request; this effectively ignores the
1611
+ authentication in the spec for a single request.
1612
+ :type _request_auth: dict, optional
1613
+ :param _content_type: force content-type for the request.
1614
+ :type _content_type: str, Optional
1615
+ :param _headers: set to override the headers for a single
1616
+ request; this effectively ignores the headers
1617
+ in the spec for a single request.
1618
+ :type _headers: dict, optional
1619
+ :param _host_index: set to override the host_index for a single
1620
+ request; this effectively ignores the host_index
1621
+ in the spec for a single request.
1622
+ :type _host_index: int, optional
1623
+ :return: Returns the result object.
1624
+ """ # noqa: E501
1625
+
1626
+ _param = self._get_stored_collision_tool_serialize(
1627
+ cell=cell,
1628
+ tool=tool,
1629
+ _request_auth=_request_auth,
1630
+ _content_type=_content_type,
1631
+ _headers=_headers,
1632
+ _host_index=_host_index
1633
+ )
1634
+
1635
+ _response_types_map: Dict[str, Optional[str]] = {
1636
+ '200': "Dict[str, Collider]",
1637
+ '404': None,
1638
+ }
1639
+
1640
+
1641
+ response_data = await self.api_client.call_api(
1642
+ *_param,
1643
+ _request_timeout=_request_timeout
1644
+ )
1645
+ return response_data.response
1646
+
1647
+
1648
+ def _get_stored_collision_tool_serialize(
1649
+ self,
1650
+ cell,
1651
+ tool,
1652
+ _request_auth,
1653
+ _content_type,
1654
+ _headers,
1655
+ _host_index,
1656
+ ) -> RequestSerialized:
1657
+
1658
+ _host = None
1659
+
1660
+ _collection_formats: Dict[str, str] = {
1661
+ }
1662
+
1663
+ _path_params: Dict[str, str] = {}
1664
+ _query_params: List[Tuple[str, str]] = []
1665
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1666
+ _form_params: List[Tuple[str, str]] = []
1667
+ _files: Dict[str, Union[str, bytes]] = {}
1668
+ _body_params: Optional[bytes] = None
1669
+
1670
+ # process the path parameters
1671
+ if cell is not None:
1672
+ _path_params['cell'] = cell
1673
+ if tool is not None:
1674
+ _path_params['tool'] = tool
1675
+ # process the query parameters
1676
+ # process the header parameters
1677
+ # process the form parameters
1678
+ # process the body parameter
1679
+
1680
+
1681
+ # set the HTTP header `Accept`
1682
+ _header_params['Accept'] = self.api_client.select_header_accept(
1683
+ [
1684
+ 'application/json'
1685
+ ]
1686
+ )
1687
+
1688
+
1689
+ # authentication setting
1690
+ _auth_settings: List[str] = [
1691
+ 'BasicAuth',
1692
+ 'BearerAuth'
1693
+ ]
1694
+
1695
+ return self.api_client.param_serialize(
1696
+ method='GET',
1697
+ resource_path='/cells/{cell}/store/collision/tools/{tool}',
1698
+ path_params=_path_params,
1699
+ query_params=_query_params,
1700
+ header_params=_header_params,
1701
+ body=_body_params,
1702
+ post_params=_form_params,
1703
+ files=_files,
1704
+ auth_settings=_auth_settings,
1705
+ collection_formats=_collection_formats,
1706
+ _host=_host,
1707
+ _request_auth=_request_auth
1708
+ )
1709
+
1710
+
1711
+
1712
+ @validate_call
1713
+ async def list_collision_link_chains(
1714
+ self,
1715
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1716
+ _request_timeout: Union[
1717
+ None,
1718
+ Annotated[StrictFloat, Field(gt=0)],
1719
+ Tuple[
1720
+ Annotated[StrictFloat, Field(gt=0)],
1721
+ Annotated[StrictFloat, Field(gt=0)]
1722
+ ]
1723
+ ] = None,
1724
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1725
+ _content_type: Optional[StrictStr] = None,
1726
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1727
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1728
+ ) -> Dict[str, List[Dict[str, Collider]]]:
1729
+ """List Link Chains
1730
+
1731
+ Returns the stored link chains.
1732
+
1733
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1734
+ :type cell: str
1735
+ :param _request_timeout: timeout setting for this request. If one
1736
+ number provided, it will be total request
1737
+ timeout. It can also be a pair (tuple) of
1738
+ (connection, read) timeouts.
1739
+ :type _request_timeout: int, tuple(int, int), optional
1740
+ :param _request_auth: set to override the auth_settings for an a single
1741
+ request; this effectively ignores the
1742
+ authentication in the spec for a single request.
1743
+ :type _request_auth: dict, optional
1744
+ :param _content_type: force content-type for the request.
1745
+ :type _content_type: str, Optional
1746
+ :param _headers: set to override the headers for a single
1747
+ request; this effectively ignores the headers
1748
+ in the spec for a single request.
1749
+ :type _headers: dict, optional
1750
+ :param _host_index: set to override the host_index for a single
1751
+ request; this effectively ignores the host_index
1752
+ in the spec for a single request.
1753
+ :type _host_index: int, optional
1754
+ :return: Returns the result object.
1755
+ """ # noqa: E501
1756
+
1757
+ _param = self._list_collision_link_chains_serialize(
1758
+ cell=cell,
1759
+ _request_auth=_request_auth,
1760
+ _content_type=_content_type,
1761
+ _headers=_headers,
1762
+ _host_index=_host_index
1763
+ )
1764
+
1765
+ _response_types_map: Dict[str, Optional[str]] = {
1766
+ '200': "Dict[str, List[Dict[str, Collider]]]",
1767
+ }
1768
+
1769
+
1770
+ response_data = await self.api_client.call_api(
1771
+ *_param,
1772
+ _request_timeout=_request_timeout
1773
+ )
1774
+ await response_data.read()
1775
+ return self.api_client.response_deserialize(
1776
+ response_data=response_data,
1777
+ response_types_map=_response_types_map,
1778
+ ).data
1779
+
1780
+
1781
+ @validate_call
1782
+ async def list_collision_link_chains_with_http_info(
1783
+ self,
1784
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1785
+ _request_timeout: Union[
1786
+ None,
1787
+ Annotated[StrictFloat, Field(gt=0)],
1788
+ Tuple[
1789
+ Annotated[StrictFloat, Field(gt=0)],
1790
+ Annotated[StrictFloat, Field(gt=0)]
1791
+ ]
1792
+ ] = None,
1793
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1794
+ _content_type: Optional[StrictStr] = None,
1795
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1796
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1797
+ ) -> ApiResponse[Dict[str, List[Dict[str, Collider]]]]:
1798
+ """List Link Chains
1799
+
1800
+ Returns the stored link chains.
1801
+
1802
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1803
+ :type cell: str
1804
+ :param _request_timeout: timeout setting for this request. If one
1805
+ number provided, it will be total request
1806
+ timeout. It can also be a pair (tuple) of
1807
+ (connection, read) timeouts.
1808
+ :type _request_timeout: int, tuple(int, int), optional
1809
+ :param _request_auth: set to override the auth_settings for an a single
1810
+ request; this effectively ignores the
1811
+ authentication in the spec for a single request.
1812
+ :type _request_auth: dict, optional
1813
+ :param _content_type: force content-type for the request.
1814
+ :type _content_type: str, Optional
1815
+ :param _headers: set to override the headers for a single
1816
+ request; this effectively ignores the headers
1817
+ in the spec for a single request.
1818
+ :type _headers: dict, optional
1819
+ :param _host_index: set to override the host_index for a single
1820
+ request; this effectively ignores the host_index
1821
+ in the spec for a single request.
1822
+ :type _host_index: int, optional
1823
+ :return: Returns the result object.
1824
+ """ # noqa: E501
1825
+
1826
+ _param = self._list_collision_link_chains_serialize(
1827
+ cell=cell,
1828
+ _request_auth=_request_auth,
1829
+ _content_type=_content_type,
1830
+ _headers=_headers,
1831
+ _host_index=_host_index
1832
+ )
1833
+
1834
+ _response_types_map: Dict[str, Optional[str]] = {
1835
+ '200': "Dict[str, List[Dict[str, Collider]]]",
1836
+ }
1837
+
1838
+
1839
+ response_data = await self.api_client.call_api(
1840
+ *_param,
1841
+ _request_timeout=_request_timeout
1842
+ )
1843
+ await response_data.read()
1844
+ return self.api_client.response_deserialize(
1845
+ response_data=response_data,
1846
+ response_types_map=_response_types_map,
1847
+ )
1848
+
1849
+
1850
+ @validate_call
1851
+ async def list_collision_link_chains_without_preload_content(
1852
+ self,
1853
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1854
+ _request_timeout: Union[
1855
+ None,
1856
+ Annotated[StrictFloat, Field(gt=0)],
1857
+ Tuple[
1858
+ Annotated[StrictFloat, Field(gt=0)],
1859
+ Annotated[StrictFloat, Field(gt=0)]
1860
+ ]
1861
+ ] = None,
1862
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1863
+ _content_type: Optional[StrictStr] = None,
1864
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1865
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1866
+ ) -> RESTResponseType:
1867
+ """List Link Chains
1868
+
1869
+ Returns the stored link chains.
1870
+
1871
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1872
+ :type cell: str
1873
+ :param _request_timeout: timeout setting for this request. If one
1874
+ number provided, it will be total request
1875
+ timeout. It can also be a pair (tuple) of
1876
+ (connection, read) timeouts.
1877
+ :type _request_timeout: int, tuple(int, int), optional
1878
+ :param _request_auth: set to override the auth_settings for an a single
1879
+ request; this effectively ignores the
1880
+ authentication in the spec for a single request.
1881
+ :type _request_auth: dict, optional
1882
+ :param _content_type: force content-type for the request.
1883
+ :type _content_type: str, Optional
1884
+ :param _headers: set to override the headers for a single
1885
+ request; this effectively ignores the headers
1886
+ in the spec for a single request.
1887
+ :type _headers: dict, optional
1888
+ :param _host_index: set to override the host_index for a single
1889
+ request; this effectively ignores the host_index
1890
+ in the spec for a single request.
1891
+ :type _host_index: int, optional
1892
+ :return: Returns the result object.
1893
+ """ # noqa: E501
1894
+
1895
+ _param = self._list_collision_link_chains_serialize(
1896
+ cell=cell,
1897
+ _request_auth=_request_auth,
1898
+ _content_type=_content_type,
1899
+ _headers=_headers,
1900
+ _host_index=_host_index
1901
+ )
1902
+
1903
+ _response_types_map: Dict[str, Optional[str]] = {
1904
+ '200': "Dict[str, List[Dict[str, Collider]]]",
1905
+ }
1906
+
1907
+
1908
+ response_data = await self.api_client.call_api(
1909
+ *_param,
1910
+ _request_timeout=_request_timeout
1911
+ )
1912
+ return response_data.response
1913
+
1914
+
1915
+ def _list_collision_link_chains_serialize(
1916
+ self,
1917
+ cell,
1918
+ _request_auth,
1919
+ _content_type,
1920
+ _headers,
1921
+ _host_index,
1922
+ ) -> RequestSerialized:
1923
+
1924
+ _host = None
1925
+
1926
+ _collection_formats: Dict[str, str] = {
1927
+ }
1928
+
1929
+ _path_params: Dict[str, str] = {}
1930
+ _query_params: List[Tuple[str, str]] = []
1931
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1932
+ _form_params: List[Tuple[str, str]] = []
1933
+ _files: Dict[str, Union[str, bytes]] = {}
1934
+ _body_params: Optional[bytes] = None
1935
+
1936
+ # process the path parameters
1937
+ if cell is not None:
1938
+ _path_params['cell'] = cell
1939
+ # process the query parameters
1940
+ # process the header parameters
1941
+ # process the form parameters
1942
+ # process the body parameter
1943
+
1944
+
1945
+ # set the HTTP header `Accept`
1946
+ _header_params['Accept'] = self.api_client.select_header_accept(
1947
+ [
1948
+ 'application/json'
1949
+ ]
1950
+ )
1951
+
1952
+
1953
+ # authentication setting
1954
+ _auth_settings: List[str] = [
1955
+ 'BasicAuth',
1956
+ 'BearerAuth'
1957
+ ]
1958
+
1959
+ return self.api_client.param_serialize(
1960
+ method='GET',
1961
+ resource_path='/cells/{cell}/store/collision/link-chains',
1962
+ path_params=_path_params,
1963
+ query_params=_query_params,
1964
+ header_params=_header_params,
1965
+ body=_body_params,
1966
+ post_params=_form_params,
1967
+ files=_files,
1968
+ auth_settings=_auth_settings,
1969
+ collection_formats=_collection_formats,
1970
+ _host=_host,
1971
+ _request_auth=_request_auth
1972
+ )
1973
+
1974
+
1975
+
1976
+ @validate_call
1977
+ async def list_collision_link_chains_keys(
1978
+ self,
1979
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
1980
+ _request_timeout: Union[
1981
+ None,
1982
+ Annotated[StrictFloat, Field(gt=0)],
1983
+ Tuple[
1984
+ Annotated[StrictFloat, Field(gt=0)],
1985
+ Annotated[StrictFloat, Field(gt=0)]
1986
+ ]
1987
+ ] = None,
1988
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1989
+ _content_type: Optional[StrictStr] = None,
1990
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1991
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1992
+ ) -> List[str]:
1993
+ """List Link Chain Keys
1994
+
1995
+ Returns a list of keys for stored link chains.
1996
+
1997
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
1998
+ :type cell: str
1999
+ :param _request_timeout: timeout setting for this request. If one
2000
+ number provided, it will be total request
2001
+ timeout. It can also be a pair (tuple) of
2002
+ (connection, read) timeouts.
2003
+ :type _request_timeout: int, tuple(int, int), optional
2004
+ :param _request_auth: set to override the auth_settings for an a single
2005
+ request; this effectively ignores the
2006
+ authentication in the spec for a single request.
2007
+ :type _request_auth: dict, optional
2008
+ :param _content_type: force content-type for the request.
2009
+ :type _content_type: str, Optional
2010
+ :param _headers: set to override the headers for a single
2011
+ request; this effectively ignores the headers
2012
+ in the spec for a single request.
2013
+ :type _headers: dict, optional
2014
+ :param _host_index: set to override the host_index for a single
2015
+ request; this effectively ignores the host_index
2016
+ in the spec for a single request.
2017
+ :type _host_index: int, optional
2018
+ :return: Returns the result object.
2019
+ """ # noqa: E501
2020
+
2021
+ _param = self._list_collision_link_chains_keys_serialize(
2022
+ cell=cell,
2023
+ _request_auth=_request_auth,
2024
+ _content_type=_content_type,
2025
+ _headers=_headers,
2026
+ _host_index=_host_index
2027
+ )
2028
+
2029
+ _response_types_map: Dict[str, Optional[str]] = {
2030
+ '200': "List[str]",
2031
+ }
2032
+
2033
+
2034
+ response_data = await self.api_client.call_api(
2035
+ *_param,
2036
+ _request_timeout=_request_timeout
2037
+ )
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
+ ).data
2043
+
2044
+
2045
+ @validate_call
2046
+ async def list_collision_link_chains_keys_with_http_info(
2047
+ self,
2048
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2049
+ _request_timeout: Union[
2050
+ None,
2051
+ Annotated[StrictFloat, Field(gt=0)],
2052
+ Tuple[
2053
+ Annotated[StrictFloat, Field(gt=0)],
2054
+ Annotated[StrictFloat, Field(gt=0)]
2055
+ ]
2056
+ ] = None,
2057
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2058
+ _content_type: Optional[StrictStr] = None,
2059
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2060
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2061
+ ) -> ApiResponse[List[str]]:
2062
+ """List Link Chain Keys
2063
+
2064
+ Returns a list of keys for stored link chains.
2065
+
2066
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2067
+ :type cell: str
2068
+ :param _request_timeout: timeout setting for this request. If one
2069
+ number provided, it will be total request
2070
+ timeout. It can also be a pair (tuple) of
2071
+ (connection, read) timeouts.
2072
+ :type _request_timeout: int, tuple(int, int), optional
2073
+ :param _request_auth: set to override the auth_settings for an a single
2074
+ request; this effectively ignores the
2075
+ authentication in the spec for a single request.
2076
+ :type _request_auth: dict, optional
2077
+ :param _content_type: force content-type for the request.
2078
+ :type _content_type: str, Optional
2079
+ :param _headers: set to override the headers for a single
2080
+ request; this effectively ignores the headers
2081
+ in the spec for a single request.
2082
+ :type _headers: dict, optional
2083
+ :param _host_index: set to override the host_index for a single
2084
+ request; this effectively ignores the host_index
2085
+ in the spec for a single request.
2086
+ :type _host_index: int, optional
2087
+ :return: Returns the result object.
2088
+ """ # noqa: E501
2089
+
2090
+ _param = self._list_collision_link_chains_keys_serialize(
2091
+ cell=cell,
2092
+ _request_auth=_request_auth,
2093
+ _content_type=_content_type,
2094
+ _headers=_headers,
2095
+ _host_index=_host_index
2096
+ )
2097
+
2098
+ _response_types_map: Dict[str, Optional[str]] = {
2099
+ '200': "List[str]",
2100
+ }
2101
+
2102
+
2103
+ response_data = await self.api_client.call_api(
2104
+ *_param,
2105
+ _request_timeout=_request_timeout
2106
+ )
2107
+ await response_data.read()
2108
+ return self.api_client.response_deserialize(
2109
+ response_data=response_data,
2110
+ response_types_map=_response_types_map,
2111
+ )
2112
+
2113
+
2114
+ @validate_call
2115
+ async def list_collision_link_chains_keys_without_preload_content(
2116
+ self,
2117
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2118
+ _request_timeout: Union[
2119
+ None,
2120
+ Annotated[StrictFloat, Field(gt=0)],
2121
+ Tuple[
2122
+ Annotated[StrictFloat, Field(gt=0)],
2123
+ Annotated[StrictFloat, Field(gt=0)]
2124
+ ]
2125
+ ] = None,
2126
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2127
+ _content_type: Optional[StrictStr] = None,
2128
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2129
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2130
+ ) -> RESTResponseType:
2131
+ """List Link Chain Keys
2132
+
2133
+ Returns a list of keys for stored link chains.
2134
+
2135
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2136
+ :type cell: str
2137
+ :param _request_timeout: timeout setting for this request. If one
2138
+ number provided, it will be total request
2139
+ timeout. It can also be a pair (tuple) of
2140
+ (connection, read) timeouts.
2141
+ :type _request_timeout: int, tuple(int, int), optional
2142
+ :param _request_auth: set to override the auth_settings for an a single
2143
+ request; this effectively ignores the
2144
+ authentication in the spec for a single request.
2145
+ :type _request_auth: dict, optional
2146
+ :param _content_type: force content-type for the request.
2147
+ :type _content_type: str, Optional
2148
+ :param _headers: set to override the headers for a single
2149
+ request; this effectively ignores the headers
2150
+ in the spec for a single request.
2151
+ :type _headers: dict, optional
2152
+ :param _host_index: set to override the host_index for a single
2153
+ request; this effectively ignores the host_index
2154
+ in the spec for a single request.
2155
+ :type _host_index: int, optional
2156
+ :return: Returns the result object.
2157
+ """ # noqa: E501
2158
+
2159
+ _param = self._list_collision_link_chains_keys_serialize(
2160
+ cell=cell,
2161
+ _request_auth=_request_auth,
2162
+ _content_type=_content_type,
2163
+ _headers=_headers,
2164
+ _host_index=_host_index
2165
+ )
2166
+
2167
+ _response_types_map: Dict[str, Optional[str]] = {
2168
+ '200': "List[str]",
2169
+ }
2170
+
2171
+
2172
+ response_data = await self.api_client.call_api(
2173
+ *_param,
2174
+ _request_timeout=_request_timeout
2175
+ )
2176
+ return response_data.response
2177
+
2178
+
2179
+ def _list_collision_link_chains_keys_serialize(
2180
+ self,
2181
+ cell,
2182
+ _request_auth,
2183
+ _content_type,
2184
+ _headers,
2185
+ _host_index,
2186
+ ) -> RequestSerialized:
2187
+
2188
+ _host = None
2189
+
2190
+ _collection_formats: Dict[str, str] = {
2191
+ }
2192
+
2193
+ _path_params: Dict[str, str] = {}
2194
+ _query_params: List[Tuple[str, str]] = []
2195
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2196
+ _form_params: List[Tuple[str, str]] = []
2197
+ _files: Dict[str, Union[str, bytes]] = {}
2198
+ _body_params: Optional[bytes] = None
2199
+
2200
+ # process the path parameters
2201
+ if cell is not None:
2202
+ _path_params['cell'] = cell
2203
+ # process the query parameters
2204
+ # process the header parameters
2205
+ # process the form parameters
2206
+ # process the body parameter
2207
+
2208
+
2209
+ # set the HTTP header `Accept`
2210
+ _header_params['Accept'] = self.api_client.select_header_accept(
2211
+ [
2212
+ 'application/json'
2213
+ ]
2214
+ )
2215
+
2216
+
2217
+ # authentication setting
2218
+ _auth_settings: List[str] = [
2219
+ 'BasicAuth',
2220
+ 'BearerAuth'
2221
+ ]
2222
+
2223
+ return self.api_client.param_serialize(
2224
+ method='GET',
2225
+ resource_path='/cells/{cell}/store/collision/link-chains-keys',
2226
+ path_params=_path_params,
2227
+ query_params=_query_params,
2228
+ header_params=_header_params,
2229
+ body=_body_params,
2230
+ post_params=_form_params,
2231
+ files=_files,
2232
+ auth_settings=_auth_settings,
2233
+ collection_formats=_collection_formats,
2234
+ _host=_host,
2235
+ _request_auth=_request_auth
2236
+ )
2237
+
2238
+
2239
+
2240
+ @validate_call
2241
+ async def list_stored_colliders(
2242
+ self,
2243
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2244
+ _request_timeout: Union[
2245
+ None,
2246
+ Annotated[StrictFloat, Field(gt=0)],
2247
+ Tuple[
2248
+ Annotated[StrictFloat, Field(gt=0)],
2249
+ Annotated[StrictFloat, Field(gt=0)]
2250
+ ]
2251
+ ] = None,
2252
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2253
+ _content_type: Optional[StrictStr] = None,
2254
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2255
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2256
+ ) -> Dict[str, Collider]:
2257
+ """List Colliders
2258
+
2259
+ Returns all stored colliders.
2260
+
2261
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2262
+ :type cell: str
2263
+ :param _request_timeout: timeout setting for this request. If one
2264
+ number provided, it will be total request
2265
+ timeout. It can also be a pair (tuple) of
2266
+ (connection, read) timeouts.
2267
+ :type _request_timeout: int, tuple(int, int), optional
2268
+ :param _request_auth: set to override the auth_settings for an a single
2269
+ request; this effectively ignores the
2270
+ authentication in the spec for a single request.
2271
+ :type _request_auth: dict, optional
2272
+ :param _content_type: force content-type for the request.
2273
+ :type _content_type: str, Optional
2274
+ :param _headers: set to override the headers for a single
2275
+ request; this effectively ignores the headers
2276
+ in the spec for a single request.
2277
+ :type _headers: dict, optional
2278
+ :param _host_index: set to override the host_index for a single
2279
+ request; this effectively ignores the host_index
2280
+ in the spec for a single request.
2281
+ :type _host_index: int, optional
2282
+ :return: Returns the result object.
2283
+ """ # noqa: E501
2284
+
2285
+ _param = self._list_stored_colliders_serialize(
2286
+ cell=cell,
2287
+ _request_auth=_request_auth,
2288
+ _content_type=_content_type,
2289
+ _headers=_headers,
2290
+ _host_index=_host_index
2291
+ )
2292
+
2293
+ _response_types_map: Dict[str, Optional[str]] = {
2294
+ '200': "Dict[str, Collider]",
2295
+ }
2296
+
2297
+
2298
+ response_data = await self.api_client.call_api(
2299
+ *_param,
2300
+ _request_timeout=_request_timeout
2301
+ )
2302
+ await response_data.read()
2303
+ return self.api_client.response_deserialize(
2304
+ response_data=response_data,
2305
+ response_types_map=_response_types_map,
2306
+ ).data
2307
+
2308
+
2309
+ @validate_call
2310
+ async def list_stored_colliders_with_http_info(
2311
+ self,
2312
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2313
+ _request_timeout: Union[
2314
+ None,
2315
+ Annotated[StrictFloat, Field(gt=0)],
2316
+ Tuple[
2317
+ Annotated[StrictFloat, Field(gt=0)],
2318
+ Annotated[StrictFloat, Field(gt=0)]
2319
+ ]
2320
+ ] = None,
2321
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2322
+ _content_type: Optional[StrictStr] = None,
2323
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2324
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2325
+ ) -> ApiResponse[Dict[str, Collider]]:
2326
+ """List Colliders
2327
+
2328
+ Returns all stored colliders.
2329
+
2330
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2331
+ :type cell: str
2332
+ :param _request_timeout: timeout setting for this request. If one
2333
+ number provided, it will be total request
2334
+ timeout. It can also be a pair (tuple) of
2335
+ (connection, read) timeouts.
2336
+ :type _request_timeout: int, tuple(int, int), optional
2337
+ :param _request_auth: set to override the auth_settings for an a single
2338
+ request; this effectively ignores the
2339
+ authentication in the spec for a single request.
2340
+ :type _request_auth: dict, optional
2341
+ :param _content_type: force content-type for the request.
2342
+ :type _content_type: str, Optional
2343
+ :param _headers: set to override the headers for a single
2344
+ request; this effectively ignores the headers
2345
+ in the spec for a single request.
2346
+ :type _headers: dict, optional
2347
+ :param _host_index: set to override the host_index for a single
2348
+ request; this effectively ignores the host_index
2349
+ in the spec for a single request.
2350
+ :type _host_index: int, optional
2351
+ :return: Returns the result object.
2352
+ """ # noqa: E501
2353
+
2354
+ _param = self._list_stored_colliders_serialize(
2355
+ cell=cell,
2356
+ _request_auth=_request_auth,
2357
+ _content_type=_content_type,
2358
+ _headers=_headers,
2359
+ _host_index=_host_index
2360
+ )
2361
+
2362
+ _response_types_map: Dict[str, Optional[str]] = {
2363
+ '200': "Dict[str, Collider]",
2364
+ }
2365
+
2366
+
2367
+ response_data = await self.api_client.call_api(
2368
+ *_param,
2369
+ _request_timeout=_request_timeout
2370
+ )
2371
+ await response_data.read()
2372
+ return self.api_client.response_deserialize(
2373
+ response_data=response_data,
2374
+ response_types_map=_response_types_map,
2375
+ )
2376
+
2377
+
2378
+ @validate_call
2379
+ async def list_stored_colliders_without_preload_content(
2380
+ self,
2381
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2382
+ _request_timeout: Union[
2383
+ None,
2384
+ Annotated[StrictFloat, Field(gt=0)],
2385
+ Tuple[
2386
+ Annotated[StrictFloat, Field(gt=0)],
2387
+ Annotated[StrictFloat, Field(gt=0)]
2388
+ ]
2389
+ ] = None,
2390
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2391
+ _content_type: Optional[StrictStr] = None,
2392
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2393
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2394
+ ) -> RESTResponseType:
2395
+ """List Colliders
2396
+
2397
+ Returns all stored colliders.
2398
+
2399
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2400
+ :type cell: str
2401
+ :param _request_timeout: timeout setting for this request. If one
2402
+ number provided, it will be total request
2403
+ timeout. It can also be a pair (tuple) of
2404
+ (connection, read) timeouts.
2405
+ :type _request_timeout: int, tuple(int, int), optional
2406
+ :param _request_auth: set to override the auth_settings for an a single
2407
+ request; this effectively ignores the
2408
+ authentication in the spec for a single request.
2409
+ :type _request_auth: dict, optional
2410
+ :param _content_type: force content-type for the request.
2411
+ :type _content_type: str, Optional
2412
+ :param _headers: set to override the headers for a single
2413
+ request; this effectively ignores the headers
2414
+ in the spec for a single request.
2415
+ :type _headers: dict, optional
2416
+ :param _host_index: set to override the host_index for a single
2417
+ request; this effectively ignores the host_index
2418
+ in the spec for a single request.
2419
+ :type _host_index: int, optional
2420
+ :return: Returns the result object.
2421
+ """ # noqa: E501
2422
+
2423
+ _param = self._list_stored_colliders_serialize(
2424
+ cell=cell,
2425
+ _request_auth=_request_auth,
2426
+ _content_type=_content_type,
2427
+ _headers=_headers,
2428
+ _host_index=_host_index
2429
+ )
2430
+
2431
+ _response_types_map: Dict[str, Optional[str]] = {
2432
+ '200': "Dict[str, Collider]",
2433
+ }
2434
+
2435
+
2436
+ response_data = await self.api_client.call_api(
2437
+ *_param,
2438
+ _request_timeout=_request_timeout
2439
+ )
2440
+ return response_data.response
2441
+
2442
+
2443
+ def _list_stored_colliders_serialize(
2444
+ self,
2445
+ cell,
2446
+ _request_auth,
2447
+ _content_type,
2448
+ _headers,
2449
+ _host_index,
2450
+ ) -> RequestSerialized:
2451
+
2452
+ _host = None
2453
+
2454
+ _collection_formats: Dict[str, str] = {
2455
+ }
2456
+
2457
+ _path_params: Dict[str, str] = {}
2458
+ _query_params: List[Tuple[str, str]] = []
2459
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2460
+ _form_params: List[Tuple[str, str]] = []
2461
+ _files: Dict[str, Union[str, bytes]] = {}
2462
+ _body_params: Optional[bytes] = None
2463
+
2464
+ # process the path parameters
2465
+ if cell is not None:
2466
+ _path_params['cell'] = cell
2467
+ # process the query parameters
2468
+ # process the header parameters
2469
+ # process the form parameters
2470
+ # process the body parameter
2471
+
2472
+
2473
+ # set the HTTP header `Accept`
2474
+ _header_params['Accept'] = self.api_client.select_header_accept(
2475
+ [
2476
+ 'application/json'
2477
+ ]
2478
+ )
2479
+
2480
+
2481
+ # authentication setting
2482
+ _auth_settings: List[str] = [
2483
+ 'BasicAuth',
2484
+ 'BearerAuth'
2485
+ ]
2486
+
2487
+ return self.api_client.param_serialize(
2488
+ method='GET',
2489
+ resource_path='/cells/{cell}/store/collision/colliders',
2490
+ path_params=_path_params,
2491
+ query_params=_query_params,
2492
+ header_params=_header_params,
2493
+ body=_body_params,
2494
+ post_params=_form_params,
2495
+ files=_files,
2496
+ auth_settings=_auth_settings,
2497
+ collection_formats=_collection_formats,
2498
+ _host=_host,
2499
+ _request_auth=_request_auth
2500
+ )
2501
+
2502
+
2503
+
2504
+ @validate_call
2505
+ async def list_stored_colliders_keys(
2506
+ self,
2507
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2508
+ _request_timeout: Union[
2509
+ None,
2510
+ Annotated[StrictFloat, Field(gt=0)],
2511
+ Tuple[
2512
+ Annotated[StrictFloat, Field(gt=0)],
2513
+ Annotated[StrictFloat, Field(gt=0)]
2514
+ ]
2515
+ ] = None,
2516
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2517
+ _content_type: Optional[StrictStr] = None,
2518
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2519
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2520
+ ) -> List[str]:
2521
+ """List Collider Keys
2522
+
2523
+ Returns a list of keys for stored colliders.
2524
+
2525
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2526
+ :type cell: str
2527
+ :param _request_timeout: timeout setting for this request. If one
2528
+ number provided, it will be total request
2529
+ timeout. It can also be a pair (tuple) of
2530
+ (connection, read) timeouts.
2531
+ :type _request_timeout: int, tuple(int, int), optional
2532
+ :param _request_auth: set to override the auth_settings for an a single
2533
+ request; this effectively ignores the
2534
+ authentication in the spec for a single request.
2535
+ :type _request_auth: dict, optional
2536
+ :param _content_type: force content-type for the request.
2537
+ :type _content_type: str, Optional
2538
+ :param _headers: set to override the headers for a single
2539
+ request; this effectively ignores the headers
2540
+ in the spec for a single request.
2541
+ :type _headers: dict, optional
2542
+ :param _host_index: set to override the host_index for a single
2543
+ request; this effectively ignores the host_index
2544
+ in the spec for a single request.
2545
+ :type _host_index: int, optional
2546
+ :return: Returns the result object.
2547
+ """ # noqa: E501
2548
+
2549
+ _param = self._list_stored_colliders_keys_serialize(
2550
+ cell=cell,
2551
+ _request_auth=_request_auth,
2552
+ _content_type=_content_type,
2553
+ _headers=_headers,
2554
+ _host_index=_host_index
2555
+ )
2556
+
2557
+ _response_types_map: Dict[str, Optional[str]] = {
2558
+ '200': "List[str]",
2559
+ }
2560
+
2561
+
2562
+ response_data = await self.api_client.call_api(
2563
+ *_param,
2564
+ _request_timeout=_request_timeout
2565
+ )
2566
+ await response_data.read()
2567
+ return self.api_client.response_deserialize(
2568
+ response_data=response_data,
2569
+ response_types_map=_response_types_map,
2570
+ ).data
2571
+
2572
+
2573
+ @validate_call
2574
+ async def list_stored_colliders_keys_with_http_info(
2575
+ self,
2576
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2577
+ _request_timeout: Union[
2578
+ None,
2579
+ Annotated[StrictFloat, Field(gt=0)],
2580
+ Tuple[
2581
+ Annotated[StrictFloat, Field(gt=0)],
2582
+ Annotated[StrictFloat, Field(gt=0)]
2583
+ ]
2584
+ ] = None,
2585
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2586
+ _content_type: Optional[StrictStr] = None,
2587
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2588
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2589
+ ) -> ApiResponse[List[str]]:
2590
+ """List Collider Keys
2591
+
2592
+ Returns a list of keys for stored colliders.
2593
+
2594
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2595
+ :type cell: str
2596
+ :param _request_timeout: timeout setting for this request. If one
2597
+ number provided, it will be total request
2598
+ timeout. It can also be a pair (tuple) of
2599
+ (connection, read) timeouts.
2600
+ :type _request_timeout: int, tuple(int, int), optional
2601
+ :param _request_auth: set to override the auth_settings for an a single
2602
+ request; this effectively ignores the
2603
+ authentication in the spec for a single request.
2604
+ :type _request_auth: dict, optional
2605
+ :param _content_type: force content-type for the request.
2606
+ :type _content_type: str, Optional
2607
+ :param _headers: set to override the headers for a single
2608
+ request; this effectively ignores the headers
2609
+ in the spec for a single request.
2610
+ :type _headers: dict, optional
2611
+ :param _host_index: set to override the host_index for a single
2612
+ request; this effectively ignores the host_index
2613
+ in the spec for a single request.
2614
+ :type _host_index: int, optional
2615
+ :return: Returns the result object.
2616
+ """ # noqa: E501
2617
+
2618
+ _param = self._list_stored_colliders_keys_serialize(
2619
+ cell=cell,
2620
+ _request_auth=_request_auth,
2621
+ _content_type=_content_type,
2622
+ _headers=_headers,
2623
+ _host_index=_host_index
2624
+ )
2625
+
2626
+ _response_types_map: Dict[str, Optional[str]] = {
2627
+ '200': "List[str]",
2628
+ }
2629
+
2630
+
2631
+ response_data = await self.api_client.call_api(
2632
+ *_param,
2633
+ _request_timeout=_request_timeout
2634
+ )
2635
+ await response_data.read()
2636
+ return self.api_client.response_deserialize(
2637
+ response_data=response_data,
2638
+ response_types_map=_response_types_map,
2639
+ )
2640
+
2641
+
2642
+ @validate_call
2643
+ async def list_stored_colliders_keys_without_preload_content(
2644
+ self,
2645
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2646
+ _request_timeout: Union[
2647
+ None,
2648
+ Annotated[StrictFloat, Field(gt=0)],
2649
+ Tuple[
2650
+ Annotated[StrictFloat, Field(gt=0)],
2651
+ Annotated[StrictFloat, Field(gt=0)]
2652
+ ]
2653
+ ] = None,
2654
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2655
+ _content_type: Optional[StrictStr] = None,
2656
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2657
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2658
+ ) -> RESTResponseType:
2659
+ """List Collider Keys
2660
+
2661
+ Returns a list of keys for stored colliders.
2662
+
2663
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2664
+ :type cell: str
2665
+ :param _request_timeout: timeout setting for this request. If one
2666
+ number provided, it will be total request
2667
+ timeout. It can also be a pair (tuple) of
2668
+ (connection, read) timeouts.
2669
+ :type _request_timeout: int, tuple(int, int), optional
2670
+ :param _request_auth: set to override the auth_settings for an a single
2671
+ request; this effectively ignores the
2672
+ authentication in the spec for a single request.
2673
+ :type _request_auth: dict, optional
2674
+ :param _content_type: force content-type for the request.
2675
+ :type _content_type: str, Optional
2676
+ :param _headers: set to override the headers for a single
2677
+ request; this effectively ignores the headers
2678
+ in the spec for a single request.
2679
+ :type _headers: dict, optional
2680
+ :param _host_index: set to override the host_index for a single
2681
+ request; this effectively ignores the host_index
2682
+ in the spec for a single request.
2683
+ :type _host_index: int, optional
2684
+ :return: Returns the result object.
2685
+ """ # noqa: E501
2686
+
2687
+ _param = self._list_stored_colliders_keys_serialize(
2688
+ cell=cell,
2689
+ _request_auth=_request_auth,
2690
+ _content_type=_content_type,
2691
+ _headers=_headers,
2692
+ _host_index=_host_index
2693
+ )
2694
+
2695
+ _response_types_map: Dict[str, Optional[str]] = {
2696
+ '200': "List[str]",
2697
+ }
2698
+
2699
+
2700
+ response_data = await self.api_client.call_api(
2701
+ *_param,
2702
+ _request_timeout=_request_timeout
2703
+ )
2704
+ return response_data.response
2705
+
2706
+
2707
+ def _list_stored_colliders_keys_serialize(
2708
+ self,
2709
+ cell,
2710
+ _request_auth,
2711
+ _content_type,
2712
+ _headers,
2713
+ _host_index,
2714
+ ) -> RequestSerialized:
2715
+
2716
+ _host = None
2717
+
2718
+ _collection_formats: Dict[str, str] = {
2719
+ }
2720
+
2721
+ _path_params: Dict[str, str] = {}
2722
+ _query_params: List[Tuple[str, str]] = []
2723
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2724
+ _form_params: List[Tuple[str, str]] = []
2725
+ _files: Dict[str, Union[str, bytes]] = {}
2726
+ _body_params: Optional[bytes] = None
2727
+
2728
+ # process the path parameters
2729
+ if cell is not None:
2730
+ _path_params['cell'] = cell
2731
+ # process the query parameters
2732
+ # process the header parameters
2733
+ # process the form parameters
2734
+ # process the body parameter
2735
+
2736
+
2737
+ # set the HTTP header `Accept`
2738
+ _header_params['Accept'] = self.api_client.select_header_accept(
2739
+ [
2740
+ 'application/json'
2741
+ ]
2742
+ )
2743
+
2744
+
2745
+ # authentication setting
2746
+ _auth_settings: List[str] = [
2747
+ 'BasicAuth',
2748
+ 'BearerAuth'
2749
+ ]
2750
+
2751
+ return self.api_client.param_serialize(
2752
+ method='GET',
2753
+ resource_path='/cells/{cell}/store/collision/colliders-keys',
2754
+ path_params=_path_params,
2755
+ query_params=_query_params,
2756
+ header_params=_header_params,
2757
+ body=_body_params,
2758
+ post_params=_form_params,
2759
+ files=_files,
2760
+ auth_settings=_auth_settings,
2761
+ collection_formats=_collection_formats,
2762
+ _host=_host,
2763
+ _request_auth=_request_auth
2764
+ )
2765
+
2766
+
2767
+
2768
+ @validate_call
2769
+ async def list_stored_collision_tools(
2770
+ self,
2771
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2772
+ _request_timeout: Union[
2773
+ None,
2774
+ Annotated[StrictFloat, Field(gt=0)],
2775
+ Tuple[
2776
+ Annotated[StrictFloat, Field(gt=0)],
2777
+ Annotated[StrictFloat, Field(gt=0)]
2778
+ ]
2779
+ ] = None,
2780
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2781
+ _content_type: Optional[StrictStr] = None,
2782
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2783
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2784
+ ) -> Dict[str, Dict[str, Collider]]:
2785
+ """List Tools
2786
+
2787
+ Returns the list of stored tools.
2788
+
2789
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2790
+ :type cell: str
2791
+ :param _request_timeout: timeout setting for this request. If one
2792
+ number provided, it will be total request
2793
+ timeout. It can also be a pair (tuple) of
2794
+ (connection, read) timeouts.
2795
+ :type _request_timeout: int, tuple(int, int), optional
2796
+ :param _request_auth: set to override the auth_settings for an a single
2797
+ request; this effectively ignores the
2798
+ authentication in the spec for a single request.
2799
+ :type _request_auth: dict, optional
2800
+ :param _content_type: force content-type for the request.
2801
+ :type _content_type: str, Optional
2802
+ :param _headers: set to override the headers for a single
2803
+ request; this effectively ignores the headers
2804
+ in the spec for a single request.
2805
+ :type _headers: dict, optional
2806
+ :param _host_index: set to override the host_index for a single
2807
+ request; this effectively ignores the host_index
2808
+ in the spec for a single request.
2809
+ :type _host_index: int, optional
2810
+ :return: Returns the result object.
2811
+ """ # noqa: E501
2812
+
2813
+ _param = self._list_stored_collision_tools_serialize(
2814
+ cell=cell,
2815
+ _request_auth=_request_auth,
2816
+ _content_type=_content_type,
2817
+ _headers=_headers,
2818
+ _host_index=_host_index
2819
+ )
2820
+
2821
+ _response_types_map: Dict[str, Optional[str]] = {
2822
+ '200': "Dict[str, Dict[str, Collider]]",
2823
+ }
2824
+
2825
+
2826
+ response_data = await self.api_client.call_api(
2827
+ *_param,
2828
+ _request_timeout=_request_timeout
2829
+ )
2830
+ await response_data.read()
2831
+ return self.api_client.response_deserialize(
2832
+ response_data=response_data,
2833
+ response_types_map=_response_types_map,
2834
+ ).data
2835
+
2836
+
2837
+ @validate_call
2838
+ async def list_stored_collision_tools_with_http_info(
2839
+ self,
2840
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2841
+ _request_timeout: Union[
2842
+ None,
2843
+ Annotated[StrictFloat, Field(gt=0)],
2844
+ Tuple[
2845
+ Annotated[StrictFloat, Field(gt=0)],
2846
+ Annotated[StrictFloat, Field(gt=0)]
2847
+ ]
2848
+ ] = None,
2849
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2850
+ _content_type: Optional[StrictStr] = None,
2851
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2852
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2853
+ ) -> ApiResponse[Dict[str, Dict[str, Collider]]]:
2854
+ """List Tools
2855
+
2856
+ Returns the list of stored tools.
2857
+
2858
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2859
+ :type cell: str
2860
+ :param _request_timeout: timeout setting for this request. If one
2861
+ number provided, it will be total request
2862
+ timeout. It can also be a pair (tuple) of
2863
+ (connection, read) timeouts.
2864
+ :type _request_timeout: int, tuple(int, int), optional
2865
+ :param _request_auth: set to override the auth_settings for an a single
2866
+ request; this effectively ignores the
2867
+ authentication in the spec for a single request.
2868
+ :type _request_auth: dict, optional
2869
+ :param _content_type: force content-type for the request.
2870
+ :type _content_type: str, Optional
2871
+ :param _headers: set to override the headers for a single
2872
+ request; this effectively ignores the headers
2873
+ in the spec for a single request.
2874
+ :type _headers: dict, optional
2875
+ :param _host_index: set to override the host_index for a single
2876
+ request; this effectively ignores the host_index
2877
+ in the spec for a single request.
2878
+ :type _host_index: int, optional
2879
+ :return: Returns the result object.
2880
+ """ # noqa: E501
2881
+
2882
+ _param = self._list_stored_collision_tools_serialize(
2883
+ cell=cell,
2884
+ _request_auth=_request_auth,
2885
+ _content_type=_content_type,
2886
+ _headers=_headers,
2887
+ _host_index=_host_index
2888
+ )
2889
+
2890
+ _response_types_map: Dict[str, Optional[str]] = {
2891
+ '200': "Dict[str, Dict[str, Collider]]",
2892
+ }
2893
+
2894
+
2895
+ response_data = await self.api_client.call_api(
2896
+ *_param,
2897
+ _request_timeout=_request_timeout
2898
+ )
2899
+ await response_data.read()
2900
+ return self.api_client.response_deserialize(
2901
+ response_data=response_data,
2902
+ response_types_map=_response_types_map,
2903
+ )
2904
+
2905
+
2906
+ @validate_call
2907
+ async def list_stored_collision_tools_without_preload_content(
2908
+ self,
2909
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
2910
+ _request_timeout: Union[
2911
+ None,
2912
+ Annotated[StrictFloat, Field(gt=0)],
2913
+ Tuple[
2914
+ Annotated[StrictFloat, Field(gt=0)],
2915
+ Annotated[StrictFloat, Field(gt=0)]
2916
+ ]
2917
+ ] = None,
2918
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2919
+ _content_type: Optional[StrictStr] = None,
2920
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2921
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2922
+ ) -> RESTResponseType:
2923
+ """List Tools
2924
+
2925
+ Returns the list of stored tools.
2926
+
2927
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
2928
+ :type cell: str
2929
+ :param _request_timeout: timeout setting for this request. If one
2930
+ number provided, it will be total request
2931
+ timeout. It can also be a pair (tuple) of
2932
+ (connection, read) timeouts.
2933
+ :type _request_timeout: int, tuple(int, int), optional
2934
+ :param _request_auth: set to override the auth_settings for an a single
2935
+ request; this effectively ignores the
2936
+ authentication in the spec for a single request.
2937
+ :type _request_auth: dict, optional
2938
+ :param _content_type: force content-type for the request.
2939
+ :type _content_type: str, Optional
2940
+ :param _headers: set to override the headers for a single
2941
+ request; this effectively ignores the headers
2942
+ in the spec for a single request.
2943
+ :type _headers: dict, optional
2944
+ :param _host_index: set to override the host_index for a single
2945
+ request; this effectively ignores the host_index
2946
+ in the spec for a single request.
2947
+ :type _host_index: int, optional
2948
+ :return: Returns the result object.
2949
+ """ # noqa: E501
2950
+
2951
+ _param = self._list_stored_collision_tools_serialize(
2952
+ cell=cell,
2953
+ _request_auth=_request_auth,
2954
+ _content_type=_content_type,
2955
+ _headers=_headers,
2956
+ _host_index=_host_index
2957
+ )
2958
+
2959
+ _response_types_map: Dict[str, Optional[str]] = {
2960
+ '200': "Dict[str, Dict[str, Collider]]",
2961
+ }
2962
+
2963
+
2964
+ response_data = await self.api_client.call_api(
2965
+ *_param,
2966
+ _request_timeout=_request_timeout
2967
+ )
2968
+ return response_data.response
2969
+
2970
+
2971
+ def _list_stored_collision_tools_serialize(
2972
+ self,
2973
+ cell,
2974
+ _request_auth,
2975
+ _content_type,
2976
+ _headers,
2977
+ _host_index,
2978
+ ) -> RequestSerialized:
2979
+
2980
+ _host = None
2981
+
2982
+ _collection_formats: Dict[str, str] = {
2983
+ }
2984
+
2985
+ _path_params: Dict[str, str] = {}
2986
+ _query_params: List[Tuple[str, str]] = []
2987
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2988
+ _form_params: List[Tuple[str, str]] = []
2989
+ _files: Dict[str, Union[str, bytes]] = {}
2990
+ _body_params: Optional[bytes] = None
2991
+
2992
+ # process the path parameters
2993
+ if cell is not None:
2994
+ _path_params['cell'] = cell
2995
+ # process the query parameters
2996
+ # process the header parameters
2997
+ # process the form parameters
2998
+ # process the body parameter
2999
+
3000
+
3001
+ # set the HTTP header `Accept`
3002
+ _header_params['Accept'] = self.api_client.select_header_accept(
3003
+ [
3004
+ 'application/json'
3005
+ ]
3006
+ )
3007
+
3008
+
3009
+ # authentication setting
3010
+ _auth_settings: List[str] = [
3011
+ 'BasicAuth',
3012
+ 'BearerAuth'
3013
+ ]
3014
+
3015
+ return self.api_client.param_serialize(
3016
+ method='GET',
3017
+ resource_path='/cells/{cell}/store/collision/tools',
3018
+ path_params=_path_params,
3019
+ query_params=_query_params,
3020
+ header_params=_header_params,
3021
+ body=_body_params,
3022
+ post_params=_form_params,
3023
+ files=_files,
3024
+ auth_settings=_auth_settings,
3025
+ collection_formats=_collection_formats,
3026
+ _host=_host,
3027
+ _request_auth=_request_auth
3028
+ )
3029
+
3030
+
3031
+
3032
+ @validate_call
3033
+ async def list_stored_collision_tools_keys(
3034
+ self,
3035
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3036
+ _request_timeout: Union[
3037
+ None,
3038
+ Annotated[StrictFloat, Field(gt=0)],
3039
+ Tuple[
3040
+ Annotated[StrictFloat, Field(gt=0)],
3041
+ Annotated[StrictFloat, Field(gt=0)]
3042
+ ]
3043
+ ] = None,
3044
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3045
+ _content_type: Optional[StrictStr] = None,
3046
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3047
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3048
+ ) -> List[str]:
3049
+ """List Tool Keys
3050
+
3051
+ Returns a list of keys for stored tools.
3052
+
3053
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3054
+ :type cell: str
3055
+ :param _request_timeout: timeout setting for this request. If one
3056
+ number provided, it will be total request
3057
+ timeout. It can also be a pair (tuple) of
3058
+ (connection, read) timeouts.
3059
+ :type _request_timeout: int, tuple(int, int), optional
3060
+ :param _request_auth: set to override the auth_settings for an a single
3061
+ request; this effectively ignores the
3062
+ authentication in the spec for a single request.
3063
+ :type _request_auth: dict, optional
3064
+ :param _content_type: force content-type for the request.
3065
+ :type _content_type: str, Optional
3066
+ :param _headers: set to override the headers for a single
3067
+ request; this effectively ignores the headers
3068
+ in the spec for a single request.
3069
+ :type _headers: dict, optional
3070
+ :param _host_index: set to override the host_index for a single
3071
+ request; this effectively ignores the host_index
3072
+ in the spec for a single request.
3073
+ :type _host_index: int, optional
3074
+ :return: Returns the result object.
3075
+ """ # noqa: E501
3076
+
3077
+ _param = self._list_stored_collision_tools_keys_serialize(
3078
+ cell=cell,
3079
+ _request_auth=_request_auth,
3080
+ _content_type=_content_type,
3081
+ _headers=_headers,
3082
+ _host_index=_host_index
3083
+ )
3084
+
3085
+ _response_types_map: Dict[str, Optional[str]] = {
3086
+ '200': "List[str]",
3087
+ }
3088
+
3089
+
3090
+ response_data = await self.api_client.call_api(
3091
+ *_param,
3092
+ _request_timeout=_request_timeout
3093
+ )
3094
+ await response_data.read()
3095
+ return self.api_client.response_deserialize(
3096
+ response_data=response_data,
3097
+ response_types_map=_response_types_map,
3098
+ ).data
3099
+
3100
+
3101
+ @validate_call
3102
+ async def list_stored_collision_tools_keys_with_http_info(
3103
+ self,
3104
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3105
+ _request_timeout: Union[
3106
+ None,
3107
+ Annotated[StrictFloat, Field(gt=0)],
3108
+ Tuple[
3109
+ Annotated[StrictFloat, Field(gt=0)],
3110
+ Annotated[StrictFloat, Field(gt=0)]
3111
+ ]
3112
+ ] = None,
3113
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3114
+ _content_type: Optional[StrictStr] = None,
3115
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3116
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3117
+ ) -> ApiResponse[List[str]]:
3118
+ """List Tool Keys
3119
+
3120
+ Returns a list of keys for stored tools.
3121
+
3122
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3123
+ :type cell: str
3124
+ :param _request_timeout: timeout setting for this request. If one
3125
+ number provided, it will be total request
3126
+ timeout. It can also be a pair (tuple) of
3127
+ (connection, read) timeouts.
3128
+ :type _request_timeout: int, tuple(int, int), optional
3129
+ :param _request_auth: set to override the auth_settings for an a single
3130
+ request; this effectively ignores the
3131
+ authentication in the spec for a single request.
3132
+ :type _request_auth: dict, optional
3133
+ :param _content_type: force content-type for the request.
3134
+ :type _content_type: str, Optional
3135
+ :param _headers: set to override the headers for a single
3136
+ request; this effectively ignores the headers
3137
+ in the spec for a single request.
3138
+ :type _headers: dict, optional
3139
+ :param _host_index: set to override the host_index for a single
3140
+ request; this effectively ignores the host_index
3141
+ in the spec for a single request.
3142
+ :type _host_index: int, optional
3143
+ :return: Returns the result object.
3144
+ """ # noqa: E501
3145
+
3146
+ _param = self._list_stored_collision_tools_keys_serialize(
3147
+ cell=cell,
3148
+ _request_auth=_request_auth,
3149
+ _content_type=_content_type,
3150
+ _headers=_headers,
3151
+ _host_index=_host_index
3152
+ )
3153
+
3154
+ _response_types_map: Dict[str, Optional[str]] = {
3155
+ '200': "List[str]",
3156
+ }
3157
+
3158
+
3159
+ response_data = await self.api_client.call_api(
3160
+ *_param,
3161
+ _request_timeout=_request_timeout
3162
+ )
3163
+ await response_data.read()
3164
+ return self.api_client.response_deserialize(
3165
+ response_data=response_data,
3166
+ response_types_map=_response_types_map,
3167
+ )
3168
+
3169
+
3170
+ @validate_call
3171
+ async def list_stored_collision_tools_keys_without_preload_content(
3172
+ self,
3173
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3174
+ _request_timeout: Union[
3175
+ None,
3176
+ Annotated[StrictFloat, Field(gt=0)],
3177
+ Tuple[
3178
+ Annotated[StrictFloat, Field(gt=0)],
3179
+ Annotated[StrictFloat, Field(gt=0)]
3180
+ ]
3181
+ ] = None,
3182
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3183
+ _content_type: Optional[StrictStr] = None,
3184
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3185
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3186
+ ) -> RESTResponseType:
3187
+ """List Tool Keys
3188
+
3189
+ Returns a list of keys for stored tools.
3190
+
3191
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3192
+ :type cell: str
3193
+ :param _request_timeout: timeout setting for this request. If one
3194
+ number provided, it will be total request
3195
+ timeout. It can also be a pair (tuple) of
3196
+ (connection, read) timeouts.
3197
+ :type _request_timeout: int, tuple(int, int), optional
3198
+ :param _request_auth: set to override the auth_settings for an a single
3199
+ request; this effectively ignores the
3200
+ authentication in the spec for a single request.
3201
+ :type _request_auth: dict, optional
3202
+ :param _content_type: force content-type for the request.
3203
+ :type _content_type: str, Optional
3204
+ :param _headers: set to override the headers for a single
3205
+ request; this effectively ignores the headers
3206
+ in the spec for a single request.
3207
+ :type _headers: dict, optional
3208
+ :param _host_index: set to override the host_index for a single
3209
+ request; this effectively ignores the host_index
3210
+ in the spec for a single request.
3211
+ :type _host_index: int, optional
3212
+ :return: Returns the result object.
3213
+ """ # noqa: E501
3214
+
3215
+ _param = self._list_stored_collision_tools_keys_serialize(
3216
+ cell=cell,
3217
+ _request_auth=_request_auth,
3218
+ _content_type=_content_type,
3219
+ _headers=_headers,
3220
+ _host_index=_host_index
3221
+ )
3222
+
3223
+ _response_types_map: Dict[str, Optional[str]] = {
3224
+ '200': "List[str]",
3225
+ }
3226
+
3227
+
3228
+ response_data = await self.api_client.call_api(
3229
+ *_param,
3230
+ _request_timeout=_request_timeout
3231
+ )
3232
+ return response_data.response
3233
+
3234
+
3235
+ def _list_stored_collision_tools_keys_serialize(
3236
+ self,
3237
+ cell,
3238
+ _request_auth,
3239
+ _content_type,
3240
+ _headers,
3241
+ _host_index,
3242
+ ) -> RequestSerialized:
3243
+
3244
+ _host = None
3245
+
3246
+ _collection_formats: Dict[str, str] = {
3247
+ }
3248
+
3249
+ _path_params: Dict[str, str] = {}
3250
+ _query_params: List[Tuple[str, str]] = []
3251
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3252
+ _form_params: List[Tuple[str, str]] = []
3253
+ _files: Dict[str, Union[str, bytes]] = {}
3254
+ _body_params: Optional[bytes] = None
3255
+
3256
+ # process the path parameters
3257
+ if cell is not None:
3258
+ _path_params['cell'] = cell
3259
+ # process the query parameters
3260
+ # process the header parameters
3261
+ # process the form parameters
3262
+ # process the body parameter
3263
+
3264
+
3265
+ # set the HTTP header `Accept`
3266
+ _header_params['Accept'] = self.api_client.select_header_accept(
3267
+ [
3268
+ 'application/json'
3269
+ ]
3270
+ )
3271
+
3272
+
3273
+ # authentication setting
3274
+ _auth_settings: List[str] = [
3275
+ 'BasicAuth',
3276
+ 'BearerAuth'
3277
+ ]
3278
+
3279
+ return self.api_client.param_serialize(
3280
+ method='GET',
3281
+ resource_path='/cells/{cell}/store/collision/tools-keys',
3282
+ path_params=_path_params,
3283
+ query_params=_query_params,
3284
+ header_params=_header_params,
3285
+ body=_body_params,
3286
+ post_params=_form_params,
3287
+ files=_files,
3288
+ auth_settings=_auth_settings,
3289
+ collection_formats=_collection_formats,
3290
+ _host=_host,
3291
+ _request_auth=_request_auth
3292
+ )
3293
+
3294
+
3295
+
3296
+ @validate_call
3297
+ async def store_collider(
3298
+ self,
3299
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3300
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
3301
+ collider2: Collider,
3302
+ _request_timeout: Union[
3303
+ None,
3304
+ Annotated[StrictFloat, Field(gt=0)],
3305
+ Tuple[
3306
+ Annotated[StrictFloat, Field(gt=0)],
3307
+ Annotated[StrictFloat, Field(gt=0)]
3308
+ ]
3309
+ ] = None,
3310
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3311
+ _content_type: Optional[StrictStr] = None,
3312
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3313
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3314
+ ) -> Collider:
3315
+ """Store Collider
3316
+
3317
+ Stores collider. - If the collider does not exist, it will be created. - If the collider exists, it will be updated.
3318
+
3319
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3320
+ :type cell: str
3321
+ :param collider: Unique identifier addressing a collider. (required)
3322
+ :type collider: str
3323
+ :param collider2: (required)
3324
+ :type collider2: Collider
3325
+ :param _request_timeout: timeout setting for this request. If one
3326
+ number provided, it will be total request
3327
+ timeout. It can also be a pair (tuple) of
3328
+ (connection, read) timeouts.
3329
+ :type _request_timeout: int, tuple(int, int), optional
3330
+ :param _request_auth: set to override the auth_settings for an a single
3331
+ request; this effectively ignores the
3332
+ authentication in the spec for a single request.
3333
+ :type _request_auth: dict, optional
3334
+ :param _content_type: force content-type for the request.
3335
+ :type _content_type: str, Optional
3336
+ :param _headers: set to override the headers for a single
3337
+ request; this effectively ignores the headers
3338
+ in the spec for a single request.
3339
+ :type _headers: dict, optional
3340
+ :param _host_index: set to override the host_index for a single
3341
+ request; this effectively ignores the host_index
3342
+ in the spec for a single request.
3343
+ :type _host_index: int, optional
3344
+ :return: Returns the result object.
3345
+ """ # noqa: E501
3346
+
3347
+ _param = self._store_collider_serialize(
3348
+ cell=cell,
3349
+ collider=collider,
3350
+ collider2=collider2,
3351
+ _request_auth=_request_auth,
3352
+ _content_type=_content_type,
3353
+ _headers=_headers,
3354
+ _host_index=_host_index
3355
+ )
3356
+
3357
+ _response_types_map: Dict[str, Optional[str]] = {
3358
+ '200': "Collider",
3359
+ }
3360
+
3361
+
3362
+ response_data = await self.api_client.call_api(
3363
+ *_param,
3364
+ _request_timeout=_request_timeout
3365
+ )
3366
+ await response_data.read()
3367
+ return self.api_client.response_deserialize(
3368
+ response_data=response_data,
3369
+ response_types_map=_response_types_map,
3370
+ ).data
3371
+
3372
+
3373
+ @validate_call
3374
+ async def store_collider_with_http_info(
3375
+ self,
3376
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3377
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
3378
+ collider2: Collider,
3379
+ _request_timeout: Union[
3380
+ None,
3381
+ Annotated[StrictFloat, Field(gt=0)],
3382
+ Tuple[
3383
+ Annotated[StrictFloat, Field(gt=0)],
3384
+ Annotated[StrictFloat, Field(gt=0)]
3385
+ ]
3386
+ ] = None,
3387
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3388
+ _content_type: Optional[StrictStr] = None,
3389
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3390
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3391
+ ) -> ApiResponse[Collider]:
3392
+ """Store Collider
3393
+
3394
+ Stores collider. - If the collider does not exist, it will be created. - If the collider exists, it will be updated.
3395
+
3396
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3397
+ :type cell: str
3398
+ :param collider: Unique identifier addressing a collider. (required)
3399
+ :type collider: str
3400
+ :param collider2: (required)
3401
+ :type collider2: Collider
3402
+ :param _request_timeout: timeout setting for this request. If one
3403
+ number provided, it will be total request
3404
+ timeout. It can also be a pair (tuple) of
3405
+ (connection, read) timeouts.
3406
+ :type _request_timeout: int, tuple(int, int), optional
3407
+ :param _request_auth: set to override the auth_settings for an a single
3408
+ request; this effectively ignores the
3409
+ authentication in the spec for a single request.
3410
+ :type _request_auth: dict, optional
3411
+ :param _content_type: force content-type for the request.
3412
+ :type _content_type: str, Optional
3413
+ :param _headers: set to override the headers for a single
3414
+ request; this effectively ignores the headers
3415
+ in the spec for a single request.
3416
+ :type _headers: dict, optional
3417
+ :param _host_index: set to override the host_index for a single
3418
+ request; this effectively ignores the host_index
3419
+ in the spec for a single request.
3420
+ :type _host_index: int, optional
3421
+ :return: Returns the result object.
3422
+ """ # noqa: E501
3423
+
3424
+ _param = self._store_collider_serialize(
3425
+ cell=cell,
3426
+ collider=collider,
3427
+ collider2=collider2,
3428
+ _request_auth=_request_auth,
3429
+ _content_type=_content_type,
3430
+ _headers=_headers,
3431
+ _host_index=_host_index
3432
+ )
3433
+
3434
+ _response_types_map: Dict[str, Optional[str]] = {
3435
+ '200': "Collider",
3436
+ }
3437
+
3438
+
3439
+ response_data = await self.api_client.call_api(
3440
+ *_param,
3441
+ _request_timeout=_request_timeout
3442
+ )
3443
+ await response_data.read()
3444
+ return self.api_client.response_deserialize(
3445
+ response_data=response_data,
3446
+ response_types_map=_response_types_map,
3447
+ )
3448
+
3449
+
3450
+ @validate_call
3451
+ async def store_collider_without_preload_content(
3452
+ self,
3453
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3454
+ collider: Annotated[StrictStr, Field(description="Unique identifier addressing a collider.")],
3455
+ collider2: Collider,
3456
+ _request_timeout: Union[
3457
+ None,
3458
+ Annotated[StrictFloat, Field(gt=0)],
3459
+ Tuple[
3460
+ Annotated[StrictFloat, Field(gt=0)],
3461
+ Annotated[StrictFloat, Field(gt=0)]
3462
+ ]
3463
+ ] = None,
3464
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3465
+ _content_type: Optional[StrictStr] = None,
3466
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3467
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3468
+ ) -> RESTResponseType:
3469
+ """Store Collider
3470
+
3471
+ Stores collider. - If the collider does not exist, it will be created. - If the collider exists, it will be updated.
3472
+
3473
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3474
+ :type cell: str
3475
+ :param collider: Unique identifier addressing a collider. (required)
3476
+ :type collider: str
3477
+ :param collider2: (required)
3478
+ :type collider2: Collider
3479
+ :param _request_timeout: timeout setting for this request. If one
3480
+ number provided, it will be total request
3481
+ timeout. It can also be a pair (tuple) of
3482
+ (connection, read) timeouts.
3483
+ :type _request_timeout: int, tuple(int, int), optional
3484
+ :param _request_auth: set to override the auth_settings for an a single
3485
+ request; this effectively ignores the
3486
+ authentication in the spec for a single request.
3487
+ :type _request_auth: dict, optional
3488
+ :param _content_type: force content-type for the request.
3489
+ :type _content_type: str, Optional
3490
+ :param _headers: set to override the headers for a single
3491
+ request; this effectively ignores the headers
3492
+ in the spec for a single request.
3493
+ :type _headers: dict, optional
3494
+ :param _host_index: set to override the host_index for a single
3495
+ request; this effectively ignores the host_index
3496
+ in the spec for a single request.
3497
+ :type _host_index: int, optional
3498
+ :return: Returns the result object.
3499
+ """ # noqa: E501
3500
+
3501
+ _param = self._store_collider_serialize(
3502
+ cell=cell,
3503
+ collider=collider,
3504
+ collider2=collider2,
3505
+ _request_auth=_request_auth,
3506
+ _content_type=_content_type,
3507
+ _headers=_headers,
3508
+ _host_index=_host_index
3509
+ )
3510
+
3511
+ _response_types_map: Dict[str, Optional[str]] = {
3512
+ '200': "Collider",
3513
+ }
3514
+
3515
+
3516
+ response_data = await self.api_client.call_api(
3517
+ *_param,
3518
+ _request_timeout=_request_timeout
3519
+ )
3520
+ return response_data.response
3521
+
3522
+
3523
+ def _store_collider_serialize(
3524
+ self,
3525
+ cell,
3526
+ collider,
3527
+ collider2,
3528
+ _request_auth,
3529
+ _content_type,
3530
+ _headers,
3531
+ _host_index,
3532
+ ) -> RequestSerialized:
3533
+
3534
+ _host = None
3535
+
3536
+ _collection_formats: Dict[str, str] = {
3537
+ }
3538
+
3539
+ _path_params: Dict[str, str] = {}
3540
+ _query_params: List[Tuple[str, str]] = []
3541
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3542
+ _form_params: List[Tuple[str, str]] = []
3543
+ _files: Dict[str, Union[str, bytes]] = {}
3544
+ _body_params: Optional[bytes] = None
3545
+
3546
+ # process the path parameters
3547
+ if cell is not None:
3548
+ _path_params['cell'] = cell
3549
+ if collider is not None:
3550
+ _path_params['collider'] = collider
3551
+ # process the query parameters
3552
+ # process the header parameters
3553
+ # process the form parameters
3554
+ # process the body parameter
3555
+ if collider2 is not None:
3556
+ _body_params = collider2
3557
+
3558
+
3559
+ # set the HTTP header `Accept`
3560
+ _header_params['Accept'] = self.api_client.select_header_accept(
3561
+ [
3562
+ 'application/json'
3563
+ ]
3564
+ )
3565
+
3566
+ # set the HTTP header `Content-Type`
3567
+ if _content_type:
3568
+ _header_params['Content-Type'] = _content_type
3569
+ else:
3570
+ _default_content_type = (
3571
+ self.api_client.select_header_content_type(
3572
+ [
3573
+ 'application/json'
3574
+ ]
3575
+ )
3576
+ )
3577
+ if _default_content_type is not None:
3578
+ _header_params['Content-Type'] = _default_content_type
3579
+
3580
+ # authentication setting
3581
+ _auth_settings: List[str] = [
3582
+ 'BasicAuth',
3583
+ 'BearerAuth'
3584
+ ]
3585
+
3586
+ return self.api_client.param_serialize(
3587
+ method='PUT',
3588
+ resource_path='/cells/{cell}/store/collision/colliders/{collider}',
3589
+ path_params=_path_params,
3590
+ query_params=_query_params,
3591
+ header_params=_header_params,
3592
+ body=_body_params,
3593
+ post_params=_form_params,
3594
+ files=_files,
3595
+ auth_settings=_auth_settings,
3596
+ collection_formats=_collection_formats,
3597
+ _host=_host,
3598
+ _request_auth=_request_auth
3599
+ )
3600
+
3601
+
3602
+
3603
+ @validate_call
3604
+ async def store_collision_link_chain(
3605
+ self,
3606
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3607
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
3608
+ collider: List[Dict[str, Collider]],
3609
+ _request_timeout: Union[
3610
+ None,
3611
+ Annotated[StrictFloat, Field(gt=0)],
3612
+ Tuple[
3613
+ Annotated[StrictFloat, Field(gt=0)],
3614
+ Annotated[StrictFloat, Field(gt=0)]
3615
+ ]
3616
+ ] = None,
3617
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3618
+ _content_type: Optional[StrictStr] = None,
3619
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3620
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3621
+ ) -> List[Dict[str, Collider]]:
3622
+ """Store Link Chain
3623
+
3624
+ Stores link chain. - If the link chain does not exist, it will be created. - If the link chain exists, it will be updated.
3625
+
3626
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3627
+ :type cell: str
3628
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
3629
+ :type link_chain: str
3630
+ :param collider: (required)
3631
+ :type collider: List[Dict[str, Collider]]
3632
+ :param _request_timeout: timeout setting for this request. If one
3633
+ number provided, it will be total request
3634
+ timeout. It can also be a pair (tuple) of
3635
+ (connection, read) timeouts.
3636
+ :type _request_timeout: int, tuple(int, int), optional
3637
+ :param _request_auth: set to override the auth_settings for an a single
3638
+ request; this effectively ignores the
3639
+ authentication in the spec for a single request.
3640
+ :type _request_auth: dict, optional
3641
+ :param _content_type: force content-type for the request.
3642
+ :type _content_type: str, Optional
3643
+ :param _headers: set to override the headers for a single
3644
+ request; this effectively ignores the headers
3645
+ in the spec for a single request.
3646
+ :type _headers: dict, optional
3647
+ :param _host_index: set to override the host_index for a single
3648
+ request; this effectively ignores the host_index
3649
+ in the spec for a single request.
3650
+ :type _host_index: int, optional
3651
+ :return: Returns the result object.
3652
+ """ # noqa: E501
3653
+
3654
+ _param = self._store_collision_link_chain_serialize(
3655
+ cell=cell,
3656
+ link_chain=link_chain,
3657
+ collider=collider,
3658
+ _request_auth=_request_auth,
3659
+ _content_type=_content_type,
3660
+ _headers=_headers,
3661
+ _host_index=_host_index
3662
+ )
3663
+
3664
+ _response_types_map: Dict[str, Optional[str]] = {
3665
+ '200': "List[Dict[str, Collider]]",
3666
+ }
3667
+
3668
+
3669
+ response_data = await self.api_client.call_api(
3670
+ *_param,
3671
+ _request_timeout=_request_timeout
3672
+ )
3673
+ await response_data.read()
3674
+ return self.api_client.response_deserialize(
3675
+ response_data=response_data,
3676
+ response_types_map=_response_types_map,
3677
+ ).data
3678
+
3679
+
3680
+ @validate_call
3681
+ async def store_collision_link_chain_with_http_info(
3682
+ self,
3683
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3684
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
3685
+ collider: List[Dict[str, Collider]],
3686
+ _request_timeout: Union[
3687
+ None,
3688
+ Annotated[StrictFloat, Field(gt=0)],
3689
+ Tuple[
3690
+ Annotated[StrictFloat, Field(gt=0)],
3691
+ Annotated[StrictFloat, Field(gt=0)]
3692
+ ]
3693
+ ] = None,
3694
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3695
+ _content_type: Optional[StrictStr] = None,
3696
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3697
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3698
+ ) -> ApiResponse[List[Dict[str, Collider]]]:
3699
+ """Store Link Chain
3700
+
3701
+ Stores link chain. - If the link chain does not exist, it will be created. - If the link chain exists, it will be updated.
3702
+
3703
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3704
+ :type cell: str
3705
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
3706
+ :type link_chain: str
3707
+ :param collider: (required)
3708
+ :type collider: List[Dict[str, Collider]]
3709
+ :param _request_timeout: timeout setting for this request. If one
3710
+ number provided, it will be total request
3711
+ timeout. It can also be a pair (tuple) of
3712
+ (connection, read) timeouts.
3713
+ :type _request_timeout: int, tuple(int, int), optional
3714
+ :param _request_auth: set to override the auth_settings for an a single
3715
+ request; this effectively ignores the
3716
+ authentication in the spec for a single request.
3717
+ :type _request_auth: dict, optional
3718
+ :param _content_type: force content-type for the request.
3719
+ :type _content_type: str, Optional
3720
+ :param _headers: set to override the headers for a single
3721
+ request; this effectively ignores the headers
3722
+ in the spec for a single request.
3723
+ :type _headers: dict, optional
3724
+ :param _host_index: set to override the host_index for a single
3725
+ request; this effectively ignores the host_index
3726
+ in the spec for a single request.
3727
+ :type _host_index: int, optional
3728
+ :return: Returns the result object.
3729
+ """ # noqa: E501
3730
+
3731
+ _param = self._store_collision_link_chain_serialize(
3732
+ cell=cell,
3733
+ link_chain=link_chain,
3734
+ collider=collider,
3735
+ _request_auth=_request_auth,
3736
+ _content_type=_content_type,
3737
+ _headers=_headers,
3738
+ _host_index=_host_index
3739
+ )
3740
+
3741
+ _response_types_map: Dict[str, Optional[str]] = {
3742
+ '200': "List[Dict[str, Collider]]",
3743
+ }
3744
+
3745
+
3746
+ response_data = await self.api_client.call_api(
3747
+ *_param,
3748
+ _request_timeout=_request_timeout
3749
+ )
3750
+ await response_data.read()
3751
+ return self.api_client.response_deserialize(
3752
+ response_data=response_data,
3753
+ response_types_map=_response_types_map,
3754
+ )
3755
+
3756
+
3757
+ @validate_call
3758
+ async def store_collision_link_chain_without_preload_content(
3759
+ self,
3760
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3761
+ link_chain: Annotated[StrictStr, Field(description="Unique identifier addressing a collision link chain.")],
3762
+ collider: List[Dict[str, Collider]],
3763
+ _request_timeout: Union[
3764
+ None,
3765
+ Annotated[StrictFloat, Field(gt=0)],
3766
+ Tuple[
3767
+ Annotated[StrictFloat, Field(gt=0)],
3768
+ Annotated[StrictFloat, Field(gt=0)]
3769
+ ]
3770
+ ] = None,
3771
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3772
+ _content_type: Optional[StrictStr] = None,
3773
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3774
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3775
+ ) -> RESTResponseType:
3776
+ """Store Link Chain
3777
+
3778
+ Stores link chain. - If the link chain does not exist, it will be created. - If the link chain exists, it will be updated.
3779
+
3780
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3781
+ :type cell: str
3782
+ :param link_chain: Unique identifier addressing a collision link chain. (required)
3783
+ :type link_chain: str
3784
+ :param collider: (required)
3785
+ :type collider: List[Dict[str, Collider]]
3786
+ :param _request_timeout: timeout setting for this request. If one
3787
+ number provided, it will be total request
3788
+ timeout. It can also be a pair (tuple) of
3789
+ (connection, read) timeouts.
3790
+ :type _request_timeout: int, tuple(int, int), optional
3791
+ :param _request_auth: set to override the auth_settings for an a single
3792
+ request; this effectively ignores the
3793
+ authentication in the spec for a single request.
3794
+ :type _request_auth: dict, optional
3795
+ :param _content_type: force content-type for the request.
3796
+ :type _content_type: str, Optional
3797
+ :param _headers: set to override the headers for a single
3798
+ request; this effectively ignores the headers
3799
+ in the spec for a single request.
3800
+ :type _headers: dict, optional
3801
+ :param _host_index: set to override the host_index for a single
3802
+ request; this effectively ignores the host_index
3803
+ in the spec for a single request.
3804
+ :type _host_index: int, optional
3805
+ :return: Returns the result object.
3806
+ """ # noqa: E501
3807
+
3808
+ _param = self._store_collision_link_chain_serialize(
3809
+ cell=cell,
3810
+ link_chain=link_chain,
3811
+ collider=collider,
3812
+ _request_auth=_request_auth,
3813
+ _content_type=_content_type,
3814
+ _headers=_headers,
3815
+ _host_index=_host_index
3816
+ )
3817
+
3818
+ _response_types_map: Dict[str, Optional[str]] = {
3819
+ '200': "List[Dict[str, Collider]]",
3820
+ }
3821
+
3822
+
3823
+ response_data = await self.api_client.call_api(
3824
+ *_param,
3825
+ _request_timeout=_request_timeout
3826
+ )
3827
+ return response_data.response
3828
+
3829
+
3830
+ def _store_collision_link_chain_serialize(
3831
+ self,
3832
+ cell,
3833
+ link_chain,
3834
+ collider,
3835
+ _request_auth,
3836
+ _content_type,
3837
+ _headers,
3838
+ _host_index,
3839
+ ) -> RequestSerialized:
3840
+
3841
+ _host = None
3842
+
3843
+ _collection_formats: Dict[str, str] = {
3844
+ 'Collider': '',
3845
+ }
3846
+
3847
+ _path_params: Dict[str, str] = {}
3848
+ _query_params: List[Tuple[str, str]] = []
3849
+ _header_params: Dict[str, Optional[str]] = _headers or {}
3850
+ _form_params: List[Tuple[str, str]] = []
3851
+ _files: Dict[str, Union[str, bytes]] = {}
3852
+ _body_params: Optional[bytes] = None
3853
+
3854
+ # process the path parameters
3855
+ if cell is not None:
3856
+ _path_params['cell'] = cell
3857
+ if link_chain is not None:
3858
+ _path_params['link-chain'] = link_chain
3859
+ # process the query parameters
3860
+ # process the header parameters
3861
+ # process the form parameters
3862
+ # process the body parameter
3863
+ if collider is not None:
3864
+ _body_params = collider
3865
+
3866
+
3867
+ # set the HTTP header `Accept`
3868
+ _header_params['Accept'] = self.api_client.select_header_accept(
3869
+ [
3870
+ 'application/json'
3871
+ ]
3872
+ )
3873
+
3874
+ # set the HTTP header `Content-Type`
3875
+ if _content_type:
3876
+ _header_params['Content-Type'] = _content_type
3877
+ else:
3878
+ _default_content_type = (
3879
+ self.api_client.select_header_content_type(
3880
+ [
3881
+ 'application/json'
3882
+ ]
3883
+ )
3884
+ )
3885
+ if _default_content_type is not None:
3886
+ _header_params['Content-Type'] = _default_content_type
3887
+
3888
+ # authentication setting
3889
+ _auth_settings: List[str] = [
3890
+ 'BasicAuth',
3891
+ 'BearerAuth'
3892
+ ]
3893
+
3894
+ return self.api_client.param_serialize(
3895
+ method='PUT',
3896
+ resource_path='/cells/{cell}/store/collision/link-chains/{link-chain}',
3897
+ path_params=_path_params,
3898
+ query_params=_query_params,
3899
+ header_params=_header_params,
3900
+ body=_body_params,
3901
+ post_params=_form_params,
3902
+ files=_files,
3903
+ auth_settings=_auth_settings,
3904
+ collection_formats=_collection_formats,
3905
+ _host=_host,
3906
+ _request_auth=_request_auth
3907
+ )
3908
+
3909
+
3910
+
3911
+ @validate_call
3912
+ async def store_collision_tool(
3913
+ self,
3914
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3915
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
3916
+ request_body: Dict[str, Collider],
3917
+ _request_timeout: Union[
3918
+ None,
3919
+ Annotated[StrictFloat, Field(gt=0)],
3920
+ Tuple[
3921
+ Annotated[StrictFloat, Field(gt=0)],
3922
+ Annotated[StrictFloat, Field(gt=0)]
3923
+ ]
3924
+ ] = None,
3925
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
3926
+ _content_type: Optional[StrictStr] = None,
3927
+ _headers: Optional[Dict[StrictStr, Any]] = None,
3928
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
3929
+ ) -> Dict[str, Collider]:
3930
+ """Store Tool
3931
+
3932
+ Stores the tool. - If the tool does not exist, it will be created. - If the tool exists, it will be updated.
3933
+
3934
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
3935
+ :type cell: str
3936
+ :param tool: Unique identifier addressing a collision tool. (required)
3937
+ :type tool: str
3938
+ :param request_body: (required)
3939
+ :type request_body: Dict[str, Collider]
3940
+ :param _request_timeout: timeout setting for this request. If one
3941
+ number provided, it will be total request
3942
+ timeout. It can also be a pair (tuple) of
3943
+ (connection, read) timeouts.
3944
+ :type _request_timeout: int, tuple(int, int), optional
3945
+ :param _request_auth: set to override the auth_settings for an a single
3946
+ request; this effectively ignores the
3947
+ authentication in the spec for a single request.
3948
+ :type _request_auth: dict, optional
3949
+ :param _content_type: force content-type for the request.
3950
+ :type _content_type: str, Optional
3951
+ :param _headers: set to override the headers for a single
3952
+ request; this effectively ignores the headers
3953
+ in the spec for a single request.
3954
+ :type _headers: dict, optional
3955
+ :param _host_index: set to override the host_index for a single
3956
+ request; this effectively ignores the host_index
3957
+ in the spec for a single request.
3958
+ :type _host_index: int, optional
3959
+ :return: Returns the result object.
3960
+ """ # noqa: E501
3961
+
3962
+ _param = self._store_collision_tool_serialize(
3963
+ cell=cell,
3964
+ tool=tool,
3965
+ request_body=request_body,
3966
+ _request_auth=_request_auth,
3967
+ _content_type=_content_type,
3968
+ _headers=_headers,
3969
+ _host_index=_host_index
3970
+ )
3971
+
3972
+ _response_types_map: Dict[str, Optional[str]] = {
3973
+ '200': "Dict[str, Collider]",
3974
+ }
3975
+
3976
+
3977
+ response_data = await self.api_client.call_api(
3978
+ *_param,
3979
+ _request_timeout=_request_timeout
3980
+ )
3981
+ await response_data.read()
3982
+ return self.api_client.response_deserialize(
3983
+ response_data=response_data,
3984
+ response_types_map=_response_types_map,
3985
+ ).data
3986
+
3987
+
3988
+ @validate_call
3989
+ async def store_collision_tool_with_http_info(
3990
+ self,
3991
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
3992
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
3993
+ request_body: Dict[str, Collider],
3994
+ _request_timeout: Union[
3995
+ None,
3996
+ Annotated[StrictFloat, Field(gt=0)],
3997
+ Tuple[
3998
+ Annotated[StrictFloat, Field(gt=0)],
3999
+ Annotated[StrictFloat, Field(gt=0)]
4000
+ ]
4001
+ ] = None,
4002
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
4003
+ _content_type: Optional[StrictStr] = None,
4004
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4005
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4006
+ ) -> ApiResponse[Dict[str, Collider]]:
4007
+ """Store Tool
4008
+
4009
+ Stores the tool. - If the tool does not exist, it will be created. - If the tool exists, it will be updated.
4010
+
4011
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
4012
+ :type cell: str
4013
+ :param tool: Unique identifier addressing a collision tool. (required)
4014
+ :type tool: str
4015
+ :param request_body: (required)
4016
+ :type request_body: Dict[str, Collider]
4017
+ :param _request_timeout: timeout setting for this request. If one
4018
+ number provided, it will be total request
4019
+ timeout. It can also be a pair (tuple) of
4020
+ (connection, read) timeouts.
4021
+ :type _request_timeout: int, tuple(int, int), optional
4022
+ :param _request_auth: set to override the auth_settings for an a single
4023
+ request; this effectively ignores the
4024
+ authentication in the spec for a single request.
4025
+ :type _request_auth: dict, optional
4026
+ :param _content_type: force content-type for the request.
4027
+ :type _content_type: str, Optional
4028
+ :param _headers: set to override the headers for a single
4029
+ request; this effectively ignores the headers
4030
+ in the spec for a single request.
4031
+ :type _headers: dict, optional
4032
+ :param _host_index: set to override the host_index for a single
4033
+ request; this effectively ignores the host_index
4034
+ in the spec for a single request.
4035
+ :type _host_index: int, optional
4036
+ :return: Returns the result object.
4037
+ """ # noqa: E501
4038
+
4039
+ _param = self._store_collision_tool_serialize(
4040
+ cell=cell,
4041
+ tool=tool,
4042
+ request_body=request_body,
4043
+ _request_auth=_request_auth,
4044
+ _content_type=_content_type,
4045
+ _headers=_headers,
4046
+ _host_index=_host_index
4047
+ )
4048
+
4049
+ _response_types_map: Dict[str, Optional[str]] = {
4050
+ '200': "Dict[str, Collider]",
4051
+ }
4052
+
4053
+
4054
+ response_data = await self.api_client.call_api(
4055
+ *_param,
4056
+ _request_timeout=_request_timeout
4057
+ )
4058
+ await response_data.read()
4059
+ return self.api_client.response_deserialize(
4060
+ response_data=response_data,
4061
+ response_types_map=_response_types_map,
4062
+ )
4063
+
4064
+
4065
+ @validate_call
4066
+ async def store_collision_tool_without_preload_content(
4067
+ self,
4068
+ cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
4069
+ tool: Annotated[StrictStr, Field(description="Unique identifier addressing a collision tool.")],
4070
+ request_body: Dict[str, Collider],
4071
+ _request_timeout: Union[
4072
+ None,
4073
+ Annotated[StrictFloat, Field(gt=0)],
4074
+ Tuple[
4075
+ Annotated[StrictFloat, Field(gt=0)],
4076
+ Annotated[StrictFloat, Field(gt=0)]
4077
+ ]
4078
+ ] = None,
4079
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
4080
+ _content_type: Optional[StrictStr] = None,
4081
+ _headers: Optional[Dict[StrictStr, Any]] = None,
4082
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
4083
+ ) -> RESTResponseType:
4084
+ """Store Tool
4085
+
4086
+ Stores the tool. - If the tool does not exist, it will be created. - If the tool exists, it will be updated.
4087
+
4088
+ :param cell: Unique identifier addressing a cell in all API calls. (required)
4089
+ :type cell: str
4090
+ :param tool: Unique identifier addressing a collision tool. (required)
4091
+ :type tool: str
4092
+ :param request_body: (required)
4093
+ :type request_body: Dict[str, Collider]
4094
+ :param _request_timeout: timeout setting for this request. If one
4095
+ number provided, it will be total request
4096
+ timeout. It can also be a pair (tuple) of
4097
+ (connection, read) timeouts.
4098
+ :type _request_timeout: int, tuple(int, int), optional
4099
+ :param _request_auth: set to override the auth_settings for an a single
4100
+ request; this effectively ignores the
4101
+ authentication in the spec for a single request.
4102
+ :type _request_auth: dict, optional
4103
+ :param _content_type: force content-type for the request.
4104
+ :type _content_type: str, Optional
4105
+ :param _headers: set to override the headers for a single
4106
+ request; this effectively ignores the headers
4107
+ in the spec for a single request.
4108
+ :type _headers: dict, optional
4109
+ :param _host_index: set to override the host_index for a single
4110
+ request; this effectively ignores the host_index
4111
+ in the spec for a single request.
4112
+ :type _host_index: int, optional
4113
+ :return: Returns the result object.
4114
+ """ # noqa: E501
4115
+
4116
+ _param = self._store_collision_tool_serialize(
4117
+ cell=cell,
4118
+ tool=tool,
4119
+ request_body=request_body,
4120
+ _request_auth=_request_auth,
4121
+ _content_type=_content_type,
4122
+ _headers=_headers,
4123
+ _host_index=_host_index
4124
+ )
4125
+
4126
+ _response_types_map: Dict[str, Optional[str]] = {
4127
+ '200': "Dict[str, Collider]",
4128
+ }
4129
+
4130
+
4131
+ response_data = await self.api_client.call_api(
4132
+ *_param,
4133
+ _request_timeout=_request_timeout
4134
+ )
4135
+ return response_data.response
4136
+
4137
+
4138
+ def _store_collision_tool_serialize(
4139
+ self,
4140
+ cell,
4141
+ tool,
4142
+ request_body,
4143
+ _request_auth,
4144
+ _content_type,
4145
+ _headers,
4146
+ _host_index,
4147
+ ) -> RequestSerialized:
4148
+
4149
+ _host = None
4150
+
4151
+ _collection_formats: Dict[str, str] = {
4152
+ }
4153
+
4154
+ _path_params: Dict[str, str] = {}
4155
+ _query_params: List[Tuple[str, str]] = []
4156
+ _header_params: Dict[str, Optional[str]] = _headers or {}
4157
+ _form_params: List[Tuple[str, str]] = []
4158
+ _files: Dict[str, Union[str, bytes]] = {}
4159
+ _body_params: Optional[bytes] = None
4160
+
4161
+ # process the path parameters
4162
+ if cell is not None:
4163
+ _path_params['cell'] = cell
4164
+ if tool is not None:
4165
+ _path_params['tool'] = tool
4166
+ # process the query parameters
4167
+ # process the header parameters
4168
+ # process the form parameters
4169
+ # process the body parameter
4170
+ if request_body is not None:
4171
+ _body_params = request_body
4172
+
4173
+
4174
+ # set the HTTP header `Accept`
4175
+ _header_params['Accept'] = self.api_client.select_header_accept(
4176
+ [
4177
+ 'application/json'
4178
+ ]
4179
+ )
4180
+
4181
+ # set the HTTP header `Content-Type`
4182
+ if _content_type:
4183
+ _header_params['Content-Type'] = _content_type
4184
+ else:
4185
+ _default_content_type = (
4186
+ self.api_client.select_header_content_type(
4187
+ [
4188
+ 'application/json'
4189
+ ]
4190
+ )
4191
+ )
4192
+ if _default_content_type is not None:
4193
+ _header_params['Content-Type'] = _default_content_type
4194
+
4195
+ # authentication setting
4196
+ _auth_settings: List[str] = [
4197
+ 'BasicAuth',
4198
+ 'BearerAuth'
4199
+ ]
4200
+
4201
+ return self.api_client.param_serialize(
4202
+ method='PUT',
4203
+ resource_path='/cells/{cell}/store/collision/tools/{tool}',
4204
+ path_params=_path_params,
4205
+ query_params=_query_params,
4206
+ header_params=_header_params,
4207
+ body=_body_params,
4208
+ post_params=_form_params,
4209
+ files=_files,
4210
+ auth_settings=_auth_settings,
4211
+ collection_formats=_collection_formats,
4212
+ _host=_host,
4213
+ _request_auth=_request_auth
4214
+ )
4215
+
4216
+