wandelbots-api-client 25.8.0.dev88__py3-none-any.whl → 25.10.0.dev47__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 +1 -1
- wandelbots_api_client/api/controller_api.py +9 -3
- wandelbots_api_client/api/controller_ios_api.py +2 -4
- wandelbots_api_client/api/motion_api.py +16 -4
- wandelbots_api_client/api/motion_group_infos_api.py +2 -0
- wandelbots_api_client/api/motion_group_jogging_api.py +10 -4
- wandelbots_api_client/api/store_collision_components_api.py +9 -6
- wandelbots_api_client/api/virtual_robot_behavior_api.py +5 -2
- wandelbots_api_client/api_client.py +1 -1
- wandelbots_api_client/configuration.py +1 -1
- wandelbots_api_client/models/abb_controller.py +4 -4
- wandelbots_api_client/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/models/activate_license_request.py +1 -1
- wandelbots_api_client/models/add_request.py +2 -2
- wandelbots_api_client/models/all_joint_positions_request.py +2 -2
- wandelbots_api_client/models/all_joint_positions_response.py +1 -1
- wandelbots_api_client/models/app.py +7 -7
- wandelbots_api_client/models/array_input.py +1 -1
- wandelbots_api_client/models/array_output.py +1 -1
- wandelbots_api_client/models/blending_auto.py +2 -2
- wandelbots_api_client/models/blending_position.py +2 -2
- wandelbots_api_client/models/box.py +4 -4
- wandelbots_api_client/models/box2.py +5 -5
- wandelbots_api_client/models/box3.py +5 -5
- wandelbots_api_client/models/capsule.py +2 -2
- wandelbots_api_client/models/capsule2.py +3 -3
- wandelbots_api_client/models/capsule3.py +3 -3
- wandelbots_api_client/models/capture.py +1 -1
- wandelbots_api_client/models/cell.py +3 -3
- wandelbots_api_client/models/circle.py +2 -2
- wandelbots_api_client/models/code_with_arguments.py +2 -2
- wandelbots_api_client/models/collider.py +3 -3
- wandelbots_api_client/models/collider_input.py +3 -3
- wandelbots_api_client/models/collider_output.py +3 -3
- wandelbots_api_client/models/collision.py +6 -6
- wandelbots_api_client/models/collision_contact.py +2 -2
- wandelbots_api_client/models/collision_motion_group.py +2 -2
- wandelbots_api_client/models/collision_motion_group_assembly.py +4 -4
- wandelbots_api_client/models/collision_robot_configuration_input.py +3 -3
- wandelbots_api_client/models/collision_robot_configuration_output.py +3 -3
- wandelbots_api_client/models/collision_scene.py +2 -2
- wandelbots_api_client/models/collision_scene_assembly.py +5 -5
- wandelbots_api_client/models/command.py +6 -6
- wandelbots_api_client/models/command_settings.py +3 -3
- wandelbots_api_client/models/compound.py +1 -1
- wandelbots_api_client/models/container_environment_inner.py +2 -2
- wandelbots_api_client/models/container_image.py +3 -3
- wandelbots_api_client/models/container_image_secrets_inner.py +1 -1
- wandelbots_api_client/models/container_resources.py +1 -1
- wandelbots_api_client/models/container_storage.py +2 -2
- wandelbots_api_client/models/controller_capabilities.py +2 -2
- wandelbots_api_client/models/controller_instance.py +8 -8
- wandelbots_api_client/models/controller_instance_list.py +1 -1
- wandelbots_api_client/models/convex_hull.py +1 -1
- wandelbots_api_client/models/convex_hull2.py +2 -2
- wandelbots_api_client/models/convex_hull3.py +2 -2
- wandelbots_api_client/models/coordinate_system.py +5 -5
- wandelbots_api_client/models/coordinate_systems.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +1 -1
- wandelbots_api_client/models/create_program_run_request.py +1 -1
- wandelbots_api_client/models/create_trigger200_response.py +1 -1
- wandelbots_api_client/models/create_trigger_request.py +4 -4
- wandelbots_api_client/models/cubic_spline.py +1 -1
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +2 -2
- wandelbots_api_client/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/models/cycle_time.py +1 -1
- wandelbots_api_client/models/cylinder.py +2 -2
- wandelbots_api_client/models/cylinder2.py +3 -3
- wandelbots_api_client/models/cylinder3.py +3 -3
- wandelbots_api_client/models/dh_parameter.py +5 -5
- wandelbots_api_client/models/direction_jogging_request.py +9 -9
- wandelbots_api_client/models/error.py +2 -2
- wandelbots_api_client/models/execution_result.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +4 -4
- wandelbots_api_client/models/fanuc_controller.py +2 -2
- wandelbots_api_client/models/feedback_collision.py +4 -4
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/feedback_out_of_workspace.py +2 -2
- wandelbots_api_client/models/feedback_singularity.py +3 -3
- wandelbots_api_client/models/flag.py +1 -1
- wandelbots_api_client/models/force_vector.py +3 -3
- wandelbots_api_client/models/geometry.py +11 -11
- wandelbots_api_client/models/get_all_program_runs200_response.py +1 -1
- wandelbots_api_client/models/get_all_triggers200_response.py +1 -1
- wandelbots_api_client/models/get_mode_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_response.py +1 -1
- wandelbots_api_client/models/get_trajectory_sample_response.py +1 -1
- wandelbots_api_client/models/google_protobuf_any.py +1 -1
- wandelbots_api_client/models/http_exception_response.py +1 -1
- wandelbots_api_client/models/http_validation_error.py +1 -1
- wandelbots_api_client/models/http_validation_error2.py +1 -1
- wandelbots_api_client/models/image_credentials.py +3 -3
- wandelbots_api_client/models/info_service_capabilities.py +7 -7
- wandelbots_api_client/models/initialize_movement_request.py +5 -5
- wandelbots_api_client/models/initialize_movement_response.py +1 -1
- wandelbots_api_client/models/initialize_movement_response_init_response.py +2 -2
- wandelbots_api_client/models/io.py +5 -5
- wandelbots_api_client/models/io_description.py +9 -9
- wandelbots_api_client/models/io_value.py +4 -4
- wandelbots_api_client/models/ios.py +1 -1
- wandelbots_api_client/models/jogging_response.py +3 -3
- wandelbots_api_client/models/jogging_service_capabilities.py +2 -2
- wandelbots_api_client/models/joint_jogging_request.py +5 -5
- wandelbots_api_client/models/joint_limit.py +4 -4
- wandelbots_api_client/models/joint_limit_exceeded.py +2 -2
- wandelbots_api_client/models/joint_position_request.py +3 -3
- wandelbots_api_client/models/joint_trajectory.py +3 -3
- wandelbots_api_client/models/joints.py +1 -1
- wandelbots_api_client/models/kinematic_service_capabilities.py +3 -3
- wandelbots_api_client/models/kuka_controller.py +5 -5
- wandelbots_api_client/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/models/license.py +10 -10
- wandelbots_api_client/models/license_status.py +2 -2
- wandelbots_api_client/models/limit_settings.py +12 -12
- wandelbots_api_client/models/limits_override.py +6 -6
- wandelbots_api_client/models/list_io_descriptions_response.py +1 -1
- wandelbots_api_client/models/list_io_values_response.py +1 -1
- wandelbots_api_client/models/list_payloads_response.py +1 -1
- wandelbots_api_client/models/list_program_metadata_response.py +1 -1
- wandelbots_api_client/models/list_recipe_metadata_response.py +1 -1
- wandelbots_api_client/models/list_response.py +1 -1
- wandelbots_api_client/models/list_tcps_response.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +4 -4
- wandelbots_api_client/models/motion_command.py +3 -3
- wandelbots_api_client/models/motion_group_behavior_getter.py +1 -1
- wandelbots_api_client/models/motion_group_info.py +3 -3
- wandelbots_api_client/models/motion_group_infos.py +1 -1
- wandelbots_api_client/models/motion_group_instance.py +5 -5
- wandelbots_api_client/models/motion_group_instance_list.py +1 -1
- wandelbots_api_client/models/motion_group_joints.py +4 -4
- wandelbots_api_client/models/motion_group_physical.py +5 -5
- wandelbots_api_client/models/motion_group_specification.py +2 -2
- wandelbots_api_client/models/motion_group_state.py +12 -12
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/models/motion_group_state_response.py +2 -2
- wandelbots_api_client/models/motion_id.py +1 -1
- wandelbots_api_client/models/motion_ids_list_response.py +1 -1
- wandelbots_api_client/models/motion_vector.py +3 -3
- wandelbots_api_client/models/mounting.py +2 -2
- wandelbots_api_client/models/move_request.py +8 -8
- wandelbots_api_client/models/move_response.py +2 -2
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +4 -4
- wandelbots_api_client/models/movement.py +1 -1
- wandelbots_api_client/models/movement_error.py +1 -1
- wandelbots_api_client/models/movement_error_error.py +1 -1
- wandelbots_api_client/models/movement_movement.py +3 -3
- wandelbots_api_client/models/op_mode.py +1 -1
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +3 -3
- wandelbots_api_client/models/optimizer_setup.py +7 -7
- wandelbots_api_client/models/out_of_workspace.py +1 -1
- wandelbots_api_client/models/path.py +1 -1
- wandelbots_api_client/models/path_cartesian_ptp.py +2 -2
- wandelbots_api_client/models/path_circle.py +3 -3
- wandelbots_api_client/models/path_cubic_spline.py +2 -2
- wandelbots_api_client/models/path_joint_ptp.py +2 -2
- wandelbots_api_client/models/path_line.py +2 -2
- wandelbots_api_client/models/pause_movement_request.py +2 -2
- wandelbots_api_client/models/pause_movement_response.py +1 -1
- wandelbots_api_client/models/pause_movement_response_pause_response.py +2 -2
- wandelbots_api_client/models/pause_on_io.py +2 -2
- wandelbots_api_client/models/payload.py +4 -4
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +5 -5
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +9 -9
- wandelbots_api_client/models/plan_failed_response.py +7 -7
- wandelbots_api_client/models/plan_request.py +5 -5
- wandelbots_api_client/models/plan_response.py +3 -3
- wandelbots_api_client/models/plan_successful_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_failed_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/models/plan_trajectory_response.py +1 -1
- wandelbots_api_client/models/plane2.py +1 -1
- wandelbots_api_client/models/plane3.py +1 -1
- wandelbots_api_client/models/planned_motion.py +5 -5
- wandelbots_api_client/models/planner_pose.py +2 -2
- wandelbots_api_client/models/planning_limits.py +12 -12
- wandelbots_api_client/models/planning_limits_limit_range.py +2 -2
- wandelbots_api_client/models/playback_speed_request.py +2 -2
- wandelbots_api_client/models/playback_speed_response.py +1 -1
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +1 -1
- wandelbots_api_client/models/point_cloud.py +1 -1
- wandelbots_api_client/models/pose.py +3 -3
- wandelbots_api_client/models/pose2.py +2 -2
- wandelbots_api_client/models/program_metadata.py +6 -6
- wandelbots_api_client/models/program_run.py +10 -10
- wandelbots_api_client/models/program_run_object.py +6 -6
- wandelbots_api_client/models/program_runner_reference.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +1 -1
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +1 -1
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +6 -6
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +2 -2
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +2 -2
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +2 -2
- wandelbots_api_client/models/quaternion.py +4 -4
- wandelbots_api_client/models/recipe_metadata.py +7 -7
- wandelbots_api_client/models/rectangle.py +2 -2
- wandelbots_api_client/models/rectangle2.py +3 -3
- wandelbots_api_client/models/rectangle3.py +3 -3
- wandelbots_api_client/models/rectangular_capsule.py +3 -3
- wandelbots_api_client/models/rectangular_capsule2.py +4 -4
- wandelbots_api_client/models/rectangular_capsule3.py +4 -4
- wandelbots_api_client/models/robot_controller.py +2 -2
- wandelbots_api_client/models/robot_controller_state.py +7 -7
- wandelbots_api_client/models/robot_link_geometry.py +2 -2
- wandelbots_api_client/models/robot_state.py +2 -2
- wandelbots_api_client/models/robot_tcp.py +4 -4
- wandelbots_api_client/models/robot_tcps.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +2 -2
- wandelbots_api_client/models/safety_configuration.py +5 -5
- wandelbots_api_client/models/safety_setup.py +4 -4
- wandelbots_api_client/models/safety_setup_safety_settings.py +2 -2
- wandelbots_api_client/models/safety_setup_safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone.py +3 -3
- wandelbots_api_client/models/safety_zone_limits.py +2 -2
- wandelbots_api_client/models/safety_zone_violation.py +1 -1
- wandelbots_api_client/models/service_status.py +2 -2
- wandelbots_api_client/models/service_status_status.py +3 -3
- wandelbots_api_client/models/set_io.py +2 -2
- wandelbots_api_client/models/set_playback_speed.py +2 -2
- wandelbots_api_client/models/single_joint_limit.py +2 -2
- wandelbots_api_client/models/singularity.py +2 -2
- wandelbots_api_client/models/sphere.py +1 -1
- wandelbots_api_client/models/sphere2.py +2 -2
- wandelbots_api_client/models/sphere3.py +2 -2
- wandelbots_api_client/models/standstill.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +3 -3
- wandelbots_api_client/models/start_movement_request.py +5 -5
- wandelbots_api_client/models/start_on_io.py +2 -2
- wandelbots_api_client/models/status.py +3 -3
- wandelbots_api_client/models/stop_response.py +3 -3
- wandelbots_api_client/models/stream_move_backward.py +1 -1
- wandelbots_api_client/models/stream_move_forward.py +1 -1
- wandelbots_api_client/models/stream_move_playback_speed.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +3 -3
- wandelbots_api_client/models/stream_move_to_trajectory.py +1 -1
- wandelbots_api_client/models/stream_stop.py +1 -1
- wandelbots_api_client/models/tcp_pose.py +4 -4
- wandelbots_api_client/models/tcp_pose_request.py +4 -4
- wandelbots_api_client/models/tool_geometry.py +2 -2
- wandelbots_api_client/models/trajectory_sample.py +11 -11
- wandelbots_api_client/models/trigger_object.py +8 -8
- wandelbots_api_client/models/universalrobots_controller.py +2 -2
- wandelbots_api_client/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/models/update_program_metadata_request.py +3 -3
- wandelbots_api_client/models/update_recipe_metadata_request.py +3 -3
- wandelbots_api_client/models/update_trigger_request.py +3 -3
- wandelbots_api_client/models/validation_error.py +3 -3
- wandelbots_api_client/models/validation_error2.py +3 -3
- wandelbots_api_client/models/vector3d.py +3 -3
- wandelbots_api_client/models/version_number.py +8 -8
- wandelbots_api_client/models/virtual_controller.py +5 -5
- wandelbots_api_client/models/virtual_controller_types.py +3 -0
- wandelbots_api_client/models/virtual_robot_configuration.py +2 -2
- wandelbots_api_client/models/yaskawa_controller.py +2 -2
- wandelbots_api_client/v2/__init__.py +1 -1
- wandelbots_api_client/v2/api/application_api.py +9 -9
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +928 -79
- wandelbots_api_client/v2/api/cell_api.py +6 -6
- wandelbots_api_client/v2/api/controller_api.py +33 -29
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +12 -10
- wandelbots_api_client/v2/api/jogging_api.py +6 -3
- wandelbots_api_client/v2/api/kinematics_api.py +12 -13
- wandelbots_api_client/v2/api/license_api.py +6 -6
- wandelbots_api_client/v2/api/motion_group_api.py +8 -6
- wandelbots_api_client/v2/api/motion_group_models_api.py +11 -47
- wandelbots_api_client/v2/api/store_collision_components_api.py +799 -25
- wandelbots_api_client/v2/api/store_collision_setups_api.py +262 -4
- wandelbots_api_client/v2/api/store_object_api.py +9 -9
- wandelbots_api_client/v2/api/trajectory_caching_api.py +12 -12
- wandelbots_api_client/v2/api/trajectory_execution_api.py +6 -3
- wandelbots_api_client/v2/api/trajectory_planning_api.py +15 -16
- wandelbots_api_client/v2/api/virtual_controller_api.py +51 -36
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +18 -9
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +3 -3
- wandelbots_api_client/v2/api_client.py +1 -1
- wandelbots_api_client/v2/configuration.py +1 -1
- wandelbots_api_client/v2/models/__init__.py +44 -26
- wandelbots_api_client/v2/models/abb_controller.py +6 -9
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +2 -2
- wandelbots_api_client/v2/models/activate_license_request.py +1 -1
- wandelbots_api_client/v2/models/add_trajectory_error.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +56 -56
- wandelbots_api_client/v2/models/add_trajectory_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_response.py +2 -2
- wandelbots_api_client/v2/models/app.py +9 -9
- wandelbots_api_client/v2/models/behavior.py +1 -1
- wandelbots_api_client/v2/models/blending_auto.py +4 -3
- wandelbots_api_client/v2/models/blending_position.py +2 -2
- wandelbots_api_client/v2/models/boolean_value.py +4 -7
- wandelbots_api_client/v2/models/box.py +5 -5
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +14 -14
- 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 +6 -9
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +2 -2
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +3 -3
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +3 -3
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +3 -6
- wandelbots_api_client/v2/models/bus_io_type.py +80 -8
- wandelbots_api_client/v2/models/bus_ios_state.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +3 -3
- wandelbots_api_client/v2/models/cartesian_limits.py +4 -4
- wandelbots_api_client/v2/models/cell.py +5 -5
- wandelbots_api_client/v2/models/collider.py +3 -3
- wandelbots_api_client/v2/models/collision.py +6 -6
- wandelbots_api_client/v2/models/collision_contact.py +2 -2
- wandelbots_api_client/v2/models/collision_error.py +1 -1
- wandelbots_api_client/v2/models/collision_setup.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +1 -1
- wandelbots_api_client/v2/models/configuration_resource.py +3 -3
- wandelbots_api_client/v2/models/container_environment_inner.py +2 -2
- wandelbots_api_client/v2/models/container_image.py +3 -3
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +1 -1
- wandelbots_api_client/v2/models/container_resources.py +2 -2
- wandelbots_api_client/v2/models/container_storage.py +2 -2
- wandelbots_api_client/v2/models/controller_description.py +4 -4
- wandelbots_api_client/v2/models/convex_hull.py +2 -2
- wandelbots_api_client/v2/models/coordinate_system.py +6 -6
- wandelbots_api_client/v2/models/coordinate_system_data.py +5 -5
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +2 -2
- wandelbots_api_client/v2/models/cycle_time.py +3 -2
- wandelbots_api_client/v2/models/cylinder.py +3 -3
- wandelbots_api_client/v2/models/dh_parameter.py +5 -5
- wandelbots_api_client/v2/models/error.py +2 -2
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +3 -3
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +4 -3
- wandelbots_api_client/v2/models/error_joint_position_collision.py +4 -4
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +2 -2
- wandelbots_api_client/v2/models/execute.py +2 -2
- wandelbots_api_client/v2/models/execute_jogging_request.py +28 -0
- wandelbots_api_client/v2/models/execute_jogging_response.py +25 -0
- wandelbots_api_client/v2/models/execute_trajectory_request.py +28 -0
- wandelbots_api_client/v2/models/execute_trajectory_response.py +25 -0
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +2 -2
- wandelbots_api_client/v2/models/external_joint_stream_request.py +1 -1
- wandelbots_api_client/v2/models/fanuc_controller.py +4 -7
- wandelbots_api_client/v2/models/feedback_collision.py +4 -4
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +5 -4
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +2 -2
- wandelbots_api_client/v2/models/feedback_singularity.py +3 -3
- wandelbots_api_client/v2/models/flag.py +1 -1
- wandelbots_api_client/v2/models/float_value.py +4 -7
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +1 -1
- wandelbots_api_client/v2/models/forward_kinematics_request.py +4 -4
- wandelbots_api_client/v2/models/forward_kinematics_response.py +1 -1
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +5 -5
- wandelbots_api_client/v2/models/get_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/http_validation_error.py +1 -1
- wandelbots_api_client/v2/models/image_credentials.py +3 -3
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +7 -7
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +7 -7
- wandelbots_api_client/v2/models/initialize_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/initialize_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_request.py +5 -8
- wandelbots_api_client/v2/models/initialize_movement_response.py +3 -3
- wandelbots_api_client/v2/models/integer_value.py +4 -7
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +7 -7
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +6 -6
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +1 -1
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +1 -1
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +5 -5
- wandelbots_api_client/v2/models/io_boolean_value.py +5 -8
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +8 -8
- wandelbots_api_client/v2/models/io_description.py +11 -11
- wandelbots_api_client/v2/models/io_float_value.py +5 -8
- wandelbots_api_client/v2/models/io_integer_value.py +5 -8
- wandelbots_api_client/v2/models/jogging_details.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +1 -1
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +2 -2
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +4 -3
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +1 -1
- wandelbots_api_client/v2/models/jogging_running.py +1 -1
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +5 -5
- wandelbots_api_client/v2/models/joint_limits.py +4 -4
- wandelbots_api_client/v2/models/joint_trajectory.py +3 -3
- wandelbots_api_client/v2/models/joint_velocity_request.py +4 -7
- wandelbots_api_client/v2/models/joint_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/kuka_controller.py +6 -9
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +2 -2
- wandelbots_api_client/v2/models/license.py +10 -10
- wandelbots_api_client/v2/models/license_status.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +2 -2
- wandelbots_api_client/v2/models/limit_set.py +5 -5
- wandelbots_api_client/v2/models/limits_override.py +6 -6
- wandelbots_api_client/v2/models/list_trajectories_response.py +1 -1
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +2 -2
- 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} +21 -26
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +3 -3
- wandelbots_api_client/v2/models/motion_group_description.py +12 -11
- wandelbots_api_client/v2/models/motion_group_info.py +5 -4
- wandelbots_api_client/v2/models/motion_group_joints.py +4 -4
- wandelbots_api_client/v2/models/motion_group_setup.py +9 -8
- wandelbots_api_client/v2/models/motion_group_state.py +16 -15
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +1 -1
- wandelbots_api_client/v2/models/movement_error_response.py +2 -2
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +7 -7
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +4 -4
- wandelbots_api_client/v2/models/op_mode.py +1 -1
- wandelbots_api_client/v2/models/operation_limits.py +4 -4
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_circle.py +3 -3
- wandelbots_api_client/v2/models/path_cubic_spline.py +2 -2
- wandelbots_api_client/v2/models/path_joint_ptp.py +2 -2
- wandelbots_api_client/v2/models/path_line.py +2 -2
- wandelbots_api_client/v2/models/pause_jogging_request.py +3 -6
- wandelbots_api_client/v2/models/pause_jogging_response.py +2 -2
- wandelbots_api_client/v2/models/pause_movement_request.py +3 -6
- wandelbots_api_client/v2/models/pause_movement_response.py +2 -2
- wandelbots_api_client/v2/models/pause_on_io.py +3 -3
- wandelbots_api_client/v2/models/payload.py +4 -4
- wandelbots_api_client/v2/models/plan422_response.py +1 -1
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +1 -1
- wandelbots_api_client/v2/models/plan_collision_free_request.py +4 -4
- wandelbots_api_client/v2/models/plan_collision_free_response.py +1 -1
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_request.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response.py +1 -1
- wandelbots_api_client/v2/models/plan_validation_error.py +5 -5
- wandelbots_api_client/v2/models/plane.py +1 -1
- wandelbots_api_client/v2/models/playback_speed_request.py +6 -8
- wandelbots_api_client/v2/models/playback_speed_response.py +2 -2
- wandelbots_api_client/v2/models/pose.py +2 -2
- wandelbots_api_client/v2/models/profinet_description.py +5 -5
- wandelbots_api_client/v2/models/profinet_input_output_config.py +3 -3
- 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 +1 -1
- wandelbots_api_client/v2/models/profinet_slot_description.py +4 -4
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +3 -3
- wandelbots_api_client/v2/models/program.py +6 -6
- wandelbots_api_client/v2/models/program_run.py +14 -12
- wandelbots_api_client/v2/models/program_start_request.py +1 -1
- wandelbots_api_client/v2/models/rectangle.py +3 -3
- wandelbots_api_client/v2/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/v2/models/robot_controller.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +11 -10
- wandelbots_api_client/v2/models/robot_tcp.py +5 -5
- wandelbots_api_client/v2/models/robot_tcp_data.py +4 -4
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +6 -6
- wandelbots_api_client/v2/models/service_status.py +3 -3
- wandelbots_api_client/v2/models/service_status_response.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +3 -3
- wandelbots_api_client/v2/models/set_io.py +3 -3
- wandelbots_api_client/v2/models/sphere.py +2 -2
- wandelbots_api_client/v2/models/start_movement_request.py +11 -12
- wandelbots_api_client/v2/models/start_movement_response.py +2 -2
- wandelbots_api_client/v2/models/start_on_io.py +3 -3
- wandelbots_api_client/v2/models/stream_io_values_response.py +5 -4
- wandelbots_api_client/v2/models/tcp_offset.py +2 -2
- wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +4 -4
- wandelbots_api_client/v2/models/tcp_velocity_request.py +5 -8
- wandelbots_api_client/v2/models/tcp_velocity_response.py +2 -2
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +6 -6
- wandelbots_api_client/v2/models/trajectory_data.py +5 -5
- wandelbots_api_client/v2/models/trajectory_details.py +4 -4
- wandelbots_api_client/v2/models/trajectory_ended.py +1 -1
- wandelbots_api_client/v2/models/trajectory_id.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +1 -1
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +1 -1
- wandelbots_api_client/v2/models/trajectory_running.py +4 -3
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +1 -1
- wandelbots_api_client/v2/models/universalrobots_controller.py +4 -7
- wandelbots_api_client/v2/models/update_nova_version_request.py +1 -1
- wandelbots_api_client/v2/models/validation_error.py +4 -4
- wandelbots_api_client/v2/models/validation_error2.py +3 -3
- wandelbots_api_client/v2/models/virtual_controller.py +6 -9
- wandelbots_api_client/v2/models/virtual_controller_types.py +3 -0
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +2 -2
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +2 -2
- wandelbots_api_client/v2/models/yaskawa_controller.py +4 -7
- wandelbots_api_client/v2_pydantic/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +49 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1822 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4652 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2025 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3758 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1408 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +126 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +649 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1074 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +740 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +570 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1200 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4216 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1435 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1738 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2454 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1524 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +126 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +649 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4656 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +1001 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1022 -0
- wandelbots_api_client/v2_pydantic/api_client.py +810 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +595 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4547 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +212 -0
- {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/METADATA +16 -15
- wandelbots_api_client-25.10.0.dev47.dist-info/RECORD +636 -0
- wandelbots_api_client-25.8.0.dev88.dist-info/RECORD +0 -597
- {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.8.0.dev88.dist-info → wandelbots_api_client-25.10.0.dev47.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2025 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way. > **Note:** API version 2 is experimental and will experience functional changes.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.0.0 beta
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from furl import furl
|
|
16
|
+
import json
|
|
17
|
+
import humps
|
|
18
|
+
import re
|
|
19
|
+
import warnings
|
|
20
|
+
import websockets
|
|
21
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
22
|
+
from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
|
|
23
|
+
from typing_extensions import Annotated
|
|
24
|
+
from urllib.parse import quote
|
|
25
|
+
|
|
26
|
+
from pydantic import Field, StrictStr
|
|
27
|
+
from typing import List, Optional
|
|
28
|
+
from typing_extensions import Annotated
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.models import Cell
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.models import OperatingState
|
|
31
|
+
from wandelbots_api_client.v2_pydantic.models import ServiceStatusResponse
|
|
32
|
+
|
|
33
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
34
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
35
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
36
|
+
|
|
37
|
+
class CellApi:
|
|
38
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
39
|
+
Ref: https://openapi-generator.tech
|
|
40
|
+
|
|
41
|
+
Do not edit the class manually.
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None) -> None:
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient.get_default()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
@validate_call
|
|
50
|
+
async def delete_cell(
|
|
51
|
+
self,
|
|
52
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
53
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
54
|
+
_request_timeout: Union[
|
|
55
|
+
None,
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Tuple[
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
60
|
+
]
|
|
61
|
+
] = None,
|
|
62
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_content_type: Optional[StrictStr] = None,
|
|
64
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
66
|
+
) -> None:
|
|
67
|
+
"""Delete Cell
|
|
68
|
+
|
|
69
|
+
Delete an entire cell.
|
|
70
|
+
|
|
71
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
72
|
+
:type cell: str
|
|
73
|
+
:param completion_timeout:
|
|
74
|
+
:type completion_timeout: int
|
|
75
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
76
|
+
number provided, it will be total request
|
|
77
|
+
timeout. It can also be a pair (tuple) of
|
|
78
|
+
(connection, read) timeouts.
|
|
79
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
80
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
81
|
+
request; this effectively ignores the
|
|
82
|
+
authentication in the spec for a single request.
|
|
83
|
+
:type _request_auth: dict, optional
|
|
84
|
+
:param _content_type: force content-type for the request.
|
|
85
|
+
:type _content_type: str, Optional
|
|
86
|
+
:param _headers: set to override the headers for a single
|
|
87
|
+
request; this effectively ignores the headers
|
|
88
|
+
in the spec for a single request.
|
|
89
|
+
:type _headers: dict, optional
|
|
90
|
+
:param _host_index: set to override the host_index for a single
|
|
91
|
+
request; this effectively ignores the host_index
|
|
92
|
+
in the spec for a single request.
|
|
93
|
+
:type _host_index: int, optional
|
|
94
|
+
:return: Returns the result object.
|
|
95
|
+
""" # noqa: E501
|
|
96
|
+
|
|
97
|
+
_param = self._delete_cell_serialize(
|
|
98
|
+
cell=cell,
|
|
99
|
+
completion_timeout=completion_timeout,
|
|
100
|
+
_request_auth=_request_auth,
|
|
101
|
+
_content_type=_content_type,
|
|
102
|
+
_headers=_headers,
|
|
103
|
+
_host_index=_host_index
|
|
104
|
+
)
|
|
105
|
+
|
|
106
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
107
|
+
'200': None,
|
|
108
|
+
'202': None,
|
|
109
|
+
'404': "Error",
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
response_data = await self.api_client.call_api(
|
|
114
|
+
*_param,
|
|
115
|
+
_request_timeout=_request_timeout
|
|
116
|
+
)
|
|
117
|
+
await response_data.read()
|
|
118
|
+
return self.api_client.response_deserialize(
|
|
119
|
+
response_data=response_data,
|
|
120
|
+
response_types_map=_response_types_map,
|
|
121
|
+
).data
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
@validate_call
|
|
125
|
+
async def delete_cell_with_http_info(
|
|
126
|
+
self,
|
|
127
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
128
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
129
|
+
_request_timeout: Union[
|
|
130
|
+
None,
|
|
131
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
132
|
+
Tuple[
|
|
133
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
134
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
135
|
+
]
|
|
136
|
+
] = None,
|
|
137
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
138
|
+
_content_type: Optional[StrictStr] = None,
|
|
139
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
140
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
141
|
+
) -> ApiResponse[None]:
|
|
142
|
+
"""Delete Cell
|
|
143
|
+
|
|
144
|
+
Delete an entire cell.
|
|
145
|
+
|
|
146
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
147
|
+
:type cell: str
|
|
148
|
+
:param completion_timeout:
|
|
149
|
+
:type completion_timeout: int
|
|
150
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
151
|
+
number provided, it will be total request
|
|
152
|
+
timeout. It can also be a pair (tuple) of
|
|
153
|
+
(connection, read) timeouts.
|
|
154
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
155
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
156
|
+
request; this effectively ignores the
|
|
157
|
+
authentication in the spec for a single request.
|
|
158
|
+
:type _request_auth: dict, optional
|
|
159
|
+
:param _content_type: force content-type for the request.
|
|
160
|
+
:type _content_type: str, Optional
|
|
161
|
+
:param _headers: set to override the headers for a single
|
|
162
|
+
request; this effectively ignores the headers
|
|
163
|
+
in the spec for a single request.
|
|
164
|
+
:type _headers: dict, optional
|
|
165
|
+
:param _host_index: set to override the host_index for a single
|
|
166
|
+
request; this effectively ignores the host_index
|
|
167
|
+
in the spec for a single request.
|
|
168
|
+
:type _host_index: int, optional
|
|
169
|
+
:return: Returns the result object.
|
|
170
|
+
""" # noqa: E501
|
|
171
|
+
|
|
172
|
+
_param = self._delete_cell_serialize(
|
|
173
|
+
cell=cell,
|
|
174
|
+
completion_timeout=completion_timeout,
|
|
175
|
+
_request_auth=_request_auth,
|
|
176
|
+
_content_type=_content_type,
|
|
177
|
+
_headers=_headers,
|
|
178
|
+
_host_index=_host_index
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
182
|
+
'200': None,
|
|
183
|
+
'202': None,
|
|
184
|
+
'404': "Error",
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
response_data = await self.api_client.call_api(
|
|
189
|
+
*_param,
|
|
190
|
+
_request_timeout=_request_timeout
|
|
191
|
+
)
|
|
192
|
+
await response_data.read()
|
|
193
|
+
return self.api_client.response_deserialize(
|
|
194
|
+
response_data=response_data,
|
|
195
|
+
response_types_map=_response_types_map,
|
|
196
|
+
)
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
@validate_call
|
|
200
|
+
async def delete_cell_without_preload_content(
|
|
201
|
+
self,
|
|
202
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
203
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
204
|
+
_request_timeout: Union[
|
|
205
|
+
None,
|
|
206
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
207
|
+
Tuple[
|
|
208
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
209
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
210
|
+
]
|
|
211
|
+
] = None,
|
|
212
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
213
|
+
_content_type: Optional[StrictStr] = None,
|
|
214
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
215
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
216
|
+
) -> RESTResponseType:
|
|
217
|
+
"""Delete Cell
|
|
218
|
+
|
|
219
|
+
Delete an entire cell.
|
|
220
|
+
|
|
221
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
222
|
+
:type cell: str
|
|
223
|
+
:param completion_timeout:
|
|
224
|
+
:type completion_timeout: int
|
|
225
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
226
|
+
number provided, it will be total request
|
|
227
|
+
timeout. It can also be a pair (tuple) of
|
|
228
|
+
(connection, read) timeouts.
|
|
229
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
230
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
231
|
+
request; this effectively ignores the
|
|
232
|
+
authentication in the spec for a single request.
|
|
233
|
+
:type _request_auth: dict, optional
|
|
234
|
+
:param _content_type: force content-type for the request.
|
|
235
|
+
:type _content_type: str, Optional
|
|
236
|
+
:param _headers: set to override the headers for a single
|
|
237
|
+
request; this effectively ignores the headers
|
|
238
|
+
in the spec for a single request.
|
|
239
|
+
:type _headers: dict, optional
|
|
240
|
+
:param _host_index: set to override the host_index for a single
|
|
241
|
+
request; this effectively ignores the host_index
|
|
242
|
+
in the spec for a single request.
|
|
243
|
+
:type _host_index: int, optional
|
|
244
|
+
:return: Returns the result object.
|
|
245
|
+
""" # noqa: E501
|
|
246
|
+
|
|
247
|
+
_param = self._delete_cell_serialize(
|
|
248
|
+
cell=cell,
|
|
249
|
+
completion_timeout=completion_timeout,
|
|
250
|
+
_request_auth=_request_auth,
|
|
251
|
+
_content_type=_content_type,
|
|
252
|
+
_headers=_headers,
|
|
253
|
+
_host_index=_host_index
|
|
254
|
+
)
|
|
255
|
+
|
|
256
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
257
|
+
'200': None,
|
|
258
|
+
'202': None,
|
|
259
|
+
'404': "Error",
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
response_data = await self.api_client.call_api(
|
|
264
|
+
*_param,
|
|
265
|
+
_request_timeout=_request_timeout
|
|
266
|
+
)
|
|
267
|
+
return response_data.response
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
def _delete_cell_serialize(
|
|
271
|
+
self,
|
|
272
|
+
cell,
|
|
273
|
+
completion_timeout,
|
|
274
|
+
_request_auth,
|
|
275
|
+
_content_type,
|
|
276
|
+
_headers,
|
|
277
|
+
_host_index,
|
|
278
|
+
) -> RequestSerialized:
|
|
279
|
+
|
|
280
|
+
_host = None
|
|
281
|
+
|
|
282
|
+
_collection_formats: Dict[str, str] = {
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
_path_params: Dict[str, str] = {}
|
|
286
|
+
_query_params: List[Tuple[str, str]] = []
|
|
287
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
288
|
+
_form_params: List[Tuple[str, str]] = []
|
|
289
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
290
|
+
_body_params: Optional[bytes] = None
|
|
291
|
+
|
|
292
|
+
# process the path parameters
|
|
293
|
+
if cell is not None:
|
|
294
|
+
_path_params['cell'] = cell
|
|
295
|
+
# process the query parameters
|
|
296
|
+
if completion_timeout is not None:
|
|
297
|
+
|
|
298
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
299
|
+
|
|
300
|
+
# process the header parameters
|
|
301
|
+
# process the form parameters
|
|
302
|
+
# process the body parameter
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
# set the HTTP header `Accept`
|
|
306
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
307
|
+
[
|
|
308
|
+
'application/json'
|
|
309
|
+
]
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
# authentication setting
|
|
314
|
+
_auth_settings: List[str] = [
|
|
315
|
+
'BasicAuth',
|
|
316
|
+
'BearerAuth'
|
|
317
|
+
]
|
|
318
|
+
|
|
319
|
+
return self.api_client.param_serialize(
|
|
320
|
+
method='DELETE',
|
|
321
|
+
resource_path='/cells/{cell}',
|
|
322
|
+
path_params=_path_params,
|
|
323
|
+
query_params=_query_params,
|
|
324
|
+
header_params=_header_params,
|
|
325
|
+
body=_body_params,
|
|
326
|
+
post_params=_form_params,
|
|
327
|
+
files=_files,
|
|
328
|
+
auth_settings=_auth_settings,
|
|
329
|
+
collection_formats=_collection_formats,
|
|
330
|
+
_host=_host,
|
|
331
|
+
_request_auth=_request_auth
|
|
332
|
+
)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
@validate_call
|
|
337
|
+
async def deploy_cell(
|
|
338
|
+
self,
|
|
339
|
+
cell: Cell,
|
|
340
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
341
|
+
_request_timeout: Union[
|
|
342
|
+
None,
|
|
343
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
344
|
+
Tuple[
|
|
345
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
346
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
347
|
+
]
|
|
348
|
+
] = None,
|
|
349
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
350
|
+
_content_type: Optional[StrictStr] = None,
|
|
351
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
352
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
353
|
+
) -> None:
|
|
354
|
+
"""Add Cell
|
|
355
|
+
|
|
356
|
+
Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
|
|
357
|
+
|
|
358
|
+
:param cell: (required)
|
|
359
|
+
:type cell: Cell
|
|
360
|
+
:param completion_timeout:
|
|
361
|
+
:type completion_timeout: int
|
|
362
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
363
|
+
number provided, it will be total request
|
|
364
|
+
timeout. It can also be a pair (tuple) of
|
|
365
|
+
(connection, read) timeouts.
|
|
366
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
367
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
368
|
+
request; this effectively ignores the
|
|
369
|
+
authentication in the spec for a single request.
|
|
370
|
+
:type _request_auth: dict, optional
|
|
371
|
+
:param _content_type: force content-type for the request.
|
|
372
|
+
:type _content_type: str, Optional
|
|
373
|
+
:param _headers: set to override the headers for a single
|
|
374
|
+
request; this effectively ignores the headers
|
|
375
|
+
in the spec for a single request.
|
|
376
|
+
:type _headers: dict, optional
|
|
377
|
+
:param _host_index: set to override the host_index for a single
|
|
378
|
+
request; this effectively ignores the host_index
|
|
379
|
+
in the spec for a single request.
|
|
380
|
+
:type _host_index: int, optional
|
|
381
|
+
:return: Returns the result object.
|
|
382
|
+
""" # noqa: E501
|
|
383
|
+
|
|
384
|
+
_param = self._deploy_cell_serialize(
|
|
385
|
+
cell=cell,
|
|
386
|
+
completion_timeout=completion_timeout,
|
|
387
|
+
_request_auth=_request_auth,
|
|
388
|
+
_content_type=_content_type,
|
|
389
|
+
_headers=_headers,
|
|
390
|
+
_host_index=_host_index
|
|
391
|
+
)
|
|
392
|
+
|
|
393
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
394
|
+
'200': None,
|
|
395
|
+
'202': None,
|
|
396
|
+
'403': "Error",
|
|
397
|
+
'409': None,
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
response_data = await self.api_client.call_api(
|
|
402
|
+
*_param,
|
|
403
|
+
_request_timeout=_request_timeout
|
|
404
|
+
)
|
|
405
|
+
await response_data.read()
|
|
406
|
+
return self.api_client.response_deserialize(
|
|
407
|
+
response_data=response_data,
|
|
408
|
+
response_types_map=_response_types_map,
|
|
409
|
+
).data
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
@validate_call
|
|
413
|
+
async def deploy_cell_with_http_info(
|
|
414
|
+
self,
|
|
415
|
+
cell: Cell,
|
|
416
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
417
|
+
_request_timeout: Union[
|
|
418
|
+
None,
|
|
419
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
420
|
+
Tuple[
|
|
421
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
422
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
423
|
+
]
|
|
424
|
+
] = None,
|
|
425
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
426
|
+
_content_type: Optional[StrictStr] = None,
|
|
427
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
428
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
429
|
+
) -> ApiResponse[None]:
|
|
430
|
+
"""Add Cell
|
|
431
|
+
|
|
432
|
+
Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
|
|
433
|
+
|
|
434
|
+
:param cell: (required)
|
|
435
|
+
:type cell: Cell
|
|
436
|
+
:param completion_timeout:
|
|
437
|
+
:type completion_timeout: int
|
|
438
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
439
|
+
number provided, it will be total request
|
|
440
|
+
timeout. It can also be a pair (tuple) of
|
|
441
|
+
(connection, read) timeouts.
|
|
442
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
443
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
444
|
+
request; this effectively ignores the
|
|
445
|
+
authentication in the spec for a single request.
|
|
446
|
+
:type _request_auth: dict, optional
|
|
447
|
+
:param _content_type: force content-type for the request.
|
|
448
|
+
:type _content_type: str, Optional
|
|
449
|
+
:param _headers: set to override the headers for a single
|
|
450
|
+
request; this effectively ignores the headers
|
|
451
|
+
in the spec for a single request.
|
|
452
|
+
:type _headers: dict, optional
|
|
453
|
+
:param _host_index: set to override the host_index for a single
|
|
454
|
+
request; this effectively ignores the host_index
|
|
455
|
+
in the spec for a single request.
|
|
456
|
+
:type _host_index: int, optional
|
|
457
|
+
:return: Returns the result object.
|
|
458
|
+
""" # noqa: E501
|
|
459
|
+
|
|
460
|
+
_param = self._deploy_cell_serialize(
|
|
461
|
+
cell=cell,
|
|
462
|
+
completion_timeout=completion_timeout,
|
|
463
|
+
_request_auth=_request_auth,
|
|
464
|
+
_content_type=_content_type,
|
|
465
|
+
_headers=_headers,
|
|
466
|
+
_host_index=_host_index
|
|
467
|
+
)
|
|
468
|
+
|
|
469
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
470
|
+
'200': None,
|
|
471
|
+
'202': None,
|
|
472
|
+
'403': "Error",
|
|
473
|
+
'409': None,
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
response_data = await self.api_client.call_api(
|
|
478
|
+
*_param,
|
|
479
|
+
_request_timeout=_request_timeout
|
|
480
|
+
)
|
|
481
|
+
await response_data.read()
|
|
482
|
+
return self.api_client.response_deserialize(
|
|
483
|
+
response_data=response_data,
|
|
484
|
+
response_types_map=_response_types_map,
|
|
485
|
+
)
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
@validate_call
|
|
489
|
+
async def deploy_cell_without_preload_content(
|
|
490
|
+
self,
|
|
491
|
+
cell: Cell,
|
|
492
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
493
|
+
_request_timeout: Union[
|
|
494
|
+
None,
|
|
495
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
496
|
+
Tuple[
|
|
497
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
498
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
499
|
+
]
|
|
500
|
+
] = None,
|
|
501
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
502
|
+
_content_type: Optional[StrictStr] = None,
|
|
503
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
504
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
505
|
+
) -> RESTResponseType:
|
|
506
|
+
"""Add Cell
|
|
507
|
+
|
|
508
|
+
Deploy an entire cell with all its resources. A cell can be used to deploy a robot controller, one or more robots, as well as custom applications. Refer to the [Wandelbots NOVA documentation](https://docs.wandelbots.io/latest/setup-cell) for more information.
|
|
509
|
+
|
|
510
|
+
:param cell: (required)
|
|
511
|
+
:type cell: Cell
|
|
512
|
+
:param completion_timeout:
|
|
513
|
+
:type completion_timeout: int
|
|
514
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
515
|
+
number provided, it will be total request
|
|
516
|
+
timeout. It can also be a pair (tuple) of
|
|
517
|
+
(connection, read) timeouts.
|
|
518
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
519
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
520
|
+
request; this effectively ignores the
|
|
521
|
+
authentication in the spec for a single request.
|
|
522
|
+
:type _request_auth: dict, optional
|
|
523
|
+
:param _content_type: force content-type for the request.
|
|
524
|
+
:type _content_type: str, Optional
|
|
525
|
+
:param _headers: set to override the headers for a single
|
|
526
|
+
request; this effectively ignores the headers
|
|
527
|
+
in the spec for a single request.
|
|
528
|
+
:type _headers: dict, optional
|
|
529
|
+
:param _host_index: set to override the host_index for a single
|
|
530
|
+
request; this effectively ignores the host_index
|
|
531
|
+
in the spec for a single request.
|
|
532
|
+
:type _host_index: int, optional
|
|
533
|
+
:return: Returns the result object.
|
|
534
|
+
""" # noqa: E501
|
|
535
|
+
|
|
536
|
+
_param = self._deploy_cell_serialize(
|
|
537
|
+
cell=cell,
|
|
538
|
+
completion_timeout=completion_timeout,
|
|
539
|
+
_request_auth=_request_auth,
|
|
540
|
+
_content_type=_content_type,
|
|
541
|
+
_headers=_headers,
|
|
542
|
+
_host_index=_host_index
|
|
543
|
+
)
|
|
544
|
+
|
|
545
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
546
|
+
'200': None,
|
|
547
|
+
'202': None,
|
|
548
|
+
'403': "Error",
|
|
549
|
+
'409': None,
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
response_data = await self.api_client.call_api(
|
|
554
|
+
*_param,
|
|
555
|
+
_request_timeout=_request_timeout
|
|
556
|
+
)
|
|
557
|
+
return response_data.response
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
def _deploy_cell_serialize(
|
|
561
|
+
self,
|
|
562
|
+
cell,
|
|
563
|
+
completion_timeout,
|
|
564
|
+
_request_auth,
|
|
565
|
+
_content_type,
|
|
566
|
+
_headers,
|
|
567
|
+
_host_index,
|
|
568
|
+
) -> RequestSerialized:
|
|
569
|
+
|
|
570
|
+
_host = None
|
|
571
|
+
|
|
572
|
+
_collection_formats: Dict[str, str] = {
|
|
573
|
+
}
|
|
574
|
+
|
|
575
|
+
_path_params: Dict[str, str] = {}
|
|
576
|
+
_query_params: List[Tuple[str, str]] = []
|
|
577
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
578
|
+
_form_params: List[Tuple[str, str]] = []
|
|
579
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
580
|
+
_body_params: Optional[bytes] = None
|
|
581
|
+
|
|
582
|
+
# process the path parameters
|
|
583
|
+
# process the query parameters
|
|
584
|
+
if completion_timeout is not None:
|
|
585
|
+
|
|
586
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
587
|
+
|
|
588
|
+
# process the header parameters
|
|
589
|
+
# process the form parameters
|
|
590
|
+
# process the body parameter
|
|
591
|
+
if cell is not None:
|
|
592
|
+
_body_params = cell
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
# set the HTTP header `Accept`
|
|
596
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
597
|
+
[
|
|
598
|
+
'application/json'
|
|
599
|
+
]
|
|
600
|
+
)
|
|
601
|
+
|
|
602
|
+
# set the HTTP header `Content-Type`
|
|
603
|
+
if _content_type:
|
|
604
|
+
_header_params['Content-Type'] = _content_type
|
|
605
|
+
else:
|
|
606
|
+
_default_content_type = (
|
|
607
|
+
self.api_client.select_header_content_type(
|
|
608
|
+
[
|
|
609
|
+
'application/json'
|
|
610
|
+
]
|
|
611
|
+
)
|
|
612
|
+
)
|
|
613
|
+
if _default_content_type is not None:
|
|
614
|
+
_header_params['Content-Type'] = _default_content_type
|
|
615
|
+
|
|
616
|
+
# authentication setting
|
|
617
|
+
_auth_settings: List[str] = [
|
|
618
|
+
'BasicAuth',
|
|
619
|
+
'BearerAuth'
|
|
620
|
+
]
|
|
621
|
+
|
|
622
|
+
return self.api_client.param_serialize(
|
|
623
|
+
method='POST',
|
|
624
|
+
resource_path='/cells',
|
|
625
|
+
path_params=_path_params,
|
|
626
|
+
query_params=_query_params,
|
|
627
|
+
header_params=_header_params,
|
|
628
|
+
body=_body_params,
|
|
629
|
+
post_params=_form_params,
|
|
630
|
+
files=_files,
|
|
631
|
+
auth_settings=_auth_settings,
|
|
632
|
+
collection_formats=_collection_formats,
|
|
633
|
+
_host=_host,
|
|
634
|
+
_request_auth=_request_auth
|
|
635
|
+
)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
@validate_call
|
|
640
|
+
async def get_cell(
|
|
641
|
+
self,
|
|
642
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
643
|
+
_request_timeout: Union[
|
|
644
|
+
None,
|
|
645
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
646
|
+
Tuple[
|
|
647
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
648
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
649
|
+
]
|
|
650
|
+
] = None,
|
|
651
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
652
|
+
_content_type: Optional[StrictStr] = None,
|
|
653
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
654
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
655
|
+
) -> Cell:
|
|
656
|
+
"""Configuration
|
|
657
|
+
|
|
658
|
+
List all cell resources.
|
|
659
|
+
|
|
660
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
661
|
+
:type cell: str
|
|
662
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
663
|
+
number provided, it will be total request
|
|
664
|
+
timeout. It can also be a pair (tuple) of
|
|
665
|
+
(connection, read) timeouts.
|
|
666
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
667
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
668
|
+
request; this effectively ignores the
|
|
669
|
+
authentication in the spec for a single request.
|
|
670
|
+
:type _request_auth: dict, optional
|
|
671
|
+
:param _content_type: force content-type for the request.
|
|
672
|
+
:type _content_type: str, Optional
|
|
673
|
+
:param _headers: set to override the headers for a single
|
|
674
|
+
request; this effectively ignores the headers
|
|
675
|
+
in the spec for a single request.
|
|
676
|
+
:type _headers: dict, optional
|
|
677
|
+
:param _host_index: set to override the host_index for a single
|
|
678
|
+
request; this effectively ignores the host_index
|
|
679
|
+
in the spec for a single request.
|
|
680
|
+
:type _host_index: int, optional
|
|
681
|
+
:return: Returns the result object.
|
|
682
|
+
""" # noqa: E501
|
|
683
|
+
|
|
684
|
+
_param = self._get_cell_serialize(
|
|
685
|
+
cell=cell,
|
|
686
|
+
_request_auth=_request_auth,
|
|
687
|
+
_content_type=_content_type,
|
|
688
|
+
_headers=_headers,
|
|
689
|
+
_host_index=_host_index
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
693
|
+
'200': "Cell",
|
|
694
|
+
'404': "Error",
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
response_data = await self.api_client.call_api(
|
|
699
|
+
*_param,
|
|
700
|
+
_request_timeout=_request_timeout
|
|
701
|
+
)
|
|
702
|
+
await response_data.read()
|
|
703
|
+
return self.api_client.response_deserialize(
|
|
704
|
+
response_data=response_data,
|
|
705
|
+
response_types_map=_response_types_map,
|
|
706
|
+
).data
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
@validate_call
|
|
710
|
+
async def get_cell_with_http_info(
|
|
711
|
+
self,
|
|
712
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
713
|
+
_request_timeout: Union[
|
|
714
|
+
None,
|
|
715
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
716
|
+
Tuple[
|
|
717
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
718
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
719
|
+
]
|
|
720
|
+
] = None,
|
|
721
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
722
|
+
_content_type: Optional[StrictStr] = None,
|
|
723
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
724
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
725
|
+
) -> ApiResponse[Cell]:
|
|
726
|
+
"""Configuration
|
|
727
|
+
|
|
728
|
+
List all cell resources.
|
|
729
|
+
|
|
730
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
731
|
+
:type cell: str
|
|
732
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
733
|
+
number provided, it will be total request
|
|
734
|
+
timeout. It can also be a pair (tuple) of
|
|
735
|
+
(connection, read) timeouts.
|
|
736
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
737
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
738
|
+
request; this effectively ignores the
|
|
739
|
+
authentication in the spec for a single request.
|
|
740
|
+
:type _request_auth: dict, optional
|
|
741
|
+
:param _content_type: force content-type for the request.
|
|
742
|
+
:type _content_type: str, Optional
|
|
743
|
+
:param _headers: set to override the headers for a single
|
|
744
|
+
request; this effectively ignores the headers
|
|
745
|
+
in the spec for a single request.
|
|
746
|
+
:type _headers: dict, optional
|
|
747
|
+
:param _host_index: set to override the host_index for a single
|
|
748
|
+
request; this effectively ignores the host_index
|
|
749
|
+
in the spec for a single request.
|
|
750
|
+
:type _host_index: int, optional
|
|
751
|
+
:return: Returns the result object.
|
|
752
|
+
""" # noqa: E501
|
|
753
|
+
|
|
754
|
+
_param = self._get_cell_serialize(
|
|
755
|
+
cell=cell,
|
|
756
|
+
_request_auth=_request_auth,
|
|
757
|
+
_content_type=_content_type,
|
|
758
|
+
_headers=_headers,
|
|
759
|
+
_host_index=_host_index
|
|
760
|
+
)
|
|
761
|
+
|
|
762
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
763
|
+
'200': "Cell",
|
|
764
|
+
'404': "Error",
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
response_data = await self.api_client.call_api(
|
|
769
|
+
*_param,
|
|
770
|
+
_request_timeout=_request_timeout
|
|
771
|
+
)
|
|
772
|
+
await response_data.read()
|
|
773
|
+
return self.api_client.response_deserialize(
|
|
774
|
+
response_data=response_data,
|
|
775
|
+
response_types_map=_response_types_map,
|
|
776
|
+
)
|
|
777
|
+
|
|
778
|
+
|
|
779
|
+
@validate_call
|
|
780
|
+
async def get_cell_without_preload_content(
|
|
781
|
+
self,
|
|
782
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
783
|
+
_request_timeout: Union[
|
|
784
|
+
None,
|
|
785
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
786
|
+
Tuple[
|
|
787
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
788
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
789
|
+
]
|
|
790
|
+
] = None,
|
|
791
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
792
|
+
_content_type: Optional[StrictStr] = None,
|
|
793
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
794
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
795
|
+
) -> RESTResponseType:
|
|
796
|
+
"""Configuration
|
|
797
|
+
|
|
798
|
+
List all cell resources.
|
|
799
|
+
|
|
800
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
801
|
+
:type cell: str
|
|
802
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
803
|
+
number provided, it will be total request
|
|
804
|
+
timeout. It can also be a pair (tuple) of
|
|
805
|
+
(connection, read) timeouts.
|
|
806
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
807
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
808
|
+
request; this effectively ignores the
|
|
809
|
+
authentication in the spec for a single request.
|
|
810
|
+
:type _request_auth: dict, optional
|
|
811
|
+
:param _content_type: force content-type for the request.
|
|
812
|
+
:type _content_type: str, Optional
|
|
813
|
+
:param _headers: set to override the headers for a single
|
|
814
|
+
request; this effectively ignores the headers
|
|
815
|
+
in the spec for a single request.
|
|
816
|
+
:type _headers: dict, optional
|
|
817
|
+
:param _host_index: set to override the host_index for a single
|
|
818
|
+
request; this effectively ignores the host_index
|
|
819
|
+
in the spec for a single request.
|
|
820
|
+
:type _host_index: int, optional
|
|
821
|
+
:return: Returns the result object.
|
|
822
|
+
""" # noqa: E501
|
|
823
|
+
|
|
824
|
+
_param = self._get_cell_serialize(
|
|
825
|
+
cell=cell,
|
|
826
|
+
_request_auth=_request_auth,
|
|
827
|
+
_content_type=_content_type,
|
|
828
|
+
_headers=_headers,
|
|
829
|
+
_host_index=_host_index
|
|
830
|
+
)
|
|
831
|
+
|
|
832
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
833
|
+
'200': "Cell",
|
|
834
|
+
'404': "Error",
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
response_data = await self.api_client.call_api(
|
|
839
|
+
*_param,
|
|
840
|
+
_request_timeout=_request_timeout
|
|
841
|
+
)
|
|
842
|
+
return response_data.response
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
def _get_cell_serialize(
|
|
846
|
+
self,
|
|
847
|
+
cell,
|
|
848
|
+
_request_auth,
|
|
849
|
+
_content_type,
|
|
850
|
+
_headers,
|
|
851
|
+
_host_index,
|
|
852
|
+
) -> RequestSerialized:
|
|
853
|
+
|
|
854
|
+
_host = None
|
|
855
|
+
|
|
856
|
+
_collection_formats: Dict[str, str] = {
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
_path_params: Dict[str, str] = {}
|
|
860
|
+
_query_params: List[Tuple[str, str]] = []
|
|
861
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
862
|
+
_form_params: List[Tuple[str, str]] = []
|
|
863
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
864
|
+
_body_params: Optional[bytes] = None
|
|
865
|
+
|
|
866
|
+
# process the path parameters
|
|
867
|
+
if cell is not None:
|
|
868
|
+
_path_params['cell'] = cell
|
|
869
|
+
# process the query parameters
|
|
870
|
+
# process the header parameters
|
|
871
|
+
# process the form parameters
|
|
872
|
+
# process the body parameter
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
# set the HTTP header `Accept`
|
|
876
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
877
|
+
[
|
|
878
|
+
'application/json'
|
|
879
|
+
]
|
|
880
|
+
)
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
# authentication setting
|
|
884
|
+
_auth_settings: List[str] = [
|
|
885
|
+
'BasicAuth',
|
|
886
|
+
'BearerAuth'
|
|
887
|
+
]
|
|
888
|
+
|
|
889
|
+
return self.api_client.param_serialize(
|
|
890
|
+
method='GET',
|
|
891
|
+
resource_path='/cells/{cell}',
|
|
892
|
+
path_params=_path_params,
|
|
893
|
+
query_params=_query_params,
|
|
894
|
+
header_params=_header_params,
|
|
895
|
+
body=_body_params,
|
|
896
|
+
post_params=_form_params,
|
|
897
|
+
files=_files,
|
|
898
|
+
auth_settings=_auth_settings,
|
|
899
|
+
collection_formats=_collection_formats,
|
|
900
|
+
_host=_host,
|
|
901
|
+
_request_auth=_request_auth
|
|
902
|
+
)
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
@validate_call
|
|
907
|
+
async def get_cell_status(
|
|
908
|
+
self,
|
|
909
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
910
|
+
_request_timeout: Union[
|
|
911
|
+
None,
|
|
912
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
913
|
+
Tuple[
|
|
914
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
915
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
916
|
+
]
|
|
917
|
+
] = None,
|
|
918
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
919
|
+
_content_type: Optional[StrictStr] = None,
|
|
920
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
921
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
922
|
+
) -> ServiceStatusResponse:
|
|
923
|
+
"""Service Status
|
|
924
|
+
|
|
925
|
+
List the status of all cell resources.
|
|
926
|
+
|
|
927
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
928
|
+
:type cell: str
|
|
929
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
930
|
+
number provided, it will be total request
|
|
931
|
+
timeout. It can also be a pair (tuple) of
|
|
932
|
+
(connection, read) timeouts.
|
|
933
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
934
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
935
|
+
request; this effectively ignores the
|
|
936
|
+
authentication in the spec for a single request.
|
|
937
|
+
:type _request_auth: dict, optional
|
|
938
|
+
:param _content_type: force content-type for the request.
|
|
939
|
+
:type _content_type: str, Optional
|
|
940
|
+
:param _headers: set to override the headers for a single
|
|
941
|
+
request; this effectively ignores the headers
|
|
942
|
+
in the spec for a single request.
|
|
943
|
+
:type _headers: dict, optional
|
|
944
|
+
:param _host_index: set to override the host_index for a single
|
|
945
|
+
request; this effectively ignores the host_index
|
|
946
|
+
in the spec for a single request.
|
|
947
|
+
:type _host_index: int, optional
|
|
948
|
+
:return: Returns the result object.
|
|
949
|
+
""" # noqa: E501
|
|
950
|
+
|
|
951
|
+
_param = self._get_cell_status_serialize(
|
|
952
|
+
cell=cell,
|
|
953
|
+
_request_auth=_request_auth,
|
|
954
|
+
_content_type=_content_type,
|
|
955
|
+
_headers=_headers,
|
|
956
|
+
_host_index=_host_index
|
|
957
|
+
)
|
|
958
|
+
|
|
959
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
960
|
+
'200': "ServiceStatusResponse",
|
|
961
|
+
'404': "Error",
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
|
|
965
|
+
response_data = await self.api_client.call_api(
|
|
966
|
+
*_param,
|
|
967
|
+
_request_timeout=_request_timeout
|
|
968
|
+
)
|
|
969
|
+
await response_data.read()
|
|
970
|
+
return self.api_client.response_deserialize(
|
|
971
|
+
response_data=response_data,
|
|
972
|
+
response_types_map=_response_types_map,
|
|
973
|
+
).data
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
@validate_call
|
|
977
|
+
async def get_cell_status_with_http_info(
|
|
978
|
+
self,
|
|
979
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
980
|
+
_request_timeout: Union[
|
|
981
|
+
None,
|
|
982
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
983
|
+
Tuple[
|
|
984
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
985
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
986
|
+
]
|
|
987
|
+
] = None,
|
|
988
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
989
|
+
_content_type: Optional[StrictStr] = None,
|
|
990
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
991
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
992
|
+
) -> ApiResponse[ServiceStatusResponse]:
|
|
993
|
+
"""Service Status
|
|
994
|
+
|
|
995
|
+
List the status of all cell resources.
|
|
996
|
+
|
|
997
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
998
|
+
:type cell: str
|
|
999
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1000
|
+
number provided, it will be total request
|
|
1001
|
+
timeout. It can also be a pair (tuple) of
|
|
1002
|
+
(connection, read) timeouts.
|
|
1003
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1004
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1005
|
+
request; this effectively ignores the
|
|
1006
|
+
authentication in the spec for a single request.
|
|
1007
|
+
:type _request_auth: dict, optional
|
|
1008
|
+
:param _content_type: force content-type for the request.
|
|
1009
|
+
:type _content_type: str, Optional
|
|
1010
|
+
:param _headers: set to override the headers for a single
|
|
1011
|
+
request; this effectively ignores the headers
|
|
1012
|
+
in the spec for a single request.
|
|
1013
|
+
:type _headers: dict, optional
|
|
1014
|
+
:param _host_index: set to override the host_index for a single
|
|
1015
|
+
request; this effectively ignores the host_index
|
|
1016
|
+
in the spec for a single request.
|
|
1017
|
+
:type _host_index: int, optional
|
|
1018
|
+
:return: Returns the result object.
|
|
1019
|
+
""" # noqa: E501
|
|
1020
|
+
|
|
1021
|
+
_param = self._get_cell_status_serialize(
|
|
1022
|
+
cell=cell,
|
|
1023
|
+
_request_auth=_request_auth,
|
|
1024
|
+
_content_type=_content_type,
|
|
1025
|
+
_headers=_headers,
|
|
1026
|
+
_host_index=_host_index
|
|
1027
|
+
)
|
|
1028
|
+
|
|
1029
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1030
|
+
'200': "ServiceStatusResponse",
|
|
1031
|
+
'404': "Error",
|
|
1032
|
+
}
|
|
1033
|
+
|
|
1034
|
+
|
|
1035
|
+
response_data = await self.api_client.call_api(
|
|
1036
|
+
*_param,
|
|
1037
|
+
_request_timeout=_request_timeout
|
|
1038
|
+
)
|
|
1039
|
+
await response_data.read()
|
|
1040
|
+
return self.api_client.response_deserialize(
|
|
1041
|
+
response_data=response_data,
|
|
1042
|
+
response_types_map=_response_types_map,
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1045
|
+
|
|
1046
|
+
@validate_call
|
|
1047
|
+
async def get_cell_status_without_preload_content(
|
|
1048
|
+
self,
|
|
1049
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1050
|
+
_request_timeout: Union[
|
|
1051
|
+
None,
|
|
1052
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1053
|
+
Tuple[
|
|
1054
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1055
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1056
|
+
]
|
|
1057
|
+
] = None,
|
|
1058
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1059
|
+
_content_type: Optional[StrictStr] = None,
|
|
1060
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1061
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1062
|
+
) -> RESTResponseType:
|
|
1063
|
+
"""Service Status
|
|
1064
|
+
|
|
1065
|
+
List the status of all cell resources.
|
|
1066
|
+
|
|
1067
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1068
|
+
:type cell: str
|
|
1069
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1070
|
+
number provided, it will be total request
|
|
1071
|
+
timeout. It can also be a pair (tuple) of
|
|
1072
|
+
(connection, read) timeouts.
|
|
1073
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1074
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1075
|
+
request; this effectively ignores the
|
|
1076
|
+
authentication in the spec for a single request.
|
|
1077
|
+
:type _request_auth: dict, optional
|
|
1078
|
+
:param _content_type: force content-type for the request.
|
|
1079
|
+
:type _content_type: str, Optional
|
|
1080
|
+
:param _headers: set to override the headers for a single
|
|
1081
|
+
request; this effectively ignores the headers
|
|
1082
|
+
in the spec for a single request.
|
|
1083
|
+
:type _headers: dict, optional
|
|
1084
|
+
:param _host_index: set to override the host_index for a single
|
|
1085
|
+
request; this effectively ignores the host_index
|
|
1086
|
+
in the spec for a single request.
|
|
1087
|
+
:type _host_index: int, optional
|
|
1088
|
+
:return: Returns the result object.
|
|
1089
|
+
""" # noqa: E501
|
|
1090
|
+
|
|
1091
|
+
_param = self._get_cell_status_serialize(
|
|
1092
|
+
cell=cell,
|
|
1093
|
+
_request_auth=_request_auth,
|
|
1094
|
+
_content_type=_content_type,
|
|
1095
|
+
_headers=_headers,
|
|
1096
|
+
_host_index=_host_index
|
|
1097
|
+
)
|
|
1098
|
+
|
|
1099
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1100
|
+
'200': "ServiceStatusResponse",
|
|
1101
|
+
'404': "Error",
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
|
|
1105
|
+
response_data = await self.api_client.call_api(
|
|
1106
|
+
*_param,
|
|
1107
|
+
_request_timeout=_request_timeout
|
|
1108
|
+
)
|
|
1109
|
+
return response_data.response
|
|
1110
|
+
|
|
1111
|
+
|
|
1112
|
+
def _get_cell_status_serialize(
|
|
1113
|
+
self,
|
|
1114
|
+
cell,
|
|
1115
|
+
_request_auth,
|
|
1116
|
+
_content_type,
|
|
1117
|
+
_headers,
|
|
1118
|
+
_host_index,
|
|
1119
|
+
) -> RequestSerialized:
|
|
1120
|
+
|
|
1121
|
+
_host = None
|
|
1122
|
+
|
|
1123
|
+
_collection_formats: Dict[str, str] = {
|
|
1124
|
+
}
|
|
1125
|
+
|
|
1126
|
+
_path_params: Dict[str, str] = {}
|
|
1127
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1128
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1129
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1130
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1131
|
+
_body_params: Optional[bytes] = None
|
|
1132
|
+
|
|
1133
|
+
# process the path parameters
|
|
1134
|
+
if cell is not None:
|
|
1135
|
+
_path_params['cell'] = cell
|
|
1136
|
+
# process the query parameters
|
|
1137
|
+
# process the header parameters
|
|
1138
|
+
# process the form parameters
|
|
1139
|
+
# process the body parameter
|
|
1140
|
+
|
|
1141
|
+
|
|
1142
|
+
# set the HTTP header `Accept`
|
|
1143
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1144
|
+
[
|
|
1145
|
+
'application/json'
|
|
1146
|
+
]
|
|
1147
|
+
)
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
# authentication setting
|
|
1151
|
+
_auth_settings: List[str] = [
|
|
1152
|
+
'BasicAuth',
|
|
1153
|
+
'BearerAuth'
|
|
1154
|
+
]
|
|
1155
|
+
|
|
1156
|
+
return self.api_client.param_serialize(
|
|
1157
|
+
method='GET',
|
|
1158
|
+
resource_path='/cells/{cell}/status',
|
|
1159
|
+
path_params=_path_params,
|
|
1160
|
+
query_params=_query_params,
|
|
1161
|
+
header_params=_header_params,
|
|
1162
|
+
body=_body_params,
|
|
1163
|
+
post_params=_form_params,
|
|
1164
|
+
files=_files,
|
|
1165
|
+
auth_settings=_auth_settings,
|
|
1166
|
+
collection_formats=_collection_formats,
|
|
1167
|
+
_host=_host,
|
|
1168
|
+
_request_auth=_request_auth
|
|
1169
|
+
)
|
|
1170
|
+
|
|
1171
|
+
|
|
1172
|
+
|
|
1173
|
+
@validate_call
|
|
1174
|
+
async def list_cells(
|
|
1175
|
+
self,
|
|
1176
|
+
_request_timeout: Union[
|
|
1177
|
+
None,
|
|
1178
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1179
|
+
Tuple[
|
|
1180
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1181
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1182
|
+
]
|
|
1183
|
+
] = None,
|
|
1184
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1185
|
+
_content_type: Optional[StrictStr] = None,
|
|
1186
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1187
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1188
|
+
) -> List[str]:
|
|
1189
|
+
"""List Cells
|
|
1190
|
+
|
|
1191
|
+
List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
1192
|
+
|
|
1193
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1194
|
+
number provided, it will be total request
|
|
1195
|
+
timeout. It can also be a pair (tuple) of
|
|
1196
|
+
(connection, read) timeouts.
|
|
1197
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1198
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1199
|
+
request; this effectively ignores the
|
|
1200
|
+
authentication in the spec for a single request.
|
|
1201
|
+
:type _request_auth: dict, optional
|
|
1202
|
+
:param _content_type: force content-type for the request.
|
|
1203
|
+
:type _content_type: str, Optional
|
|
1204
|
+
:param _headers: set to override the headers for a single
|
|
1205
|
+
request; this effectively ignores the headers
|
|
1206
|
+
in the spec for a single request.
|
|
1207
|
+
:type _headers: dict, optional
|
|
1208
|
+
:param _host_index: set to override the host_index for a single
|
|
1209
|
+
request; this effectively ignores the host_index
|
|
1210
|
+
in the spec for a single request.
|
|
1211
|
+
:type _host_index: int, optional
|
|
1212
|
+
:return: Returns the result object.
|
|
1213
|
+
""" # noqa: E501
|
|
1214
|
+
|
|
1215
|
+
_param = self._list_cells_serialize(
|
|
1216
|
+
_request_auth=_request_auth,
|
|
1217
|
+
_content_type=_content_type,
|
|
1218
|
+
_headers=_headers,
|
|
1219
|
+
_host_index=_host_index
|
|
1220
|
+
)
|
|
1221
|
+
|
|
1222
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1223
|
+
'200': "List[str]",
|
|
1224
|
+
}
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
response_data = await self.api_client.call_api(
|
|
1228
|
+
*_param,
|
|
1229
|
+
_request_timeout=_request_timeout
|
|
1230
|
+
)
|
|
1231
|
+
await response_data.read()
|
|
1232
|
+
return self.api_client.response_deserialize(
|
|
1233
|
+
response_data=response_data,
|
|
1234
|
+
response_types_map=_response_types_map,
|
|
1235
|
+
).data
|
|
1236
|
+
|
|
1237
|
+
|
|
1238
|
+
@validate_call
|
|
1239
|
+
async def list_cells_with_http_info(
|
|
1240
|
+
self,
|
|
1241
|
+
_request_timeout: Union[
|
|
1242
|
+
None,
|
|
1243
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1244
|
+
Tuple[
|
|
1245
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1246
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1247
|
+
]
|
|
1248
|
+
] = None,
|
|
1249
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1250
|
+
_content_type: Optional[StrictStr] = None,
|
|
1251
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1252
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1253
|
+
) -> ApiResponse[List[str]]:
|
|
1254
|
+
"""List Cells
|
|
1255
|
+
|
|
1256
|
+
List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
1257
|
+
|
|
1258
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1259
|
+
number provided, it will be total request
|
|
1260
|
+
timeout. It can also be a pair (tuple) of
|
|
1261
|
+
(connection, read) timeouts.
|
|
1262
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1263
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1264
|
+
request; this effectively ignores the
|
|
1265
|
+
authentication in the spec for a single request.
|
|
1266
|
+
:type _request_auth: dict, optional
|
|
1267
|
+
:param _content_type: force content-type for the request.
|
|
1268
|
+
:type _content_type: str, Optional
|
|
1269
|
+
:param _headers: set to override the headers for a single
|
|
1270
|
+
request; this effectively ignores the headers
|
|
1271
|
+
in the spec for a single request.
|
|
1272
|
+
:type _headers: dict, optional
|
|
1273
|
+
:param _host_index: set to override the host_index for a single
|
|
1274
|
+
request; this effectively ignores the host_index
|
|
1275
|
+
in the spec for a single request.
|
|
1276
|
+
:type _host_index: int, optional
|
|
1277
|
+
:return: Returns the result object.
|
|
1278
|
+
""" # noqa: E501
|
|
1279
|
+
|
|
1280
|
+
_param = self._list_cells_serialize(
|
|
1281
|
+
_request_auth=_request_auth,
|
|
1282
|
+
_content_type=_content_type,
|
|
1283
|
+
_headers=_headers,
|
|
1284
|
+
_host_index=_host_index
|
|
1285
|
+
)
|
|
1286
|
+
|
|
1287
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1288
|
+
'200': "List[str]",
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
response_data = await self.api_client.call_api(
|
|
1293
|
+
*_param,
|
|
1294
|
+
_request_timeout=_request_timeout
|
|
1295
|
+
)
|
|
1296
|
+
await response_data.read()
|
|
1297
|
+
return self.api_client.response_deserialize(
|
|
1298
|
+
response_data=response_data,
|
|
1299
|
+
response_types_map=_response_types_map,
|
|
1300
|
+
)
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
@validate_call
|
|
1304
|
+
async def list_cells_without_preload_content(
|
|
1305
|
+
self,
|
|
1306
|
+
_request_timeout: Union[
|
|
1307
|
+
None,
|
|
1308
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1309
|
+
Tuple[
|
|
1310
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1311
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1312
|
+
]
|
|
1313
|
+
] = None,
|
|
1314
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1315
|
+
_content_type: Optional[StrictStr] = None,
|
|
1316
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1317
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1318
|
+
) -> RESTResponseType:
|
|
1319
|
+
"""List Cells
|
|
1320
|
+
|
|
1321
|
+
List all deployed cell names. If no cells are deployed, an empty list is returned.
|
|
1322
|
+
|
|
1323
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1324
|
+
number provided, it will be total request
|
|
1325
|
+
timeout. It can also be a pair (tuple) of
|
|
1326
|
+
(connection, read) timeouts.
|
|
1327
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1328
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1329
|
+
request; this effectively ignores the
|
|
1330
|
+
authentication in the spec for a single request.
|
|
1331
|
+
:type _request_auth: dict, optional
|
|
1332
|
+
:param _content_type: force content-type for the request.
|
|
1333
|
+
:type _content_type: str, Optional
|
|
1334
|
+
:param _headers: set to override the headers for a single
|
|
1335
|
+
request; this effectively ignores the headers
|
|
1336
|
+
in the spec for a single request.
|
|
1337
|
+
:type _headers: dict, optional
|
|
1338
|
+
:param _host_index: set to override the host_index for a single
|
|
1339
|
+
request; this effectively ignores the host_index
|
|
1340
|
+
in the spec for a single request.
|
|
1341
|
+
:type _host_index: int, optional
|
|
1342
|
+
:return: Returns the result object.
|
|
1343
|
+
""" # noqa: E501
|
|
1344
|
+
|
|
1345
|
+
_param = self._list_cells_serialize(
|
|
1346
|
+
_request_auth=_request_auth,
|
|
1347
|
+
_content_type=_content_type,
|
|
1348
|
+
_headers=_headers,
|
|
1349
|
+
_host_index=_host_index
|
|
1350
|
+
)
|
|
1351
|
+
|
|
1352
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1353
|
+
'200': "List[str]",
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
|
|
1357
|
+
response_data = await self.api_client.call_api(
|
|
1358
|
+
*_param,
|
|
1359
|
+
_request_timeout=_request_timeout
|
|
1360
|
+
)
|
|
1361
|
+
return response_data.response
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
def _list_cells_serialize(
|
|
1365
|
+
self,
|
|
1366
|
+
_request_auth,
|
|
1367
|
+
_content_type,
|
|
1368
|
+
_headers,
|
|
1369
|
+
_host_index,
|
|
1370
|
+
) -> RequestSerialized:
|
|
1371
|
+
|
|
1372
|
+
_host = None
|
|
1373
|
+
|
|
1374
|
+
_collection_formats: Dict[str, str] = {
|
|
1375
|
+
}
|
|
1376
|
+
|
|
1377
|
+
_path_params: Dict[str, str] = {}
|
|
1378
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1379
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1380
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1381
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1382
|
+
_body_params: Optional[bytes] = None
|
|
1383
|
+
|
|
1384
|
+
# process the path parameters
|
|
1385
|
+
# process the query parameters
|
|
1386
|
+
# process the header parameters
|
|
1387
|
+
# process the form parameters
|
|
1388
|
+
# process the body parameter
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
# set the HTTP header `Accept`
|
|
1392
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1393
|
+
[
|
|
1394
|
+
'application/json'
|
|
1395
|
+
]
|
|
1396
|
+
)
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
# authentication setting
|
|
1400
|
+
_auth_settings: List[str] = [
|
|
1401
|
+
'BasicAuth',
|
|
1402
|
+
'BearerAuth'
|
|
1403
|
+
]
|
|
1404
|
+
|
|
1405
|
+
return self.api_client.param_serialize(
|
|
1406
|
+
method='GET',
|
|
1407
|
+
resource_path='/cells',
|
|
1408
|
+
path_params=_path_params,
|
|
1409
|
+
query_params=_query_params,
|
|
1410
|
+
header_params=_header_params,
|
|
1411
|
+
body=_body_params,
|
|
1412
|
+
post_params=_form_params,
|
|
1413
|
+
files=_files,
|
|
1414
|
+
auth_settings=_auth_settings,
|
|
1415
|
+
collection_formats=_collection_formats,
|
|
1416
|
+
_host=_host,
|
|
1417
|
+
_request_auth=_request_auth
|
|
1418
|
+
)
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
|
|
1422
|
+
@validate_call
|
|
1423
|
+
async def set_cell_status(
|
|
1424
|
+
self,
|
|
1425
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1426
|
+
operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
|
|
1427
|
+
_request_timeout: Union[
|
|
1428
|
+
None,
|
|
1429
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1430
|
+
Tuple[
|
|
1431
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1432
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1433
|
+
]
|
|
1434
|
+
] = None,
|
|
1435
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1436
|
+
_content_type: Optional[StrictStr] = None,
|
|
1437
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1438
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1439
|
+
) -> None:
|
|
1440
|
+
"""Operating State
|
|
1441
|
+
|
|
1442
|
+
Deactivate or activate the services of a cell.
|
|
1443
|
+
|
|
1444
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1445
|
+
:type cell: str
|
|
1446
|
+
:param operating_state: Set state of the cell. Active or inactive. (required)
|
|
1447
|
+
:type operating_state: OperatingState
|
|
1448
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1449
|
+
number provided, it will be total request
|
|
1450
|
+
timeout. It can also be a pair (tuple) of
|
|
1451
|
+
(connection, read) timeouts.
|
|
1452
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1453
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1454
|
+
request; this effectively ignores the
|
|
1455
|
+
authentication in the spec for a single request.
|
|
1456
|
+
:type _request_auth: dict, optional
|
|
1457
|
+
:param _content_type: force content-type for the request.
|
|
1458
|
+
:type _content_type: str, Optional
|
|
1459
|
+
:param _headers: set to override the headers for a single
|
|
1460
|
+
request; this effectively ignores the headers
|
|
1461
|
+
in the spec for a single request.
|
|
1462
|
+
:type _headers: dict, optional
|
|
1463
|
+
:param _host_index: set to override the host_index for a single
|
|
1464
|
+
request; this effectively ignores the host_index
|
|
1465
|
+
in the spec for a single request.
|
|
1466
|
+
:type _host_index: int, optional
|
|
1467
|
+
:return: Returns the result object.
|
|
1468
|
+
""" # noqa: E501
|
|
1469
|
+
|
|
1470
|
+
_param = self._set_cell_status_serialize(
|
|
1471
|
+
cell=cell,
|
|
1472
|
+
operating_state=operating_state,
|
|
1473
|
+
_request_auth=_request_auth,
|
|
1474
|
+
_content_type=_content_type,
|
|
1475
|
+
_headers=_headers,
|
|
1476
|
+
_host_index=_host_index
|
|
1477
|
+
)
|
|
1478
|
+
|
|
1479
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1480
|
+
'202': None,
|
|
1481
|
+
'404': "Error",
|
|
1482
|
+
}
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
response_data = await self.api_client.call_api(
|
|
1486
|
+
*_param,
|
|
1487
|
+
_request_timeout=_request_timeout
|
|
1488
|
+
)
|
|
1489
|
+
await response_data.read()
|
|
1490
|
+
return self.api_client.response_deserialize(
|
|
1491
|
+
response_data=response_data,
|
|
1492
|
+
response_types_map=_response_types_map,
|
|
1493
|
+
).data
|
|
1494
|
+
|
|
1495
|
+
|
|
1496
|
+
@validate_call
|
|
1497
|
+
async def set_cell_status_with_http_info(
|
|
1498
|
+
self,
|
|
1499
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1500
|
+
operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
|
|
1501
|
+
_request_timeout: Union[
|
|
1502
|
+
None,
|
|
1503
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1504
|
+
Tuple[
|
|
1505
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1506
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1507
|
+
]
|
|
1508
|
+
] = None,
|
|
1509
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1510
|
+
_content_type: Optional[StrictStr] = None,
|
|
1511
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1512
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1513
|
+
) -> ApiResponse[None]:
|
|
1514
|
+
"""Operating State
|
|
1515
|
+
|
|
1516
|
+
Deactivate or activate the services of a cell.
|
|
1517
|
+
|
|
1518
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1519
|
+
:type cell: str
|
|
1520
|
+
:param operating_state: Set state of the cell. Active or inactive. (required)
|
|
1521
|
+
:type operating_state: OperatingState
|
|
1522
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1523
|
+
number provided, it will be total request
|
|
1524
|
+
timeout. It can also be a pair (tuple) of
|
|
1525
|
+
(connection, read) timeouts.
|
|
1526
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1527
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1528
|
+
request; this effectively ignores the
|
|
1529
|
+
authentication in the spec for a single request.
|
|
1530
|
+
:type _request_auth: dict, optional
|
|
1531
|
+
:param _content_type: force content-type for the request.
|
|
1532
|
+
:type _content_type: str, Optional
|
|
1533
|
+
:param _headers: set to override the headers for a single
|
|
1534
|
+
request; this effectively ignores the headers
|
|
1535
|
+
in the spec for a single request.
|
|
1536
|
+
:type _headers: dict, optional
|
|
1537
|
+
:param _host_index: set to override the host_index for a single
|
|
1538
|
+
request; this effectively ignores the host_index
|
|
1539
|
+
in the spec for a single request.
|
|
1540
|
+
:type _host_index: int, optional
|
|
1541
|
+
:return: Returns the result object.
|
|
1542
|
+
""" # noqa: E501
|
|
1543
|
+
|
|
1544
|
+
_param = self._set_cell_status_serialize(
|
|
1545
|
+
cell=cell,
|
|
1546
|
+
operating_state=operating_state,
|
|
1547
|
+
_request_auth=_request_auth,
|
|
1548
|
+
_content_type=_content_type,
|
|
1549
|
+
_headers=_headers,
|
|
1550
|
+
_host_index=_host_index
|
|
1551
|
+
)
|
|
1552
|
+
|
|
1553
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1554
|
+
'202': None,
|
|
1555
|
+
'404': "Error",
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
|
|
1559
|
+
response_data = await self.api_client.call_api(
|
|
1560
|
+
*_param,
|
|
1561
|
+
_request_timeout=_request_timeout
|
|
1562
|
+
)
|
|
1563
|
+
await response_data.read()
|
|
1564
|
+
return self.api_client.response_deserialize(
|
|
1565
|
+
response_data=response_data,
|
|
1566
|
+
response_types_map=_response_types_map,
|
|
1567
|
+
)
|
|
1568
|
+
|
|
1569
|
+
|
|
1570
|
+
@validate_call
|
|
1571
|
+
async def set_cell_status_without_preload_content(
|
|
1572
|
+
self,
|
|
1573
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1574
|
+
operating_state: Annotated[OperatingState, Field(description="Set state of the cell. Active or inactive.")],
|
|
1575
|
+
_request_timeout: Union[
|
|
1576
|
+
None,
|
|
1577
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1578
|
+
Tuple[
|
|
1579
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1580
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1581
|
+
]
|
|
1582
|
+
] = None,
|
|
1583
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1584
|
+
_content_type: Optional[StrictStr] = None,
|
|
1585
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1586
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1587
|
+
) -> RESTResponseType:
|
|
1588
|
+
"""Operating State
|
|
1589
|
+
|
|
1590
|
+
Deactivate or activate the services of a cell.
|
|
1591
|
+
|
|
1592
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1593
|
+
:type cell: str
|
|
1594
|
+
:param operating_state: Set state of the cell. Active or inactive. (required)
|
|
1595
|
+
:type operating_state: OperatingState
|
|
1596
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1597
|
+
number provided, it will be total request
|
|
1598
|
+
timeout. It can also be a pair (tuple) of
|
|
1599
|
+
(connection, read) timeouts.
|
|
1600
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1601
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1602
|
+
request; this effectively ignores the
|
|
1603
|
+
authentication in the spec for a single request.
|
|
1604
|
+
:type _request_auth: dict, optional
|
|
1605
|
+
:param _content_type: force content-type for the request.
|
|
1606
|
+
:type _content_type: str, Optional
|
|
1607
|
+
:param _headers: set to override the headers for a single
|
|
1608
|
+
request; this effectively ignores the headers
|
|
1609
|
+
in the spec for a single request.
|
|
1610
|
+
:type _headers: dict, optional
|
|
1611
|
+
:param _host_index: set to override the host_index for a single
|
|
1612
|
+
request; this effectively ignores the host_index
|
|
1613
|
+
in the spec for a single request.
|
|
1614
|
+
:type _host_index: int, optional
|
|
1615
|
+
:return: Returns the result object.
|
|
1616
|
+
""" # noqa: E501
|
|
1617
|
+
|
|
1618
|
+
_param = self._set_cell_status_serialize(
|
|
1619
|
+
cell=cell,
|
|
1620
|
+
operating_state=operating_state,
|
|
1621
|
+
_request_auth=_request_auth,
|
|
1622
|
+
_content_type=_content_type,
|
|
1623
|
+
_headers=_headers,
|
|
1624
|
+
_host_index=_host_index
|
|
1625
|
+
)
|
|
1626
|
+
|
|
1627
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1628
|
+
'202': None,
|
|
1629
|
+
'404': "Error",
|
|
1630
|
+
}
|
|
1631
|
+
|
|
1632
|
+
|
|
1633
|
+
response_data = await self.api_client.call_api(
|
|
1634
|
+
*_param,
|
|
1635
|
+
_request_timeout=_request_timeout
|
|
1636
|
+
)
|
|
1637
|
+
return response_data.response
|
|
1638
|
+
|
|
1639
|
+
|
|
1640
|
+
def _set_cell_status_serialize(
|
|
1641
|
+
self,
|
|
1642
|
+
cell,
|
|
1643
|
+
operating_state,
|
|
1644
|
+
_request_auth,
|
|
1645
|
+
_content_type,
|
|
1646
|
+
_headers,
|
|
1647
|
+
_host_index,
|
|
1648
|
+
) -> RequestSerialized:
|
|
1649
|
+
|
|
1650
|
+
_host = None
|
|
1651
|
+
|
|
1652
|
+
_collection_formats: Dict[str, str] = {
|
|
1653
|
+
}
|
|
1654
|
+
|
|
1655
|
+
_path_params: Dict[str, str] = {}
|
|
1656
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1657
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1658
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1659
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1660
|
+
_body_params: Optional[bytes] = None
|
|
1661
|
+
|
|
1662
|
+
# process the path parameters
|
|
1663
|
+
if cell is not None:
|
|
1664
|
+
_path_params['cell'] = cell
|
|
1665
|
+
# process the query parameters
|
|
1666
|
+
if operating_state is not None:
|
|
1667
|
+
|
|
1668
|
+
_query_params.append(('operating_state', operating_state.value))
|
|
1669
|
+
|
|
1670
|
+
# process the header parameters
|
|
1671
|
+
# process the form parameters
|
|
1672
|
+
# process the body parameter
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
# set the HTTP header `Accept`
|
|
1676
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1677
|
+
[
|
|
1678
|
+
'application/json'
|
|
1679
|
+
]
|
|
1680
|
+
)
|
|
1681
|
+
|
|
1682
|
+
|
|
1683
|
+
# authentication setting
|
|
1684
|
+
_auth_settings: List[str] = [
|
|
1685
|
+
'BasicAuth',
|
|
1686
|
+
'BearerAuth'
|
|
1687
|
+
]
|
|
1688
|
+
|
|
1689
|
+
return self.api_client.param_serialize(
|
|
1690
|
+
method='PUT',
|
|
1691
|
+
resource_path='/cells/{cell}/status',
|
|
1692
|
+
path_params=_path_params,
|
|
1693
|
+
query_params=_query_params,
|
|
1694
|
+
header_params=_header_params,
|
|
1695
|
+
body=_body_params,
|
|
1696
|
+
post_params=_form_params,
|
|
1697
|
+
files=_files,
|
|
1698
|
+
auth_settings=_auth_settings,
|
|
1699
|
+
collection_formats=_collection_formats,
|
|
1700
|
+
_host=_host,
|
|
1701
|
+
_request_auth=_request_auth
|
|
1702
|
+
)
|
|
1703
|
+
|
|
1704
|
+
|
|
1705
|
+
|
|
1706
|
+
@validate_call
|
|
1707
|
+
async def update_cell(
|
|
1708
|
+
self,
|
|
1709
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1710
|
+
cell2: Cell,
|
|
1711
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1712
|
+
_request_timeout: Union[
|
|
1713
|
+
None,
|
|
1714
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1715
|
+
Tuple[
|
|
1716
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1717
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1718
|
+
]
|
|
1719
|
+
] = None,
|
|
1720
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1721
|
+
_content_type: Optional[StrictStr] = None,
|
|
1722
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1723
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1724
|
+
) -> None:
|
|
1725
|
+
"""Update Configuration
|
|
1726
|
+
|
|
1727
|
+
Update the definition of the entire Cell.
|
|
1728
|
+
|
|
1729
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1730
|
+
:type cell: str
|
|
1731
|
+
:param cell2: (required)
|
|
1732
|
+
:type cell2: Cell
|
|
1733
|
+
:param completion_timeout:
|
|
1734
|
+
:type completion_timeout: int
|
|
1735
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1736
|
+
number provided, it will be total request
|
|
1737
|
+
timeout. It can also be a pair (tuple) of
|
|
1738
|
+
(connection, read) timeouts.
|
|
1739
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1740
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1741
|
+
request; this effectively ignores the
|
|
1742
|
+
authentication in the spec for a single request.
|
|
1743
|
+
:type _request_auth: dict, optional
|
|
1744
|
+
:param _content_type: force content-type for the request.
|
|
1745
|
+
:type _content_type: str, Optional
|
|
1746
|
+
:param _headers: set to override the headers for a single
|
|
1747
|
+
request; this effectively ignores the headers
|
|
1748
|
+
in the spec for a single request.
|
|
1749
|
+
:type _headers: dict, optional
|
|
1750
|
+
:param _host_index: set to override the host_index for a single
|
|
1751
|
+
request; this effectively ignores the host_index
|
|
1752
|
+
in the spec for a single request.
|
|
1753
|
+
:type _host_index: int, optional
|
|
1754
|
+
:return: Returns the result object.
|
|
1755
|
+
""" # noqa: E501
|
|
1756
|
+
|
|
1757
|
+
_param = self._update_cell_serialize(
|
|
1758
|
+
cell=cell,
|
|
1759
|
+
cell2=cell2,
|
|
1760
|
+
completion_timeout=completion_timeout,
|
|
1761
|
+
_request_auth=_request_auth,
|
|
1762
|
+
_content_type=_content_type,
|
|
1763
|
+
_headers=_headers,
|
|
1764
|
+
_host_index=_host_index
|
|
1765
|
+
)
|
|
1766
|
+
|
|
1767
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1768
|
+
'200': None,
|
|
1769
|
+
'202': None,
|
|
1770
|
+
'400': "Error",
|
|
1771
|
+
'403': "Error",
|
|
1772
|
+
'404': "Error",
|
|
1773
|
+
}
|
|
1774
|
+
|
|
1775
|
+
|
|
1776
|
+
response_data = await self.api_client.call_api(
|
|
1777
|
+
*_param,
|
|
1778
|
+
_request_timeout=_request_timeout
|
|
1779
|
+
)
|
|
1780
|
+
await response_data.read()
|
|
1781
|
+
return self.api_client.response_deserialize(
|
|
1782
|
+
response_data=response_data,
|
|
1783
|
+
response_types_map=_response_types_map,
|
|
1784
|
+
).data
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
@validate_call
|
|
1788
|
+
async def update_cell_with_http_info(
|
|
1789
|
+
self,
|
|
1790
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1791
|
+
cell2: Cell,
|
|
1792
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1793
|
+
_request_timeout: Union[
|
|
1794
|
+
None,
|
|
1795
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1796
|
+
Tuple[
|
|
1797
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1798
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1799
|
+
]
|
|
1800
|
+
] = None,
|
|
1801
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1802
|
+
_content_type: Optional[StrictStr] = None,
|
|
1803
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1804
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1805
|
+
) -> ApiResponse[None]:
|
|
1806
|
+
"""Update Configuration
|
|
1807
|
+
|
|
1808
|
+
Update the definition of the entire Cell.
|
|
1809
|
+
|
|
1810
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1811
|
+
:type cell: str
|
|
1812
|
+
:param cell2: (required)
|
|
1813
|
+
:type cell2: Cell
|
|
1814
|
+
:param completion_timeout:
|
|
1815
|
+
:type completion_timeout: int
|
|
1816
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1817
|
+
number provided, it will be total request
|
|
1818
|
+
timeout. It can also be a pair (tuple) of
|
|
1819
|
+
(connection, read) timeouts.
|
|
1820
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1821
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1822
|
+
request; this effectively ignores the
|
|
1823
|
+
authentication in the spec for a single request.
|
|
1824
|
+
:type _request_auth: dict, optional
|
|
1825
|
+
:param _content_type: force content-type for the request.
|
|
1826
|
+
:type _content_type: str, Optional
|
|
1827
|
+
:param _headers: set to override the headers for a single
|
|
1828
|
+
request; this effectively ignores the headers
|
|
1829
|
+
in the spec for a single request.
|
|
1830
|
+
:type _headers: dict, optional
|
|
1831
|
+
:param _host_index: set to override the host_index for a single
|
|
1832
|
+
request; this effectively ignores the host_index
|
|
1833
|
+
in the spec for a single request.
|
|
1834
|
+
:type _host_index: int, optional
|
|
1835
|
+
:return: Returns the result object.
|
|
1836
|
+
""" # noqa: E501
|
|
1837
|
+
|
|
1838
|
+
_param = self._update_cell_serialize(
|
|
1839
|
+
cell=cell,
|
|
1840
|
+
cell2=cell2,
|
|
1841
|
+
completion_timeout=completion_timeout,
|
|
1842
|
+
_request_auth=_request_auth,
|
|
1843
|
+
_content_type=_content_type,
|
|
1844
|
+
_headers=_headers,
|
|
1845
|
+
_host_index=_host_index
|
|
1846
|
+
)
|
|
1847
|
+
|
|
1848
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1849
|
+
'200': None,
|
|
1850
|
+
'202': None,
|
|
1851
|
+
'400': "Error",
|
|
1852
|
+
'403': "Error",
|
|
1853
|
+
'404': "Error",
|
|
1854
|
+
}
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
response_data = await self.api_client.call_api(
|
|
1858
|
+
*_param,
|
|
1859
|
+
_request_timeout=_request_timeout
|
|
1860
|
+
)
|
|
1861
|
+
await response_data.read()
|
|
1862
|
+
return self.api_client.response_deserialize(
|
|
1863
|
+
response_data=response_data,
|
|
1864
|
+
response_types_map=_response_types_map,
|
|
1865
|
+
)
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
|
+
@validate_call
|
|
1869
|
+
async def update_cell_without_preload_content(
|
|
1870
|
+
self,
|
|
1871
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1872
|
+
cell2: Cell,
|
|
1873
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1874
|
+
_request_timeout: Union[
|
|
1875
|
+
None,
|
|
1876
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1877
|
+
Tuple[
|
|
1878
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1879
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1880
|
+
]
|
|
1881
|
+
] = None,
|
|
1882
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1883
|
+
_content_type: Optional[StrictStr] = None,
|
|
1884
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1885
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1886
|
+
) -> RESTResponseType:
|
|
1887
|
+
"""Update Configuration
|
|
1888
|
+
|
|
1889
|
+
Update the definition of the entire Cell.
|
|
1890
|
+
|
|
1891
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1892
|
+
:type cell: str
|
|
1893
|
+
:param cell2: (required)
|
|
1894
|
+
:type cell2: Cell
|
|
1895
|
+
:param completion_timeout:
|
|
1896
|
+
:type completion_timeout: int
|
|
1897
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1898
|
+
number provided, it will be total request
|
|
1899
|
+
timeout. It can also be a pair (tuple) of
|
|
1900
|
+
(connection, read) timeouts.
|
|
1901
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1902
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1903
|
+
request; this effectively ignores the
|
|
1904
|
+
authentication in the spec for a single request.
|
|
1905
|
+
:type _request_auth: dict, optional
|
|
1906
|
+
:param _content_type: force content-type for the request.
|
|
1907
|
+
:type _content_type: str, Optional
|
|
1908
|
+
:param _headers: set to override the headers for a single
|
|
1909
|
+
request; this effectively ignores the headers
|
|
1910
|
+
in the spec for a single request.
|
|
1911
|
+
:type _headers: dict, optional
|
|
1912
|
+
:param _host_index: set to override the host_index for a single
|
|
1913
|
+
request; this effectively ignores the host_index
|
|
1914
|
+
in the spec for a single request.
|
|
1915
|
+
:type _host_index: int, optional
|
|
1916
|
+
:return: Returns the result object.
|
|
1917
|
+
""" # noqa: E501
|
|
1918
|
+
|
|
1919
|
+
_param = self._update_cell_serialize(
|
|
1920
|
+
cell=cell,
|
|
1921
|
+
cell2=cell2,
|
|
1922
|
+
completion_timeout=completion_timeout,
|
|
1923
|
+
_request_auth=_request_auth,
|
|
1924
|
+
_content_type=_content_type,
|
|
1925
|
+
_headers=_headers,
|
|
1926
|
+
_host_index=_host_index
|
|
1927
|
+
)
|
|
1928
|
+
|
|
1929
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1930
|
+
'200': None,
|
|
1931
|
+
'202': None,
|
|
1932
|
+
'400': "Error",
|
|
1933
|
+
'403': "Error",
|
|
1934
|
+
'404': "Error",
|
|
1935
|
+
}
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
response_data = await self.api_client.call_api(
|
|
1939
|
+
*_param,
|
|
1940
|
+
_request_timeout=_request_timeout
|
|
1941
|
+
)
|
|
1942
|
+
return response_data.response
|
|
1943
|
+
|
|
1944
|
+
|
|
1945
|
+
def _update_cell_serialize(
|
|
1946
|
+
self,
|
|
1947
|
+
cell,
|
|
1948
|
+
cell2,
|
|
1949
|
+
completion_timeout,
|
|
1950
|
+
_request_auth,
|
|
1951
|
+
_content_type,
|
|
1952
|
+
_headers,
|
|
1953
|
+
_host_index,
|
|
1954
|
+
) -> RequestSerialized:
|
|
1955
|
+
|
|
1956
|
+
_host = None
|
|
1957
|
+
|
|
1958
|
+
_collection_formats: Dict[str, str] = {
|
|
1959
|
+
}
|
|
1960
|
+
|
|
1961
|
+
_path_params: Dict[str, str] = {}
|
|
1962
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1963
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1964
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1965
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1966
|
+
_body_params: Optional[bytes] = None
|
|
1967
|
+
|
|
1968
|
+
# process the path parameters
|
|
1969
|
+
if cell is not None:
|
|
1970
|
+
_path_params['cell'] = cell
|
|
1971
|
+
# process the query parameters
|
|
1972
|
+
if completion_timeout is not None:
|
|
1973
|
+
|
|
1974
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
1975
|
+
|
|
1976
|
+
# process the header parameters
|
|
1977
|
+
# process the form parameters
|
|
1978
|
+
# process the body parameter
|
|
1979
|
+
if cell2 is not None:
|
|
1980
|
+
_body_params = cell2
|
|
1981
|
+
|
|
1982
|
+
|
|
1983
|
+
# set the HTTP header `Accept`
|
|
1984
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1985
|
+
[
|
|
1986
|
+
'application/json'
|
|
1987
|
+
]
|
|
1988
|
+
)
|
|
1989
|
+
|
|
1990
|
+
# set the HTTP header `Content-Type`
|
|
1991
|
+
if _content_type:
|
|
1992
|
+
_header_params['Content-Type'] = _content_type
|
|
1993
|
+
else:
|
|
1994
|
+
_default_content_type = (
|
|
1995
|
+
self.api_client.select_header_content_type(
|
|
1996
|
+
[
|
|
1997
|
+
'application/json'
|
|
1998
|
+
]
|
|
1999
|
+
)
|
|
2000
|
+
)
|
|
2001
|
+
if _default_content_type is not None:
|
|
2002
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2003
|
+
|
|
2004
|
+
# authentication setting
|
|
2005
|
+
_auth_settings: List[str] = [
|
|
2006
|
+
'BasicAuth',
|
|
2007
|
+
'BearerAuth'
|
|
2008
|
+
]
|
|
2009
|
+
|
|
2010
|
+
return self.api_client.param_serialize(
|
|
2011
|
+
method='PUT',
|
|
2012
|
+
resource_path='/cells/{cell}',
|
|
2013
|
+
path_params=_path_params,
|
|
2014
|
+
query_params=_query_params,
|
|
2015
|
+
header_params=_header_params,
|
|
2016
|
+
body=_body_params,
|
|
2017
|
+
post_params=_form_params,
|
|
2018
|
+
files=_files,
|
|
2019
|
+
auth_settings=_auth_settings,
|
|
2020
|
+
collection_formats=_collection_formats,
|
|
2021
|
+
_host=_host,
|
|
2022
|
+
_request_auth=_request_auth
|
|
2023
|
+
)
|
|
2024
|
+
|
|
2025
|
+
|