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,317 @@
|
|
|
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: 1.4.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
|
+
from inspect import getfullargspec
|
|
16
|
+
import json
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictFloat, StrictInt, StrictStr, ValidationError, field_validator
|
|
20
|
+
from typing import Optional, Tuple, Union
|
|
21
|
+
from wandelbots_api_client.models.array_output import ArrayOutput
|
|
22
|
+
from wandelbots_api_client.models.capture import Capture
|
|
23
|
+
from wandelbots_api_client.models.point_cloud import PointCloud
|
|
24
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_orientation import PyjectoryDatatypesSerializerOrientation
|
|
25
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_pose import PyjectoryDatatypesSerializerPose
|
|
26
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_position import PyjectoryDatatypesSerializerPosition
|
|
27
|
+
from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
|
|
28
|
+
from typing_extensions import Literal, Self
|
|
29
|
+
from pydantic import Field
|
|
30
|
+
|
|
31
|
+
RESPONSEGETVALUEPROGRAMSVALUESKEYGET_ANY_OF_SCHEMAS = [
|
|
32
|
+
"ArrayOutput",
|
|
33
|
+
"Capture",
|
|
34
|
+
"PointCloud",
|
|
35
|
+
"PyjectoryDatatypesSerializerOrientation",
|
|
36
|
+
"PyjectoryDatatypesSerializerPose",
|
|
37
|
+
"PyjectoryDatatypesSerializerPosition",
|
|
38
|
+
"bytearray",
|
|
39
|
+
"float",
|
|
40
|
+
"int",
|
|
41
|
+
"str",
|
|
42
|
+
]
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class ResponseGetValueProgramsValuesKeyGet(BaseModel):
|
|
46
|
+
"""
|
|
47
|
+
ResponseGetValueProgramsValuesKeyGet
|
|
48
|
+
"""
|
|
49
|
+
|
|
50
|
+
# data type: float
|
|
51
|
+
anyof_schema_1_validator: Optional[Union[StrictFloat, StrictInt]] = None
|
|
52
|
+
# data type: int
|
|
53
|
+
anyof_schema_2_validator: Optional[StrictInt] = None
|
|
54
|
+
# data type: str
|
|
55
|
+
anyof_schema_3_validator: Optional[StrictStr] = None
|
|
56
|
+
# data type: bytearray
|
|
57
|
+
anyof_schema_4_validator: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None
|
|
58
|
+
# data type: PyjectoryDatatypesSerializerPose
|
|
59
|
+
anyof_schema_5_validator: Optional[PyjectoryDatatypesSerializerPose] = None
|
|
60
|
+
# data type: PyjectoryDatatypesSerializerPosition
|
|
61
|
+
anyof_schema_6_validator: Optional[PyjectoryDatatypesSerializerPosition] = None
|
|
62
|
+
# data type: PyjectoryDatatypesSerializerOrientation
|
|
63
|
+
anyof_schema_7_validator: Optional[PyjectoryDatatypesSerializerOrientation] = None
|
|
64
|
+
# data type: Capture
|
|
65
|
+
anyof_schema_8_validator: Optional[Capture] = None
|
|
66
|
+
# data type: PointCloud
|
|
67
|
+
anyof_schema_9_validator: Optional[PointCloud] = None
|
|
68
|
+
# data type: ArrayOutput
|
|
69
|
+
anyof_schema_10_validator: Optional[ArrayOutput] = None
|
|
70
|
+
if TYPE_CHECKING:
|
|
71
|
+
actual_instance: Optional[
|
|
72
|
+
Union[
|
|
73
|
+
ArrayOutput,
|
|
74
|
+
Capture,
|
|
75
|
+
PointCloud,
|
|
76
|
+
PyjectoryDatatypesSerializerOrientation,
|
|
77
|
+
PyjectoryDatatypesSerializerPose,
|
|
78
|
+
PyjectoryDatatypesSerializerPosition,
|
|
79
|
+
bytearray,
|
|
80
|
+
float,
|
|
81
|
+
int,
|
|
82
|
+
str,
|
|
83
|
+
]
|
|
84
|
+
] = None
|
|
85
|
+
else:
|
|
86
|
+
actual_instance: Any = None
|
|
87
|
+
any_of_schemas: Set[str] = {
|
|
88
|
+
"ArrayOutput",
|
|
89
|
+
"Capture",
|
|
90
|
+
"PointCloud",
|
|
91
|
+
"PyjectoryDatatypesSerializerOrientation",
|
|
92
|
+
"PyjectoryDatatypesSerializerPose",
|
|
93
|
+
"PyjectoryDatatypesSerializerPosition",
|
|
94
|
+
"bytearray",
|
|
95
|
+
"float",
|
|
96
|
+
"int",
|
|
97
|
+
"str",
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
model_config = {
|
|
101
|
+
"validate_assignment": True,
|
|
102
|
+
"protected_namespaces": (),
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
106
|
+
if args:
|
|
107
|
+
if len(args) > 1:
|
|
108
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
109
|
+
if kwargs:
|
|
110
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
111
|
+
super().__init__(actual_instance=args[0])
|
|
112
|
+
else:
|
|
113
|
+
super().__init__(**kwargs)
|
|
114
|
+
|
|
115
|
+
@field_validator("actual_instance")
|
|
116
|
+
def actual_instance_must_validate_anyof(cls, v):
|
|
117
|
+
instance = ResponseGetValueProgramsValuesKeyGet.model_construct()
|
|
118
|
+
error_messages = []
|
|
119
|
+
# validate data type: float
|
|
120
|
+
try:
|
|
121
|
+
instance.anyof_schema_1_validator = v
|
|
122
|
+
return v
|
|
123
|
+
except (ValidationError, ValueError) as e:
|
|
124
|
+
error_messages.append(str(e))
|
|
125
|
+
# validate data type: int
|
|
126
|
+
try:
|
|
127
|
+
instance.anyof_schema_2_validator = v
|
|
128
|
+
return v
|
|
129
|
+
except (ValidationError, ValueError) as e:
|
|
130
|
+
error_messages.append(str(e))
|
|
131
|
+
# validate data type: str
|
|
132
|
+
try:
|
|
133
|
+
instance.anyof_schema_3_validator = v
|
|
134
|
+
return v
|
|
135
|
+
except (ValidationError, ValueError) as e:
|
|
136
|
+
error_messages.append(str(e))
|
|
137
|
+
# validate data type: bytearray
|
|
138
|
+
try:
|
|
139
|
+
instance.anyof_schema_4_validator = v
|
|
140
|
+
return v
|
|
141
|
+
except (ValidationError, ValueError) as e:
|
|
142
|
+
error_messages.append(str(e))
|
|
143
|
+
# validate data type: PyjectoryDatatypesSerializerPose
|
|
144
|
+
if not isinstance(v, PyjectoryDatatypesSerializerPose):
|
|
145
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerPose`")
|
|
146
|
+
else:
|
|
147
|
+
return v
|
|
148
|
+
|
|
149
|
+
# validate data type: PyjectoryDatatypesSerializerPosition
|
|
150
|
+
if not isinstance(v, PyjectoryDatatypesSerializerPosition):
|
|
151
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerPosition`")
|
|
152
|
+
else:
|
|
153
|
+
return v
|
|
154
|
+
|
|
155
|
+
# validate data type: PyjectoryDatatypesSerializerOrientation
|
|
156
|
+
if not isinstance(v, PyjectoryDatatypesSerializerOrientation):
|
|
157
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerOrientation`")
|
|
158
|
+
else:
|
|
159
|
+
return v
|
|
160
|
+
|
|
161
|
+
# validate data type: Capture
|
|
162
|
+
if not isinstance(v, Capture):
|
|
163
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `Capture`")
|
|
164
|
+
else:
|
|
165
|
+
return v
|
|
166
|
+
|
|
167
|
+
# validate data type: PointCloud
|
|
168
|
+
if not isinstance(v, PointCloud):
|
|
169
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PointCloud`")
|
|
170
|
+
else:
|
|
171
|
+
return v
|
|
172
|
+
|
|
173
|
+
# validate data type: ArrayOutput
|
|
174
|
+
if not isinstance(v, ArrayOutput):
|
|
175
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `ArrayOutput`")
|
|
176
|
+
else:
|
|
177
|
+
return v
|
|
178
|
+
|
|
179
|
+
if error_messages:
|
|
180
|
+
# no match
|
|
181
|
+
raise ValueError(
|
|
182
|
+
"No match found when setting the actual_instance in ResponseGetValueProgramsValuesKeyGet with anyOf schemas: ArrayOutput, Capture, PointCloud, PyjectoryDatatypesSerializerOrientation, PyjectoryDatatypesSerializerPose, PyjectoryDatatypesSerializerPosition, bytearray, float, int, str. Details: "
|
|
183
|
+
+ ", ".join(error_messages)
|
|
184
|
+
)
|
|
185
|
+
else:
|
|
186
|
+
return v
|
|
187
|
+
|
|
188
|
+
@classmethod
|
|
189
|
+
def from_dict(cls, obj: Dict[str, Any]) -> Self:
|
|
190
|
+
return cls.from_json(json.dumps(obj))
|
|
191
|
+
|
|
192
|
+
@classmethod
|
|
193
|
+
def from_json(cls, json_str: str) -> Self:
|
|
194
|
+
"""Returns the object represented by the json string"""
|
|
195
|
+
instance = cls.model_construct()
|
|
196
|
+
error_messages = []
|
|
197
|
+
# deserialize data into float
|
|
198
|
+
try:
|
|
199
|
+
# validation
|
|
200
|
+
instance.anyof_schema_1_validator = json.loads(json_str)
|
|
201
|
+
# assign value to actual_instance
|
|
202
|
+
instance.actual_instance = instance.anyof_schema_1_validator
|
|
203
|
+
return instance
|
|
204
|
+
except (ValidationError, ValueError) as e:
|
|
205
|
+
error_messages.append(str(e))
|
|
206
|
+
# deserialize data into int
|
|
207
|
+
try:
|
|
208
|
+
# validation
|
|
209
|
+
instance.anyof_schema_2_validator = json.loads(json_str)
|
|
210
|
+
# assign value to actual_instance
|
|
211
|
+
instance.actual_instance = instance.anyof_schema_2_validator
|
|
212
|
+
return instance
|
|
213
|
+
except (ValidationError, ValueError) as e:
|
|
214
|
+
error_messages.append(str(e))
|
|
215
|
+
# deserialize data into str
|
|
216
|
+
try:
|
|
217
|
+
# validation
|
|
218
|
+
instance.anyof_schema_3_validator = json.loads(json_str)
|
|
219
|
+
# assign value to actual_instance
|
|
220
|
+
instance.actual_instance = instance.anyof_schema_3_validator
|
|
221
|
+
return instance
|
|
222
|
+
except (ValidationError, ValueError) as e:
|
|
223
|
+
error_messages.append(str(e))
|
|
224
|
+
# deserialize data into bytearray
|
|
225
|
+
try:
|
|
226
|
+
# validation
|
|
227
|
+
instance.anyof_schema_4_validator = json.loads(json_str)
|
|
228
|
+
# assign value to actual_instance
|
|
229
|
+
instance.actual_instance = instance.anyof_schema_4_validator
|
|
230
|
+
return instance
|
|
231
|
+
except (ValidationError, ValueError) as e:
|
|
232
|
+
error_messages.append(str(e))
|
|
233
|
+
# anyof_schema_5_validator: Optional[PyjectoryDatatypesSerializerPose] = None
|
|
234
|
+
try:
|
|
235
|
+
instance.actual_instance = PyjectoryDatatypesSerializerPose.from_json(json_str)
|
|
236
|
+
return instance
|
|
237
|
+
except (ValidationError, ValueError) as e:
|
|
238
|
+
error_messages.append(str(e))
|
|
239
|
+
# anyof_schema_6_validator: Optional[PyjectoryDatatypesSerializerPosition] = None
|
|
240
|
+
try:
|
|
241
|
+
instance.actual_instance = PyjectoryDatatypesSerializerPosition.from_json(json_str)
|
|
242
|
+
return instance
|
|
243
|
+
except (ValidationError, ValueError) as e:
|
|
244
|
+
error_messages.append(str(e))
|
|
245
|
+
# anyof_schema_7_validator: Optional[PyjectoryDatatypesSerializerOrientation] = None
|
|
246
|
+
try:
|
|
247
|
+
instance.actual_instance = PyjectoryDatatypesSerializerOrientation.from_json(json_str)
|
|
248
|
+
return instance
|
|
249
|
+
except (ValidationError, ValueError) as e:
|
|
250
|
+
error_messages.append(str(e))
|
|
251
|
+
# anyof_schema_8_validator: Optional[Capture] = None
|
|
252
|
+
try:
|
|
253
|
+
instance.actual_instance = Capture.from_json(json_str)
|
|
254
|
+
return instance
|
|
255
|
+
except (ValidationError, ValueError) as e:
|
|
256
|
+
error_messages.append(str(e))
|
|
257
|
+
# anyof_schema_9_validator: Optional[PointCloud] = None
|
|
258
|
+
try:
|
|
259
|
+
instance.actual_instance = PointCloud.from_json(json_str)
|
|
260
|
+
return instance
|
|
261
|
+
except (ValidationError, ValueError) as e:
|
|
262
|
+
error_messages.append(str(e))
|
|
263
|
+
# anyof_schema_10_validator: Optional[ArrayOutput] = None
|
|
264
|
+
try:
|
|
265
|
+
instance.actual_instance = ArrayOutput.from_json(json_str)
|
|
266
|
+
return instance
|
|
267
|
+
except (ValidationError, ValueError) as e:
|
|
268
|
+
error_messages.append(str(e))
|
|
269
|
+
|
|
270
|
+
if error_messages:
|
|
271
|
+
# no match
|
|
272
|
+
raise ValueError(
|
|
273
|
+
"No match found when deserializing the JSON string into ResponseGetValueProgramsValuesKeyGet with anyOf schemas: ArrayOutput, Capture, PointCloud, PyjectoryDatatypesSerializerOrientation, PyjectoryDatatypesSerializerPose, PyjectoryDatatypesSerializerPosition, bytearray, float, int, str. Details: "
|
|
274
|
+
+ ", ".join(error_messages)
|
|
275
|
+
)
|
|
276
|
+
else:
|
|
277
|
+
return instance
|
|
278
|
+
|
|
279
|
+
def to_json(self) -> str:
|
|
280
|
+
"""Returns the JSON representation of the actual instance"""
|
|
281
|
+
if self.actual_instance is None:
|
|
282
|
+
return "null"
|
|
283
|
+
|
|
284
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
285
|
+
return self.actual_instance.to_json()
|
|
286
|
+
else:
|
|
287
|
+
return json.dumps(self.actual_instance)
|
|
288
|
+
|
|
289
|
+
def to_dict(
|
|
290
|
+
self,
|
|
291
|
+
) -> Optional[
|
|
292
|
+
Union[
|
|
293
|
+
Dict[str, Any],
|
|
294
|
+
ArrayOutput,
|
|
295
|
+
Capture,
|
|
296
|
+
PointCloud,
|
|
297
|
+
PyjectoryDatatypesSerializerOrientation,
|
|
298
|
+
PyjectoryDatatypesSerializerPose,
|
|
299
|
+
PyjectoryDatatypesSerializerPosition,
|
|
300
|
+
bytearray,
|
|
301
|
+
float,
|
|
302
|
+
int,
|
|
303
|
+
str,
|
|
304
|
+
]
|
|
305
|
+
]:
|
|
306
|
+
"""Returns the dict representation of the actual instance"""
|
|
307
|
+
if self.actual_instance is None:
|
|
308
|
+
return None
|
|
309
|
+
|
|
310
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
311
|
+
return self.actual_instance.to_dict()
|
|
312
|
+
else:
|
|
313
|
+
return self.actual_instance
|
|
314
|
+
|
|
315
|
+
def to_str(self) -> str:
|
|
316
|
+
"""Returns the string representation of the actual instance"""
|
|
317
|
+
return pprint.pformat(self.model_dump())
|
|
@@ -0,0 +1,322 @@
|
|
|
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: 1.4.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
|
+
from inspect import getfullargspec
|
|
16
|
+
import json
|
|
17
|
+
import pprint
|
|
18
|
+
import re # noqa: F401
|
|
19
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictBytes, StrictFloat, StrictInt, StrictStr, ValidationError, field_validator
|
|
20
|
+
from typing import Optional, Tuple, Union
|
|
21
|
+
from wandelbots_api_client.models.capture import Capture
|
|
22
|
+
from wandelbots_api_client.models.point_cloud import PointCloud
|
|
23
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_orientation import PyjectoryDatatypesSerializerOrientation
|
|
24
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_pose import PyjectoryDatatypesSerializerPose
|
|
25
|
+
from wandelbots_api_client.models.pyjectory_datatypes_serializer_position import PyjectoryDatatypesSerializerPosition
|
|
26
|
+
from typing import Union, Any, List, Set, TYPE_CHECKING, Optional, Dict
|
|
27
|
+
from typing_extensions import Literal, Self
|
|
28
|
+
from pydantic import Field
|
|
29
|
+
|
|
30
|
+
RESPONSEGETVALUESPROGRAMSVALUESGETVALUE_ANY_OF_SCHEMAS = [
|
|
31
|
+
"ArrayOutput",
|
|
32
|
+
"Capture",
|
|
33
|
+
"PointCloud",
|
|
34
|
+
"PyjectoryDatatypesSerializerOrientation",
|
|
35
|
+
"PyjectoryDatatypesSerializerPose",
|
|
36
|
+
"PyjectoryDatatypesSerializerPosition",
|
|
37
|
+
"bytearray",
|
|
38
|
+
"float",
|
|
39
|
+
"int",
|
|
40
|
+
"str",
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
class ResponseGetValuesProgramsValuesGetValue(BaseModel):
|
|
45
|
+
"""
|
|
46
|
+
ResponseGetValuesProgramsValuesGetValue
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
# data type: float
|
|
50
|
+
anyof_schema_1_validator: Optional[Union[StrictFloat, StrictInt]] = None
|
|
51
|
+
# data type: int
|
|
52
|
+
anyof_schema_2_validator: Optional[StrictInt] = None
|
|
53
|
+
# data type: str
|
|
54
|
+
anyof_schema_3_validator: Optional[StrictStr] = None
|
|
55
|
+
# data type: bytearray
|
|
56
|
+
anyof_schema_4_validator: Optional[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]]] = None
|
|
57
|
+
# data type: PyjectoryDatatypesSerializerPose
|
|
58
|
+
anyof_schema_5_validator: Optional[PyjectoryDatatypesSerializerPose] = None
|
|
59
|
+
# data type: PyjectoryDatatypesSerializerPosition
|
|
60
|
+
anyof_schema_6_validator: Optional[PyjectoryDatatypesSerializerPosition] = None
|
|
61
|
+
# data type: PyjectoryDatatypesSerializerOrientation
|
|
62
|
+
anyof_schema_7_validator: Optional[PyjectoryDatatypesSerializerOrientation] = None
|
|
63
|
+
# data type: Capture
|
|
64
|
+
anyof_schema_8_validator: Optional[Capture] = None
|
|
65
|
+
# data type: PointCloud
|
|
66
|
+
anyof_schema_9_validator: Optional[PointCloud] = None
|
|
67
|
+
# data type: ArrayOutput
|
|
68
|
+
anyof_schema_10_validator: Optional[ArrayOutput] = None
|
|
69
|
+
if TYPE_CHECKING:
|
|
70
|
+
actual_instance: Optional[
|
|
71
|
+
Union[
|
|
72
|
+
ArrayOutput,
|
|
73
|
+
Capture,
|
|
74
|
+
PointCloud,
|
|
75
|
+
PyjectoryDatatypesSerializerOrientation,
|
|
76
|
+
PyjectoryDatatypesSerializerPose,
|
|
77
|
+
PyjectoryDatatypesSerializerPosition,
|
|
78
|
+
bytearray,
|
|
79
|
+
float,
|
|
80
|
+
int,
|
|
81
|
+
str,
|
|
82
|
+
]
|
|
83
|
+
] = None
|
|
84
|
+
else:
|
|
85
|
+
actual_instance: Any = None
|
|
86
|
+
any_of_schemas: Set[str] = {
|
|
87
|
+
"ArrayOutput",
|
|
88
|
+
"Capture",
|
|
89
|
+
"PointCloud",
|
|
90
|
+
"PyjectoryDatatypesSerializerOrientation",
|
|
91
|
+
"PyjectoryDatatypesSerializerPose",
|
|
92
|
+
"PyjectoryDatatypesSerializerPosition",
|
|
93
|
+
"bytearray",
|
|
94
|
+
"float",
|
|
95
|
+
"int",
|
|
96
|
+
"str",
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
model_config = {
|
|
100
|
+
"validate_assignment": True,
|
|
101
|
+
"protected_namespaces": (),
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
def __init__(self, *args, **kwargs) -> None:
|
|
105
|
+
if args:
|
|
106
|
+
if len(args) > 1:
|
|
107
|
+
raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`")
|
|
108
|
+
if kwargs:
|
|
109
|
+
raise ValueError("If a position argument is used, keyword arguments cannot be used.")
|
|
110
|
+
super().__init__(actual_instance=args[0])
|
|
111
|
+
else:
|
|
112
|
+
super().__init__(**kwargs)
|
|
113
|
+
|
|
114
|
+
@field_validator("actual_instance")
|
|
115
|
+
def actual_instance_must_validate_anyof(cls, v):
|
|
116
|
+
instance = ResponseGetValuesProgramsValuesGetValue.model_construct()
|
|
117
|
+
error_messages = []
|
|
118
|
+
# validate data type: float
|
|
119
|
+
try:
|
|
120
|
+
instance.anyof_schema_1_validator = v
|
|
121
|
+
return v
|
|
122
|
+
except (ValidationError, ValueError) as e:
|
|
123
|
+
error_messages.append(str(e))
|
|
124
|
+
# validate data type: int
|
|
125
|
+
try:
|
|
126
|
+
instance.anyof_schema_2_validator = v
|
|
127
|
+
return v
|
|
128
|
+
except (ValidationError, ValueError) as e:
|
|
129
|
+
error_messages.append(str(e))
|
|
130
|
+
# validate data type: str
|
|
131
|
+
try:
|
|
132
|
+
instance.anyof_schema_3_validator = v
|
|
133
|
+
return v
|
|
134
|
+
except (ValidationError, ValueError) as e:
|
|
135
|
+
error_messages.append(str(e))
|
|
136
|
+
# validate data type: bytearray
|
|
137
|
+
try:
|
|
138
|
+
instance.anyof_schema_4_validator = v
|
|
139
|
+
return v
|
|
140
|
+
except (ValidationError, ValueError) as e:
|
|
141
|
+
error_messages.append(str(e))
|
|
142
|
+
# validate data type: PyjectoryDatatypesSerializerPose
|
|
143
|
+
if not isinstance(v, PyjectoryDatatypesSerializerPose):
|
|
144
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerPose`")
|
|
145
|
+
else:
|
|
146
|
+
return v
|
|
147
|
+
|
|
148
|
+
# validate data type: PyjectoryDatatypesSerializerPosition
|
|
149
|
+
if not isinstance(v, PyjectoryDatatypesSerializerPosition):
|
|
150
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerPosition`")
|
|
151
|
+
else:
|
|
152
|
+
return v
|
|
153
|
+
|
|
154
|
+
# validate data type: PyjectoryDatatypesSerializerOrientation
|
|
155
|
+
if not isinstance(v, PyjectoryDatatypesSerializerOrientation):
|
|
156
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PyjectoryDatatypesSerializerOrientation`")
|
|
157
|
+
else:
|
|
158
|
+
return v
|
|
159
|
+
|
|
160
|
+
# validate data type: Capture
|
|
161
|
+
if not isinstance(v, Capture):
|
|
162
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `Capture`")
|
|
163
|
+
else:
|
|
164
|
+
return v
|
|
165
|
+
|
|
166
|
+
# validate data type: PointCloud
|
|
167
|
+
if not isinstance(v, PointCloud):
|
|
168
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `PointCloud`")
|
|
169
|
+
else:
|
|
170
|
+
return v
|
|
171
|
+
|
|
172
|
+
# validate data type: ArrayOutput
|
|
173
|
+
if not isinstance(v, ArrayOutput):
|
|
174
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `ArrayOutput`")
|
|
175
|
+
else:
|
|
176
|
+
return v
|
|
177
|
+
|
|
178
|
+
if error_messages:
|
|
179
|
+
# no match
|
|
180
|
+
raise ValueError(
|
|
181
|
+
"No match found when setting the actual_instance in ResponseGetValuesProgramsValuesGetValue with anyOf schemas: ArrayOutput, Capture, PointCloud, PyjectoryDatatypesSerializerOrientation, PyjectoryDatatypesSerializerPose, PyjectoryDatatypesSerializerPosition, bytearray, float, int, str. Details: "
|
|
182
|
+
+ ", ".join(error_messages)
|
|
183
|
+
)
|
|
184
|
+
else:
|
|
185
|
+
return v
|
|
186
|
+
|
|
187
|
+
@classmethod
|
|
188
|
+
def from_dict(cls, obj: Dict[str, Any]) -> Self:
|
|
189
|
+
return cls.from_json(json.dumps(obj))
|
|
190
|
+
|
|
191
|
+
@classmethod
|
|
192
|
+
def from_json(cls, json_str: str) -> Self:
|
|
193
|
+
"""Returns the object represented by the json string"""
|
|
194
|
+
instance = cls.model_construct()
|
|
195
|
+
error_messages = []
|
|
196
|
+
# deserialize data into float
|
|
197
|
+
try:
|
|
198
|
+
# validation
|
|
199
|
+
instance.anyof_schema_1_validator = json.loads(json_str)
|
|
200
|
+
# assign value to actual_instance
|
|
201
|
+
instance.actual_instance = instance.anyof_schema_1_validator
|
|
202
|
+
return instance
|
|
203
|
+
except (ValidationError, ValueError) as e:
|
|
204
|
+
error_messages.append(str(e))
|
|
205
|
+
# deserialize data into int
|
|
206
|
+
try:
|
|
207
|
+
# validation
|
|
208
|
+
instance.anyof_schema_2_validator = json.loads(json_str)
|
|
209
|
+
# assign value to actual_instance
|
|
210
|
+
instance.actual_instance = instance.anyof_schema_2_validator
|
|
211
|
+
return instance
|
|
212
|
+
except (ValidationError, ValueError) as e:
|
|
213
|
+
error_messages.append(str(e))
|
|
214
|
+
# deserialize data into str
|
|
215
|
+
try:
|
|
216
|
+
# validation
|
|
217
|
+
instance.anyof_schema_3_validator = json.loads(json_str)
|
|
218
|
+
# assign value to actual_instance
|
|
219
|
+
instance.actual_instance = instance.anyof_schema_3_validator
|
|
220
|
+
return instance
|
|
221
|
+
except (ValidationError, ValueError) as e:
|
|
222
|
+
error_messages.append(str(e))
|
|
223
|
+
# deserialize data into bytearray
|
|
224
|
+
try:
|
|
225
|
+
# validation
|
|
226
|
+
instance.anyof_schema_4_validator = json.loads(json_str)
|
|
227
|
+
# assign value to actual_instance
|
|
228
|
+
instance.actual_instance = instance.anyof_schema_4_validator
|
|
229
|
+
return instance
|
|
230
|
+
except (ValidationError, ValueError) as e:
|
|
231
|
+
error_messages.append(str(e))
|
|
232
|
+
# anyof_schema_5_validator: Optional[PyjectoryDatatypesSerializerPose] = None
|
|
233
|
+
try:
|
|
234
|
+
instance.actual_instance = PyjectoryDatatypesSerializerPose.from_json(json_str)
|
|
235
|
+
return instance
|
|
236
|
+
except (ValidationError, ValueError) as e:
|
|
237
|
+
error_messages.append(str(e))
|
|
238
|
+
# anyof_schema_6_validator: Optional[PyjectoryDatatypesSerializerPosition] = None
|
|
239
|
+
try:
|
|
240
|
+
instance.actual_instance = PyjectoryDatatypesSerializerPosition.from_json(json_str)
|
|
241
|
+
return instance
|
|
242
|
+
except (ValidationError, ValueError) as e:
|
|
243
|
+
error_messages.append(str(e))
|
|
244
|
+
# anyof_schema_7_validator: Optional[PyjectoryDatatypesSerializerOrientation] = None
|
|
245
|
+
try:
|
|
246
|
+
instance.actual_instance = PyjectoryDatatypesSerializerOrientation.from_json(json_str)
|
|
247
|
+
return instance
|
|
248
|
+
except (ValidationError, ValueError) as e:
|
|
249
|
+
error_messages.append(str(e))
|
|
250
|
+
# anyof_schema_8_validator: Optional[Capture] = None
|
|
251
|
+
try:
|
|
252
|
+
instance.actual_instance = Capture.from_json(json_str)
|
|
253
|
+
return instance
|
|
254
|
+
except (ValidationError, ValueError) as e:
|
|
255
|
+
error_messages.append(str(e))
|
|
256
|
+
# anyof_schema_9_validator: Optional[PointCloud] = None
|
|
257
|
+
try:
|
|
258
|
+
instance.actual_instance = PointCloud.from_json(json_str)
|
|
259
|
+
return instance
|
|
260
|
+
except (ValidationError, ValueError) as e:
|
|
261
|
+
error_messages.append(str(e))
|
|
262
|
+
# anyof_schema_10_validator: Optional[ArrayOutput] = None
|
|
263
|
+
try:
|
|
264
|
+
instance.actual_instance = ArrayOutput.from_json(json_str)
|
|
265
|
+
return instance
|
|
266
|
+
except (ValidationError, ValueError) as e:
|
|
267
|
+
error_messages.append(str(e))
|
|
268
|
+
|
|
269
|
+
if error_messages:
|
|
270
|
+
# no match
|
|
271
|
+
raise ValueError(
|
|
272
|
+
"No match found when deserializing the JSON string into ResponseGetValuesProgramsValuesGetValue with anyOf schemas: ArrayOutput, Capture, PointCloud, PyjectoryDatatypesSerializerOrientation, PyjectoryDatatypesSerializerPose, PyjectoryDatatypesSerializerPosition, bytearray, float, int, str. Details: "
|
|
273
|
+
+ ", ".join(error_messages)
|
|
274
|
+
)
|
|
275
|
+
else:
|
|
276
|
+
return instance
|
|
277
|
+
|
|
278
|
+
def to_json(self) -> str:
|
|
279
|
+
"""Returns the JSON representation of the actual instance"""
|
|
280
|
+
if self.actual_instance is None:
|
|
281
|
+
return "null"
|
|
282
|
+
|
|
283
|
+
if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json):
|
|
284
|
+
return self.actual_instance.to_json()
|
|
285
|
+
else:
|
|
286
|
+
return json.dumps(self.actual_instance)
|
|
287
|
+
|
|
288
|
+
def to_dict(
|
|
289
|
+
self,
|
|
290
|
+
) -> Optional[
|
|
291
|
+
Union[
|
|
292
|
+
Dict[str, Any],
|
|
293
|
+
ArrayOutput,
|
|
294
|
+
Capture,
|
|
295
|
+
PointCloud,
|
|
296
|
+
PyjectoryDatatypesSerializerOrientation,
|
|
297
|
+
PyjectoryDatatypesSerializerPose,
|
|
298
|
+
PyjectoryDatatypesSerializerPosition,
|
|
299
|
+
bytearray,
|
|
300
|
+
float,
|
|
301
|
+
int,
|
|
302
|
+
str,
|
|
303
|
+
]
|
|
304
|
+
]:
|
|
305
|
+
"""Returns the dict representation of the actual instance"""
|
|
306
|
+
if self.actual_instance is None:
|
|
307
|
+
return None
|
|
308
|
+
|
|
309
|
+
if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict):
|
|
310
|
+
return self.actual_instance.to_dict()
|
|
311
|
+
else:
|
|
312
|
+
return self.actual_instance
|
|
313
|
+
|
|
314
|
+
def to_str(self) -> str:
|
|
315
|
+
"""Returns the string representation of the actual instance"""
|
|
316
|
+
return pprint.pformat(self.model_dump())
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
from wandelbots_api_client.models.array_output import ArrayOutput
|
|
320
|
+
|
|
321
|
+
# TODO: Rewrite to not use raise_errors
|
|
322
|
+
ResponseGetValuesProgramsValuesGetValue.model_rebuild(raise_errors=False)
|