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