wandelbots-api-client 25.8.0.dev77__py3-none-any.whl → 25.11.0.dev12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- wandelbots_api_client/__init__.py +2 -3
- wandelbots_api_client/api/__init__.py +2 -0
- wandelbots_api_client/api/application_api.py +1 -2
- wandelbots_api_client/api/cell_api.py +1 -2
- wandelbots_api_client/api/controller_api.py +10 -5
- wandelbots_api_client/api/controller_ios_api.py +3 -6
- wandelbots_api_client/api/coordinate_systems_api.py +1 -2
- wandelbots_api_client/api/device_configuration_api.py +1 -2
- wandelbots_api_client/api/library_program_api.py +1 -2
- wandelbots_api_client/api/library_program_metadata_api.py +1 -2
- wandelbots_api_client/api/library_recipe_api.py +1 -2
- wandelbots_api_client/api/library_recipe_metadata_api.py +1 -2
- wandelbots_api_client/api/license_api.py +1 -2
- wandelbots_api_client/api/motion_api.py +17 -6
- wandelbots_api_client/api/motion_group_api.py +1 -2
- wandelbots_api_client/api/motion_group_infos_api.py +3 -2
- wandelbots_api_client/api/motion_group_jogging_api.py +11 -6
- wandelbots_api_client/api/motion_group_kinematic_api.py +1 -2
- wandelbots_api_client/api/program_api.py +1 -2
- wandelbots_api_client/api/program_operator_api.py +1 -2
- wandelbots_api_client/api/program_values_api.py +1 -2
- wandelbots_api_client/api/store_collision_components_api.py +10 -8
- wandelbots_api_client/api/store_collision_scenes_api.py +1 -2
- wandelbots_api_client/api/store_object_api.py +1 -2
- wandelbots_api_client/api/system_api.py +1 -2
- wandelbots_api_client/api/version_api.py +284 -0
- wandelbots_api_client/api/virtual_robot_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_behavior_api.py +6 -4
- wandelbots_api_client/api/virtual_robot_mode_api.py +1 -2
- wandelbots_api_client/api/virtual_robot_setup_api.py +1 -2
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/configuration.py +18 -7
- wandelbots_api_client/exceptions.py +1 -1
- wandelbots_api_client/models/__init__.py +3 -4
- wandelbots_api_client/models/abb_controller.py +5 -5
- wandelbots_api_client/models/abb_controller_egm_server.py +3 -3
- wandelbots_api_client/models/activate_license_request.py +2 -2
- wandelbots_api_client/models/add_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_request.py +3 -3
- wandelbots_api_client/models/all_joint_positions_response.py +2 -2
- wandelbots_api_client/models/api_version.py +91 -0
- wandelbots_api_client/models/app.py +8 -8
- wandelbots_api_client/models/array_input.py +2 -2
- wandelbots_api_client/models/array_output.py +2 -2
- wandelbots_api_client/models/behavior.py +1 -1
- wandelbots_api_client/models/blending_auto.py +3 -3
- wandelbots_api_client/models/blending_position.py +3 -3
- wandelbots_api_client/models/box.py +5 -5
- wandelbots_api_client/models/box2.py +6 -6
- wandelbots_api_client/models/box3.py +6 -6
- wandelbots_api_client/models/capsule.py +3 -3
- wandelbots_api_client/models/capsule2.py +4 -4
- wandelbots_api_client/models/capsule3.py +4 -4
- wandelbots_api_client/models/capture.py +2 -2
- wandelbots_api_client/models/cell.py +4 -4
- wandelbots_api_client/models/circle.py +3 -3
- wandelbots_api_client/models/code_with_arguments.py +7 -6
- wandelbots_api_client/models/collection_value.py +1 -1
- wandelbots_api_client/models/collider.py +4 -4
- wandelbots_api_client/models/collider_input.py +4 -4
- wandelbots_api_client/models/collider_output.py +4 -4
- wandelbots_api_client/models/collider_output_shape.py +1 -1
- wandelbots_api_client/models/collider_shape.py +1 -41
- wandelbots_api_client/models/collision.py +7 -7
- wandelbots_api_client/models/collision_contact.py +3 -3
- wandelbots_api_client/models/collision_motion_group.py +7 -6
- wandelbots_api_client/models/collision_motion_group_assembly.py +9 -8
- wandelbots_api_client/models/collision_robot_configuration_input.py +12 -10
- wandelbots_api_client/models/collision_robot_configuration_output.py +12 -10
- wandelbots_api_client/models/collision_scene.py +11 -9
- wandelbots_api_client/models/collision_scene_assembly.py +14 -12
- wandelbots_api_client/models/command.py +7 -7
- wandelbots_api_client/models/command_settings.py +4 -4
- wandelbots_api_client/models/comparator.py +1 -1
- wandelbots_api_client/models/compound.py +2 -2
- wandelbots_api_client/models/container_environment_inner.py +3 -3
- wandelbots_api_client/models/container_image.py +4 -4
- wandelbots_api_client/models/container_image_secrets_inner.py +2 -2
- wandelbots_api_client/models/container_resources.py +2 -2
- wandelbots_api_client/models/container_storage.py +3 -3
- wandelbots_api_client/models/controller_capabilities.py +3 -3
- wandelbots_api_client/models/controller_instance.py +9 -9
- wandelbots_api_client/models/controller_instance_list.py +2 -2
- wandelbots_api_client/models/convex_hull.py +2 -2
- wandelbots_api_client/models/convex_hull2.py +3 -3
- wandelbots_api_client/models/convex_hull3.py +3 -3
- wandelbots_api_client/models/coordinate_system.py +6 -6
- wandelbots_api_client/models/coordinate_systems.py +2 -2
- wandelbots_api_client/models/create_device_request_inner.py +1 -1
- wandelbots_api_client/models/create_program_run200_response.py +2 -2
- wandelbots_api_client/models/create_program_run_request.py +2 -2
- wandelbots_api_client/models/create_trigger200_response.py +2 -2
- wandelbots_api_client/models/create_trigger_request.py +7 -7
- wandelbots_api_client/models/cubic_spline.py +2 -2
- wandelbots_api_client/models/cubic_spline_cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cubic_spline_parameter.py +3 -3
- wandelbots_api_client/models/cycle_time.py +2 -2
- wandelbots_api_client/models/cylinder.py +3 -3
- wandelbots_api_client/models/cylinder2.py +4 -4
- wandelbots_api_client/models/cylinder3.py +4 -4
- wandelbots_api_client/models/dh_parameter.py +6 -6
- wandelbots_api_client/models/direction.py +1 -1
- wandelbots_api_client/models/direction_jogging_request.py +10 -10
- wandelbots_api_client/models/error.py +3 -3
- wandelbots_api_client/models/execute_trajectory_request.py +1 -1
- wandelbots_api_client/models/execute_trajectory_response.py +1 -1
- wandelbots_api_client/models/execution_result.py +4 -4
- wandelbots_api_client/models/external_joint_stream_datapoint.py +3 -3
- wandelbots_api_client/models/external_joint_stream_datapoint_value.py +5 -5
- wandelbots_api_client/models/fanuc_controller.py +3 -3
- wandelbots_api_client/models/feedback_collision.py +5 -5
- wandelbots_api_client/models/feedback_joint_limit_exceeded.py +4 -4
- wandelbots_api_client/models/feedback_out_of_workspace.py +3 -3
- wandelbots_api_client/models/feedback_singularity.py +4 -4
- wandelbots_api_client/models/flag.py +2 -2
- wandelbots_api_client/models/force_vector.py +4 -4
- wandelbots_api_client/models/geometry.py +12 -12
- wandelbots_api_client/models/get_all_program_runs200_response.py +2 -2
- wandelbots_api_client/models/get_all_triggers200_response.py +2 -2
- wandelbots_api_client/models/get_mode_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_response.py +2 -2
- wandelbots_api_client/models/get_trajectory_sample_response.py +2 -2
- wandelbots_api_client/models/google_protobuf_any.py +2 -2
- wandelbots_api_client/models/http_exception_response.py +2 -2
- wandelbots_api_client/models/http_validation_error.py +2 -2
- wandelbots_api_client/models/http_validation_error2.py +2 -2
- wandelbots_api_client/models/image_credentials.py +4 -4
- wandelbots_api_client/models/info_service_capabilities.py +8 -8
- wandelbots_api_client/models/initialize_movement_request.py +6 -6
- wandelbots_api_client/models/initialize_movement_response.py +2 -2
- wandelbots_api_client/models/initialize_movement_response_init_response.py +3 -3
- wandelbots_api_client/models/io.py +6 -6
- wandelbots_api_client/models/io_description.py +10 -10
- wandelbots_api_client/models/io_value.py +5 -5
- wandelbots_api_client/models/ios.py +2 -2
- wandelbots_api_client/models/jogging_response.py +4 -4
- wandelbots_api_client/models/jogging_service_capabilities.py +3 -3
- wandelbots_api_client/models/joint_jogging_request.py +6 -6
- wandelbots_api_client/models/joint_limit.py +5 -5
- wandelbots_api_client/models/joint_limit_exceeded.py +3 -3
- wandelbots_api_client/models/joint_position_request.py +4 -4
- wandelbots_api_client/models/joint_trajectory.py +4 -4
- wandelbots_api_client/models/joints.py +2 -2
- wandelbots_api_client/models/kinematic_service_capabilities.py +4 -4
- wandelbots_api_client/models/kuka_controller.py +10 -8
- wandelbots_api_client/models/kuka_controller_rsi_server.py +3 -3
- wandelbots_api_client/models/license.py +11 -11
- wandelbots_api_client/models/license_status.py +3 -3
- wandelbots_api_client/models/license_status_enum.py +1 -1
- wandelbots_api_client/models/limit_settings.py +13 -13
- wandelbots_api_client/models/limits_override.py +7 -7
- wandelbots_api_client/models/list_devices200_response_inner.py +1 -1
- wandelbots_api_client/models/list_io_descriptions_response.py +2 -2
- wandelbots_api_client/models/list_io_values_response.py +2 -2
- wandelbots_api_client/models/list_payloads_response.py +2 -2
- wandelbots_api_client/models/list_program_metadata_response.py +2 -2
- wandelbots_api_client/models/list_recipe_metadata_response.py +2 -2
- wandelbots_api_client/models/list_response.py +2 -2
- wandelbots_api_client/models/list_tcps_response.py +2 -2
- wandelbots_api_client/models/manufacturer.py +1 -1
- wandelbots_api_client/models/mode_change_response.py +5 -5
- wandelbots_api_client/models/motion_command.py +4 -4
- wandelbots_api_client/models/motion_command_blending.py +1 -1
- wandelbots_api_client/models/motion_command_path.py +1 -1
- wandelbots_api_client/models/motion_group_behavior_getter.py +2 -2
- wandelbots_api_client/models/motion_group_info.py +4 -4
- wandelbots_api_client/models/motion_group_infos.py +2 -2
- wandelbots_api_client/models/motion_group_instance.py +6 -6
- wandelbots_api_client/models/motion_group_instance_list.py +2 -2
- wandelbots_api_client/models/motion_group_joints.py +5 -5
- wandelbots_api_client/models/motion_group_physical.py +6 -6
- wandelbots_api_client/models/motion_group_specification.py +3 -3
- wandelbots_api_client/models/motion_group_state.py +13 -13
- wandelbots_api_client/models/motion_group_state_joint_limit_reached.py +2 -2
- wandelbots_api_client/models/motion_group_state_response.py +3 -3
- wandelbots_api_client/models/motion_id.py +2 -2
- wandelbots_api_client/models/motion_ids_list_response.py +2 -2
- wandelbots_api_client/models/motion_vector.py +4 -4
- wandelbots_api_client/models/mounting.py +3 -3
- wandelbots_api_client/models/move_request.py +9 -9
- wandelbots_api_client/models/move_response.py +3 -3
- wandelbots_api_client/models/move_to_trajectory_via_joint_ptp_request.py +5 -5
- wandelbots_api_client/models/movement.py +2 -2
- wandelbots_api_client/models/movement_error.py +2 -2
- wandelbots_api_client/models/movement_error_error.py +2 -2
- wandelbots_api_client/models/movement_movement.py +4 -4
- wandelbots_api_client/models/op_mode.py +2 -2
- wandelbots_api_client/models/opcua_node_value_trigger_config.py +4 -4
- wandelbots_api_client/models/opcua_node_value_trigger_config_node_value.py +1 -1
- wandelbots_api_client/models/optimizer_setup.py +8 -8
- wandelbots_api_client/models/out_of_workspace.py +2 -2
- wandelbots_api_client/models/path.py +2 -2
- wandelbots_api_client/models/path_cartesian_ptp.py +3 -3
- wandelbots_api_client/models/path_circle.py +4 -4
- wandelbots_api_client/models/path_cubic_spline.py +3 -3
- wandelbots_api_client/models/path_joint_ptp.py +3 -3
- wandelbots_api_client/models/path_line.py +3 -3
- wandelbots_api_client/models/pause_movement_request.py +3 -3
- wandelbots_api_client/models/pause_movement_response.py +2 -2
- wandelbots_api_client/models/pause_movement_response_pause_response.py +3 -3
- wandelbots_api_client/models/pause_on_io.py +3 -3
- wandelbots_api_client/models/payload.py +5 -5
- wandelbots_api_client/models/plan_collision_free_ptp_request.py +10 -9
- wandelbots_api_client/models/plan_collision_free_ptp_request_target.py +1 -1
- wandelbots_api_client/models/plan_failed_on_trajectory_response.py +10 -10
- wandelbots_api_client/models/plan_failed_response.py +8 -8
- wandelbots_api_client/models/plan_request.py +6 -6
- wandelbots_api_client/models/plan_response.py +4 -4
- wandelbots_api_client/models/plan_successful_response.py +3 -3
- wandelbots_api_client/models/plan_trajectory_failed_response.py +4 -4
- wandelbots_api_client/models/plan_trajectory_failed_response_error_feedback.py +1 -1
- wandelbots_api_client/models/plan_trajectory_request.py +10 -9
- wandelbots_api_client/models/plan_trajectory_response.py +2 -2
- wandelbots_api_client/models/plan_trajectory_response_response.py +1 -1
- wandelbots_api_client/models/plane2.py +2 -2
- wandelbots_api_client/models/plane3.py +2 -2
- wandelbots_api_client/models/planned_motion.py +6 -6
- wandelbots_api_client/models/planner_pose.py +3 -3
- wandelbots_api_client/models/planning_limits.py +13 -13
- wandelbots_api_client/models/planning_limits_limit_range.py +3 -3
- wandelbots_api_client/models/playback_speed_request.py +3 -3
- wandelbots_api_client/models/playback_speed_response.py +2 -2
- wandelbots_api_client/models/playback_speed_response_playback_speed_response.py +2 -2
- wandelbots_api_client/models/point_cloud.py +2 -2
- wandelbots_api_client/models/pose.py +4 -4
- wandelbots_api_client/models/pose2.py +3 -3
- wandelbots_api_client/models/program_metadata.py +7 -7
- wandelbots_api_client/models/program_run.py +15 -14
- wandelbots_api_client/models/program_run_object.py +7 -7
- wandelbots_api_client/models/program_run_state.py +1 -1
- wandelbots_api_client/models/program_runner_reference.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_core_pose.py +3 -3
- wandelbots_api_client/models/pyjectory_datatypes_serializer_orientation.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_pose.py +2 -2
- wandelbots_api_client/models/pyjectory_datatypes_serializer_position.py +2 -2
- wandelbots_api_client/models/pyriphery_etcd_etcd_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_hardware_isaac_isaac_configuration.py +5 -5
- wandelbots_api_client/models/pyriphery_opcua_opcua_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_pyrae_controller_controller_configuration.py +7 -7
- wandelbots_api_client/models/pyriphery_pyrae_robot_robot_configuration.py +8 -8
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_input.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_configurable_collision_scene_configurable_collision_scene_configuration_output.py +13 -11
- wandelbots_api_client/models/pyriphery_robotics_robotcell_timer_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_robot_with_view_open3d_configuration.py +4 -4
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_io_configuration.py +3 -3
- wandelbots_api_client/models/pyriphery_robotics_simulation_simulated_opcua_configuration.py +3 -3
- wandelbots_api_client/models/quaternion.py +5 -5
- wandelbots_api_client/models/recipe_metadata.py +8 -8
- wandelbots_api_client/models/rectangle.py +3 -3
- wandelbots_api_client/models/rectangle2.py +4 -4
- wandelbots_api_client/models/rectangle3.py +4 -4
- wandelbots_api_client/models/rectangular_capsule.py +4 -4
- wandelbots_api_client/models/rectangular_capsule2.py +5 -5
- wandelbots_api_client/models/rectangular_capsule3.py +5 -5
- wandelbots_api_client/models/release_channel.py +1 -1
- wandelbots_api_client/models/request.py +1 -1
- wandelbots_api_client/models/request1.py +1 -1
- wandelbots_api_client/models/response_get_value_programs_values_key_get.py +1 -1
- wandelbots_api_client/models/response_get_values_programs_values_get_value.py +1 -1
- wandelbots_api_client/models/robot_controller.py +3 -3
- wandelbots_api_client/models/robot_controller_configuration.py +1 -1
- wandelbots_api_client/models/robot_controller_state.py +8 -8
- wandelbots_api_client/models/robot_link_geometry.py +3 -3
- wandelbots_api_client/models/robot_state.py +3 -3
- wandelbots_api_client/models/robot_system_mode.py +1 -1
- wandelbots_api_client/models/robot_tcp.py +5 -5
- wandelbots_api_client/models/robot_tcps.py +2 -2
- wandelbots_api_client/models/rotation_angle_types.py +1 -1
- wandelbots_api_client/models/rotation_angles.py +3 -3
- wandelbots_api_client/models/safety_configuration.py +6 -6
- wandelbots_api_client/models/safety_setup.py +5 -5
- wandelbots_api_client/models/safety_setup_safety_settings.py +3 -3
- wandelbots_api_client/models/safety_setup_safety_zone.py +5 -5
- wandelbots_api_client/models/safety_zone.py +4 -4
- wandelbots_api_client/models/safety_zone_limits.py +3 -3
- wandelbots_api_client/models/safety_zone_violation.py +2 -2
- wandelbots_api_client/models/service_status.py +3 -3
- wandelbots_api_client/models/service_status_phase.py +1 -1
- wandelbots_api_client/models/service_status_severity.py +1 -1
- wandelbots_api_client/models/service_status_status.py +4 -4
- wandelbots_api_client/models/set_io.py +3 -3
- wandelbots_api_client/models/set_playback_speed.py +3 -3
- wandelbots_api_client/models/single_joint_limit.py +3 -3
- wandelbots_api_client/models/singularity.py +3 -3
- wandelbots_api_client/models/singularity_type_enum.py +1 -1
- wandelbots_api_client/models/sphere.py +2 -2
- wandelbots_api_client/models/sphere2.py +3 -3
- wandelbots_api_client/models/sphere3.py +3 -3
- wandelbots_api_client/models/standstill.py +2 -2
- wandelbots_api_client/models/standstill_reason.py +1 -1
- wandelbots_api_client/models/standstill_standstill.py +4 -4
- wandelbots_api_client/models/start_movement_request.py +6 -6
- wandelbots_api_client/models/start_on_io.py +3 -3
- wandelbots_api_client/models/status.py +4 -4
- wandelbots_api_client/models/stop_response.py +4 -4
- wandelbots_api_client/models/store_value.py +1 -1
- wandelbots_api_client/models/stream_move_backward.py +2 -2
- wandelbots_api_client/models/stream_move_forward.py +2 -2
- wandelbots_api_client/models/stream_move_playback_speed.py +2 -2
- wandelbots_api_client/models/stream_move_request.py +1 -1
- wandelbots_api_client/models/stream_move_response.py +4 -4
- wandelbots_api_client/models/stream_move_to_trajectory.py +2 -2
- wandelbots_api_client/models/stream_stop.py +2 -2
- wandelbots_api_client/models/tcp_pose.py +5 -5
- wandelbots_api_client/models/tcp_pose_request.py +5 -5
- wandelbots_api_client/models/tool_geometry.py +3 -3
- wandelbots_api_client/models/trajectory_sample.py +12 -12
- wandelbots_api_client/models/trigger_object.py +11 -11
- wandelbots_api_client/models/trigger_type.py +1 -1
- wandelbots_api_client/models/universalrobots_controller.py +3 -3
- wandelbots_api_client/models/update_nova_version_request.py +2 -2
- wandelbots_api_client/models/update_program_metadata_request.py +4 -4
- wandelbots_api_client/models/update_recipe_metadata_request.py +4 -4
- wandelbots_api_client/models/update_trigger_request.py +6 -6
- wandelbots_api_client/models/validation_error.py +4 -4
- wandelbots_api_client/models/validation_error2.py +4 -4
- wandelbots_api_client/models/validation_error2_loc_inner.py +1 -1
- wandelbots_api_client/models/validation_error_loc_inner.py +1 -1
- wandelbots_api_client/models/value.py +1 -1
- wandelbots_api_client/models/vector3d.py +4 -4
- wandelbots_api_client/models/version_number.py +9 -9
- wandelbots_api_client/models/virtual_controller.py +6 -6
- wandelbots_api_client/models/virtual_controller_types.py +11 -1
- wandelbots_api_client/models/virtual_robot_configuration.py +3 -3
- wandelbots_api_client/models/yaskawa_controller.py +3 -3
- wandelbots_api_client/rest.py +3 -2
- wandelbots_api_client/v2/__init__.py +3 -4
- wandelbots_api_client/v2/api/__init__.py +2 -0
- wandelbots_api_client/v2/api/application_api.py +11 -12
- wandelbots_api_client/v2/api/bus_inputs_outputs_api.py +930 -82
- wandelbots_api_client/v2/api/cell_api.py +8 -9
- wandelbots_api_client/v2/api/controller_api.py +35 -32
- wandelbots_api_client/v2/api/controller_inputs_outputs_api.py +14 -13
- wandelbots_api_client/v2/api/jogging_api.py +8 -6
- wandelbots_api_client/v2/api/kinematics_api.py +14 -16
- wandelbots_api_client/v2/api/license_api.py +8 -9
- wandelbots_api_client/v2/api/motion_group_api.py +10 -9
- wandelbots_api_client/v2/api/motion_group_models_api.py +13 -50
- wandelbots_api_client/v2/api/program_api.py +2 -3
- wandelbots_api_client/v2/api/store_collision_components_api.py +823 -50
- wandelbots_api_client/v2/api/store_collision_setups_api.py +264 -7
- wandelbots_api_client/v2/api/store_object_api.py +11 -12
- wandelbots_api_client/v2/api/system_api.py +6 -6
- wandelbots_api_client/v2/api/trajectory_caching_api.py +14 -15
- wandelbots_api_client/v2/api/trajectory_execution_api.py +8 -6
- wandelbots_api_client/v2/api/trajectory_planning_api.py +17 -19
- wandelbots_api_client/v2/api/version_api.py +284 -0
- wandelbots_api_client/v2/api/virtual_controller_api.py +53 -39
- wandelbots_api_client/v2/api/virtual_controller_behavior_api.py +20 -12
- wandelbots_api_client/v2/api/virtual_controller_inputs_outputs_api.py +5 -6
- wandelbots_api_client/v2/api_client.py +15 -8
- wandelbots_api_client/v2/configuration.py +19 -8
- wandelbots_api_client/v2/exceptions.py +2 -2
- wandelbots_api_client/v2/models/__init__.py +50 -29
- wandelbots_api_client/v2/models/abb_controller.py +8 -11
- wandelbots_api_client/v2/models/abb_controller_egm_server.py +4 -4
- wandelbots_api_client/v2/models/activate_license_request.py +3 -3
- wandelbots_api_client/v2/models/add_trajectory_error.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_error_data.py +58 -58
- wandelbots_api_client/v2/models/add_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/add_trajectory_response.py +4 -4
- wandelbots_api_client/v2/models/api_version.py +91 -0
- wandelbots_api_client/v2/models/app.py +11 -11
- wandelbots_api_client/v2/models/behavior.py +3 -3
- wandelbots_api_client/v2/models/blending_auto.py +6 -5
- wandelbots_api_client/v2/models/blending_position.py +4 -4
- wandelbots_api_client/v2/models/boolean_value.py +6 -9
- wandelbots_api_client/v2/models/box.py +7 -7
- wandelbots_api_client/v2/models/{io_description2.py → bus_io_description.py} +16 -16
- wandelbots_api_client/v2/models/bus_io_modbus_client.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_server.py +115 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_client.py +106 -0
- wandelbots_api_client/v2/models/bus_io_modbus_tcp_server.py +104 -0
- wandelbots_api_client/v2/models/bus_io_modbus_virtual.py +98 -0
- wandelbots_api_client/v2/models/bus_io_profinet.py +8 -11
- wandelbots_api_client/v2/models/bus_io_profinet_default_route.py +4 -4
- wandelbots_api_client/v2/models/bus_io_profinet_ip_config.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_network.py +5 -5
- wandelbots_api_client/v2/models/bus_io_profinet_virtual.py +5 -8
- wandelbots_api_client/v2/models/bus_io_type.py +65 -18
- wandelbots_api_client/v2/models/bus_ios_state.py +4 -4
- wandelbots_api_client/v2/models/bus_ios_state_enum.py +2 -2
- wandelbots_api_client/v2/models/capsule.py +5 -5
- wandelbots_api_client/v2/models/cartesian_limits.py +6 -6
- wandelbots_api_client/v2/models/cell.py +7 -7
- wandelbots_api_client/v2/models/collider.py +5 -5
- wandelbots_api_client/v2/models/collider_shape.py +2 -42
- wandelbots_api_client/v2/models/collision.py +8 -8
- wandelbots_api_client/v2/models/collision_contact.py +4 -4
- wandelbots_api_client/v2/models/collision_error.py +3 -3
- wandelbots_api_client/v2/models/collision_free_algorithm.py +3 -3
- wandelbots_api_client/v2/models/collision_setup.py +14 -12
- wandelbots_api_client/v2/models/comparator.py +2 -2
- wandelbots_api_client/v2/models/configuration_archive_status.py +2 -17
- wandelbots_api_client/v2/models/configuration_archive_status_creating.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_error.py +4 -4
- wandelbots_api_client/v2/models/configuration_archive_status_success.py +3 -3
- wandelbots_api_client/v2/models/configuration_resource.py +5 -5
- wandelbots_api_client/v2/models/container_environment_inner.py +4 -4
- wandelbots_api_client/v2/models/container_image.py +5 -5
- wandelbots_api_client/v2/models/container_image_secrets_inner.py +3 -3
- wandelbots_api_client/v2/models/container_resources.py +4 -4
- wandelbots_api_client/v2/models/container_storage.py +4 -4
- wandelbots_api_client/v2/models/controller_description.py +6 -6
- wandelbots_api_client/v2/models/convex_hull.py +4 -4
- wandelbots_api_client/v2/models/coordinate_system.py +8 -8
- wandelbots_api_client/v2/models/coordinate_system_data.py +7 -7
- wandelbots_api_client/v2/models/cubic_spline_parameter.py +4 -4
- wandelbots_api_client/v2/models/cycle_time.py +5 -4
- wandelbots_api_client/v2/models/cylinder.py +5 -5
- wandelbots_api_client/v2/models/dh_parameter.py +7 -7
- wandelbots_api_client/v2/models/direction.py +2 -2
- wandelbots_api_client/v2/models/error.py +4 -4
- wandelbots_api_client/v2/models/error_invalid_joint_count.py +5 -5
- wandelbots_api_client/v2/models/error_joint_limit_exceeded.py +6 -5
- wandelbots_api_client/v2/models/error_joint_position_collision.py +6 -6
- wandelbots_api_client/v2/models/error_max_iterations_exceeded.py +4 -4
- wandelbots_api_client/v2/models/execute.py +4 -4
- wandelbots_api_client/v2/models/execute_details.py +2 -12
- wandelbots_api_client/v2/models/execute_jogging_request.py +30 -2
- wandelbots_api_client/v2/models/execute_jogging_response.py +7 -7
- wandelbots_api_client/v2/models/execute_trajectory_request.py +30 -2
- wandelbots_api_client/v2/models/execute_trajectory_response.py +7 -7
- wandelbots_api_client/v2/models/external_joint_stream_datapoint.py +4 -4
- wandelbots_api_client/v2/models/external_joint_stream_request.py +3 -3
- wandelbots_api_client/v2/models/fanuc_controller.py +6 -9
- wandelbots_api_client/v2/models/feedback_collision.py +6 -6
- wandelbots_api_client/v2/models/feedback_joint_limit_exceeded.py +7 -6
- wandelbots_api_client/v2/models/feedback_out_of_workspace.py +4 -4
- wandelbots_api_client/v2/models/feedback_singularity.py +5 -5
- wandelbots_api_client/v2/models/flag.py +3 -3
- wandelbots_api_client/v2/models/float_value.py +6 -9
- wandelbots_api_client/v2/models/forward_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_request.py +6 -6
- wandelbots_api_client/v2/models/forward_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/forward_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/get_trajectory_response.py +5 -5
- wandelbots_api_client/v2/models/http_validation_error.py +3 -3
- wandelbots_api_client/v2/models/image_credentials.py +5 -5
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size.py → inconsistent_trajectory_size_error.py} +9 -9
- wandelbots_api_client/v2/models/{inconsitent_trajectory_size_inconsistent_trajectory_size.py → inconsistent_trajectory_size_error_inconsistent_trajectory_size.py} +9 -9
- wandelbots_api_client/v2/models/initialize_jogging_request.py +7 -10
- wandelbots_api_client/v2/models/initialize_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/initialize_movement_request.py +7 -10
- wandelbots_api_client/v2/models/initialize_movement_request_trajectory.py +2 -2
- wandelbots_api_client/v2/models/initialize_movement_response.py +5 -5
- wandelbots_api_client/v2/models/integer_value.py +6 -9
- wandelbots_api_client/v2/models/{invalid_dof.py → invalid_dof_error.py} +9 -9
- wandelbots_api_client/v2/models/{invalid_dof_invalid_dof.py → invalid_dof_error_invalid_dof.py} +8 -8
- wandelbots_api_client/v2/models/inverse_kinematics422_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_request.py +12 -11
- wandelbots_api_client/v2/models/inverse_kinematics_response.py +3 -3
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error.py +7 -7
- wandelbots_api_client/v2/models/inverse_kinematics_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/io_boolean_value.py +7 -10
- wandelbots_api_client/v2/models/{io_description_min.py → io_boundary.py} +10 -25
- wandelbots_api_client/v2/models/io_description.py +13 -13
- wandelbots_api_client/v2/models/io_direction.py +2 -2
- wandelbots_api_client/v2/models/io_float_value.py +7 -10
- wandelbots_api_client/v2/models/io_integer_value.py +7 -10
- wandelbots_api_client/v2/models/io_origin.py +37 -0
- wandelbots_api_client/v2/models/io_value.py +2 -17
- wandelbots_api_client/v2/models/io_value_type.py +2 -2
- wandelbots_api_client/v2/models/jogging_details.py +4 -4
- wandelbots_api_client/v2/models/jogging_details_state.py +2 -27
- wandelbots_api_client/v2/models/jogging_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/jogging_paused_near_collision.py +4 -4
- wandelbots_api_client/v2/models/jogging_paused_near_joint_limit.py +6 -5
- wandelbots_api_client/v2/models/jogging_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/jogging_running.py +3 -3
- wandelbots_api_client/v2/models/{joint_limit_exceeded.py → joint_limit_exceeded_error.py} +7 -7
- wandelbots_api_client/v2/models/joint_limits.py +6 -6
- wandelbots_api_client/v2/models/joint_trajectory.py +5 -5
- wandelbots_api_client/v2/models/joint_velocity_request.py +6 -9
- wandelbots_api_client/v2/models/joint_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/kuka_controller.py +12 -13
- wandelbots_api_client/v2/models/kuka_controller_rsi_server.py +4 -4
- wandelbots_api_client/v2/models/license.py +12 -12
- wandelbots_api_client/v2/models/license_status.py +4 -4
- wandelbots_api_client/v2/models/license_status_enum.py +2 -2
- wandelbots_api_client/v2/models/limit_range.py +4 -4
- wandelbots_api_client/v2/models/limit_set.py +7 -7
- wandelbots_api_client/v2/models/limits_override.py +8 -8
- wandelbots_api_client/v2/models/list_trajectories_response.py +3 -3
- wandelbots_api_client/v2/models/manufacturer.py +2 -2
- wandelbots_api_client/v2/models/midpoint_insertion_algorithm.py +4 -4
- wandelbots_api_client/v2/models/modbus_io.py +105 -0
- wandelbots_api_client/v2/models/modbus_io_area.py +40 -0
- wandelbots_api_client/v2/models/modbus_io_byte_order.py +40 -0
- wandelbots_api_client/v2/models/{http_validation_error2.py → modbus_io_data.py} +23 -28
- wandelbots_api_client/v2/models/modbus_io_type_enum.py +39 -0
- wandelbots_api_client/v2/models/motion_command.py +5 -5
- wandelbots_api_client/v2/models/motion_command_blending.py +2 -2
- wandelbots_api_client/v2/models/motion_command_path.py +2 -2
- wandelbots_api_client/v2/models/motion_group_description.py +30 -25
- wandelbots_api_client/v2/models/motion_group_info.py +7 -6
- wandelbots_api_client/v2/models/motion_group_joints.py +6 -6
- wandelbots_api_client/v2/models/motion_group_setup.py +15 -13
- wandelbots_api_client/v2/models/motion_group_state.py +18 -17
- wandelbots_api_client/v2/models/motion_group_state_joint_limit_reached.py +3 -3
- wandelbots_api_client/v2/models/movement_error_response.py +4 -4
- wandelbots_api_client/v2/models/{nan_value.py → nan_value_error.py} +9 -9
- wandelbots_api_client/v2/models/{nan_value_nan_value.py → nan_value_error_nan_value.py} +6 -6
- wandelbots_api_client/v2/models/op_mode.py +3 -3
- wandelbots_api_client/v2/models/operating_state.py +2 -2
- wandelbots_api_client/v2/models/operation_limits.py +6 -6
- wandelbots_api_client/v2/models/operation_mode.py +2 -2
- wandelbots_api_client/v2/models/orientation_type.py +2 -2
- wandelbots_api_client/v2/models/path_cartesian_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_circle.py +5 -5
- wandelbots_api_client/v2/models/path_cubic_spline.py +4 -4
- wandelbots_api_client/v2/models/path_joint_ptp.py +4 -4
- wandelbots_api_client/v2/models/path_line.py +4 -4
- wandelbots_api_client/v2/models/pause_jogging_request.py +5 -8
- wandelbots_api_client/v2/models/pause_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/pause_movement_request.py +5 -8
- wandelbots_api_client/v2/models/pause_movement_response.py +4 -4
- wandelbots_api_client/v2/models/pause_on_io.py +9 -6
- wandelbots_api_client/v2/models/payload.py +6 -6
- wandelbots_api_client/v2/models/plan422_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_failed_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_request.py +6 -6
- wandelbots_api_client/v2/models/plan_collision_free_response.py +3 -3
- wandelbots_api_client/v2/models/plan_collision_free_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_failed_response.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_failed_response_error_feedback.py +2 -2
- wandelbots_api_client/v2/models/plan_trajectory_request.py +5 -5
- wandelbots_api_client/v2/models/plan_trajectory_response.py +3 -3
- wandelbots_api_client/v2/models/plan_trajectory_response_response.py +2 -2
- wandelbots_api_client/v2/models/plan_validation_error.py +7 -7
- wandelbots_api_client/v2/models/plan_validation_error_all_of_data.py +2 -2
- wandelbots_api_client/v2/models/plane.py +3 -3
- wandelbots_api_client/v2/models/playback_speed_request.py +8 -10
- wandelbots_api_client/v2/models/playback_speed_response.py +4 -4
- wandelbots_api_client/v2/models/pose.py +4 -4
- wandelbots_api_client/v2/models/profinet_description.py +7 -7
- wandelbots_api_client/v2/models/profinet_input_output_config.py +5 -5
- wandelbots_api_client/v2/models/profinet_io.py +10 -10
- wandelbots_api_client/v2/models/profinet_io_data.py +9 -9
- wandelbots_api_client/v2/models/profinet_io_direction.py +3 -3
- wandelbots_api_client/v2/models/profinet_io_type_enum.py +2 -2
- wandelbots_api_client/v2/models/profinet_slot_description.py +6 -6
- wandelbots_api_client/v2/models/profinet_sub_slot_description.py +5 -5
- wandelbots_api_client/v2/models/program.py +8 -8
- wandelbots_api_client/v2/models/program_run.py +16 -14
- wandelbots_api_client/v2/models/program_run_state.py +2 -2
- wandelbots_api_client/v2/models/program_start_request.py +3 -3
- wandelbots_api_client/v2/models/rectangle.py +5 -5
- wandelbots_api_client/v2/models/rectangular_capsule.py +6 -6
- wandelbots_api_client/v2/models/release_channel.py +2 -2
- wandelbots_api_client/v2/models/robot_controller.py +4 -4
- wandelbots_api_client/v2/models/robot_controller_configuration.py +2 -2
- wandelbots_api_client/v2/models/robot_controller_state.py +13 -12
- wandelbots_api_client/v2/models/robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/robot_tcp.py +7 -7
- wandelbots_api_client/v2/models/robot_tcp_data.py +6 -6
- wandelbots_api_client/v2/models/rrt_connect_algorithm.py +8 -8
- wandelbots_api_client/v2/models/safety_state_type.py +2 -2
- wandelbots_api_client/v2/models/service_group.py +2 -2
- wandelbots_api_client/v2/models/service_status.py +5 -5
- wandelbots_api_client/v2/models/service_status_phase.py +2 -2
- wandelbots_api_client/v2/models/service_status_response.py +4 -4
- wandelbots_api_client/v2/models/service_status_severity.py +2 -2
- wandelbots_api_client/v2/models/service_status_status.py +5 -5
- wandelbots_api_client/v2/models/set_io.py +9 -6
- wandelbots_api_client/v2/models/settable_robot_system_mode.py +2 -2
- wandelbots_api_client/v2/models/singularity_type_enum.py +2 -2
- wandelbots_api_client/v2/models/sphere.py +4 -4
- wandelbots_api_client/v2/models/start_movement_request.py +13 -14
- wandelbots_api_client/v2/models/start_movement_response.py +4 -4
- wandelbots_api_client/v2/models/start_on_io.py +9 -6
- wandelbots_api_client/v2/models/stream_io_values_response.py +7 -6
- wandelbots_api_client/v2/models/tcp_offset.py +4 -4
- wandelbots_api_client/v2/models/{tcp_required.py → tcp_required_error.py} +6 -6
- wandelbots_api_client/v2/models/tcp_velocity_request.py +7 -10
- wandelbots_api_client/v2/models/tcp_velocity_response.py +4 -4
- wandelbots_api_client/v2/models/{torque_exceeded.py → torque_exceeded_error.py} +9 -9
- wandelbots_api_client/v2/models/{torque_exceeded_torque_exceeded.py → torque_exceeded_error_torque_exceeded.py} +8 -8
- wandelbots_api_client/v2/models/trajectory_data.py +7 -7
- wandelbots_api_client/v2/models/trajectory_details.py +6 -6
- wandelbots_api_client/v2/models/trajectory_details_state.py +2 -27
- wandelbots_api_client/v2/models/trajectory_ended.py +3 -3
- wandelbots_api_client/v2/models/trajectory_id.py +5 -5
- wandelbots_api_client/v2/models/trajectory_paused_by_user.py +3 -3
- wandelbots_api_client/v2/models/trajectory_paused_on_io.py +3 -3
- wandelbots_api_client/v2/models/trajectory_running.py +6 -5
- wandelbots_api_client/v2/models/trajectory_wait_for_io.py +3 -3
- wandelbots_api_client/v2/models/unit_type.py +2 -2
- wandelbots_api_client/v2/models/universalrobots_controller.py +6 -9
- wandelbots_api_client/v2/models/update_nova_version_request.py +3 -3
- wandelbots_api_client/v2/models/validation_error.py +6 -6
- wandelbots_api_client/v2/models/validation_error2.py +5 -5
- wandelbots_api_client/v2/models/validation_error_loc_inner.py +2 -2
- wandelbots_api_client/v2/models/virtual_controller.py +8 -11
- wandelbots_api_client/v2/models/virtual_controller_types.py +12 -2
- wandelbots_api_client/v2/models/virtual_robot_configuration.py +4 -4
- wandelbots_api_client/v2/models/wait_for_io_event_request.py +4 -4
- wandelbots_api_client/v2/models/yaskawa_controller.py +6 -9
- wandelbots_api_client/v2/rest.py +4 -3
- wandelbots_api_client/v2_pydantic/__init__.py +50 -0
- wandelbots_api_client/v2_pydantic/api/__init__.py +51 -0
- wandelbots_api_client/v2_pydantic/api/application_api.py +1803 -0
- wandelbots_api_client/v2_pydantic/api/bus_inputs_outputs_api.py +4603 -0
- wandelbots_api_client/v2_pydantic/api/cell_api.py +2003 -0
- wandelbots_api_client/v2_pydantic/api/controller_api.py +3721 -0
- wandelbots_api_client/v2_pydantic/api/controller_inputs_outputs_api.py +1395 -0
- wandelbots_api_client/v2_pydantic/api/jogging_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/kinematics_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/license_api.py +1061 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_api.py +733 -0
- wandelbots_api_client/v2_pydantic/api/motion_group_models_api.py +563 -0
- wandelbots_api_client/v2_pydantic/api/program_api.py +1187 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_components_api.py +4170 -0
- wandelbots_api_client/v2_pydantic/api/store_collision_setups_api.py +1419 -0
- wandelbots_api_client/v2_pydantic/api/store_object_api.py +1719 -0
- wandelbots_api_client/v2_pydantic/api/system_api.py +2427 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_caching_api.py +1508 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_execution_api.py +125 -0
- wandelbots_api_client/v2_pydantic/api/trajectory_planning_api.py +642 -0
- wandelbots_api_client/v2_pydantic/api/version_api.py +287 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_api.py +4610 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_behavior_api.py +991 -0
- wandelbots_api_client/v2_pydantic/api/virtual_controller_inputs_outputs_api.py +1012 -0
- wandelbots_api_client/v2_pydantic/api_client.py +809 -0
- wandelbots_api_client/v2_pydantic/api_response.py +21 -0
- wandelbots_api_client/v2_pydantic/configuration.py +606 -0
- wandelbots_api_client/v2_pydantic/exceptions.py +216 -0
- wandelbots_api_client/v2_pydantic/models.py +4561 -0
- wandelbots_api_client/v2_pydantic/py.typed +0 -0
- wandelbots_api_client/v2_pydantic/rest.py +213 -0
- {wandelbots_api_client-25.8.0.dev77.dist-info → wandelbots_api_client-25.11.0.dev12.dist-info}/METADATA +17 -16
- wandelbots_api_client-25.11.0.dev12.dist-info/RECORD +640 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client-25.8.0.dev77.dist-info/RECORD +0 -596
- {wandelbots_api_client-25.8.0.dev77.dist-info → wandelbots_api_client-25.11.0.dev12.dist-info}/WHEEL +0 -0
- {wandelbots_api_client-25.8.0.dev77.dist-info → wandelbots_api_client-25.11.0.dev12.dist-info}/licenses/LICENSE +0 -0
- {wandelbots_api_client-25.8.0.dev77.dist-info → wandelbots_api_client-25.11.0.dev12.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,2427 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
Wandelbots NOVA API
|
|
5
|
+
|
|
6
|
+
Interact with robots in an easy and intuitive way.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 2.1.0 dev
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
""" # noqa: E501
|
|
13
|
+
|
|
14
|
+
from furl import furl
|
|
15
|
+
import json
|
|
16
|
+
import humps
|
|
17
|
+
import re
|
|
18
|
+
import warnings
|
|
19
|
+
import websockets
|
|
20
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
21
|
+
from typing import Any, AsyncGenerator, Callable, Dict, List, Optional, Tuple, Union
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from urllib.parse import quote
|
|
24
|
+
|
|
25
|
+
from pydantic import Field, StrictBytes, StrictStr
|
|
26
|
+
from typing import Dict, List, Optional, Tuple, Union
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
from uuid import UUID
|
|
29
|
+
from wandelbots_api_client.v2_pydantic.models import ConfigurationArchiveStatus
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.models import ConfigurationResource
|
|
31
|
+
from wandelbots_api_client.v2_pydantic.models import ReleaseChannel
|
|
32
|
+
from wandelbots_api_client.v2_pydantic.models import ServiceStatus
|
|
33
|
+
from wandelbots_api_client.v2_pydantic.models import UpdateNovaVersionRequest
|
|
34
|
+
|
|
35
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
36
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
37
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
38
|
+
|
|
39
|
+
class SystemApi:
|
|
40
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
41
|
+
Ref: https://openapi-generator.tech
|
|
42
|
+
|
|
43
|
+
Do not edit the class manually.
|
|
44
|
+
"""
|
|
45
|
+
|
|
46
|
+
def __init__(self, api_client=None) -> None:
|
|
47
|
+
if api_client is None:
|
|
48
|
+
api_client = ApiClient.get_default()
|
|
49
|
+
self.api_client = api_client
|
|
50
|
+
|
|
51
|
+
@validate_call
|
|
52
|
+
async def backup_configuration(
|
|
53
|
+
self,
|
|
54
|
+
resources: Annotated[Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")] = None,
|
|
55
|
+
metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = None,
|
|
56
|
+
_request_timeout: Union[
|
|
57
|
+
None,
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
59
|
+
Tuple[
|
|
60
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
62
|
+
]
|
|
63
|
+
] = None,
|
|
64
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
65
|
+
_content_type: Optional[StrictStr] = None,
|
|
66
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
67
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
68
|
+
) -> bytearray:
|
|
69
|
+
"""Retrieve Configuration Backup
|
|
70
|
+
|
|
71
|
+
Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
|
|
72
|
+
|
|
73
|
+
:param resources: List of resource identifiers to include in the retrieval.
|
|
74
|
+
:type resources: List[str]
|
|
75
|
+
:param metadata: Additional metadata to add to the backup
|
|
76
|
+
:type metadata: Dict[str, str]
|
|
77
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
78
|
+
number provided, it will be total request
|
|
79
|
+
timeout. It can also be a pair (tuple) of
|
|
80
|
+
(connection, read) timeouts.
|
|
81
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
82
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
83
|
+
request; this effectively ignores the
|
|
84
|
+
authentication in the spec for a single request.
|
|
85
|
+
:type _request_auth: dict, optional
|
|
86
|
+
:param _content_type: force content-type for the request.
|
|
87
|
+
:type _content_type: str, Optional
|
|
88
|
+
:param _headers: set to override the headers for a single
|
|
89
|
+
request; this effectively ignores the headers
|
|
90
|
+
in the spec for a single request.
|
|
91
|
+
:type _headers: dict, optional
|
|
92
|
+
:param _host_index: set to override the host_index for a single
|
|
93
|
+
request; this effectively ignores the host_index
|
|
94
|
+
in the spec for a single request.
|
|
95
|
+
:type _host_index: int, optional
|
|
96
|
+
:return: Returns the result object.
|
|
97
|
+
""" # noqa: E501
|
|
98
|
+
|
|
99
|
+
_param = self._backup_configuration_serialize(
|
|
100
|
+
resources=resources,
|
|
101
|
+
metadata=metadata,
|
|
102
|
+
_request_auth=_request_auth,
|
|
103
|
+
_content_type=_content_type,
|
|
104
|
+
_headers=_headers,
|
|
105
|
+
_host_index=_host_index
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
109
|
+
'200': "bytearray",
|
|
110
|
+
'400': "Error",
|
|
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 backup_configuration_with_http_info(
|
|
126
|
+
self,
|
|
127
|
+
resources: Annotated[Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")] = None,
|
|
128
|
+
metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = 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[bytearray]:
|
|
142
|
+
"""Retrieve Configuration Backup
|
|
143
|
+
|
|
144
|
+
Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
|
|
145
|
+
|
|
146
|
+
:param resources: List of resource identifiers to include in the retrieval.
|
|
147
|
+
:type resources: List[str]
|
|
148
|
+
:param metadata: Additional metadata to add to the backup
|
|
149
|
+
:type metadata: Dict[str, str]
|
|
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._backup_configuration_serialize(
|
|
173
|
+
resources=resources,
|
|
174
|
+
metadata=metadata,
|
|
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': "bytearray",
|
|
183
|
+
'400': "Error",
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
response_data = await self.api_client.call_api(
|
|
187
|
+
*_param,
|
|
188
|
+
_request_timeout=_request_timeout
|
|
189
|
+
)
|
|
190
|
+
await response_data.read()
|
|
191
|
+
return self.api_client.response_deserialize(
|
|
192
|
+
response_data=response_data,
|
|
193
|
+
response_types_map=_response_types_map,
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
@validate_call
|
|
198
|
+
async def backup_configuration_without_preload_content(
|
|
199
|
+
self,
|
|
200
|
+
resources: Annotated[Optional[List[StrictStr]], Field(description="List of resource identifiers to include in the retrieval.")] = None,
|
|
201
|
+
metadata: Annotated[Optional[Dict[str, StrictStr]], Field(description="Additional metadata to add to the backup")] = None,
|
|
202
|
+
_request_timeout: Union[
|
|
203
|
+
None,
|
|
204
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
205
|
+
Tuple[
|
|
206
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
207
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
208
|
+
]
|
|
209
|
+
] = None,
|
|
210
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
211
|
+
_content_type: Optional[StrictStr] = None,
|
|
212
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
213
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
214
|
+
) -> RESTResponseType:
|
|
215
|
+
"""Retrieve Configuration Backup
|
|
216
|
+
|
|
217
|
+
Retrieves a configuration backup based on provided resource identifiers. If an empty array of resources is provided, a backup for all resources will be retrieved.
|
|
218
|
+
|
|
219
|
+
:param resources: List of resource identifiers to include in the retrieval.
|
|
220
|
+
:type resources: List[str]
|
|
221
|
+
:param metadata: Additional metadata to add to the backup
|
|
222
|
+
:type metadata: Dict[str, str]
|
|
223
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
224
|
+
number provided, it will be total request
|
|
225
|
+
timeout. It can also be a pair (tuple) of
|
|
226
|
+
(connection, read) timeouts.
|
|
227
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
228
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
229
|
+
request; this effectively ignores the
|
|
230
|
+
authentication in the spec for a single request.
|
|
231
|
+
:type _request_auth: dict, optional
|
|
232
|
+
:param _content_type: force content-type for the request.
|
|
233
|
+
:type _content_type: str, Optional
|
|
234
|
+
:param _headers: set to override the headers for a single
|
|
235
|
+
request; this effectively ignores the headers
|
|
236
|
+
in the spec for a single request.
|
|
237
|
+
:type _headers: dict, optional
|
|
238
|
+
:param _host_index: set to override the host_index for a single
|
|
239
|
+
request; this effectively ignores the host_index
|
|
240
|
+
in the spec for a single request.
|
|
241
|
+
:type _host_index: int, optional
|
|
242
|
+
:return: Returns the result object.
|
|
243
|
+
""" # noqa: E501
|
|
244
|
+
|
|
245
|
+
_param = self._backup_configuration_serialize(
|
|
246
|
+
resources=resources,
|
|
247
|
+
metadata=metadata,
|
|
248
|
+
_request_auth=_request_auth,
|
|
249
|
+
_content_type=_content_type,
|
|
250
|
+
_headers=_headers,
|
|
251
|
+
_host_index=_host_index
|
|
252
|
+
)
|
|
253
|
+
|
|
254
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
255
|
+
'200': "bytearray",
|
|
256
|
+
'400': "Error",
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
response_data = await self.api_client.call_api(
|
|
260
|
+
*_param,
|
|
261
|
+
_request_timeout=_request_timeout
|
|
262
|
+
)
|
|
263
|
+
return response_data.response
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
def _backup_configuration_serialize(
|
|
267
|
+
self,
|
|
268
|
+
resources,
|
|
269
|
+
metadata,
|
|
270
|
+
_request_auth,
|
|
271
|
+
_content_type,
|
|
272
|
+
_headers,
|
|
273
|
+
_host_index,
|
|
274
|
+
) -> RequestSerialized:
|
|
275
|
+
|
|
276
|
+
_host = None
|
|
277
|
+
|
|
278
|
+
_collection_formats: Dict[str, str] = {
|
|
279
|
+
'resources': 'csv',
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
_path_params: Dict[str, str] = {}
|
|
283
|
+
_query_params: List[Tuple[str, str]] = []
|
|
284
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
285
|
+
_form_params: List[Tuple[str, str]] = []
|
|
286
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
287
|
+
_body_params: Optional[bytes] = None
|
|
288
|
+
|
|
289
|
+
# process the path parameters
|
|
290
|
+
# process the query parameters
|
|
291
|
+
if resources is not None:
|
|
292
|
+
|
|
293
|
+
_query_params.append(('resources', resources))
|
|
294
|
+
|
|
295
|
+
if metadata is not None:
|
|
296
|
+
|
|
297
|
+
_query_params.append(('metadata', metadata))
|
|
298
|
+
|
|
299
|
+
# process the header parameters
|
|
300
|
+
# process the form parameters
|
|
301
|
+
# process the body parameter
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
# set the HTTP header `Accept`
|
|
305
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
306
|
+
[
|
|
307
|
+
'application/gzip',
|
|
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='GET',
|
|
321
|
+
resource_path='/system/configuration',
|
|
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 check_nova_version_update(
|
|
338
|
+
self,
|
|
339
|
+
channel: ReleaseChannel,
|
|
340
|
+
_request_timeout: Union[
|
|
341
|
+
None,
|
|
342
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
343
|
+
Tuple[
|
|
344
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
345
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
346
|
+
]
|
|
347
|
+
] = None,
|
|
348
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
349
|
+
_content_type: Optional[StrictStr] = None,
|
|
350
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
351
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
352
|
+
) -> str:
|
|
353
|
+
"""Check update
|
|
354
|
+
|
|
355
|
+
Check if a more recent Wandelbots NOVA Version is available.
|
|
356
|
+
|
|
357
|
+
:param channel: (required)
|
|
358
|
+
:type channel: ReleaseChannel
|
|
359
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
360
|
+
number provided, it will be total request
|
|
361
|
+
timeout. It can also be a pair (tuple) of
|
|
362
|
+
(connection, read) timeouts.
|
|
363
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
364
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
365
|
+
request; this effectively ignores the
|
|
366
|
+
authentication in the spec for a single request.
|
|
367
|
+
:type _request_auth: dict, optional
|
|
368
|
+
:param _content_type: force content-type for the request.
|
|
369
|
+
:type _content_type: str, Optional
|
|
370
|
+
:param _headers: set to override the headers for a single
|
|
371
|
+
request; this effectively ignores the headers
|
|
372
|
+
in the spec for a single request.
|
|
373
|
+
:type _headers: dict, optional
|
|
374
|
+
:param _host_index: set to override the host_index for a single
|
|
375
|
+
request; this effectively ignores the host_index
|
|
376
|
+
in the spec for a single request.
|
|
377
|
+
:type _host_index: int, optional
|
|
378
|
+
:return: Returns the result object.
|
|
379
|
+
""" # noqa: E501
|
|
380
|
+
|
|
381
|
+
_param = self._check_nova_version_update_serialize(
|
|
382
|
+
channel=channel,
|
|
383
|
+
_request_auth=_request_auth,
|
|
384
|
+
_content_type=_content_type,
|
|
385
|
+
_headers=_headers,
|
|
386
|
+
_host_index=_host_index
|
|
387
|
+
)
|
|
388
|
+
|
|
389
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
390
|
+
'200': "str",
|
|
391
|
+
'204': None,
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
response_data = await self.api_client.call_api(
|
|
395
|
+
*_param,
|
|
396
|
+
_request_timeout=_request_timeout
|
|
397
|
+
)
|
|
398
|
+
await response_data.read()
|
|
399
|
+
return self.api_client.response_deserialize(
|
|
400
|
+
response_data=response_data,
|
|
401
|
+
response_types_map=_response_types_map,
|
|
402
|
+
).data
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
@validate_call
|
|
406
|
+
async def check_nova_version_update_with_http_info(
|
|
407
|
+
self,
|
|
408
|
+
channel: ReleaseChannel,
|
|
409
|
+
_request_timeout: Union[
|
|
410
|
+
None,
|
|
411
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
412
|
+
Tuple[
|
|
413
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
414
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
415
|
+
]
|
|
416
|
+
] = None,
|
|
417
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
418
|
+
_content_type: Optional[StrictStr] = None,
|
|
419
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
420
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
421
|
+
) -> ApiResponse[str]:
|
|
422
|
+
"""Check update
|
|
423
|
+
|
|
424
|
+
Check if a more recent Wandelbots NOVA Version is available.
|
|
425
|
+
|
|
426
|
+
:param channel: (required)
|
|
427
|
+
:type channel: ReleaseChannel
|
|
428
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
429
|
+
number provided, it will be total request
|
|
430
|
+
timeout. It can also be a pair (tuple) of
|
|
431
|
+
(connection, read) timeouts.
|
|
432
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
433
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
434
|
+
request; this effectively ignores the
|
|
435
|
+
authentication in the spec for a single request.
|
|
436
|
+
:type _request_auth: dict, optional
|
|
437
|
+
:param _content_type: force content-type for the request.
|
|
438
|
+
:type _content_type: str, Optional
|
|
439
|
+
:param _headers: set to override the headers for a single
|
|
440
|
+
request; this effectively ignores the headers
|
|
441
|
+
in the spec for a single request.
|
|
442
|
+
:type _headers: dict, optional
|
|
443
|
+
:param _host_index: set to override the host_index for a single
|
|
444
|
+
request; this effectively ignores the host_index
|
|
445
|
+
in the spec for a single request.
|
|
446
|
+
:type _host_index: int, optional
|
|
447
|
+
:return: Returns the result object.
|
|
448
|
+
""" # noqa: E501
|
|
449
|
+
|
|
450
|
+
_param = self._check_nova_version_update_serialize(
|
|
451
|
+
channel=channel,
|
|
452
|
+
_request_auth=_request_auth,
|
|
453
|
+
_content_type=_content_type,
|
|
454
|
+
_headers=_headers,
|
|
455
|
+
_host_index=_host_index
|
|
456
|
+
)
|
|
457
|
+
|
|
458
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
459
|
+
'200': "str",
|
|
460
|
+
'204': None,
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
response_data = await self.api_client.call_api(
|
|
464
|
+
*_param,
|
|
465
|
+
_request_timeout=_request_timeout
|
|
466
|
+
)
|
|
467
|
+
await response_data.read()
|
|
468
|
+
return self.api_client.response_deserialize(
|
|
469
|
+
response_data=response_data,
|
|
470
|
+
response_types_map=_response_types_map,
|
|
471
|
+
)
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
@validate_call
|
|
475
|
+
async def check_nova_version_update_without_preload_content(
|
|
476
|
+
self,
|
|
477
|
+
channel: ReleaseChannel,
|
|
478
|
+
_request_timeout: Union[
|
|
479
|
+
None,
|
|
480
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
481
|
+
Tuple[
|
|
482
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
483
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
484
|
+
]
|
|
485
|
+
] = None,
|
|
486
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
487
|
+
_content_type: Optional[StrictStr] = None,
|
|
488
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
489
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
490
|
+
) -> RESTResponseType:
|
|
491
|
+
"""Check update
|
|
492
|
+
|
|
493
|
+
Check if a more recent Wandelbots NOVA Version is available.
|
|
494
|
+
|
|
495
|
+
:param channel: (required)
|
|
496
|
+
:type channel: ReleaseChannel
|
|
497
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
498
|
+
number provided, it will be total request
|
|
499
|
+
timeout. It can also be a pair (tuple) of
|
|
500
|
+
(connection, read) timeouts.
|
|
501
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
502
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
503
|
+
request; this effectively ignores the
|
|
504
|
+
authentication in the spec for a single request.
|
|
505
|
+
:type _request_auth: dict, optional
|
|
506
|
+
:param _content_type: force content-type for the request.
|
|
507
|
+
:type _content_type: str, Optional
|
|
508
|
+
:param _headers: set to override the headers for a single
|
|
509
|
+
request; this effectively ignores the headers
|
|
510
|
+
in the spec for a single request.
|
|
511
|
+
:type _headers: dict, optional
|
|
512
|
+
:param _host_index: set to override the host_index for a single
|
|
513
|
+
request; this effectively ignores the host_index
|
|
514
|
+
in the spec for a single request.
|
|
515
|
+
:type _host_index: int, optional
|
|
516
|
+
:return: Returns the result object.
|
|
517
|
+
""" # noqa: E501
|
|
518
|
+
|
|
519
|
+
_param = self._check_nova_version_update_serialize(
|
|
520
|
+
channel=channel,
|
|
521
|
+
_request_auth=_request_auth,
|
|
522
|
+
_content_type=_content_type,
|
|
523
|
+
_headers=_headers,
|
|
524
|
+
_host_index=_host_index
|
|
525
|
+
)
|
|
526
|
+
|
|
527
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
528
|
+
'200': "str",
|
|
529
|
+
'204': None,
|
|
530
|
+
}
|
|
531
|
+
|
|
532
|
+
response_data = await self.api_client.call_api(
|
|
533
|
+
*_param,
|
|
534
|
+
_request_timeout=_request_timeout
|
|
535
|
+
)
|
|
536
|
+
return response_data.response
|
|
537
|
+
|
|
538
|
+
|
|
539
|
+
def _check_nova_version_update_serialize(
|
|
540
|
+
self,
|
|
541
|
+
channel,
|
|
542
|
+
_request_auth,
|
|
543
|
+
_content_type,
|
|
544
|
+
_headers,
|
|
545
|
+
_host_index,
|
|
546
|
+
) -> RequestSerialized:
|
|
547
|
+
|
|
548
|
+
_host = None
|
|
549
|
+
|
|
550
|
+
_collection_formats: Dict[str, str] = {
|
|
551
|
+
}
|
|
552
|
+
|
|
553
|
+
_path_params: Dict[str, str] = {}
|
|
554
|
+
_query_params: List[Tuple[str, str]] = []
|
|
555
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
556
|
+
_form_params: List[Tuple[str, str]] = []
|
|
557
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
558
|
+
_body_params: Optional[bytes] = None
|
|
559
|
+
|
|
560
|
+
# process the path parameters
|
|
561
|
+
# process the query parameters
|
|
562
|
+
if channel is not None:
|
|
563
|
+
|
|
564
|
+
_query_params.append(('channel', channel.value))
|
|
565
|
+
|
|
566
|
+
# process the header parameters
|
|
567
|
+
# process the form parameters
|
|
568
|
+
# process the body parameter
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
# set the HTTP header `Accept`
|
|
572
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
573
|
+
[
|
|
574
|
+
'text/plain'
|
|
575
|
+
]
|
|
576
|
+
)
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
# authentication setting
|
|
580
|
+
_auth_settings: List[str] = [
|
|
581
|
+
'BasicAuth',
|
|
582
|
+
'BearerAuth'
|
|
583
|
+
]
|
|
584
|
+
|
|
585
|
+
return self.api_client.param_serialize(
|
|
586
|
+
method='GET',
|
|
587
|
+
resource_path='/system/update',
|
|
588
|
+
path_params=_path_params,
|
|
589
|
+
query_params=_query_params,
|
|
590
|
+
header_params=_header_params,
|
|
591
|
+
body=_body_params,
|
|
592
|
+
post_params=_form_params,
|
|
593
|
+
files=_files,
|
|
594
|
+
auth_settings=_auth_settings,
|
|
595
|
+
collection_formats=_collection_formats,
|
|
596
|
+
_host=_host,
|
|
597
|
+
_request_auth=_request_auth
|
|
598
|
+
)
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
@validate_call
|
|
603
|
+
async def get_configuration_backup_status(
|
|
604
|
+
self,
|
|
605
|
+
operation_id: UUID,
|
|
606
|
+
_request_timeout: Union[
|
|
607
|
+
None,
|
|
608
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
609
|
+
Tuple[
|
|
610
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
611
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
612
|
+
]
|
|
613
|
+
] = None,
|
|
614
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
615
|
+
_content_type: Optional[StrictStr] = None,
|
|
616
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
617
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
618
|
+
) -> ConfigurationArchiveStatus:
|
|
619
|
+
"""Retrieve Backup Status
|
|
620
|
+
|
|
621
|
+
Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
622
|
+
|
|
623
|
+
:param operation_id: (required)
|
|
624
|
+
:type operation_id: str
|
|
625
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
626
|
+
number provided, it will be total request
|
|
627
|
+
timeout. It can also be a pair (tuple) of
|
|
628
|
+
(connection, read) timeouts.
|
|
629
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
630
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
631
|
+
request; this effectively ignores the
|
|
632
|
+
authentication in the spec for a single request.
|
|
633
|
+
:type _request_auth: dict, optional
|
|
634
|
+
:param _content_type: force content-type for the request.
|
|
635
|
+
:type _content_type: str, Optional
|
|
636
|
+
:param _headers: set to override the headers for a single
|
|
637
|
+
request; this effectively ignores the headers
|
|
638
|
+
in the spec for a single request.
|
|
639
|
+
:type _headers: dict, optional
|
|
640
|
+
:param _host_index: set to override the host_index for a single
|
|
641
|
+
request; this effectively ignores the host_index
|
|
642
|
+
in the spec for a single request.
|
|
643
|
+
:type _host_index: int, optional
|
|
644
|
+
:return: Returns the result object.
|
|
645
|
+
""" # noqa: E501
|
|
646
|
+
|
|
647
|
+
_param = self._get_configuration_backup_status_serialize(
|
|
648
|
+
operation_id=operation_id,
|
|
649
|
+
_request_auth=_request_auth,
|
|
650
|
+
_content_type=_content_type,
|
|
651
|
+
_headers=_headers,
|
|
652
|
+
_host_index=_host_index
|
|
653
|
+
)
|
|
654
|
+
|
|
655
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
656
|
+
'200': "ConfigurationArchiveStatus",
|
|
657
|
+
'404': "Error",
|
|
658
|
+
}
|
|
659
|
+
|
|
660
|
+
response_data = await self.api_client.call_api(
|
|
661
|
+
*_param,
|
|
662
|
+
_request_timeout=_request_timeout
|
|
663
|
+
)
|
|
664
|
+
await response_data.read()
|
|
665
|
+
return self.api_client.response_deserialize(
|
|
666
|
+
response_data=response_data,
|
|
667
|
+
response_types_map=_response_types_map,
|
|
668
|
+
).data
|
|
669
|
+
|
|
670
|
+
|
|
671
|
+
@validate_call
|
|
672
|
+
async def get_configuration_backup_status_with_http_info(
|
|
673
|
+
self,
|
|
674
|
+
operation_id: UUID,
|
|
675
|
+
_request_timeout: Union[
|
|
676
|
+
None,
|
|
677
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
678
|
+
Tuple[
|
|
679
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
680
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
681
|
+
]
|
|
682
|
+
] = None,
|
|
683
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
684
|
+
_content_type: Optional[StrictStr] = None,
|
|
685
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
686
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
687
|
+
) -> ApiResponse[ConfigurationArchiveStatus]:
|
|
688
|
+
"""Retrieve Backup Status
|
|
689
|
+
|
|
690
|
+
Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
691
|
+
|
|
692
|
+
:param operation_id: (required)
|
|
693
|
+
:type operation_id: str
|
|
694
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
695
|
+
number provided, it will be total request
|
|
696
|
+
timeout. It can also be a pair (tuple) of
|
|
697
|
+
(connection, read) timeouts.
|
|
698
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
699
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
700
|
+
request; this effectively ignores the
|
|
701
|
+
authentication in the spec for a single request.
|
|
702
|
+
:type _request_auth: dict, optional
|
|
703
|
+
:param _content_type: force content-type for the request.
|
|
704
|
+
:type _content_type: str, Optional
|
|
705
|
+
:param _headers: set to override the headers for a single
|
|
706
|
+
request; this effectively ignores the headers
|
|
707
|
+
in the spec for a single request.
|
|
708
|
+
:type _headers: dict, optional
|
|
709
|
+
:param _host_index: set to override the host_index for a single
|
|
710
|
+
request; this effectively ignores the host_index
|
|
711
|
+
in the spec for a single request.
|
|
712
|
+
:type _host_index: int, optional
|
|
713
|
+
:return: Returns the result object.
|
|
714
|
+
""" # noqa: E501
|
|
715
|
+
|
|
716
|
+
_param = self._get_configuration_backup_status_serialize(
|
|
717
|
+
operation_id=operation_id,
|
|
718
|
+
_request_auth=_request_auth,
|
|
719
|
+
_content_type=_content_type,
|
|
720
|
+
_headers=_headers,
|
|
721
|
+
_host_index=_host_index
|
|
722
|
+
)
|
|
723
|
+
|
|
724
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
725
|
+
'200': "ConfigurationArchiveStatus",
|
|
726
|
+
'404': "Error",
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
response_data = await self.api_client.call_api(
|
|
730
|
+
*_param,
|
|
731
|
+
_request_timeout=_request_timeout
|
|
732
|
+
)
|
|
733
|
+
await response_data.read()
|
|
734
|
+
return self.api_client.response_deserialize(
|
|
735
|
+
response_data=response_data,
|
|
736
|
+
response_types_map=_response_types_map,
|
|
737
|
+
)
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
@validate_call
|
|
741
|
+
async def get_configuration_backup_status_without_preload_content(
|
|
742
|
+
self,
|
|
743
|
+
operation_id: UUID,
|
|
744
|
+
_request_timeout: Union[
|
|
745
|
+
None,
|
|
746
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
747
|
+
Tuple[
|
|
748
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
749
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
750
|
+
]
|
|
751
|
+
] = None,
|
|
752
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
753
|
+
_content_type: Optional[StrictStr] = None,
|
|
754
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
755
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
756
|
+
) -> RESTResponseType:
|
|
757
|
+
"""Retrieve Backup Status
|
|
758
|
+
|
|
759
|
+
Retrieves the status of a configuration backup. The status can only be requested for 5 minutes after backup creation. After 5 minutes, 404 is returned.
|
|
760
|
+
|
|
761
|
+
:param operation_id: (required)
|
|
762
|
+
:type operation_id: str
|
|
763
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
764
|
+
number provided, it will be total request
|
|
765
|
+
timeout. It can also be a pair (tuple) of
|
|
766
|
+
(connection, read) timeouts.
|
|
767
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
768
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
769
|
+
request; this effectively ignores the
|
|
770
|
+
authentication in the spec for a single request.
|
|
771
|
+
:type _request_auth: dict, optional
|
|
772
|
+
:param _content_type: force content-type for the request.
|
|
773
|
+
:type _content_type: str, Optional
|
|
774
|
+
:param _headers: set to override the headers for a single
|
|
775
|
+
request; this effectively ignores the headers
|
|
776
|
+
in the spec for a single request.
|
|
777
|
+
:type _headers: dict, optional
|
|
778
|
+
:param _host_index: set to override the host_index for a single
|
|
779
|
+
request; this effectively ignores the host_index
|
|
780
|
+
in the spec for a single request.
|
|
781
|
+
:type _host_index: int, optional
|
|
782
|
+
:return: Returns the result object.
|
|
783
|
+
""" # noqa: E501
|
|
784
|
+
|
|
785
|
+
_param = self._get_configuration_backup_status_serialize(
|
|
786
|
+
operation_id=operation_id,
|
|
787
|
+
_request_auth=_request_auth,
|
|
788
|
+
_content_type=_content_type,
|
|
789
|
+
_headers=_headers,
|
|
790
|
+
_host_index=_host_index
|
|
791
|
+
)
|
|
792
|
+
|
|
793
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
794
|
+
'200': "ConfigurationArchiveStatus",
|
|
795
|
+
'404': "Error",
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
response_data = await self.api_client.call_api(
|
|
799
|
+
*_param,
|
|
800
|
+
_request_timeout=_request_timeout
|
|
801
|
+
)
|
|
802
|
+
return response_data.response
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
def _get_configuration_backup_status_serialize(
|
|
806
|
+
self,
|
|
807
|
+
operation_id,
|
|
808
|
+
_request_auth,
|
|
809
|
+
_content_type,
|
|
810
|
+
_headers,
|
|
811
|
+
_host_index,
|
|
812
|
+
) -> RequestSerialized:
|
|
813
|
+
|
|
814
|
+
_host = None
|
|
815
|
+
|
|
816
|
+
_collection_formats: Dict[str, str] = {
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
_path_params: Dict[str, str] = {}
|
|
820
|
+
_query_params: List[Tuple[str, str]] = []
|
|
821
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
822
|
+
_form_params: List[Tuple[str, str]] = []
|
|
823
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
824
|
+
_body_params: Optional[bytes] = None
|
|
825
|
+
|
|
826
|
+
# process the path parameters
|
|
827
|
+
# process the query parameters
|
|
828
|
+
if operation_id is not None:
|
|
829
|
+
|
|
830
|
+
_query_params.append(('operation_id', operation_id))
|
|
831
|
+
|
|
832
|
+
# process the header parameters
|
|
833
|
+
# process the form parameters
|
|
834
|
+
# process the body parameter
|
|
835
|
+
|
|
836
|
+
|
|
837
|
+
# set the HTTP header `Accept`
|
|
838
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
839
|
+
[
|
|
840
|
+
'application/json'
|
|
841
|
+
]
|
|
842
|
+
)
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
# authentication setting
|
|
846
|
+
_auth_settings: List[str] = [
|
|
847
|
+
'BasicAuth',
|
|
848
|
+
'BearerAuth'
|
|
849
|
+
]
|
|
850
|
+
|
|
851
|
+
return self.api_client.param_serialize(
|
|
852
|
+
method='GET',
|
|
853
|
+
resource_path='/system/configuration/status',
|
|
854
|
+
path_params=_path_params,
|
|
855
|
+
query_params=_query_params,
|
|
856
|
+
header_params=_header_params,
|
|
857
|
+
body=_body_params,
|
|
858
|
+
post_params=_form_params,
|
|
859
|
+
files=_files,
|
|
860
|
+
auth_settings=_auth_settings,
|
|
861
|
+
collection_formats=_collection_formats,
|
|
862
|
+
_host=_host,
|
|
863
|
+
_request_auth=_request_auth
|
|
864
|
+
)
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
|
|
868
|
+
@validate_call
|
|
869
|
+
async def get_diagnose_package(
|
|
870
|
+
self,
|
|
871
|
+
_request_timeout: Union[
|
|
872
|
+
None,
|
|
873
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
874
|
+
Tuple[
|
|
875
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
876
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
877
|
+
]
|
|
878
|
+
] = None,
|
|
879
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
880
|
+
_content_type: Optional[StrictStr] = None,
|
|
881
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
882
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
883
|
+
) -> bytearray:
|
|
884
|
+
"""Download Diagnosis Package
|
|
885
|
+
|
|
886
|
+
Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
887
|
+
|
|
888
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
889
|
+
number provided, it will be total request
|
|
890
|
+
timeout. It can also be a pair (tuple) of
|
|
891
|
+
(connection, read) timeouts.
|
|
892
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
893
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
894
|
+
request; this effectively ignores the
|
|
895
|
+
authentication in the spec for a single request.
|
|
896
|
+
:type _request_auth: dict, optional
|
|
897
|
+
:param _content_type: force content-type for the request.
|
|
898
|
+
:type _content_type: str, Optional
|
|
899
|
+
:param _headers: set to override the headers for a single
|
|
900
|
+
request; this effectively ignores the headers
|
|
901
|
+
in the spec for a single request.
|
|
902
|
+
:type _headers: dict, optional
|
|
903
|
+
:param _host_index: set to override the host_index for a single
|
|
904
|
+
request; this effectively ignores the host_index
|
|
905
|
+
in the spec for a single request.
|
|
906
|
+
:type _host_index: int, optional
|
|
907
|
+
:return: Returns the result object.
|
|
908
|
+
""" # noqa: E501
|
|
909
|
+
|
|
910
|
+
_param = self._get_diagnose_package_serialize(
|
|
911
|
+
_request_auth=_request_auth,
|
|
912
|
+
_content_type=_content_type,
|
|
913
|
+
_headers=_headers,
|
|
914
|
+
_host_index=_host_index
|
|
915
|
+
)
|
|
916
|
+
|
|
917
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
918
|
+
'200': "bytearray",
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
response_data = await self.api_client.call_api(
|
|
922
|
+
*_param,
|
|
923
|
+
_request_timeout=_request_timeout
|
|
924
|
+
)
|
|
925
|
+
await response_data.read()
|
|
926
|
+
return self.api_client.response_deserialize(
|
|
927
|
+
response_data=response_data,
|
|
928
|
+
response_types_map=_response_types_map,
|
|
929
|
+
).data
|
|
930
|
+
|
|
931
|
+
|
|
932
|
+
@validate_call
|
|
933
|
+
async def get_diagnose_package_with_http_info(
|
|
934
|
+
self,
|
|
935
|
+
_request_timeout: Union[
|
|
936
|
+
None,
|
|
937
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
938
|
+
Tuple[
|
|
939
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
940
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
941
|
+
]
|
|
942
|
+
] = None,
|
|
943
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
944
|
+
_content_type: Optional[StrictStr] = None,
|
|
945
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
946
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
947
|
+
) -> ApiResponse[bytearray]:
|
|
948
|
+
"""Download Diagnosis Package
|
|
949
|
+
|
|
950
|
+
Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
951
|
+
|
|
952
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
953
|
+
number provided, it will be total request
|
|
954
|
+
timeout. It can also be a pair (tuple) of
|
|
955
|
+
(connection, read) timeouts.
|
|
956
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
957
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
958
|
+
request; this effectively ignores the
|
|
959
|
+
authentication in the spec for a single request.
|
|
960
|
+
:type _request_auth: dict, optional
|
|
961
|
+
:param _content_type: force content-type for the request.
|
|
962
|
+
:type _content_type: str, Optional
|
|
963
|
+
:param _headers: set to override the headers for a single
|
|
964
|
+
request; this effectively ignores the headers
|
|
965
|
+
in the spec for a single request.
|
|
966
|
+
:type _headers: dict, optional
|
|
967
|
+
:param _host_index: set to override the host_index for a single
|
|
968
|
+
request; this effectively ignores the host_index
|
|
969
|
+
in the spec for a single request.
|
|
970
|
+
:type _host_index: int, optional
|
|
971
|
+
:return: Returns the result object.
|
|
972
|
+
""" # noqa: E501
|
|
973
|
+
|
|
974
|
+
_param = self._get_diagnose_package_serialize(
|
|
975
|
+
_request_auth=_request_auth,
|
|
976
|
+
_content_type=_content_type,
|
|
977
|
+
_headers=_headers,
|
|
978
|
+
_host_index=_host_index
|
|
979
|
+
)
|
|
980
|
+
|
|
981
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
982
|
+
'200': "bytearray",
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
response_data = await self.api_client.call_api(
|
|
986
|
+
*_param,
|
|
987
|
+
_request_timeout=_request_timeout
|
|
988
|
+
)
|
|
989
|
+
await response_data.read()
|
|
990
|
+
return self.api_client.response_deserialize(
|
|
991
|
+
response_data=response_data,
|
|
992
|
+
response_types_map=_response_types_map,
|
|
993
|
+
)
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
@validate_call
|
|
997
|
+
async def get_diagnose_package_without_preload_content(
|
|
998
|
+
self,
|
|
999
|
+
_request_timeout: Union[
|
|
1000
|
+
None,
|
|
1001
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1002
|
+
Tuple[
|
|
1003
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1004
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1005
|
+
]
|
|
1006
|
+
] = None,
|
|
1007
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1008
|
+
_content_type: Optional[StrictStr] = None,
|
|
1009
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1010
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1011
|
+
) -> RESTResponseType:
|
|
1012
|
+
"""Download Diagnosis Package
|
|
1013
|
+
|
|
1014
|
+
Collects information on the current status of all NOVA services and exports them as a .zip file. Includes information on all cells on the instance such as the service logs and virtual robot controllers. From each cell the logs of all services are included, as well as the configuration of each connected controller to start virtual robots.
|
|
1015
|
+
|
|
1016
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1017
|
+
number provided, it will be total request
|
|
1018
|
+
timeout. It can also be a pair (tuple) of
|
|
1019
|
+
(connection, read) timeouts.
|
|
1020
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1021
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1022
|
+
request; this effectively ignores the
|
|
1023
|
+
authentication in the spec for a single request.
|
|
1024
|
+
:type _request_auth: dict, optional
|
|
1025
|
+
:param _content_type: force content-type for the request.
|
|
1026
|
+
:type _content_type: str, Optional
|
|
1027
|
+
:param _headers: set to override the headers for a single
|
|
1028
|
+
request; this effectively ignores the headers
|
|
1029
|
+
in the spec for a single request.
|
|
1030
|
+
:type _headers: dict, optional
|
|
1031
|
+
:param _host_index: set to override the host_index for a single
|
|
1032
|
+
request; this effectively ignores the host_index
|
|
1033
|
+
in the spec for a single request.
|
|
1034
|
+
:type _host_index: int, optional
|
|
1035
|
+
:return: Returns the result object.
|
|
1036
|
+
""" # noqa: E501
|
|
1037
|
+
|
|
1038
|
+
_param = self._get_diagnose_package_serialize(
|
|
1039
|
+
_request_auth=_request_auth,
|
|
1040
|
+
_content_type=_content_type,
|
|
1041
|
+
_headers=_headers,
|
|
1042
|
+
_host_index=_host_index
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1045
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1046
|
+
'200': "bytearray",
|
|
1047
|
+
}
|
|
1048
|
+
|
|
1049
|
+
response_data = await self.api_client.call_api(
|
|
1050
|
+
*_param,
|
|
1051
|
+
_request_timeout=_request_timeout
|
|
1052
|
+
)
|
|
1053
|
+
return response_data.response
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
def _get_diagnose_package_serialize(
|
|
1057
|
+
self,
|
|
1058
|
+
_request_auth,
|
|
1059
|
+
_content_type,
|
|
1060
|
+
_headers,
|
|
1061
|
+
_host_index,
|
|
1062
|
+
) -> RequestSerialized:
|
|
1063
|
+
|
|
1064
|
+
_host = None
|
|
1065
|
+
|
|
1066
|
+
_collection_formats: Dict[str, str] = {
|
|
1067
|
+
}
|
|
1068
|
+
|
|
1069
|
+
_path_params: Dict[str, str] = {}
|
|
1070
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1071
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1072
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1073
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1074
|
+
_body_params: Optional[bytes] = None
|
|
1075
|
+
|
|
1076
|
+
# process the path parameters
|
|
1077
|
+
# process the query parameters
|
|
1078
|
+
# process the header parameters
|
|
1079
|
+
# process the form parameters
|
|
1080
|
+
# process the body parameter
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
# set the HTTP header `Accept`
|
|
1084
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1085
|
+
[
|
|
1086
|
+
'application/zip'
|
|
1087
|
+
]
|
|
1088
|
+
)
|
|
1089
|
+
|
|
1090
|
+
|
|
1091
|
+
# authentication setting
|
|
1092
|
+
_auth_settings: List[str] = [
|
|
1093
|
+
'BasicAuth',
|
|
1094
|
+
'BearerAuth'
|
|
1095
|
+
]
|
|
1096
|
+
|
|
1097
|
+
return self.api_client.param_serialize(
|
|
1098
|
+
method='GET',
|
|
1099
|
+
resource_path='/system/diagnosis-package/zip',
|
|
1100
|
+
path_params=_path_params,
|
|
1101
|
+
query_params=_query_params,
|
|
1102
|
+
header_params=_header_params,
|
|
1103
|
+
body=_body_params,
|
|
1104
|
+
post_params=_form_params,
|
|
1105
|
+
files=_files,
|
|
1106
|
+
auth_settings=_auth_settings,
|
|
1107
|
+
collection_formats=_collection_formats,
|
|
1108
|
+
_host=_host,
|
|
1109
|
+
_request_auth=_request_auth
|
|
1110
|
+
)
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
@validate_call
|
|
1115
|
+
async def get_system_status(
|
|
1116
|
+
self,
|
|
1117
|
+
_request_timeout: Union[
|
|
1118
|
+
None,
|
|
1119
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1120
|
+
Tuple[
|
|
1121
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1122
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1123
|
+
]
|
|
1124
|
+
] = None,
|
|
1125
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1126
|
+
_content_type: Optional[StrictStr] = None,
|
|
1127
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1128
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1129
|
+
) -> List[ServiceStatus]:
|
|
1130
|
+
"""Wandelbots NOVA status
|
|
1131
|
+
|
|
1132
|
+
Get the status of all system services.
|
|
1133
|
+
|
|
1134
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1135
|
+
number provided, it will be total request
|
|
1136
|
+
timeout. It can also be a pair (tuple) of
|
|
1137
|
+
(connection, read) timeouts.
|
|
1138
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1139
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1140
|
+
request; this effectively ignores the
|
|
1141
|
+
authentication in the spec for a single request.
|
|
1142
|
+
:type _request_auth: dict, optional
|
|
1143
|
+
:param _content_type: force content-type for the request.
|
|
1144
|
+
:type _content_type: str, Optional
|
|
1145
|
+
:param _headers: set to override the headers for a single
|
|
1146
|
+
request; this effectively ignores the headers
|
|
1147
|
+
in the spec for a single request.
|
|
1148
|
+
:type _headers: dict, optional
|
|
1149
|
+
:param _host_index: set to override the host_index for a single
|
|
1150
|
+
request; this effectively ignores the host_index
|
|
1151
|
+
in the spec for a single request.
|
|
1152
|
+
:type _host_index: int, optional
|
|
1153
|
+
:return: Returns the result object.
|
|
1154
|
+
""" # noqa: E501
|
|
1155
|
+
|
|
1156
|
+
_param = self._get_system_status_serialize(
|
|
1157
|
+
_request_auth=_request_auth,
|
|
1158
|
+
_content_type=_content_type,
|
|
1159
|
+
_headers=_headers,
|
|
1160
|
+
_host_index=_host_index
|
|
1161
|
+
)
|
|
1162
|
+
|
|
1163
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1164
|
+
'200': "List[ServiceStatus]",
|
|
1165
|
+
}
|
|
1166
|
+
|
|
1167
|
+
response_data = await self.api_client.call_api(
|
|
1168
|
+
*_param,
|
|
1169
|
+
_request_timeout=_request_timeout
|
|
1170
|
+
)
|
|
1171
|
+
await response_data.read()
|
|
1172
|
+
return self.api_client.response_deserialize(
|
|
1173
|
+
response_data=response_data,
|
|
1174
|
+
response_types_map=_response_types_map,
|
|
1175
|
+
).data
|
|
1176
|
+
|
|
1177
|
+
|
|
1178
|
+
@validate_call
|
|
1179
|
+
async def get_system_status_with_http_info(
|
|
1180
|
+
self,
|
|
1181
|
+
_request_timeout: Union[
|
|
1182
|
+
None,
|
|
1183
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1184
|
+
Tuple[
|
|
1185
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1186
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1187
|
+
]
|
|
1188
|
+
] = None,
|
|
1189
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1190
|
+
_content_type: Optional[StrictStr] = None,
|
|
1191
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1192
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1193
|
+
) -> ApiResponse[List[ServiceStatus]]:
|
|
1194
|
+
"""Wandelbots NOVA status
|
|
1195
|
+
|
|
1196
|
+
Get the status of all system services.
|
|
1197
|
+
|
|
1198
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1199
|
+
number provided, it will be total request
|
|
1200
|
+
timeout. It can also be a pair (tuple) of
|
|
1201
|
+
(connection, read) timeouts.
|
|
1202
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1203
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1204
|
+
request; this effectively ignores the
|
|
1205
|
+
authentication in the spec for a single request.
|
|
1206
|
+
:type _request_auth: dict, optional
|
|
1207
|
+
:param _content_type: force content-type for the request.
|
|
1208
|
+
:type _content_type: str, Optional
|
|
1209
|
+
:param _headers: set to override the headers for a single
|
|
1210
|
+
request; this effectively ignores the headers
|
|
1211
|
+
in the spec for a single request.
|
|
1212
|
+
:type _headers: dict, optional
|
|
1213
|
+
:param _host_index: set to override the host_index for a single
|
|
1214
|
+
request; this effectively ignores the host_index
|
|
1215
|
+
in the spec for a single request.
|
|
1216
|
+
:type _host_index: int, optional
|
|
1217
|
+
:return: Returns the result object.
|
|
1218
|
+
""" # noqa: E501
|
|
1219
|
+
|
|
1220
|
+
_param = self._get_system_status_serialize(
|
|
1221
|
+
_request_auth=_request_auth,
|
|
1222
|
+
_content_type=_content_type,
|
|
1223
|
+
_headers=_headers,
|
|
1224
|
+
_host_index=_host_index
|
|
1225
|
+
)
|
|
1226
|
+
|
|
1227
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1228
|
+
'200': "List[ServiceStatus]",
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
response_data = await self.api_client.call_api(
|
|
1232
|
+
*_param,
|
|
1233
|
+
_request_timeout=_request_timeout
|
|
1234
|
+
)
|
|
1235
|
+
await response_data.read()
|
|
1236
|
+
return self.api_client.response_deserialize(
|
|
1237
|
+
response_data=response_data,
|
|
1238
|
+
response_types_map=_response_types_map,
|
|
1239
|
+
)
|
|
1240
|
+
|
|
1241
|
+
|
|
1242
|
+
@validate_call
|
|
1243
|
+
async def get_system_status_without_preload_content(
|
|
1244
|
+
self,
|
|
1245
|
+
_request_timeout: Union[
|
|
1246
|
+
None,
|
|
1247
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1248
|
+
Tuple[
|
|
1249
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1250
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1251
|
+
]
|
|
1252
|
+
] = None,
|
|
1253
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1254
|
+
_content_type: Optional[StrictStr] = None,
|
|
1255
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1256
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1257
|
+
) -> RESTResponseType:
|
|
1258
|
+
"""Wandelbots NOVA status
|
|
1259
|
+
|
|
1260
|
+
Get the status of all system services.
|
|
1261
|
+
|
|
1262
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1263
|
+
number provided, it will be total request
|
|
1264
|
+
timeout. It can also be a pair (tuple) of
|
|
1265
|
+
(connection, read) timeouts.
|
|
1266
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1267
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1268
|
+
request; this effectively ignores the
|
|
1269
|
+
authentication in the spec for a single request.
|
|
1270
|
+
:type _request_auth: dict, optional
|
|
1271
|
+
:param _content_type: force content-type for the request.
|
|
1272
|
+
:type _content_type: str, Optional
|
|
1273
|
+
:param _headers: set to override the headers for a single
|
|
1274
|
+
request; this effectively ignores the headers
|
|
1275
|
+
in the spec for a single request.
|
|
1276
|
+
:type _headers: dict, optional
|
|
1277
|
+
:param _host_index: set to override the host_index for a single
|
|
1278
|
+
request; this effectively ignores the host_index
|
|
1279
|
+
in the spec for a single request.
|
|
1280
|
+
:type _host_index: int, optional
|
|
1281
|
+
:return: Returns the result object.
|
|
1282
|
+
""" # noqa: E501
|
|
1283
|
+
|
|
1284
|
+
_param = self._get_system_status_serialize(
|
|
1285
|
+
_request_auth=_request_auth,
|
|
1286
|
+
_content_type=_content_type,
|
|
1287
|
+
_headers=_headers,
|
|
1288
|
+
_host_index=_host_index
|
|
1289
|
+
)
|
|
1290
|
+
|
|
1291
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1292
|
+
'200': "List[ServiceStatus]",
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
response_data = await self.api_client.call_api(
|
|
1296
|
+
*_param,
|
|
1297
|
+
_request_timeout=_request_timeout
|
|
1298
|
+
)
|
|
1299
|
+
return response_data.response
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
def _get_system_status_serialize(
|
|
1303
|
+
self,
|
|
1304
|
+
_request_auth,
|
|
1305
|
+
_content_type,
|
|
1306
|
+
_headers,
|
|
1307
|
+
_host_index,
|
|
1308
|
+
) -> RequestSerialized:
|
|
1309
|
+
|
|
1310
|
+
_host = None
|
|
1311
|
+
|
|
1312
|
+
_collection_formats: Dict[str, str] = {
|
|
1313
|
+
}
|
|
1314
|
+
|
|
1315
|
+
_path_params: Dict[str, str] = {}
|
|
1316
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1317
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1318
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1319
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1320
|
+
_body_params: Optional[bytes] = None
|
|
1321
|
+
|
|
1322
|
+
# process the path parameters
|
|
1323
|
+
# process the query parameters
|
|
1324
|
+
# process the header parameters
|
|
1325
|
+
# process the form parameters
|
|
1326
|
+
# process the body parameter
|
|
1327
|
+
|
|
1328
|
+
|
|
1329
|
+
# set the HTTP header `Accept`
|
|
1330
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1331
|
+
[
|
|
1332
|
+
'application/json'
|
|
1333
|
+
]
|
|
1334
|
+
)
|
|
1335
|
+
|
|
1336
|
+
|
|
1337
|
+
# authentication setting
|
|
1338
|
+
_auth_settings: List[str] = [
|
|
1339
|
+
'BasicAuth',
|
|
1340
|
+
'BearerAuth'
|
|
1341
|
+
]
|
|
1342
|
+
|
|
1343
|
+
return self.api_client.param_serialize(
|
|
1344
|
+
method='GET',
|
|
1345
|
+
resource_path='/system/status',
|
|
1346
|
+
path_params=_path_params,
|
|
1347
|
+
query_params=_query_params,
|
|
1348
|
+
header_params=_header_params,
|
|
1349
|
+
body=_body_params,
|
|
1350
|
+
post_params=_form_params,
|
|
1351
|
+
files=_files,
|
|
1352
|
+
auth_settings=_auth_settings,
|
|
1353
|
+
collection_formats=_collection_formats,
|
|
1354
|
+
_host=_host,
|
|
1355
|
+
_request_auth=_request_auth
|
|
1356
|
+
)
|
|
1357
|
+
|
|
1358
|
+
|
|
1359
|
+
|
|
1360
|
+
@validate_call
|
|
1361
|
+
async def get_system_version(
|
|
1362
|
+
self,
|
|
1363
|
+
_request_timeout: Union[
|
|
1364
|
+
None,
|
|
1365
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1366
|
+
Tuple[
|
|
1367
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1368
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1369
|
+
]
|
|
1370
|
+
] = None,
|
|
1371
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1372
|
+
_content_type: Optional[StrictStr] = None,
|
|
1373
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1374
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1375
|
+
) -> str:
|
|
1376
|
+
"""Wandelbots NOVA Version
|
|
1377
|
+
|
|
1378
|
+
Get the current Wandelbots NOVA version.
|
|
1379
|
+
|
|
1380
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1381
|
+
number provided, it will be total request
|
|
1382
|
+
timeout. It can also be a pair (tuple) of
|
|
1383
|
+
(connection, read) timeouts.
|
|
1384
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1385
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1386
|
+
request; this effectively ignores the
|
|
1387
|
+
authentication in the spec for a single request.
|
|
1388
|
+
:type _request_auth: dict, optional
|
|
1389
|
+
:param _content_type: force content-type for the request.
|
|
1390
|
+
:type _content_type: str, Optional
|
|
1391
|
+
:param _headers: set to override the headers for a single
|
|
1392
|
+
request; this effectively ignores the headers
|
|
1393
|
+
in the spec for a single request.
|
|
1394
|
+
:type _headers: dict, optional
|
|
1395
|
+
:param _host_index: set to override the host_index for a single
|
|
1396
|
+
request; this effectively ignores the host_index
|
|
1397
|
+
in the spec for a single request.
|
|
1398
|
+
:type _host_index: int, optional
|
|
1399
|
+
:return: Returns the result object.
|
|
1400
|
+
""" # noqa: E501
|
|
1401
|
+
|
|
1402
|
+
_param = self._get_system_version_serialize(
|
|
1403
|
+
_request_auth=_request_auth,
|
|
1404
|
+
_content_type=_content_type,
|
|
1405
|
+
_headers=_headers,
|
|
1406
|
+
_host_index=_host_index
|
|
1407
|
+
)
|
|
1408
|
+
|
|
1409
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1410
|
+
'200': "str",
|
|
1411
|
+
}
|
|
1412
|
+
|
|
1413
|
+
response_data = await self.api_client.call_api(
|
|
1414
|
+
*_param,
|
|
1415
|
+
_request_timeout=_request_timeout
|
|
1416
|
+
)
|
|
1417
|
+
await response_data.read()
|
|
1418
|
+
return self.api_client.response_deserialize(
|
|
1419
|
+
response_data=response_data,
|
|
1420
|
+
response_types_map=_response_types_map,
|
|
1421
|
+
).data
|
|
1422
|
+
|
|
1423
|
+
|
|
1424
|
+
@validate_call
|
|
1425
|
+
async def get_system_version_with_http_info(
|
|
1426
|
+
self,
|
|
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
|
+
) -> ApiResponse[str]:
|
|
1440
|
+
"""Wandelbots NOVA Version
|
|
1441
|
+
|
|
1442
|
+
Get the current Wandelbots NOVA version.
|
|
1443
|
+
|
|
1444
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1445
|
+
number provided, it will be total request
|
|
1446
|
+
timeout. It can also be a pair (tuple) of
|
|
1447
|
+
(connection, read) timeouts.
|
|
1448
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1449
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1450
|
+
request; this effectively ignores the
|
|
1451
|
+
authentication in the spec for a single request.
|
|
1452
|
+
:type _request_auth: dict, optional
|
|
1453
|
+
:param _content_type: force content-type for the request.
|
|
1454
|
+
:type _content_type: str, Optional
|
|
1455
|
+
:param _headers: set to override the headers for a single
|
|
1456
|
+
request; this effectively ignores the headers
|
|
1457
|
+
in the spec for a single request.
|
|
1458
|
+
:type _headers: dict, optional
|
|
1459
|
+
:param _host_index: set to override the host_index for a single
|
|
1460
|
+
request; this effectively ignores the host_index
|
|
1461
|
+
in the spec for a single request.
|
|
1462
|
+
:type _host_index: int, optional
|
|
1463
|
+
:return: Returns the result object.
|
|
1464
|
+
""" # noqa: E501
|
|
1465
|
+
|
|
1466
|
+
_param = self._get_system_version_serialize(
|
|
1467
|
+
_request_auth=_request_auth,
|
|
1468
|
+
_content_type=_content_type,
|
|
1469
|
+
_headers=_headers,
|
|
1470
|
+
_host_index=_host_index
|
|
1471
|
+
)
|
|
1472
|
+
|
|
1473
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1474
|
+
'200': "str",
|
|
1475
|
+
}
|
|
1476
|
+
|
|
1477
|
+
response_data = await self.api_client.call_api(
|
|
1478
|
+
*_param,
|
|
1479
|
+
_request_timeout=_request_timeout
|
|
1480
|
+
)
|
|
1481
|
+
await response_data.read()
|
|
1482
|
+
return self.api_client.response_deserialize(
|
|
1483
|
+
response_data=response_data,
|
|
1484
|
+
response_types_map=_response_types_map,
|
|
1485
|
+
)
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
@validate_call
|
|
1489
|
+
async def get_system_version_without_preload_content(
|
|
1490
|
+
self,
|
|
1491
|
+
_request_timeout: Union[
|
|
1492
|
+
None,
|
|
1493
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1494
|
+
Tuple[
|
|
1495
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1496
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1497
|
+
]
|
|
1498
|
+
] = None,
|
|
1499
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1500
|
+
_content_type: Optional[StrictStr] = None,
|
|
1501
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1502
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1503
|
+
) -> RESTResponseType:
|
|
1504
|
+
"""Wandelbots NOVA Version
|
|
1505
|
+
|
|
1506
|
+
Get the current Wandelbots NOVA version.
|
|
1507
|
+
|
|
1508
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1509
|
+
number provided, it will be total request
|
|
1510
|
+
timeout. It can also be a pair (tuple) of
|
|
1511
|
+
(connection, read) timeouts.
|
|
1512
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1513
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1514
|
+
request; this effectively ignores the
|
|
1515
|
+
authentication in the spec for a single request.
|
|
1516
|
+
:type _request_auth: dict, optional
|
|
1517
|
+
:param _content_type: force content-type for the request.
|
|
1518
|
+
:type _content_type: str, Optional
|
|
1519
|
+
:param _headers: set to override the headers for a single
|
|
1520
|
+
request; this effectively ignores the headers
|
|
1521
|
+
in the spec for a single request.
|
|
1522
|
+
:type _headers: dict, optional
|
|
1523
|
+
:param _host_index: set to override the host_index for a single
|
|
1524
|
+
request; this effectively ignores the host_index
|
|
1525
|
+
in the spec for a single request.
|
|
1526
|
+
:type _host_index: int, optional
|
|
1527
|
+
:return: Returns the result object.
|
|
1528
|
+
""" # noqa: E501
|
|
1529
|
+
|
|
1530
|
+
_param = self._get_system_version_serialize(
|
|
1531
|
+
_request_auth=_request_auth,
|
|
1532
|
+
_content_type=_content_type,
|
|
1533
|
+
_headers=_headers,
|
|
1534
|
+
_host_index=_host_index
|
|
1535
|
+
)
|
|
1536
|
+
|
|
1537
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1538
|
+
'200': "str",
|
|
1539
|
+
}
|
|
1540
|
+
|
|
1541
|
+
response_data = await self.api_client.call_api(
|
|
1542
|
+
*_param,
|
|
1543
|
+
_request_timeout=_request_timeout
|
|
1544
|
+
)
|
|
1545
|
+
return response_data.response
|
|
1546
|
+
|
|
1547
|
+
|
|
1548
|
+
def _get_system_version_serialize(
|
|
1549
|
+
self,
|
|
1550
|
+
_request_auth,
|
|
1551
|
+
_content_type,
|
|
1552
|
+
_headers,
|
|
1553
|
+
_host_index,
|
|
1554
|
+
) -> RequestSerialized:
|
|
1555
|
+
|
|
1556
|
+
_host = None
|
|
1557
|
+
|
|
1558
|
+
_collection_formats: Dict[str, str] = {
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
_path_params: Dict[str, str] = {}
|
|
1562
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1563
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1564
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1565
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1566
|
+
_body_params: Optional[bytes] = None
|
|
1567
|
+
|
|
1568
|
+
# process the path parameters
|
|
1569
|
+
# process the query parameters
|
|
1570
|
+
# process the header parameters
|
|
1571
|
+
# process the form parameters
|
|
1572
|
+
# process the body parameter
|
|
1573
|
+
|
|
1574
|
+
|
|
1575
|
+
# set the HTTP header `Accept`
|
|
1576
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1577
|
+
[
|
|
1578
|
+
'text/plain'
|
|
1579
|
+
]
|
|
1580
|
+
)
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
# authentication setting
|
|
1584
|
+
_auth_settings: List[str] = [
|
|
1585
|
+
'BasicAuth',
|
|
1586
|
+
'BearerAuth'
|
|
1587
|
+
]
|
|
1588
|
+
|
|
1589
|
+
return self.api_client.param_serialize(
|
|
1590
|
+
method='GET',
|
|
1591
|
+
resource_path='/system/version',
|
|
1592
|
+
path_params=_path_params,
|
|
1593
|
+
query_params=_query_params,
|
|
1594
|
+
header_params=_header_params,
|
|
1595
|
+
body=_body_params,
|
|
1596
|
+
post_params=_form_params,
|
|
1597
|
+
files=_files,
|
|
1598
|
+
auth_settings=_auth_settings,
|
|
1599
|
+
collection_formats=_collection_formats,
|
|
1600
|
+
_host=_host,
|
|
1601
|
+
_request_auth=_request_auth
|
|
1602
|
+
)
|
|
1603
|
+
|
|
1604
|
+
|
|
1605
|
+
|
|
1606
|
+
@validate_call
|
|
1607
|
+
async def list_configuration_resources(
|
|
1608
|
+
self,
|
|
1609
|
+
_request_timeout: Union[
|
|
1610
|
+
None,
|
|
1611
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1612
|
+
Tuple[
|
|
1613
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1614
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1615
|
+
]
|
|
1616
|
+
] = None,
|
|
1617
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1618
|
+
_content_type: Optional[StrictStr] = None,
|
|
1619
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1620
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1621
|
+
) -> List[ConfigurationResource]:
|
|
1622
|
+
"""List Configuration Resources
|
|
1623
|
+
|
|
1624
|
+
Retrieves a list of all available configuration resources for backup purposes.
|
|
1625
|
+
|
|
1626
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1627
|
+
number provided, it will be total request
|
|
1628
|
+
timeout. It can also be a pair (tuple) of
|
|
1629
|
+
(connection, read) timeouts.
|
|
1630
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1631
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1632
|
+
request; this effectively ignores the
|
|
1633
|
+
authentication in the spec for a single request.
|
|
1634
|
+
:type _request_auth: dict, optional
|
|
1635
|
+
:param _content_type: force content-type for the request.
|
|
1636
|
+
:type _content_type: str, Optional
|
|
1637
|
+
:param _headers: set to override the headers for a single
|
|
1638
|
+
request; this effectively ignores the headers
|
|
1639
|
+
in the spec for a single request.
|
|
1640
|
+
:type _headers: dict, optional
|
|
1641
|
+
:param _host_index: set to override the host_index for a single
|
|
1642
|
+
request; this effectively ignores the host_index
|
|
1643
|
+
in the spec for a single request.
|
|
1644
|
+
:type _host_index: int, optional
|
|
1645
|
+
:return: Returns the result object.
|
|
1646
|
+
""" # noqa: E501
|
|
1647
|
+
|
|
1648
|
+
_param = self._list_configuration_resources_serialize(
|
|
1649
|
+
_request_auth=_request_auth,
|
|
1650
|
+
_content_type=_content_type,
|
|
1651
|
+
_headers=_headers,
|
|
1652
|
+
_host_index=_host_index
|
|
1653
|
+
)
|
|
1654
|
+
|
|
1655
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1656
|
+
'200': "List[ConfigurationResource]",
|
|
1657
|
+
}
|
|
1658
|
+
|
|
1659
|
+
response_data = await self.api_client.call_api(
|
|
1660
|
+
*_param,
|
|
1661
|
+
_request_timeout=_request_timeout
|
|
1662
|
+
)
|
|
1663
|
+
await response_data.read()
|
|
1664
|
+
return self.api_client.response_deserialize(
|
|
1665
|
+
response_data=response_data,
|
|
1666
|
+
response_types_map=_response_types_map,
|
|
1667
|
+
).data
|
|
1668
|
+
|
|
1669
|
+
|
|
1670
|
+
@validate_call
|
|
1671
|
+
async def list_configuration_resources_with_http_info(
|
|
1672
|
+
self,
|
|
1673
|
+
_request_timeout: Union[
|
|
1674
|
+
None,
|
|
1675
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1676
|
+
Tuple[
|
|
1677
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1678
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1679
|
+
]
|
|
1680
|
+
] = None,
|
|
1681
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1682
|
+
_content_type: Optional[StrictStr] = None,
|
|
1683
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1684
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1685
|
+
) -> ApiResponse[List[ConfigurationResource]]:
|
|
1686
|
+
"""List Configuration Resources
|
|
1687
|
+
|
|
1688
|
+
Retrieves a list of all available configuration resources for backup purposes.
|
|
1689
|
+
|
|
1690
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1691
|
+
number provided, it will be total request
|
|
1692
|
+
timeout. It can also be a pair (tuple) of
|
|
1693
|
+
(connection, read) timeouts.
|
|
1694
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1695
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1696
|
+
request; this effectively ignores the
|
|
1697
|
+
authentication in the spec for a single request.
|
|
1698
|
+
:type _request_auth: dict, optional
|
|
1699
|
+
:param _content_type: force content-type for the request.
|
|
1700
|
+
:type _content_type: str, Optional
|
|
1701
|
+
:param _headers: set to override the headers for a single
|
|
1702
|
+
request; this effectively ignores the headers
|
|
1703
|
+
in the spec for a single request.
|
|
1704
|
+
:type _headers: dict, optional
|
|
1705
|
+
:param _host_index: set to override the host_index for a single
|
|
1706
|
+
request; this effectively ignores the host_index
|
|
1707
|
+
in the spec for a single request.
|
|
1708
|
+
:type _host_index: int, optional
|
|
1709
|
+
:return: Returns the result object.
|
|
1710
|
+
""" # noqa: E501
|
|
1711
|
+
|
|
1712
|
+
_param = self._list_configuration_resources_serialize(
|
|
1713
|
+
_request_auth=_request_auth,
|
|
1714
|
+
_content_type=_content_type,
|
|
1715
|
+
_headers=_headers,
|
|
1716
|
+
_host_index=_host_index
|
|
1717
|
+
)
|
|
1718
|
+
|
|
1719
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1720
|
+
'200': "List[ConfigurationResource]",
|
|
1721
|
+
}
|
|
1722
|
+
|
|
1723
|
+
response_data = await self.api_client.call_api(
|
|
1724
|
+
*_param,
|
|
1725
|
+
_request_timeout=_request_timeout
|
|
1726
|
+
)
|
|
1727
|
+
await response_data.read()
|
|
1728
|
+
return self.api_client.response_deserialize(
|
|
1729
|
+
response_data=response_data,
|
|
1730
|
+
response_types_map=_response_types_map,
|
|
1731
|
+
)
|
|
1732
|
+
|
|
1733
|
+
|
|
1734
|
+
@validate_call
|
|
1735
|
+
async def list_configuration_resources_without_preload_content(
|
|
1736
|
+
self,
|
|
1737
|
+
_request_timeout: Union[
|
|
1738
|
+
None,
|
|
1739
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1740
|
+
Tuple[
|
|
1741
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1742
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1743
|
+
]
|
|
1744
|
+
] = None,
|
|
1745
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1746
|
+
_content_type: Optional[StrictStr] = None,
|
|
1747
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1748
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1749
|
+
) -> RESTResponseType:
|
|
1750
|
+
"""List Configuration Resources
|
|
1751
|
+
|
|
1752
|
+
Retrieves a list of all available configuration resources for backup purposes.
|
|
1753
|
+
|
|
1754
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1755
|
+
number provided, it will be total request
|
|
1756
|
+
timeout. It can also be a pair (tuple) of
|
|
1757
|
+
(connection, read) timeouts.
|
|
1758
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1759
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1760
|
+
request; this effectively ignores the
|
|
1761
|
+
authentication in the spec for a single request.
|
|
1762
|
+
:type _request_auth: dict, optional
|
|
1763
|
+
:param _content_type: force content-type for the request.
|
|
1764
|
+
:type _content_type: str, Optional
|
|
1765
|
+
:param _headers: set to override the headers for a single
|
|
1766
|
+
request; this effectively ignores the headers
|
|
1767
|
+
in the spec for a single request.
|
|
1768
|
+
:type _headers: dict, optional
|
|
1769
|
+
:param _host_index: set to override the host_index for a single
|
|
1770
|
+
request; this effectively ignores the host_index
|
|
1771
|
+
in the spec for a single request.
|
|
1772
|
+
:type _host_index: int, optional
|
|
1773
|
+
:return: Returns the result object.
|
|
1774
|
+
""" # noqa: E501
|
|
1775
|
+
|
|
1776
|
+
_param = self._list_configuration_resources_serialize(
|
|
1777
|
+
_request_auth=_request_auth,
|
|
1778
|
+
_content_type=_content_type,
|
|
1779
|
+
_headers=_headers,
|
|
1780
|
+
_host_index=_host_index
|
|
1781
|
+
)
|
|
1782
|
+
|
|
1783
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1784
|
+
'200': "List[ConfigurationResource]",
|
|
1785
|
+
}
|
|
1786
|
+
|
|
1787
|
+
response_data = await self.api_client.call_api(
|
|
1788
|
+
*_param,
|
|
1789
|
+
_request_timeout=_request_timeout
|
|
1790
|
+
)
|
|
1791
|
+
return response_data.response
|
|
1792
|
+
|
|
1793
|
+
|
|
1794
|
+
def _list_configuration_resources_serialize(
|
|
1795
|
+
self,
|
|
1796
|
+
_request_auth,
|
|
1797
|
+
_content_type,
|
|
1798
|
+
_headers,
|
|
1799
|
+
_host_index,
|
|
1800
|
+
) -> RequestSerialized:
|
|
1801
|
+
|
|
1802
|
+
_host = None
|
|
1803
|
+
|
|
1804
|
+
_collection_formats: Dict[str, str] = {
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
_path_params: Dict[str, str] = {}
|
|
1808
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1809
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1810
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1811
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1812
|
+
_body_params: Optional[bytes] = None
|
|
1813
|
+
|
|
1814
|
+
# process the path parameters
|
|
1815
|
+
# process the query parameters
|
|
1816
|
+
# process the header parameters
|
|
1817
|
+
# process the form parameters
|
|
1818
|
+
# process the body parameter
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
# set the HTTP header `Accept`
|
|
1822
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1823
|
+
[
|
|
1824
|
+
'application/json'
|
|
1825
|
+
]
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1829
|
+
# authentication setting
|
|
1830
|
+
_auth_settings: List[str] = [
|
|
1831
|
+
'BasicAuth',
|
|
1832
|
+
'BearerAuth'
|
|
1833
|
+
]
|
|
1834
|
+
|
|
1835
|
+
return self.api_client.param_serialize(
|
|
1836
|
+
method='GET',
|
|
1837
|
+
resource_path='/system/configuration/resources',
|
|
1838
|
+
path_params=_path_params,
|
|
1839
|
+
query_params=_query_params,
|
|
1840
|
+
header_params=_header_params,
|
|
1841
|
+
body=_body_params,
|
|
1842
|
+
post_params=_form_params,
|
|
1843
|
+
files=_files,
|
|
1844
|
+
auth_settings=_auth_settings,
|
|
1845
|
+
collection_formats=_collection_formats,
|
|
1846
|
+
_host=_host,
|
|
1847
|
+
_request_auth=_request_auth
|
|
1848
|
+
)
|
|
1849
|
+
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
@validate_call
|
|
1853
|
+
async def restore_configuration(
|
|
1854
|
+
self,
|
|
1855
|
+
resources: Annotated[List[StrictStr], Field(description="List of resource identifiers to included in the backup and restore operations.")],
|
|
1856
|
+
body: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Backup file stream containing the configuration to restore.")],
|
|
1857
|
+
_request_timeout: Union[
|
|
1858
|
+
None,
|
|
1859
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1860
|
+
Tuple[
|
|
1861
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1862
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1863
|
+
]
|
|
1864
|
+
] = None,
|
|
1865
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1866
|
+
_content_type: Optional[StrictStr] = None,
|
|
1867
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1868
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1869
|
+
) -> None:
|
|
1870
|
+
"""Restore Configuration Backup
|
|
1871
|
+
|
|
1872
|
+
Restores a previously backed up configuration.
|
|
1873
|
+
|
|
1874
|
+
:param resources: List of resource identifiers to included in the backup and restore operations. (required)
|
|
1875
|
+
:type resources: List[str]
|
|
1876
|
+
:param body: Backup file stream containing the configuration to restore. (required)
|
|
1877
|
+
:type body: bytearray
|
|
1878
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1879
|
+
number provided, it will be total request
|
|
1880
|
+
timeout. It can also be a pair (tuple) of
|
|
1881
|
+
(connection, read) timeouts.
|
|
1882
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1883
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1884
|
+
request; this effectively ignores the
|
|
1885
|
+
authentication in the spec for a single request.
|
|
1886
|
+
:type _request_auth: dict, optional
|
|
1887
|
+
:param _content_type: force content-type for the request.
|
|
1888
|
+
:type _content_type: str, Optional
|
|
1889
|
+
:param _headers: set to override the headers for a single
|
|
1890
|
+
request; this effectively ignores the headers
|
|
1891
|
+
in the spec for a single request.
|
|
1892
|
+
:type _headers: dict, optional
|
|
1893
|
+
:param _host_index: set to override the host_index for a single
|
|
1894
|
+
request; this effectively ignores the host_index
|
|
1895
|
+
in the spec for a single request.
|
|
1896
|
+
:type _host_index: int, optional
|
|
1897
|
+
:return: Returns the result object.
|
|
1898
|
+
""" # noqa: E501
|
|
1899
|
+
|
|
1900
|
+
_param = self._restore_configuration_serialize(
|
|
1901
|
+
resources=resources,
|
|
1902
|
+
body=body,
|
|
1903
|
+
_request_auth=_request_auth,
|
|
1904
|
+
_content_type=_content_type,
|
|
1905
|
+
_headers=_headers,
|
|
1906
|
+
_host_index=_host_index
|
|
1907
|
+
)
|
|
1908
|
+
|
|
1909
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1910
|
+
'200': None,
|
|
1911
|
+
'400': "Error",
|
|
1912
|
+
}
|
|
1913
|
+
|
|
1914
|
+
response_data = await self.api_client.call_api(
|
|
1915
|
+
*_param,
|
|
1916
|
+
_request_timeout=_request_timeout
|
|
1917
|
+
)
|
|
1918
|
+
await response_data.read()
|
|
1919
|
+
return self.api_client.response_deserialize(
|
|
1920
|
+
response_data=response_data,
|
|
1921
|
+
response_types_map=_response_types_map,
|
|
1922
|
+
).data
|
|
1923
|
+
|
|
1924
|
+
|
|
1925
|
+
@validate_call
|
|
1926
|
+
async def restore_configuration_with_http_info(
|
|
1927
|
+
self,
|
|
1928
|
+
resources: Annotated[List[StrictStr], Field(description="List of resource identifiers to included in the backup and restore operations.")],
|
|
1929
|
+
body: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Backup file stream containing the configuration to restore.")],
|
|
1930
|
+
_request_timeout: Union[
|
|
1931
|
+
None,
|
|
1932
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1933
|
+
Tuple[
|
|
1934
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1935
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1936
|
+
]
|
|
1937
|
+
] = None,
|
|
1938
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1939
|
+
_content_type: Optional[StrictStr] = None,
|
|
1940
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1941
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1942
|
+
) -> ApiResponse[None]:
|
|
1943
|
+
"""Restore Configuration Backup
|
|
1944
|
+
|
|
1945
|
+
Restores a previously backed up configuration.
|
|
1946
|
+
|
|
1947
|
+
:param resources: List of resource identifiers to included in the backup and restore operations. (required)
|
|
1948
|
+
:type resources: List[str]
|
|
1949
|
+
:param body: Backup file stream containing the configuration to restore. (required)
|
|
1950
|
+
:type body: bytearray
|
|
1951
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1952
|
+
number provided, it will be total request
|
|
1953
|
+
timeout. It can also be a pair (tuple) of
|
|
1954
|
+
(connection, read) timeouts.
|
|
1955
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1956
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1957
|
+
request; this effectively ignores the
|
|
1958
|
+
authentication in the spec for a single request.
|
|
1959
|
+
:type _request_auth: dict, optional
|
|
1960
|
+
:param _content_type: force content-type for the request.
|
|
1961
|
+
:type _content_type: str, Optional
|
|
1962
|
+
:param _headers: set to override the headers for a single
|
|
1963
|
+
request; this effectively ignores the headers
|
|
1964
|
+
in the spec for a single request.
|
|
1965
|
+
:type _headers: dict, optional
|
|
1966
|
+
:param _host_index: set to override the host_index for a single
|
|
1967
|
+
request; this effectively ignores the host_index
|
|
1968
|
+
in the spec for a single request.
|
|
1969
|
+
:type _host_index: int, optional
|
|
1970
|
+
:return: Returns the result object.
|
|
1971
|
+
""" # noqa: E501
|
|
1972
|
+
|
|
1973
|
+
_param = self._restore_configuration_serialize(
|
|
1974
|
+
resources=resources,
|
|
1975
|
+
body=body,
|
|
1976
|
+
_request_auth=_request_auth,
|
|
1977
|
+
_content_type=_content_type,
|
|
1978
|
+
_headers=_headers,
|
|
1979
|
+
_host_index=_host_index
|
|
1980
|
+
)
|
|
1981
|
+
|
|
1982
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1983
|
+
'200': None,
|
|
1984
|
+
'400': "Error",
|
|
1985
|
+
}
|
|
1986
|
+
|
|
1987
|
+
response_data = await self.api_client.call_api(
|
|
1988
|
+
*_param,
|
|
1989
|
+
_request_timeout=_request_timeout
|
|
1990
|
+
)
|
|
1991
|
+
await response_data.read()
|
|
1992
|
+
return self.api_client.response_deserialize(
|
|
1993
|
+
response_data=response_data,
|
|
1994
|
+
response_types_map=_response_types_map,
|
|
1995
|
+
)
|
|
1996
|
+
|
|
1997
|
+
|
|
1998
|
+
@validate_call
|
|
1999
|
+
async def restore_configuration_without_preload_content(
|
|
2000
|
+
self,
|
|
2001
|
+
resources: Annotated[List[StrictStr], Field(description="List of resource identifiers to included in the backup and restore operations.")],
|
|
2002
|
+
body: Annotated[Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], Field(description="Backup file stream containing the configuration to restore.")],
|
|
2003
|
+
_request_timeout: Union[
|
|
2004
|
+
None,
|
|
2005
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2006
|
+
Tuple[
|
|
2007
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2008
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2009
|
+
]
|
|
2010
|
+
] = None,
|
|
2011
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2012
|
+
_content_type: Optional[StrictStr] = None,
|
|
2013
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2014
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2015
|
+
) -> RESTResponseType:
|
|
2016
|
+
"""Restore Configuration Backup
|
|
2017
|
+
|
|
2018
|
+
Restores a previously backed up configuration.
|
|
2019
|
+
|
|
2020
|
+
:param resources: List of resource identifiers to included in the backup and restore operations. (required)
|
|
2021
|
+
:type resources: List[str]
|
|
2022
|
+
:param body: Backup file stream containing the configuration to restore. (required)
|
|
2023
|
+
:type body: bytearray
|
|
2024
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2025
|
+
number provided, it will be total request
|
|
2026
|
+
timeout. It can also be a pair (tuple) of
|
|
2027
|
+
(connection, read) timeouts.
|
|
2028
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2029
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2030
|
+
request; this effectively ignores the
|
|
2031
|
+
authentication in the spec for a single request.
|
|
2032
|
+
:type _request_auth: dict, optional
|
|
2033
|
+
:param _content_type: force content-type for the request.
|
|
2034
|
+
:type _content_type: str, Optional
|
|
2035
|
+
:param _headers: set to override the headers for a single
|
|
2036
|
+
request; this effectively ignores the headers
|
|
2037
|
+
in the spec for a single request.
|
|
2038
|
+
:type _headers: dict, optional
|
|
2039
|
+
:param _host_index: set to override the host_index for a single
|
|
2040
|
+
request; this effectively ignores the host_index
|
|
2041
|
+
in the spec for a single request.
|
|
2042
|
+
:type _host_index: int, optional
|
|
2043
|
+
:return: Returns the result object.
|
|
2044
|
+
""" # noqa: E501
|
|
2045
|
+
|
|
2046
|
+
_param = self._restore_configuration_serialize(
|
|
2047
|
+
resources=resources,
|
|
2048
|
+
body=body,
|
|
2049
|
+
_request_auth=_request_auth,
|
|
2050
|
+
_content_type=_content_type,
|
|
2051
|
+
_headers=_headers,
|
|
2052
|
+
_host_index=_host_index
|
|
2053
|
+
)
|
|
2054
|
+
|
|
2055
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2056
|
+
'200': None,
|
|
2057
|
+
'400': "Error",
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
response_data = await self.api_client.call_api(
|
|
2061
|
+
*_param,
|
|
2062
|
+
_request_timeout=_request_timeout
|
|
2063
|
+
)
|
|
2064
|
+
return response_data.response
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
|
+
def _restore_configuration_serialize(
|
|
2068
|
+
self,
|
|
2069
|
+
resources,
|
|
2070
|
+
body,
|
|
2071
|
+
_request_auth,
|
|
2072
|
+
_content_type,
|
|
2073
|
+
_headers,
|
|
2074
|
+
_host_index,
|
|
2075
|
+
) -> RequestSerialized:
|
|
2076
|
+
|
|
2077
|
+
_host = None
|
|
2078
|
+
|
|
2079
|
+
_collection_formats: Dict[str, str] = {
|
|
2080
|
+
'resources': 'csv',
|
|
2081
|
+
}
|
|
2082
|
+
|
|
2083
|
+
_path_params: Dict[str, str] = {}
|
|
2084
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2085
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2086
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2087
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2088
|
+
_body_params: Optional[bytes] = None
|
|
2089
|
+
|
|
2090
|
+
# process the path parameters
|
|
2091
|
+
# process the query parameters
|
|
2092
|
+
if resources is not None:
|
|
2093
|
+
|
|
2094
|
+
_query_params.append(('resources', resources))
|
|
2095
|
+
|
|
2096
|
+
# process the header parameters
|
|
2097
|
+
# process the form parameters
|
|
2098
|
+
# process the body parameter
|
|
2099
|
+
if body is not None:
|
|
2100
|
+
# convert to byte array if the input is a file name (str)
|
|
2101
|
+
if isinstance(body, str):
|
|
2102
|
+
with open(body, "rb") as _fp:
|
|
2103
|
+
_body_params = _fp.read()
|
|
2104
|
+
else:
|
|
2105
|
+
_body_params = body
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
# set the HTTP header `Accept`
|
|
2109
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2110
|
+
[
|
|
2111
|
+
'application/json'
|
|
2112
|
+
]
|
|
2113
|
+
)
|
|
2114
|
+
|
|
2115
|
+
# set the HTTP header `Content-Type`
|
|
2116
|
+
if _content_type:
|
|
2117
|
+
_header_params['Content-Type'] = _content_type
|
|
2118
|
+
else:
|
|
2119
|
+
_default_content_type = (
|
|
2120
|
+
self.api_client.select_header_content_type(
|
|
2121
|
+
[
|
|
2122
|
+
'application/gzip'
|
|
2123
|
+
]
|
|
2124
|
+
)
|
|
2125
|
+
)
|
|
2126
|
+
if _default_content_type is not None:
|
|
2127
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2128
|
+
|
|
2129
|
+
# authentication setting
|
|
2130
|
+
_auth_settings: List[str] = [
|
|
2131
|
+
'BasicAuth',
|
|
2132
|
+
'BearerAuth'
|
|
2133
|
+
]
|
|
2134
|
+
|
|
2135
|
+
return self.api_client.param_serialize(
|
|
2136
|
+
method='POST',
|
|
2137
|
+
resource_path='/system/configuration',
|
|
2138
|
+
path_params=_path_params,
|
|
2139
|
+
query_params=_query_params,
|
|
2140
|
+
header_params=_header_params,
|
|
2141
|
+
body=_body_params,
|
|
2142
|
+
post_params=_form_params,
|
|
2143
|
+
files=_files,
|
|
2144
|
+
auth_settings=_auth_settings,
|
|
2145
|
+
collection_formats=_collection_formats,
|
|
2146
|
+
_host=_host,
|
|
2147
|
+
_request_auth=_request_auth
|
|
2148
|
+
)
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
|
|
2152
|
+
@validate_call
|
|
2153
|
+
async def update_nova_version(
|
|
2154
|
+
self,
|
|
2155
|
+
update_nova_version_request: UpdateNovaVersionRequest,
|
|
2156
|
+
_request_timeout: Union[
|
|
2157
|
+
None,
|
|
2158
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2159
|
+
Tuple[
|
|
2160
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2161
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2162
|
+
]
|
|
2163
|
+
] = None,
|
|
2164
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2165
|
+
_content_type: Optional[StrictStr] = None,
|
|
2166
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2167
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2168
|
+
) -> None:
|
|
2169
|
+
"""Update Wandelbots NOVA version
|
|
2170
|
+
|
|
2171
|
+
Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
2172
|
+
|
|
2173
|
+
:param update_nova_version_request: (required)
|
|
2174
|
+
:type update_nova_version_request: UpdateNovaVersionRequest
|
|
2175
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2176
|
+
number provided, it will be total request
|
|
2177
|
+
timeout. It can also be a pair (tuple) of
|
|
2178
|
+
(connection, read) timeouts.
|
|
2179
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2180
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2181
|
+
request; this effectively ignores the
|
|
2182
|
+
authentication in the spec for a single request.
|
|
2183
|
+
:type _request_auth: dict, optional
|
|
2184
|
+
:param _content_type: force content-type for the request.
|
|
2185
|
+
:type _content_type: str, Optional
|
|
2186
|
+
:param _headers: set to override the headers for a single
|
|
2187
|
+
request; this effectively ignores the headers
|
|
2188
|
+
in the spec for a single request.
|
|
2189
|
+
:type _headers: dict, optional
|
|
2190
|
+
:param _host_index: set to override the host_index for a single
|
|
2191
|
+
request; this effectively ignores the host_index
|
|
2192
|
+
in the spec for a single request.
|
|
2193
|
+
:type _host_index: int, optional
|
|
2194
|
+
:return: Returns the result object.
|
|
2195
|
+
""" # noqa: E501
|
|
2196
|
+
|
|
2197
|
+
_param = self._update_nova_version_serialize(
|
|
2198
|
+
update_nova_version_request=update_nova_version_request,
|
|
2199
|
+
_request_auth=_request_auth,
|
|
2200
|
+
_content_type=_content_type,
|
|
2201
|
+
_headers=_headers,
|
|
2202
|
+
_host_index=_host_index
|
|
2203
|
+
)
|
|
2204
|
+
|
|
2205
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2206
|
+
'200': None,
|
|
2207
|
+
'204': None,
|
|
2208
|
+
'400': None,
|
|
2209
|
+
'501': None,
|
|
2210
|
+
}
|
|
2211
|
+
|
|
2212
|
+
response_data = await self.api_client.call_api(
|
|
2213
|
+
*_param,
|
|
2214
|
+
_request_timeout=_request_timeout
|
|
2215
|
+
)
|
|
2216
|
+
await response_data.read()
|
|
2217
|
+
return self.api_client.response_deserialize(
|
|
2218
|
+
response_data=response_data,
|
|
2219
|
+
response_types_map=_response_types_map,
|
|
2220
|
+
).data
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
@validate_call
|
|
2224
|
+
async def update_nova_version_with_http_info(
|
|
2225
|
+
self,
|
|
2226
|
+
update_nova_version_request: UpdateNovaVersionRequest,
|
|
2227
|
+
_request_timeout: Union[
|
|
2228
|
+
None,
|
|
2229
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2230
|
+
Tuple[
|
|
2231
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2232
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2233
|
+
]
|
|
2234
|
+
] = None,
|
|
2235
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2236
|
+
_content_type: Optional[StrictStr] = None,
|
|
2237
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2238
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2239
|
+
) -> ApiResponse[None]:
|
|
2240
|
+
"""Update Wandelbots NOVA version
|
|
2241
|
+
|
|
2242
|
+
Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
2243
|
+
|
|
2244
|
+
:param update_nova_version_request: (required)
|
|
2245
|
+
:type update_nova_version_request: UpdateNovaVersionRequest
|
|
2246
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2247
|
+
number provided, it will be total request
|
|
2248
|
+
timeout. It can also be a pair (tuple) of
|
|
2249
|
+
(connection, read) timeouts.
|
|
2250
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2251
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2252
|
+
request; this effectively ignores the
|
|
2253
|
+
authentication in the spec for a single request.
|
|
2254
|
+
:type _request_auth: dict, optional
|
|
2255
|
+
:param _content_type: force content-type for the request.
|
|
2256
|
+
:type _content_type: str, Optional
|
|
2257
|
+
:param _headers: set to override the headers for a single
|
|
2258
|
+
request; this effectively ignores the headers
|
|
2259
|
+
in the spec for a single request.
|
|
2260
|
+
:type _headers: dict, optional
|
|
2261
|
+
:param _host_index: set to override the host_index for a single
|
|
2262
|
+
request; this effectively ignores the host_index
|
|
2263
|
+
in the spec for a single request.
|
|
2264
|
+
:type _host_index: int, optional
|
|
2265
|
+
:return: Returns the result object.
|
|
2266
|
+
""" # noqa: E501
|
|
2267
|
+
|
|
2268
|
+
_param = self._update_nova_version_serialize(
|
|
2269
|
+
update_nova_version_request=update_nova_version_request,
|
|
2270
|
+
_request_auth=_request_auth,
|
|
2271
|
+
_content_type=_content_type,
|
|
2272
|
+
_headers=_headers,
|
|
2273
|
+
_host_index=_host_index
|
|
2274
|
+
)
|
|
2275
|
+
|
|
2276
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2277
|
+
'200': None,
|
|
2278
|
+
'204': None,
|
|
2279
|
+
'400': None,
|
|
2280
|
+
'501': None,
|
|
2281
|
+
}
|
|
2282
|
+
|
|
2283
|
+
response_data = await self.api_client.call_api(
|
|
2284
|
+
*_param,
|
|
2285
|
+
_request_timeout=_request_timeout
|
|
2286
|
+
)
|
|
2287
|
+
await response_data.read()
|
|
2288
|
+
return self.api_client.response_deserialize(
|
|
2289
|
+
response_data=response_data,
|
|
2290
|
+
response_types_map=_response_types_map,
|
|
2291
|
+
)
|
|
2292
|
+
|
|
2293
|
+
|
|
2294
|
+
@validate_call
|
|
2295
|
+
async def update_nova_version_without_preload_content(
|
|
2296
|
+
self,
|
|
2297
|
+
update_nova_version_request: UpdateNovaVersionRequest,
|
|
2298
|
+
_request_timeout: Union[
|
|
2299
|
+
None,
|
|
2300
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2301
|
+
Tuple[
|
|
2302
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2303
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2304
|
+
]
|
|
2305
|
+
] = None,
|
|
2306
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2307
|
+
_content_type: Optional[StrictStr] = None,
|
|
2308
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2309
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2310
|
+
) -> RESTResponseType:
|
|
2311
|
+
"""Update Wandelbots NOVA version
|
|
2312
|
+
|
|
2313
|
+
Update the Wandelbots NOVA version and all attached services. Sending this API Request will trigger an update of all NOVA services that are part of a cell. Previous cells and cell configurations will remain on the instance. If the update fails, the previous Wandelbots NOVA version is restored.
|
|
2314
|
+
|
|
2315
|
+
:param update_nova_version_request: (required)
|
|
2316
|
+
:type update_nova_version_request: UpdateNovaVersionRequest
|
|
2317
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2318
|
+
number provided, it will be total request
|
|
2319
|
+
timeout. It can also be a pair (tuple) of
|
|
2320
|
+
(connection, read) timeouts.
|
|
2321
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2322
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2323
|
+
request; this effectively ignores the
|
|
2324
|
+
authentication in the spec for a single request.
|
|
2325
|
+
:type _request_auth: dict, optional
|
|
2326
|
+
:param _content_type: force content-type for the request.
|
|
2327
|
+
:type _content_type: str, Optional
|
|
2328
|
+
:param _headers: set to override the headers for a single
|
|
2329
|
+
request; this effectively ignores the headers
|
|
2330
|
+
in the spec for a single request.
|
|
2331
|
+
:type _headers: dict, optional
|
|
2332
|
+
:param _host_index: set to override the host_index for a single
|
|
2333
|
+
request; this effectively ignores the host_index
|
|
2334
|
+
in the spec for a single request.
|
|
2335
|
+
:type _host_index: int, optional
|
|
2336
|
+
:return: Returns the result object.
|
|
2337
|
+
""" # noqa: E501
|
|
2338
|
+
|
|
2339
|
+
_param = self._update_nova_version_serialize(
|
|
2340
|
+
update_nova_version_request=update_nova_version_request,
|
|
2341
|
+
_request_auth=_request_auth,
|
|
2342
|
+
_content_type=_content_type,
|
|
2343
|
+
_headers=_headers,
|
|
2344
|
+
_host_index=_host_index
|
|
2345
|
+
)
|
|
2346
|
+
|
|
2347
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2348
|
+
'200': None,
|
|
2349
|
+
'204': None,
|
|
2350
|
+
'400': None,
|
|
2351
|
+
'501': None,
|
|
2352
|
+
}
|
|
2353
|
+
|
|
2354
|
+
response_data = await self.api_client.call_api(
|
|
2355
|
+
*_param,
|
|
2356
|
+
_request_timeout=_request_timeout
|
|
2357
|
+
)
|
|
2358
|
+
return response_data.response
|
|
2359
|
+
|
|
2360
|
+
|
|
2361
|
+
def _update_nova_version_serialize(
|
|
2362
|
+
self,
|
|
2363
|
+
update_nova_version_request,
|
|
2364
|
+
_request_auth,
|
|
2365
|
+
_content_type,
|
|
2366
|
+
_headers,
|
|
2367
|
+
_host_index,
|
|
2368
|
+
) -> RequestSerialized:
|
|
2369
|
+
|
|
2370
|
+
_host = None
|
|
2371
|
+
|
|
2372
|
+
_collection_formats: Dict[str, str] = {
|
|
2373
|
+
}
|
|
2374
|
+
|
|
2375
|
+
_path_params: Dict[str, str] = {}
|
|
2376
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2377
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2378
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2379
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
2380
|
+
_body_params: Optional[bytes] = None
|
|
2381
|
+
|
|
2382
|
+
# process the path parameters
|
|
2383
|
+
# process the query parameters
|
|
2384
|
+
# process the header parameters
|
|
2385
|
+
# process the form parameters
|
|
2386
|
+
# process the body parameter
|
|
2387
|
+
if update_nova_version_request is not None:
|
|
2388
|
+
_body_params = update_nova_version_request
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
|
|
2392
|
+
# set the HTTP header `Content-Type`
|
|
2393
|
+
if _content_type:
|
|
2394
|
+
_header_params['Content-Type'] = _content_type
|
|
2395
|
+
else:
|
|
2396
|
+
_default_content_type = (
|
|
2397
|
+
self.api_client.select_header_content_type(
|
|
2398
|
+
[
|
|
2399
|
+
'application/json'
|
|
2400
|
+
]
|
|
2401
|
+
)
|
|
2402
|
+
)
|
|
2403
|
+
if _default_content_type is not None:
|
|
2404
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2405
|
+
|
|
2406
|
+
# authentication setting
|
|
2407
|
+
_auth_settings: List[str] = [
|
|
2408
|
+
'BasicAuth',
|
|
2409
|
+
'BearerAuth'
|
|
2410
|
+
]
|
|
2411
|
+
|
|
2412
|
+
return self.api_client.param_serialize(
|
|
2413
|
+
method='PUT',
|
|
2414
|
+
resource_path='/system/update',
|
|
2415
|
+
path_params=_path_params,
|
|
2416
|
+
query_params=_query_params,
|
|
2417
|
+
header_params=_header_params,
|
|
2418
|
+
body=_body_params,
|
|
2419
|
+
post_params=_form_params,
|
|
2420
|
+
files=_files,
|
|
2421
|
+
auth_settings=_auth_settings,
|
|
2422
|
+
collection_formats=_collection_formats,
|
|
2423
|
+
_host=_host,
|
|
2424
|
+
_request_auth=_request_auth
|
|
2425
|
+
)
|
|
2426
|
+
|
|
2427
|
+
|