wandelbots_api_client 26.3.0.dev29__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wandelbots_api_client/__init__.py +48 -0
- wandelbots_api_client/api/__init__.py +63 -0
- wandelbots_api_client/api/application_api.py +1514 -0
- wandelbots_api_client/api/cell_api.py +1424 -0
- wandelbots_api_client/api/controller_api.py +2951 -0
- wandelbots_api_client/api/controller_ios_api.py +1205 -0
- wandelbots_api_client/api/coordinate_systems_api.py +1267 -0
- wandelbots_api_client/api/device_configuration_api.py +1193 -0
- wandelbots_api_client/api/library_program_api.py +1326 -0
- wandelbots_api_client/api/library_program_metadata_api.py +1090 -0
- wandelbots_api_client/api/library_recipe_api.py +1351 -0
- wandelbots_api_client/api/library_recipe_metadata_api.py +1050 -0
- wandelbots_api_client/api/license_api.py +865 -0
- wandelbots_api_client/api/motion_api.py +3596 -0
- wandelbots_api_client/api/motion_group_api.py +956 -0
- wandelbots_api_client/api/motion_group_infos_api.py +2611 -0
- wandelbots_api_client/api/motion_group_jogging_api.py +685 -0
- wandelbots_api_client/api/motion_group_kinematic_api.py +1055 -0
- wandelbots_api_client/api/program_api.py +1987 -0
- wandelbots_api_client/api/program_operator_api.py +1881 -0
- wandelbots_api_client/api/program_values_api.py +1444 -0
- wandelbots_api_client/api/store_collision_components_api.py +3074 -0
- wandelbots_api_client/api/store_collision_scenes_api.py +951 -0
- wandelbots_api_client/api/store_object_api.py +1387 -0
- wandelbots_api_client/api/system_api.py +1075 -0
- wandelbots_api_client/api/version_api.py +237 -0
- wandelbots_api_client/api/virtual_robot_api.py +1583 -0
- wandelbots_api_client/api/virtual_robot_behavior_api.py +649 -0
- wandelbots_api_client/api/virtual_robot_mode_api.py +1467 -0
- wandelbots_api_client/api/virtual_robot_setup_api.py +2116 -0
- wandelbots_api_client/api_client.py +688 -0
- wandelbots_api_client/api_response.py +20 -0
- wandelbots_api_client/authorization.py +243 -0
- wandelbots_api_client/configuration.py +579 -0
- wandelbots_api_client/exceptions.py +216 -0
- wandelbots_api_client/models/__init__.py +316 -0
- wandelbots_api_client/models/abb_controller.py +112 -0
- wandelbots_api_client/models/abb_controller_egm_server.py +87 -0
- wandelbots_api_client/models/activate_license_request.py +86 -0
- wandelbots_api_client/models/add_request.py +95 -0
- wandelbots_api_client/models/all_joint_positions_request.py +96 -0
- wandelbots_api_client/models/all_joint_positions_response.py +109 -0
- wandelbots_api_client/models/api_version.py +86 -0
- wandelbots_api_client/models/app.py +148 -0
- wandelbots_api_client/models/array_input.py +114 -0
- wandelbots_api_client/models/array_output.py +116 -0
- wandelbots_api_client/models/behavior.py +35 -0
- wandelbots_api_client/models/blending_auto.py +99 -0
- wandelbots_api_client/models/blending_position.py +97 -0
- wandelbots_api_client/models/box.py +98 -0
- wandelbots_api_client/models/box2.py +112 -0
- wandelbots_api_client/models/box3.py +112 -0
- wandelbots_api_client/models/capsule.py +87 -0
- wandelbots_api_client/models/capsule2.py +97 -0
- wandelbots_api_client/models/capsule3.py +101 -0
- wandelbots_api_client/models/capture.py +86 -0
- wandelbots_api_client/models/cell.py +142 -0
- wandelbots_api_client/models/circle.py +99 -0
- wandelbots_api_client/models/code_with_arguments.py +108 -0
- wandelbots_api_client/models/collection_value.py +322 -0
- wandelbots_api_client/models/collider.py +105 -0
- wandelbots_api_client/models/collider_input.py +105 -0
- wandelbots_api_client/models/collider_output.py +105 -0
- wandelbots_api_client/models/collider_output_shape.py +242 -0
- wandelbots_api_client/models/collider_shape.py +280 -0
- wandelbots_api_client/models/collision.py +110 -0
- wandelbots_api_client/models/collision_contact.py +92 -0
- wandelbots_api_client/models/collision_motion_group.py +124 -0
- wandelbots_api_client/models/collision_motion_group_assembly.py +128 -0
- wandelbots_api_client/models/collision_robot_configuration_input.py +121 -0
- wandelbots_api_client/models/collision_robot_configuration_output.py +121 -0
- wandelbots_api_client/models/collision_scene.py +117 -0
- wandelbots_api_client/models/collision_scene_assembly.py +133 -0
- wandelbots_api_client/models/command.py +140 -0
- wandelbots_api_client/models/command_settings.py +104 -0
- wandelbots_api_client/models/comparator.py +39 -0
- wandelbots_api_client/models/compound.py +114 -0
- wandelbots_api_client/models/container_environment_inner.py +87 -0
- wandelbots_api_client/models/container_image.py +122 -0
- wandelbots_api_client/models/container_image_secrets_inner.py +86 -0
- wandelbots_api_client/models/container_resources.py +89 -0
- wandelbots_api_client/models/container_storage.py +97 -0
- wandelbots_api_client/models/controller_capabilities.py +89 -0
- wandelbots_api_client/models/controller_instance.py +148 -0
- wandelbots_api_client/models/controller_instance_list.py +109 -0
- wandelbots_api_client/models/convex_hull.py +109 -0
- wandelbots_api_client/models/convex_hull2.py +97 -0
- wandelbots_api_client/models/convex_hull3.py +97 -0
- wandelbots_api_client/models/coordinate_system.py +108 -0
- wandelbots_api_client/models/coordinate_systems.py +109 -0
- wandelbots_api_client/models/create_program_run200_response.py +88 -0
- wandelbots_api_client/models/create_program_run_request.py +86 -0
- wandelbots_api_client/models/create_trigger200_response.py +86 -0
- wandelbots_api_client/models/create_trigger_request.py +101 -0
- wandelbots_api_client/models/cubic_spline.py +109 -0
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cubic_spline_parameter.py +93 -0
- wandelbots_api_client/models/cycle_time.py +86 -0
- wandelbots_api_client/models/cylinder.py +87 -0
- wandelbots_api_client/models/cylinder2.py +95 -0
- wandelbots_api_client/models/cylinder3.py +101 -0
- wandelbots_api_client/models/devices_inner.py +321 -0
- wandelbots_api_client/models/dh_parameter.py +98 -0
- wandelbots_api_client/models/direction.py +34 -0
- wandelbots_api_client/models/direction_jogging_request.py +136 -0
- wandelbots_api_client/models/error.py +87 -0
- wandelbots_api_client/models/execute_trajectory_request.py +182 -0
- wandelbots_api_client/models/execute_trajectory_response.py +223 -0
- wandelbots_api_client/models/execution_result.py +113 -0
- wandelbots_api_client/models/external_joint_stream_datapoint.py +96 -0
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +96 -0
- wandelbots_api_client/models/fanuc_controller.py +99 -0
- wandelbots_api_client/models/feedback_collision.py +126 -0
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +101 -0
- wandelbots_api_client/models/feedback_out_of_workspace.py +103 -0
- wandelbots_api_client/models/feedback_singularity.py +102 -0
- wandelbots_api_client/models/flag.py +86 -0
- wandelbots_api_client/models/force_vector.py +103 -0
- wandelbots_api_client/models/geometry.py +167 -0
- wandelbots_api_client/models/get_all_program_runs200_response.py +109 -0
- wandelbots_api_client/models/get_all_triggers200_response.py +109 -0
- wandelbots_api_client/models/get_mode_response.py +87 -0
- wandelbots_api_client/models/get_trajectory_response.py +112 -0
- wandelbots_api_client/models/get_trajectory_sample_response.py +90 -0
- wandelbots_api_client/models/google_protobuf_any.py +102 -0
- wandelbots_api_client/models/http_exception_response.py +86 -0
- wandelbots_api_client/models/http_validation_error.py +109 -0
- wandelbots_api_client/models/http_validation_error2.py +109 -0
- wandelbots_api_client/models/image_credentials.py +88 -0
- wandelbots_api_client/models/info_service_capabilities.py +110 -0
- wandelbots_api_client/models/initialize_movement_request.py +111 -0
- wandelbots_api_client/models/initialize_movement_response.py +96 -0
- wandelbots_api_client/models/initialize_movement_response_init_response.py +89 -0
- wandelbots_api_client/models/io.py +105 -0
- wandelbots_api_client/models/io_description.py +156 -0
- wandelbots_api_client/models/io_value.py +104 -0
- wandelbots_api_client/models/ios.py +109 -0
- wandelbots_api_client/models/jogging_response.py +117 -0
- wandelbots_api_client/models/jogging_service_capabilities.py +87 -0
- wandelbots_api_client/models/joint_jogging_request.py +108 -0
- wandelbots_api_client/models/joint_limit.py +123 -0
- wandelbots_api_client/models/joint_limit_exceeded.py +96 -0
- wandelbots_api_client/models/joint_position_request.py +104 -0
- wandelbots_api_client/models/joint_trajectory.py +117 -0
- wandelbots_api_client/models/joints.py +86 -0
- wandelbots_api_client/models/kinematic_service_capabilities.py +96 -0
- wandelbots_api_client/models/kuka_controller.py +112 -0
- wandelbots_api_client/models/kuka_controller_rsi_server.py +92 -0
- wandelbots_api_client/models/license.py +124 -0
- wandelbots_api_client/models/license_status.py +88 -0
- wandelbots_api_client/models/license_status_enum.py +37 -0
- wandelbots_api_client/models/limit_settings.py +223 -0
- wandelbots_api_client/models/limits_override.py +132 -0
- wandelbots_api_client/models/list_io_descriptions_response.py +109 -0
- wandelbots_api_client/models/list_io_values_response.py +109 -0
- wandelbots_api_client/models/list_payloads_response.py +109 -0
- wandelbots_api_client/models/list_program_metadata_response.py +109 -0
- wandelbots_api_client/models/list_recipe_metadata_response.py +109 -0
- wandelbots_api_client/models/list_response.py +109 -0
- wandelbots_api_client/models/list_tcps_response.py +112 -0
- wandelbots_api_client/models/location_inner.py +153 -0
- wandelbots_api_client/models/location_inner1.py +142 -0
- wandelbots_api_client/models/manufacturer.py +37 -0
- wandelbots_api_client/models/mode_change_response.py +97 -0
- wandelbots_api_client/models/motion_command.py +109 -0
- wandelbots_api_client/models/motion_command_blending.py +164 -0
- wandelbots_api_client/models/motion_command_path.py +221 -0
- wandelbots_api_client/models/motion_group_behavior_getter.py +87 -0
- wandelbots_api_client/models/motion_group_info.py +88 -0
- wandelbots_api_client/models/motion_group_infos.py +109 -0
- wandelbots_api_client/models/motion_group_instance.py +101 -0
- wandelbots_api_client/models/motion_group_instance_list.py +109 -0
- wandelbots_api_client/models/motion_group_joints.py +100 -0
- wandelbots_api_client/models/motion_group_physical.py +105 -0
- wandelbots_api_client/models/motion_group_specification.py +136 -0
- wandelbots_api_client/models/motion_group_state.py +180 -0
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +86 -0
- wandelbots_api_client/models/motion_group_state_response.py +103 -0
- wandelbots_api_client/models/motion_id.py +88 -0
- wandelbots_api_client/models/motion_ids_list_response.py +89 -0
- wandelbots_api_client/models/motion_vector.py +103 -0
- wandelbots_api_client/models/mounting.py +98 -0
- wandelbots_api_client/models/move_request.py +162 -0
- wandelbots_api_client/models/move_response.py +91 -0
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +107 -0
- wandelbots_api_client/models/movement.py +90 -0
- wandelbots_api_client/models/movement_error.py +90 -0
- wandelbots_api_client/models/movement_error_error.py +86 -0
- wandelbots_api_client/models/movement_movement.py +98 -0
- wandelbots_api_client/models/op_mode.py +93 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +100 -0
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +159 -0
- wandelbots_api_client/models/optimizer_setup.py +145 -0
- wandelbots_api_client/models/out_of_workspace.py +92 -0
- wandelbots_api_client/models/path.py +109 -0
- wandelbots_api_client/models/path_cartesian_ptp.py +103 -0
- wandelbots_api_client/models/path_circle.py +108 -0
- wandelbots_api_client/models/path_cubic_spline.py +118 -0
- wandelbots_api_client/models/path_joint_ptp.py +96 -0
- wandelbots_api_client/models/path_line.py +103 -0
- wandelbots_api_client/models/pause_movement_request.py +95 -0
- wandelbots_api_client/models/pause_movement_response.py +96 -0
- wandelbots_api_client/models/pause_movement_response_pause_response.py +89 -0
- wandelbots_api_client/models/pause_on_io.py +96 -0
- wandelbots_api_client/models/payload.py +103 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +131 -0
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +150 -0
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +149 -0
- wandelbots_api_client/models/plan_failed_response.py +136 -0
- wandelbots_api_client/models/plan_request.py +127 -0
- wandelbots_api_client/models/plan_response.py +112 -0
- wandelbots_api_client/models/plan_successful_response.py +100 -0
- wandelbots_api_client/models/plan_trajectory_failed_response.py +106 -0
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +209 -0
- wandelbots_api_client/models/plan_trajectory_request.py +154 -0
- wandelbots_api_client/models/plan_trajectory_response.py +92 -0
- wandelbots_api_client/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/models/plane2.py +93 -0
- wandelbots_api_client/models/plane3.py +93 -0
- wandelbots_api_client/models/planned_motion.py +125 -0
- wandelbots_api_client/models/planner_pose.py +100 -0
- wandelbots_api_client/models/planning_limits.py +168 -0
- wandelbots_api_client/models/planning_limits_limit_range.py +87 -0
- wandelbots_api_client/models/playback_speed_request.py +94 -0
- wandelbots_api_client/models/playback_speed_response.py +96 -0
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +86 -0
- wandelbots_api_client/models/point_cloud.py +86 -0
- wandelbots_api_client/models/pose.py +107 -0
- wandelbots_api_client/models/pose2.py +93 -0
- wandelbots_api_client/models/program_metadata.py +100 -0
- wandelbots_api_client/models/program_run.py +168 -0
- wandelbots_api_client/models/program_run_object.py +103 -0
- wandelbots_api_client/models/program_run_state.py +37 -0
- wandelbots_api_client/models/program_runner_reference.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +88 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +87 -0
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +87 -0
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +101 -0
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +107 -0
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +119 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +130 -0
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +102 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +99 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +94 -0
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +94 -0
- wandelbots_api_client/models/quaternion.py +89 -0
- wandelbots_api_client/models/recipe_metadata.py +102 -0
- wandelbots_api_client/models/rectangle.py +87 -0
- wandelbots_api_client/models/rectangle2.py +95 -0
- wandelbots_api_client/models/rectangle3.py +101 -0
- wandelbots_api_client/models/rectangular_capsule.py +94 -0
- wandelbots_api_client/models/rectangular_capsule2.py +103 -0
- wandelbots_api_client/models/rectangular_capsule3.py +103 -0
- wandelbots_api_client/models/release_channel.py +34 -0
- wandelbots_api_client/models/request.py +142 -0
- wandelbots_api_client/models/request1.py +140 -0
- wandelbots_api_client/models/response_get_devices_devices_get_inner.py +321 -0
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +317 -0
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +322 -0
- wandelbots_api_client/models/robot_controller.py +108 -0
- wandelbots_api_client/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/models/robot_controller_state.py +191 -0
- wandelbots_api_client/models/robot_link_geometry.py +98 -0
- wandelbots_api_client/models/robot_state.py +101 -0
- wandelbots_api_client/models/robot_system_mode.py +37 -0
- wandelbots_api_client/models/robot_tcp.py +104 -0
- wandelbots_api_client/models/robot_tcps.py +109 -0
- wandelbots_api_client/models/rotation_angle_types.py +58 -0
- wandelbots_api_client/models/rotation_angles.py +91 -0
- wandelbots_api_client/models/safety_configuration.py +182 -0
- wandelbots_api_client/models/safety_setup.py +172 -0
- wandelbots_api_client/models/safety_setup_safety_settings.py +106 -0
- wandelbots_api_client/models/safety_setup_safety_zone.py +103 -0
- wandelbots_api_client/models/safety_zone.py +98 -0
- wandelbots_api_client/models/safety_zone_limits.py +96 -0
- wandelbots_api_client/models/safety_zone_violation.py +86 -0
- wandelbots_api_client/models/service_status.py +96 -0
- wandelbots_api_client/models/service_status_phase.py +46 -0
- wandelbots_api_client/models/service_status_severity.py +35 -0
- wandelbots_api_client/models/service_status_status.py +90 -0
- wandelbots_api_client/models/set_io.py +93 -0
- wandelbots_api_client/models/set_playback_speed.py +91 -0
- wandelbots_api_client/models/single_joint_limit.py +112 -0
- wandelbots_api_client/models/singularity.py +110 -0
- wandelbots_api_client/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/models/sphere.py +86 -0
- wandelbots_api_client/models/sphere2.py +94 -0
- wandelbots_api_client/models/sphere3.py +96 -0
- wandelbots_api_client/models/standstill.py +92 -0
- wandelbots_api_client/models/standstill_reason.py +36 -0
- wandelbots_api_client/models/standstill_standstill.py +99 -0
- wandelbots_api_client/models/start_movement_request.py +135 -0
- wandelbots_api_client/models/start_on_io.py +96 -0
- wandelbots_api_client/models/status.py +119 -0
- wandelbots_api_client/models/stop_response.py +109 -0
- wandelbots_api_client/models/store_value.py +349 -0
- wandelbots_api_client/models/stream_move_backward.py +90 -0
- wandelbots_api_client/models/stream_move_forward.py +90 -0
- wandelbots_api_client/models/stream_move_playback_speed.py +92 -0
- wandelbots_api_client/models/stream_move_request.py +207 -0
- wandelbots_api_client/models/stream_move_response.py +110 -0
- wandelbots_api_client/models/stream_move_to_trajectory.py +96 -0
- wandelbots_api_client/models/stream_stop.py +90 -0
- wandelbots_api_client/models/tcp_pose.py +105 -0
- wandelbots_api_client/models/tcp_pose_request.py +106 -0
- wandelbots_api_client/models/tool_geometry.py +111 -0
- wandelbots_api_client/models/trajectory_sample.py +139 -0
- wandelbots_api_client/models/trigger_object.py +110 -0
- wandelbots_api_client/models/trigger_type.py +33 -0
- wandelbots_api_client/models/universalrobots_controller.py +102 -0
- wandelbots_api_client/models/update_nova_version_request.py +87 -0
- wandelbots_api_client/models/update_program_metadata_request.py +88 -0
- wandelbots_api_client/models/update_recipe_metadata_request.py +88 -0
- wandelbots_api_client/models/update_trigger_request.py +100 -0
- wandelbots_api_client/models/validation_error.py +113 -0
- wandelbots_api_client/models/validation_error2.py +113 -0
- wandelbots_api_client/models/value.py +317 -0
- wandelbots_api_client/models/vector3d.py +88 -0
- wandelbots_api_client/models/version_number.py +113 -0
- wandelbots_api_client/models/virtual_controller.py +117 -0
- wandelbots_api_client/models/virtual_controller_types.py +153 -0
- wandelbots_api_client/models/virtual_robot_configuration.py +91 -0
- wandelbots_api_client/models/yaskawa_controller.py +99 -0
- wandelbots_api_client/py.typed +0 -0
- wandelbots_api_client/rest.py +188 -0
- wandelbots_api_client/v2/__init__.py +49 -0
- wandelbots_api_client/v2/api/__init__.py +55 -0
- wandelbots_api_client/v2/api/application_api.py +1532 -0
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2/api/cell_api.py +2163 -0
- wandelbots_api_client/v2/api/controller_api.py +3238 -0
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2/api/jogging_api.py +113 -0
- wandelbots_api_client/v2/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2/api/license_api.py +877 -0
- wandelbots_api_client/v2/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2/api/program_api.py +988 -0
- wandelbots_api_client/v2/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2/api/system_api.py +2696 -0
- wandelbots_api_client/v2/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2/api/version_api.py +240 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2/api_client.py +692 -0
- wandelbots_api_client/v2/api_response.py +20 -0
- wandelbots_api_client/v2/configuration.py +579 -0
- wandelbots_api_client/v2/exceptions.py +216 -0
- wandelbots_api_client/v2/models/__init__.py +317 -0
- wandelbots_api_client/v2/models/abb_controller.py +104 -0
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +84 -0
- wandelbots_api_client/v2/models/activate_license_request.py +83 -0
- wandelbots_api_client/v2/models/add_trajectory_error.py +95 -0
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +298 -0
- wandelbots_api_client/v2/models/add_trajectory_request.py +97 -0
- wandelbots_api_client/v2/models/add_trajectory_response.py +99 -0
- wandelbots_api_client/v2/models/add_virtual_controller_motion_group_request.py +147 -0
- wandelbots_api_client/v2/models/api_version.py +83 -0
- wandelbots_api_client/v2/models/app.py +156 -0
- wandelbots_api_client/v2/models/behavior.py +35 -0
- wandelbots_api_client/v2/models/blending_auto.py +97 -0
- wandelbots_api_client/v2/models/blending_position.py +143 -0
- wandelbots_api_client/v2/models/blending_space.py +34 -0
- wandelbots_api_client/v2/models/boolean_value.py +91 -0
- wandelbots_api_client/v2/models/box.py +109 -0
- wandelbots_api_client/v2/models/bus_io_description.py +111 -0
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +100 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +127 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +98 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +97 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +131 -0
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +84 -0
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +85 -0
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +101 -0
- wandelbots_api_client/v2/models/bus_io_profinet_slot.py +92 -0
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +90 -0
- wandelbots_api_client/v2/models/bus_io_type.py +223 -0
- wandelbots_api_client/v2/models/bus_ios_state.py +88 -0
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +36 -0
- wandelbots_api_client/v2/models/capsule.py +94 -0
- wandelbots_api_client/v2/models/cartesian_limits.py +108 -0
- wandelbots_api_client/v2/models/cell.py +127 -0
- wandelbots_api_client/v2/models/cloud_config_status.py +164 -0
- wandelbots_api_client/v2/models/cloud_config_status_configured.py +97 -0
- wandelbots_api_client/v2/models/cloud_config_status_not_configured.py +90 -0
- wandelbots_api_client/v2/models/cloud_configuration.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error.py +87 -0
- wandelbots_api_client/v2/models/cloud_connection_error_error.py +275 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_invalid_token_details_cloud_response.py +90 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error.py +106 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_error_details.py +83 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_connection_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_leafnode_restart_timeout.py +91 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed.py +102 -0
- wandelbots_api_client/v2/models/cloud_connection_error_nats_failed_details.py +84 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response.py +104 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details.py +95 -0
- wandelbots_api_client/v2/models/cloud_connection_error_unexpected_response_details_cloud_response.py +85 -0
- wandelbots_api_client/v2/models/cloud_connection_request.py +98 -0
- wandelbots_api_client/v2/models/cloud_disconnection_error.py +89 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnected.py +90 -0
- wandelbots_api_client/v2/models/cloud_disconnection_status_disconnecting.py +90 -0
- wandelbots_api_client/v2/models/cloud_registration_success_response.py +83 -0
- wandelbots_api_client/v2/models/collider.py +102 -0
- wandelbots_api_client/v2/models/collider_shape.py +278 -0
- wandelbots_api_client/v2/models/collision.py +107 -0
- wandelbots_api_client/v2/models/collision_contact.py +89 -0
- wandelbots_api_client/v2/models/collision_error.py +100 -0
- wandelbots_api_client/v2/models/collision_free_algorithm.py +164 -0
- wandelbots_api_client/v2/models/collision_setup.py +130 -0
- wandelbots_api_client/v2/models/comparator.py +38 -0
- wandelbots_api_client/v2/models/configuration_archive_status.py +197 -0
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +94 -0
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +91 -0
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +90 -0
- wandelbots_api_client/v2/models/configuration_resource.py +104 -0
- wandelbots_api_client/v2/models/container_environment_inner.py +84 -0
- wandelbots_api_client/v2/models/container_image.py +110 -0
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +83 -0
- wandelbots_api_client/v2/models/container_resources.py +87 -0
- wandelbots_api_client/v2/models/container_storage.py +94 -0
- wandelbots_api_client/v2/models/controller_description.py +97 -0
- wandelbots_api_client/v2/models/convex_hull.py +94 -0
- wandelbots_api_client/v2/models/coordinate_system.py +115 -0
- wandelbots_api_client/v2/models/coordinate_system_data.py +106 -0
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +90 -0
- wandelbots_api_client/v2/models/cycle_time.py +86 -0
- wandelbots_api_client/v2/models/cylinder.py +92 -0
- wandelbots_api_client/v2/models/dh_parameter.py +98 -0
- wandelbots_api_client/v2/models/direction.py +34 -0
- wandelbots_api_client/v2/models/error.py +84 -0
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +98 -0
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +103 -0
- wandelbots_api_client/v2/models/error_joint_position_collision.py +106 -0
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +91 -0
- wandelbots_api_client/v2/models/execute.py +95 -0
- wandelbots_api_client/v2/models/execute_details.py +164 -0
- wandelbots_api_client/v2/models/execute_jogging_request.py +204 -0
- wandelbots_api_client/v2/models/execute_jogging_response.py +246 -0
- wandelbots_api_client/v2/models/execute_trajectory_request.py +209 -0
- wandelbots_api_client/v2/models/execute_trajectory_response.py +246 -0
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +93 -0
- wandelbots_api_client/v2/models/external_joint_stream_request.py +97 -0
- wandelbots_api_client/v2/models/fanuc_controller.py +91 -0
- wandelbots_api_client/v2/models/feedback_collision.py +112 -0
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +99 -0
- wandelbots_api_client/v2/models/feedback_no_solution_in_current_configuration.py +100 -0
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +100 -0
- wandelbots_api_client/v2/models/feedback_singularity.py +99 -0
- wandelbots_api_client/v2/models/flag.py +83 -0
- wandelbots_api_client/v2/models/flange_payload.py +98 -0
- wandelbots_api_client/v2/models/float_value.py +91 -0
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/forward_kinematics_request.py +104 -0
- wandelbots_api_client/v2/models/forward_kinematics_response.py +93 -0
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/get_trajectory_response.py +97 -0
- wandelbots_api_client/v2/models/http_validation_error.py +93 -0
- wandelbots_api_client/v2/models/image_credentials.py +85 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error.py +106 -0
- wandelbots_api_client/v2/models/inconsistent_trajectory_size_error_inconsistent_trajectory_size.py +91 -0
- wandelbots_api_client/v2/models/initialize_jogging_request.py +95 -0
- wandelbots_api_client/v2/models/initialize_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/initialize_movement_request.py +112 -0
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +164 -0
- wandelbots_api_client/v2/models/initialize_movement_response.py +107 -0
- wandelbots_api_client/v2/models/integer_value.py +91 -0
- wandelbots_api_client/v2/models/invalid_dof_error.py +100 -0
- wandelbots_api_client/v2/models/invalid_dof_error_invalid_dof.py +86 -0
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +97 -0
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +152 -0
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +83 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +107 -0
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +164 -0
- wandelbots_api_client/v2/models/io_boolean_value.py +92 -0
- wandelbots_api_client/v2/models/io_boundary.py +183 -0
- wandelbots_api_client/v2/models/io_description.py +116 -0
- wandelbots_api_client/v2/models/io_direction.py +34 -0
- wandelbots_api_client/v2/models/io_float_value.py +92 -0
- wandelbots_api_client/v2/models/io_integer_value.py +94 -0
- wandelbots_api_client/v2/models/io_origin.py +34 -0
- wandelbots_api_client/v2/models/io_value.py +183 -0
- wandelbots_api_client/v2/models/io_value_type.py +35 -0
- wandelbots_api_client/v2/models/jogging_details.py +97 -0
- wandelbots_api_client/v2/models/jogging_details_state.py +275 -0
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +92 -0
- wandelbots_api_client/v2/models/jogging_paused_near_singularity.py +91 -0
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/jogging_running.py +90 -0
- wandelbots_api_client/v2/models/joint_limit_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/joint_limits.py +101 -0
- wandelbots_api_client/v2/models/joint_trajectory.py +89 -0
- wandelbots_api_client/v2/models/joint_type_enum.py +34 -0
- wandelbots_api_client/v2/models/joint_velocity_request.py +91 -0
- wandelbots_api_client/v2/models/joint_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/kinematic_model.py +118 -0
- wandelbots_api_client/v2/models/kuka_controller.py +106 -0
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +89 -0
- wandelbots_api_client/v2/models/license.py +121 -0
- wandelbots_api_client/v2/models/license_status.py +85 -0
- wandelbots_api_client/v2/models/license_status_enum.py +37 -0
- wandelbots_api_client/v2/models/limit_range.py +84 -0
- wandelbots_api_client/v2/models/limit_set.py +118 -0
- wandelbots_api_client/v2/models/limits_override.py +136 -0
- wandelbots_api_client/v2/models/list_trajectories_response.py +86 -0
- wandelbots_api_client/v2/models/location1_inner.py +153 -0
- wandelbots_api_client/v2/models/manufacturer.py +37 -0
- wandelbots_api_client/v2/models/merge_trajectories422_response.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error.py +97 -0
- wandelbots_api_client/v2/models/merge_trajectories_error_error_feedback.py +209 -0
- wandelbots_api_client/v2/models/merge_trajectories_request.py +107 -0
- wandelbots_api_client/v2/models/merge_trajectories_response.py +109 -0
- wandelbots_api_client/v2/models/merge_trajectories_response_feedback_inner.py +147 -0
- wandelbots_api_client/v2/models/merge_trajectories_segment.py +126 -0
- wandelbots_api_client/v2/models/merge_trajectories_validation_error.py +109 -0
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +102 -0
- wandelbots_api_client/v2/models/modbus_io.py +109 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +37 -0
- wandelbots_api_client/v2/models/modbus_io_data.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +36 -0
- wandelbots_api_client/v2/models/motion_command.py +106 -0
- wandelbots_api_client/v2/models/motion_command_blending.py +164 -0
- wandelbots_api_client/v2/models/motion_command_path.py +221 -0
- wandelbots_api_client/v2/models/motion_group_description.py +235 -0
- wandelbots_api_client/v2/models/motion_group_from_json.py +100 -0
- wandelbots_api_client/v2/models/motion_group_from_type.py +96 -0
- wandelbots_api_client/v2/models/motion_group_info.py +90 -0
- wandelbots_api_client/v2/models/motion_group_joints.py +97 -0
- wandelbots_api_client/v2/models/motion_group_setup.py +140 -0
- wandelbots_api_client/v2/models/motion_group_state.py +182 -0
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +83 -0
- wandelbots_api_client/v2/models/movement_error_response.py +91 -0
- wandelbots_api_client/v2/models/nan_value_error.py +100 -0
- wandelbots_api_client/v2/models/nan_value_error_nan_value.py +85 -0
- wandelbots_api_client/v2/models/network_device.py +85 -0
- wandelbots_api_client/v2/models/network_interface.py +86 -0
- wandelbots_api_client/v2/models/network_state.py +125 -0
- wandelbots_api_client/v2/models/op_mode.py +84 -0
- wandelbots_api_client/v2/models/operating_state.py +34 -0
- wandelbots_api_client/v2/models/operation_limits.py +106 -0
- wandelbots_api_client/v2/models/operation_mode.py +42 -0
- wandelbots_api_client/v2/models/orientation_type.py +58 -0
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +100 -0
- wandelbots_api_client/v2/models/path_circle.py +105 -0
- wandelbots_api_client/v2/models/path_cubic_spline.py +106 -0
- wandelbots_api_client/v2/models/path_joint_ptp.py +93 -0
- wandelbots_api_client/v2/models/path_line.py +100 -0
- wandelbots_api_client/v2/models/pause_jogging_request.py +90 -0
- wandelbots_api_client/v2/models/pause_jogging_response.py +91 -0
- wandelbots_api_client/v2/models/pause_movement_request.py +90 -0
- wandelbots_api_client/v2/models/pause_movement_response.py +91 -0
- wandelbots_api_client/v2/models/pause_on_io.py +99 -0
- wandelbots_api_client/v2/models/payload.py +98 -0
- wandelbots_api_client/v2/models/plan422_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +93 -0
- wandelbots_api_client/v2/models/plan_collision_free_request.py +109 -0
- wandelbots_api_client/v2/models/plan_collision_free_response.py +89 -0
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +105 -0
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +252 -0
- wandelbots_api_client/v2/models/plan_trajectory_request.py +113 -0
- wandelbots_api_client/v2/models/plan_trajectory_response.py +89 -0
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +147 -0
- wandelbots_api_client/v2/models/plan_validation_error.py +107 -0
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +183 -0
- wandelbots_api_client/v2/models/plane.py +90 -0
- wandelbots_api_client/v2/models/playback_speed_request.py +96 -0
- wandelbots_api_client/v2/models/playback_speed_response.py +91 -0
- wandelbots_api_client/v2/models/pose.py +90 -0
- wandelbots_api_client/v2/models/profinet_description.py +112 -0
- wandelbots_api_client/v2/models/profinet_input_output_config.py +98 -0
- wandelbots_api_client/v2/models/profinet_io.py +109 -0
- wandelbots_api_client/v2/models/profinet_io_data.py +105 -0
- wandelbots_api_client/v2/models/profinet_io_direction.py +35 -0
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +42 -0
- wandelbots_api_client/v2/models/profinet_slot_description.py +106 -0
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +92 -0
- wandelbots_api_client/v2/models/program.py +105 -0
- wandelbots_api_client/v2/models/program_run.py +124 -0
- wandelbots_api_client/v2/models/program_run_state.py +37 -0
- wandelbots_api_client/v2/models/program_start_request.py +83 -0
- wandelbots_api_client/v2/models/rectangle.py +92 -0
- wandelbots_api_client/v2/models/rectangular_capsule.py +100 -0
- wandelbots_api_client/v2/models/release_channel.py +34 -0
- wandelbots_api_client/v2/models/robot_controller.py +105 -0
- wandelbots_api_client/v2/models/robot_controller_configuration.py +262 -0
- wandelbots_api_client/v2/models/robot_controller_configuration_request.py +99 -0
- wandelbots_api_client/v2/models/robot_controller_state.py +138 -0
- wandelbots_api_client/v2/models/robot_system_mode.py +37 -0
- wandelbots_api_client/v2/models/robot_tcp.py +110 -0
- wandelbots_api_client/v2/models/robot_tcp_data.py +108 -0
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +127 -0
- wandelbots_api_client/v2/models/safety_state_type.py +48 -0
- wandelbots_api_client/v2/models/service_group.py +36 -0
- wandelbots_api_client/v2/models/service_status.py +96 -0
- wandelbots_api_client/v2/models/service_status_phase.py +46 -0
- wandelbots_api_client/v2/models/service_status_response.py +100 -0
- wandelbots_api_client/v2/models/service_status_severity.py +35 -0
- wandelbots_api_client/v2/models/service_status_status.py +87 -0
- wandelbots_api_client/v2/models/set_io.py +96 -0
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +36 -0
- wandelbots_api_client/v2/models/singularity_type_enum.py +35 -0
- wandelbots_api_client/v2/models/sphere.py +91 -0
- wandelbots_api_client/v2/models/start_movement_request.py +133 -0
- wandelbots_api_client/v2/models/start_movement_response.py +91 -0
- wandelbots_api_client/v2/models/start_on_io.py +99 -0
- wandelbots_api_client/v2/models/stream_io_values_response.py +103 -0
- wandelbots_api_client/v2/models/tcp_offset.py +88 -0
- wandelbots_api_client/v2/models/tcp_required_error.py +96 -0
- wandelbots_api_client/v2/models/tcp_velocity_request.py +110 -0
- wandelbots_api_client/v2/models/tcp_velocity_response.py +91 -0
- wandelbots_api_client/v2/models/torque_exceeded_error.py +102 -0
- wandelbots_api_client/v2/models/torque_exceeded_error_torque_exceeded.py +86 -0
- wandelbots_api_client/v2/models/trajectory_data.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details.py +106 -0
- wandelbots_api_client/v2/models/trajectory_details_state.py +239 -0
- wandelbots_api_client/v2/models/trajectory_ended.py +90 -0
- wandelbots_api_client/v2/models/trajectory_id.py +93 -0
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +90 -0
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +90 -0
- wandelbots_api_client/v2/models/trajectory_running.py +94 -0
- wandelbots_api_client/v2/models/trajectory_section.py +84 -0
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +90 -0
- wandelbots_api_client/v2/models/unit_type.py +42 -0
- wandelbots_api_client/v2/models/universalrobots_controller.py +91 -0
- wandelbots_api_client/v2/models/update_cell_version_request.py +84 -0
- wandelbots_api_client/v2/models/update_nova_version_request.py +90 -0
- wandelbots_api_client/v2/models/validation_error.py +101 -0
- wandelbots_api_client/v2/models/validation_error2.py +85 -0
- wandelbots_api_client/v2/models/virtual_controller.py +113 -0
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +88 -0
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +93 -0
- wandelbots_api_client/v2/models/yaskawa_controller.py +91 -0
- wandelbots_api_client/v2/models/zod_validation_error.py +87 -0
- wandelbots_api_client/v2/models/zod_validation_error_error.py +108 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner.py +101 -0
- wandelbots_api_client/v2/models/zod_validation_error_error_details_inner_path_inner.py +153 -0
- wandelbots_api_client/v2/py.typed +0 -0
- wandelbots_api_client/v2/rest.py +188 -0
- wandelbots_api_client/v2_pydantic/__init__.py +49 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +55 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1532 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2163 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3238 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1244 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +113 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +555 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +877 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +689 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +1222 -0
- wandelbots_api_client/v2_pydantic/api/nova_cloud_api.py +760 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +988 -0
- wandelbots_api_client/v2_pydantic/api/robot_configurations_api.py +485 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +3479 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1169 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1414 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2696 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1339 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +115 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +811 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +240 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4534 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +863 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +895 -0
- wandelbots_api_client/v2_pydantic/api_client.py +692 -0
- wandelbots_api_client/v2_pydantic/api_response.py +20 -0
- wandelbots_api_client/v2_pydantic/configuration.py +579 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models/__init__.py +642 -0
- wandelbots_api_client/v2_pydantic/models/models.py +5090 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +188 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/METADATA +241 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/RECORD +693 -0
- wandelbots_api_client-26.3.0.dev29.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.3.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import json
|
|
16
|
+
import pprint
|
|
17
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
18
|
+
from typing import Any, List, Optional
|
|
19
|
+
from wandelbots_api_client.v2.models.initialize_jogging_request import InitializeJoggingRequest
|
|
20
|
+
from wandelbots_api_client.v2.models.joint_velocity_request import JointVelocityRequest
|
|
21
|
+
from wandelbots_api_client.v2.models.pause_jogging_request import PauseJoggingRequest
|
|
22
|
+
from wandelbots_api_client.v2.models.tcp_velocity_request import TcpVelocityRequest
|
|
23
|
+
from pydantic import StrictStr, Field
|
|
24
|
+
from typing import Union, List, Set, Optional, Dict
|
|
25
|
+
from typing_extensions import Literal, Self
|
|
26
|
+
|
|
27
|
+
EXECUTEJOGGINGREQUEST_ONE_OF_SCHEMAS = ["InitializeJoggingRequest", "JointVelocityRequest", "PauseJoggingRequest", "TcpVelocityRequest"]
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class ExecuteJoggingRequest(BaseModel):
|
|
31
|
+
"""
|
|
32
|
+
ExecuteJoggingRequest
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
# data type: InitializeJoggingRequest
|
|
36
|
+
oneof_schema_1_validator: Optional[InitializeJoggingRequest] = None
|
|
37
|
+
# data type: JointVelocityRequest
|
|
38
|
+
oneof_schema_2_validator: Optional[JointVelocityRequest] = None
|
|
39
|
+
# data type: TcpVelocityRequest
|
|
40
|
+
oneof_schema_3_validator: Optional[TcpVelocityRequest] = None
|
|
41
|
+
# data type: PauseJoggingRequest
|
|
42
|
+
oneof_schema_4_validator: Optional[PauseJoggingRequest] = None
|
|
43
|
+
actual_instance: Optional[Union[InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest]] = None
|
|
44
|
+
one_of_schemas: Set[str] = {"InitializeJoggingRequest", "JointVelocityRequest", "PauseJoggingRequest", "TcpVelocityRequest"}
|
|
45
|
+
|
|
46
|
+
model_config = ConfigDict(
|
|
47
|
+
validate_assignment=True,
|
|
48
|
+
protected_namespaces=(),
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
discriminator_value_class_map: Dict[str, str] = {}
|
|
52
|
+
|
|
53
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
54
|
+
if args:
|
|
55
|
+
if len(args) > 1:
|
|
56
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
57
|
+
if kwargs:
|
|
58
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
59
|
+
super().__init__(actual_instance=args[0])
|
|
60
|
+
else:
|
|
61
|
+
super().__init__(**kwargs)
|
|
62
|
+
|
|
63
|
+
@field_validator("actual_instance")
|
|
64
|
+
def actual_instance_must_validate_oneof(cls, v):
|
|
65
|
+
instance = ExecuteJoggingRequest.model_construct()
|
|
66
|
+
error_messages = []
|
|
67
|
+
match = 0
|
|
68
|
+
# validate data type: InitializeJoggingRequest
|
|
69
|
+
if not isinstance(v, InitializeJoggingRequest):
|
|
70
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `InitializeJoggingRequest`")
|
|
71
|
+
else:
|
|
72
|
+
match += 1
|
|
73
|
+
# validate data type: JointVelocityRequest
|
|
74
|
+
if not isinstance(v, JointVelocityRequest):
|
|
75
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `JointVelocityRequest`")
|
|
76
|
+
else:
|
|
77
|
+
match += 1
|
|
78
|
+
# validate data type: TcpVelocityRequest
|
|
79
|
+
if not isinstance(v, TcpVelocityRequest):
|
|
80
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `TcpVelocityRequest`")
|
|
81
|
+
else:
|
|
82
|
+
match += 1
|
|
83
|
+
# validate data type: PauseJoggingRequest
|
|
84
|
+
if not isinstance(v, PauseJoggingRequest):
|
|
85
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PauseJoggingRequest`")
|
|
86
|
+
else:
|
|
87
|
+
match += 1
|
|
88
|
+
if match > 1:
|
|
89
|
+
# more than 1 match
|
|
90
|
+
raise ValueError(
|
|
91
|
+
"Multiple matches found when setting `actual_instance` in ExecuteJoggingRequest with oneOf schemas: InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest. Details: "
|
|
92
|
+
+ ", ".join(error_messages)
|
|
93
|
+
)
|
|
94
|
+
elif match == 0:
|
|
95
|
+
# no match
|
|
96
|
+
raise ValueError(
|
|
97
|
+
"No match found when setting `actual_instance` in ExecuteJoggingRequest with oneOf schemas: InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest. Details: "
|
|
98
|
+
+ ", ".join(error_messages)
|
|
99
|
+
)
|
|
100
|
+
else:
|
|
101
|
+
return v
|
|
102
|
+
|
|
103
|
+
@classmethod
|
|
104
|
+
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
|
105
|
+
return cls.from_json(json.dumps(obj))
|
|
106
|
+
|
|
107
|
+
@classmethod
|
|
108
|
+
def from_json(cls, json_str: str) -> Self:
|
|
109
|
+
"""Returns the object represented by the json string"""
|
|
110
|
+
instance = cls.model_construct()
|
|
111
|
+
error_messages = []
|
|
112
|
+
match = 0
|
|
113
|
+
|
|
114
|
+
# use oneOf discriminator to lookup the data type
|
|
115
|
+
_data_type = json.loads(json_str).get("message_type")
|
|
116
|
+
if not _data_type:
|
|
117
|
+
raise ValueError("Failed to lookup data type from the field `message_type` in the input.")
|
|
118
|
+
|
|
119
|
+
# check if data type is `InitializeJoggingRequest`
|
|
120
|
+
if _data_type == "InitializeJoggingRequest":
|
|
121
|
+
instance.actual_instance = InitializeJoggingRequest.from_json(json_str)
|
|
122
|
+
return instance
|
|
123
|
+
|
|
124
|
+
# check if data type is `JointVelocityRequest`
|
|
125
|
+
if _data_type == "JointVelocityRequest":
|
|
126
|
+
instance.actual_instance = JointVelocityRequest.from_json(json_str)
|
|
127
|
+
return instance
|
|
128
|
+
|
|
129
|
+
# check if data type is `PauseJoggingRequest`
|
|
130
|
+
if _data_type == "PauseJoggingRequest":
|
|
131
|
+
instance.actual_instance = PauseJoggingRequest.from_json(json_str)
|
|
132
|
+
return instance
|
|
133
|
+
|
|
134
|
+
# check if data type is `TcpVelocityRequest`
|
|
135
|
+
if _data_type == "TcpVelocityRequest":
|
|
136
|
+
instance.actual_instance = TcpVelocityRequest.from_json(json_str)
|
|
137
|
+
return instance
|
|
138
|
+
|
|
139
|
+
# deserialize data into InitializeJoggingRequest
|
|
140
|
+
try:
|
|
141
|
+
instance.actual_instance = InitializeJoggingRequest.from_json(json_str)
|
|
142
|
+
match += 1
|
|
143
|
+
except (ValidationError, ValueError) as e:
|
|
144
|
+
error_messages.append(str(e))
|
|
145
|
+
# deserialize data into JointVelocityRequest
|
|
146
|
+
try:
|
|
147
|
+
instance.actual_instance = JointVelocityRequest.from_json(json_str)
|
|
148
|
+
match += 1
|
|
149
|
+
except (ValidationError, ValueError) as e:
|
|
150
|
+
error_messages.append(str(e))
|
|
151
|
+
# deserialize data into TcpVelocityRequest
|
|
152
|
+
try:
|
|
153
|
+
instance.actual_instance = TcpVelocityRequest.from_json(json_str)
|
|
154
|
+
match += 1
|
|
155
|
+
except (ValidationError, ValueError) as e:
|
|
156
|
+
error_messages.append(str(e))
|
|
157
|
+
# deserialize data into PauseJoggingRequest
|
|
158
|
+
try:
|
|
159
|
+
instance.actual_instance = PauseJoggingRequest.from_json(json_str)
|
|
160
|
+
match += 1
|
|
161
|
+
except (ValidationError, ValueError) as e:
|
|
162
|
+
error_messages.append(str(e))
|
|
163
|
+
|
|
164
|
+
if match > 1:
|
|
165
|
+
# more than 1 match
|
|
166
|
+
raise ValueError(
|
|
167
|
+
"Multiple matches found when deserializing the JSON string into ExecuteJoggingRequest with oneOf schemas: InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest. Details: "
|
|
168
|
+
+ ", ".join(error_messages)
|
|
169
|
+
)
|
|
170
|
+
elif match == 0:
|
|
171
|
+
# no match
|
|
172
|
+
raise ValueError(
|
|
173
|
+
"No match found when deserializing the JSON string into ExecuteJoggingRequest with oneOf schemas: InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest. Details: "
|
|
174
|
+
+ ", ".join(error_messages)
|
|
175
|
+
)
|
|
176
|
+
else:
|
|
177
|
+
return instance
|
|
178
|
+
|
|
179
|
+
def to_json(self) -> str:
|
|
180
|
+
"""Returns the JSON representation of the actual instance"""
|
|
181
|
+
if self.actual_instance is None:
|
|
182
|
+
return "null"
|
|
183
|
+
|
|
184
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
185
|
+
return self.actual_instance.to_json()
|
|
186
|
+
else:
|
|
187
|
+
return json.dumps(self.actual_instance)
|
|
188
|
+
|
|
189
|
+
def to_dict(
|
|
190
|
+
self,
|
|
191
|
+
) -> Optional[Union[Dict[str, Any], InitializeJoggingRequest, JointVelocityRequest, PauseJoggingRequest, TcpVelocityRequest]]:
|
|
192
|
+
"""Returns the dict representation of the actual instance"""
|
|
193
|
+
if self.actual_instance is None:
|
|
194
|
+
return None
|
|
195
|
+
|
|
196
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
197
|
+
return self.actual_instance.to_dict()
|
|
198
|
+
else:
|
|
199
|
+
# primitive type
|
|
200
|
+
return self.actual_instance
|
|
201
|
+
|
|
202
|
+
def to_str(self) -> str:
|
|
203
|
+
"""Returns the string representation of the actual instance"""
|
|
204
|
+
return pprint.pformat(self.model_dump())
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.3.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import json
|
|
16
|
+
import pprint
|
|
17
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
18
|
+
from typing import Any, List, Optional
|
|
19
|
+
from wandelbots_api_client.v2.models.initialize_jogging_response import InitializeJoggingResponse
|
|
20
|
+
from wandelbots_api_client.v2.models.joint_velocity_response import JointVelocityResponse
|
|
21
|
+
from wandelbots_api_client.v2.models.movement_error_response import MovementErrorResponse
|
|
22
|
+
from wandelbots_api_client.v2.models.pause_jogging_response import PauseJoggingResponse
|
|
23
|
+
from wandelbots_api_client.v2.models.tcp_velocity_response import TcpVelocityResponse
|
|
24
|
+
from pydantic import StrictStr, Field
|
|
25
|
+
from typing import Union, List, Set, Optional, Dict
|
|
26
|
+
from typing_extensions import Literal, Self
|
|
27
|
+
|
|
28
|
+
EXECUTEJOGGINGRESPONSE_ONE_OF_SCHEMAS = [
|
|
29
|
+
"InitializeJoggingResponse",
|
|
30
|
+
"JointVelocityResponse",
|
|
31
|
+
"MovementErrorResponse",
|
|
32
|
+
"PauseJoggingResponse",
|
|
33
|
+
"TcpVelocityResponse",
|
|
34
|
+
]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ExecuteJoggingResponse(BaseModel):
|
|
38
|
+
"""
|
|
39
|
+
ExecuteJoggingResponse
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
# data type: InitializeJoggingResponse
|
|
43
|
+
oneof_schema_1_validator: Optional[InitializeJoggingResponse] = None
|
|
44
|
+
# data type: PauseJoggingResponse
|
|
45
|
+
oneof_schema_2_validator: Optional[PauseJoggingResponse] = None
|
|
46
|
+
# data type: TcpVelocityResponse
|
|
47
|
+
oneof_schema_3_validator: Optional[TcpVelocityResponse] = None
|
|
48
|
+
# data type: JointVelocityResponse
|
|
49
|
+
oneof_schema_4_validator: Optional[JointVelocityResponse] = None
|
|
50
|
+
# data type: MovementErrorResponse
|
|
51
|
+
oneof_schema_5_validator: Optional[MovementErrorResponse] = None
|
|
52
|
+
actual_instance: Optional[
|
|
53
|
+
Union[InitializeJoggingResponse, JointVelocityResponse, MovementErrorResponse, PauseJoggingResponse, TcpVelocityResponse]
|
|
54
|
+
] = None
|
|
55
|
+
one_of_schemas: Set[str] = {
|
|
56
|
+
"InitializeJoggingResponse",
|
|
57
|
+
"JointVelocityResponse",
|
|
58
|
+
"MovementErrorResponse",
|
|
59
|
+
"PauseJoggingResponse",
|
|
60
|
+
"TcpVelocityResponse",
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
model_config = ConfigDict(
|
|
64
|
+
validate_assignment=True,
|
|
65
|
+
protected_namespaces=(),
|
|
66
|
+
)
|
|
67
|
+
|
|
68
|
+
discriminator_value_class_map: Dict[str, str] = {}
|
|
69
|
+
|
|
70
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
71
|
+
if args:
|
|
72
|
+
if len(args) > 1:
|
|
73
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
74
|
+
if kwargs:
|
|
75
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
76
|
+
super().__init__(actual_instance=args[0])
|
|
77
|
+
else:
|
|
78
|
+
super().__init__(**kwargs)
|
|
79
|
+
|
|
80
|
+
@field_validator("actual_instance")
|
|
81
|
+
def actual_instance_must_validate_oneof(cls, v):
|
|
82
|
+
instance = ExecuteJoggingResponse.model_construct()
|
|
83
|
+
error_messages = []
|
|
84
|
+
match = 0
|
|
85
|
+
# validate data type: InitializeJoggingResponse
|
|
86
|
+
if not isinstance(v, InitializeJoggingResponse):
|
|
87
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `InitializeJoggingResponse`")
|
|
88
|
+
else:
|
|
89
|
+
match += 1
|
|
90
|
+
# validate data type: PauseJoggingResponse
|
|
91
|
+
if not isinstance(v, PauseJoggingResponse):
|
|
92
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PauseJoggingResponse`")
|
|
93
|
+
else:
|
|
94
|
+
match += 1
|
|
95
|
+
# validate data type: TcpVelocityResponse
|
|
96
|
+
if not isinstance(v, TcpVelocityResponse):
|
|
97
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `TcpVelocityResponse`")
|
|
98
|
+
else:
|
|
99
|
+
match += 1
|
|
100
|
+
# validate data type: JointVelocityResponse
|
|
101
|
+
if not isinstance(v, JointVelocityResponse):
|
|
102
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `JointVelocityResponse`")
|
|
103
|
+
else:
|
|
104
|
+
match += 1
|
|
105
|
+
# validate data type: MovementErrorResponse
|
|
106
|
+
if not isinstance(v, MovementErrorResponse):
|
|
107
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `MovementErrorResponse`")
|
|
108
|
+
else:
|
|
109
|
+
match += 1
|
|
110
|
+
if match > 1:
|
|
111
|
+
# more than 1 match
|
|
112
|
+
raise ValueError(
|
|
113
|
+
"Multiple matches found when setting `actual_instance` in ExecuteJoggingResponse with oneOf schemas: InitializeJoggingResponse, JointVelocityResponse, MovementErrorResponse, PauseJoggingResponse, TcpVelocityResponse. Details: "
|
|
114
|
+
+ ", ".join(error_messages)
|
|
115
|
+
)
|
|
116
|
+
elif match == 0:
|
|
117
|
+
# no match
|
|
118
|
+
raise ValueError(
|
|
119
|
+
"No match found when setting `actual_instance` in ExecuteJoggingResponse with oneOf schemas: InitializeJoggingResponse, JointVelocityResponse, MovementErrorResponse, PauseJoggingResponse, TcpVelocityResponse. Details: "
|
|
120
|
+
+ ", ".join(error_messages)
|
|
121
|
+
)
|
|
122
|
+
else:
|
|
123
|
+
return v
|
|
124
|
+
|
|
125
|
+
@classmethod
|
|
126
|
+
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
|
127
|
+
return cls.from_json(json.dumps(obj))
|
|
128
|
+
|
|
129
|
+
@classmethod
|
|
130
|
+
def from_json(cls, json_str: str) -> Self:
|
|
131
|
+
"""Returns the object represented by the json string"""
|
|
132
|
+
instance = cls.model_construct()
|
|
133
|
+
error_messages = []
|
|
134
|
+
match = 0
|
|
135
|
+
|
|
136
|
+
# use oneOf discriminator to lookup the data type
|
|
137
|
+
_data_type = json.loads(json_str).get("kind")
|
|
138
|
+
if not _data_type:
|
|
139
|
+
raise ValueError("Failed to lookup data type from the field `kind` in the input.")
|
|
140
|
+
|
|
141
|
+
# check if data type is `InitializeJoggingResponse`
|
|
142
|
+
if _data_type == "INITIALIZE_RECEIVED":
|
|
143
|
+
instance.actual_instance = InitializeJoggingResponse.from_json(json_str)
|
|
144
|
+
return instance
|
|
145
|
+
|
|
146
|
+
# check if data type is `JointVelocityResponse`
|
|
147
|
+
if _data_type == "JOINT_VELOCITY_RECEIVED":
|
|
148
|
+
instance.actual_instance = JointVelocityResponse.from_json(json_str)
|
|
149
|
+
return instance
|
|
150
|
+
|
|
151
|
+
# check if data type is `MovementErrorResponse`
|
|
152
|
+
if _data_type == "MOTION_ERROR":
|
|
153
|
+
instance.actual_instance = MovementErrorResponse.from_json(json_str)
|
|
154
|
+
return instance
|
|
155
|
+
|
|
156
|
+
# check if data type is `PauseJoggingResponse`
|
|
157
|
+
if _data_type == "PAUSE_RECEIVED":
|
|
158
|
+
instance.actual_instance = PauseJoggingResponse.from_json(json_str)
|
|
159
|
+
return instance
|
|
160
|
+
|
|
161
|
+
# check if data type is `TcpVelocityResponse`
|
|
162
|
+
if _data_type == "TCP_VELOCITY_RECEIVED":
|
|
163
|
+
instance.actual_instance = TcpVelocityResponse.from_json(json_str)
|
|
164
|
+
return instance
|
|
165
|
+
|
|
166
|
+
# deserialize data into InitializeJoggingResponse
|
|
167
|
+
try:
|
|
168
|
+
instance.actual_instance = InitializeJoggingResponse.from_json(json_str)
|
|
169
|
+
match += 1
|
|
170
|
+
except (ValidationError, ValueError) as e:
|
|
171
|
+
error_messages.append(str(e))
|
|
172
|
+
# deserialize data into PauseJoggingResponse
|
|
173
|
+
try:
|
|
174
|
+
instance.actual_instance = PauseJoggingResponse.from_json(json_str)
|
|
175
|
+
match += 1
|
|
176
|
+
except (ValidationError, ValueError) as e:
|
|
177
|
+
error_messages.append(str(e))
|
|
178
|
+
# deserialize data into TcpVelocityResponse
|
|
179
|
+
try:
|
|
180
|
+
instance.actual_instance = TcpVelocityResponse.from_json(json_str)
|
|
181
|
+
match += 1
|
|
182
|
+
except (ValidationError, ValueError) as e:
|
|
183
|
+
error_messages.append(str(e))
|
|
184
|
+
# deserialize data into JointVelocityResponse
|
|
185
|
+
try:
|
|
186
|
+
instance.actual_instance = JointVelocityResponse.from_json(json_str)
|
|
187
|
+
match += 1
|
|
188
|
+
except (ValidationError, ValueError) as e:
|
|
189
|
+
error_messages.append(str(e))
|
|
190
|
+
# deserialize data into MovementErrorResponse
|
|
191
|
+
try:
|
|
192
|
+
instance.actual_instance = MovementErrorResponse.from_json(json_str)
|
|
193
|
+
match += 1
|
|
194
|
+
except (ValidationError, ValueError) as e:
|
|
195
|
+
error_messages.append(str(e))
|
|
196
|
+
|
|
197
|
+
if match > 1:
|
|
198
|
+
# more than 1 match
|
|
199
|
+
raise ValueError(
|
|
200
|
+
"Multiple matches found when deserializing the JSON string into ExecuteJoggingResponse with oneOf schemas: InitializeJoggingResponse, JointVelocityResponse, MovementErrorResponse, PauseJoggingResponse, TcpVelocityResponse. Details: "
|
|
201
|
+
+ ", ".join(error_messages)
|
|
202
|
+
)
|
|
203
|
+
elif match == 0:
|
|
204
|
+
# no match
|
|
205
|
+
raise ValueError(
|
|
206
|
+
"No match found when deserializing the JSON string into ExecuteJoggingResponse with oneOf schemas: InitializeJoggingResponse, JointVelocityResponse, MovementErrorResponse, PauseJoggingResponse, TcpVelocityResponse. Details: "
|
|
207
|
+
+ ", ".join(error_messages)
|
|
208
|
+
)
|
|
209
|
+
else:
|
|
210
|
+
return instance
|
|
211
|
+
|
|
212
|
+
def to_json(self) -> str:
|
|
213
|
+
"""Returns the JSON representation of the actual instance"""
|
|
214
|
+
if self.actual_instance is None:
|
|
215
|
+
return "null"
|
|
216
|
+
|
|
217
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
218
|
+
return self.actual_instance.to_json()
|
|
219
|
+
else:
|
|
220
|
+
return json.dumps(self.actual_instance)
|
|
221
|
+
|
|
222
|
+
def to_dict(
|
|
223
|
+
self,
|
|
224
|
+
) -> Optional[
|
|
225
|
+
Union[
|
|
226
|
+
Dict[str, Any],
|
|
227
|
+
InitializeJoggingResponse,
|
|
228
|
+
JointVelocityResponse,
|
|
229
|
+
MovementErrorResponse,
|
|
230
|
+
PauseJoggingResponse,
|
|
231
|
+
TcpVelocityResponse,
|
|
232
|
+
]
|
|
233
|
+
]:
|
|
234
|
+
"""Returns the dict representation of the actual instance"""
|
|
235
|
+
if self.actual_instance is None:
|
|
236
|
+
return None
|
|
237
|
+
|
|
238
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
239
|
+
return self.actual_instance.to_dict()
|
|
240
|
+
else:
|
|
241
|
+
# primitive type
|
|
242
|
+
return self.actual_instance
|
|
243
|
+
|
|
244
|
+
def to_str(self) -> str:
|
|
245
|
+
"""Returns the string representation of the actual instance"""
|
|
246
|
+
return pprint.pformat(self.model_dump())
|
|
@@ -0,0 +1,209 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.3.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from __future__ import annotations
|
|
15
|
+
import json
|
|
16
|
+
import pprint
|
|
17
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
18
|
+
from typing import Any, List, Optional
|
|
19
|
+
from wandelbots_api_client.v2.models.initialize_movement_request import InitializeMovementRequest
|
|
20
|
+
from wandelbots_api_client.v2.models.pause_movement_request import PauseMovementRequest
|
|
21
|
+
from wandelbots_api_client.v2.models.playback_speed_request import PlaybackSpeedRequest
|
|
22
|
+
from wandelbots_api_client.v2.models.start_movement_request import StartMovementRequest
|
|
23
|
+
from pydantic import StrictStr, Field
|
|
24
|
+
from typing import Union, List, Set, Optional, Dict
|
|
25
|
+
from typing_extensions import Literal, Self
|
|
26
|
+
|
|
27
|
+
EXECUTETRAJECTORYREQUEST_ONE_OF_SCHEMAS = [
|
|
28
|
+
"InitializeMovementRequest",
|
|
29
|
+
"PauseMovementRequest",
|
|
30
|
+
"PlaybackSpeedRequest",
|
|
31
|
+
"StartMovementRequest",
|
|
32
|
+
]
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class ExecuteTrajectoryRequest(BaseModel):
|
|
36
|
+
"""
|
|
37
|
+
ExecuteTrajectoryRequest
|
|
38
|
+
"""
|
|
39
|
+
|
|
40
|
+
# data type: InitializeMovementRequest
|
|
41
|
+
oneof_schema_1_validator: Optional[InitializeMovementRequest] = None
|
|
42
|
+
# data type: StartMovementRequest
|
|
43
|
+
oneof_schema_2_validator: Optional[StartMovementRequest] = None
|
|
44
|
+
# data type: PauseMovementRequest
|
|
45
|
+
oneof_schema_3_validator: Optional[PauseMovementRequest] = None
|
|
46
|
+
# data type: PlaybackSpeedRequest
|
|
47
|
+
oneof_schema_4_validator: Optional[PlaybackSpeedRequest] = None
|
|
48
|
+
actual_instance: Optional[Union[InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest]] = None
|
|
49
|
+
one_of_schemas: Set[str] = {"InitializeMovementRequest", "PauseMovementRequest", "PlaybackSpeedRequest", "StartMovementRequest"}
|
|
50
|
+
|
|
51
|
+
model_config = ConfigDict(
|
|
52
|
+
validate_assignment=True,
|
|
53
|
+
protected_namespaces=(),
|
|
54
|
+
)
|
|
55
|
+
|
|
56
|
+
discriminator_value_class_map: Dict[str, str] = {}
|
|
57
|
+
|
|
58
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
59
|
+
if args:
|
|
60
|
+
if len(args) > 1:
|
|
61
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
62
|
+
if kwargs:
|
|
63
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
64
|
+
super().__init__(actual_instance=args[0])
|
|
65
|
+
else:
|
|
66
|
+
super().__init__(**kwargs)
|
|
67
|
+
|
|
68
|
+
@field_validator("actual_instance")
|
|
69
|
+
def actual_instance_must_validate_oneof(cls, v):
|
|
70
|
+
instance = ExecuteTrajectoryRequest.model_construct()
|
|
71
|
+
error_messages = []
|
|
72
|
+
match = 0
|
|
73
|
+
# validate data type: InitializeMovementRequest
|
|
74
|
+
if not isinstance(v, InitializeMovementRequest):
|
|
75
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `InitializeMovementRequest`")
|
|
76
|
+
else:
|
|
77
|
+
match += 1
|
|
78
|
+
# validate data type: StartMovementRequest
|
|
79
|
+
if not isinstance(v, StartMovementRequest):
|
|
80
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `StartMovementRequest`")
|
|
81
|
+
else:
|
|
82
|
+
match += 1
|
|
83
|
+
# validate data type: PauseMovementRequest
|
|
84
|
+
if not isinstance(v, PauseMovementRequest):
|
|
85
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PauseMovementRequest`")
|
|
86
|
+
else:
|
|
87
|
+
match += 1
|
|
88
|
+
# validate data type: PlaybackSpeedRequest
|
|
89
|
+
if not isinstance(v, PlaybackSpeedRequest):
|
|
90
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PlaybackSpeedRequest`")
|
|
91
|
+
else:
|
|
92
|
+
match += 1
|
|
93
|
+
if match > 1:
|
|
94
|
+
# more than 1 match
|
|
95
|
+
raise ValueError(
|
|
96
|
+
"Multiple matches found when setting `actual_instance` in ExecuteTrajectoryRequest with oneOf schemas: InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest. Details: "
|
|
97
|
+
+ ", ".join(error_messages)
|
|
98
|
+
)
|
|
99
|
+
elif match == 0:
|
|
100
|
+
# no match
|
|
101
|
+
raise ValueError(
|
|
102
|
+
"No match found when setting `actual_instance` in ExecuteTrajectoryRequest with oneOf schemas: InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest. Details: "
|
|
103
|
+
+ ", ".join(error_messages)
|
|
104
|
+
)
|
|
105
|
+
else:
|
|
106
|
+
return v
|
|
107
|
+
|
|
108
|
+
@classmethod
|
|
109
|
+
def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self:
|
|
110
|
+
return cls.from_json(json.dumps(obj))
|
|
111
|
+
|
|
112
|
+
@classmethod
|
|
113
|
+
def from_json(cls, json_str: str) -> Self:
|
|
114
|
+
"""Returns the object represented by the json string"""
|
|
115
|
+
instance = cls.model_construct()
|
|
116
|
+
error_messages = []
|
|
117
|
+
match = 0
|
|
118
|
+
|
|
119
|
+
# use oneOf discriminator to lookup the data type
|
|
120
|
+
_data_type = json.loads(json_str).get("message_type")
|
|
121
|
+
if not _data_type:
|
|
122
|
+
raise ValueError("Failed to lookup data type from the field `message_type` in the input.")
|
|
123
|
+
|
|
124
|
+
# check if data type is `InitializeMovementRequest`
|
|
125
|
+
if _data_type == "InitializeMovementRequest":
|
|
126
|
+
instance.actual_instance = InitializeMovementRequest.from_json(json_str)
|
|
127
|
+
return instance
|
|
128
|
+
|
|
129
|
+
# check if data type is `PauseMovementRequest`
|
|
130
|
+
if _data_type == "PauseMovementRequest":
|
|
131
|
+
instance.actual_instance = PauseMovementRequest.from_json(json_str)
|
|
132
|
+
return instance
|
|
133
|
+
|
|
134
|
+
# check if data type is `PlaybackSpeedRequest`
|
|
135
|
+
if _data_type == "PlaybackSpeedRequest":
|
|
136
|
+
instance.actual_instance = PlaybackSpeedRequest.from_json(json_str)
|
|
137
|
+
return instance
|
|
138
|
+
|
|
139
|
+
# check if data type is `StartMovementRequest`
|
|
140
|
+
if _data_type == "StartMovementRequest":
|
|
141
|
+
instance.actual_instance = StartMovementRequest.from_json(json_str)
|
|
142
|
+
return instance
|
|
143
|
+
|
|
144
|
+
# deserialize data into InitializeMovementRequest
|
|
145
|
+
try:
|
|
146
|
+
instance.actual_instance = InitializeMovementRequest.from_json(json_str)
|
|
147
|
+
match += 1
|
|
148
|
+
except (ValidationError, ValueError) as e:
|
|
149
|
+
error_messages.append(str(e))
|
|
150
|
+
# deserialize data into StartMovementRequest
|
|
151
|
+
try:
|
|
152
|
+
instance.actual_instance = StartMovementRequest.from_json(json_str)
|
|
153
|
+
match += 1
|
|
154
|
+
except (ValidationError, ValueError) as e:
|
|
155
|
+
error_messages.append(str(e))
|
|
156
|
+
# deserialize data into PauseMovementRequest
|
|
157
|
+
try:
|
|
158
|
+
instance.actual_instance = PauseMovementRequest.from_json(json_str)
|
|
159
|
+
match += 1
|
|
160
|
+
except (ValidationError, ValueError) as e:
|
|
161
|
+
error_messages.append(str(e))
|
|
162
|
+
# deserialize data into PlaybackSpeedRequest
|
|
163
|
+
try:
|
|
164
|
+
instance.actual_instance = PlaybackSpeedRequest.from_json(json_str)
|
|
165
|
+
match += 1
|
|
166
|
+
except (ValidationError, ValueError) as e:
|
|
167
|
+
error_messages.append(str(e))
|
|
168
|
+
|
|
169
|
+
if match > 1:
|
|
170
|
+
# more than 1 match
|
|
171
|
+
raise ValueError(
|
|
172
|
+
"Multiple matches found when deserializing the JSON string into ExecuteTrajectoryRequest with oneOf schemas: InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest. Details: "
|
|
173
|
+
+ ", ".join(error_messages)
|
|
174
|
+
)
|
|
175
|
+
elif match == 0:
|
|
176
|
+
# no match
|
|
177
|
+
raise ValueError(
|
|
178
|
+
"No match found when deserializing the JSON string into ExecuteTrajectoryRequest with oneOf schemas: InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest. Details: "
|
|
179
|
+
+ ", ".join(error_messages)
|
|
180
|
+
)
|
|
181
|
+
else:
|
|
182
|
+
return instance
|
|
183
|
+
|
|
184
|
+
def to_json(self) -> str:
|
|
185
|
+
"""Returns the JSON representation of the actual instance"""
|
|
186
|
+
if self.actual_instance is None:
|
|
187
|
+
return "null"
|
|
188
|
+
|
|
189
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
190
|
+
return self.actual_instance.to_json()
|
|
191
|
+
else:
|
|
192
|
+
return json.dumps(self.actual_instance)
|
|
193
|
+
|
|
194
|
+
def to_dict(
|
|
195
|
+
self,
|
|
196
|
+
) -> Optional[Union[Dict[str, Any], InitializeMovementRequest, PauseMovementRequest, PlaybackSpeedRequest, StartMovementRequest]]:
|
|
197
|
+
"""Returns the dict representation of the actual instance"""
|
|
198
|
+
if self.actual_instance is None:
|
|
199
|
+
return None
|
|
200
|
+
|
|
201
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
202
|
+
return self.actual_instance.to_dict()
|
|
203
|
+
else:
|
|
204
|
+
# primitive type
|
|
205
|
+
return self.actual_instance
|
|
206
|
+
|
|
207
|
+
def to_str(self) -> str:
|
|
208
|
+
"""Returns the string representation of the actual instance"""
|
|
209
|
+
return pprint.pformat(self.model_dump())
|