wandelbots-api-client 25.9.0.dev19__py3-none-any.whl → 25.11.0.dev16__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wandelbots_api_client/__init__.py +2 -3
- wandelbots_api_client/api/__init__.py +2 -0
- wandelbots_api_client/api/application_api.py +1 -2
- wandelbots_api_client/api/cell_api.py +1 -2
- wandelbots_api_client/api/controller_api.py +10 -5
- wandelbots_api_client/api/controller_ios_api.py +3 -2
- wandelbots_api_client/api/coordinate_systems_api.py +1 -2
- wandelbots_api_client/api/device_configuration_api.py +1 -2
- wandelbots_api_client/api/library_program_api.py +1 -2
- wandelbots_api_client/api/library_program_metadata_api.py +1 -2
- wandelbots_api_client/api/library_recipe_api.py +1 -2
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
- wandelbots_api_client/api/license_api.py +1 -2
- wandelbots_api_client/api/motion_api.py +17 -6
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +3 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +11 -6
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
- wandelbots_api_client/api/program_api.py +1 -2
- wandelbots_api_client/api/program_operator_api.py +1 -2
- wandelbots_api_client/api/program_values_api.py +1 -2
- wandelbots_api_client/api/store_collision_components_api.py +10 -8
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
- wandelbots_api_client/api/store_object_api.py +1 -2
- wandelbots_api_client/api/system_api.py +1 -2
- wandelbots_api_client/api/version_api.py +284 -0
- wandelbots_api_client/api/virtual_robot_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_behavior_api.py +6 -4
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +1 -2
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/configuration.py +18 -7
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -4
- wandelbots_api_client/models/abb_controller.py +5 -5
- wandelbots_api_client/models/abb_controller_egm_server.py +3 -3
- wandelbots_api_client/models/activate_license_request.py +2 -2
- wandelbots_api_client/models/add_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_response.py +2 -2
- wandelbots_api_client/models/api_version.py +91 -0
- wandelbots_api_client/models/app.py +8 -8
- wandelbots_api_client/models/array_input.py +2 -2
- wandelbots_api_client/models/array_output.py +2 -2
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +3 -3
- wandelbots_api_client/models/blending_position.py +3 -3
- wandelbots_api_client/models/box.py +5 -5
- wandelbots_api_client/models/box2.py +6 -6
- wandelbots_api_client/models/box3.py +6 -6
- wandelbots_api_client/models/capsule.py +3 -3
- wandelbots_api_client/models/capsule2.py +4 -4
- wandelbots_api_client/models/capsule3.py +4 -4
- wandelbots_api_client/models/capture.py +2 -2
- wandelbots_api_client/models/cell.py +4 -4
- wandelbots_api_client/models/circle.py +3 -3
- wandelbots_api_client/models/code_with_arguments.py +7 -6
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +4 -4
- wandelbots_api_client/models/collider_input.py +4 -4
- wandelbots_api_client/models/collider_output.py +4 -4
- wandelbots_api_client/models/collider_output_shape.py +1 -1
- wandelbots_api_client/models/collider_shape.py +1 -41
- wandelbots_api_client/models/collision.py +7 -7
- wandelbots_api_client/models/collision_contact.py +3 -3
- wandelbots_api_client/models/collision_motion_group.py +7 -6
- wandelbots_api_client/models/collision_motion_group_assembly.py +9 -8
- wandelbots_api_client/models/collision_robot_configuration_input.py +12 -10
- wandelbots_api_client/models/collision_robot_configuration_output.py +12 -10
- wandelbots_api_client/models/collision_scene.py +11 -9
- wandelbots_api_client/models/collision_scene_assembly.py +14 -12
- wandelbots_api_client/models/command.py +7 -7
- wandelbots_api_client/models/command_settings.py +4 -4
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +2 -2
- wandelbots_api_client/models/container_environment_inner.py +3 -3
- wandelbots_api_client/models/container_image.py +4 -4
- wandelbots_api_client/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/models/container_resources.py +2 -2
- wandelbots_api_client/models/container_storage.py +3 -3
- wandelbots_api_client/models/controller_capabilities.py +3 -3
- wandelbots_api_client/models/controller_instance.py +9 -9
- wandelbots_api_client/models/controller_instance_list.py +2 -2
- wandelbots_api_client/models/convex_hull.py +2 -2
- wandelbots_api_client/models/convex_hull2.py +3 -3
- wandelbots_api_client/models/convex_hull3.py +3 -3
- wandelbots_api_client/models/coordinate_system.py +6 -6
- wandelbots_api_client/models/coordinate_systems.py +2 -2
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +2 -2
- wandelbots_api_client/models/create_program_run_request.py +2 -2
- wandelbots_api_client/models/create_trigger200_response.py +2 -2
- wandelbots_api_client/models/create_trigger_request.py +7 -7
- wandelbots_api_client/models/cubic_spline.py +2 -2
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cycle_time.py +2 -2
- wandelbots_api_client/models/cylinder.py +3 -3
- wandelbots_api_client/models/cylinder2.py +4 -4
- wandelbots_api_client/models/cylinder3.py +4 -4
- wandelbots_api_client/models/dh_parameter.py +6 -6
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +10 -10
- wandelbots_api_client/models/error.py +3 -3
- wandelbots_api_client/models/execute_trajectory_request.py +1 -1
- wandelbots_api_client/models/execute_trajectory_response.py +1 -1
- wandelbots_api_client/models/execution_result.py +4 -4
- wandelbots_api_client/models/external_joint_stream_datapoint.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +5 -5
- wandelbots_api_client/models/fanuc_controller.py +3 -3
- wandelbots_api_client/models/feedback_collision.py +5 -5
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +4 -4
- wandelbots_api_client/models/feedback_out_of_workspace.py +3 -3
- wandelbots_api_client/models/feedback_singularity.py +4 -4
- wandelbots_api_client/models/flag.py +2 -2
- wandelbots_api_client/models/force_vector.py +4 -4
- wandelbots_api_client/models/geometry.py +12 -12
- wandelbots_api_client/models/get_all_program_runs200_response.py +2 -2
- wandelbots_api_client/models/get_all_triggers200_response.py +2 -2
- wandelbots_api_client/models/get_mode_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_sample_response.py +2 -2
- wandelbots_api_client/models/google_protobuf_any.py +2 -2
- wandelbots_api_client/models/http_exception_response.py +2 -2
- wandelbots_api_client/models/http_validation_error.py +2 -2
- wandelbots_api_client/models/http_validation_error2.py +2 -2
- wandelbots_api_client/models/image_credentials.py +4 -4
- wandelbots_api_client/models/info_service_capabilities.py +8 -8
- wandelbots_api_client/models/initialize_movement_request.py +6 -6
- wandelbots_api_client/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/models/initialize_movement_response_init_response.py +3 -3
- wandelbots_api_client/models/io.py +6 -6
- wandelbots_api_client/models/io_description.py +10 -10
- wandelbots_api_client/models/io_value.py +5 -5
- wandelbots_api_client/models/ios.py +2 -2
- wandelbots_api_client/models/jogging_response.py +4 -4
- wandelbots_api_client/models/jogging_service_capabilities.py +3 -3
- wandelbots_api_client/models/joint_jogging_request.py +6 -6
- wandelbots_api_client/models/joint_limit.py +5 -5
- wandelbots_api_client/models/joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/joint_position_request.py +4 -4
- wandelbots_api_client/models/joint_trajectory.py +4 -4
- wandelbots_api_client/models/joints.py +2 -2
- wandelbots_api_client/models/kinematic_service_capabilities.py +4 -4
- wandelbots_api_client/models/kuka_controller.py +6 -6
- wandelbots_api_client/models/kuka_controller_rsi_server.py +3 -3
- wandelbots_api_client/models/license.py +11 -11
- wandelbots_api_client/models/license_status.py +3 -3
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +13 -13
- wandelbots_api_client/models/limits_override.py +7 -7
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +2 -2
- wandelbots_api_client/models/list_io_values_response.py +2 -2
- wandelbots_api_client/models/list_payloads_response.py +2 -2
- wandelbots_api_client/models/list_program_metadata_response.py +2 -2
- wandelbots_api_client/models/list_recipe_metadata_response.py +2 -2
- wandelbots_api_client/models/list_response.py +2 -2
- wandelbots_api_client/models/list_tcps_response.py +2 -2
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +5 -5
- wandelbots_api_client/models/motion_command.py +4 -4
- wandelbots_api_client/models/motion_command_blending.py +1 -1
- wandelbots_api_client/models/motion_command_path.py +1 -1
- wandelbots_api_client/models/motion_group_behavior_getter.py +2 -2
- wandelbots_api_client/models/motion_group_info.py +4 -4
- wandelbots_api_client/models/motion_group_infos.py +2 -2
- wandelbots_api_client/models/motion_group_instance.py +6 -6
- wandelbots_api_client/models/motion_group_instance_list.py +2 -2
- wandelbots_api_client/models/motion_group_joints.py +5 -5
- wandelbots_api_client/models/motion_group_physical.py +6 -6
- wandelbots_api_client/models/motion_group_specification.py +3 -3
- wandelbots_api_client/models/motion_group_state.py +13 -13
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/models/motion_group_state_response.py +3 -3
- wandelbots_api_client/models/motion_id.py +2 -2
- wandelbots_api_client/models/motion_ids_list_response.py +2 -2
- wandelbots_api_client/models/motion_vector.py +4 -4
- wandelbots_api_client/models/mounting.py +3 -3
- wandelbots_api_client/models/move_request.py +9 -9
- wandelbots_api_client/models/move_response.py +3 -3
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +5 -5
- wandelbots_api_client/models/movement.py +2 -2
- wandelbots_api_client/models/movement_error.py +2 -2
- wandelbots_api_client/models/movement_error_error.py +2 -2
- wandelbots_api_client/models/movement_movement.py +4 -4
- wandelbots_api_client/models/op_mode.py +2 -2
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +4 -4
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +8 -8
- wandelbots_api_client/models/out_of_workspace.py +2 -2
- wandelbots_api_client/models/path.py +2 -2
- wandelbots_api_client/models/path_cartesian_ptp.py +3 -3
- wandelbots_api_client/models/path_circle.py +4 -4
- wandelbots_api_client/models/path_cubic_spline.py +3 -3
- wandelbots_api_client/models/path_joint_ptp.py +3 -3
- wandelbots_api_client/models/path_line.py +3 -3
- wandelbots_api_client/models/pause_movement_request.py +3 -3
- wandelbots_api_client/models/pause_movement_response.py +2 -2
- wandelbots_api_client/models/pause_movement_response_pause_response.py +3 -3
- wandelbots_api_client/models/pause_on_io.py +3 -3
- wandelbots_api_client/models/payload.py +5 -5
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +10 -9
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +10 -10
- wandelbots_api_client/models/plan_failed_response.py +8 -8
- wandelbots_api_client/models/plan_request.py +6 -6
- wandelbots_api_client/models/plan_response.py +4 -4
- wandelbots_api_client/models/plan_successful_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_failed_response.py +4 -4
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +10 -9
- wandelbots_api_client/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +2 -2
- wandelbots_api_client/models/plane3.py +2 -2
- wandelbots_api_client/models/planned_motion.py +6 -6
- wandelbots_api_client/models/planner_pose.py +3 -3
- wandelbots_api_client/models/planning_limits.py +13 -13
- wandelbots_api_client/models/planning_limits_limit_range.py +3 -3
- wandelbots_api_client/models/playback_speed_request.py +3 -3
- wandelbots_api_client/models/playback_speed_response.py +2 -2
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +2 -2
- wandelbots_api_client/models/point_cloud.py +2 -2
- wandelbots_api_client/models/pose.py +4 -4
- wandelbots_api_client/models/pose2.py +3 -3
- wandelbots_api_client/models/program_metadata.py +7 -7
- wandelbots_api_client/models/program_run.py +15 -14
- wandelbots_api_client/models/program_run_object.py +7 -7
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +2 -2
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +8 -8
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +3 -3
- wandelbots_api_client/models/quaternion.py +5 -5
- wandelbots_api_client/models/recipe_metadata.py +8 -8
- wandelbots_api_client/models/rectangle.py +3 -3
- wandelbots_api_client/models/rectangle2.py +4 -4
- wandelbots_api_client/models/rectangle3.py +4 -4
- wandelbots_api_client/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/models/rectangular_capsule2.py +5 -5
- wandelbots_api_client/models/rectangular_capsule3.py +5 -5
- wandelbots_api_client/models/release_channel.py +1 -1
- wandelbots_api_client/models/request.py +1 -1
- wandelbots_api_client/models/request1.py +1 -1
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
- wandelbots_api_client/models/robot_controller.py +3 -3
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +8 -8
- wandelbots_api_client/models/robot_link_geometry.py +3 -3
- wandelbots_api_client/models/robot_state.py +3 -3
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +5 -5
- wandelbots_api_client/models/robot_tcps.py +2 -2
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +3 -3
- wandelbots_api_client/models/safety_configuration.py +6 -6
- wandelbots_api_client/models/safety_setup.py +5 -5
- wandelbots_api_client/models/safety_setup_safety_settings.py +3 -3
- wandelbots_api_client/models/safety_setup_safety_zone.py +5 -5
- wandelbots_api_client/models/safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone_limits.py +3 -3
- wandelbots_api_client/models/safety_zone_violation.py +2 -2
- wandelbots_api_client/models/service_status.py +3 -3
- wandelbots_api_client/models/service_status_phase.py +1 -1
- wandelbots_api_client/models/service_status_severity.py +1 -1
- wandelbots_api_client/models/service_status_status.py +4 -4
- wandelbots_api_client/models/set_io.py +3 -3
- wandelbots_api_client/models/set_playback_speed.py +3 -3
- wandelbots_api_client/models/single_joint_limit.py +3 -3
- wandelbots_api_client/models/singularity.py +3 -3
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +2 -2
- wandelbots_api_client/models/sphere2.py +3 -3
- wandelbots_api_client/models/sphere3.py +3 -3
- wandelbots_api_client/models/standstill.py +2 -2
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +4 -4
- wandelbots_api_client/models/start_movement_request.py +6 -6
- wandelbots_api_client/models/start_on_io.py +3 -3
- wandelbots_api_client/models/status.py +4 -4
- wandelbots_api_client/models/stop_response.py +4 -4
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +2 -2
- wandelbots_api_client/models/stream_move_forward.py +2 -2
- wandelbots_api_client/models/stream_move_playback_speed.py +2 -2
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +4 -4
- wandelbots_api_client/models/stream_move_to_trajectory.py +2 -2
- wandelbots_api_client/models/stream_stop.py +2 -2
- wandelbots_api_client/models/tcp_pose.py +5 -5
- wandelbots_api_client/models/tcp_pose_request.py +5 -5
- wandelbots_api_client/models/tool_geometry.py +3 -3
- wandelbots_api_client/models/trajectory_sample.py +12 -12
- wandelbots_api_client/models/trigger_object.py +11 -11
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +3 -3
- wandelbots_api_client/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/models/update_program_metadata_request.py +4 -4
- wandelbots_api_client/models/update_recipe_metadata_request.py +4 -4
- wandelbots_api_client/models/update_trigger_request.py +6 -6
- wandelbots_api_client/models/validation_error.py +4 -4
- wandelbots_api_client/models/validation_error2.py +4 -4
- wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
- wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
- wandelbots_api_client/models/value.py +1 -1
- wandelbots_api_client/models/vector3d.py +4 -4
- wandelbots_api_client/models/version_number.py +9 -9
- wandelbots_api_client/models/virtual_controller.py +6 -6
- wandelbots_api_client/models/virtual_controller_types.py +11 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +3 -3
- wandelbots_api_client/models/yaskawa_controller.py +3 -3
- wandelbots_api_client/rest.py +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +2 -3
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +918 -70
- wandelbots_api_client/v2/api/cell_api.py +2 -3
- wandelbots_api_client/v2/api/controller_api.py +12 -9
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +4 -3
- wandelbots_api_client/v2/api/jogging_api.py +7 -5
- wandelbots_api_client/v2/api/kinematics_api.py +14 -16
- wandelbots_api_client/v2/api/license_api.py +2 -3
- wandelbots_api_client/v2/api/motion_group_api.py +6 -5
- wandelbots_api_client/v2/api/motion_group_models_api.py +7 -44
- wandelbots_api_client/v2/api/program_api.py +14 -15
- wandelbots_api_client/v2/api/store_collision_components_api.py +814 -41
- wandelbots_api_client/v2/api/store_collision_setups_api.py +261 -4
- wandelbots_api_client/v2/api/store_object_api.py +2 -3
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +2 -3
- wandelbots_api_client/v2/api/trajectory_execution_api.py +7 -5
- wandelbots_api_client/v2/api/trajectory_planning_api.py +14 -16
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +17 -3
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +13 -5
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +2 -3
- wandelbots_api_client/v2/api_client.py +15 -8
- wandelbots_api_client/v2/configuration.py +19 -8
- wandelbots_api_client/v2/exceptions.py +2 -2
- wandelbots_api_client/v2/models/__init__.py +48 -29
- wandelbots_api_client/v2/models/abb_controller.py +8 -11
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +4 -4
- wandelbots_api_client/v2/models/activate_license_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +58 -58
- wandelbots_api_client/v2/models/add_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_response.py +4 -4
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +11 -11
- wandelbots_api_client/v2/models/behavior.py +2 -2
- wandelbots_api_client/v2/models/blending_auto.py +6 -5
- wandelbots_api_client/v2/models/blending_position.py +4 -4
- wandelbots_api_client/v2/models/boolean_value.py +6 -9
- wandelbots_api_client/v2/models/box.py +7 -7
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +16 -16
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +8 -11
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +4 -4
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +5 -8
- wandelbots_api_client/v2/models/bus_io_type.py +65 -18
- wandelbots_api_client/v2/models/bus_ios_state.py +4 -4
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +5 -5
- wandelbots_api_client/v2/models/cartesian_limits.py +6 -6
- wandelbots_api_client/v2/models/cell.py +6 -6
- wandelbots_api_client/v2/models/collider.py +5 -5
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +8 -8
- wandelbots_api_client/v2/models/collision_contact.py +4 -4
- wandelbots_api_client/v2/models/collision_error.py +3 -3
- wandelbots_api_client/v2/models/collision_free_algorithm.py +3 -3
- wandelbots_api_client/v2/models/collision_setup.py +14 -12
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +3 -3
- wandelbots_api_client/v2/models/configuration_resource.py +5 -5
- wandelbots_api_client/v2/models/container_environment_inner.py +4 -4
- wandelbots_api_client/v2/models/container_image.py +5 -5
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +3 -3
- wandelbots_api_client/v2/models/container_resources.py +4 -4
- wandelbots_api_client/v2/models/container_storage.py +4 -4
- wandelbots_api_client/v2/models/controller_description.py +6 -6
- wandelbots_api_client/v2/models/convex_hull.py +4 -4
- wandelbots_api_client/v2/models/coordinate_system.py +8 -8
- wandelbots_api_client/v2/models/coordinate_system_data.py +7 -7
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +4 -4
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +5 -5
- wandelbots_api_client/v2/models/dh_parameter.py +7 -7
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +4 -4
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +5 -5
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +6 -5
- wandelbots_api_client/v2/models/error_joint_position_collision.py +5 -5
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +4 -4
- wandelbots_api_client/v2/models/execute.py +4 -4
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +30 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +7 -7
- wandelbots_api_client/v2/models/execute_trajectory_request.py +30 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +7 -7
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +4 -4
- wandelbots_api_client/v2/models/external_joint_stream_request.py +3 -3
- wandelbots_api_client/v2/models/fanuc_controller.py +6 -9
- wandelbots_api_client/v2/models/feedback_collision.py +6 -6
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +7 -6
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +4 -4
- wandelbots_api_client/v2/models/feedback_singularity.py +5 -5
- wandelbots_api_client/v2/models/flag.py +3 -3
- wandelbots_api_client/v2/models/float_value.py +6 -9
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/forward_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/get_trajectory_response.py +5 -5
- wandelbots_api_client/v2/models/http_validation_error.py +3 -3
- wandelbots_api_client/v2/models/image_credentials.py +5 -5
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +9 -9
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +9 -9
- wandelbots_api_client/v2/models/initialize_jogging_request.py +7 -10
- wandelbots_api_client/v2/models/initialize_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/initialize_movement_request.py +7 -10
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +5 -5
- wandelbots_api_client/v2/models/integer_value.py +6 -9
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +9 -9
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +8 -8
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +12 -11
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +7 -10
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +10 -25
- wandelbots_api_client/v2/models/io_description.py +13 -13
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +7 -10
- wandelbots_api_client/v2/models/io_integer_value.py +7 -10
- wandelbots_api_client/v2/models/io_origin.py +2 -2
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +4 -4
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +4 -4
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +6 -5
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/jogging_running.py +3 -3
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/joint_limits.py +6 -6
- wandelbots_api_client/v2/models/joint_trajectory.py +5 -5
- wandelbots_api_client/v2/models/joint_velocity_request.py +6 -9
- wandelbots_api_client/v2/models/joint_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/kuka_controller.py +8 -11
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +4 -4
- wandelbots_api_client/v2/models/license.py +12 -12
- wandelbots_api_client/v2/models/license_status.py +4 -4
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +4 -4
- wandelbots_api_client/v2/models/limit_set.py +7 -7
- wandelbots_api_client/v2/models/limits_override.py +8 -8
- wandelbots_api_client/v2/models/list_trajectories_response.py +3 -3
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +4 -4
- wandelbots_api_client/v2/models/modbus_io.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
- wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +23 -28
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +5 -5
- wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
- wandelbots_api_client/v2/models/motion_command_path.py +2 -2
- wandelbots_api_client/v2/models/motion_group_description.py +30 -25
- wandelbots_api_client/v2/models/motion_group_info.py +7 -6
- wandelbots_api_client/v2/models/motion_group_joints.py +6 -6
- wandelbots_api_client/v2/models/motion_group_setup.py +15 -13
- wandelbots_api_client/v2/models/motion_group_state.py +18 -17
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +3 -3
- wandelbots_api_client/v2/models/movement_error_response.py +4 -4
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +9 -9
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +6 -6
- wandelbots_api_client/v2/models/op_mode.py +3 -3
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +6 -6
- wandelbots_api_client/v2/models/operation_mode.py +2 -2
- wandelbots_api_client/v2/models/orientation_type.py +2 -2
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_circle.py +5 -5
- wandelbots_api_client/v2/models/path_cubic_spline.py +4 -4
- wandelbots_api_client/v2/models/path_joint_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_line.py +4 -4
- wandelbots_api_client/v2/models/pause_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/pause_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/pause_movement_request.py +5 -8
- wandelbots_api_client/v2/models/pause_movement_response.py +4 -4
- wandelbots_api_client/v2/models/pause_on_io.py +5 -5
- wandelbots_api_client/v2/models/payload.py +6 -6
- wandelbots_api_client/v2/models/plan422_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_request.py +6 -6
- wandelbots_api_client/v2/models/plan_collision_free_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +7 -7
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +3 -3
- wandelbots_api_client/v2/models/playback_speed_request.py +8 -10
- wandelbots_api_client/v2/models/playback_speed_response.py +4 -4
- wandelbots_api_client/v2/models/pose.py +4 -4
- wandelbots_api_client/v2/models/profinet_description.py +7 -7
- wandelbots_api_client/v2/models/profinet_input_output_config.py +5 -5
- wandelbots_api_client/v2/models/profinet_io.py +8 -8
- wandelbots_api_client/v2/models/profinet_io_data.py +7 -7
- wandelbots_api_client/v2/models/profinet_io_direction.py +2 -2
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +5 -5
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +8 -8
- wandelbots_api_client/v2/models/program_run.py +16 -14
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +3 -3
- wandelbots_api_client/v2/models/rectangle.py +5 -5
- wandelbots_api_client/v2/models/rectangular_capsule.py +6 -6
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +4 -4
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +13 -12
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +7 -7
- wandelbots_api_client/v2/models/robot_tcp_data.py +6 -6
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +8 -8
- wandelbots_api_client/v2/models/safety_state_type.py +2 -2
- wandelbots_api_client/v2/models/service_group.py +2 -2
- wandelbots_api_client/v2/models/service_status.py +5 -5
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +4 -4
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +5 -5
- wandelbots_api_client/v2/models/set_io.py +5 -5
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
- wandelbots_api_client/v2/models/sphere.py +4 -4
- wandelbots_api_client/v2/models/start_movement_request.py +9 -12
- wandelbots_api_client/v2/models/start_movement_response.py +4 -4
- wandelbots_api_client/v2/models/start_on_io.py +5 -5
- wandelbots_api_client/v2/models/stream_io_values_response.py +7 -6
- wandelbots_api_client/v2/models/tcp_offset.py +4 -4
- wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +6 -6
- wandelbots_api_client/v2/models/tcp_velocity_request.py +7 -10
- wandelbots_api_client/v2/models/tcp_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +9 -9
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +8 -8
- wandelbots_api_client/v2/models/trajectory_data.py +7 -7
- wandelbots_api_client/v2/models/trajectory_details.py +6 -6
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +3 -3
- wandelbots_api_client/v2/models/trajectory_id.py +5 -5
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/trajectory_running.py +6 -5
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +3 -3
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +6 -9
- wandelbots_api_client/v2/models/update_nova_version_request.py +3 -3
- wandelbots_api_client/v2/models/validation_error.py +6 -6
- wandelbots_api_client/v2/models/validation_error2.py +5 -5
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +8 -11
- wandelbots_api_client/v2/models/virtual_controller_types.py +12 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +4 -4
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +4 -4
- wandelbots_api_client/v2/models/yaskawa_controller.py +6 -9
- wandelbots_api_client/v2/rest.py +4 -3
- wandelbots_api_client/v2_pydantic/__init__.py +50 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
- wandelbots_api_client/v2_pydantic/api_client.py +809 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +606 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4561 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +213 -0
- {wandelbots_api_client-25.9.0.dev19.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/METADATA +17 -16
- wandelbots_api_client-25.11.0.dev16.dist-info/RECORD +640 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client-25.9.0.dev19.dist-info/RECORD +0 -597
- {wandelbots_api_client-25.9.0.dev19.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.9.0.dev19.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.9.0.dev19.dist-info → wandelbots_api_client-25.11.0.dev16.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class BusIOModbusTCPClient(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
BusIOModbusTCPClient
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
network_type: str = "tcp"
|
|
31
|
+
ip: StrictStr = Field(description="IP address of the MODBUS server to establish communication with. ")
|
|
32
|
+
port: Annotated[int, Field(le=65534, strict=True, ge=1)] = Field(description="Port number of the MODBUS server to establish communication with. ")
|
|
33
|
+
__properties: ClassVar[List[str]] = ["network_type", "ip", "port"]
|
|
34
|
+
|
|
35
|
+
@field_validator('network_type')
|
|
36
|
+
def network_type_validate_enum(cls, value):
|
|
37
|
+
"""Validates the enum"""
|
|
38
|
+
if value is None:
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
if value not in set(['tcp']):
|
|
42
|
+
raise ValueError("must be one of enum values ('tcp')")
|
|
43
|
+
return value
|
|
44
|
+
|
|
45
|
+
model_config = ConfigDict(
|
|
46
|
+
populate_by_name=True,
|
|
47
|
+
validate_assignment=True,
|
|
48
|
+
protected_namespaces=(),
|
|
49
|
+
)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
def to_str(self) -> str:
|
|
53
|
+
"""Returns the string representation of the model using alias"""
|
|
54
|
+
return pprint.pformat(self.model_dump(by_alias=True, exclude_none=True))
|
|
55
|
+
|
|
56
|
+
def to_json(self) -> str:
|
|
57
|
+
"""
|
|
58
|
+
Returns the JSON representation of the model using alias
|
|
59
|
+
|
|
60
|
+
Do not use pydantic v2 .model_dump_json(by_alias=True, exclude_unset=True) here!
|
|
61
|
+
It is unable to resolve nested types generated by openapi-generator.
|
|
62
|
+
"""
|
|
63
|
+
return json.dumps(self.to_dict())
|
|
64
|
+
|
|
65
|
+
@classmethod
|
|
66
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
67
|
+
"""Create an instance of BusIOModbusTCPClient from a JSON string"""
|
|
68
|
+
return cls.from_dict(json.loads(json_str))
|
|
69
|
+
|
|
70
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
71
|
+
"""Return the dictionary representation of the model using alias.
|
|
72
|
+
|
|
73
|
+
This has the following differences from calling pydantic's
|
|
74
|
+
`self.model_dump(by_alias=True)`:
|
|
75
|
+
|
|
76
|
+
* `None` is only added to the output dict for nullable fields that
|
|
77
|
+
were set at model initialization. Other fields with value `None`
|
|
78
|
+
are ignored.
|
|
79
|
+
"""
|
|
80
|
+
excluded_fields: Set[str] = set([
|
|
81
|
+
])
|
|
82
|
+
|
|
83
|
+
_dict = self.model_dump(
|
|
84
|
+
by_alias=True,
|
|
85
|
+
exclude=excluded_fields,
|
|
86
|
+
exclude_none=True,
|
|
87
|
+
)
|
|
88
|
+
return _dict
|
|
89
|
+
|
|
90
|
+
@classmethod
|
|
91
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
92
|
+
"""Create an instance of BusIOModbusTCPClient from a dict"""
|
|
93
|
+
if obj is None:
|
|
94
|
+
return None
|
|
95
|
+
|
|
96
|
+
if not isinstance(obj, dict):
|
|
97
|
+
return cls.model_validate(obj)
|
|
98
|
+
|
|
99
|
+
_obj = cls.model_validate({
|
|
100
|
+
"network_type": obj.get("network_type"),
|
|
101
|
+
"ip": obj.get("ip"),
|
|
102
|
+
"port": obj.get("port")
|
|
103
|
+
})
|
|
104
|
+
return _obj
|
|
105
|
+
|
|
106
|
+
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from typing import Optional, Set
|
|
24
|
+
from typing_extensions import Self
|
|
25
|
+
|
|
26
|
+
class BusIOModbusTCPServer(BaseModel):
|
|
27
|
+
"""
|
|
28
|
+
BusIOModbusTCPServer
|
|
29
|
+
""" # noqa: E501
|
|
30
|
+
network_type: str = "tcp"
|
|
31
|
+
port: Annotated[int, Field(le=65534, strict=True, ge=1)] = Field(description="Port number of the MODBUS server to establish communication with. ")
|
|
32
|
+
__properties: ClassVar[List[str]] = ["network_type", "port"]
|
|
33
|
+
|
|
34
|
+
@field_validator('network_type')
|
|
35
|
+
def network_type_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value is None:
|
|
38
|
+
return value
|
|
39
|
+
|
|
40
|
+
if value not in set(['tcp']):
|
|
41
|
+
raise ValueError("must be one of enum values ('tcp')")
|
|
42
|
+
return value
|
|
43
|
+
|
|
44
|
+
model_config = ConfigDict(
|
|
45
|
+
populate_by_name=True,
|
|
46
|
+
validate_assignment=True,
|
|
47
|
+
protected_namespaces=(),
|
|
48
|
+
)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
def to_str(self) -> str:
|
|
52
|
+
"""Returns the string representation of the model using alias"""
|
|
53
|
+
return pprint.pformat(self.model_dump(by_alias=True, exclude_none=True))
|
|
54
|
+
|
|
55
|
+
def to_json(self) -> str:
|
|
56
|
+
"""
|
|
57
|
+
Returns the JSON representation of the model using alias
|
|
58
|
+
|
|
59
|
+
Do not use pydantic v2 .model_dump_json(by_alias=True, exclude_unset=True) here!
|
|
60
|
+
It is unable to resolve nested types generated by openapi-generator.
|
|
61
|
+
"""
|
|
62
|
+
return json.dumps(self.to_dict())
|
|
63
|
+
|
|
64
|
+
@classmethod
|
|
65
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
66
|
+
"""Create an instance of BusIOModbusTCPServer from a JSON string"""
|
|
67
|
+
return cls.from_dict(json.loads(json_str))
|
|
68
|
+
|
|
69
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
70
|
+
"""Return the dictionary representation of the model using alias.
|
|
71
|
+
|
|
72
|
+
This has the following differences from calling pydantic's
|
|
73
|
+
`self.model_dump(by_alias=True)`:
|
|
74
|
+
|
|
75
|
+
* `None` is only added to the output dict for nullable fields that
|
|
76
|
+
were set at model initialization. Other fields with value `None`
|
|
77
|
+
are ignored.
|
|
78
|
+
"""
|
|
79
|
+
excluded_fields: Set[str] = set([
|
|
80
|
+
])
|
|
81
|
+
|
|
82
|
+
_dict = self.model_dump(
|
|
83
|
+
by_alias=True,
|
|
84
|
+
exclude=excluded_fields,
|
|
85
|
+
exclude_none=True,
|
|
86
|
+
)
|
|
87
|
+
return _dict
|
|
88
|
+
|
|
89
|
+
@classmethod
|
|
90
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
91
|
+
"""Create an instance of BusIOModbusTCPServer from a dict"""
|
|
92
|
+
if obj is None:
|
|
93
|
+
return None
|
|
94
|
+
|
|
95
|
+
if not isinstance(obj, dict):
|
|
96
|
+
return cls.model_validate(obj)
|
|
97
|
+
|
|
98
|
+
_obj = cls.model_validate({
|
|
99
|
+
"network_type": obj.get("network_type"),
|
|
100
|
+
"port": obj.get("port")
|
|
101
|
+
})
|
|
102
|
+
return _obj
|
|
103
|
+
|
|
104
|
+
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
|
+
from typing import Optional, Set
|
|
23
|
+
from typing_extensions import Self
|
|
24
|
+
|
|
25
|
+
class BusIOModbusVirtual(BaseModel):
|
|
26
|
+
"""
|
|
27
|
+
Virtual MODBUS inputs/outputs service configuration.
|
|
28
|
+
""" # noqa: E501
|
|
29
|
+
bus_type: str = "modbus_virtual"
|
|
30
|
+
__properties: ClassVar[List[str]] = ["bus_type"]
|
|
31
|
+
|
|
32
|
+
@field_validator('bus_type')
|
|
33
|
+
def bus_type_validate_enum(cls, value):
|
|
34
|
+
"""Validates the enum"""
|
|
35
|
+
if value not in set(['modbus_virtual']):
|
|
36
|
+
raise ValueError("must be one of enum values ('modbus_virtual')")
|
|
37
|
+
return value
|
|
38
|
+
|
|
39
|
+
model_config = ConfigDict(
|
|
40
|
+
populate_by_name=True,
|
|
41
|
+
validate_assignment=True,
|
|
42
|
+
protected_namespaces=(),
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.model_dump(by_alias=True, exclude_none=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""
|
|
52
|
+
Returns the JSON representation of the model using alias
|
|
53
|
+
|
|
54
|
+
Do not use pydantic v2 .model_dump_json(by_alias=True, exclude_unset=True) here!
|
|
55
|
+
It is unable to resolve nested types generated by openapi-generator.
|
|
56
|
+
"""
|
|
57
|
+
return json.dumps(self.to_dict())
|
|
58
|
+
|
|
59
|
+
@classmethod
|
|
60
|
+
def from_json(cls, json_str: str) -> Optional[Self]:
|
|
61
|
+
"""Create an instance of BusIOModbusVirtual from a JSON string"""
|
|
62
|
+
return cls.from_dict(json.loads(json_str))
|
|
63
|
+
|
|
64
|
+
def to_dict(self) -> Dict[str, Any]:
|
|
65
|
+
"""Return the dictionary representation of the model using alias.
|
|
66
|
+
|
|
67
|
+
This has the following differences from calling pydantic's
|
|
68
|
+
`self.model_dump(by_alias=True)`:
|
|
69
|
+
|
|
70
|
+
* `None` is only added to the output dict for nullable fields that
|
|
71
|
+
were set at model initialization. Other fields with value `None`
|
|
72
|
+
are ignored.
|
|
73
|
+
"""
|
|
74
|
+
excluded_fields: Set[str] = set([
|
|
75
|
+
])
|
|
76
|
+
|
|
77
|
+
_dict = self.model_dump(
|
|
78
|
+
by_alias=True,
|
|
79
|
+
exclude=excluded_fields,
|
|
80
|
+
exclude_none=True,
|
|
81
|
+
)
|
|
82
|
+
return _dict
|
|
83
|
+
|
|
84
|
+
@classmethod
|
|
85
|
+
def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
|
|
86
|
+
"""Create an instance of BusIOModbusVirtual from a dict"""
|
|
87
|
+
if obj is None:
|
|
88
|
+
return None
|
|
89
|
+
|
|
90
|
+
if not isinstance(obj, dict):
|
|
91
|
+
return cls.model_validate(obj)
|
|
92
|
+
|
|
93
|
+
_obj = cls.model_validate({
|
|
94
|
+
"bus_type": obj.get("bus_type")
|
|
95
|
+
})
|
|
96
|
+
return _obj
|
|
97
|
+
|
|
98
|
+
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -28,19 +28,16 @@ class BusIOProfinet(BaseModel):
|
|
|
28
28
|
"""
|
|
29
29
|
PROFINET BUS inputs/outputs service configuration.
|
|
30
30
|
""" # noqa: E501
|
|
31
|
-
bus_type:
|
|
32
|
-
network_config: Optional[BusIOProfinetNetwork] = Field(default=None, description="Used to enable IP communication through the same physical ethernet interface while PROFINET driver is active. ")
|
|
33
|
-
plc_ip: StrictStr = Field(description="IP address of the PLC to establish PROFINET communication with. The IP address is used to configure the host machine's firewall. The firewall configuration is applied while the BUS input/output service is active. Without proper firewall configuration, PROFINET device discovery, configuration exchanges, and real-time cyclic data communication will fail. ")
|
|
34
|
-
mac: StrictStr = Field(description="MAC address of the physical ethernet interface that you want to use for PROFINET communication. ")
|
|
35
|
-
default_route: Optional[BusIOProfinetDefaultRoute] = None
|
|
31
|
+
bus_type: str = "profinet"
|
|
32
|
+
network_config: Optional[BusIOProfinetNetwork] = Field(default=None, description="Used to enable IP communication through the same physical ethernet interface while PROFINET driver is active. ")
|
|
33
|
+
plc_ip: StrictStr = Field(description="IP address of the PLC to establish PROFINET communication with. The IP address is used to configure the host machine's firewall. The firewall configuration is applied while the BUS input/output service is active. Without proper firewall configuration, PROFINET device discovery, configuration exchanges, and real-time cyclic data communication will fail. ")
|
|
34
|
+
mac: StrictStr = Field(description="MAC address of the physical ethernet interface that you want to use for PROFINET communication. ")
|
|
35
|
+
default_route: Optional[BusIOProfinetDefaultRoute] = None
|
|
36
36
|
__properties: ClassVar[List[str]] = ["bus_type", "network_config", "plc_ip", "mac", "default_route"]
|
|
37
37
|
|
|
38
38
|
@field_validator('bus_type')
|
|
39
39
|
def bus_type_validate_enum(cls, value):
|
|
40
40
|
"""Validates the enum"""
|
|
41
|
-
if value is None:
|
|
42
|
-
return value
|
|
43
|
-
|
|
44
41
|
if value not in set(['profinet']):
|
|
45
42
|
raise ValueError("must be one of enum values ('profinet')")
|
|
46
43
|
return value
|
|
@@ -106,7 +103,7 @@ class BusIOProfinet(BaseModel):
|
|
|
106
103
|
return cls.model_validate(obj)
|
|
107
104
|
|
|
108
105
|
_obj = cls.model_validate({
|
|
109
|
-
"bus_type": obj.get("bus_type")
|
|
106
|
+
"bus_type": obj.get("bus_type"),
|
|
110
107
|
"network_config": BusIOProfinetNetwork.from_dict(obj["network_config"]) if obj.get("network_config") is not None else None,
|
|
111
108
|
"plc_ip": obj.get("plc_ip"),
|
|
112
109
|
"mac": obj.get("mac"),
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,8 +26,8 @@ class BusIOProfinetDefaultRoute(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
Current default route configuration of your NOVA instance. The default route is a setting that tells data where to go if there isn’t a specific path already known for its destination. Usually this will be the path to your router, enabling accessing the internet. On Linux, use `ip route show` to view your default routes and match the output `default via <gateway> dev <interface> ...` to get your gateway and interface.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
gateway: StrictStr = Field(description="Gateway for the default route.")
|
|
30
|
-
interface: StrictStr = Field(description="Interface for the default route.")
|
|
29
|
+
gateway: StrictStr = Field(description="Gateway for the default route.")
|
|
30
|
+
interface: StrictStr = Field(description="Interface for the default route.")
|
|
31
31
|
__properties: ClassVar[List[str]] = ["gateway", "interface"]
|
|
32
32
|
|
|
33
33
|
model_config = ConfigDict(
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -26,9 +26,9 @@ class BusIOProfinetIpConfig(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
Network configuration or IPv4 record of the virtual ethernet interface (pnio1) created by the PROFINET driver. The IPv4 record is used in combination with the Name of Station (NoS) to identify your device in the PROFINET network. The `ip_config` will be used as IPv4 record if no REMA XML file is already present on your machine and no `rema_xml_content` is provided.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
ip: StrictStr = Field(description="IP address for the device's virtual ethernet interface (pnio1).")
|
|
30
|
-
netmask: StrictStr = Field(description="Network mask for the device's virtual ethernet interface (pnio1).")
|
|
31
|
-
gateway: StrictStr = Field(description="Gateway for connections to other devices outside of the virtual ethernet interface's subnet.")
|
|
29
|
+
ip: StrictStr = Field(description="IP address for the device's virtual ethernet interface (pnio1).")
|
|
30
|
+
netmask: StrictStr = Field(description="Network mask for the device's virtual ethernet interface (pnio1).")
|
|
31
|
+
gateway: StrictStr = Field(description="Gateway for connections to other devices outside of the virtual ethernet interface's subnet.")
|
|
32
32
|
__properties: ClassVar[List[str]] = ["ip", "netmask", "gateway"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,9 +27,9 @@ class BusIOProfinetNetwork(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
BusIOProfinetNetwork
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
device_name: Optional[StrictStr] = Field(default=None, description="Name of Station (NoS) of the PROFINET device. The NoS is used in combination with IPv4 record to identify your device in the PROFINET network. The `device_name` will be used as NoS if no REMA XML file is already present on your machine and no `rema_xml_content` is provided. ")
|
|
31
|
-
ip_config: Optional[BusIOProfinetIpConfig] = None
|
|
32
|
-
rema_xml_content: Optional[StrictStr] = Field(default=None, description="Content of the PROFINET REMA XML file. Is used when PROFINET service is added for the first time to create the REMA XML file that holds data to be kept for the next session. Stores information like IP address, Name of Station (NoS) and hardware configuration. If you use a PROFINET controller to assign an IP address to the PROFINET device, this information will be written to the REMA XML file. Refer to the PDF version of the \"PN Driver I/O Base programming interface\" documentation for more information and an example REMA file. ")
|
|
30
|
+
device_name: Optional[StrictStr] = Field(default=None, description="Name of Station (NoS) of the PROFINET device. The NoS is used in combination with IPv4 record to identify your device in the PROFINET network. The `device_name` will be used as NoS if no REMA XML file is already present on your machine and no `rema_xml_content` is provided. ")
|
|
31
|
+
ip_config: Optional[BusIOProfinetIpConfig] = None
|
|
32
|
+
rema_xml_content: Optional[StrictStr] = Field(default=None, description="Content of the PROFINET REMA XML file. Is used when PROFINET service is added for the first time to create the REMA XML file that holds data to be kept for the next session. Stores information like IP address, Name of Station (NoS) and hardware configuration. If you use a PROFINET controller to assign an IP address to the PROFINET device, this information will be written to the REMA XML file. Refer to the PDF version of the \"PN Driver I/O Base programming interface\" documentation for more information and an example REMA file. ")
|
|
33
33
|
__properties: ClassVar[List[str]] = ["device_name", "ip_config", "rema_xml_content"]
|
|
34
34
|
|
|
35
35
|
model_config = ConfigDict(
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -18,7 +18,7 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
from pydantic import BaseModel, ConfigDict, StrictStr, field_validator
|
|
21
|
-
from typing import Any, ClassVar, Dict, List
|
|
21
|
+
from typing import Any, ClassVar, Dict, List
|
|
22
22
|
from typing import Optional, Set
|
|
23
23
|
from typing_extensions import Self
|
|
24
24
|
|
|
@@ -26,15 +26,12 @@ class BusIOProfinetVirtual(BaseModel):
|
|
|
26
26
|
"""
|
|
27
27
|
Virtual PROFINET BUS inputs/outputs service configuration.
|
|
28
28
|
""" # noqa: E501
|
|
29
|
-
bus_type:
|
|
29
|
+
bus_type: str = "profinet_virtual"
|
|
30
30
|
__properties: ClassVar[List[str]] = ["bus_type"]
|
|
31
31
|
|
|
32
32
|
@field_validator('bus_type')
|
|
33
33
|
def bus_type_validate_enum(cls, value):
|
|
34
34
|
"""Validates the enum"""
|
|
35
|
-
if value is None:
|
|
36
|
-
return value
|
|
37
|
-
|
|
38
35
|
if value not in set(['profinet_virtual']):
|
|
39
36
|
raise ValueError("must be one of enum values ('profinet_virtual')")
|
|
40
37
|
return value
|
|
@@ -94,7 +91,7 @@ class BusIOProfinetVirtual(BaseModel):
|
|
|
94
91
|
return cls.model_validate(obj)
|
|
95
92
|
|
|
96
93
|
_obj = cls.model_validate({
|
|
97
|
-
"bus_type": obj.get("bus_type")
|
|
94
|
+
"bus_type": obj.get("bus_type")
|
|
98
95
|
})
|
|
99
96
|
return _obj
|
|
100
97
|
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -17,13 +17,16 @@ import json
|
|
|
17
17
|
import pprint
|
|
18
18
|
from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator
|
|
19
19
|
from typing import Any, List, Optional
|
|
20
|
+
from wandelbots_api_client.v2.models.bus_io_modbus_client import BusIOModbusClient
|
|
21
|
+
from wandelbots_api_client.v2.models.bus_io_modbus_server import BusIOModbusServer
|
|
22
|
+
from wandelbots_api_client.v2.models.bus_io_modbus_virtual import BusIOModbusVirtual
|
|
20
23
|
from wandelbots_api_client.v2.models.bus_io_profinet import BusIOProfinet
|
|
21
24
|
from wandelbots_api_client.v2.models.bus_io_profinet_virtual import BusIOProfinetVirtual
|
|
22
25
|
from pydantic import StrictStr, Field
|
|
23
26
|
from typing import Union, List, Set, Optional, Dict
|
|
24
27
|
from typing_extensions import Literal, Self
|
|
25
28
|
|
|
26
|
-
BUSIOTYPE_ONE_OF_SCHEMAS = ["BusIOProfinet", "BusIOProfinetVirtual"]
|
|
29
|
+
BUSIOTYPE_ONE_OF_SCHEMAS = ["BusIOModbusClient", "BusIOModbusServer", "BusIOModbusVirtual", "BusIOProfinet", "BusIOProfinetVirtual"]
|
|
27
30
|
|
|
28
31
|
class BusIOType(BaseModel):
|
|
29
32
|
"""
|
|
@@ -33,8 +36,14 @@ class BusIOType(BaseModel):
|
|
|
33
36
|
oneof_schema_1_validator: Optional[BusIOProfinet] = None
|
|
34
37
|
# data type: BusIOProfinetVirtual
|
|
35
38
|
oneof_schema_2_validator: Optional[BusIOProfinetVirtual] = None
|
|
36
|
-
|
|
37
|
-
|
|
39
|
+
# data type: BusIOModbusServer
|
|
40
|
+
oneof_schema_3_validator: Optional[BusIOModbusServer] = None
|
|
41
|
+
# data type: BusIOModbusClient
|
|
42
|
+
oneof_schema_4_validator: Optional[BusIOModbusClient] = None
|
|
43
|
+
# data type: BusIOModbusVirtual
|
|
44
|
+
oneof_schema_5_validator: Optional[BusIOModbusVirtual] = None
|
|
45
|
+
actual_instance: Optional[Union[BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual]] = None
|
|
46
|
+
one_of_schemas: Set[str] = { "BusIOModbusClient", "BusIOModbusServer", "BusIOModbusVirtual", "BusIOProfinet", "BusIOProfinetVirtual" }
|
|
38
47
|
|
|
39
48
|
model_config = ConfigDict(
|
|
40
49
|
validate_assignment=True,
|
|
@@ -70,12 +79,27 @@ class BusIOType(BaseModel):
|
|
|
70
79
|
error_messages.append(f"Error! Input type `{type(v)}` is not `BusIOProfinetVirtual`")
|
|
71
80
|
else:
|
|
72
81
|
match += 1
|
|
82
|
+
# validate data type: BusIOModbusServer
|
|
83
|
+
if not isinstance(v, BusIOModbusServer):
|
|
84
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `BusIOModbusServer`")
|
|
85
|
+
else:
|
|
86
|
+
match += 1
|
|
87
|
+
# validate data type: BusIOModbusClient
|
|
88
|
+
if not isinstance(v, BusIOModbusClient):
|
|
89
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `BusIOModbusClient`")
|
|
90
|
+
else:
|
|
91
|
+
match += 1
|
|
92
|
+
# validate data type: BusIOModbusVirtual
|
|
93
|
+
if not isinstance(v, BusIOModbusVirtual):
|
|
94
|
+
error_messages.append(f"Error! Input type `{type(v)}` is not `BusIOModbusVirtual`")
|
|
95
|
+
else:
|
|
96
|
+
match += 1
|
|
73
97
|
if match > 1:
|
|
74
98
|
# more than 1 match
|
|
75
|
-
raise ValueError("Multiple matches found when setting `actual_instance` in BusIOType with oneOf schemas: BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
99
|
+
raise ValueError("Multiple matches found when setting `actual_instance` in BusIOType with oneOf schemas: BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
76
100
|
elif match == 0:
|
|
77
101
|
# no match
|
|
78
|
-
raise ValueError("No match found when setting `actual_instance` in BusIOType with oneOf schemas: BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
102
|
+
raise ValueError("No match found when setting `actual_instance` in BusIOType with oneOf schemas: BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
79
103
|
else:
|
|
80
104
|
return v
|
|
81
105
|
|
|
@@ -95,23 +119,28 @@ class BusIOType(BaseModel):
|
|
|
95
119
|
if not _data_type:
|
|
96
120
|
raise ValueError("Failed to lookup data type from the field `bus_type` in the input.")
|
|
97
121
|
|
|
98
|
-
# check if data type is `
|
|
99
|
-
if _data_type == "
|
|
100
|
-
instance.actual_instance =
|
|
122
|
+
# check if data type is `BusIOModbusClient`
|
|
123
|
+
if _data_type == "modbus_client":
|
|
124
|
+
instance.actual_instance = BusIOModbusClient.from_json(json_str)
|
|
101
125
|
return instance
|
|
102
126
|
|
|
103
|
-
# check if data type is `
|
|
104
|
-
if _data_type == "
|
|
105
|
-
instance.actual_instance =
|
|
127
|
+
# check if data type is `BusIOModbusServer`
|
|
128
|
+
if _data_type == "modbus_server":
|
|
129
|
+
instance.actual_instance = BusIOModbusServer.from_json(json_str)
|
|
130
|
+
return instance
|
|
131
|
+
|
|
132
|
+
# check if data type is `BusIOModbusVirtual`
|
|
133
|
+
if _data_type == "modbus_virtual":
|
|
134
|
+
instance.actual_instance = BusIOModbusVirtual.from_json(json_str)
|
|
106
135
|
return instance
|
|
107
136
|
|
|
108
137
|
# check if data type is `BusIOProfinet`
|
|
109
|
-
if _data_type == "
|
|
138
|
+
if _data_type == "profinet":
|
|
110
139
|
instance.actual_instance = BusIOProfinet.from_json(json_str)
|
|
111
140
|
return instance
|
|
112
141
|
|
|
113
142
|
# check if data type is `BusIOProfinetVirtual`
|
|
114
|
-
if _data_type == "
|
|
143
|
+
if _data_type == "profinet_virtual":
|
|
115
144
|
instance.actual_instance = BusIOProfinetVirtual.from_json(json_str)
|
|
116
145
|
return instance
|
|
117
146
|
|
|
@@ -127,13 +156,31 @@ class BusIOType(BaseModel):
|
|
|
127
156
|
match += 1
|
|
128
157
|
except (ValidationError, ValueError) as e:
|
|
129
158
|
error_messages.append(str(e))
|
|
159
|
+
# deserialize data into BusIOModbusServer
|
|
160
|
+
try:
|
|
161
|
+
instance.actual_instance = BusIOModbusServer.from_json(json_str)
|
|
162
|
+
match += 1
|
|
163
|
+
except (ValidationError, ValueError) as e:
|
|
164
|
+
error_messages.append(str(e))
|
|
165
|
+
# deserialize data into BusIOModbusClient
|
|
166
|
+
try:
|
|
167
|
+
instance.actual_instance = BusIOModbusClient.from_json(json_str)
|
|
168
|
+
match += 1
|
|
169
|
+
except (ValidationError, ValueError) as e:
|
|
170
|
+
error_messages.append(str(e))
|
|
171
|
+
# deserialize data into BusIOModbusVirtual
|
|
172
|
+
try:
|
|
173
|
+
instance.actual_instance = BusIOModbusVirtual.from_json(json_str)
|
|
174
|
+
match += 1
|
|
175
|
+
except (ValidationError, ValueError) as e:
|
|
176
|
+
error_messages.append(str(e))
|
|
130
177
|
|
|
131
178
|
if match > 1:
|
|
132
179
|
# more than 1 match
|
|
133
|
-
raise ValueError("Multiple matches found when deserializing the JSON string into BusIOType with oneOf schemas: BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
180
|
+
raise ValueError("Multiple matches found when deserializing the JSON string into BusIOType with oneOf schemas: BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
134
181
|
elif match == 0:
|
|
135
182
|
# no match
|
|
136
|
-
raise ValueError("No match found when deserializing the JSON string into BusIOType with oneOf schemas: BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
183
|
+
raise ValueError("No match found when deserializing the JSON string into BusIOType with oneOf schemas: BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual. Details: " + ", ".join(error_messages))
|
|
137
184
|
else:
|
|
138
185
|
return instance
|
|
139
186
|
|
|
@@ -147,7 +194,7 @@ class BusIOType(BaseModel):
|
|
|
147
194
|
else:
|
|
148
195
|
return json.dumps(self.actual_instance)
|
|
149
196
|
|
|
150
|
-
def to_dict(self) -> Optional[Union[Dict[str, Any], BusIOProfinet, BusIOProfinetVirtual]]:
|
|
197
|
+
def to_dict(self) -> Optional[Union[Dict[str, Any], BusIOModbusClient, BusIOModbusServer, BusIOModbusVirtual, BusIOProfinet, BusIOProfinetVirtual]]:
|
|
151
198
|
"""Returns the dict representation of the actual instance"""
|
|
152
199
|
if self.actual_instance is None:
|
|
153
200
|
return None
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
"""
|
|
4
4
|
Wandelbots NOVA API
|
|
5
5
|
|
|
6
|
-
Interact with robots in an easy and intuitive way.
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
7
|
|
|
8
|
-
The version of the OpenAPI document: 2.
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
9
|
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
10
|
|
|
11
11
|
Do not edit the class manually.
|
|
@@ -27,8 +27,8 @@ class BusIOsState(BaseModel):
|
|
|
27
27
|
"""
|
|
28
28
|
BusIOsState
|
|
29
29
|
""" # noqa: E501
|
|
30
|
-
state: BusIOsStateEnum
|
|
31
|
-
message: Optional[StrictStr] = Field(default=None, description="A message providing additional information on the input/output service, e.g., BUS service status, encountered errors. May be empty if no additional information is available. ")
|
|
30
|
+
state: BusIOsStateEnum
|
|
31
|
+
message: Optional[StrictStr] = Field(default=None, description="A message providing additional information on the input/output service, e.g., BUS service status, encountered errors. May be empty if no additional information is available. ")
|
|
32
32
|
__properties: ClassVar[List[str]] = ["state", "message"]
|
|
33
33
|
|
|
34
34
|
model_config = ConfigDict(
|