wandelbots-api-client 25.8.0.dev23__py3-none-any.whl → 25.10.0rc2__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 +16 -17
- wandelbots_api_client/api_client.py +14 -7
- wandelbots_api_client/authorization.py +244 -0
- 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 +13 -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 +16 -53
- wandelbots_api_client/v2/api/program_api.py +14 -15
- 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 +56 -42
- 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 +52 -31
- 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 +10 -13
- 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 +15 -15
- 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 +10 -17
- wandelbots_api_client/v2/models/initialize_jogging_response.py +4 -4
- wandelbots_api_client/v2/models/initialize_movement_request.py +8 -13
- 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 +7 -10
- 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 +36 -31
- 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 +100 -0
- 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 +15 -16
- 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 +6 -9
- 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 +14 -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.10.0rc2.dist-info/METADATA +62 -0
- wandelbots_api_client-25.10.0rc2.dist-info/RECORD +640 -0
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info}/WHEEL +2 -1
- wandelbots_api_client-25.10.0rc2.dist-info/top_level.txt +1 -0
- wandelbots_api_client/models/create_trigger_request_config.py +0 -123
- wandelbots_api_client/v2/models/limit_config.py +0 -101
- wandelbots_api_client-25.8.0.dev23.dist-info/METADATA +0 -63
- wandelbots_api_client-25.8.0.dev23.dist-info/RECORD +0 -594
- {wandelbots_api_client-25.8.0.dev23.dist-info → wandelbots_api_client-25.10.0rc2.dist-info/licenses}/LICENSE +0 -0
|
@@ -0,0 +1,1803 @@
|
|
|
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, StrictStr
|
|
26
|
+
from typing import List, Optional
|
|
27
|
+
from typing_extensions import Annotated
|
|
28
|
+
from wandelbots_api_client.v2_pydantic.models import App
|
|
29
|
+
|
|
30
|
+
from wandelbots_api_client.v2_pydantic.api_client import ApiClient, RequestSerialized
|
|
31
|
+
from wandelbots_api_client.v2_pydantic.api_response import ApiResponse
|
|
32
|
+
from wandelbots_api_client.v2_pydantic.rest import RESTResponseType
|
|
33
|
+
|
|
34
|
+
class ApplicationApi:
|
|
35
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
36
|
+
Ref: https://openapi-generator.tech
|
|
37
|
+
|
|
38
|
+
Do not edit the class manually.
|
|
39
|
+
"""
|
|
40
|
+
|
|
41
|
+
def __init__(self, api_client=None) -> None:
|
|
42
|
+
if api_client is None:
|
|
43
|
+
api_client = ApiClient.get_default()
|
|
44
|
+
self.api_client = api_client
|
|
45
|
+
|
|
46
|
+
@validate_call
|
|
47
|
+
async def add_app(
|
|
48
|
+
self,
|
|
49
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
50
|
+
app: App,
|
|
51
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
52
|
+
_request_timeout: Union[
|
|
53
|
+
None,
|
|
54
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
55
|
+
Tuple[
|
|
56
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
58
|
+
]
|
|
59
|
+
] = None,
|
|
60
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
61
|
+
_content_type: Optional[StrictStr] = None,
|
|
62
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
63
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
64
|
+
) -> None:
|
|
65
|
+
"""Add Application
|
|
66
|
+
|
|
67
|
+
Install a basic, containerized web application to the cell to control robots with a customized frontend. #### Prerequisites - A Docker hub account or similar container registry account, with valid credentials. #### Workflow After adding the application to the cell, open the application on the Wandelbots NOVA home screen. Read [build your application](https://docs.wandelbots.io/latest/developing-introduction) for more information. #### Predefined environment variables <!-- theme: NOTE --> > **NOTE** > - `NOVA_API`: The API endpoint accessible from within the application container. > - `NATS_BROKER`: The NATS broker endpoint accessible from within the application container. > - `BASE_PATH`: The application's root path, accessible at http://$host/$BASE_PATH > - `CELL_NAME`: The name of the cell hosting the deployed application.
|
|
68
|
+
|
|
69
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
70
|
+
:type cell: str
|
|
71
|
+
:param app: (required)
|
|
72
|
+
:type app: App
|
|
73
|
+
:param completion_timeout:
|
|
74
|
+
:type completion_timeout: int
|
|
75
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
76
|
+
number provided, it will be total request
|
|
77
|
+
timeout. It can also be a pair (tuple) of
|
|
78
|
+
(connection, read) timeouts.
|
|
79
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
80
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
81
|
+
request; this effectively ignores the
|
|
82
|
+
authentication in the spec for a single request.
|
|
83
|
+
:type _request_auth: dict, optional
|
|
84
|
+
:param _content_type: force content-type for the request.
|
|
85
|
+
:type _content_type: str, Optional
|
|
86
|
+
:param _headers: set to override the headers for a single
|
|
87
|
+
request; this effectively ignores the headers
|
|
88
|
+
in the spec for a single request.
|
|
89
|
+
:type _headers: dict, optional
|
|
90
|
+
:param _host_index: set to override the host_index for a single
|
|
91
|
+
request; this effectively ignores the host_index
|
|
92
|
+
in the spec for a single request.
|
|
93
|
+
:type _host_index: int, optional
|
|
94
|
+
:return: Returns the result object.
|
|
95
|
+
""" # noqa: E501
|
|
96
|
+
|
|
97
|
+
_param = self._add_app_serialize(
|
|
98
|
+
cell=cell,
|
|
99
|
+
app=app,
|
|
100
|
+
completion_timeout=completion_timeout,
|
|
101
|
+
_request_auth=_request_auth,
|
|
102
|
+
_content_type=_content_type,
|
|
103
|
+
_headers=_headers,
|
|
104
|
+
_host_index=_host_index
|
|
105
|
+
)
|
|
106
|
+
|
|
107
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
108
|
+
'200': None,
|
|
109
|
+
'202': None,
|
|
110
|
+
'409': None,
|
|
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 add_app_with_http_info(
|
|
126
|
+
self,
|
|
127
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
128
|
+
app: App,
|
|
129
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
130
|
+
_request_timeout: Union[
|
|
131
|
+
None,
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
133
|
+
Tuple[
|
|
134
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
135
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
136
|
+
]
|
|
137
|
+
] = None,
|
|
138
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
+
_content_type: Optional[StrictStr] = None,
|
|
140
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
141
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
142
|
+
) -> ApiResponse[None]:
|
|
143
|
+
"""Add Application
|
|
144
|
+
|
|
145
|
+
Install a basic, containerized web application to the cell to control robots with a customized frontend. #### Prerequisites - A Docker hub account or similar container registry account, with valid credentials. #### Workflow After adding the application to the cell, open the application on the Wandelbots NOVA home screen. Read [build your application](https://docs.wandelbots.io/latest/developing-introduction) for more information. #### Predefined environment variables <!-- theme: NOTE --> > **NOTE** > - `NOVA_API`: The API endpoint accessible from within the application container. > - `NATS_BROKER`: The NATS broker endpoint accessible from within the application container. > - `BASE_PATH`: The application's root path, accessible at http://$host/$BASE_PATH > - `CELL_NAME`: The name of the cell hosting the deployed application.
|
|
146
|
+
|
|
147
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
148
|
+
:type cell: str
|
|
149
|
+
:param app: (required)
|
|
150
|
+
:type app: App
|
|
151
|
+
:param completion_timeout:
|
|
152
|
+
:type completion_timeout: int
|
|
153
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
154
|
+
number provided, it will be total request
|
|
155
|
+
timeout. It can also be a pair (tuple) of
|
|
156
|
+
(connection, read) timeouts.
|
|
157
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
158
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
159
|
+
request; this effectively ignores the
|
|
160
|
+
authentication in the spec for a single request.
|
|
161
|
+
:type _request_auth: dict, optional
|
|
162
|
+
:param _content_type: force content-type for the request.
|
|
163
|
+
:type _content_type: str, Optional
|
|
164
|
+
:param _headers: set to override the headers for a single
|
|
165
|
+
request; this effectively ignores the headers
|
|
166
|
+
in the spec for a single request.
|
|
167
|
+
:type _headers: dict, optional
|
|
168
|
+
:param _host_index: set to override the host_index for a single
|
|
169
|
+
request; this effectively ignores the host_index
|
|
170
|
+
in the spec for a single request.
|
|
171
|
+
:type _host_index: int, optional
|
|
172
|
+
:return: Returns the result object.
|
|
173
|
+
""" # noqa: E501
|
|
174
|
+
|
|
175
|
+
_param = self._add_app_serialize(
|
|
176
|
+
cell=cell,
|
|
177
|
+
app=app,
|
|
178
|
+
completion_timeout=completion_timeout,
|
|
179
|
+
_request_auth=_request_auth,
|
|
180
|
+
_content_type=_content_type,
|
|
181
|
+
_headers=_headers,
|
|
182
|
+
_host_index=_host_index
|
|
183
|
+
)
|
|
184
|
+
|
|
185
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
186
|
+
'200': None,
|
|
187
|
+
'202': None,
|
|
188
|
+
'409': None,
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
response_data = await self.api_client.call_api(
|
|
192
|
+
*_param,
|
|
193
|
+
_request_timeout=_request_timeout
|
|
194
|
+
)
|
|
195
|
+
await response_data.read()
|
|
196
|
+
return self.api_client.response_deserialize(
|
|
197
|
+
response_data=response_data,
|
|
198
|
+
response_types_map=_response_types_map,
|
|
199
|
+
)
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
@validate_call
|
|
203
|
+
async def add_app_without_preload_content(
|
|
204
|
+
self,
|
|
205
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
206
|
+
app: App,
|
|
207
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
208
|
+
_request_timeout: Union[
|
|
209
|
+
None,
|
|
210
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
211
|
+
Tuple[
|
|
212
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
213
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
214
|
+
]
|
|
215
|
+
] = None,
|
|
216
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
217
|
+
_content_type: Optional[StrictStr] = None,
|
|
218
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
219
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
220
|
+
) -> RESTResponseType:
|
|
221
|
+
"""Add Application
|
|
222
|
+
|
|
223
|
+
Install a basic, containerized web application to the cell to control robots with a customized frontend. #### Prerequisites - A Docker hub account or similar container registry account, with valid credentials. #### Workflow After adding the application to the cell, open the application on the Wandelbots NOVA home screen. Read [build your application](https://docs.wandelbots.io/latest/developing-introduction) for more information. #### Predefined environment variables <!-- theme: NOTE --> > **NOTE** > - `NOVA_API`: The API endpoint accessible from within the application container. > - `NATS_BROKER`: The NATS broker endpoint accessible from within the application container. > - `BASE_PATH`: The application's root path, accessible at http://$host/$BASE_PATH > - `CELL_NAME`: The name of the cell hosting the deployed application.
|
|
224
|
+
|
|
225
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
226
|
+
:type cell: str
|
|
227
|
+
:param app: (required)
|
|
228
|
+
:type app: App
|
|
229
|
+
:param completion_timeout:
|
|
230
|
+
:type completion_timeout: int
|
|
231
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
232
|
+
number provided, it will be total request
|
|
233
|
+
timeout. It can also be a pair (tuple) of
|
|
234
|
+
(connection, read) timeouts.
|
|
235
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
236
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
237
|
+
request; this effectively ignores the
|
|
238
|
+
authentication in the spec for a single request.
|
|
239
|
+
:type _request_auth: dict, optional
|
|
240
|
+
:param _content_type: force content-type for the request.
|
|
241
|
+
:type _content_type: str, Optional
|
|
242
|
+
:param _headers: set to override the headers for a single
|
|
243
|
+
request; this effectively ignores the headers
|
|
244
|
+
in the spec for a single request.
|
|
245
|
+
:type _headers: dict, optional
|
|
246
|
+
:param _host_index: set to override the host_index for a single
|
|
247
|
+
request; this effectively ignores the host_index
|
|
248
|
+
in the spec for a single request.
|
|
249
|
+
:type _host_index: int, optional
|
|
250
|
+
:return: Returns the result object.
|
|
251
|
+
""" # noqa: E501
|
|
252
|
+
|
|
253
|
+
_param = self._add_app_serialize(
|
|
254
|
+
cell=cell,
|
|
255
|
+
app=app,
|
|
256
|
+
completion_timeout=completion_timeout,
|
|
257
|
+
_request_auth=_request_auth,
|
|
258
|
+
_content_type=_content_type,
|
|
259
|
+
_headers=_headers,
|
|
260
|
+
_host_index=_host_index
|
|
261
|
+
)
|
|
262
|
+
|
|
263
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
264
|
+
'200': None,
|
|
265
|
+
'202': None,
|
|
266
|
+
'409': None,
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
response_data = await self.api_client.call_api(
|
|
270
|
+
*_param,
|
|
271
|
+
_request_timeout=_request_timeout
|
|
272
|
+
)
|
|
273
|
+
return response_data.response
|
|
274
|
+
|
|
275
|
+
|
|
276
|
+
def _add_app_serialize(
|
|
277
|
+
self,
|
|
278
|
+
cell,
|
|
279
|
+
app,
|
|
280
|
+
completion_timeout,
|
|
281
|
+
_request_auth,
|
|
282
|
+
_content_type,
|
|
283
|
+
_headers,
|
|
284
|
+
_host_index,
|
|
285
|
+
) -> RequestSerialized:
|
|
286
|
+
|
|
287
|
+
_host = None
|
|
288
|
+
|
|
289
|
+
_collection_formats: Dict[str, str] = {
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
_path_params: Dict[str, str] = {}
|
|
293
|
+
_query_params: List[Tuple[str, str]] = []
|
|
294
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
295
|
+
_form_params: List[Tuple[str, str]] = []
|
|
296
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
297
|
+
_body_params: Optional[bytes] = None
|
|
298
|
+
|
|
299
|
+
# process the path parameters
|
|
300
|
+
if cell is not None:
|
|
301
|
+
_path_params['cell'] = cell
|
|
302
|
+
# process the query parameters
|
|
303
|
+
if completion_timeout is not None:
|
|
304
|
+
|
|
305
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
306
|
+
|
|
307
|
+
# process the header parameters
|
|
308
|
+
# process the form parameters
|
|
309
|
+
# process the body parameter
|
|
310
|
+
if app is not None:
|
|
311
|
+
_body_params = app
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
# set the HTTP header `Content-Type`
|
|
316
|
+
if _content_type:
|
|
317
|
+
_header_params['Content-Type'] = _content_type
|
|
318
|
+
else:
|
|
319
|
+
_default_content_type = (
|
|
320
|
+
self.api_client.select_header_content_type(
|
|
321
|
+
[
|
|
322
|
+
'application/json'
|
|
323
|
+
]
|
|
324
|
+
)
|
|
325
|
+
)
|
|
326
|
+
if _default_content_type is not None:
|
|
327
|
+
_header_params['Content-Type'] = _default_content_type
|
|
328
|
+
|
|
329
|
+
# authentication setting
|
|
330
|
+
_auth_settings: List[str] = [
|
|
331
|
+
'BasicAuth',
|
|
332
|
+
'BearerAuth'
|
|
333
|
+
]
|
|
334
|
+
|
|
335
|
+
return self.api_client.param_serialize(
|
|
336
|
+
method='POST',
|
|
337
|
+
resource_path='/cells/{cell}/apps',
|
|
338
|
+
path_params=_path_params,
|
|
339
|
+
query_params=_query_params,
|
|
340
|
+
header_params=_header_params,
|
|
341
|
+
body=_body_params,
|
|
342
|
+
post_params=_form_params,
|
|
343
|
+
files=_files,
|
|
344
|
+
auth_settings=_auth_settings,
|
|
345
|
+
collection_formats=_collection_formats,
|
|
346
|
+
_host=_host,
|
|
347
|
+
_request_auth=_request_auth
|
|
348
|
+
)
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
@validate_call
|
|
353
|
+
async def clear_apps(
|
|
354
|
+
self,
|
|
355
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
356
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
357
|
+
_request_timeout: Union[
|
|
358
|
+
None,
|
|
359
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
360
|
+
Tuple[
|
|
361
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
362
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
363
|
+
]
|
|
364
|
+
] = None,
|
|
365
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
366
|
+
_content_type: Optional[StrictStr] = None,
|
|
367
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
368
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
369
|
+
) -> None:
|
|
370
|
+
"""Clear Applications
|
|
371
|
+
|
|
372
|
+
Delete all GUI applications from the cell.
|
|
373
|
+
|
|
374
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
375
|
+
:type cell: str
|
|
376
|
+
:param completion_timeout:
|
|
377
|
+
:type completion_timeout: int
|
|
378
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
379
|
+
number provided, it will be total request
|
|
380
|
+
timeout. It can also be a pair (tuple) of
|
|
381
|
+
(connection, read) timeouts.
|
|
382
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
383
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
384
|
+
request; this effectively ignores the
|
|
385
|
+
authentication in the spec for a single request.
|
|
386
|
+
:type _request_auth: dict, optional
|
|
387
|
+
:param _content_type: force content-type for the request.
|
|
388
|
+
:type _content_type: str, Optional
|
|
389
|
+
:param _headers: set to override the headers for a single
|
|
390
|
+
request; this effectively ignores the headers
|
|
391
|
+
in the spec for a single request.
|
|
392
|
+
:type _headers: dict, optional
|
|
393
|
+
:param _host_index: set to override the host_index for a single
|
|
394
|
+
request; this effectively ignores the host_index
|
|
395
|
+
in the spec for a single request.
|
|
396
|
+
:type _host_index: int, optional
|
|
397
|
+
:return: Returns the result object.
|
|
398
|
+
""" # noqa: E501
|
|
399
|
+
|
|
400
|
+
_param = self._clear_apps_serialize(
|
|
401
|
+
cell=cell,
|
|
402
|
+
completion_timeout=completion_timeout,
|
|
403
|
+
_request_auth=_request_auth,
|
|
404
|
+
_content_type=_content_type,
|
|
405
|
+
_headers=_headers,
|
|
406
|
+
_host_index=_host_index
|
|
407
|
+
)
|
|
408
|
+
|
|
409
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
410
|
+
'200': None,
|
|
411
|
+
'202': None,
|
|
412
|
+
'404': "Error",
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
response_data = await self.api_client.call_api(
|
|
416
|
+
*_param,
|
|
417
|
+
_request_timeout=_request_timeout
|
|
418
|
+
)
|
|
419
|
+
await response_data.read()
|
|
420
|
+
return self.api_client.response_deserialize(
|
|
421
|
+
response_data=response_data,
|
|
422
|
+
response_types_map=_response_types_map,
|
|
423
|
+
).data
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
@validate_call
|
|
427
|
+
async def clear_apps_with_http_info(
|
|
428
|
+
self,
|
|
429
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
430
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
431
|
+
_request_timeout: Union[
|
|
432
|
+
None,
|
|
433
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
434
|
+
Tuple[
|
|
435
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
436
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
437
|
+
]
|
|
438
|
+
] = None,
|
|
439
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
440
|
+
_content_type: Optional[StrictStr] = None,
|
|
441
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
442
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
443
|
+
) -> ApiResponse[None]:
|
|
444
|
+
"""Clear Applications
|
|
445
|
+
|
|
446
|
+
Delete all GUI applications from the cell.
|
|
447
|
+
|
|
448
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
449
|
+
:type cell: str
|
|
450
|
+
:param completion_timeout:
|
|
451
|
+
:type completion_timeout: int
|
|
452
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
453
|
+
number provided, it will be total request
|
|
454
|
+
timeout. It can also be a pair (tuple) of
|
|
455
|
+
(connection, read) timeouts.
|
|
456
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
457
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
458
|
+
request; this effectively ignores the
|
|
459
|
+
authentication in the spec for a single request.
|
|
460
|
+
:type _request_auth: dict, optional
|
|
461
|
+
:param _content_type: force content-type for the request.
|
|
462
|
+
:type _content_type: str, Optional
|
|
463
|
+
:param _headers: set to override the headers for a single
|
|
464
|
+
request; this effectively ignores the headers
|
|
465
|
+
in the spec for a single request.
|
|
466
|
+
:type _headers: dict, optional
|
|
467
|
+
:param _host_index: set to override the host_index for a single
|
|
468
|
+
request; this effectively ignores the host_index
|
|
469
|
+
in the spec for a single request.
|
|
470
|
+
:type _host_index: int, optional
|
|
471
|
+
:return: Returns the result object.
|
|
472
|
+
""" # noqa: E501
|
|
473
|
+
|
|
474
|
+
_param = self._clear_apps_serialize(
|
|
475
|
+
cell=cell,
|
|
476
|
+
completion_timeout=completion_timeout,
|
|
477
|
+
_request_auth=_request_auth,
|
|
478
|
+
_content_type=_content_type,
|
|
479
|
+
_headers=_headers,
|
|
480
|
+
_host_index=_host_index
|
|
481
|
+
)
|
|
482
|
+
|
|
483
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
484
|
+
'200': None,
|
|
485
|
+
'202': None,
|
|
486
|
+
'404': "Error",
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
response_data = await self.api_client.call_api(
|
|
490
|
+
*_param,
|
|
491
|
+
_request_timeout=_request_timeout
|
|
492
|
+
)
|
|
493
|
+
await response_data.read()
|
|
494
|
+
return self.api_client.response_deserialize(
|
|
495
|
+
response_data=response_data,
|
|
496
|
+
response_types_map=_response_types_map,
|
|
497
|
+
)
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
@validate_call
|
|
501
|
+
async def clear_apps_without_preload_content(
|
|
502
|
+
self,
|
|
503
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
504
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
505
|
+
_request_timeout: Union[
|
|
506
|
+
None,
|
|
507
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
508
|
+
Tuple[
|
|
509
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
510
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
511
|
+
]
|
|
512
|
+
] = None,
|
|
513
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
514
|
+
_content_type: Optional[StrictStr] = None,
|
|
515
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
516
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
517
|
+
) -> RESTResponseType:
|
|
518
|
+
"""Clear Applications
|
|
519
|
+
|
|
520
|
+
Delete all GUI applications from the cell.
|
|
521
|
+
|
|
522
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
523
|
+
:type cell: str
|
|
524
|
+
:param completion_timeout:
|
|
525
|
+
:type completion_timeout: int
|
|
526
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
527
|
+
number provided, it will be total request
|
|
528
|
+
timeout. It can also be a pair (tuple) of
|
|
529
|
+
(connection, read) timeouts.
|
|
530
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
531
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
532
|
+
request; this effectively ignores the
|
|
533
|
+
authentication in the spec for a single request.
|
|
534
|
+
:type _request_auth: dict, optional
|
|
535
|
+
:param _content_type: force content-type for the request.
|
|
536
|
+
:type _content_type: str, Optional
|
|
537
|
+
:param _headers: set to override the headers for a single
|
|
538
|
+
request; this effectively ignores the headers
|
|
539
|
+
in the spec for a single request.
|
|
540
|
+
:type _headers: dict, optional
|
|
541
|
+
:param _host_index: set to override the host_index for a single
|
|
542
|
+
request; this effectively ignores the host_index
|
|
543
|
+
in the spec for a single request.
|
|
544
|
+
:type _host_index: int, optional
|
|
545
|
+
:return: Returns the result object.
|
|
546
|
+
""" # noqa: E501
|
|
547
|
+
|
|
548
|
+
_param = self._clear_apps_serialize(
|
|
549
|
+
cell=cell,
|
|
550
|
+
completion_timeout=completion_timeout,
|
|
551
|
+
_request_auth=_request_auth,
|
|
552
|
+
_content_type=_content_type,
|
|
553
|
+
_headers=_headers,
|
|
554
|
+
_host_index=_host_index
|
|
555
|
+
)
|
|
556
|
+
|
|
557
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
558
|
+
'200': None,
|
|
559
|
+
'202': None,
|
|
560
|
+
'404': "Error",
|
|
561
|
+
}
|
|
562
|
+
|
|
563
|
+
response_data = await self.api_client.call_api(
|
|
564
|
+
*_param,
|
|
565
|
+
_request_timeout=_request_timeout
|
|
566
|
+
)
|
|
567
|
+
return response_data.response
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
def _clear_apps_serialize(
|
|
571
|
+
self,
|
|
572
|
+
cell,
|
|
573
|
+
completion_timeout,
|
|
574
|
+
_request_auth,
|
|
575
|
+
_content_type,
|
|
576
|
+
_headers,
|
|
577
|
+
_host_index,
|
|
578
|
+
) -> RequestSerialized:
|
|
579
|
+
|
|
580
|
+
_host = None
|
|
581
|
+
|
|
582
|
+
_collection_formats: Dict[str, str] = {
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
_path_params: Dict[str, str] = {}
|
|
586
|
+
_query_params: List[Tuple[str, str]] = []
|
|
587
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
588
|
+
_form_params: List[Tuple[str, str]] = []
|
|
589
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
590
|
+
_body_params: Optional[bytes] = None
|
|
591
|
+
|
|
592
|
+
# process the path parameters
|
|
593
|
+
if cell is not None:
|
|
594
|
+
_path_params['cell'] = cell
|
|
595
|
+
# process the query parameters
|
|
596
|
+
if completion_timeout is not None:
|
|
597
|
+
|
|
598
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
599
|
+
|
|
600
|
+
# process the header parameters
|
|
601
|
+
# process the form parameters
|
|
602
|
+
# process the body parameter
|
|
603
|
+
|
|
604
|
+
|
|
605
|
+
# set the HTTP header `Accept`
|
|
606
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
607
|
+
[
|
|
608
|
+
'application/json'
|
|
609
|
+
]
|
|
610
|
+
)
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
# authentication setting
|
|
614
|
+
_auth_settings: List[str] = [
|
|
615
|
+
'BasicAuth',
|
|
616
|
+
'BearerAuth'
|
|
617
|
+
]
|
|
618
|
+
|
|
619
|
+
return self.api_client.param_serialize(
|
|
620
|
+
method='DELETE',
|
|
621
|
+
resource_path='/cells/{cell}/apps',
|
|
622
|
+
path_params=_path_params,
|
|
623
|
+
query_params=_query_params,
|
|
624
|
+
header_params=_header_params,
|
|
625
|
+
body=_body_params,
|
|
626
|
+
post_params=_form_params,
|
|
627
|
+
files=_files,
|
|
628
|
+
auth_settings=_auth_settings,
|
|
629
|
+
collection_formats=_collection_formats,
|
|
630
|
+
_host=_host,
|
|
631
|
+
_request_auth=_request_auth
|
|
632
|
+
)
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
@validate_call
|
|
637
|
+
async def delete_app(
|
|
638
|
+
self,
|
|
639
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
640
|
+
app: StrictStr,
|
|
641
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
642
|
+
_request_timeout: Union[
|
|
643
|
+
None,
|
|
644
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
645
|
+
Tuple[
|
|
646
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
647
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
648
|
+
]
|
|
649
|
+
] = None,
|
|
650
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
651
|
+
_content_type: Optional[StrictStr] = None,
|
|
652
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
653
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
654
|
+
) -> None:
|
|
655
|
+
"""Delete Application
|
|
656
|
+
|
|
657
|
+
Delete a GUI application from the cell.
|
|
658
|
+
|
|
659
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
660
|
+
:type cell: str
|
|
661
|
+
:param app: (required)
|
|
662
|
+
:type app: str
|
|
663
|
+
:param completion_timeout:
|
|
664
|
+
:type completion_timeout: int
|
|
665
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
666
|
+
number provided, it will be total request
|
|
667
|
+
timeout. It can also be a pair (tuple) of
|
|
668
|
+
(connection, read) timeouts.
|
|
669
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
670
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
671
|
+
request; this effectively ignores the
|
|
672
|
+
authentication in the spec for a single request.
|
|
673
|
+
:type _request_auth: dict, optional
|
|
674
|
+
:param _content_type: force content-type for the request.
|
|
675
|
+
:type _content_type: str, Optional
|
|
676
|
+
:param _headers: set to override the headers for a single
|
|
677
|
+
request; this effectively ignores the headers
|
|
678
|
+
in the spec for a single request.
|
|
679
|
+
:type _headers: dict, optional
|
|
680
|
+
:param _host_index: set to override the host_index for a single
|
|
681
|
+
request; this effectively ignores the host_index
|
|
682
|
+
in the spec for a single request.
|
|
683
|
+
:type _host_index: int, optional
|
|
684
|
+
:return: Returns the result object.
|
|
685
|
+
""" # noqa: E501
|
|
686
|
+
|
|
687
|
+
_param = self._delete_app_serialize(
|
|
688
|
+
cell=cell,
|
|
689
|
+
app=app,
|
|
690
|
+
completion_timeout=completion_timeout,
|
|
691
|
+
_request_auth=_request_auth,
|
|
692
|
+
_content_type=_content_type,
|
|
693
|
+
_headers=_headers,
|
|
694
|
+
_host_index=_host_index
|
|
695
|
+
)
|
|
696
|
+
|
|
697
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
698
|
+
'200': None,
|
|
699
|
+
'202': None,
|
|
700
|
+
'404': "Error",
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
response_data = await self.api_client.call_api(
|
|
704
|
+
*_param,
|
|
705
|
+
_request_timeout=_request_timeout
|
|
706
|
+
)
|
|
707
|
+
await response_data.read()
|
|
708
|
+
return self.api_client.response_deserialize(
|
|
709
|
+
response_data=response_data,
|
|
710
|
+
response_types_map=_response_types_map,
|
|
711
|
+
).data
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
@validate_call
|
|
715
|
+
async def delete_app_with_http_info(
|
|
716
|
+
self,
|
|
717
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
718
|
+
app: StrictStr,
|
|
719
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
720
|
+
_request_timeout: Union[
|
|
721
|
+
None,
|
|
722
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
723
|
+
Tuple[
|
|
724
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
725
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
726
|
+
]
|
|
727
|
+
] = None,
|
|
728
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
729
|
+
_content_type: Optional[StrictStr] = None,
|
|
730
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
731
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
732
|
+
) -> ApiResponse[None]:
|
|
733
|
+
"""Delete Application
|
|
734
|
+
|
|
735
|
+
Delete a GUI application from the cell.
|
|
736
|
+
|
|
737
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
738
|
+
:type cell: str
|
|
739
|
+
:param app: (required)
|
|
740
|
+
:type app: str
|
|
741
|
+
:param completion_timeout:
|
|
742
|
+
:type completion_timeout: int
|
|
743
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
744
|
+
number provided, it will be total request
|
|
745
|
+
timeout. It can also be a pair (tuple) of
|
|
746
|
+
(connection, read) timeouts.
|
|
747
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
748
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
749
|
+
request; this effectively ignores the
|
|
750
|
+
authentication in the spec for a single request.
|
|
751
|
+
:type _request_auth: dict, optional
|
|
752
|
+
:param _content_type: force content-type for the request.
|
|
753
|
+
:type _content_type: str, Optional
|
|
754
|
+
:param _headers: set to override the headers for a single
|
|
755
|
+
request; this effectively ignores the headers
|
|
756
|
+
in the spec for a single request.
|
|
757
|
+
:type _headers: dict, optional
|
|
758
|
+
:param _host_index: set to override the host_index for a single
|
|
759
|
+
request; this effectively ignores the host_index
|
|
760
|
+
in the spec for a single request.
|
|
761
|
+
:type _host_index: int, optional
|
|
762
|
+
:return: Returns the result object.
|
|
763
|
+
""" # noqa: E501
|
|
764
|
+
|
|
765
|
+
_param = self._delete_app_serialize(
|
|
766
|
+
cell=cell,
|
|
767
|
+
app=app,
|
|
768
|
+
completion_timeout=completion_timeout,
|
|
769
|
+
_request_auth=_request_auth,
|
|
770
|
+
_content_type=_content_type,
|
|
771
|
+
_headers=_headers,
|
|
772
|
+
_host_index=_host_index
|
|
773
|
+
)
|
|
774
|
+
|
|
775
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
776
|
+
'200': None,
|
|
777
|
+
'202': None,
|
|
778
|
+
'404': "Error",
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
response_data = await self.api_client.call_api(
|
|
782
|
+
*_param,
|
|
783
|
+
_request_timeout=_request_timeout
|
|
784
|
+
)
|
|
785
|
+
await response_data.read()
|
|
786
|
+
return self.api_client.response_deserialize(
|
|
787
|
+
response_data=response_data,
|
|
788
|
+
response_types_map=_response_types_map,
|
|
789
|
+
)
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
@validate_call
|
|
793
|
+
async def delete_app_without_preload_content(
|
|
794
|
+
self,
|
|
795
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
796
|
+
app: StrictStr,
|
|
797
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
798
|
+
_request_timeout: Union[
|
|
799
|
+
None,
|
|
800
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
801
|
+
Tuple[
|
|
802
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
803
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
804
|
+
]
|
|
805
|
+
] = None,
|
|
806
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
807
|
+
_content_type: Optional[StrictStr] = None,
|
|
808
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
809
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
810
|
+
) -> RESTResponseType:
|
|
811
|
+
"""Delete Application
|
|
812
|
+
|
|
813
|
+
Delete a GUI application from the cell.
|
|
814
|
+
|
|
815
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
816
|
+
:type cell: str
|
|
817
|
+
:param app: (required)
|
|
818
|
+
:type app: str
|
|
819
|
+
:param completion_timeout:
|
|
820
|
+
:type completion_timeout: int
|
|
821
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
822
|
+
number provided, it will be total request
|
|
823
|
+
timeout. It can also be a pair (tuple) of
|
|
824
|
+
(connection, read) timeouts.
|
|
825
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
826
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
827
|
+
request; this effectively ignores the
|
|
828
|
+
authentication in the spec for a single request.
|
|
829
|
+
:type _request_auth: dict, optional
|
|
830
|
+
:param _content_type: force content-type for the request.
|
|
831
|
+
:type _content_type: str, Optional
|
|
832
|
+
:param _headers: set to override the headers for a single
|
|
833
|
+
request; this effectively ignores the headers
|
|
834
|
+
in the spec for a single request.
|
|
835
|
+
:type _headers: dict, optional
|
|
836
|
+
:param _host_index: set to override the host_index for a single
|
|
837
|
+
request; this effectively ignores the host_index
|
|
838
|
+
in the spec for a single request.
|
|
839
|
+
:type _host_index: int, optional
|
|
840
|
+
:return: Returns the result object.
|
|
841
|
+
""" # noqa: E501
|
|
842
|
+
|
|
843
|
+
_param = self._delete_app_serialize(
|
|
844
|
+
cell=cell,
|
|
845
|
+
app=app,
|
|
846
|
+
completion_timeout=completion_timeout,
|
|
847
|
+
_request_auth=_request_auth,
|
|
848
|
+
_content_type=_content_type,
|
|
849
|
+
_headers=_headers,
|
|
850
|
+
_host_index=_host_index
|
|
851
|
+
)
|
|
852
|
+
|
|
853
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
854
|
+
'200': None,
|
|
855
|
+
'202': None,
|
|
856
|
+
'404': "Error",
|
|
857
|
+
}
|
|
858
|
+
|
|
859
|
+
response_data = await self.api_client.call_api(
|
|
860
|
+
*_param,
|
|
861
|
+
_request_timeout=_request_timeout
|
|
862
|
+
)
|
|
863
|
+
return response_data.response
|
|
864
|
+
|
|
865
|
+
|
|
866
|
+
def _delete_app_serialize(
|
|
867
|
+
self,
|
|
868
|
+
cell,
|
|
869
|
+
app,
|
|
870
|
+
completion_timeout,
|
|
871
|
+
_request_auth,
|
|
872
|
+
_content_type,
|
|
873
|
+
_headers,
|
|
874
|
+
_host_index,
|
|
875
|
+
) -> RequestSerialized:
|
|
876
|
+
|
|
877
|
+
_host = None
|
|
878
|
+
|
|
879
|
+
_collection_formats: Dict[str, str] = {
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
_path_params: Dict[str, str] = {}
|
|
883
|
+
_query_params: List[Tuple[str, str]] = []
|
|
884
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
885
|
+
_form_params: List[Tuple[str, str]] = []
|
|
886
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
887
|
+
_body_params: Optional[bytes] = None
|
|
888
|
+
|
|
889
|
+
# process the path parameters
|
|
890
|
+
if cell is not None:
|
|
891
|
+
_path_params['cell'] = cell
|
|
892
|
+
if app is not None:
|
|
893
|
+
_path_params['app'] = app
|
|
894
|
+
# process the query parameters
|
|
895
|
+
if completion_timeout is not None:
|
|
896
|
+
|
|
897
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
898
|
+
|
|
899
|
+
# process the header parameters
|
|
900
|
+
# process the form parameters
|
|
901
|
+
# process the body parameter
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
# set the HTTP header `Accept`
|
|
905
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
906
|
+
[
|
|
907
|
+
'application/json'
|
|
908
|
+
]
|
|
909
|
+
)
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
# authentication setting
|
|
913
|
+
_auth_settings: List[str] = [
|
|
914
|
+
'BasicAuth',
|
|
915
|
+
'BearerAuth'
|
|
916
|
+
]
|
|
917
|
+
|
|
918
|
+
return self.api_client.param_serialize(
|
|
919
|
+
method='DELETE',
|
|
920
|
+
resource_path='/cells/{cell}/apps/{app}',
|
|
921
|
+
path_params=_path_params,
|
|
922
|
+
query_params=_query_params,
|
|
923
|
+
header_params=_header_params,
|
|
924
|
+
body=_body_params,
|
|
925
|
+
post_params=_form_params,
|
|
926
|
+
files=_files,
|
|
927
|
+
auth_settings=_auth_settings,
|
|
928
|
+
collection_formats=_collection_formats,
|
|
929
|
+
_host=_host,
|
|
930
|
+
_request_auth=_request_auth
|
|
931
|
+
)
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
|
|
935
|
+
@validate_call
|
|
936
|
+
async def get_app(
|
|
937
|
+
self,
|
|
938
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
939
|
+
app: StrictStr,
|
|
940
|
+
_request_timeout: Union[
|
|
941
|
+
None,
|
|
942
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
943
|
+
Tuple[
|
|
944
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
945
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
946
|
+
]
|
|
947
|
+
] = None,
|
|
948
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
949
|
+
_content_type: Optional[StrictStr] = None,
|
|
950
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
951
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
952
|
+
) -> App:
|
|
953
|
+
"""Configuration
|
|
954
|
+
|
|
955
|
+
Get the configuration for an active GUI application in the cell. To update the configuration of a GUI application in the cell, use this configuration with [updateApp](updateApp).
|
|
956
|
+
|
|
957
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
958
|
+
:type cell: str
|
|
959
|
+
:param app: (required)
|
|
960
|
+
:type app: str
|
|
961
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
962
|
+
number provided, it will be total request
|
|
963
|
+
timeout. It can also be a pair (tuple) of
|
|
964
|
+
(connection, read) timeouts.
|
|
965
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
966
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
967
|
+
request; this effectively ignores the
|
|
968
|
+
authentication in the spec for a single request.
|
|
969
|
+
:type _request_auth: dict, optional
|
|
970
|
+
:param _content_type: force content-type for the request.
|
|
971
|
+
:type _content_type: str, Optional
|
|
972
|
+
:param _headers: set to override the headers for a single
|
|
973
|
+
request; this effectively ignores the headers
|
|
974
|
+
in the spec for a single request.
|
|
975
|
+
:type _headers: dict, optional
|
|
976
|
+
:param _host_index: set to override the host_index for a single
|
|
977
|
+
request; this effectively ignores the host_index
|
|
978
|
+
in the spec for a single request.
|
|
979
|
+
:type _host_index: int, optional
|
|
980
|
+
:return: Returns the result object.
|
|
981
|
+
""" # noqa: E501
|
|
982
|
+
|
|
983
|
+
_param = self._get_app_serialize(
|
|
984
|
+
cell=cell,
|
|
985
|
+
app=app,
|
|
986
|
+
_request_auth=_request_auth,
|
|
987
|
+
_content_type=_content_type,
|
|
988
|
+
_headers=_headers,
|
|
989
|
+
_host_index=_host_index
|
|
990
|
+
)
|
|
991
|
+
|
|
992
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
993
|
+
'200': "App",
|
|
994
|
+
'404': "Error",
|
|
995
|
+
}
|
|
996
|
+
|
|
997
|
+
response_data = await self.api_client.call_api(
|
|
998
|
+
*_param,
|
|
999
|
+
_request_timeout=_request_timeout
|
|
1000
|
+
)
|
|
1001
|
+
await response_data.read()
|
|
1002
|
+
return self.api_client.response_deserialize(
|
|
1003
|
+
response_data=response_data,
|
|
1004
|
+
response_types_map=_response_types_map,
|
|
1005
|
+
).data
|
|
1006
|
+
|
|
1007
|
+
|
|
1008
|
+
@validate_call
|
|
1009
|
+
async def get_app_with_http_info(
|
|
1010
|
+
self,
|
|
1011
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1012
|
+
app: StrictStr,
|
|
1013
|
+
_request_timeout: Union[
|
|
1014
|
+
None,
|
|
1015
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1016
|
+
Tuple[
|
|
1017
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1018
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1019
|
+
]
|
|
1020
|
+
] = None,
|
|
1021
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1022
|
+
_content_type: Optional[StrictStr] = None,
|
|
1023
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1024
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1025
|
+
) -> ApiResponse[App]:
|
|
1026
|
+
"""Configuration
|
|
1027
|
+
|
|
1028
|
+
Get the configuration for an active GUI application in the cell. To update the configuration of a GUI application in the cell, use this configuration with [updateApp](updateApp).
|
|
1029
|
+
|
|
1030
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1031
|
+
:type cell: str
|
|
1032
|
+
:param app: (required)
|
|
1033
|
+
:type app: str
|
|
1034
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1035
|
+
number provided, it will be total request
|
|
1036
|
+
timeout. It can also be a pair (tuple) of
|
|
1037
|
+
(connection, read) timeouts.
|
|
1038
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1039
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1040
|
+
request; this effectively ignores the
|
|
1041
|
+
authentication in the spec for a single request.
|
|
1042
|
+
:type _request_auth: dict, optional
|
|
1043
|
+
:param _content_type: force content-type for the request.
|
|
1044
|
+
:type _content_type: str, Optional
|
|
1045
|
+
:param _headers: set to override the headers for a single
|
|
1046
|
+
request; this effectively ignores the headers
|
|
1047
|
+
in the spec for a single request.
|
|
1048
|
+
:type _headers: dict, optional
|
|
1049
|
+
:param _host_index: set to override the host_index for a single
|
|
1050
|
+
request; this effectively ignores the host_index
|
|
1051
|
+
in the spec for a single request.
|
|
1052
|
+
:type _host_index: int, optional
|
|
1053
|
+
:return: Returns the result object.
|
|
1054
|
+
""" # noqa: E501
|
|
1055
|
+
|
|
1056
|
+
_param = self._get_app_serialize(
|
|
1057
|
+
cell=cell,
|
|
1058
|
+
app=app,
|
|
1059
|
+
_request_auth=_request_auth,
|
|
1060
|
+
_content_type=_content_type,
|
|
1061
|
+
_headers=_headers,
|
|
1062
|
+
_host_index=_host_index
|
|
1063
|
+
)
|
|
1064
|
+
|
|
1065
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1066
|
+
'200': "App",
|
|
1067
|
+
'404': "Error",
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
response_data = await self.api_client.call_api(
|
|
1071
|
+
*_param,
|
|
1072
|
+
_request_timeout=_request_timeout
|
|
1073
|
+
)
|
|
1074
|
+
await response_data.read()
|
|
1075
|
+
return self.api_client.response_deserialize(
|
|
1076
|
+
response_data=response_data,
|
|
1077
|
+
response_types_map=_response_types_map,
|
|
1078
|
+
)
|
|
1079
|
+
|
|
1080
|
+
|
|
1081
|
+
@validate_call
|
|
1082
|
+
async def get_app_without_preload_content(
|
|
1083
|
+
self,
|
|
1084
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1085
|
+
app: StrictStr,
|
|
1086
|
+
_request_timeout: Union[
|
|
1087
|
+
None,
|
|
1088
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1089
|
+
Tuple[
|
|
1090
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1091
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1092
|
+
]
|
|
1093
|
+
] = None,
|
|
1094
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1095
|
+
_content_type: Optional[StrictStr] = None,
|
|
1096
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1097
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1098
|
+
) -> RESTResponseType:
|
|
1099
|
+
"""Configuration
|
|
1100
|
+
|
|
1101
|
+
Get the configuration for an active GUI application in the cell. To update the configuration of a GUI application in the cell, use this configuration with [updateApp](updateApp).
|
|
1102
|
+
|
|
1103
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1104
|
+
:type cell: str
|
|
1105
|
+
:param app: (required)
|
|
1106
|
+
:type app: str
|
|
1107
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1108
|
+
number provided, it will be total request
|
|
1109
|
+
timeout. It can also be a pair (tuple) of
|
|
1110
|
+
(connection, read) timeouts.
|
|
1111
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1112
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1113
|
+
request; this effectively ignores the
|
|
1114
|
+
authentication in the spec for a single request.
|
|
1115
|
+
:type _request_auth: dict, optional
|
|
1116
|
+
:param _content_type: force content-type for the request.
|
|
1117
|
+
:type _content_type: str, Optional
|
|
1118
|
+
:param _headers: set to override the headers for a single
|
|
1119
|
+
request; this effectively ignores the headers
|
|
1120
|
+
in the spec for a single request.
|
|
1121
|
+
:type _headers: dict, optional
|
|
1122
|
+
:param _host_index: set to override the host_index for a single
|
|
1123
|
+
request; this effectively ignores the host_index
|
|
1124
|
+
in the spec for a single request.
|
|
1125
|
+
:type _host_index: int, optional
|
|
1126
|
+
:return: Returns the result object.
|
|
1127
|
+
""" # noqa: E501
|
|
1128
|
+
|
|
1129
|
+
_param = self._get_app_serialize(
|
|
1130
|
+
cell=cell,
|
|
1131
|
+
app=app,
|
|
1132
|
+
_request_auth=_request_auth,
|
|
1133
|
+
_content_type=_content_type,
|
|
1134
|
+
_headers=_headers,
|
|
1135
|
+
_host_index=_host_index
|
|
1136
|
+
)
|
|
1137
|
+
|
|
1138
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1139
|
+
'200': "App",
|
|
1140
|
+
'404': "Error",
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
response_data = await self.api_client.call_api(
|
|
1144
|
+
*_param,
|
|
1145
|
+
_request_timeout=_request_timeout
|
|
1146
|
+
)
|
|
1147
|
+
return response_data.response
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
|
+
def _get_app_serialize(
|
|
1151
|
+
self,
|
|
1152
|
+
cell,
|
|
1153
|
+
app,
|
|
1154
|
+
_request_auth,
|
|
1155
|
+
_content_type,
|
|
1156
|
+
_headers,
|
|
1157
|
+
_host_index,
|
|
1158
|
+
) -> RequestSerialized:
|
|
1159
|
+
|
|
1160
|
+
_host = None
|
|
1161
|
+
|
|
1162
|
+
_collection_formats: Dict[str, str] = {
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
_path_params: Dict[str, str] = {}
|
|
1166
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1167
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1168
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1169
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1170
|
+
_body_params: Optional[bytes] = None
|
|
1171
|
+
|
|
1172
|
+
# process the path parameters
|
|
1173
|
+
if cell is not None:
|
|
1174
|
+
_path_params['cell'] = cell
|
|
1175
|
+
if app is not None:
|
|
1176
|
+
_path_params['app'] = app
|
|
1177
|
+
# process the query parameters
|
|
1178
|
+
# process the header parameters
|
|
1179
|
+
# process the form parameters
|
|
1180
|
+
# process the body parameter
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
# set the HTTP header `Accept`
|
|
1184
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1185
|
+
[
|
|
1186
|
+
'application/json'
|
|
1187
|
+
]
|
|
1188
|
+
)
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
# authentication setting
|
|
1192
|
+
_auth_settings: List[str] = [
|
|
1193
|
+
'BasicAuth',
|
|
1194
|
+
'BearerAuth'
|
|
1195
|
+
]
|
|
1196
|
+
|
|
1197
|
+
return self.api_client.param_serialize(
|
|
1198
|
+
method='GET',
|
|
1199
|
+
resource_path='/cells/{cell}/apps/{app}',
|
|
1200
|
+
path_params=_path_params,
|
|
1201
|
+
query_params=_query_params,
|
|
1202
|
+
header_params=_header_params,
|
|
1203
|
+
body=_body_params,
|
|
1204
|
+
post_params=_form_params,
|
|
1205
|
+
files=_files,
|
|
1206
|
+
auth_settings=_auth_settings,
|
|
1207
|
+
collection_formats=_collection_formats,
|
|
1208
|
+
_host=_host,
|
|
1209
|
+
_request_auth=_request_auth
|
|
1210
|
+
)
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
@validate_call
|
|
1215
|
+
async def list_apps(
|
|
1216
|
+
self,
|
|
1217
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1218
|
+
_request_timeout: Union[
|
|
1219
|
+
None,
|
|
1220
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1221
|
+
Tuple[
|
|
1222
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1223
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1224
|
+
]
|
|
1225
|
+
] = None,
|
|
1226
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1227
|
+
_content_type: Optional[StrictStr] = None,
|
|
1228
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1229
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1230
|
+
) -> List[str]:
|
|
1231
|
+
"""List Applications
|
|
1232
|
+
|
|
1233
|
+
List all GUI applications that have been added to a cell with [addApp](addApp). If the cell does not contain GUI applications, the list is returned empty.
|
|
1234
|
+
|
|
1235
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1236
|
+
:type cell: str
|
|
1237
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1238
|
+
number provided, it will be total request
|
|
1239
|
+
timeout. It can also be a pair (tuple) of
|
|
1240
|
+
(connection, read) timeouts.
|
|
1241
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1242
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1243
|
+
request; this effectively ignores the
|
|
1244
|
+
authentication in the spec for a single request.
|
|
1245
|
+
:type _request_auth: dict, optional
|
|
1246
|
+
:param _content_type: force content-type for the request.
|
|
1247
|
+
:type _content_type: str, Optional
|
|
1248
|
+
:param _headers: set to override the headers for a single
|
|
1249
|
+
request; this effectively ignores the headers
|
|
1250
|
+
in the spec for a single request.
|
|
1251
|
+
:type _headers: dict, optional
|
|
1252
|
+
:param _host_index: set to override the host_index for a single
|
|
1253
|
+
request; this effectively ignores the host_index
|
|
1254
|
+
in the spec for a single request.
|
|
1255
|
+
:type _host_index: int, optional
|
|
1256
|
+
:return: Returns the result object.
|
|
1257
|
+
""" # noqa: E501
|
|
1258
|
+
|
|
1259
|
+
_param = self._list_apps_serialize(
|
|
1260
|
+
cell=cell,
|
|
1261
|
+
_request_auth=_request_auth,
|
|
1262
|
+
_content_type=_content_type,
|
|
1263
|
+
_headers=_headers,
|
|
1264
|
+
_host_index=_host_index
|
|
1265
|
+
)
|
|
1266
|
+
|
|
1267
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1268
|
+
'200': "List[str]",
|
|
1269
|
+
}
|
|
1270
|
+
|
|
1271
|
+
response_data = await self.api_client.call_api(
|
|
1272
|
+
*_param,
|
|
1273
|
+
_request_timeout=_request_timeout
|
|
1274
|
+
)
|
|
1275
|
+
await response_data.read()
|
|
1276
|
+
return self.api_client.response_deserialize(
|
|
1277
|
+
response_data=response_data,
|
|
1278
|
+
response_types_map=_response_types_map,
|
|
1279
|
+
).data
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
@validate_call
|
|
1283
|
+
async def list_apps_with_http_info(
|
|
1284
|
+
self,
|
|
1285
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1286
|
+
_request_timeout: Union[
|
|
1287
|
+
None,
|
|
1288
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1289
|
+
Tuple[
|
|
1290
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1291
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1292
|
+
]
|
|
1293
|
+
] = None,
|
|
1294
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1295
|
+
_content_type: Optional[StrictStr] = None,
|
|
1296
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1297
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1298
|
+
) -> ApiResponse[List[str]]:
|
|
1299
|
+
"""List Applications
|
|
1300
|
+
|
|
1301
|
+
List all GUI applications that have been added to a cell with [addApp](addApp). If the cell does not contain GUI applications, the list is returned empty.
|
|
1302
|
+
|
|
1303
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1304
|
+
:type cell: str
|
|
1305
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1306
|
+
number provided, it will be total request
|
|
1307
|
+
timeout. It can also be a pair (tuple) of
|
|
1308
|
+
(connection, read) timeouts.
|
|
1309
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1310
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1311
|
+
request; this effectively ignores the
|
|
1312
|
+
authentication in the spec for a single request.
|
|
1313
|
+
:type _request_auth: dict, optional
|
|
1314
|
+
:param _content_type: force content-type for the request.
|
|
1315
|
+
:type _content_type: str, Optional
|
|
1316
|
+
:param _headers: set to override the headers for a single
|
|
1317
|
+
request; this effectively ignores the headers
|
|
1318
|
+
in the spec for a single request.
|
|
1319
|
+
:type _headers: dict, optional
|
|
1320
|
+
:param _host_index: set to override the host_index for a single
|
|
1321
|
+
request; this effectively ignores the host_index
|
|
1322
|
+
in the spec for a single request.
|
|
1323
|
+
:type _host_index: int, optional
|
|
1324
|
+
:return: Returns the result object.
|
|
1325
|
+
""" # noqa: E501
|
|
1326
|
+
|
|
1327
|
+
_param = self._list_apps_serialize(
|
|
1328
|
+
cell=cell,
|
|
1329
|
+
_request_auth=_request_auth,
|
|
1330
|
+
_content_type=_content_type,
|
|
1331
|
+
_headers=_headers,
|
|
1332
|
+
_host_index=_host_index
|
|
1333
|
+
)
|
|
1334
|
+
|
|
1335
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1336
|
+
'200': "List[str]",
|
|
1337
|
+
}
|
|
1338
|
+
|
|
1339
|
+
response_data = await self.api_client.call_api(
|
|
1340
|
+
*_param,
|
|
1341
|
+
_request_timeout=_request_timeout
|
|
1342
|
+
)
|
|
1343
|
+
await response_data.read()
|
|
1344
|
+
return self.api_client.response_deserialize(
|
|
1345
|
+
response_data=response_data,
|
|
1346
|
+
response_types_map=_response_types_map,
|
|
1347
|
+
)
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
@validate_call
|
|
1351
|
+
async def list_apps_without_preload_content(
|
|
1352
|
+
self,
|
|
1353
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1354
|
+
_request_timeout: Union[
|
|
1355
|
+
None,
|
|
1356
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1357
|
+
Tuple[
|
|
1358
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1359
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1360
|
+
]
|
|
1361
|
+
] = None,
|
|
1362
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1363
|
+
_content_type: Optional[StrictStr] = None,
|
|
1364
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1365
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1366
|
+
) -> RESTResponseType:
|
|
1367
|
+
"""List Applications
|
|
1368
|
+
|
|
1369
|
+
List all GUI applications that have been added to a cell with [addApp](addApp). If the cell does not contain GUI applications, the list is returned empty.
|
|
1370
|
+
|
|
1371
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1372
|
+
:type cell: str
|
|
1373
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1374
|
+
number provided, it will be total request
|
|
1375
|
+
timeout. It can also be a pair (tuple) of
|
|
1376
|
+
(connection, read) timeouts.
|
|
1377
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1378
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1379
|
+
request; this effectively ignores the
|
|
1380
|
+
authentication in the spec for a single request.
|
|
1381
|
+
:type _request_auth: dict, optional
|
|
1382
|
+
:param _content_type: force content-type for the request.
|
|
1383
|
+
:type _content_type: str, Optional
|
|
1384
|
+
:param _headers: set to override the headers for a single
|
|
1385
|
+
request; this effectively ignores the headers
|
|
1386
|
+
in the spec for a single request.
|
|
1387
|
+
:type _headers: dict, optional
|
|
1388
|
+
:param _host_index: set to override the host_index for a single
|
|
1389
|
+
request; this effectively ignores the host_index
|
|
1390
|
+
in the spec for a single request.
|
|
1391
|
+
:type _host_index: int, optional
|
|
1392
|
+
:return: Returns the result object.
|
|
1393
|
+
""" # noqa: E501
|
|
1394
|
+
|
|
1395
|
+
_param = self._list_apps_serialize(
|
|
1396
|
+
cell=cell,
|
|
1397
|
+
_request_auth=_request_auth,
|
|
1398
|
+
_content_type=_content_type,
|
|
1399
|
+
_headers=_headers,
|
|
1400
|
+
_host_index=_host_index
|
|
1401
|
+
)
|
|
1402
|
+
|
|
1403
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1404
|
+
'200': "List[str]",
|
|
1405
|
+
}
|
|
1406
|
+
|
|
1407
|
+
response_data = await self.api_client.call_api(
|
|
1408
|
+
*_param,
|
|
1409
|
+
_request_timeout=_request_timeout
|
|
1410
|
+
)
|
|
1411
|
+
return response_data.response
|
|
1412
|
+
|
|
1413
|
+
|
|
1414
|
+
def _list_apps_serialize(
|
|
1415
|
+
self,
|
|
1416
|
+
cell,
|
|
1417
|
+
_request_auth,
|
|
1418
|
+
_content_type,
|
|
1419
|
+
_headers,
|
|
1420
|
+
_host_index,
|
|
1421
|
+
) -> RequestSerialized:
|
|
1422
|
+
|
|
1423
|
+
_host = None
|
|
1424
|
+
|
|
1425
|
+
_collection_formats: Dict[str, str] = {
|
|
1426
|
+
}
|
|
1427
|
+
|
|
1428
|
+
_path_params: Dict[str, str] = {}
|
|
1429
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1430
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1431
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1432
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1433
|
+
_body_params: Optional[bytes] = None
|
|
1434
|
+
|
|
1435
|
+
# process the path parameters
|
|
1436
|
+
if cell is not None:
|
|
1437
|
+
_path_params['cell'] = cell
|
|
1438
|
+
# process the query parameters
|
|
1439
|
+
# process the header parameters
|
|
1440
|
+
# process the form parameters
|
|
1441
|
+
# process the body parameter
|
|
1442
|
+
|
|
1443
|
+
|
|
1444
|
+
# set the HTTP header `Accept`
|
|
1445
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1446
|
+
[
|
|
1447
|
+
'application/json'
|
|
1448
|
+
]
|
|
1449
|
+
)
|
|
1450
|
+
|
|
1451
|
+
|
|
1452
|
+
# authentication setting
|
|
1453
|
+
_auth_settings: List[str] = [
|
|
1454
|
+
'BasicAuth',
|
|
1455
|
+
'BearerAuth'
|
|
1456
|
+
]
|
|
1457
|
+
|
|
1458
|
+
return self.api_client.param_serialize(
|
|
1459
|
+
method='GET',
|
|
1460
|
+
resource_path='/cells/{cell}/apps',
|
|
1461
|
+
path_params=_path_params,
|
|
1462
|
+
query_params=_query_params,
|
|
1463
|
+
header_params=_header_params,
|
|
1464
|
+
body=_body_params,
|
|
1465
|
+
post_params=_form_params,
|
|
1466
|
+
files=_files,
|
|
1467
|
+
auth_settings=_auth_settings,
|
|
1468
|
+
collection_formats=_collection_formats,
|
|
1469
|
+
_host=_host,
|
|
1470
|
+
_request_auth=_request_auth
|
|
1471
|
+
)
|
|
1472
|
+
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
@validate_call
|
|
1476
|
+
async def update_app(
|
|
1477
|
+
self,
|
|
1478
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1479
|
+
app: StrictStr,
|
|
1480
|
+
app2: App,
|
|
1481
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1482
|
+
_request_timeout: Union[
|
|
1483
|
+
None,
|
|
1484
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1485
|
+
Tuple[
|
|
1486
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1487
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1488
|
+
]
|
|
1489
|
+
] = None,
|
|
1490
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1491
|
+
_content_type: Optional[StrictStr] = None,
|
|
1492
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1493
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1494
|
+
) -> None:
|
|
1495
|
+
"""Update Configuration
|
|
1496
|
+
|
|
1497
|
+
Update the configuration of a GUI application in the cell.
|
|
1498
|
+
|
|
1499
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1500
|
+
:type cell: str
|
|
1501
|
+
:param app: (required)
|
|
1502
|
+
:type app: str
|
|
1503
|
+
:param app2: (required)
|
|
1504
|
+
:type app2: App
|
|
1505
|
+
:param completion_timeout:
|
|
1506
|
+
:type completion_timeout: int
|
|
1507
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1508
|
+
number provided, it will be total request
|
|
1509
|
+
timeout. It can also be a pair (tuple) of
|
|
1510
|
+
(connection, read) timeouts.
|
|
1511
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1512
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1513
|
+
request; this effectively ignores the
|
|
1514
|
+
authentication in the spec for a single request.
|
|
1515
|
+
:type _request_auth: dict, optional
|
|
1516
|
+
:param _content_type: force content-type for the request.
|
|
1517
|
+
:type _content_type: str, Optional
|
|
1518
|
+
:param _headers: set to override the headers for a single
|
|
1519
|
+
request; this effectively ignores the headers
|
|
1520
|
+
in the spec for a single request.
|
|
1521
|
+
:type _headers: dict, optional
|
|
1522
|
+
:param _host_index: set to override the host_index for a single
|
|
1523
|
+
request; this effectively ignores the host_index
|
|
1524
|
+
in the spec for a single request.
|
|
1525
|
+
:type _host_index: int, optional
|
|
1526
|
+
:return: Returns the result object.
|
|
1527
|
+
""" # noqa: E501
|
|
1528
|
+
|
|
1529
|
+
_param = self._update_app_serialize(
|
|
1530
|
+
cell=cell,
|
|
1531
|
+
app=app,
|
|
1532
|
+
app2=app2,
|
|
1533
|
+
completion_timeout=completion_timeout,
|
|
1534
|
+
_request_auth=_request_auth,
|
|
1535
|
+
_content_type=_content_type,
|
|
1536
|
+
_headers=_headers,
|
|
1537
|
+
_host_index=_host_index
|
|
1538
|
+
)
|
|
1539
|
+
|
|
1540
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1541
|
+
'200': None,
|
|
1542
|
+
'202': None,
|
|
1543
|
+
'400': "Error",
|
|
1544
|
+
'404': "Error",
|
|
1545
|
+
}
|
|
1546
|
+
|
|
1547
|
+
response_data = await self.api_client.call_api(
|
|
1548
|
+
*_param,
|
|
1549
|
+
_request_timeout=_request_timeout
|
|
1550
|
+
)
|
|
1551
|
+
await response_data.read()
|
|
1552
|
+
return self.api_client.response_deserialize(
|
|
1553
|
+
response_data=response_data,
|
|
1554
|
+
response_types_map=_response_types_map,
|
|
1555
|
+
).data
|
|
1556
|
+
|
|
1557
|
+
|
|
1558
|
+
@validate_call
|
|
1559
|
+
async def update_app_with_http_info(
|
|
1560
|
+
self,
|
|
1561
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1562
|
+
app: StrictStr,
|
|
1563
|
+
app2: App,
|
|
1564
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1565
|
+
_request_timeout: Union[
|
|
1566
|
+
None,
|
|
1567
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1568
|
+
Tuple[
|
|
1569
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1570
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1571
|
+
]
|
|
1572
|
+
] = None,
|
|
1573
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1574
|
+
_content_type: Optional[StrictStr] = None,
|
|
1575
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1576
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1577
|
+
) -> ApiResponse[None]:
|
|
1578
|
+
"""Update Configuration
|
|
1579
|
+
|
|
1580
|
+
Update the configuration of a GUI application in the cell.
|
|
1581
|
+
|
|
1582
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1583
|
+
:type cell: str
|
|
1584
|
+
:param app: (required)
|
|
1585
|
+
:type app: str
|
|
1586
|
+
:param app2: (required)
|
|
1587
|
+
:type app2: App
|
|
1588
|
+
:param completion_timeout:
|
|
1589
|
+
:type completion_timeout: int
|
|
1590
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1591
|
+
number provided, it will be total request
|
|
1592
|
+
timeout. It can also be a pair (tuple) of
|
|
1593
|
+
(connection, read) timeouts.
|
|
1594
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1595
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1596
|
+
request; this effectively ignores the
|
|
1597
|
+
authentication in the spec for a single request.
|
|
1598
|
+
:type _request_auth: dict, optional
|
|
1599
|
+
:param _content_type: force content-type for the request.
|
|
1600
|
+
:type _content_type: str, Optional
|
|
1601
|
+
:param _headers: set to override the headers for a single
|
|
1602
|
+
request; this effectively ignores the headers
|
|
1603
|
+
in the spec for a single request.
|
|
1604
|
+
:type _headers: dict, optional
|
|
1605
|
+
:param _host_index: set to override the host_index for a single
|
|
1606
|
+
request; this effectively ignores the host_index
|
|
1607
|
+
in the spec for a single request.
|
|
1608
|
+
:type _host_index: int, optional
|
|
1609
|
+
:return: Returns the result object.
|
|
1610
|
+
""" # noqa: E501
|
|
1611
|
+
|
|
1612
|
+
_param = self._update_app_serialize(
|
|
1613
|
+
cell=cell,
|
|
1614
|
+
app=app,
|
|
1615
|
+
app2=app2,
|
|
1616
|
+
completion_timeout=completion_timeout,
|
|
1617
|
+
_request_auth=_request_auth,
|
|
1618
|
+
_content_type=_content_type,
|
|
1619
|
+
_headers=_headers,
|
|
1620
|
+
_host_index=_host_index
|
|
1621
|
+
)
|
|
1622
|
+
|
|
1623
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1624
|
+
'200': None,
|
|
1625
|
+
'202': None,
|
|
1626
|
+
'400': "Error",
|
|
1627
|
+
'404': "Error",
|
|
1628
|
+
}
|
|
1629
|
+
|
|
1630
|
+
response_data = await self.api_client.call_api(
|
|
1631
|
+
*_param,
|
|
1632
|
+
_request_timeout=_request_timeout
|
|
1633
|
+
)
|
|
1634
|
+
await response_data.read()
|
|
1635
|
+
return self.api_client.response_deserialize(
|
|
1636
|
+
response_data=response_data,
|
|
1637
|
+
response_types_map=_response_types_map,
|
|
1638
|
+
)
|
|
1639
|
+
|
|
1640
|
+
|
|
1641
|
+
@validate_call
|
|
1642
|
+
async def update_app_without_preload_content(
|
|
1643
|
+
self,
|
|
1644
|
+
cell: Annotated[StrictStr, Field(description="Unique identifier addressing a cell in all API calls. ")],
|
|
1645
|
+
app: StrictStr,
|
|
1646
|
+
app2: App,
|
|
1647
|
+
completion_timeout: Optional[Annotated[int, Field(strict=True, ge=1)]] = None,
|
|
1648
|
+
_request_timeout: Union[
|
|
1649
|
+
None,
|
|
1650
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1651
|
+
Tuple[
|
|
1652
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1653
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1654
|
+
]
|
|
1655
|
+
] = None,
|
|
1656
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1657
|
+
_content_type: Optional[StrictStr] = None,
|
|
1658
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1659
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1660
|
+
) -> RESTResponseType:
|
|
1661
|
+
"""Update Configuration
|
|
1662
|
+
|
|
1663
|
+
Update the configuration of a GUI application in the cell.
|
|
1664
|
+
|
|
1665
|
+
:param cell: Unique identifier addressing a cell in all API calls. (required)
|
|
1666
|
+
:type cell: str
|
|
1667
|
+
:param app: (required)
|
|
1668
|
+
:type app: str
|
|
1669
|
+
:param app2: (required)
|
|
1670
|
+
:type app2: App
|
|
1671
|
+
:param completion_timeout:
|
|
1672
|
+
:type completion_timeout: int
|
|
1673
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1674
|
+
number provided, it will be total request
|
|
1675
|
+
timeout. It can also be a pair (tuple) of
|
|
1676
|
+
(connection, read) timeouts.
|
|
1677
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1678
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1679
|
+
request; this effectively ignores the
|
|
1680
|
+
authentication in the spec for a single request.
|
|
1681
|
+
:type _request_auth: dict, optional
|
|
1682
|
+
:param _content_type: force content-type for the request.
|
|
1683
|
+
:type _content_type: str, Optional
|
|
1684
|
+
:param _headers: set to override the headers for a single
|
|
1685
|
+
request; this effectively ignores the headers
|
|
1686
|
+
in the spec for a single request.
|
|
1687
|
+
:type _headers: dict, optional
|
|
1688
|
+
:param _host_index: set to override the host_index for a single
|
|
1689
|
+
request; this effectively ignores the host_index
|
|
1690
|
+
in the spec for a single request.
|
|
1691
|
+
:type _host_index: int, optional
|
|
1692
|
+
:return: Returns the result object.
|
|
1693
|
+
""" # noqa: E501
|
|
1694
|
+
|
|
1695
|
+
_param = self._update_app_serialize(
|
|
1696
|
+
cell=cell,
|
|
1697
|
+
app=app,
|
|
1698
|
+
app2=app2,
|
|
1699
|
+
completion_timeout=completion_timeout,
|
|
1700
|
+
_request_auth=_request_auth,
|
|
1701
|
+
_content_type=_content_type,
|
|
1702
|
+
_headers=_headers,
|
|
1703
|
+
_host_index=_host_index
|
|
1704
|
+
)
|
|
1705
|
+
|
|
1706
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1707
|
+
'200': None,
|
|
1708
|
+
'202': None,
|
|
1709
|
+
'400': "Error",
|
|
1710
|
+
'404': "Error",
|
|
1711
|
+
}
|
|
1712
|
+
|
|
1713
|
+
response_data = await self.api_client.call_api(
|
|
1714
|
+
*_param,
|
|
1715
|
+
_request_timeout=_request_timeout
|
|
1716
|
+
)
|
|
1717
|
+
return response_data.response
|
|
1718
|
+
|
|
1719
|
+
|
|
1720
|
+
def _update_app_serialize(
|
|
1721
|
+
self,
|
|
1722
|
+
cell,
|
|
1723
|
+
app,
|
|
1724
|
+
app2,
|
|
1725
|
+
completion_timeout,
|
|
1726
|
+
_request_auth,
|
|
1727
|
+
_content_type,
|
|
1728
|
+
_headers,
|
|
1729
|
+
_host_index,
|
|
1730
|
+
) -> RequestSerialized:
|
|
1731
|
+
|
|
1732
|
+
_host = None
|
|
1733
|
+
|
|
1734
|
+
_collection_formats: Dict[str, str] = {
|
|
1735
|
+
}
|
|
1736
|
+
|
|
1737
|
+
_path_params: Dict[str, str] = {}
|
|
1738
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1739
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1740
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1741
|
+
_files: Dict[str, Union[str, bytes]] = {}
|
|
1742
|
+
_body_params: Optional[bytes] = None
|
|
1743
|
+
|
|
1744
|
+
# process the path parameters
|
|
1745
|
+
if cell is not None:
|
|
1746
|
+
_path_params['cell'] = cell
|
|
1747
|
+
if app is not None:
|
|
1748
|
+
_path_params['app'] = app
|
|
1749
|
+
# process the query parameters
|
|
1750
|
+
if completion_timeout is not None:
|
|
1751
|
+
|
|
1752
|
+
_query_params.append(('completion_timeout', completion_timeout))
|
|
1753
|
+
|
|
1754
|
+
# process the header parameters
|
|
1755
|
+
# process the form parameters
|
|
1756
|
+
# process the body parameter
|
|
1757
|
+
if app2 is not None:
|
|
1758
|
+
_body_params = app2
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
# set the HTTP header `Accept`
|
|
1762
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1763
|
+
[
|
|
1764
|
+
'application/json'
|
|
1765
|
+
]
|
|
1766
|
+
)
|
|
1767
|
+
|
|
1768
|
+
# set the HTTP header `Content-Type`
|
|
1769
|
+
if _content_type:
|
|
1770
|
+
_header_params['Content-Type'] = _content_type
|
|
1771
|
+
else:
|
|
1772
|
+
_default_content_type = (
|
|
1773
|
+
self.api_client.select_header_content_type(
|
|
1774
|
+
[
|
|
1775
|
+
'application/json'
|
|
1776
|
+
]
|
|
1777
|
+
)
|
|
1778
|
+
)
|
|
1779
|
+
if _default_content_type is not None:
|
|
1780
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1781
|
+
|
|
1782
|
+
# authentication setting
|
|
1783
|
+
_auth_settings: List[str] = [
|
|
1784
|
+
'BasicAuth',
|
|
1785
|
+
'BearerAuth'
|
|
1786
|
+
]
|
|
1787
|
+
|
|
1788
|
+
return self.api_client.param_serialize(
|
|
1789
|
+
method='PUT',
|
|
1790
|
+
resource_path='/cells/{cell}/apps/{app}',
|
|
1791
|
+
path_params=_path_params,
|
|
1792
|
+
query_params=_query_params,
|
|
1793
|
+
header_params=_header_params,
|
|
1794
|
+
body=_body_params,
|
|
1795
|
+
post_params=_form_params,
|
|
1796
|
+
files=_files,
|
|
1797
|
+
auth_settings=_auth_settings,
|
|
1798
|
+
collection_formats=_collection_formats,
|
|
1799
|
+
_host=_host,
|
|
1800
|
+
_request_auth=_request_auth
|
|
1801
|
+
)
|
|
1802
|
+
|
|
1803
|
+
|