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