wandelbots-api-client 25.9.1__py3-none-any.whl → 25.11.0.dev16__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 +1 -2
- wandelbots_api_client/api/controller_ios_api.py +1 -2
- 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 +1 -2
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +1 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +1 -2
- 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 +1 -2
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +1 -2
- wandelbots_api_client/api_client.py +14 -7
- 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 +1 -1
- wandelbots_api_client/models/abb_controller_egm_server.py +1 -1
- wandelbots_api_client/models/activate_license_request.py +1 -1
- wandelbots_api_client/models/add_request.py +1 -1
- wandelbots_api_client/models/all_joint_positions_request.py +1 -1
- wandelbots_api_client/models/all_joint_positions_response.py +1 -1
- wandelbots_api_client/models/api_version.py +91 -0
- wandelbots_api_client/models/app.py +1 -1
- wandelbots_api_client/models/array_input.py +1 -1
- wandelbots_api_client/models/array_output.py +1 -1
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +1 -1
- wandelbots_api_client/models/blending_position.py +1 -1
- wandelbots_api_client/models/box.py +1 -1
- wandelbots_api_client/models/box2.py +1 -1
- wandelbots_api_client/models/box3.py +1 -1
- wandelbots_api_client/models/capsule.py +1 -1
- wandelbots_api_client/models/capsule2.py +1 -1
- wandelbots_api_client/models/capsule3.py +1 -1
- wandelbots_api_client/models/capture.py +1 -1
- wandelbots_api_client/models/cell.py +1 -1
- wandelbots_api_client/models/circle.py +1 -1
- wandelbots_api_client/models/code_with_arguments.py +5 -4
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +1 -1
- wandelbots_api_client/models/collider_input.py +1 -1
- wandelbots_api_client/models/collider_output.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/collision_contact.py +1 -1
- wandelbots_api_client/models/collision_motion_group.py +5 -4
- wandelbots_api_client/models/collision_motion_group_assembly.py +5 -4
- wandelbots_api_client/models/collision_robot_configuration_input.py +9 -7
- wandelbots_api_client/models/collision_robot_configuration_output.py +9 -7
- wandelbots_api_client/models/collision_scene.py +9 -7
- wandelbots_api_client/models/collision_scene_assembly.py +9 -7
- wandelbots_api_client/models/command.py +1 -1
- wandelbots_api_client/models/command_settings.py +1 -1
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +1 -1
- wandelbots_api_client/models/container_environment_inner.py +1 -1
- wandelbots_api_client/models/container_image.py +1 -1
- wandelbots_api_client/models/container_image_secrets_inner.py +1 -1
- wandelbots_api_client/models/container_resources.py +1 -1
- wandelbots_api_client/models/container_storage.py +1 -1
- wandelbots_api_client/models/controller_capabilities.py +1 -1
- wandelbots_api_client/models/controller_instance.py +1 -1
- wandelbots_api_client/models/controller_instance_list.py +1 -1
- wandelbots_api_client/models/convex_hull.py +1 -1
- wandelbots_api_client/models/convex_hull2.py +1 -1
- wandelbots_api_client/models/convex_hull3.py +1 -1
- wandelbots_api_client/models/coordinate_system.py +1 -1
- wandelbots_api_client/models/coordinate_systems.py +1 -1
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +1 -1
- wandelbots_api_client/models/create_program_run_request.py +1 -1
- wandelbots_api_client/models/create_trigger200_response.py +1 -1
- wandelbots_api_client/models/create_trigger_request.py +4 -4
- wandelbots_api_client/models/cubic_spline.py +1 -1
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +1 -1
- wandelbots_api_client/models/cubic_spline_parameter.py +1 -1
- wandelbots_api_client/models/cycle_time.py +1 -1
- wandelbots_api_client/models/cylinder.py +1 -1
- wandelbots_api_client/models/cylinder2.py +1 -1
- wandelbots_api_client/models/cylinder3.py +1 -1
- wandelbots_api_client/models/dh_parameter.py +1 -1
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +1 -1
- wandelbots_api_client/models/error.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/external_joint_stream_datapoint.py +1 -1
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +1 -1
- wandelbots_api_client/models/fanuc_controller.py +1 -1
- wandelbots_api_client/models/feedback_collision.py +1 -1
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +1 -1
- wandelbots_api_client/models/feedback_out_of_workspace.py +1 -1
- wandelbots_api_client/models/feedback_singularity.py +1 -1
- wandelbots_api_client/models/flag.py +1 -1
- wandelbots_api_client/models/force_vector.py +1 -1
- wandelbots_api_client/models/geometry.py +1 -1
- wandelbots_api_client/models/get_all_program_runs200_response.py +1 -1
- wandelbots_api_client/models/get_all_triggers200_response.py +1 -1
- wandelbots_api_client/models/get_mode_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_sample_response.py +1 -1
- wandelbots_api_client/models/google_protobuf_any.py +1 -1
- wandelbots_api_client/models/http_exception_response.py +1 -1
- wandelbots_api_client/models/http_validation_error.py +1 -1
- wandelbots_api_client/models/http_validation_error2.py +1 -1
- wandelbots_api_client/models/image_credentials.py +1 -1
- wandelbots_api_client/models/info_service_capabilities.py +1 -1
- wandelbots_api_client/models/initialize_movement_request.py +1 -1
- wandelbots_api_client/models/initialize_movement_response.py +1 -1
- wandelbots_api_client/models/initialize_movement_response_init_response.py +1 -1
- wandelbots_api_client/models/io.py +1 -1
- wandelbots_api_client/models/io_description.py +1 -1
- wandelbots_api_client/models/io_value.py +1 -1
- wandelbots_api_client/models/ios.py +1 -1
- wandelbots_api_client/models/jogging_response.py +1 -1
- wandelbots_api_client/models/jogging_service_capabilities.py +1 -1
- wandelbots_api_client/models/joint_jogging_request.py +1 -1
- wandelbots_api_client/models/joint_limit.py +1 -1
- wandelbots_api_client/models/joint_limit_exceeded.py +1 -1
- wandelbots_api_client/models/joint_position_request.py +1 -1
- wandelbots_api_client/models/joint_trajectory.py +1 -1
- wandelbots_api_client/models/joints.py +1 -1
- wandelbots_api_client/models/kinematic_service_capabilities.py +1 -1
- wandelbots_api_client/models/kuka_controller.py +1 -1
- wandelbots_api_client/models/kuka_controller_rsi_server.py +1 -1
- wandelbots_api_client/models/license.py +1 -1
- wandelbots_api_client/models/license_status.py +1 -1
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +1 -1
- wandelbots_api_client/models/limits_override.py +1 -1
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +1 -1
- wandelbots_api_client/models/list_io_values_response.py +1 -1
- wandelbots_api_client/models/list_payloads_response.py +1 -1
- wandelbots_api_client/models/list_program_metadata_response.py +1 -1
- wandelbots_api_client/models/list_recipe_metadata_response.py +1 -1
- wandelbots_api_client/models/list_response.py +1 -1
- wandelbots_api_client/models/list_tcps_response.py +1 -1
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +1 -1
- wandelbots_api_client/models/motion_command.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/motion_group_info.py +1 -1
- wandelbots_api_client/models/motion_group_infos.py +1 -1
- wandelbots_api_client/models/motion_group_instance.py +1 -1
- wandelbots_api_client/models/motion_group_instance_list.py +1 -1
- wandelbots_api_client/models/motion_group_joints.py +1 -1
- wandelbots_api_client/models/motion_group_physical.py +1 -1
- wandelbots_api_client/models/motion_group_specification.py +1 -1
- wandelbots_api_client/models/motion_group_state.py +1 -1
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/models/motion_group_state_response.py +1 -1
- wandelbots_api_client/models/motion_id.py +1 -1
- wandelbots_api_client/models/motion_ids_list_response.py +1 -1
- wandelbots_api_client/models/motion_vector.py +1 -1
- wandelbots_api_client/models/mounting.py +1 -1
- wandelbots_api_client/models/move_request.py +1 -1
- wandelbots_api_client/models/move_response.py +1 -1
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +1 -1
- wandelbots_api_client/models/movement.py +1 -1
- wandelbots_api_client/models/movement_error.py +1 -1
- wandelbots_api_client/models/movement_error_error.py +1 -1
- wandelbots_api_client/models/movement_movement.py +1 -1
- wandelbots_api_client/models/op_mode.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +1 -1
- wandelbots_api_client/models/out_of_workspace.py +1 -1
- wandelbots_api_client/models/path.py +1 -1
- wandelbots_api_client/models/path_cartesian_ptp.py +1 -1
- wandelbots_api_client/models/path_circle.py +1 -1
- wandelbots_api_client/models/path_cubic_spline.py +1 -1
- wandelbots_api_client/models/path_joint_ptp.py +1 -1
- wandelbots_api_client/models/path_line.py +1 -1
- wandelbots_api_client/models/pause_movement_request.py +1 -1
- wandelbots_api_client/models/pause_movement_response.py +1 -1
- wandelbots_api_client/models/pause_movement_response_pause_response.py +1 -1
- wandelbots_api_client/models/pause_on_io.py +1 -1
- wandelbots_api_client/models/payload.py +1 -1
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +5 -4
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +1 -1
- wandelbots_api_client/models/plan_failed_response.py +1 -1
- wandelbots_api_client/models/plan_request.py +1 -1
- wandelbots_api_client/models/plan_response.py +1 -1
- wandelbots_api_client/models/plan_successful_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_failed_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +5 -4
- wandelbots_api_client/models/plan_trajectory_response.py +1 -1
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +1 -1
- wandelbots_api_client/models/plane3.py +1 -1
- wandelbots_api_client/models/planned_motion.py +1 -1
- wandelbots_api_client/models/planner_pose.py +1 -1
- wandelbots_api_client/models/planning_limits.py +1 -1
- wandelbots_api_client/models/planning_limits_limit_range.py +1 -1
- wandelbots_api_client/models/playback_speed_request.py +1 -1
- wandelbots_api_client/models/playback_speed_response.py +1 -1
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +1 -1
- wandelbots_api_client/models/point_cloud.py +1 -1
- wandelbots_api_client/models/pose.py +1 -1
- wandelbots_api_client/models/pose2.py +1 -1
- wandelbots_api_client/models/program_metadata.py +1 -1
- wandelbots_api_client/models/program_run.py +5 -4
- wandelbots_api_client/models/program_run_object.py +1 -1
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +1 -1
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +9 -7
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +9 -7
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +1 -1
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +1 -1
- wandelbots_api_client/models/quaternion.py +1 -1
- wandelbots_api_client/models/recipe_metadata.py +1 -1
- wandelbots_api_client/models/rectangle.py +1 -1
- wandelbots_api_client/models/rectangle2.py +1 -1
- wandelbots_api_client/models/rectangle3.py +1 -1
- wandelbots_api_client/models/rectangular_capsule.py +1 -1
- wandelbots_api_client/models/rectangular_capsule2.py +1 -1
- wandelbots_api_client/models/rectangular_capsule3.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +1 -1
- wandelbots_api_client/models/robot_link_geometry.py +1 -1
- wandelbots_api_client/models/robot_state.py +1 -1
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +1 -1
- wandelbots_api_client/models/robot_tcps.py +1 -1
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +1 -1
- wandelbots_api_client/models/safety_configuration.py +1 -1
- wandelbots_api_client/models/safety_setup.py +1 -1
- wandelbots_api_client/models/safety_setup_safety_settings.py +1 -1
- wandelbots_api_client/models/safety_setup_safety_zone.py +1 -1
- wandelbots_api_client/models/safety_zone.py +1 -1
- wandelbots_api_client/models/safety_zone_limits.py +1 -1
- wandelbots_api_client/models/safety_zone_violation.py +1 -1
- wandelbots_api_client/models/service_status.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/set_io.py +1 -1
- wandelbots_api_client/models/set_playback_speed.py +1 -1
- wandelbots_api_client/models/single_joint_limit.py +1 -1
- wandelbots_api_client/models/singularity.py +1 -1
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +1 -1
- wandelbots_api_client/models/sphere2.py +1 -1
- wandelbots_api_client/models/sphere3.py +1 -1
- wandelbots_api_client/models/standstill.py +1 -1
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +1 -1
- wandelbots_api_client/models/start_movement_request.py +1 -1
- wandelbots_api_client/models/start_on_io.py +1 -1
- wandelbots_api_client/models/status.py +1 -1
- wandelbots_api_client/models/stop_response.py +1 -1
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +1 -1
- wandelbots_api_client/models/stream_move_forward.py +1 -1
- wandelbots_api_client/models/stream_move_playback_speed.py +1 -1
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +1 -1
- wandelbots_api_client/models/stream_move_to_trajectory.py +1 -1
- wandelbots_api_client/models/stream_stop.py +1 -1
- wandelbots_api_client/models/tcp_pose.py +1 -1
- wandelbots_api_client/models/tcp_pose_request.py +1 -1
- wandelbots_api_client/models/tool_geometry.py +1 -1
- wandelbots_api_client/models/trajectory_sample.py +1 -1
- wandelbots_api_client/models/trigger_object.py +4 -4
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +1 -1
- wandelbots_api_client/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/models/update_program_metadata_request.py +1 -1
- wandelbots_api_client/models/update_recipe_metadata_request.py +1 -1
- wandelbots_api_client/models/update_trigger_request.py +4 -4
- wandelbots_api_client/models/validation_error.py +1 -1
- wandelbots_api_client/models/validation_error2.py +1 -1
- 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 +1 -1
- wandelbots_api_client/models/version_number.py +1 -1
- wandelbots_api_client/models/virtual_controller.py +1 -1
- wandelbots_api_client/models/virtual_controller_types.py +9 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +1 -1
- wandelbots_api_client/models/yaskawa_controller.py +1 -1
- wandelbots_api_client/rest.py +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +2 -3
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api/cell_api.py +2 -3
- wandelbots_api_client/v2/api/controller_api.py +5 -6
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api/jogging_api.py +2 -3
- wandelbots_api_client/v2/api/kinematics_api.py +2 -3
- wandelbots_api_client/v2/api/license_api.py +2 -3
- wandelbots_api_client/v2/api/motion_group_api.py +4 -5
- wandelbots_api_client/v2/api/motion_group_models_api.py +2 -3
- wandelbots_api_client/v2/api/program_api.py +14 -15
- wandelbots_api_client/v2/api/store_collision_components_api.py +2 -3
- wandelbots_api_client/v2/api/store_collision_setups_api.py +2 -3
- wandelbots_api_client/v2/api/store_object_api.py +2 -3
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +2 -3
- wandelbots_api_client/v2/api/trajectory_execution_api.py +2 -3
- wandelbots_api_client/v2/api/trajectory_planning_api.py +2 -3
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +17 -3
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +8 -3
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +2 -3
- 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 +4 -3
- wandelbots_api_client/v2/models/abb_controller.py +2 -2
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/v2/models/activate_license_request.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_error.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/add_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +2 -2
- wandelbots_api_client/v2/models/behavior.py +2 -2
- wandelbots_api_client/v2/models/blending_auto.py +5 -4
- wandelbots_api_client/v2/models/blending_position.py +2 -2
- wandelbots_api_client/v2/models/boolean_value.py +2 -2
- wandelbots_api_client/v2/models/box.py +2 -2
- wandelbots_api_client/v2/models/bus_io_description.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +2 -2
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +2 -2
- wandelbots_api_client/v2/models/bus_io_type.py +2 -27
- wandelbots_api_client/v2/models/bus_ios_state.py +2 -2
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +2 -2
- wandelbots_api_client/v2/models/cartesian_limits.py +2 -2
- wandelbots_api_client/v2/models/cell.py +2 -2
- wandelbots_api_client/v2/models/collider.py +2 -2
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +2 -2
- wandelbots_api_client/v2/models/collision_contact.py +2 -2
- wandelbots_api_client/v2/models/collision_error.py +2 -2
- wandelbots_api_client/v2/models/collision_free_algorithm.py +3 -3
- wandelbots_api_client/v2/models/collision_setup.py +10 -8
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +2 -2
- wandelbots_api_client/v2/models/configuration_resource.py +2 -2
- wandelbots_api_client/v2/models/container_environment_inner.py +2 -2
- wandelbots_api_client/v2/models/container_image.py +2 -2
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/v2/models/container_resources.py +2 -2
- wandelbots_api_client/v2/models/container_storage.py +2 -2
- wandelbots_api_client/v2/models/controller_description.py +2 -2
- wandelbots_api_client/v2/models/convex_hull.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system_data.py +2 -2
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +2 -2
- wandelbots_api_client/v2/models/dh_parameter.py +2 -2
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +2 -2
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +2 -2
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +4 -3
- wandelbots_api_client/v2/models/error_joint_position_collision.py +2 -2
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +2 -2
- wandelbots_api_client/v2/models/execute.py +2 -2
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +2 -27
- wandelbots_api_client/v2/models/execute_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +2 -27
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/v2/models/external_joint_stream_request.py +2 -2
- wandelbots_api_client/v2/models/fanuc_controller.py +2 -2
- wandelbots_api_client/v2/models/feedback_collision.py +2 -2
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +5 -4
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +2 -2
- wandelbots_api_client/v2/models/feedback_singularity.py +2 -2
- wandelbots_api_client/v2/models/flag.py +2 -2
- wandelbots_api_client/v2/models/float_value.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_request.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_response.py +2 -2
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +2 -2
- wandelbots_api_client/v2/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/http_validation_error.py +2 -2
- wandelbots_api_client/v2/models/image_credentials.py +2 -2
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +2 -2
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +2 -2
- wandelbots_api_client/v2/models/initialize_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/initialize_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/v2/models/integer_value.py +2 -2
- wandelbots_api_client/v2/models/invalid_dof_error.py +2 -2
- wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -5
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +2 -2
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +2 -2
- wandelbots_api_client/v2/models/io_boundary.py +2 -17
- wandelbots_api_client/v2/models/io_description.py +2 -2
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +2 -2
- wandelbots_api_client/v2/models/io_integer_value.py +2 -2
- wandelbots_api_client/v2/models/io_origin.py +2 -2
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +2 -2
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +5 -4
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +2 -2
- wandelbots_api_client/v2/models/jogging_running.py +2 -2
- wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +2 -2
- wandelbots_api_client/v2/models/joint_limits.py +2 -2
- wandelbots_api_client/v2/models/joint_trajectory.py +2 -2
- wandelbots_api_client/v2/models/joint_velocity_request.py +2 -2
- wandelbots_api_client/v2/models/joint_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/v2/models/license.py +2 -2
- wandelbots_api_client/v2/models/license_status.py +2 -2
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +2 -2
- wandelbots_api_client/v2/models/limit_set.py +2 -2
- wandelbots_api_client/v2/models/limits_override.py +2 -2
- wandelbots_api_client/v2/models/list_trajectories_response.py +2 -2
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +2 -2
- wandelbots_api_client/v2/models/modbus_io.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_area.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_data.py +2 -2
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/motion_command.py +2 -2
- 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/motion_group_description.py +21 -16
- wandelbots_api_client/v2/models/motion_group_info.py +5 -4
- wandelbots_api_client/v2/models/motion_group_joints.py +2 -2
- wandelbots_api_client/v2/models/motion_group_setup.py +9 -7
- wandelbots_api_client/v2/models/motion_group_state.py +4 -3
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/v2/models/movement_error_response.py +2 -2
- wandelbots_api_client/v2/models/nan_value_error.py +2 -2
- wandelbots_api_client/v2/models/nan_value_error_nan_value.py +2 -2
- wandelbots_api_client/v2/models/op_mode.py +2 -2
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +2 -2
- 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 +2 -2
- wandelbots_api_client/v2/models/path_circle.py +2 -2
- wandelbots_api_client/v2/models/path_cubic_spline.py +2 -2
- wandelbots_api_client/v2/models/path_joint_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_line.py +2 -2
- wandelbots_api_client/v2/models/pause_jogging_request.py +2 -2
- wandelbots_api_client/v2/models/pause_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_request.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_response.py +2 -2
- wandelbots_api_client/v2/models/pause_on_io.py +2 -2
- wandelbots_api_client/v2/models/payload.py +2 -2
- wandelbots_api_client/v2/models/plan422_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_request.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_response.py +2 -2
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +2 -2
- wandelbots_api_client/v2/models/playback_speed_request.py +5 -4
- wandelbots_api_client/v2/models/playback_speed_response.py +2 -2
- wandelbots_api_client/v2/models/pose.py +2 -2
- wandelbots_api_client/v2/models/profinet_description.py +2 -2
- wandelbots_api_client/v2/models/profinet_input_output_config.py +4 -4
- wandelbots_api_client/v2/models/profinet_io.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_data.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_direction.py +2 -2
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +4 -4
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +2 -2
- wandelbots_api_client/v2/models/program_run.py +2 -2
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +2 -2
- wandelbots_api_client/v2/models/rectangle.py +2 -2
- wandelbots_api_client/v2/models/rectangular_capsule.py +2 -2
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +6 -5
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp_data.py +2 -2
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +2 -2
- 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 +2 -2
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +2 -2
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +2 -2
- wandelbots_api_client/v2/models/set_io.py +2 -2
- 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 +2 -2
- wandelbots_api_client/v2/models/start_movement_request.py +2 -2
- wandelbots_api_client/v2/models/start_movement_response.py +2 -2
- wandelbots_api_client/v2/models/start_on_io.py +2 -2
- wandelbots_api_client/v2/models/stream_io_values_response.py +5 -4
- wandelbots_api_client/v2/models/tcp_offset.py +2 -2
- wandelbots_api_client/v2/models/tcp_required_error.py +2 -2
- wandelbots_api_client/v2/models/tcp_velocity_request.py +2 -2
- wandelbots_api_client/v2/models/tcp_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/torque_exceeded_error.py +2 -2
- wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +2 -2
- wandelbots_api_client/v2/models/trajectory_data.py +2 -2
- wandelbots_api_client/v2/models/trajectory_details.py +2 -2
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +2 -2
- wandelbots_api_client/v2/models/trajectory_id.py +2 -2
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +2 -2
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +2 -2
- wandelbots_api_client/v2/models/trajectory_running.py +5 -4
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +2 -2
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +2 -2
- wandelbots_api_client/v2/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/v2/models/validation_error.py +2 -2
- wandelbots_api_client/v2/models/validation_error2.py +2 -2
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller_types.py +10 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +2 -2
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +2 -2
- wandelbots_api_client/v2/models/yaskawa_controller.py +2 -2
- 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_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- 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_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- 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_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- 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.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/METADATA +17 -16
- wandelbots_api_client-25.11.0.dev16.dist-info/RECORD +640 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client-25.9.1.dist-info/RECORD +0 -606
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.9.1.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,991 @@
|
|
|
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 List, Optional
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
from wandelbots_api_client.v2_pydantic.models import Behavior
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.models import CycleTime
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.models import ExternalJointStreamDatapoint
|
|
31
|
+
from wandelbots_api_client.v2_pydantic.models import ExternalJointStreamRequest
|
|
32
|
+
|
|
33
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
34
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
35
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
36
|
+
|
|
37
|
+
class VirtualControllerBehaviorApi:
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None) -> None:
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient.get_default()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
@validate_call
|
|
50
|
+
async def external_joints_stream(self, cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")], controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")], client_request_generator: Callable[[AsyncGenerator[List[ExternalJointStreamDatapoint], None]], AsyncGenerator[ExternalJointStreamRequest, None]]) -> None: # noqa: E501
|
|
51
|
+
"""Stream Joint Configuration # noqa: E501
|
|
52
|
+
|
|
53
|
+
<!-- theme: success --> > Websocket endpoint Sends the **commanded** state, e.g., joint positions, velocities, accelerations, torques, for each motion group of the virtual controller and sets the joint configuration. Use [planTrajectory](planTrajectory) and [executeTrajectory](executeTrajectory) to move motion groups on virtual controllers. Learn more about the [movement behavior of virtual controllers in comparison to physical controllers](executeTrajectory#movement-behavior). > **NOTE** > > Incoming joint configurations are not visualized and their velocity limits are not checked. #### Use cases 1. Creating a robotic application that dynamically adapts to the configured joints on the robot controller, using this stream to feed new joint configurations back to the motion groups.\\ The stream only sends data to the robot controller if a motion is executed.\\ If the robot controller's joint configuration differs too much from the incoming joint configuration, a following error occurs. Joint configurations that result in following errors are executed only for motions with a low velocity. 2. Mimic freedrive motions. <!-- theme: danger --> > **DANGER** > > If the incoming joint configuration is set to maximum velocity, the movement to reach this incoming joint configuration > will be executed with maximum speed regardless of safety zones and mechanical limits. # noqa: E501
|
|
54
|
+
:param client_request_generator: An AsyncGenerator that yields request of type ExternalJointsStreamRequest and takes an AsyncGenerator of List[ExternalJointStreamDatapoint] as an input argument (required)
|
|
55
|
+
:info All responses from the server will be yielded to client_request_generator through the (AsyncGenerator[List[ExternalJointStreamDatapoint], None])
|
|
56
|
+
:type AsyncGenerator[ExternalJointsStreamRequest, None]
|
|
57
|
+
"""
|
|
58
|
+
def format_path_parameters(path):
|
|
59
|
+
# Find all substrings that are enclosed in brackets
|
|
60
|
+
bracket_contents = re.findall(r'\{(.*?)\}', path)
|
|
61
|
+
|
|
62
|
+
# For each found substring, alter it to match the python variable name
|
|
63
|
+
for content in bracket_contents:
|
|
64
|
+
content = "{" + content + "}"
|
|
65
|
+
modified_content = humps.dekebabize(content)
|
|
66
|
+
path = path.replace(content, modified_content)
|
|
67
|
+
|
|
68
|
+
return path
|
|
69
|
+
|
|
70
|
+
async def iterate_responses(ws) -> AsyncGenerator[List[ExternalJointStreamDatapoint], None]:
|
|
71
|
+
async for response in ws:
|
|
72
|
+
if "Cancelled on the server side" in response:
|
|
73
|
+
break
|
|
74
|
+
response_data = json.loads(response)
|
|
75
|
+
if "result" not in response_data:
|
|
76
|
+
raise Exception(response_data)
|
|
77
|
+
result_data = response_data["result"]
|
|
78
|
+
if isinstance(result_data, list):
|
|
79
|
+
# Handle list of objects
|
|
80
|
+
import re
|
|
81
|
+
# Extract the base type from List[BaseType] pattern
|
|
82
|
+
return_type_str = "List[ExternalJointStreamDatapoint]"
|
|
83
|
+
if return_type_str.startswith("List[") and return_type_str.endswith("]"):
|
|
84
|
+
base_type_name = return_type_str[5:-1] # Remove "List[" and "]"
|
|
85
|
+
# Get the actual class from the module
|
|
86
|
+
base_type_class = globals().get(base_type_name)
|
|
87
|
+
if base_type_class and hasattr(base_type_class, 'model_validate'):
|
|
88
|
+
result_list = [base_type_class.model_validate(item) for item in result_data]
|
|
89
|
+
yield result_list
|
|
90
|
+
else:
|
|
91
|
+
yield result_data
|
|
92
|
+
else:
|
|
93
|
+
yield result_data
|
|
94
|
+
else:
|
|
95
|
+
# Handle single object
|
|
96
|
+
yield List[ExternalJointStreamDatapoint].model_validate(result_data)
|
|
97
|
+
|
|
98
|
+
|
|
99
|
+
path = format_path_parameters("/cells/{cell}/virtual-controllers/{controller}/external-joints-stream")
|
|
100
|
+
path = path.format(cell=cell,controller=controller,)
|
|
101
|
+
|
|
102
|
+
headers = websockets.Headers()
|
|
103
|
+
tmp_host = self.api_client.configuration.host
|
|
104
|
+
if self.api_client.configuration.host.startswith("https://"):
|
|
105
|
+
# Basic Auth
|
|
106
|
+
if self.api_client.configuration.username:
|
|
107
|
+
tmp_host = self.api_client.configuration.host.replace("https://", "")
|
|
108
|
+
tmp_host = f"wss://{self.api_client.configuration.username}:{self.api_client.configuration.password}@{tmp_host}"
|
|
109
|
+
|
|
110
|
+
# OAuth2
|
|
111
|
+
elif self.api_client.configuration.access_token:
|
|
112
|
+
tmp_host = self.api_client.configuration.host.replace("https://", "")
|
|
113
|
+
tmp_host = f"wss://{tmp_host}"
|
|
114
|
+
headers = websockets.Headers([
|
|
115
|
+
("Authorization", f"Bearer {self.api_client.configuration.access_token}")
|
|
116
|
+
])
|
|
117
|
+
else:
|
|
118
|
+
tmp_host = tmp_host.replace("http://", "ws://")
|
|
119
|
+
|
|
120
|
+
full_url = furl(tmp_host + path)
|
|
121
|
+
|
|
122
|
+
async with websockets.connect(full_url.url, open_timeout=10, additional_headers=headers) as websocket:
|
|
123
|
+
try:
|
|
124
|
+
async for request in client_request_generator(iterate_responses(websocket)):
|
|
125
|
+
await websocket.send(request.model_dump_json(exclude_none=True))
|
|
126
|
+
finally:
|
|
127
|
+
await websocket.close()
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
@validate_call
|
|
131
|
+
async def get_cycle_time(
|
|
132
|
+
self,
|
|
133
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
134
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
135
|
+
_request_timeout: Union[
|
|
136
|
+
None,
|
|
137
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
138
|
+
Tuple[
|
|
139
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
140
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
141
|
+
]
|
|
142
|
+
] = None,
|
|
143
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
144
|
+
_content_type: Optional[StrictStr] = None,
|
|
145
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
146
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
147
|
+
) -> CycleTime:
|
|
148
|
+
"""Get Cycle Time
|
|
149
|
+
|
|
150
|
+
Get the cycle time of controller communication in [ms].
|
|
151
|
+
|
|
152
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
153
|
+
:type cell: str
|
|
154
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
155
|
+
:type controller: str
|
|
156
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
157
|
+
number provided, it will be total request
|
|
158
|
+
timeout. It can also be a pair (tuple) of
|
|
159
|
+
(connection, read) timeouts.
|
|
160
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
161
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
162
|
+
request; this effectively ignores the
|
|
163
|
+
authentication in the spec for a single request.
|
|
164
|
+
:type _request_auth: dict, optional
|
|
165
|
+
:param _content_type: force content-type for the request.
|
|
166
|
+
:type _content_type: str, Optional
|
|
167
|
+
:param _headers: set to override the headers for a single
|
|
168
|
+
request; this effectively ignores the headers
|
|
169
|
+
in the spec for a single request.
|
|
170
|
+
:type _headers: dict, optional
|
|
171
|
+
:param _host_index: set to override the host_index for a single
|
|
172
|
+
request; this effectively ignores the host_index
|
|
173
|
+
in the spec for a single request.
|
|
174
|
+
:type _host_index: int, optional
|
|
175
|
+
:return: Returns the result object.
|
|
176
|
+
""" # noqa: E501
|
|
177
|
+
|
|
178
|
+
_param = self._get_cycle_time_serialize(
|
|
179
|
+
cell=cell,
|
|
180
|
+
controller=controller,
|
|
181
|
+
_request_auth=_request_auth,
|
|
182
|
+
_content_type=_content_type,
|
|
183
|
+
_headers=_headers,
|
|
184
|
+
_host_index=_host_index
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
188
|
+
'200': "CycleTime",
|
|
189
|
+
'400': "Error",
|
|
190
|
+
'404': "Error",
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
response_data = await self.api_client.call_api(
|
|
194
|
+
*_param,
|
|
195
|
+
_request_timeout=_request_timeout
|
|
196
|
+
)
|
|
197
|
+
await response_data.read()
|
|
198
|
+
return self.api_client.response_deserialize(
|
|
199
|
+
response_data=response_data,
|
|
200
|
+
response_types_map=_response_types_map,
|
|
201
|
+
).data
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
@validate_call
|
|
205
|
+
async def get_cycle_time_with_http_info(
|
|
206
|
+
self,
|
|
207
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
208
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
209
|
+
_request_timeout: Union[
|
|
210
|
+
None,
|
|
211
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
212
|
+
Tuple[
|
|
213
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
214
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
215
|
+
]
|
|
216
|
+
] = None,
|
|
217
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
218
|
+
_content_type: Optional[StrictStr] = None,
|
|
219
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
220
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
221
|
+
) -> ApiResponse[CycleTime]:
|
|
222
|
+
"""Get Cycle Time
|
|
223
|
+
|
|
224
|
+
Get the cycle time of controller communication in [ms].
|
|
225
|
+
|
|
226
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
227
|
+
:type cell: str
|
|
228
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
229
|
+
:type controller: str
|
|
230
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
231
|
+
number provided, it will be total request
|
|
232
|
+
timeout. It can also be a pair (tuple) of
|
|
233
|
+
(connection, read) timeouts.
|
|
234
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
235
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
236
|
+
request; this effectively ignores the
|
|
237
|
+
authentication in the spec for a single request.
|
|
238
|
+
:type _request_auth: dict, optional
|
|
239
|
+
:param _content_type: force content-type for the request.
|
|
240
|
+
:type _content_type: str, Optional
|
|
241
|
+
:param _headers: set to override the headers for a single
|
|
242
|
+
request; this effectively ignores the headers
|
|
243
|
+
in the spec for a single request.
|
|
244
|
+
:type _headers: dict, optional
|
|
245
|
+
:param _host_index: set to override the host_index for a single
|
|
246
|
+
request; this effectively ignores the host_index
|
|
247
|
+
in the spec for a single request.
|
|
248
|
+
:type _host_index: int, optional
|
|
249
|
+
:return: Returns the result object.
|
|
250
|
+
""" # noqa: E501
|
|
251
|
+
|
|
252
|
+
_param = self._get_cycle_time_serialize(
|
|
253
|
+
cell=cell,
|
|
254
|
+
controller=controller,
|
|
255
|
+
_request_auth=_request_auth,
|
|
256
|
+
_content_type=_content_type,
|
|
257
|
+
_headers=_headers,
|
|
258
|
+
_host_index=_host_index
|
|
259
|
+
)
|
|
260
|
+
|
|
261
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
262
|
+
'200': "CycleTime",
|
|
263
|
+
'400': "Error",
|
|
264
|
+
'404': "Error",
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
response_data = await self.api_client.call_api(
|
|
268
|
+
*_param,
|
|
269
|
+
_request_timeout=_request_timeout
|
|
270
|
+
)
|
|
271
|
+
await response_data.read()
|
|
272
|
+
return self.api_client.response_deserialize(
|
|
273
|
+
response_data=response_data,
|
|
274
|
+
response_types_map=_response_types_map,
|
|
275
|
+
)
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
@validate_call
|
|
279
|
+
async def get_cycle_time_without_preload_content(
|
|
280
|
+
self,
|
|
281
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
282
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
283
|
+
_request_timeout: Union[
|
|
284
|
+
None,
|
|
285
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
286
|
+
Tuple[
|
|
287
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
288
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
289
|
+
]
|
|
290
|
+
] = None,
|
|
291
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
292
|
+
_content_type: Optional[StrictStr] = None,
|
|
293
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
294
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
295
|
+
) -> RESTResponseType:
|
|
296
|
+
"""Get Cycle Time
|
|
297
|
+
|
|
298
|
+
Get the cycle time of controller communication in [ms].
|
|
299
|
+
|
|
300
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
301
|
+
:type cell: str
|
|
302
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
303
|
+
:type controller: str
|
|
304
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
305
|
+
number provided, it will be total request
|
|
306
|
+
timeout. It can also be a pair (tuple) of
|
|
307
|
+
(connection, read) timeouts.
|
|
308
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
309
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
310
|
+
request; this effectively ignores the
|
|
311
|
+
authentication in the spec for a single request.
|
|
312
|
+
:type _request_auth: dict, optional
|
|
313
|
+
:param _content_type: force content-type for the request.
|
|
314
|
+
:type _content_type: str, Optional
|
|
315
|
+
:param _headers: set to override the headers for a single
|
|
316
|
+
request; this effectively ignores the headers
|
|
317
|
+
in the spec for a single request.
|
|
318
|
+
:type _headers: dict, optional
|
|
319
|
+
:param _host_index: set to override the host_index for a single
|
|
320
|
+
request; this effectively ignores the host_index
|
|
321
|
+
in the spec for a single request.
|
|
322
|
+
:type _host_index: int, optional
|
|
323
|
+
:return: Returns the result object.
|
|
324
|
+
""" # noqa: E501
|
|
325
|
+
|
|
326
|
+
_param = self._get_cycle_time_serialize(
|
|
327
|
+
cell=cell,
|
|
328
|
+
controller=controller,
|
|
329
|
+
_request_auth=_request_auth,
|
|
330
|
+
_content_type=_content_type,
|
|
331
|
+
_headers=_headers,
|
|
332
|
+
_host_index=_host_index
|
|
333
|
+
)
|
|
334
|
+
|
|
335
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
336
|
+
'200': "CycleTime",
|
|
337
|
+
'400': "Error",
|
|
338
|
+
'404': "Error",
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
response_data = await self.api_client.call_api(
|
|
342
|
+
*_param,
|
|
343
|
+
_request_timeout=_request_timeout
|
|
344
|
+
)
|
|
345
|
+
return response_data.response
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
def _get_cycle_time_serialize(
|
|
349
|
+
self,
|
|
350
|
+
cell,
|
|
351
|
+
controller,
|
|
352
|
+
_request_auth,
|
|
353
|
+
_content_type,
|
|
354
|
+
_headers,
|
|
355
|
+
_host_index,
|
|
356
|
+
) -> RequestSerialized:
|
|
357
|
+
|
|
358
|
+
_host = None
|
|
359
|
+
|
|
360
|
+
_collection_formats: Dict[str, str] = {
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
_path_params: Dict[str, str] = {}
|
|
364
|
+
_query_params: List[Tuple[str, str]] = []
|
|
365
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
366
|
+
_form_params: List[Tuple[str, str]] = []
|
|
367
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
368
|
+
_body_params: Optional[bytes] = None
|
|
369
|
+
|
|
370
|
+
# process the path parameters
|
|
371
|
+
if cell is not None:
|
|
372
|
+
_path_params['cell'] = cell
|
|
373
|
+
if controller is not None:
|
|
374
|
+
_path_params['controller'] = controller
|
|
375
|
+
# process the query parameters
|
|
376
|
+
# process the header parameters
|
|
377
|
+
# process the form parameters
|
|
378
|
+
# process the body parameter
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
# set the HTTP header `Accept`
|
|
382
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
383
|
+
[
|
|
384
|
+
'application/json'
|
|
385
|
+
]
|
|
386
|
+
)
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
# authentication setting
|
|
390
|
+
_auth_settings: List[str] = [
|
|
391
|
+
'BasicAuth',
|
|
392
|
+
'BearerAuth'
|
|
393
|
+
]
|
|
394
|
+
|
|
395
|
+
return self.api_client.param_serialize(
|
|
396
|
+
method='GET',
|
|
397
|
+
resource_path='/cells/{cell}/virtual-controllers/{controller}/cycle-time',
|
|
398
|
+
path_params=_path_params,
|
|
399
|
+
query_params=_query_params,
|
|
400
|
+
header_params=_header_params,
|
|
401
|
+
body=_body_params,
|
|
402
|
+
post_params=_form_params,
|
|
403
|
+
files=_files,
|
|
404
|
+
auth_settings=_auth_settings,
|
|
405
|
+
collection_formats=_collection_formats,
|
|
406
|
+
_host=_host,
|
|
407
|
+
_request_auth=_request_auth
|
|
408
|
+
)
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
@validate_call
|
|
413
|
+
async def get_virtual_controller_behavior(
|
|
414
|
+
self,
|
|
415
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
416
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
417
|
+
_request_timeout: Union[
|
|
418
|
+
None,
|
|
419
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
420
|
+
Tuple[
|
|
421
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
422
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
423
|
+
]
|
|
424
|
+
] = None,
|
|
425
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
426
|
+
_content_type: Optional[StrictStr] = None,
|
|
427
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
428
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
429
|
+
) -> Behavior:
|
|
430
|
+
"""Get Behavior
|
|
431
|
+
|
|
432
|
+
Get the current virtual controller behavior. See [setVirtualControllerBehavior](setVirtualControllerBehavior) and the body for details.
|
|
433
|
+
|
|
434
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
435
|
+
:type cell: str
|
|
436
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
437
|
+
:type controller: str
|
|
438
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
439
|
+
number provided, it will be total request
|
|
440
|
+
timeout. It can also be a pair (tuple) of
|
|
441
|
+
(connection, read) timeouts.
|
|
442
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
443
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
444
|
+
request; this effectively ignores the
|
|
445
|
+
authentication in the spec for a single request.
|
|
446
|
+
:type _request_auth: dict, optional
|
|
447
|
+
:param _content_type: force content-type for the request.
|
|
448
|
+
:type _content_type: str, Optional
|
|
449
|
+
:param _headers: set to override the headers for a single
|
|
450
|
+
request; this effectively ignores the headers
|
|
451
|
+
in the spec for a single request.
|
|
452
|
+
:type _headers: dict, optional
|
|
453
|
+
:param _host_index: set to override the host_index for a single
|
|
454
|
+
request; this effectively ignores the host_index
|
|
455
|
+
in the spec for a single request.
|
|
456
|
+
:type _host_index: int, optional
|
|
457
|
+
:return: Returns the result object.
|
|
458
|
+
""" # noqa: E501
|
|
459
|
+
|
|
460
|
+
_param = self._get_virtual_controller_behavior_serialize(
|
|
461
|
+
cell=cell,
|
|
462
|
+
controller=controller,
|
|
463
|
+
_request_auth=_request_auth,
|
|
464
|
+
_content_type=_content_type,
|
|
465
|
+
_headers=_headers,
|
|
466
|
+
_host_index=_host_index
|
|
467
|
+
)
|
|
468
|
+
|
|
469
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
470
|
+
'200': "Behavior",
|
|
471
|
+
'400': "Error",
|
|
472
|
+
'404': "Error",
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
response_data = await self.api_client.call_api(
|
|
476
|
+
*_param,
|
|
477
|
+
_request_timeout=_request_timeout
|
|
478
|
+
)
|
|
479
|
+
await response_data.read()
|
|
480
|
+
return self.api_client.response_deserialize(
|
|
481
|
+
response_data=response_data,
|
|
482
|
+
response_types_map=_response_types_map,
|
|
483
|
+
).data
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
@validate_call
|
|
487
|
+
async def get_virtual_controller_behavior_with_http_info(
|
|
488
|
+
self,
|
|
489
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
490
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
491
|
+
_request_timeout: Union[
|
|
492
|
+
None,
|
|
493
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
494
|
+
Tuple[
|
|
495
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
496
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
497
|
+
]
|
|
498
|
+
] = None,
|
|
499
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
500
|
+
_content_type: Optional[StrictStr] = None,
|
|
501
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
502
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
503
|
+
) -> ApiResponse[Behavior]:
|
|
504
|
+
"""Get Behavior
|
|
505
|
+
|
|
506
|
+
Get the current virtual controller behavior. See [setVirtualControllerBehavior](setVirtualControllerBehavior) and the body for details.
|
|
507
|
+
|
|
508
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
509
|
+
:type cell: str
|
|
510
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
511
|
+
:type controller: str
|
|
512
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
513
|
+
number provided, it will be total request
|
|
514
|
+
timeout. It can also be a pair (tuple) of
|
|
515
|
+
(connection, read) timeouts.
|
|
516
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
517
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
518
|
+
request; this effectively ignores the
|
|
519
|
+
authentication in the spec for a single request.
|
|
520
|
+
:type _request_auth: dict, optional
|
|
521
|
+
:param _content_type: force content-type for the request.
|
|
522
|
+
:type _content_type: str, Optional
|
|
523
|
+
:param _headers: set to override the headers for a single
|
|
524
|
+
request; this effectively ignores the headers
|
|
525
|
+
in the spec for a single request.
|
|
526
|
+
:type _headers: dict, optional
|
|
527
|
+
:param _host_index: set to override the host_index for a single
|
|
528
|
+
request; this effectively ignores the host_index
|
|
529
|
+
in the spec for a single request.
|
|
530
|
+
:type _host_index: int, optional
|
|
531
|
+
:return: Returns the result object.
|
|
532
|
+
""" # noqa: E501
|
|
533
|
+
|
|
534
|
+
_param = self._get_virtual_controller_behavior_serialize(
|
|
535
|
+
cell=cell,
|
|
536
|
+
controller=controller,
|
|
537
|
+
_request_auth=_request_auth,
|
|
538
|
+
_content_type=_content_type,
|
|
539
|
+
_headers=_headers,
|
|
540
|
+
_host_index=_host_index
|
|
541
|
+
)
|
|
542
|
+
|
|
543
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
544
|
+
'200': "Behavior",
|
|
545
|
+
'400': "Error",
|
|
546
|
+
'404': "Error",
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
response_data = await self.api_client.call_api(
|
|
550
|
+
*_param,
|
|
551
|
+
_request_timeout=_request_timeout
|
|
552
|
+
)
|
|
553
|
+
await response_data.read()
|
|
554
|
+
return self.api_client.response_deserialize(
|
|
555
|
+
response_data=response_data,
|
|
556
|
+
response_types_map=_response_types_map,
|
|
557
|
+
)
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
@validate_call
|
|
561
|
+
async def get_virtual_controller_behavior_without_preload_content(
|
|
562
|
+
self,
|
|
563
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
564
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
565
|
+
_request_timeout: Union[
|
|
566
|
+
None,
|
|
567
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
568
|
+
Tuple[
|
|
569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
570
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
571
|
+
]
|
|
572
|
+
] = None,
|
|
573
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
574
|
+
_content_type: Optional[StrictStr] = None,
|
|
575
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
576
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
577
|
+
) -> RESTResponseType:
|
|
578
|
+
"""Get Behavior
|
|
579
|
+
|
|
580
|
+
Get the current virtual controller behavior. See [setVirtualControllerBehavior](setVirtualControllerBehavior) and the body for details.
|
|
581
|
+
|
|
582
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
583
|
+
:type cell: str
|
|
584
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
585
|
+
:type controller: str
|
|
586
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
587
|
+
number provided, it will be total request
|
|
588
|
+
timeout. It can also be a pair (tuple) of
|
|
589
|
+
(connection, read) timeouts.
|
|
590
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
591
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
592
|
+
request; this effectively ignores the
|
|
593
|
+
authentication in the spec for a single request.
|
|
594
|
+
:type _request_auth: dict, optional
|
|
595
|
+
:param _content_type: force content-type for the request.
|
|
596
|
+
:type _content_type: str, Optional
|
|
597
|
+
:param _headers: set to override the headers for a single
|
|
598
|
+
request; this effectively ignores the headers
|
|
599
|
+
in the spec for a single request.
|
|
600
|
+
:type _headers: dict, optional
|
|
601
|
+
:param _host_index: set to override the host_index for a single
|
|
602
|
+
request; this effectively ignores the host_index
|
|
603
|
+
in the spec for a single request.
|
|
604
|
+
:type _host_index: int, optional
|
|
605
|
+
:return: Returns the result object.
|
|
606
|
+
""" # noqa: E501
|
|
607
|
+
|
|
608
|
+
_param = self._get_virtual_controller_behavior_serialize(
|
|
609
|
+
cell=cell,
|
|
610
|
+
controller=controller,
|
|
611
|
+
_request_auth=_request_auth,
|
|
612
|
+
_content_type=_content_type,
|
|
613
|
+
_headers=_headers,
|
|
614
|
+
_host_index=_host_index
|
|
615
|
+
)
|
|
616
|
+
|
|
617
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
618
|
+
'200': "Behavior",
|
|
619
|
+
'400': "Error",
|
|
620
|
+
'404': "Error",
|
|
621
|
+
}
|
|
622
|
+
|
|
623
|
+
response_data = await self.api_client.call_api(
|
|
624
|
+
*_param,
|
|
625
|
+
_request_timeout=_request_timeout
|
|
626
|
+
)
|
|
627
|
+
return response_data.response
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
def _get_virtual_controller_behavior_serialize(
|
|
631
|
+
self,
|
|
632
|
+
cell,
|
|
633
|
+
controller,
|
|
634
|
+
_request_auth,
|
|
635
|
+
_content_type,
|
|
636
|
+
_headers,
|
|
637
|
+
_host_index,
|
|
638
|
+
) -> RequestSerialized:
|
|
639
|
+
|
|
640
|
+
_host = None
|
|
641
|
+
|
|
642
|
+
_collection_formats: Dict[str, str] = {
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
_path_params: Dict[str, str] = {}
|
|
646
|
+
_query_params: List[Tuple[str, str]] = []
|
|
647
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
648
|
+
_form_params: List[Tuple[str, str]] = []
|
|
649
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
650
|
+
_body_params: Optional[bytes] = None
|
|
651
|
+
|
|
652
|
+
# process the path parameters
|
|
653
|
+
if cell is not None:
|
|
654
|
+
_path_params['cell'] = cell
|
|
655
|
+
if controller is not None:
|
|
656
|
+
_path_params['controller'] = controller
|
|
657
|
+
# process the query parameters
|
|
658
|
+
# process the header parameters
|
|
659
|
+
# process the form parameters
|
|
660
|
+
# process the body parameter
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
# set the HTTP header `Accept`
|
|
664
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
665
|
+
[
|
|
666
|
+
'application/json'
|
|
667
|
+
]
|
|
668
|
+
)
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
# authentication setting
|
|
672
|
+
_auth_settings: List[str] = [
|
|
673
|
+
'BasicAuth',
|
|
674
|
+
'BearerAuth'
|
|
675
|
+
]
|
|
676
|
+
|
|
677
|
+
return self.api_client.param_serialize(
|
|
678
|
+
method='GET',
|
|
679
|
+
resource_path='/cells/{cell}/virtual-controllers/{controller}/behavior',
|
|
680
|
+
path_params=_path_params,
|
|
681
|
+
query_params=_query_params,
|
|
682
|
+
header_params=_header_params,
|
|
683
|
+
body=_body_params,
|
|
684
|
+
post_params=_form_params,
|
|
685
|
+
files=_files,
|
|
686
|
+
auth_settings=_auth_settings,
|
|
687
|
+
collection_formats=_collection_formats,
|
|
688
|
+
_host=_host,
|
|
689
|
+
_request_auth=_request_auth
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
|
|
694
|
+
@validate_call
|
|
695
|
+
async def set_virtual_controller_behavior(
|
|
696
|
+
self,
|
|
697
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
698
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
699
|
+
behavior: Optional[Behavior] = None,
|
|
700
|
+
_request_timeout: Union[
|
|
701
|
+
None,
|
|
702
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
703
|
+
Tuple[
|
|
704
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
705
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
706
|
+
]
|
|
707
|
+
] = None,
|
|
708
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
709
|
+
_content_type: Optional[StrictStr] = None,
|
|
710
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
711
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
712
|
+
) -> None:
|
|
713
|
+
"""Set Behavior
|
|
714
|
+
|
|
715
|
+
Set virtual controller behavior. See query parameters for details.
|
|
716
|
+
|
|
717
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
718
|
+
:type cell: str
|
|
719
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
720
|
+
:type controller: str
|
|
721
|
+
:param behavior:
|
|
722
|
+
:type behavior: Behavior
|
|
723
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
724
|
+
number provided, it will be total request
|
|
725
|
+
timeout. It can also be a pair (tuple) of
|
|
726
|
+
(connection, read) timeouts.
|
|
727
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
728
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
729
|
+
request; this effectively ignores the
|
|
730
|
+
authentication in the spec for a single request.
|
|
731
|
+
:type _request_auth: dict, optional
|
|
732
|
+
:param _content_type: force content-type for the request.
|
|
733
|
+
:type _content_type: str, Optional
|
|
734
|
+
:param _headers: set to override the headers for a single
|
|
735
|
+
request; this effectively ignores the headers
|
|
736
|
+
in the spec for a single request.
|
|
737
|
+
:type _headers: dict, optional
|
|
738
|
+
:param _host_index: set to override the host_index for a single
|
|
739
|
+
request; this effectively ignores the host_index
|
|
740
|
+
in the spec for a single request.
|
|
741
|
+
:type _host_index: int, optional
|
|
742
|
+
:return: Returns the result object.
|
|
743
|
+
""" # noqa: E501
|
|
744
|
+
|
|
745
|
+
_param = self._set_virtual_controller_behavior_serialize(
|
|
746
|
+
cell=cell,
|
|
747
|
+
controller=controller,
|
|
748
|
+
behavior=behavior,
|
|
749
|
+
_request_auth=_request_auth,
|
|
750
|
+
_content_type=_content_type,
|
|
751
|
+
_headers=_headers,
|
|
752
|
+
_host_index=_host_index
|
|
753
|
+
)
|
|
754
|
+
|
|
755
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
756
|
+
'200': None,
|
|
757
|
+
'400': "Error",
|
|
758
|
+
'404': "Error",
|
|
759
|
+
}
|
|
760
|
+
|
|
761
|
+
response_data = await self.api_client.call_api(
|
|
762
|
+
*_param,
|
|
763
|
+
_request_timeout=_request_timeout
|
|
764
|
+
)
|
|
765
|
+
await response_data.read()
|
|
766
|
+
return self.api_client.response_deserialize(
|
|
767
|
+
response_data=response_data,
|
|
768
|
+
response_types_map=_response_types_map,
|
|
769
|
+
).data
|
|
770
|
+
|
|
771
|
+
|
|
772
|
+
@validate_call
|
|
773
|
+
async def set_virtual_controller_behavior_with_http_info(
|
|
774
|
+
self,
|
|
775
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
776
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
777
|
+
behavior: Optional[Behavior] = None,
|
|
778
|
+
_request_timeout: Union[
|
|
779
|
+
None,
|
|
780
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
781
|
+
Tuple[
|
|
782
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
783
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
784
|
+
]
|
|
785
|
+
] = None,
|
|
786
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
787
|
+
_content_type: Optional[StrictStr] = None,
|
|
788
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
789
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
790
|
+
) -> ApiResponse[None]:
|
|
791
|
+
"""Set Behavior
|
|
792
|
+
|
|
793
|
+
Set virtual controller behavior. See query parameters for details.
|
|
794
|
+
|
|
795
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
796
|
+
:type cell: str
|
|
797
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
798
|
+
:type controller: str
|
|
799
|
+
:param behavior:
|
|
800
|
+
:type behavior: Behavior
|
|
801
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
802
|
+
number provided, it will be total request
|
|
803
|
+
timeout. It can also be a pair (tuple) of
|
|
804
|
+
(connection, read) timeouts.
|
|
805
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
806
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
807
|
+
request; this effectively ignores the
|
|
808
|
+
authentication in the spec for a single request.
|
|
809
|
+
:type _request_auth: dict, optional
|
|
810
|
+
:param _content_type: force content-type for the request.
|
|
811
|
+
:type _content_type: str, Optional
|
|
812
|
+
:param _headers: set to override the headers for a single
|
|
813
|
+
request; this effectively ignores the headers
|
|
814
|
+
in the spec for a single request.
|
|
815
|
+
:type _headers: dict, optional
|
|
816
|
+
:param _host_index: set to override the host_index for a single
|
|
817
|
+
request; this effectively ignores the host_index
|
|
818
|
+
in the spec for a single request.
|
|
819
|
+
:type _host_index: int, optional
|
|
820
|
+
:return: Returns the result object.
|
|
821
|
+
""" # noqa: E501
|
|
822
|
+
|
|
823
|
+
_param = self._set_virtual_controller_behavior_serialize(
|
|
824
|
+
cell=cell,
|
|
825
|
+
controller=controller,
|
|
826
|
+
behavior=behavior,
|
|
827
|
+
_request_auth=_request_auth,
|
|
828
|
+
_content_type=_content_type,
|
|
829
|
+
_headers=_headers,
|
|
830
|
+
_host_index=_host_index
|
|
831
|
+
)
|
|
832
|
+
|
|
833
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
834
|
+
'200': None,
|
|
835
|
+
'400': "Error",
|
|
836
|
+
'404': "Error",
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
response_data = await self.api_client.call_api(
|
|
840
|
+
*_param,
|
|
841
|
+
_request_timeout=_request_timeout
|
|
842
|
+
)
|
|
843
|
+
await response_data.read()
|
|
844
|
+
return self.api_client.response_deserialize(
|
|
845
|
+
response_data=response_data,
|
|
846
|
+
response_types_map=_response_types_map,
|
|
847
|
+
)
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
@validate_call
|
|
851
|
+
async def set_virtual_controller_behavior_without_preload_content(
|
|
852
|
+
self,
|
|
853
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
854
|
+
controller: Annotated[StrictStr, Field(description="Unique identifier to address a controller in the cell.")],
|
|
855
|
+
behavior: Optional[Behavior] = None,
|
|
856
|
+
_request_timeout: Union[
|
|
857
|
+
None,
|
|
858
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
859
|
+
Tuple[
|
|
860
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
861
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
862
|
+
]
|
|
863
|
+
] = None,
|
|
864
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
865
|
+
_content_type: Optional[StrictStr] = None,
|
|
866
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
867
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
868
|
+
) -> RESTResponseType:
|
|
869
|
+
"""Set Behavior
|
|
870
|
+
|
|
871
|
+
Set virtual controller behavior. See query parameters for details.
|
|
872
|
+
|
|
873
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
874
|
+
:type cell: str
|
|
875
|
+
:param controller: Unique identifier to address a controller in the cell. (required)
|
|
876
|
+
:type controller: str
|
|
877
|
+
:param behavior:
|
|
878
|
+
:type behavior: Behavior
|
|
879
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
880
|
+
number provided, it will be total request
|
|
881
|
+
timeout. It can also be a pair (tuple) of
|
|
882
|
+
(connection, read) timeouts.
|
|
883
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
884
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
885
|
+
request; this effectively ignores the
|
|
886
|
+
authentication in the spec for a single request.
|
|
887
|
+
:type _request_auth: dict, optional
|
|
888
|
+
:param _content_type: force content-type for the request.
|
|
889
|
+
:type _content_type: str, Optional
|
|
890
|
+
:param _headers: set to override the headers for a single
|
|
891
|
+
request; this effectively ignores the headers
|
|
892
|
+
in the spec for a single request.
|
|
893
|
+
:type _headers: dict, optional
|
|
894
|
+
:param _host_index: set to override the host_index for a single
|
|
895
|
+
request; this effectively ignores the host_index
|
|
896
|
+
in the spec for a single request.
|
|
897
|
+
:type _host_index: int, optional
|
|
898
|
+
:return: Returns the result object.
|
|
899
|
+
""" # noqa: E501
|
|
900
|
+
|
|
901
|
+
_param = self._set_virtual_controller_behavior_serialize(
|
|
902
|
+
cell=cell,
|
|
903
|
+
controller=controller,
|
|
904
|
+
behavior=behavior,
|
|
905
|
+
_request_auth=_request_auth,
|
|
906
|
+
_content_type=_content_type,
|
|
907
|
+
_headers=_headers,
|
|
908
|
+
_host_index=_host_index
|
|
909
|
+
)
|
|
910
|
+
|
|
911
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
912
|
+
'200': None,
|
|
913
|
+
'400': "Error",
|
|
914
|
+
'404': "Error",
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
response_data = await self.api_client.call_api(
|
|
918
|
+
*_param,
|
|
919
|
+
_request_timeout=_request_timeout
|
|
920
|
+
)
|
|
921
|
+
return response_data.response
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
def _set_virtual_controller_behavior_serialize(
|
|
925
|
+
self,
|
|
926
|
+
cell,
|
|
927
|
+
controller,
|
|
928
|
+
behavior,
|
|
929
|
+
_request_auth,
|
|
930
|
+
_content_type,
|
|
931
|
+
_headers,
|
|
932
|
+
_host_index,
|
|
933
|
+
) -> RequestSerialized:
|
|
934
|
+
|
|
935
|
+
_host = None
|
|
936
|
+
|
|
937
|
+
_collection_formats: Dict[str, str] = {
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
_path_params: Dict[str, str] = {}
|
|
941
|
+
_query_params: List[Tuple[str, str]] = []
|
|
942
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
943
|
+
_form_params: List[Tuple[str, str]] = []
|
|
944
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
945
|
+
_body_params: Optional[bytes] = None
|
|
946
|
+
|
|
947
|
+
# process the path parameters
|
|
948
|
+
if cell is not None:
|
|
949
|
+
_path_params['cell'] = cell
|
|
950
|
+
if controller is not None:
|
|
951
|
+
_path_params['controller'] = controller
|
|
952
|
+
# process the query parameters
|
|
953
|
+
if behavior is not None:
|
|
954
|
+
|
|
955
|
+
_query_params.append(('behavior', behavior.value))
|
|
956
|
+
|
|
957
|
+
# process the header parameters
|
|
958
|
+
# process the form parameters
|
|
959
|
+
# process the body parameter
|
|
960
|
+
|
|
961
|
+
|
|
962
|
+
# set the HTTP header `Accept`
|
|
963
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
964
|
+
[
|
|
965
|
+
'application/json'
|
|
966
|
+
]
|
|
967
|
+
)
|
|
968
|
+
|
|
969
|
+
|
|
970
|
+
# authentication setting
|
|
971
|
+
_auth_settings: List[str] = [
|
|
972
|
+
'BasicAuth',
|
|
973
|
+
'BearerAuth'
|
|
974
|
+
]
|
|
975
|
+
|
|
976
|
+
return self.api_client.param_serialize(
|
|
977
|
+
method='PUT',
|
|
978
|
+
resource_path='/cells/{cell}/virtual-controllers/{controller}/behavior',
|
|
979
|
+
path_params=_path_params,
|
|
980
|
+
query_params=_query_params,
|
|
981
|
+
header_params=_header_params,
|
|
982
|
+
body=_body_params,
|
|
983
|
+
post_params=_form_params,
|
|
984
|
+
files=_files,
|
|
985
|
+
auth_settings=_auth_settings,
|
|
986
|
+
collection_formats=_collection_formats,
|
|
987
|
+
_host=_host,
|
|
988
|
+
_request_auth=_request_auth
|
|
989
|
+
)
|
|
990
|
+
|
|
991
|
+
|