tb-rest-client 3.8.0__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.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +49 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
- tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
- tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
- tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
- tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
- tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
- tb_rest_client/api/api_ce/domain_controller_api.py +549 -0
- tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
- tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
- tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
- tb_rest_client/api/api_ce/event_controller_api.py +623 -0
- tb_rest_client/api/api_ce/image_controller_api.py +1281 -0
- tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +494 -0
- tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
- tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +338 -0
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
- tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
- tb_rest_client/api/api_pe/__init__.py +63 -0
- tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
- tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
- tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
- tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
- tb_rest_client/api/api_pe/converter_library_controller_api.py +901 -0
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
- tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
- tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
- tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
- tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
- tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
- tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
- tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
- tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
- tb_rest_client/api/api_pe/event_controller_api.py +623 -0
- tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
- tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
- tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
- tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
- tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
- tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
- tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
- tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
- tb_rest_client/api/api_pe/report_controller_api.py +245 -0
- tb_rest_client/api/api_pe/role_controller_api.py +546 -0
- tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
- tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
- tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
- tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
- tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
- tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
- tb_rest_client/api_client.py +705 -0
- tb_rest_client/configuration.py +234 -0
- tb_rest_client/models/__init__.py +14 -0
- tb_rest_client/models/models_ce/__init__.py +474 -0
- tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
- tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_ce/activate_user_request.py +154 -0
- tb_rest_client/models/models_ce/admin_settings.py +232 -0
- tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
- tb_rest_client/models/models_ce/alarm.py +707 -0
- tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
- tb_rest_client/models/models_ce/alarm_comment.py +292 -0
- tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_ce/alarm_condition.py +154 -0
- tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
- tb_rest_client/models/models_ce/alarm_data.py +855 -0
- tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
- tb_rest_client/models/models_ce/alarm_id.py +162 -0
- tb_rest_client/models/models_ce/alarm_info.py +803 -0
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_ce/alarm_rule.py +206 -0
- tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
- tb_rest_client/models/models_ce/all_users_filter.py +104 -0
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/android_config.py +202 -0
- tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
- tb_rest_client/models/models_ce/api_image_body.py +177 -0
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_ce/asset.py +367 -0
- tb_rest_client/models/models_ce/asset_id.py +162 -0
- tb_rest_client/models/models_ce/asset_info.py +451 -0
- tb_rest_client/models/models_ce/asset_profile.py +422 -0
- tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
- tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
- tb_rest_client/models/models_ce/asset_search_query.py +180 -0
- tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
- tb_rest_client/models/models_ce/atomic_integer.py +228 -0
- tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
- tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_ce/audit_log.py +434 -0
- tb_rest_client/models/models_ce/audit_log_id.py +127 -0
- tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
- tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/branch_info.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
- tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_ce/button.py +286 -0
- tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
- tb_rest_client/models/models_ce/byte_buffer.py +306 -0
- tb_rest_client/models/models_ce/change_password_request.py +154 -0
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/claim_request.py +124 -0
- tb_rest_client/models/models_ce/clear_rule.py +131 -0
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/column_mapping.py +156 -0
- tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_ce/component_descriptor.py +420 -0
- tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_ce/config_submit_body.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_ce/customer.py +510 -0
- tb_rest_client/models/models_ce/customer_id.py +162 -0
- tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
- tb_rest_client/models/models_ce/dashboard.py +399 -0
- tb_rest_client/models/models_ce/dashboard_id.py +162 -0
- tb_rest_client/models/models_ce/dashboard_info.py +373 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
- tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_ce/device.py +446 -0
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_ce/device_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_credentials.py +293 -0
- tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
- tb_rest_client/models/models_ce/device_data.py +154 -0
- tb_rest_client/models/models_ce/device_export_data.py +156 -0
- tb_rest_client/models/models_ce/device_id.py +162 -0
- tb_rest_client/models/models_ce/device_info.py +558 -0
- tb_rest_client/models/models_ce/device_profile.py +630 -0
- tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
- tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_profile_data.py +210 -0
- tb_rest_client/models/models_ce/device_profile_id.py +162 -0
- tb_rest_client/models/models_ce/device_profile_info.py +300 -0
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_search_query.py +180 -0
- tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_type_filter.py +182 -0
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/domain.py +247 -0
- tb_rest_client/models/models_ce/domain_id.py +146 -0
- tb_rest_client/models/models_ce/domain_info.py +275 -0
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
- tb_rest_client/models/models_ce/edge.py +426 -0
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/edge_event.py +370 -0
- tb_rest_client/models/models_ce/edge_event_id.py +127 -0
- tb_rest_client/models/models_ce/edge_id.py +162 -0
- tb_rest_client/models/models_ce/edge_info.py +478 -0
- tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_search_query.py +180 -0
- tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_ce/entity_count_query.py +150 -0
- tb_rest_client/models/models_ce/entity_data.py +202 -0
- tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/entity_data_info.py +176 -0
- tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_ce/entity_data_query.py +228 -0
- tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
- tb_rest_client/models/models_ce/entity_filter.py +134 -0
- tb_rest_client/models/models_ce/entity_id.py +160 -0
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_info.py +152 -0
- tb_rest_client/models/models_ce/entity_key.py +156 -0
- tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_load_error.py +202 -0
- tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_relation.py +264 -0
- tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
- tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
- tb_rest_client/models/models_ce/entity_subtype.py +182 -0
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
- tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/entity_version.py +202 -0
- tb_rest_client/models/models_ce/entity_view.py +423 -0
- tb_rest_client/models/models_ce/entity_view_id.py +162 -0
- tb_rest_client/models/models_ce/entity_view_info.py +479 -0
- tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_ce/error_event_filter.py +188 -0
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_ce/event.py +286 -0
- tb_rest_client/models/models_ce/event_filter.py +171 -0
- tb_rest_client/models/models_ce/event_id.py +127 -0
- tb_rest_client/models/models_ce/event_info.py +286 -0
- tb_rest_client/models/models_ce/features_info.py +228 -0
- tb_rest_client/models/models_ce/file.py +488 -0
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
- tb_rest_client/models/models_ce/has_id_object.py +124 -0
- tb_rest_client/models/models_ce/home_dashboard.py +427 -0
- tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
- tb_rest_client/models/models_ce/image_export_data.py +332 -0
- tb_rest_client/models/models_ce/inline_response200.py +99 -0
- tb_rest_client/models/models_ce/input_stream.py +98 -0
- tb_rest_client/models/models_ce/ios_config.py +176 -0
- tb_rest_client/models/models_ce/json_node.py +98 -0
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_ce/jwt_pair.py +186 -0
- tb_rest_client/models/models_ce/jwt_settings.py +210 -0
- tb_rest_client/models/models_ce/key_filter.py +182 -0
- tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_ce/login_request.py +156 -0
- tb_rest_client/models/models_ce/login_response.py +156 -0
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/mapping.py +202 -0
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
- tb_rest_client/models/models_ce/mobile_app.py +290 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
- tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/node_connection_info.py +185 -0
- tb_rest_client/models/models_ce/notification.py +402 -0
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_ce/notification_id.py +162 -0
- tb_rest_client/models/models_ce/notification_info.py +185 -0
- tb_rest_client/models/models_ce/notification_pref.py +151 -0
- tb_rest_client/models/models_ce/notification_request.py +417 -0
- tb_rest_client/models/models_ce/notification_request_config.py +124 -0
- tb_rest_client/models/models_ce/notification_request_id.py +162 -0
- tb_rest_client/models/models_ce/notification_request_info.py +476 -0
- tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
- tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
- tb_rest_client/models/models_ce/notification_rule.py +369 -0
- tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
- tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
- tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
- tb_rest_client/models/models_ce/notification_settings.py +125 -0
- tb_rest_client/models/models_ce/notification_target.py +230 -0
- tb_rest_client/models/models_ce/notification_target_config.py +148 -0
- tb_rest_client/models/models_ce/notification_target_id.py +162 -0
- tb_rest_client/models/models_ce/notification_template.py +263 -0
- tb_rest_client/models/models_ce/notification_template_config.py +125 -0
- tb_rest_client/models/models_ce/notification_template_id.py +162 -0
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
- tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
- tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
- tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_ce/object_attributes.py +410 -0
- tb_rest_client/models/models_ce/object_node.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_ce/ota_package.py +576 -0
- tb_rest_client/models/models_ce/ota_package_data.py +306 -0
- tb_rest_client/models/models_ce/ota_package_id.py +162 -0
- tb_rest_client/models/models_ce/ota_package_info.py +550 -0
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
- tb_rest_client/models/models_ce/other_configuration.py +364 -0
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +210 -0
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
- tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
- tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_user.py +210 -0
- tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_ce/processing_strategy.py +234 -0
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/qr_code_config.py +234 -0
- tb_rest_client/models/models_ce/queue.py +410 -0
- tb_rest_client/models/models_ce/queue_id.py +162 -0
- tb_rest_client/models/models_ce/queue_stats.py +228 -0
- tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
- tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_ce/repository_settings.py +390 -0
- tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
- tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_ce/reset_password_request.py +154 -0
- tb_rest_client/models/models_ce/resource.py +306 -0
- tb_rest_client/models/models_ce/response_entity.py +182 -0
- tb_rest_client/models/models_ce/rpc.py +344 -0
- tb_rest_client/models/models_ce/rpc_id.py +162 -0
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/rule_chain.py +402 -0
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
- tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_ce/rule_node.py +424 -0
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_ce/rule_node_id.py +162 -0
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_ce/security_settings.py +266 -0
- tb_rest_client/models/models_ce/server_security_config.py +332 -0
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/short_customer_info.py +204 -0
- tb_rest_client/models/models_ce/sign_up_request.py +294 -0
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/slack_conversation.py +263 -0
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
- tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_ce/submit_strategy.py +156 -0
- tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/system_info.py +152 -0
- tb_rest_client/models/models_ce/system_info_data.py +322 -0
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
- tb_rest_client/models/models_ce/tb_resource.py +568 -0
- tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
- tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
- tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/tenant.py +539 -0
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_ce/tenant_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_info.py +567 -0
- tb_rest_client/models/models_ce/tenant_profile.py +288 -0
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_ce/test_sms_request.py +182 -0
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/ts_value.py +176 -0
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_ce/type_key_body.py +125 -0
- tb_rest_client/models/models_ce/update_message.py +266 -0
- tb_rest_client/models/models_ce/usage_info.py +696 -0
- tb_rest_client/models/models_ce/user.py +432 -0
- tb_rest_client/models/models_ce/user_activation_link.py +150 -0
- tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_ce/user_email_info.py +208 -0
- tb_rest_client/models/models_ce/user_id.py +162 -0
- tb_rest_client/models/models_ce/user_list_filter.py +131 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
- tb_rest_client/models/models_ce/user_password_policy.py +378 -0
- tb_rest_client/models/models_ce/users_filter.py +140 -0
- tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
- tb_rest_client/models/models_ce/vc_version_body.py +98 -0
- tb_rest_client/models/models_ce/version.py +98 -0
- tb_rest_client/models/models_ce/version_create_config.py +176 -0
- tb_rest_client/models/models_ce/version_create_request.py +191 -0
- tb_rest_client/models/models_ce/version_creation_result.py +254 -0
- tb_rest_client/models/models_ce/version_load_config.py +176 -0
- tb_rest_client/models/models_ce/version_load_request.py +165 -0
- tb_rest_client/models/models_ce/version_load_result.py +176 -0
- tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/widget_type.py +342 -0
- tb_rest_client/models/models_ce/widget_type_details.py +426 -0
- tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_ce/widget_type_id.py +162 -0
- tb_rest_client/models/models_ce/widget_type_info.py +428 -0
- tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/__init__.py +401 -0
- tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_pe/activate_user_request.py +154 -0
- tb_rest_client/models/models_pe/admin_settings.py +232 -0
- tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
- tb_rest_client/models/models_pe/alarm.py +749 -0
- tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
- tb_rest_client/models/models_pe/alarm_comment.py +292 -0
- tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_pe/alarm_condition.py +154 -0
- tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
- tb_rest_client/models/models_pe/alarm_data.py +883 -0
- tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
- tb_rest_client/models/models_pe/alarm_id.py +162 -0
- tb_rest_client/models/models_pe/alarm_info.py +831 -0
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_pe/alarm_rule.py +206 -0
- tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
- tb_rest_client/models/models_pe/all_users_filter.py +104 -0
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
- tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_pe/array_node.py +98 -0
- tb_rest_client/models/models_pe/asset.py +393 -0
- tb_rest_client/models/models_pe/asset_id.py +162 -0
- tb_rest_client/models/models_pe/asset_info.py +449 -0
- tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
- tb_rest_client/models/models_pe/asset_search_query.py +180 -0
- tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
- tb_rest_client/models/models_pe/atomic_integer.py +228 -0
- tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
- tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_pe/audit_log.py +434 -0
- tb_rest_client/models/models_pe/audit_log_id.py +127 -0
- tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
- tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/branch_info.py +150 -0
- tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_pe/byte_buffer.py +306 -0
- tb_rest_client/models/models_pe/change_password_request.py +154 -0
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/claim_request.py +124 -0
- tb_rest_client/models/models_pe/clear_rule.py +131 -0
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/column_mapping.py +156 -0
- tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_pe/component_descriptor.py +420 -0
- tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_pe/contact_based_object.py +410 -0
- tb_rest_client/models/models_pe/converter.py +376 -0
- tb_rest_client/models/models_pe/converter_id.py +162 -0
- tb_rest_client/models/models_pe/converters_info.py +136 -0
- tb_rest_client/models/models_pe/custom_menu.py +327 -0
- tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
- tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
- tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
- tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_pe/custom_translation.py +127 -0
- tb_rest_client/models/models_pe/customer_id.py +162 -0
- tb_rest_client/models/models_pe/customer_info.py +672 -0
- tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
- tb_rest_client/models/models_pe/dashboard_id.py +162 -0
- tb_rest_client/models/models_pe/dashboard_info.py +506 -0
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_menu_item.py +230 -0
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
- tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_pe/device.py +471 -0
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_pe/device_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
- tb_rest_client/models/models_pe/device_data.py +154 -0
- tb_rest_client/models/models_pe/device_export_data.py +156 -0
- tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
- tb_rest_client/models/models_pe/device_id.py +162 -0
- tb_rest_client/models/models_pe/device_info.py +555 -0
- tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
- tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_profile_data.py +210 -0
- tb_rest_client/models/models_pe/device_profile_id.py +162 -0
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_search_query.py +180 -0
- tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_type_filter.py +182 -0
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_pe/edge.py +510 -0
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/edge_event.py +396 -0
- tb_rest_client/models/models_pe/edge_event_id.py +127 -0
- tb_rest_client/models/models_pe/edge_id.py +162 -0
- tb_rest_client/models/models_pe/edge_info.py +566 -0
- tb_rest_client/models/models_pe/edge_instructions.py +126 -0
- tb_rest_client/models/models_pe/edge_search_query.py +180 -0
- tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_pe/entity_count_query.py +150 -0
- tb_rest_client/models/models_pe/entity_data.py +254 -0
- tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/entity_data_info.py +228 -0
- tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_pe/entity_data_query.py +228 -0
- tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_pe/entity_filter.py +152 -0
- tb_rest_client/models/models_pe/entity_group.py +400 -0
- tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
- tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_id.py +162 -0
- tb_rest_client/models/models_pe/entity_group_info.py +429 -0
- tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_id.py +160 -0
- tb_rest_client/models/models_pe/entity_key.py +156 -0
- tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_load_error.py +202 -0
- tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
- tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
- tb_rest_client/models/models_pe/entity_subtype.py +182 -0
- tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
- tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_pe/entity_version.py +202 -0
- tb_rest_client/models/models_pe/entity_view.py +449 -0
- tb_rest_client/models/models_pe/entity_view_id.py +162 -0
- tb_rest_client/models/models_pe/entity_view_info.py +505 -0
- tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_pe/error_event_filter.py +188 -0
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_pe/event_filter.py +174 -0
- tb_rest_client/models/models_pe/event_id.py +127 -0
- tb_rest_client/models/models_pe/event_info.py +286 -0
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
- tb_rest_client/models/models_pe/favicon.py +124 -0
- tb_rest_client/models/models_pe/features_info.py +254 -0
- tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
- tb_rest_client/models/models_pe/group_permission.py +370 -0
- tb_rest_client/models/models_pe/group_permission_id.py +162 -0
- tb_rest_client/models/models_pe/group_permission_info.py +560 -0
- tb_rest_client/models/models_pe/home_dashboard.py +478 -0
- tb_rest_client/models/models_pe/home_menu_item.py +320 -0
- tb_rest_client/models/models_pe/input_stream.py +98 -0
- tb_rest_client/models/models_pe/integration.py +571 -0
- tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
- tb_rest_client/models/models_pe/integration_id.py +162 -0
- tb_rest_client/models/models_pe/integration_info.py +460 -0
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
- tb_rest_client/models/models_pe/json_node.py +98 -0
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_pe/key_filter.py +182 -0
- tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_pe/license_usage_info.py +332 -0
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
- tb_rest_client/models/models_pe/login_request.py +156 -0
- tb_rest_client/models/models_pe/login_response.py +156 -0
- tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/mapping.py +202 -0
- tb_rest_client/models/models_pe/menu_item.py +152 -0
- tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
- tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
- tb_rest_client/models/models_pe/model.py +162 -0
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/node_connection_info.py +185 -0
- tb_rest_client/models/models_pe/notification.py +402 -0
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_pe/notification_id.py +162 -0
- tb_rest_client/models/models_pe/notification_info.py +185 -0
- tb_rest_client/models/models_pe/notification_request.py +417 -0
- tb_rest_client/models/models_pe/notification_request_config.py +124 -0
- tb_rest_client/models/models_pe/notification_request_id.py +162 -0
- tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
- tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
- tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
- tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_pe/notification_template_config.py +125 -0
- tb_rest_client/models/models_pe/notification_template_id.py +162 -0
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
- tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_pe/object_attributes.py +410 -0
- tb_rest_client/models/models_pe/object_node.py +98 -0
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_pe/ota_package.py +576 -0
- tb_rest_client/models/models_pe/ota_package_id.py +162 -0
- tb_rest_client/models/models_pe/ota_package_info.py +550 -0
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
- tb_rest_client/models/models_pe/other_configuration.py +364 -0
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
- tb_rest_client/models/models_pe/page_data_converter.py +210 -0
- tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_queue.py +210 -0
- tb_rest_client/models/models_pe/page_data_role.py +210 -0
- tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
- tb_rest_client/models/models_pe/palette.py +183 -0
- tb_rest_client/models/models_pe/palette_settings.py +152 -0
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_pe/processing_strategy.py +234 -0
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/queue.py +410 -0
- tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
- tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_pe/report_config.py +381 -0
- tb_rest_client/models/models_pe/repository_settings.py +390 -0
- tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
- tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_pe/reset_password_request.py +154 -0
- tb_rest_client/models/models_pe/resource.py +306 -0
- tb_rest_client/models/models_pe/response_entity.py +182 -0
- tb_rest_client/models/models_pe/role.py +371 -0
- tb_rest_client/models/models_pe/role_id.py +162 -0
- tb_rest_client/models/models_pe/rpc.py +344 -0
- tb_rest_client/models/models_pe/rpc_id.py +162 -0
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/rule_chain.py +402 -0
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
- tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_pe/rule_node.py +424 -0
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_pe/rule_node_id.py +162 -0
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_pe/scheduler_event.py +444 -0
- tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
- tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
- tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
- tb_rest_client/models/models_pe/security_settings.py +266 -0
- tb_rest_client/models/models_pe/self_registration_params.py +630 -0
- tb_rest_client/models/models_pe/share_group_request.py +235 -0
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/short_customer_info.py +204 -0
- tb_rest_client/models/models_pe/short_entity_view.py +154 -0
- tb_rest_client/models/models_pe/sign_up_request.py +294 -0
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
- tb_rest_client/models/models_pe/slack_conversation.py +263 -0
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
- tb_rest_client/models/models_pe/solution_install_response.py +260 -0
- tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
- tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_pe/submit_strategy.py +156 -0
- tb_rest_client/models/models_pe/subscription_usage.py +540 -0
- tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/system_info.py +152 -0
- tb_rest_client/models/models_pe/system_info_data.py +322 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
- tb_rest_client/models/models_pe/tb_resource.py +594 -0
- tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
- tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
- tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
- tb_rest_client/models/models_pe/test_sms_request.py +182 -0
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_pe/translation_info.py +238 -0
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/ts_value.py +176 -0
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_pe/update_message.py +266 -0
- tb_rest_client/models/models_pe/user.py +484 -0
- tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_pe/user_email_info.py +208 -0
- tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_id.py +162 -0
- tb_rest_client/models/models_pe/user_info.py +540 -0
- tb_rest_client/models/models_pe/user_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_password_policy.py +378 -0
- tb_rest_client/models/models_pe/user_role_filter.py +131 -0
- tb_rest_client/models/models_pe/users_filter.py +142 -0
- tb_rest_client/models/models_pe/version_create_config.py +228 -0
- tb_rest_client/models/models_pe/version_create_request.py +191 -0
- tb_rest_client/models/models_pe/version_creation_result.py +254 -0
- tb_rest_client/models/models_pe/version_load_config.py +254 -0
- tb_rest_client/models/models_pe/version_load_request.py +165 -0
- tb_rest_client/models/models_pe/version_load_result.py +176 -0
- tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/white_labeling.py +234 -0
- tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
- tb_rest_client/models/models_pe/widget_type.py +342 -0
- tb_rest_client/models/models_pe/widget_type_details.py +426 -0
- tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_pe/widget_type_id.py +162 -0
- tb_rest_client/models/models_pe/widget_type_info.py +428 -0
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/rest.py +342 -0
- tb_rest_client/rest_client_base.py +2159 -0
- tb_rest_client/rest_client_ce.py +1260 -0
- tb_rest_client/rest_client_pe.py +1856 -0
- tb_rest_client-3.8.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.8.0.dist-info/METADATA +80 -0
- tb_rest_client-3.8.0.dist-info/RECORD +1074 -0
- tb_rest_client-3.8.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,2201 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.7.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2024. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class RuleChainControllerApi(object):
|
|
38
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None):
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
def assign_rule_chain_to_edge_using_post(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
|
|
50
|
+
"""Assign rule chain to edge (assignRuleChainToEdge) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Creates assignment of an existing rule chain to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once rule chain will be delivered to edge service, it's going to start processing messages locally. Only rule chain with type 'EDGE' can be assigned to edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.assign_rule_chain_to_edge_using_post(edge_id, rule_chain_id, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str edge_id: edgeId (required)
|
|
60
|
+
:param str rule_chain_id: ruleChainId (required)
|
|
61
|
+
:return: RuleChain
|
|
62
|
+
If the method is called asynchronously,
|
|
63
|
+
returns the request thread.
|
|
64
|
+
"""
|
|
65
|
+
kwargs['_return_http_data_only'] = True
|
|
66
|
+
if kwargs.get('async_req'):
|
|
67
|
+
return self.assign_rule_chain_to_edge_using_post_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
|
|
68
|
+
else:
|
|
69
|
+
(data) = self.assign_rule_chain_to_edge_using_post_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
|
|
70
|
+
return data
|
|
71
|
+
|
|
72
|
+
def assign_rule_chain_to_edge_using_post_with_http_info(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
|
|
73
|
+
"""Assign rule chain to edge (assignRuleChainToEdge) # noqa: E501
|
|
74
|
+
|
|
75
|
+
Creates assignment of an existing rule chain to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once rule chain will be delivered to edge service, it's going to start processing messages locally. Only rule chain with type 'EDGE' can be assigned to edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
76
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
77
|
+
asynchronous HTTP request, please pass async_req=True
|
|
78
|
+
>>> thread = api.assign_rule_chain_to_edge_using_post_with_http_info(edge_id, rule_chain_id, async_req=True)
|
|
79
|
+
>>> result = thread.get()
|
|
80
|
+
|
|
81
|
+
:param async_req bool
|
|
82
|
+
:param str edge_id: edgeId (required)
|
|
83
|
+
:param str rule_chain_id: ruleChainId (required)
|
|
84
|
+
:return: RuleChain
|
|
85
|
+
If the method is called asynchronously,
|
|
86
|
+
returns the request thread.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
all_params = ['edge_id', 'rule_chain_id'] # noqa: E501
|
|
90
|
+
all_params.append('async_req')
|
|
91
|
+
all_params.append('_return_http_data_only')
|
|
92
|
+
all_params.append('_preload_content')
|
|
93
|
+
all_params.append('_request_timeout')
|
|
94
|
+
|
|
95
|
+
params = locals()
|
|
96
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
97
|
+
if key not in all_params:
|
|
98
|
+
raise TypeError(
|
|
99
|
+
"Got an unexpected keyword argument '%s'"
|
|
100
|
+
" to method assign_rule_chain_to_edge_using_post" % key
|
|
101
|
+
)
|
|
102
|
+
params[key] = val
|
|
103
|
+
del params['kwargs']
|
|
104
|
+
# verify the required parameter 'edge_id' is set
|
|
105
|
+
if ('edge_id' not in params or
|
|
106
|
+
params['edge_id'] is None):
|
|
107
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `assign_rule_chain_to_edge_using_post`") # noqa: E501
|
|
108
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
109
|
+
if ('rule_chain_id' not in params or
|
|
110
|
+
params['rule_chain_id'] is None):
|
|
111
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `assign_rule_chain_to_edge_using_post`") # noqa: E501
|
|
112
|
+
|
|
113
|
+
collection_formats = {}
|
|
114
|
+
|
|
115
|
+
path_params = {}
|
|
116
|
+
if 'edge_id' in params:
|
|
117
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
118
|
+
if 'rule_chain_id' in params:
|
|
119
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
120
|
+
|
|
121
|
+
query_params = []
|
|
122
|
+
|
|
123
|
+
header_params = {}
|
|
124
|
+
|
|
125
|
+
form_params = []
|
|
126
|
+
local_var_files = {}
|
|
127
|
+
|
|
128
|
+
body_params = None
|
|
129
|
+
# HTTP header `Accept`
|
|
130
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
131
|
+
['application/json']) # noqa: E501
|
|
132
|
+
|
|
133
|
+
# Authentication setting
|
|
134
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
135
|
+
|
|
136
|
+
return self.api_client.call_api(
|
|
137
|
+
'/api/edge/{edgeId}/ruleChain/{ruleChainId}', 'POST',
|
|
138
|
+
path_params,
|
|
139
|
+
query_params,
|
|
140
|
+
header_params,
|
|
141
|
+
body=body_params,
|
|
142
|
+
post_params=form_params,
|
|
143
|
+
files=local_var_files,
|
|
144
|
+
response_type='RuleChain', # noqa: E501
|
|
145
|
+
auth_settings=auth_settings,
|
|
146
|
+
async_req=params.get('async_req'),
|
|
147
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
148
|
+
_preload_content=params.get('_preload_content', True),
|
|
149
|
+
_request_timeout=params.get('_request_timeout'),
|
|
150
|
+
collection_formats=collection_formats)
|
|
151
|
+
|
|
152
|
+
def delete_rule_chain_using_delete(self, rule_chain_id, **kwargs): # noqa: E501
|
|
153
|
+
"""Delete rule chain (deleteRuleChain) # noqa: E501
|
|
154
|
+
|
|
155
|
+
Deletes the rule chain. Referencing non-existing rule chain Id will cause an error. Referencing rule chain that is used in the device profiles will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
156
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
157
|
+
asynchronous HTTP request, please pass async_req=True
|
|
158
|
+
>>> thread = api.delete_rule_chain_using_delete(rule_chain_id, async_req=True)
|
|
159
|
+
>>> result = thread.get()
|
|
160
|
+
|
|
161
|
+
:param async_req bool
|
|
162
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
163
|
+
:return: None
|
|
164
|
+
If the method is called asynchronously,
|
|
165
|
+
returns the request thread.
|
|
166
|
+
"""
|
|
167
|
+
kwargs['_return_http_data_only'] = True
|
|
168
|
+
if kwargs.get('async_req'):
|
|
169
|
+
return self.delete_rule_chain_using_delete_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
170
|
+
else:
|
|
171
|
+
(data) = self.delete_rule_chain_using_delete_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
172
|
+
return data
|
|
173
|
+
|
|
174
|
+
def delete_rule_chain_using_delete_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
175
|
+
"""Delete rule chain (deleteRuleChain) # noqa: E501
|
|
176
|
+
|
|
177
|
+
Deletes the rule chain. Referencing non-existing rule chain Id will cause an error. Referencing rule chain that is used in the device profiles will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
178
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
179
|
+
asynchronous HTTP request, please pass async_req=True
|
|
180
|
+
>>> thread = api.delete_rule_chain_using_delete_with_http_info(rule_chain_id, async_req=True)
|
|
181
|
+
>>> result = thread.get()
|
|
182
|
+
|
|
183
|
+
:param async_req bool
|
|
184
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
185
|
+
:return: None
|
|
186
|
+
If the method is called asynchronously,
|
|
187
|
+
returns the request thread.
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
191
|
+
all_params.append('async_req')
|
|
192
|
+
all_params.append('_return_http_data_only')
|
|
193
|
+
all_params.append('_preload_content')
|
|
194
|
+
all_params.append('_request_timeout')
|
|
195
|
+
|
|
196
|
+
params = locals()
|
|
197
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
198
|
+
if key not in all_params:
|
|
199
|
+
raise TypeError(
|
|
200
|
+
"Got an unexpected keyword argument '%s'"
|
|
201
|
+
" to method delete_rule_chain_using_delete" % key
|
|
202
|
+
)
|
|
203
|
+
params[key] = val
|
|
204
|
+
del params['kwargs']
|
|
205
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
206
|
+
if ('rule_chain_id' not in params or
|
|
207
|
+
params['rule_chain_id'] is None):
|
|
208
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `delete_rule_chain_using_delete`") # noqa: E501
|
|
209
|
+
|
|
210
|
+
collection_formats = {}
|
|
211
|
+
|
|
212
|
+
path_params = {}
|
|
213
|
+
if 'rule_chain_id' in params:
|
|
214
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
215
|
+
|
|
216
|
+
query_params = []
|
|
217
|
+
|
|
218
|
+
header_params = {}
|
|
219
|
+
|
|
220
|
+
form_params = []
|
|
221
|
+
local_var_files = {}
|
|
222
|
+
|
|
223
|
+
body_params = None
|
|
224
|
+
# HTTP header `Accept`
|
|
225
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
226
|
+
['application/json']) # noqa: E501
|
|
227
|
+
|
|
228
|
+
# Authentication setting
|
|
229
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
230
|
+
|
|
231
|
+
return self.api_client.call_api(
|
|
232
|
+
'/api/ruleChain/{ruleChainId}', 'DELETE',
|
|
233
|
+
path_params,
|
|
234
|
+
query_params,
|
|
235
|
+
header_params,
|
|
236
|
+
body=body_params,
|
|
237
|
+
post_params=form_params,
|
|
238
|
+
files=local_var_files,
|
|
239
|
+
response_type=None, # noqa: E501
|
|
240
|
+
auth_settings=auth_settings,
|
|
241
|
+
async_req=params.get('async_req'),
|
|
242
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
243
|
+
_preload_content=params.get('_preload_content', True),
|
|
244
|
+
_request_timeout=params.get('_request_timeout'),
|
|
245
|
+
collection_formats=collection_formats)
|
|
246
|
+
|
|
247
|
+
def export_rule_chains_using_get(self, limit, **kwargs): # noqa: E501
|
|
248
|
+
"""Export Rule Chains # noqa: E501
|
|
249
|
+
|
|
250
|
+
Exports all tenant rule chains as one JSON. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
251
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
252
|
+
asynchronous HTTP request, please pass async_req=True
|
|
253
|
+
>>> thread = api.export_rule_chains_using_get(limit, async_req=True)
|
|
254
|
+
>>> result = thread.get()
|
|
255
|
+
|
|
256
|
+
:param async_req bool
|
|
257
|
+
:param int limit: A limit of rule chains to export. (required)
|
|
258
|
+
:return: RuleChainData
|
|
259
|
+
If the method is called asynchronously,
|
|
260
|
+
returns the request thread.
|
|
261
|
+
"""
|
|
262
|
+
kwargs['_return_http_data_only'] = True
|
|
263
|
+
if kwargs.get('async_req'):
|
|
264
|
+
return self.export_rule_chains_using_get_with_http_info(limit, **kwargs) # noqa: E501
|
|
265
|
+
else:
|
|
266
|
+
(data) = self.export_rule_chains_using_get_with_http_info(limit, **kwargs) # noqa: E501
|
|
267
|
+
return data
|
|
268
|
+
|
|
269
|
+
def export_rule_chains_using_get_with_http_info(self, limit, **kwargs): # noqa: E501
|
|
270
|
+
"""Export Rule Chains # noqa: E501
|
|
271
|
+
|
|
272
|
+
Exports all tenant rule chains as one JSON. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
273
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
274
|
+
asynchronous HTTP request, please pass async_req=True
|
|
275
|
+
>>> thread = api.export_rule_chains_using_get_with_http_info(limit, async_req=True)
|
|
276
|
+
>>> result = thread.get()
|
|
277
|
+
|
|
278
|
+
:param async_req bool
|
|
279
|
+
:param int limit: A limit of rule chains to export. (required)
|
|
280
|
+
:return: RuleChainData
|
|
281
|
+
If the method is called asynchronously,
|
|
282
|
+
returns the request thread.
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
all_params = ['limit'] # noqa: E501
|
|
286
|
+
all_params.append('async_req')
|
|
287
|
+
all_params.append('_return_http_data_only')
|
|
288
|
+
all_params.append('_preload_content')
|
|
289
|
+
all_params.append('_request_timeout')
|
|
290
|
+
|
|
291
|
+
params = locals()
|
|
292
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
293
|
+
if key not in all_params:
|
|
294
|
+
raise TypeError(
|
|
295
|
+
"Got an unexpected keyword argument '%s'"
|
|
296
|
+
" to method export_rule_chains_using_get" % key
|
|
297
|
+
)
|
|
298
|
+
params[key] = val
|
|
299
|
+
del params['kwargs']
|
|
300
|
+
# verify the required parameter 'limit' is set
|
|
301
|
+
if ('limit' not in params or
|
|
302
|
+
params['limit'] is None):
|
|
303
|
+
raise ValueError("Missing the required parameter `limit` when calling `export_rule_chains_using_get`") # noqa: E501
|
|
304
|
+
|
|
305
|
+
collection_formats = {}
|
|
306
|
+
|
|
307
|
+
path_params = {}
|
|
308
|
+
|
|
309
|
+
query_params = []
|
|
310
|
+
if 'limit' in params:
|
|
311
|
+
query_params.append(('limit', params['limit'])) # noqa: E501
|
|
312
|
+
|
|
313
|
+
header_params = {}
|
|
314
|
+
|
|
315
|
+
form_params = []
|
|
316
|
+
local_var_files = {}
|
|
317
|
+
|
|
318
|
+
body_params = None
|
|
319
|
+
# HTTP header `Accept`
|
|
320
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
321
|
+
['application/json']) # noqa: E501
|
|
322
|
+
|
|
323
|
+
# Authentication setting
|
|
324
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
325
|
+
|
|
326
|
+
return self.api_client.call_api(
|
|
327
|
+
'/api/ruleChains/export{?limit}', 'GET',
|
|
328
|
+
path_params,
|
|
329
|
+
query_params,
|
|
330
|
+
header_params,
|
|
331
|
+
body=body_params,
|
|
332
|
+
post_params=form_params,
|
|
333
|
+
files=local_var_files,
|
|
334
|
+
response_type='RuleChainData', # noqa: E501
|
|
335
|
+
auth_settings=auth_settings,
|
|
336
|
+
async_req=params.get('async_req'),
|
|
337
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
338
|
+
_preload_content=params.get('_preload_content', True),
|
|
339
|
+
_request_timeout=params.get('_request_timeout'),
|
|
340
|
+
collection_formats=collection_formats)
|
|
341
|
+
|
|
342
|
+
def get_auto_assign_to_edge_rule_chains_using_get(self, **kwargs): # noqa: E501
|
|
343
|
+
"""Get Auto Assign To Edge Rule Chains (getAutoAssignToEdgeRuleChains) # noqa: E501
|
|
344
|
+
|
|
345
|
+
Returns a list of Rule Chains that will be assigned to a newly created edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
346
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
347
|
+
asynchronous HTTP request, please pass async_req=True
|
|
348
|
+
>>> thread = api.get_auto_assign_to_edge_rule_chains_using_get(async_req=True)
|
|
349
|
+
>>> result = thread.get()
|
|
350
|
+
|
|
351
|
+
:param async_req bool
|
|
352
|
+
:return: list[RuleChain]
|
|
353
|
+
If the method is called asynchronously,
|
|
354
|
+
returns the request thread.
|
|
355
|
+
"""
|
|
356
|
+
kwargs['_return_http_data_only'] = True
|
|
357
|
+
if kwargs.get('async_req'):
|
|
358
|
+
return self.get_auto_assign_to_edge_rule_chains_using_get_with_http_info(**kwargs) # noqa: E501
|
|
359
|
+
else:
|
|
360
|
+
(data) = self.get_auto_assign_to_edge_rule_chains_using_get_with_http_info(**kwargs) # noqa: E501
|
|
361
|
+
return data
|
|
362
|
+
|
|
363
|
+
def get_auto_assign_to_edge_rule_chains_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
364
|
+
"""Get Auto Assign To Edge Rule Chains (getAutoAssignToEdgeRuleChains) # noqa: E501
|
|
365
|
+
|
|
366
|
+
Returns a list of Rule Chains that will be assigned to a newly created edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
369
|
+
>>> thread = api.get_auto_assign_to_edge_rule_chains_using_get_with_http_info(async_req=True)
|
|
370
|
+
>>> result = thread.get()
|
|
371
|
+
|
|
372
|
+
:param async_req bool
|
|
373
|
+
:return: list[RuleChain]
|
|
374
|
+
If the method is called asynchronously,
|
|
375
|
+
returns the request thread.
|
|
376
|
+
"""
|
|
377
|
+
|
|
378
|
+
all_params = [] # noqa: E501
|
|
379
|
+
all_params.append('async_req')
|
|
380
|
+
all_params.append('_return_http_data_only')
|
|
381
|
+
all_params.append('_preload_content')
|
|
382
|
+
all_params.append('_request_timeout')
|
|
383
|
+
|
|
384
|
+
params = locals()
|
|
385
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
386
|
+
if key not in all_params:
|
|
387
|
+
raise TypeError(
|
|
388
|
+
"Got an unexpected keyword argument '%s'"
|
|
389
|
+
" to method get_auto_assign_to_edge_rule_chains_using_get" % key
|
|
390
|
+
)
|
|
391
|
+
params[key] = val
|
|
392
|
+
del params['kwargs']
|
|
393
|
+
|
|
394
|
+
collection_formats = {}
|
|
395
|
+
|
|
396
|
+
path_params = {}
|
|
397
|
+
|
|
398
|
+
query_params = []
|
|
399
|
+
|
|
400
|
+
header_params = {}
|
|
401
|
+
|
|
402
|
+
form_params = []
|
|
403
|
+
local_var_files = {}
|
|
404
|
+
|
|
405
|
+
body_params = None
|
|
406
|
+
# HTTP header `Accept`
|
|
407
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
408
|
+
['application/json']) # noqa: E501
|
|
409
|
+
|
|
410
|
+
# Authentication setting
|
|
411
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
412
|
+
|
|
413
|
+
return self.api_client.call_api(
|
|
414
|
+
'/api/ruleChain/autoAssignToEdgeRuleChains', 'GET',
|
|
415
|
+
path_params,
|
|
416
|
+
query_params,
|
|
417
|
+
header_params,
|
|
418
|
+
body=body_params,
|
|
419
|
+
post_params=form_params,
|
|
420
|
+
files=local_var_files,
|
|
421
|
+
response_type='list[RuleChain]', # noqa: E501
|
|
422
|
+
auth_settings=auth_settings,
|
|
423
|
+
async_req=params.get('async_req'),
|
|
424
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
425
|
+
_preload_content=params.get('_preload_content', True),
|
|
426
|
+
_request_timeout=params.get('_request_timeout'),
|
|
427
|
+
collection_formats=collection_formats)
|
|
428
|
+
|
|
429
|
+
def get_edge_rule_chains_using_get(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
430
|
+
"""Get Edge Rule Chains (getEdgeRuleChains) # noqa: E501
|
|
431
|
+
|
|
432
|
+
Returns a page of Rule Chains assigned to the specified edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
433
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
434
|
+
asynchronous HTTP request, please pass async_req=True
|
|
435
|
+
>>> thread = api.get_edge_rule_chains_using_get(edge_id, page_size, page, async_req=True)
|
|
436
|
+
>>> result = thread.get()
|
|
437
|
+
|
|
438
|
+
:param async_req bool
|
|
439
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
440
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
441
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
442
|
+
:param str text_search: The case insensitive 'substring' filter based on the rule chain name.
|
|
443
|
+
:param str sort_property: Property of entity to sort by
|
|
444
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
445
|
+
:return: PageDataRuleChain
|
|
446
|
+
If the method is called asynchronously,
|
|
447
|
+
returns the request thread.
|
|
448
|
+
"""
|
|
449
|
+
kwargs['_return_http_data_only'] = True
|
|
450
|
+
if kwargs.get('async_req'):
|
|
451
|
+
return self.get_edge_rule_chains_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
452
|
+
else:
|
|
453
|
+
(data) = self.get_edge_rule_chains_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
454
|
+
return data
|
|
455
|
+
|
|
456
|
+
def get_edge_rule_chains_using_get_with_http_info(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
457
|
+
"""Get Edge Rule Chains (getEdgeRuleChains) # noqa: E501
|
|
458
|
+
|
|
459
|
+
Returns a page of Rule Chains assigned to the specified edge. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
460
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
461
|
+
asynchronous HTTP request, please pass async_req=True
|
|
462
|
+
>>> thread = api.get_edge_rule_chains_using_get_with_http_info(edge_id, page_size, page, async_req=True)
|
|
463
|
+
>>> result = thread.get()
|
|
464
|
+
|
|
465
|
+
:param async_req bool
|
|
466
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
467
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
468
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
469
|
+
:param str text_search: The case insensitive 'substring' filter based on the rule chain name.
|
|
470
|
+
:param str sort_property: Property of entity to sort by
|
|
471
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
472
|
+
:return: PageDataRuleChain
|
|
473
|
+
If the method is called asynchronously,
|
|
474
|
+
returns the request thread.
|
|
475
|
+
"""
|
|
476
|
+
|
|
477
|
+
all_params = ['edge_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
478
|
+
all_params.append('async_req')
|
|
479
|
+
all_params.append('_return_http_data_only')
|
|
480
|
+
all_params.append('_preload_content')
|
|
481
|
+
all_params.append('_request_timeout')
|
|
482
|
+
|
|
483
|
+
params = locals()
|
|
484
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
485
|
+
if key not in all_params:
|
|
486
|
+
raise TypeError(
|
|
487
|
+
"Got an unexpected keyword argument '%s'"
|
|
488
|
+
" to method get_edge_rule_chains_using_get" % key
|
|
489
|
+
)
|
|
490
|
+
params[key] = val
|
|
491
|
+
del params['kwargs']
|
|
492
|
+
# verify the required parameter 'edge_id' is set
|
|
493
|
+
if ('edge_id' not in params or
|
|
494
|
+
params['edge_id'] is None):
|
|
495
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_rule_chains_using_get`") # noqa: E501
|
|
496
|
+
# verify the required parameter 'page_size' is set
|
|
497
|
+
if ('page_size' not in params or
|
|
498
|
+
params['page_size'] is None):
|
|
499
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_edge_rule_chains_using_get`") # noqa: E501
|
|
500
|
+
# verify the required parameter 'page' is set
|
|
501
|
+
if ('page' not in params or
|
|
502
|
+
params['page'] is None):
|
|
503
|
+
raise ValueError("Missing the required parameter `page` when calling `get_edge_rule_chains_using_get`") # noqa: E501
|
|
504
|
+
|
|
505
|
+
collection_formats = {}
|
|
506
|
+
|
|
507
|
+
path_params = {}
|
|
508
|
+
if 'edge_id' in params:
|
|
509
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
510
|
+
|
|
511
|
+
query_params = []
|
|
512
|
+
if 'page_size' in params:
|
|
513
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
514
|
+
if 'page' in params:
|
|
515
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
516
|
+
if 'text_search' in params:
|
|
517
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
518
|
+
if 'sort_property' in params:
|
|
519
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
520
|
+
if 'sort_order' in params:
|
|
521
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
522
|
+
|
|
523
|
+
header_params = {}
|
|
524
|
+
|
|
525
|
+
form_params = []
|
|
526
|
+
local_var_files = {}
|
|
527
|
+
|
|
528
|
+
body_params = None
|
|
529
|
+
# HTTP header `Accept`
|
|
530
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
531
|
+
['application/json']) # noqa: E501
|
|
532
|
+
|
|
533
|
+
# Authentication setting
|
|
534
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
535
|
+
|
|
536
|
+
return self.api_client.call_api(
|
|
537
|
+
'/api/edge/{edgeId}/ruleChains{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
538
|
+
path_params,
|
|
539
|
+
query_params,
|
|
540
|
+
header_params,
|
|
541
|
+
body=body_params,
|
|
542
|
+
post_params=form_params,
|
|
543
|
+
files=local_var_files,
|
|
544
|
+
response_type='PageDataRuleChain', # noqa: E501
|
|
545
|
+
auth_settings=auth_settings,
|
|
546
|
+
async_req=params.get('async_req'),
|
|
547
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
548
|
+
_preload_content=params.get('_preload_content', True),
|
|
549
|
+
_request_timeout=params.get('_request_timeout'),
|
|
550
|
+
collection_formats=collection_formats)
|
|
551
|
+
|
|
552
|
+
def get_latest_rule_node_debug_input_using_get(self, rule_node_id, **kwargs): # noqa: E501
|
|
553
|
+
"""Get latest input message (getLatestRuleNodeDebugInput) # noqa: E501
|
|
554
|
+
|
|
555
|
+
Gets the input message from the debug events for specified Rule Chain Id. Referencing non-existing rule chain Id will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
556
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
557
|
+
asynchronous HTTP request, please pass async_req=True
|
|
558
|
+
>>> thread = api.get_latest_rule_node_debug_input_using_get(rule_node_id, async_req=True)
|
|
559
|
+
>>> result = thread.get()
|
|
560
|
+
|
|
561
|
+
:param async_req bool
|
|
562
|
+
:param str rule_node_id: A string value representing the rule node id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
563
|
+
:return: JsonNode
|
|
564
|
+
If the method is called asynchronously,
|
|
565
|
+
returns the request thread.
|
|
566
|
+
"""
|
|
567
|
+
kwargs['_return_http_data_only'] = True
|
|
568
|
+
if kwargs.get('async_req'):
|
|
569
|
+
return self.get_latest_rule_node_debug_input_using_get_with_http_info(rule_node_id, **kwargs) # noqa: E501
|
|
570
|
+
else:
|
|
571
|
+
(data) = self.get_latest_rule_node_debug_input_using_get_with_http_info(rule_node_id, **kwargs) # noqa: E501
|
|
572
|
+
return data
|
|
573
|
+
|
|
574
|
+
def get_latest_rule_node_debug_input_using_get_with_http_info(self, rule_node_id, **kwargs): # noqa: E501
|
|
575
|
+
"""Get latest input message (getLatestRuleNodeDebugInput) # noqa: E501
|
|
576
|
+
|
|
577
|
+
Gets the input message from the debug events for specified Rule Chain Id. Referencing non-existing rule chain Id will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
578
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
579
|
+
asynchronous HTTP request, please pass async_req=True
|
|
580
|
+
>>> thread = api.get_latest_rule_node_debug_input_using_get_with_http_info(rule_node_id, async_req=True)
|
|
581
|
+
>>> result = thread.get()
|
|
582
|
+
|
|
583
|
+
:param async_req bool
|
|
584
|
+
:param str rule_node_id: A string value representing the rule node id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
585
|
+
:return: JsonNode
|
|
586
|
+
If the method is called asynchronously,
|
|
587
|
+
returns the request thread.
|
|
588
|
+
"""
|
|
589
|
+
|
|
590
|
+
all_params = ['rule_node_id'] # noqa: E501
|
|
591
|
+
all_params.append('async_req')
|
|
592
|
+
all_params.append('_return_http_data_only')
|
|
593
|
+
all_params.append('_preload_content')
|
|
594
|
+
all_params.append('_request_timeout')
|
|
595
|
+
|
|
596
|
+
params = locals()
|
|
597
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
598
|
+
if key not in all_params:
|
|
599
|
+
raise TypeError(
|
|
600
|
+
"Got an unexpected keyword argument '%s'"
|
|
601
|
+
" to method get_latest_rule_node_debug_input_using_get" % key
|
|
602
|
+
)
|
|
603
|
+
params[key] = val
|
|
604
|
+
del params['kwargs']
|
|
605
|
+
# verify the required parameter 'rule_node_id' is set
|
|
606
|
+
if ('rule_node_id' not in params or
|
|
607
|
+
params['rule_node_id'] is None):
|
|
608
|
+
raise ValueError("Missing the required parameter `rule_node_id` when calling `get_latest_rule_node_debug_input_using_get`") # noqa: E501
|
|
609
|
+
|
|
610
|
+
collection_formats = {}
|
|
611
|
+
|
|
612
|
+
path_params = {}
|
|
613
|
+
if 'rule_node_id' in params:
|
|
614
|
+
path_params['ruleNodeId'] = params['rule_node_id'] # noqa: E501
|
|
615
|
+
|
|
616
|
+
query_params = []
|
|
617
|
+
|
|
618
|
+
header_params = {}
|
|
619
|
+
|
|
620
|
+
form_params = []
|
|
621
|
+
local_var_files = {}
|
|
622
|
+
|
|
623
|
+
body_params = None
|
|
624
|
+
# HTTP header `Accept`
|
|
625
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
626
|
+
['application/json']) # noqa: E501
|
|
627
|
+
|
|
628
|
+
# Authentication setting
|
|
629
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
630
|
+
|
|
631
|
+
return self.api_client.call_api(
|
|
632
|
+
'/api/ruleNode/{ruleNodeId}/debugIn', 'GET',
|
|
633
|
+
path_params,
|
|
634
|
+
query_params,
|
|
635
|
+
header_params,
|
|
636
|
+
body=body_params,
|
|
637
|
+
post_params=form_params,
|
|
638
|
+
files=local_var_files,
|
|
639
|
+
response_type='JsonNode', # noqa: E501
|
|
640
|
+
auth_settings=auth_settings,
|
|
641
|
+
async_req=params.get('async_req'),
|
|
642
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
643
|
+
_preload_content=params.get('_preload_content', True),
|
|
644
|
+
_request_timeout=params.get('_request_timeout'),
|
|
645
|
+
collection_formats=collection_formats)
|
|
646
|
+
|
|
647
|
+
def get_rule_chain_by_id_using_get(self, rule_chain_id, **kwargs): # noqa: E501
|
|
648
|
+
"""Get Rule Chain (getRuleChainById) # noqa: E501
|
|
649
|
+
|
|
650
|
+
Fetch the Rule Chain object based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
651
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
652
|
+
asynchronous HTTP request, please pass async_req=True
|
|
653
|
+
>>> thread = api.get_rule_chain_by_id_using_get(rule_chain_id, async_req=True)
|
|
654
|
+
>>> result = thread.get()
|
|
655
|
+
|
|
656
|
+
:param async_req bool
|
|
657
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
658
|
+
:return: RuleChain
|
|
659
|
+
If the method is called asynchronously,
|
|
660
|
+
returns the request thread.
|
|
661
|
+
"""
|
|
662
|
+
kwargs['_return_http_data_only'] = True
|
|
663
|
+
if kwargs.get('async_req'):
|
|
664
|
+
return self.get_rule_chain_by_id_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
665
|
+
else:
|
|
666
|
+
(data) = self.get_rule_chain_by_id_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
667
|
+
return data
|
|
668
|
+
|
|
669
|
+
def get_rule_chain_by_id_using_get_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
670
|
+
"""Get Rule Chain (getRuleChainById) # noqa: E501
|
|
671
|
+
|
|
672
|
+
Fetch the Rule Chain object based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
673
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
674
|
+
asynchronous HTTP request, please pass async_req=True
|
|
675
|
+
>>> thread = api.get_rule_chain_by_id_using_get_with_http_info(rule_chain_id, async_req=True)
|
|
676
|
+
>>> result = thread.get()
|
|
677
|
+
|
|
678
|
+
:param async_req bool
|
|
679
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
680
|
+
:return: RuleChain
|
|
681
|
+
If the method is called asynchronously,
|
|
682
|
+
returns the request thread.
|
|
683
|
+
"""
|
|
684
|
+
|
|
685
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
686
|
+
all_params.append('async_req')
|
|
687
|
+
all_params.append('_return_http_data_only')
|
|
688
|
+
all_params.append('_preload_content')
|
|
689
|
+
all_params.append('_request_timeout')
|
|
690
|
+
|
|
691
|
+
params = locals()
|
|
692
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
693
|
+
if key not in all_params:
|
|
694
|
+
raise TypeError(
|
|
695
|
+
"Got an unexpected keyword argument '%s'"
|
|
696
|
+
" to method get_rule_chain_by_id_using_get" % key
|
|
697
|
+
)
|
|
698
|
+
params[key] = val
|
|
699
|
+
del params['kwargs']
|
|
700
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
701
|
+
if ('rule_chain_id' not in params or
|
|
702
|
+
params['rule_chain_id'] is None):
|
|
703
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `get_rule_chain_by_id_using_get`") # noqa: E501
|
|
704
|
+
|
|
705
|
+
collection_formats = {}
|
|
706
|
+
|
|
707
|
+
path_params = {}
|
|
708
|
+
if 'rule_chain_id' in params:
|
|
709
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
710
|
+
|
|
711
|
+
query_params = []
|
|
712
|
+
|
|
713
|
+
header_params = {}
|
|
714
|
+
|
|
715
|
+
form_params = []
|
|
716
|
+
local_var_files = {}
|
|
717
|
+
|
|
718
|
+
body_params = None
|
|
719
|
+
# HTTP header `Accept`
|
|
720
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
721
|
+
['application/json']) # noqa: E501
|
|
722
|
+
|
|
723
|
+
# Authentication setting
|
|
724
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
725
|
+
|
|
726
|
+
return self.api_client.call_api(
|
|
727
|
+
'/api/ruleChain/{ruleChainId}', 'GET',
|
|
728
|
+
path_params,
|
|
729
|
+
query_params,
|
|
730
|
+
header_params,
|
|
731
|
+
body=body_params,
|
|
732
|
+
post_params=form_params,
|
|
733
|
+
files=local_var_files,
|
|
734
|
+
response_type='RuleChain', # noqa: E501
|
|
735
|
+
auth_settings=auth_settings,
|
|
736
|
+
async_req=params.get('async_req'),
|
|
737
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
738
|
+
_preload_content=params.get('_preload_content', True),
|
|
739
|
+
_request_timeout=params.get('_request_timeout'),
|
|
740
|
+
collection_formats=collection_formats)
|
|
741
|
+
|
|
742
|
+
def get_rule_chain_meta_data_using_get(self, rule_chain_id, **kwargs): # noqa: E501
|
|
743
|
+
"""Get Rule Chain (getRuleChainById) # noqa: E501
|
|
744
|
+
|
|
745
|
+
Fetch the Rule Chain Metadata object based on the provided Rule Chain Id. The metadata object contains information about the rule nodes and their connections. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
746
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
747
|
+
asynchronous HTTP request, please pass async_req=True
|
|
748
|
+
>>> thread = api.get_rule_chain_meta_data_using_get(rule_chain_id, async_req=True)
|
|
749
|
+
>>> result = thread.get()
|
|
750
|
+
|
|
751
|
+
:param async_req bool
|
|
752
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
753
|
+
:return: RuleChainMetaData
|
|
754
|
+
If the method is called asynchronously,
|
|
755
|
+
returns the request thread.
|
|
756
|
+
"""
|
|
757
|
+
kwargs['_return_http_data_only'] = True
|
|
758
|
+
if kwargs.get('async_req'):
|
|
759
|
+
return self.get_rule_chain_meta_data_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
760
|
+
else:
|
|
761
|
+
(data) = self.get_rule_chain_meta_data_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
762
|
+
return data
|
|
763
|
+
|
|
764
|
+
def get_rule_chain_meta_data_using_get_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
765
|
+
"""Get Rule Chain (getRuleChainById) # noqa: E501
|
|
766
|
+
|
|
767
|
+
Fetch the Rule Chain Metadata object based on the provided Rule Chain Id. The metadata object contains information about the rule nodes and their connections. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
768
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
769
|
+
asynchronous HTTP request, please pass async_req=True
|
|
770
|
+
>>> thread = api.get_rule_chain_meta_data_using_get_with_http_info(rule_chain_id, async_req=True)
|
|
771
|
+
>>> result = thread.get()
|
|
772
|
+
|
|
773
|
+
:param async_req bool
|
|
774
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
775
|
+
:return: RuleChainMetaData
|
|
776
|
+
If the method is called asynchronously,
|
|
777
|
+
returns the request thread.
|
|
778
|
+
"""
|
|
779
|
+
|
|
780
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
781
|
+
all_params.append('async_req')
|
|
782
|
+
all_params.append('_return_http_data_only')
|
|
783
|
+
all_params.append('_preload_content')
|
|
784
|
+
all_params.append('_request_timeout')
|
|
785
|
+
|
|
786
|
+
params = locals()
|
|
787
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
788
|
+
if key not in all_params:
|
|
789
|
+
raise TypeError(
|
|
790
|
+
"Got an unexpected keyword argument '%s'"
|
|
791
|
+
" to method get_rule_chain_meta_data_using_get" % key
|
|
792
|
+
)
|
|
793
|
+
params[key] = val
|
|
794
|
+
del params['kwargs']
|
|
795
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
796
|
+
if ('rule_chain_id' not in params or
|
|
797
|
+
params['rule_chain_id'] is None):
|
|
798
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `get_rule_chain_meta_data_using_get`") # noqa: E501
|
|
799
|
+
|
|
800
|
+
collection_formats = {}
|
|
801
|
+
|
|
802
|
+
path_params = {}
|
|
803
|
+
if 'rule_chain_id' in params:
|
|
804
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
805
|
+
|
|
806
|
+
query_params = []
|
|
807
|
+
|
|
808
|
+
header_params = {}
|
|
809
|
+
|
|
810
|
+
form_params = []
|
|
811
|
+
local_var_files = {}
|
|
812
|
+
|
|
813
|
+
body_params = None
|
|
814
|
+
# HTTP header `Accept`
|
|
815
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
816
|
+
['application/json']) # noqa: E501
|
|
817
|
+
|
|
818
|
+
# Authentication setting
|
|
819
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
820
|
+
|
|
821
|
+
return self.api_client.call_api(
|
|
822
|
+
'/api/ruleChain/{ruleChainId}/metadata', 'GET',
|
|
823
|
+
path_params,
|
|
824
|
+
query_params,
|
|
825
|
+
header_params,
|
|
826
|
+
body=body_params,
|
|
827
|
+
post_params=form_params,
|
|
828
|
+
files=local_var_files,
|
|
829
|
+
response_type='RuleChainMetaData', # noqa: E501
|
|
830
|
+
auth_settings=auth_settings,
|
|
831
|
+
async_req=params.get('async_req'),
|
|
832
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
833
|
+
_preload_content=params.get('_preload_content', True),
|
|
834
|
+
_request_timeout=params.get('_request_timeout'),
|
|
835
|
+
collection_formats=collection_formats)
|
|
836
|
+
|
|
837
|
+
def get_rule_chain_output_labels_usage_using_get(self, rule_chain_id, **kwargs): # noqa: E501
|
|
838
|
+
"""Get output labels usage (getRuleChainOutputLabelsUsage) # noqa: E501
|
|
839
|
+
|
|
840
|
+
Fetch the list of rule chains and the relation types (labels) they use to process output of the current rule chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
841
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
842
|
+
asynchronous HTTP request, please pass async_req=True
|
|
843
|
+
>>> thread = api.get_rule_chain_output_labels_usage_using_get(rule_chain_id, async_req=True)
|
|
844
|
+
>>> result = thread.get()
|
|
845
|
+
|
|
846
|
+
:param async_req bool
|
|
847
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
848
|
+
:return: list[RuleChainOutputLabelsUsage]
|
|
849
|
+
If the method is called asynchronously,
|
|
850
|
+
returns the request thread.
|
|
851
|
+
"""
|
|
852
|
+
kwargs['_return_http_data_only'] = True
|
|
853
|
+
if kwargs.get('async_req'):
|
|
854
|
+
return self.get_rule_chain_output_labels_usage_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
855
|
+
else:
|
|
856
|
+
(data) = self.get_rule_chain_output_labels_usage_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
857
|
+
return data
|
|
858
|
+
|
|
859
|
+
def get_rule_chain_output_labels_usage_using_get_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
860
|
+
"""Get output labels usage (getRuleChainOutputLabelsUsage) # noqa: E501
|
|
861
|
+
|
|
862
|
+
Fetch the list of rule chains and the relation types (labels) they use to process output of the current rule chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
863
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
864
|
+
asynchronous HTTP request, please pass async_req=True
|
|
865
|
+
>>> thread = api.get_rule_chain_output_labels_usage_using_get_with_http_info(rule_chain_id, async_req=True)
|
|
866
|
+
>>> result = thread.get()
|
|
867
|
+
|
|
868
|
+
:param async_req bool
|
|
869
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
870
|
+
:return: list[RuleChainOutputLabelsUsage]
|
|
871
|
+
If the method is called asynchronously,
|
|
872
|
+
returns the request thread.
|
|
873
|
+
"""
|
|
874
|
+
|
|
875
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
876
|
+
all_params.append('async_req')
|
|
877
|
+
all_params.append('_return_http_data_only')
|
|
878
|
+
all_params.append('_preload_content')
|
|
879
|
+
all_params.append('_request_timeout')
|
|
880
|
+
|
|
881
|
+
params = locals()
|
|
882
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
883
|
+
if key not in all_params:
|
|
884
|
+
raise TypeError(
|
|
885
|
+
"Got an unexpected keyword argument '%s'"
|
|
886
|
+
" to method get_rule_chain_output_labels_usage_using_get" % key
|
|
887
|
+
)
|
|
888
|
+
params[key] = val
|
|
889
|
+
del params['kwargs']
|
|
890
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
891
|
+
if ('rule_chain_id' not in params or
|
|
892
|
+
params['rule_chain_id'] is None):
|
|
893
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `get_rule_chain_output_labels_usage_using_get`") # noqa: E501
|
|
894
|
+
|
|
895
|
+
collection_formats = {}
|
|
896
|
+
|
|
897
|
+
path_params = {}
|
|
898
|
+
if 'rule_chain_id' in params:
|
|
899
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
900
|
+
|
|
901
|
+
query_params = []
|
|
902
|
+
|
|
903
|
+
header_params = {}
|
|
904
|
+
|
|
905
|
+
form_params = []
|
|
906
|
+
local_var_files = {}
|
|
907
|
+
|
|
908
|
+
body_params = None
|
|
909
|
+
# HTTP header `Accept`
|
|
910
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
911
|
+
['application/json']) # noqa: E501
|
|
912
|
+
|
|
913
|
+
# Authentication setting
|
|
914
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
915
|
+
|
|
916
|
+
return self.api_client.call_api(
|
|
917
|
+
'/api/ruleChain/{ruleChainId}/output/labels/usage', 'GET',
|
|
918
|
+
path_params,
|
|
919
|
+
query_params,
|
|
920
|
+
header_params,
|
|
921
|
+
body=body_params,
|
|
922
|
+
post_params=form_params,
|
|
923
|
+
files=local_var_files,
|
|
924
|
+
response_type='list[RuleChainOutputLabelsUsage]', # noqa: E501
|
|
925
|
+
auth_settings=auth_settings,
|
|
926
|
+
async_req=params.get('async_req'),
|
|
927
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
928
|
+
_preload_content=params.get('_preload_content', True),
|
|
929
|
+
_request_timeout=params.get('_request_timeout'),
|
|
930
|
+
collection_formats=collection_formats)
|
|
931
|
+
|
|
932
|
+
def get_rule_chain_output_labels_using_get(self, rule_chain_id, **kwargs): # noqa: E501
|
|
933
|
+
"""Get Rule Chain output labels (getRuleChainOutputLabels) # noqa: E501
|
|
934
|
+
|
|
935
|
+
Fetch the unique labels for the \"output\" Rule Nodes that belong to the Rule Chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
936
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
937
|
+
asynchronous HTTP request, please pass async_req=True
|
|
938
|
+
>>> thread = api.get_rule_chain_output_labels_using_get(rule_chain_id, async_req=True)
|
|
939
|
+
>>> result = thread.get()
|
|
940
|
+
|
|
941
|
+
:param async_req bool
|
|
942
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
943
|
+
:return: list[str]
|
|
944
|
+
If the method is called asynchronously,
|
|
945
|
+
returns the request thread.
|
|
946
|
+
"""
|
|
947
|
+
kwargs['_return_http_data_only'] = True
|
|
948
|
+
if kwargs.get('async_req'):
|
|
949
|
+
return self.get_rule_chain_output_labels_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
950
|
+
else:
|
|
951
|
+
(data) = self.get_rule_chain_output_labels_using_get_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
952
|
+
return data
|
|
953
|
+
|
|
954
|
+
def get_rule_chain_output_labels_using_get_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
955
|
+
"""Get Rule Chain output labels (getRuleChainOutputLabels) # noqa: E501
|
|
956
|
+
|
|
957
|
+
Fetch the unique labels for the \"output\" Rule Nodes that belong to the Rule Chain based on the provided Rule Chain Id. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
958
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
959
|
+
asynchronous HTTP request, please pass async_req=True
|
|
960
|
+
>>> thread = api.get_rule_chain_output_labels_using_get_with_http_info(rule_chain_id, async_req=True)
|
|
961
|
+
>>> result = thread.get()
|
|
962
|
+
|
|
963
|
+
:param async_req bool
|
|
964
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
965
|
+
:return: list[str]
|
|
966
|
+
If the method is called asynchronously,
|
|
967
|
+
returns the request thread.
|
|
968
|
+
"""
|
|
969
|
+
|
|
970
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
971
|
+
all_params.append('async_req')
|
|
972
|
+
all_params.append('_return_http_data_only')
|
|
973
|
+
all_params.append('_preload_content')
|
|
974
|
+
all_params.append('_request_timeout')
|
|
975
|
+
|
|
976
|
+
params = locals()
|
|
977
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
978
|
+
if key not in all_params:
|
|
979
|
+
raise TypeError(
|
|
980
|
+
"Got an unexpected keyword argument '%s'"
|
|
981
|
+
" to method get_rule_chain_output_labels_using_get" % key
|
|
982
|
+
)
|
|
983
|
+
params[key] = val
|
|
984
|
+
del params['kwargs']
|
|
985
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
986
|
+
if ('rule_chain_id' not in params or
|
|
987
|
+
params['rule_chain_id'] is None):
|
|
988
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `get_rule_chain_output_labels_using_get`") # noqa: E501
|
|
989
|
+
|
|
990
|
+
collection_formats = {}
|
|
991
|
+
|
|
992
|
+
path_params = {}
|
|
993
|
+
if 'rule_chain_id' in params:
|
|
994
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
995
|
+
|
|
996
|
+
query_params = []
|
|
997
|
+
|
|
998
|
+
header_params = {}
|
|
999
|
+
|
|
1000
|
+
form_params = []
|
|
1001
|
+
local_var_files = {}
|
|
1002
|
+
|
|
1003
|
+
body_params = None
|
|
1004
|
+
# HTTP header `Accept`
|
|
1005
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1006
|
+
['application/json']) # noqa: E501
|
|
1007
|
+
|
|
1008
|
+
# Authentication setting
|
|
1009
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1010
|
+
|
|
1011
|
+
return self.api_client.call_api(
|
|
1012
|
+
'/api/ruleChain/{ruleChainId}/output/labels', 'GET',
|
|
1013
|
+
path_params,
|
|
1014
|
+
query_params,
|
|
1015
|
+
header_params,
|
|
1016
|
+
body=body_params,
|
|
1017
|
+
post_params=form_params,
|
|
1018
|
+
files=local_var_files,
|
|
1019
|
+
response_type='list[str]', # noqa: E501
|
|
1020
|
+
auth_settings=auth_settings,
|
|
1021
|
+
async_req=params.get('async_req'),
|
|
1022
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1023
|
+
_preload_content=params.get('_preload_content', True),
|
|
1024
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1025
|
+
collection_formats=collection_formats)
|
|
1026
|
+
|
|
1027
|
+
def get_rule_chains_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1028
|
+
"""Get Rule Chains (getRuleChains) # noqa: E501
|
|
1029
|
+
|
|
1030
|
+
Returns a page of Rule Chains owned by tenant. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1031
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1032
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1033
|
+
>>> thread = api.get_rule_chains_using_get(page_size, page, async_req=True)
|
|
1034
|
+
>>> result = thread.get()
|
|
1035
|
+
|
|
1036
|
+
:param async_req bool
|
|
1037
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1038
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1039
|
+
:param str type: Rule chain type (CORE or EDGE)
|
|
1040
|
+
:param str text_search: The case insensitive 'substring' filter based on the rule chain name.
|
|
1041
|
+
:param str sort_property: Property of entity to sort by
|
|
1042
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1043
|
+
:return: PageDataRuleChain
|
|
1044
|
+
If the method is called asynchronously,
|
|
1045
|
+
returns the request thread.
|
|
1046
|
+
"""
|
|
1047
|
+
kwargs['_return_http_data_only'] = True
|
|
1048
|
+
if kwargs.get('async_req'):
|
|
1049
|
+
return self.get_rule_chains_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1050
|
+
else:
|
|
1051
|
+
(data) = self.get_rule_chains_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1052
|
+
return data
|
|
1053
|
+
|
|
1054
|
+
def get_rule_chains_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1055
|
+
"""Get Rule Chains (getRuleChains) # noqa: E501
|
|
1056
|
+
|
|
1057
|
+
Returns a page of Rule Chains owned by tenant. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1058
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1059
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1060
|
+
>>> thread = api.get_rule_chains_using_get_with_http_info(page_size, page, async_req=True)
|
|
1061
|
+
>>> result = thread.get()
|
|
1062
|
+
|
|
1063
|
+
:param async_req bool
|
|
1064
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1065
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1066
|
+
:param str type: Rule chain type (CORE or EDGE)
|
|
1067
|
+
:param str text_search: The case insensitive 'substring' filter based on the rule chain name.
|
|
1068
|
+
:param str sort_property: Property of entity to sort by
|
|
1069
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1070
|
+
:return: PageDataRuleChain
|
|
1071
|
+
If the method is called asynchronously,
|
|
1072
|
+
returns the request thread.
|
|
1073
|
+
"""
|
|
1074
|
+
|
|
1075
|
+
all_params = ['page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1076
|
+
all_params.append('async_req')
|
|
1077
|
+
all_params.append('_return_http_data_only')
|
|
1078
|
+
all_params.append('_preload_content')
|
|
1079
|
+
all_params.append('_request_timeout')
|
|
1080
|
+
|
|
1081
|
+
params = locals()
|
|
1082
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1083
|
+
if key not in all_params:
|
|
1084
|
+
raise TypeError(
|
|
1085
|
+
"Got an unexpected keyword argument '%s'"
|
|
1086
|
+
" to method get_rule_chains_using_get" % key
|
|
1087
|
+
)
|
|
1088
|
+
params[key] = val
|
|
1089
|
+
del params['kwargs']
|
|
1090
|
+
# verify the required parameter 'page_size' is set
|
|
1091
|
+
if ('page_size' not in params or
|
|
1092
|
+
params['page_size'] is None):
|
|
1093
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_rule_chains_using_get`") # noqa: E501
|
|
1094
|
+
# verify the required parameter 'page' is set
|
|
1095
|
+
if ('page' not in params or
|
|
1096
|
+
params['page'] is None):
|
|
1097
|
+
raise ValueError("Missing the required parameter `page` when calling `get_rule_chains_using_get`") # noqa: E501
|
|
1098
|
+
|
|
1099
|
+
collection_formats = {}
|
|
1100
|
+
|
|
1101
|
+
path_params = {}
|
|
1102
|
+
|
|
1103
|
+
query_params = []
|
|
1104
|
+
if 'page_size' in params:
|
|
1105
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1106
|
+
if 'page' in params:
|
|
1107
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1108
|
+
if 'type' in params:
|
|
1109
|
+
query_params.append(('type', params['type'])) # noqa: E501
|
|
1110
|
+
if 'text_search' in params:
|
|
1111
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1112
|
+
if 'sort_property' in params:
|
|
1113
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1114
|
+
if 'sort_order' in params:
|
|
1115
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1116
|
+
|
|
1117
|
+
header_params = {}
|
|
1118
|
+
|
|
1119
|
+
form_params = []
|
|
1120
|
+
local_var_files = {}
|
|
1121
|
+
|
|
1122
|
+
body_params = None
|
|
1123
|
+
# HTTP header `Accept`
|
|
1124
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1125
|
+
['application/json']) # noqa: E501
|
|
1126
|
+
|
|
1127
|
+
# Authentication setting
|
|
1128
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1129
|
+
|
|
1130
|
+
return self.api_client.call_api(
|
|
1131
|
+
'/api/ruleChains{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
|
|
1132
|
+
path_params,
|
|
1133
|
+
query_params,
|
|
1134
|
+
header_params,
|
|
1135
|
+
body=body_params,
|
|
1136
|
+
post_params=form_params,
|
|
1137
|
+
files=local_var_files,
|
|
1138
|
+
response_type='PageDataRuleChain', # noqa: E501
|
|
1139
|
+
auth_settings=auth_settings,
|
|
1140
|
+
async_req=params.get('async_req'),
|
|
1141
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1142
|
+
_preload_content=params.get('_preload_content', True),
|
|
1143
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1144
|
+
collection_formats=collection_formats)
|
|
1145
|
+
|
|
1146
|
+
def import_rule_chains_using_post(self, **kwargs): # noqa: E501
|
|
1147
|
+
"""Import Rule Chains # noqa: E501
|
|
1148
|
+
|
|
1149
|
+
Imports all tenant rule chains as one JSON. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1150
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1151
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1152
|
+
>>> thread = api.import_rule_chains_using_post(async_req=True)
|
|
1153
|
+
>>> result = thread.get()
|
|
1154
|
+
|
|
1155
|
+
:param async_req bool
|
|
1156
|
+
:param RuleChainData body:
|
|
1157
|
+
:param bool overwrite: Enables overwrite for existing rule chains with the same name.
|
|
1158
|
+
:return: list[RuleChainImportResult]
|
|
1159
|
+
If the method is called asynchronously,
|
|
1160
|
+
returns the request thread.
|
|
1161
|
+
"""
|
|
1162
|
+
kwargs['_return_http_data_only'] = True
|
|
1163
|
+
if kwargs.get('async_req'):
|
|
1164
|
+
return self.import_rule_chains_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1165
|
+
else:
|
|
1166
|
+
(data) = self.import_rule_chains_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1167
|
+
return data
|
|
1168
|
+
|
|
1169
|
+
def import_rule_chains_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1170
|
+
"""Import Rule Chains # noqa: E501
|
|
1171
|
+
|
|
1172
|
+
Imports all tenant rule chains as one JSON. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1173
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1174
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1175
|
+
>>> thread = api.import_rule_chains_using_post_with_http_info(async_req=True)
|
|
1176
|
+
>>> result = thread.get()
|
|
1177
|
+
|
|
1178
|
+
:param async_req bool
|
|
1179
|
+
:param RuleChainData body:
|
|
1180
|
+
:param bool overwrite: Enables overwrite for existing rule chains with the same name.
|
|
1181
|
+
:return: list[RuleChainImportResult]
|
|
1182
|
+
If the method is called asynchronously,
|
|
1183
|
+
returns the request thread.
|
|
1184
|
+
"""
|
|
1185
|
+
|
|
1186
|
+
all_params = ['body', 'overwrite'] # noqa: E501
|
|
1187
|
+
all_params.append('async_req')
|
|
1188
|
+
all_params.append('_return_http_data_only')
|
|
1189
|
+
all_params.append('_preload_content')
|
|
1190
|
+
all_params.append('_request_timeout')
|
|
1191
|
+
|
|
1192
|
+
params = locals()
|
|
1193
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1194
|
+
if key not in all_params:
|
|
1195
|
+
raise TypeError(
|
|
1196
|
+
"Got an unexpected keyword argument '%s'"
|
|
1197
|
+
" to method import_rule_chains_using_post" % key
|
|
1198
|
+
)
|
|
1199
|
+
params[key] = val
|
|
1200
|
+
del params['kwargs']
|
|
1201
|
+
|
|
1202
|
+
collection_formats = {}
|
|
1203
|
+
|
|
1204
|
+
path_params = {}
|
|
1205
|
+
|
|
1206
|
+
query_params = []
|
|
1207
|
+
if 'overwrite' in params:
|
|
1208
|
+
query_params.append(('overwrite', params['overwrite'])) # noqa: E501
|
|
1209
|
+
|
|
1210
|
+
header_params = {}
|
|
1211
|
+
|
|
1212
|
+
form_params = []
|
|
1213
|
+
local_var_files = {}
|
|
1214
|
+
|
|
1215
|
+
body_params = None
|
|
1216
|
+
if 'body' in params:
|
|
1217
|
+
body_params = params['body']
|
|
1218
|
+
# HTTP header `Accept`
|
|
1219
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1220
|
+
['application/json']) # noqa: E501
|
|
1221
|
+
|
|
1222
|
+
# HTTP header `Content-Type`
|
|
1223
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1224
|
+
['application/json']) # noqa: E501
|
|
1225
|
+
|
|
1226
|
+
# Authentication setting
|
|
1227
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1228
|
+
|
|
1229
|
+
return self.api_client.call_api(
|
|
1230
|
+
'/api/ruleChains/import{?overwrite}', 'POST',
|
|
1231
|
+
path_params,
|
|
1232
|
+
query_params,
|
|
1233
|
+
header_params,
|
|
1234
|
+
body=body_params,
|
|
1235
|
+
post_params=form_params,
|
|
1236
|
+
files=local_var_files,
|
|
1237
|
+
response_type='list[RuleChainImportResult]', # noqa: E501
|
|
1238
|
+
auth_settings=auth_settings,
|
|
1239
|
+
async_req=params.get('async_req'),
|
|
1240
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1241
|
+
_preload_content=params.get('_preload_content', True),
|
|
1242
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1243
|
+
collection_formats=collection_formats)
|
|
1244
|
+
|
|
1245
|
+
def is_tbel_enabled_using_get(self, **kwargs): # noqa: E501
|
|
1246
|
+
"""Is TBEL script executor enabled # noqa: E501
|
|
1247
|
+
|
|
1248
|
+
Returns 'True' if the TBEL script execution is enabled Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1249
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1250
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1251
|
+
>>> thread = api.is_tbel_enabled_using_get(async_req=True)
|
|
1252
|
+
>>> result = thread.get()
|
|
1253
|
+
|
|
1254
|
+
:param async_req bool
|
|
1255
|
+
:return: bool
|
|
1256
|
+
If the method is called asynchronously,
|
|
1257
|
+
returns the request thread.
|
|
1258
|
+
"""
|
|
1259
|
+
kwargs['_return_http_data_only'] = True
|
|
1260
|
+
if kwargs.get('async_req'):
|
|
1261
|
+
return self.is_tbel_enabled_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1262
|
+
else:
|
|
1263
|
+
(data) = self.is_tbel_enabled_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1264
|
+
return data
|
|
1265
|
+
|
|
1266
|
+
def is_tbel_enabled_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1267
|
+
"""Is TBEL script executor enabled # noqa: E501
|
|
1268
|
+
|
|
1269
|
+
Returns 'True' if the TBEL script execution is enabled Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1270
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1271
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1272
|
+
>>> thread = api.is_tbel_enabled_using_get_with_http_info(async_req=True)
|
|
1273
|
+
>>> result = thread.get()
|
|
1274
|
+
|
|
1275
|
+
:param async_req bool
|
|
1276
|
+
:return: bool
|
|
1277
|
+
If the method is called asynchronously,
|
|
1278
|
+
returns the request thread.
|
|
1279
|
+
"""
|
|
1280
|
+
|
|
1281
|
+
all_params = [] # noqa: E501
|
|
1282
|
+
all_params.append('async_req')
|
|
1283
|
+
all_params.append('_return_http_data_only')
|
|
1284
|
+
all_params.append('_preload_content')
|
|
1285
|
+
all_params.append('_request_timeout')
|
|
1286
|
+
|
|
1287
|
+
params = locals()
|
|
1288
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1289
|
+
if key not in all_params:
|
|
1290
|
+
raise TypeError(
|
|
1291
|
+
"Got an unexpected keyword argument '%s'"
|
|
1292
|
+
" to method is_tbel_enabled_using_get" % key
|
|
1293
|
+
)
|
|
1294
|
+
params[key] = val
|
|
1295
|
+
del params['kwargs']
|
|
1296
|
+
|
|
1297
|
+
collection_formats = {}
|
|
1298
|
+
|
|
1299
|
+
path_params = {}
|
|
1300
|
+
|
|
1301
|
+
query_params = []
|
|
1302
|
+
|
|
1303
|
+
header_params = {}
|
|
1304
|
+
|
|
1305
|
+
form_params = []
|
|
1306
|
+
local_var_files = {}
|
|
1307
|
+
|
|
1308
|
+
body_params = None
|
|
1309
|
+
# HTTP header `Accept`
|
|
1310
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1311
|
+
['application/json']) # noqa: E501
|
|
1312
|
+
|
|
1313
|
+
# Authentication setting
|
|
1314
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1315
|
+
|
|
1316
|
+
return self.api_client.call_api(
|
|
1317
|
+
'/api/ruleChain/tbelEnabled', 'GET',
|
|
1318
|
+
path_params,
|
|
1319
|
+
query_params,
|
|
1320
|
+
header_params,
|
|
1321
|
+
body=body_params,
|
|
1322
|
+
post_params=form_params,
|
|
1323
|
+
files=local_var_files,
|
|
1324
|
+
response_type='bool', # noqa: E501
|
|
1325
|
+
auth_settings=auth_settings,
|
|
1326
|
+
async_req=params.get('async_req'),
|
|
1327
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1328
|
+
_preload_content=params.get('_preload_content', True),
|
|
1329
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1330
|
+
collection_formats=collection_formats)
|
|
1331
|
+
|
|
1332
|
+
def save_rule_chain_meta_data_using_post(self, **kwargs): # noqa: E501
|
|
1333
|
+
"""Update Rule Chain Metadata # noqa: E501
|
|
1334
|
+
|
|
1335
|
+
Updates the rule chain metadata. The metadata object contains information about the rule nodes and their connections. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1336
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1337
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1338
|
+
>>> thread = api.save_rule_chain_meta_data_using_post(async_req=True)
|
|
1339
|
+
>>> result = thread.get()
|
|
1340
|
+
|
|
1341
|
+
:param async_req bool
|
|
1342
|
+
:param RuleChainMetaData body:
|
|
1343
|
+
:param bool update_related: Update related rule nodes.
|
|
1344
|
+
:return: RuleChainMetaData
|
|
1345
|
+
If the method is called asynchronously,
|
|
1346
|
+
returns the request thread.
|
|
1347
|
+
"""
|
|
1348
|
+
kwargs['_return_http_data_only'] = True
|
|
1349
|
+
if kwargs.get('async_req'):
|
|
1350
|
+
return self.save_rule_chain_meta_data_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1351
|
+
else:
|
|
1352
|
+
(data) = self.save_rule_chain_meta_data_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1353
|
+
return data
|
|
1354
|
+
|
|
1355
|
+
def save_rule_chain_meta_data_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1356
|
+
"""Update Rule Chain Metadata # noqa: E501
|
|
1357
|
+
|
|
1358
|
+
Updates the rule chain metadata. The metadata object contains information about the rule nodes and their connections. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1359
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1360
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1361
|
+
>>> thread = api.save_rule_chain_meta_data_using_post_with_http_info(async_req=True)
|
|
1362
|
+
>>> result = thread.get()
|
|
1363
|
+
|
|
1364
|
+
:param async_req bool
|
|
1365
|
+
:param RuleChainMetaData body:
|
|
1366
|
+
:param bool update_related: Update related rule nodes.
|
|
1367
|
+
:return: RuleChainMetaData
|
|
1368
|
+
If the method is called asynchronously,
|
|
1369
|
+
returns the request thread.
|
|
1370
|
+
"""
|
|
1371
|
+
|
|
1372
|
+
all_params = ['body', 'update_related'] # noqa: E501
|
|
1373
|
+
all_params.append('async_req')
|
|
1374
|
+
all_params.append('_return_http_data_only')
|
|
1375
|
+
all_params.append('_preload_content')
|
|
1376
|
+
all_params.append('_request_timeout')
|
|
1377
|
+
|
|
1378
|
+
params = locals()
|
|
1379
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1380
|
+
if key not in all_params:
|
|
1381
|
+
raise TypeError(
|
|
1382
|
+
"Got an unexpected keyword argument '%s'"
|
|
1383
|
+
" to method save_rule_chain_meta_data_using_post" % key
|
|
1384
|
+
)
|
|
1385
|
+
params[key] = val
|
|
1386
|
+
del params['kwargs']
|
|
1387
|
+
|
|
1388
|
+
collection_formats = {}
|
|
1389
|
+
|
|
1390
|
+
path_params = {}
|
|
1391
|
+
|
|
1392
|
+
query_params = []
|
|
1393
|
+
if 'update_related' in params:
|
|
1394
|
+
query_params.append(('updateRelated', params['update_related'])) # noqa: E501
|
|
1395
|
+
|
|
1396
|
+
header_params = {}
|
|
1397
|
+
|
|
1398
|
+
form_params = []
|
|
1399
|
+
local_var_files = {}
|
|
1400
|
+
|
|
1401
|
+
body_params = None
|
|
1402
|
+
if 'body' in params:
|
|
1403
|
+
body_params = params['body']
|
|
1404
|
+
# HTTP header `Accept`
|
|
1405
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1406
|
+
['application/json']) # noqa: E501
|
|
1407
|
+
|
|
1408
|
+
# HTTP header `Content-Type`
|
|
1409
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1410
|
+
['application/json']) # noqa: E501
|
|
1411
|
+
|
|
1412
|
+
# Authentication setting
|
|
1413
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1414
|
+
|
|
1415
|
+
return self.api_client.call_api(
|
|
1416
|
+
'/api/ruleChain/metadata{?updateRelated}', 'POST',
|
|
1417
|
+
path_params,
|
|
1418
|
+
query_params,
|
|
1419
|
+
header_params,
|
|
1420
|
+
body=body_params,
|
|
1421
|
+
post_params=form_params,
|
|
1422
|
+
files=local_var_files,
|
|
1423
|
+
response_type='RuleChainMetaData', # noqa: E501
|
|
1424
|
+
auth_settings=auth_settings,
|
|
1425
|
+
async_req=params.get('async_req'),
|
|
1426
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1427
|
+
_preload_content=params.get('_preload_content', True),
|
|
1428
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1429
|
+
collection_formats=collection_formats)
|
|
1430
|
+
|
|
1431
|
+
def save_rule_chain_using_post(self, **kwargs): # noqa: E501
|
|
1432
|
+
"""Create Default Rule Chain # noqa: E501
|
|
1433
|
+
|
|
1434
|
+
Create rule chain from template, based on the specified name in the request. Creates the rule chain based on the template that is used to create root rule chain. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1435
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1436
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1437
|
+
>>> thread = api.save_rule_chain_using_post(async_req=True)
|
|
1438
|
+
>>> result = thread.get()
|
|
1439
|
+
|
|
1440
|
+
:param async_req bool
|
|
1441
|
+
:param DefaultRuleChainCreateRequest body:
|
|
1442
|
+
:return: RuleChain
|
|
1443
|
+
If the method is called asynchronously,
|
|
1444
|
+
returns the request thread.
|
|
1445
|
+
"""
|
|
1446
|
+
kwargs['_return_http_data_only'] = True
|
|
1447
|
+
if kwargs.get('async_req'):
|
|
1448
|
+
return self.save_rule_chain_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1449
|
+
else:
|
|
1450
|
+
(data) = self.save_rule_chain_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1451
|
+
return data
|
|
1452
|
+
|
|
1453
|
+
def save_rule_chain_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1454
|
+
"""Create Default Rule Chain # noqa: E501
|
|
1455
|
+
|
|
1456
|
+
Create rule chain from template, based on the specified name in the request. Creates the rule chain based on the template that is used to create root rule chain. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1457
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1458
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1459
|
+
>>> thread = api.save_rule_chain_using_post_with_http_info(async_req=True)
|
|
1460
|
+
>>> result = thread.get()
|
|
1461
|
+
|
|
1462
|
+
:param async_req bool
|
|
1463
|
+
:param DefaultRuleChainCreateRequest body:
|
|
1464
|
+
:return: RuleChain
|
|
1465
|
+
If the method is called asynchronously,
|
|
1466
|
+
returns the request thread.
|
|
1467
|
+
"""
|
|
1468
|
+
|
|
1469
|
+
all_params = ['body'] # noqa: E501
|
|
1470
|
+
all_params.append('async_req')
|
|
1471
|
+
all_params.append('_return_http_data_only')
|
|
1472
|
+
all_params.append('_preload_content')
|
|
1473
|
+
all_params.append('_request_timeout')
|
|
1474
|
+
|
|
1475
|
+
params = locals()
|
|
1476
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1477
|
+
if key not in all_params:
|
|
1478
|
+
raise TypeError(
|
|
1479
|
+
"Got an unexpected keyword argument '%s'"
|
|
1480
|
+
" to method save_rule_chain_using_post" % key
|
|
1481
|
+
)
|
|
1482
|
+
params[key] = val
|
|
1483
|
+
del params['kwargs']
|
|
1484
|
+
|
|
1485
|
+
collection_formats = {}
|
|
1486
|
+
|
|
1487
|
+
path_params = {}
|
|
1488
|
+
|
|
1489
|
+
query_params = []
|
|
1490
|
+
|
|
1491
|
+
header_params = {}
|
|
1492
|
+
|
|
1493
|
+
form_params = []
|
|
1494
|
+
local_var_files = {}
|
|
1495
|
+
|
|
1496
|
+
body_params = None
|
|
1497
|
+
if 'body' in params:
|
|
1498
|
+
body_params = params['body']
|
|
1499
|
+
# HTTP header `Accept`
|
|
1500
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1501
|
+
['application/json']) # noqa: E501
|
|
1502
|
+
|
|
1503
|
+
# HTTP header `Content-Type`
|
|
1504
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1505
|
+
['application/json']) # noqa: E501
|
|
1506
|
+
|
|
1507
|
+
# Authentication setting
|
|
1508
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1509
|
+
|
|
1510
|
+
return self.api_client.call_api(
|
|
1511
|
+
'/api/ruleChain/device/default', 'POST',
|
|
1512
|
+
path_params,
|
|
1513
|
+
query_params,
|
|
1514
|
+
header_params,
|
|
1515
|
+
body=body_params,
|
|
1516
|
+
post_params=form_params,
|
|
1517
|
+
files=local_var_files,
|
|
1518
|
+
response_type='RuleChain', # noqa: E501
|
|
1519
|
+
auth_settings=auth_settings,
|
|
1520
|
+
async_req=params.get('async_req'),
|
|
1521
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1522
|
+
_preload_content=params.get('_preload_content', True),
|
|
1523
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1524
|
+
collection_formats=collection_formats)
|
|
1525
|
+
|
|
1526
|
+
def save_rule_chain_using_post1(self, **kwargs): # noqa: E501
|
|
1527
|
+
"""Create Or Update Rule Chain (saveRuleChain) # noqa: E501
|
|
1528
|
+
|
|
1529
|
+
Create or update the Rule Chain. When creating Rule Chain, platform generates Rule Chain Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Rule Chain Id will be present in the response. Specify existing Rule Chain id to update the rule chain. Referencing non-existing rule chain Id will cause 'Not Found' error. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.Remove 'id', 'tenantId' from the request body example (below) to create new Rule Chain entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1530
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1531
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1532
|
+
>>> thread = api.save_rule_chain_using_post1(async_req=True)
|
|
1533
|
+
>>> result = thread.get()
|
|
1534
|
+
|
|
1535
|
+
:param async_req bool
|
|
1536
|
+
:param RuleChain body:
|
|
1537
|
+
:return: RuleChain
|
|
1538
|
+
If the method is called asynchronously,
|
|
1539
|
+
returns the request thread.
|
|
1540
|
+
"""
|
|
1541
|
+
kwargs['_return_http_data_only'] = True
|
|
1542
|
+
if kwargs.get('async_req'):
|
|
1543
|
+
return self.save_rule_chain_using_post1_with_http_info(**kwargs) # noqa: E501
|
|
1544
|
+
else:
|
|
1545
|
+
(data) = self.save_rule_chain_using_post1_with_http_info(**kwargs) # noqa: E501
|
|
1546
|
+
return data
|
|
1547
|
+
|
|
1548
|
+
def save_rule_chain_using_post1_with_http_info(self, **kwargs): # noqa: E501
|
|
1549
|
+
"""Create Or Update Rule Chain (saveRuleChain) # noqa: E501
|
|
1550
|
+
|
|
1551
|
+
Create or update the Rule Chain. When creating Rule Chain, platform generates Rule Chain Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Rule Chain Id will be present in the response. Specify existing Rule Chain id to update the rule chain. Referencing non-existing rule chain Id will cause 'Not Found' error. The rule chain object is lightweight and contains general information about the rule chain. List of rule nodes and their connection is stored in a separate 'metadata' object.Remove 'id', 'tenantId' from the request body example (below) to create new Rule Chain entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1552
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1553
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1554
|
+
>>> thread = api.save_rule_chain_using_post1_with_http_info(async_req=True)
|
|
1555
|
+
>>> result = thread.get()
|
|
1556
|
+
|
|
1557
|
+
:param async_req bool
|
|
1558
|
+
:param RuleChain body:
|
|
1559
|
+
:return: RuleChain
|
|
1560
|
+
If the method is called asynchronously,
|
|
1561
|
+
returns the request thread.
|
|
1562
|
+
"""
|
|
1563
|
+
|
|
1564
|
+
all_params = ['body'] # noqa: E501
|
|
1565
|
+
all_params.append('async_req')
|
|
1566
|
+
all_params.append('_return_http_data_only')
|
|
1567
|
+
all_params.append('_preload_content')
|
|
1568
|
+
all_params.append('_request_timeout')
|
|
1569
|
+
|
|
1570
|
+
params = locals()
|
|
1571
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1572
|
+
if key not in all_params:
|
|
1573
|
+
raise TypeError(
|
|
1574
|
+
"Got an unexpected keyword argument '%s'"
|
|
1575
|
+
" to method save_rule_chain_using_post1" % key
|
|
1576
|
+
)
|
|
1577
|
+
params[key] = val
|
|
1578
|
+
del params['kwargs']
|
|
1579
|
+
|
|
1580
|
+
collection_formats = {}
|
|
1581
|
+
|
|
1582
|
+
path_params = {}
|
|
1583
|
+
|
|
1584
|
+
query_params = []
|
|
1585
|
+
|
|
1586
|
+
header_params = {}
|
|
1587
|
+
|
|
1588
|
+
form_params = []
|
|
1589
|
+
local_var_files = {}
|
|
1590
|
+
|
|
1591
|
+
body_params = None
|
|
1592
|
+
if 'body' in params:
|
|
1593
|
+
body_params = params['body']
|
|
1594
|
+
# HTTP header `Accept`
|
|
1595
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1596
|
+
['application/json']) # noqa: E501
|
|
1597
|
+
|
|
1598
|
+
# HTTP header `Content-Type`
|
|
1599
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1600
|
+
['application/json']) # noqa: E501
|
|
1601
|
+
|
|
1602
|
+
# Authentication setting
|
|
1603
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1604
|
+
|
|
1605
|
+
return self.api_client.call_api(
|
|
1606
|
+
'/api/ruleChain', 'POST',
|
|
1607
|
+
path_params,
|
|
1608
|
+
query_params,
|
|
1609
|
+
header_params,
|
|
1610
|
+
body=body_params,
|
|
1611
|
+
post_params=form_params,
|
|
1612
|
+
files=local_var_files,
|
|
1613
|
+
response_type='RuleChain', # noqa: E501
|
|
1614
|
+
auth_settings=auth_settings,
|
|
1615
|
+
async_req=params.get('async_req'),
|
|
1616
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1617
|
+
_preload_content=params.get('_preload_content', True),
|
|
1618
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1619
|
+
collection_formats=collection_formats)
|
|
1620
|
+
|
|
1621
|
+
def set_auto_assign_to_edge_rule_chain_using_post(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1622
|
+
"""Set Auto Assign To Edge Rule Chain (setAutoAssignToEdgeRuleChain) # noqa: E501
|
|
1623
|
+
|
|
1624
|
+
Makes the rule chain to be automatically assigned for any new edge that will be created. Does not assign this rule chain for already created edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1625
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1626
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1627
|
+
>>> thread = api.set_auto_assign_to_edge_rule_chain_using_post(rule_chain_id, async_req=True)
|
|
1628
|
+
>>> result = thread.get()
|
|
1629
|
+
|
|
1630
|
+
:param async_req bool
|
|
1631
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1632
|
+
:return: RuleChain
|
|
1633
|
+
If the method is called asynchronously,
|
|
1634
|
+
returns the request thread.
|
|
1635
|
+
"""
|
|
1636
|
+
kwargs['_return_http_data_only'] = True
|
|
1637
|
+
if kwargs.get('async_req'):
|
|
1638
|
+
return self.set_auto_assign_to_edge_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1639
|
+
else:
|
|
1640
|
+
(data) = self.set_auto_assign_to_edge_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1641
|
+
return data
|
|
1642
|
+
|
|
1643
|
+
def set_auto_assign_to_edge_rule_chain_using_post_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1644
|
+
"""Set Auto Assign To Edge Rule Chain (setAutoAssignToEdgeRuleChain) # noqa: E501
|
|
1645
|
+
|
|
1646
|
+
Makes the rule chain to be automatically assigned for any new edge that will be created. Does not assign this rule chain for already created edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1647
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1648
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1649
|
+
>>> thread = api.set_auto_assign_to_edge_rule_chain_using_post_with_http_info(rule_chain_id, async_req=True)
|
|
1650
|
+
>>> result = thread.get()
|
|
1651
|
+
|
|
1652
|
+
:param async_req bool
|
|
1653
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1654
|
+
:return: RuleChain
|
|
1655
|
+
If the method is called asynchronously,
|
|
1656
|
+
returns the request thread.
|
|
1657
|
+
"""
|
|
1658
|
+
|
|
1659
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
1660
|
+
all_params.append('async_req')
|
|
1661
|
+
all_params.append('_return_http_data_only')
|
|
1662
|
+
all_params.append('_preload_content')
|
|
1663
|
+
all_params.append('_request_timeout')
|
|
1664
|
+
|
|
1665
|
+
params = locals()
|
|
1666
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1667
|
+
if key not in all_params:
|
|
1668
|
+
raise TypeError(
|
|
1669
|
+
"Got an unexpected keyword argument '%s'"
|
|
1670
|
+
" to method set_auto_assign_to_edge_rule_chain_using_post" % key
|
|
1671
|
+
)
|
|
1672
|
+
params[key] = val
|
|
1673
|
+
del params['kwargs']
|
|
1674
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
1675
|
+
if ('rule_chain_id' not in params or
|
|
1676
|
+
params['rule_chain_id'] is None):
|
|
1677
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `set_auto_assign_to_edge_rule_chain_using_post`") # noqa: E501
|
|
1678
|
+
|
|
1679
|
+
collection_formats = {}
|
|
1680
|
+
|
|
1681
|
+
path_params = {}
|
|
1682
|
+
if 'rule_chain_id' in params:
|
|
1683
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
1684
|
+
|
|
1685
|
+
query_params = []
|
|
1686
|
+
|
|
1687
|
+
header_params = {}
|
|
1688
|
+
|
|
1689
|
+
form_params = []
|
|
1690
|
+
local_var_files = {}
|
|
1691
|
+
|
|
1692
|
+
body_params = None
|
|
1693
|
+
# HTTP header `Accept`
|
|
1694
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1695
|
+
['application/json']) # noqa: E501
|
|
1696
|
+
|
|
1697
|
+
# Authentication setting
|
|
1698
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1699
|
+
|
|
1700
|
+
return self.api_client.call_api(
|
|
1701
|
+
'/api/ruleChain/{ruleChainId}/autoAssignToEdge', 'POST',
|
|
1702
|
+
path_params,
|
|
1703
|
+
query_params,
|
|
1704
|
+
header_params,
|
|
1705
|
+
body=body_params,
|
|
1706
|
+
post_params=form_params,
|
|
1707
|
+
files=local_var_files,
|
|
1708
|
+
response_type='RuleChain', # noqa: E501
|
|
1709
|
+
auth_settings=auth_settings,
|
|
1710
|
+
async_req=params.get('async_req'),
|
|
1711
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1712
|
+
_preload_content=params.get('_preload_content', True),
|
|
1713
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1714
|
+
collection_formats=collection_formats)
|
|
1715
|
+
|
|
1716
|
+
def set_edge_template_root_rule_chain_using_post(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1717
|
+
"""Set Edge Template Root Rule Chain (setEdgeTemplateRootRuleChain) # noqa: E501
|
|
1718
|
+
|
|
1719
|
+
Makes the rule chain to be root rule chain for any new edge that will be created. Does not update root rule chain for already created edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1720
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1721
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1722
|
+
>>> thread = api.set_edge_template_root_rule_chain_using_post(rule_chain_id, async_req=True)
|
|
1723
|
+
>>> result = thread.get()
|
|
1724
|
+
|
|
1725
|
+
:param async_req bool
|
|
1726
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1727
|
+
:return: RuleChain
|
|
1728
|
+
If the method is called asynchronously,
|
|
1729
|
+
returns the request thread.
|
|
1730
|
+
"""
|
|
1731
|
+
kwargs['_return_http_data_only'] = True
|
|
1732
|
+
if kwargs.get('async_req'):
|
|
1733
|
+
return self.set_edge_template_root_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1734
|
+
else:
|
|
1735
|
+
(data) = self.set_edge_template_root_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1736
|
+
return data
|
|
1737
|
+
|
|
1738
|
+
def set_edge_template_root_rule_chain_using_post_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1739
|
+
"""Set Edge Template Root Rule Chain (setEdgeTemplateRootRuleChain) # noqa: E501
|
|
1740
|
+
|
|
1741
|
+
Makes the rule chain to be root rule chain for any new edge that will be created. Does not update root rule chain for already created edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1742
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1743
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1744
|
+
>>> thread = api.set_edge_template_root_rule_chain_using_post_with_http_info(rule_chain_id, async_req=True)
|
|
1745
|
+
>>> result = thread.get()
|
|
1746
|
+
|
|
1747
|
+
:param async_req bool
|
|
1748
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1749
|
+
:return: RuleChain
|
|
1750
|
+
If the method is called asynchronously,
|
|
1751
|
+
returns the request thread.
|
|
1752
|
+
"""
|
|
1753
|
+
|
|
1754
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
1755
|
+
all_params.append('async_req')
|
|
1756
|
+
all_params.append('_return_http_data_only')
|
|
1757
|
+
all_params.append('_preload_content')
|
|
1758
|
+
all_params.append('_request_timeout')
|
|
1759
|
+
|
|
1760
|
+
params = locals()
|
|
1761
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1762
|
+
if key not in all_params:
|
|
1763
|
+
raise TypeError(
|
|
1764
|
+
"Got an unexpected keyword argument '%s'"
|
|
1765
|
+
" to method set_edge_template_root_rule_chain_using_post" % key
|
|
1766
|
+
)
|
|
1767
|
+
params[key] = val
|
|
1768
|
+
del params['kwargs']
|
|
1769
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
1770
|
+
if ('rule_chain_id' not in params or
|
|
1771
|
+
params['rule_chain_id'] is None):
|
|
1772
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `set_edge_template_root_rule_chain_using_post`") # noqa: E501
|
|
1773
|
+
|
|
1774
|
+
collection_formats = {}
|
|
1775
|
+
|
|
1776
|
+
path_params = {}
|
|
1777
|
+
if 'rule_chain_id' in params:
|
|
1778
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
1779
|
+
|
|
1780
|
+
query_params = []
|
|
1781
|
+
|
|
1782
|
+
header_params = {}
|
|
1783
|
+
|
|
1784
|
+
form_params = []
|
|
1785
|
+
local_var_files = {}
|
|
1786
|
+
|
|
1787
|
+
body_params = None
|
|
1788
|
+
# HTTP header `Accept`
|
|
1789
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1790
|
+
['application/json']) # noqa: E501
|
|
1791
|
+
|
|
1792
|
+
# Authentication setting
|
|
1793
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1794
|
+
|
|
1795
|
+
return self.api_client.call_api(
|
|
1796
|
+
'/api/ruleChain/{ruleChainId}/edgeTemplateRoot', 'POST',
|
|
1797
|
+
path_params,
|
|
1798
|
+
query_params,
|
|
1799
|
+
header_params,
|
|
1800
|
+
body=body_params,
|
|
1801
|
+
post_params=form_params,
|
|
1802
|
+
files=local_var_files,
|
|
1803
|
+
response_type='RuleChain', # noqa: E501
|
|
1804
|
+
auth_settings=auth_settings,
|
|
1805
|
+
async_req=params.get('async_req'),
|
|
1806
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1807
|
+
_preload_content=params.get('_preload_content', True),
|
|
1808
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1809
|
+
collection_formats=collection_formats)
|
|
1810
|
+
|
|
1811
|
+
def set_root_rule_chain_using_post(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1812
|
+
"""Set Root Rule Chain (setRootRuleChain) # noqa: E501
|
|
1813
|
+
|
|
1814
|
+
Makes the rule chain to be root rule chain. Updates previous root rule chain as well. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1815
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1816
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1817
|
+
>>> thread = api.set_root_rule_chain_using_post(rule_chain_id, async_req=True)
|
|
1818
|
+
>>> result = thread.get()
|
|
1819
|
+
|
|
1820
|
+
:param async_req bool
|
|
1821
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1822
|
+
:return: RuleChain
|
|
1823
|
+
If the method is called asynchronously,
|
|
1824
|
+
returns the request thread.
|
|
1825
|
+
"""
|
|
1826
|
+
kwargs['_return_http_data_only'] = True
|
|
1827
|
+
if kwargs.get('async_req'):
|
|
1828
|
+
return self.set_root_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1829
|
+
else:
|
|
1830
|
+
(data) = self.set_root_rule_chain_using_post_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
1831
|
+
return data
|
|
1832
|
+
|
|
1833
|
+
def set_root_rule_chain_using_post_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
1834
|
+
"""Set Root Rule Chain (setRootRuleChain) # noqa: E501
|
|
1835
|
+
|
|
1836
|
+
Makes the rule chain to be root rule chain. Updates previous root rule chain as well. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1837
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1838
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1839
|
+
>>> thread = api.set_root_rule_chain_using_post_with_http_info(rule_chain_id, async_req=True)
|
|
1840
|
+
>>> result = thread.get()
|
|
1841
|
+
|
|
1842
|
+
:param async_req bool
|
|
1843
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1844
|
+
:return: RuleChain
|
|
1845
|
+
If the method is called asynchronously,
|
|
1846
|
+
returns the request thread.
|
|
1847
|
+
"""
|
|
1848
|
+
|
|
1849
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
1850
|
+
all_params.append('async_req')
|
|
1851
|
+
all_params.append('_return_http_data_only')
|
|
1852
|
+
all_params.append('_preload_content')
|
|
1853
|
+
all_params.append('_request_timeout')
|
|
1854
|
+
|
|
1855
|
+
params = locals()
|
|
1856
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1857
|
+
if key not in all_params:
|
|
1858
|
+
raise TypeError(
|
|
1859
|
+
"Got an unexpected keyword argument '%s'"
|
|
1860
|
+
" to method set_root_rule_chain_using_post" % key
|
|
1861
|
+
)
|
|
1862
|
+
params[key] = val
|
|
1863
|
+
del params['kwargs']
|
|
1864
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
1865
|
+
if ('rule_chain_id' not in params or
|
|
1866
|
+
params['rule_chain_id'] is None):
|
|
1867
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `set_root_rule_chain_using_post`") # noqa: E501
|
|
1868
|
+
|
|
1869
|
+
collection_formats = {}
|
|
1870
|
+
|
|
1871
|
+
path_params = {}
|
|
1872
|
+
if 'rule_chain_id' in params:
|
|
1873
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
1874
|
+
|
|
1875
|
+
query_params = []
|
|
1876
|
+
|
|
1877
|
+
header_params = {}
|
|
1878
|
+
|
|
1879
|
+
form_params = []
|
|
1880
|
+
local_var_files = {}
|
|
1881
|
+
|
|
1882
|
+
body_params = None
|
|
1883
|
+
# HTTP header `Accept`
|
|
1884
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1885
|
+
['application/json']) # noqa: E501
|
|
1886
|
+
|
|
1887
|
+
# Authentication setting
|
|
1888
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1889
|
+
|
|
1890
|
+
return self.api_client.call_api(
|
|
1891
|
+
'/api/ruleChain/{ruleChainId}/root', 'POST',
|
|
1892
|
+
path_params,
|
|
1893
|
+
query_params,
|
|
1894
|
+
header_params,
|
|
1895
|
+
body=body_params,
|
|
1896
|
+
post_params=form_params,
|
|
1897
|
+
files=local_var_files,
|
|
1898
|
+
response_type='RuleChain', # noqa: E501
|
|
1899
|
+
auth_settings=auth_settings,
|
|
1900
|
+
async_req=params.get('async_req'),
|
|
1901
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1902
|
+
_preload_content=params.get('_preload_content', True),
|
|
1903
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1904
|
+
collection_formats=collection_formats)
|
|
1905
|
+
|
|
1906
|
+
def test_script_using_post(self, **kwargs): # noqa: E501
|
|
1907
|
+
"""Test Script function # noqa: E501
|
|
1908
|
+
|
|
1909
|
+
Execute the Script function and return the result. The format of request: ```json { \"script\": \"Your Function as String\", \"scriptType\": \"One of: update, generate, filter, switch, json, string\", \"argNames\": [\"msg\", \"metadata\", \"type\"], \"msg\": \"{\\\"temperature\\\": 42}\", \"metadata\": { \"deviceName\": \"Device A\", \"deviceType\": \"Thermometer\" }, \"msgType\": \"POST_TELEMETRY_REQUEST\" } ``` Expected result JSON contains \"output\" and \"error\". Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1910
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1911
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1912
|
+
>>> thread = api.test_script_using_post(async_req=True)
|
|
1913
|
+
>>> result = thread.get()
|
|
1914
|
+
|
|
1915
|
+
:param async_req bool
|
|
1916
|
+
:param JsonNode body:
|
|
1917
|
+
:param str script_lang: Script language: JS or TBEL
|
|
1918
|
+
:return: JsonNode
|
|
1919
|
+
If the method is called asynchronously,
|
|
1920
|
+
returns the request thread.
|
|
1921
|
+
"""
|
|
1922
|
+
kwargs['_return_http_data_only'] = True
|
|
1923
|
+
if kwargs.get('async_req'):
|
|
1924
|
+
return self.test_script_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1925
|
+
else:
|
|
1926
|
+
(data) = self.test_script_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1927
|
+
return data
|
|
1928
|
+
|
|
1929
|
+
def test_script_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1930
|
+
"""Test Script function # noqa: E501
|
|
1931
|
+
|
|
1932
|
+
Execute the Script function and return the result. The format of request: ```json { \"script\": \"Your Function as String\", \"scriptType\": \"One of: update, generate, filter, switch, json, string\", \"argNames\": [\"msg\", \"metadata\", \"type\"], \"msg\": \"{\\\"temperature\\\": 42}\", \"metadata\": { \"deviceName\": \"Device A\", \"deviceType\": \"Thermometer\" }, \"msgType\": \"POST_TELEMETRY_REQUEST\" } ``` Expected result JSON contains \"output\" and \"error\". Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1933
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1934
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1935
|
+
>>> thread = api.test_script_using_post_with_http_info(async_req=True)
|
|
1936
|
+
>>> result = thread.get()
|
|
1937
|
+
|
|
1938
|
+
:param async_req bool
|
|
1939
|
+
:param JsonNode body:
|
|
1940
|
+
:param str script_lang: Script language: JS or TBEL
|
|
1941
|
+
:return: JsonNode
|
|
1942
|
+
If the method is called asynchronously,
|
|
1943
|
+
returns the request thread.
|
|
1944
|
+
"""
|
|
1945
|
+
|
|
1946
|
+
all_params = ['body', 'script_lang'] # noqa: E501
|
|
1947
|
+
all_params.append('async_req')
|
|
1948
|
+
all_params.append('_return_http_data_only')
|
|
1949
|
+
all_params.append('_preload_content')
|
|
1950
|
+
all_params.append('_request_timeout')
|
|
1951
|
+
|
|
1952
|
+
params = locals()
|
|
1953
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1954
|
+
if key not in all_params:
|
|
1955
|
+
raise TypeError(
|
|
1956
|
+
"Got an unexpected keyword argument '%s'"
|
|
1957
|
+
" to method test_script_using_post" % key
|
|
1958
|
+
)
|
|
1959
|
+
params[key] = val
|
|
1960
|
+
del params['kwargs']
|
|
1961
|
+
|
|
1962
|
+
collection_formats = {}
|
|
1963
|
+
|
|
1964
|
+
path_params = {}
|
|
1965
|
+
|
|
1966
|
+
query_params = []
|
|
1967
|
+
if 'script_lang' in params:
|
|
1968
|
+
query_params.append(('scriptLang', params['script_lang'])) # noqa: E501
|
|
1969
|
+
|
|
1970
|
+
header_params = {}
|
|
1971
|
+
|
|
1972
|
+
form_params = []
|
|
1973
|
+
local_var_files = {}
|
|
1974
|
+
|
|
1975
|
+
body_params = None
|
|
1976
|
+
if 'body' in params:
|
|
1977
|
+
body_params = params['body']
|
|
1978
|
+
# HTTP header `Accept`
|
|
1979
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1980
|
+
['application/json']) # noqa: E501
|
|
1981
|
+
|
|
1982
|
+
# HTTP header `Content-Type`
|
|
1983
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1984
|
+
['application/json']) # noqa: E501
|
|
1985
|
+
|
|
1986
|
+
# Authentication setting
|
|
1987
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1988
|
+
|
|
1989
|
+
return self.api_client.call_api(
|
|
1990
|
+
'/api/ruleChain/testScript{?scriptLang}', 'POST',
|
|
1991
|
+
path_params,
|
|
1992
|
+
query_params,
|
|
1993
|
+
header_params,
|
|
1994
|
+
body=body_params,
|
|
1995
|
+
post_params=form_params,
|
|
1996
|
+
files=local_var_files,
|
|
1997
|
+
response_type='JsonNode', # noqa: E501
|
|
1998
|
+
auth_settings=auth_settings,
|
|
1999
|
+
async_req=params.get('async_req'),
|
|
2000
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2001
|
+
_preload_content=params.get('_preload_content', True),
|
|
2002
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2003
|
+
collection_formats=collection_formats)
|
|
2004
|
+
|
|
2005
|
+
def unassign_rule_chain_from_edge_using_delete(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
|
|
2006
|
+
"""Unassign rule chain from edge (unassignRuleChainFromEdge) # noqa: E501
|
|
2007
|
+
|
|
2008
|
+
Clears assignment of the rule chain to the edge. Unassignment works in async way - first, 'unassign' notification event pushed to edge queue on platform. Second, remote edge service will receive an 'unassign' command to remove rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once 'unassign' command will be delivered to edge service, it's going to remove rule chain locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
2009
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2010
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2011
|
+
>>> thread = api.unassign_rule_chain_from_edge_using_delete(edge_id, rule_chain_id, async_req=True)
|
|
2012
|
+
>>> result = thread.get()
|
|
2013
|
+
|
|
2014
|
+
:param async_req bool
|
|
2015
|
+
:param str edge_id: edgeId (required)
|
|
2016
|
+
:param str rule_chain_id: ruleChainId (required)
|
|
2017
|
+
:return: RuleChain
|
|
2018
|
+
If the method is called asynchronously,
|
|
2019
|
+
returns the request thread.
|
|
2020
|
+
"""
|
|
2021
|
+
kwargs['_return_http_data_only'] = True
|
|
2022
|
+
if kwargs.get('async_req'):
|
|
2023
|
+
return self.unassign_rule_chain_from_edge_using_delete_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
|
|
2024
|
+
else:
|
|
2025
|
+
(data) = self.unassign_rule_chain_from_edge_using_delete_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
|
|
2026
|
+
return data
|
|
2027
|
+
|
|
2028
|
+
def unassign_rule_chain_from_edge_using_delete_with_http_info(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
|
|
2029
|
+
"""Unassign rule chain from edge (unassignRuleChainFromEdge) # noqa: E501
|
|
2030
|
+
|
|
2031
|
+
Clears assignment of the rule chain to the edge. Unassignment works in async way - first, 'unassign' notification event pushed to edge queue on platform. Second, remote edge service will receive an 'unassign' command to remove rule chain (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once 'unassign' command will be delivered to edge service, it's going to remove rule chain locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
2032
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2033
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2034
|
+
>>> thread = api.unassign_rule_chain_from_edge_using_delete_with_http_info(edge_id, rule_chain_id, async_req=True)
|
|
2035
|
+
>>> result = thread.get()
|
|
2036
|
+
|
|
2037
|
+
:param async_req bool
|
|
2038
|
+
:param str edge_id: edgeId (required)
|
|
2039
|
+
:param str rule_chain_id: ruleChainId (required)
|
|
2040
|
+
:return: RuleChain
|
|
2041
|
+
If the method is called asynchronously,
|
|
2042
|
+
returns the request thread.
|
|
2043
|
+
"""
|
|
2044
|
+
|
|
2045
|
+
all_params = ['edge_id', 'rule_chain_id'] # noqa: E501
|
|
2046
|
+
all_params.append('async_req')
|
|
2047
|
+
all_params.append('_return_http_data_only')
|
|
2048
|
+
all_params.append('_preload_content')
|
|
2049
|
+
all_params.append('_request_timeout')
|
|
2050
|
+
|
|
2051
|
+
params = locals()
|
|
2052
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2053
|
+
if key not in all_params:
|
|
2054
|
+
raise TypeError(
|
|
2055
|
+
"Got an unexpected keyword argument '%s'"
|
|
2056
|
+
" to method unassign_rule_chain_from_edge_using_delete" % key
|
|
2057
|
+
)
|
|
2058
|
+
params[key] = val
|
|
2059
|
+
del params['kwargs']
|
|
2060
|
+
# verify the required parameter 'edge_id' is set
|
|
2061
|
+
if ('edge_id' not in params or
|
|
2062
|
+
params['edge_id'] is None):
|
|
2063
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `unassign_rule_chain_from_edge_using_delete`") # noqa: E501
|
|
2064
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
2065
|
+
if ('rule_chain_id' not in params or
|
|
2066
|
+
params['rule_chain_id'] is None):
|
|
2067
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `unassign_rule_chain_from_edge_using_delete`") # noqa: E501
|
|
2068
|
+
|
|
2069
|
+
collection_formats = {}
|
|
2070
|
+
|
|
2071
|
+
path_params = {}
|
|
2072
|
+
if 'edge_id' in params:
|
|
2073
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
2074
|
+
if 'rule_chain_id' in params:
|
|
2075
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
2076
|
+
|
|
2077
|
+
query_params = []
|
|
2078
|
+
|
|
2079
|
+
header_params = {}
|
|
2080
|
+
|
|
2081
|
+
form_params = []
|
|
2082
|
+
local_var_files = {}
|
|
2083
|
+
|
|
2084
|
+
body_params = None
|
|
2085
|
+
# HTTP header `Accept`
|
|
2086
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2087
|
+
['application/json']) # noqa: E501
|
|
2088
|
+
|
|
2089
|
+
# Authentication setting
|
|
2090
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2091
|
+
|
|
2092
|
+
return self.api_client.call_api(
|
|
2093
|
+
'/api/edge/{edgeId}/ruleChain/{ruleChainId}', 'DELETE',
|
|
2094
|
+
path_params,
|
|
2095
|
+
query_params,
|
|
2096
|
+
header_params,
|
|
2097
|
+
body=body_params,
|
|
2098
|
+
post_params=form_params,
|
|
2099
|
+
files=local_var_files,
|
|
2100
|
+
response_type='RuleChain', # noqa: E501
|
|
2101
|
+
auth_settings=auth_settings,
|
|
2102
|
+
async_req=params.get('async_req'),
|
|
2103
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2104
|
+
_preload_content=params.get('_preload_content', True),
|
|
2105
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2106
|
+
collection_formats=collection_formats)
|
|
2107
|
+
|
|
2108
|
+
def unset_auto_assign_to_edge_rule_chain_using_delete(self, rule_chain_id, **kwargs): # noqa: E501
|
|
2109
|
+
"""Unset Auto Assign To Edge Rule Chain (unsetAutoAssignToEdgeRuleChain) # noqa: E501
|
|
2110
|
+
|
|
2111
|
+
Removes the rule chain from the list of rule chains that are going to be automatically assigned for any new edge that will be created. Does not unassign this rule chain for already assigned edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
2112
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2113
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2114
|
+
>>> thread = api.unset_auto_assign_to_edge_rule_chain_using_delete(rule_chain_id, async_req=True)
|
|
2115
|
+
>>> result = thread.get()
|
|
2116
|
+
|
|
2117
|
+
:param async_req bool
|
|
2118
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2119
|
+
:return: RuleChain
|
|
2120
|
+
If the method is called asynchronously,
|
|
2121
|
+
returns the request thread.
|
|
2122
|
+
"""
|
|
2123
|
+
kwargs['_return_http_data_only'] = True
|
|
2124
|
+
if kwargs.get('async_req'):
|
|
2125
|
+
return self.unset_auto_assign_to_edge_rule_chain_using_delete_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
2126
|
+
else:
|
|
2127
|
+
(data) = self.unset_auto_assign_to_edge_rule_chain_using_delete_with_http_info(rule_chain_id, **kwargs) # noqa: E501
|
|
2128
|
+
return data
|
|
2129
|
+
|
|
2130
|
+
def unset_auto_assign_to_edge_rule_chain_using_delete_with_http_info(self, rule_chain_id, **kwargs): # noqa: E501
|
|
2131
|
+
"""Unset Auto Assign To Edge Rule Chain (unsetAutoAssignToEdgeRuleChain) # noqa: E501
|
|
2132
|
+
|
|
2133
|
+
Removes the rule chain from the list of rule chains that are going to be automatically assigned for any new edge that will be created. Does not unassign this rule chain for already assigned edges. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
2134
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2135
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2136
|
+
>>> thread = api.unset_auto_assign_to_edge_rule_chain_using_delete_with_http_info(rule_chain_id, async_req=True)
|
|
2137
|
+
>>> result = thread.get()
|
|
2138
|
+
|
|
2139
|
+
:param async_req bool
|
|
2140
|
+
:param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2141
|
+
:return: RuleChain
|
|
2142
|
+
If the method is called asynchronously,
|
|
2143
|
+
returns the request thread.
|
|
2144
|
+
"""
|
|
2145
|
+
|
|
2146
|
+
all_params = ['rule_chain_id'] # noqa: E501
|
|
2147
|
+
all_params.append('async_req')
|
|
2148
|
+
all_params.append('_return_http_data_only')
|
|
2149
|
+
all_params.append('_preload_content')
|
|
2150
|
+
all_params.append('_request_timeout')
|
|
2151
|
+
|
|
2152
|
+
params = locals()
|
|
2153
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2154
|
+
if key not in all_params:
|
|
2155
|
+
raise TypeError(
|
|
2156
|
+
"Got an unexpected keyword argument '%s'"
|
|
2157
|
+
" to method unset_auto_assign_to_edge_rule_chain_using_delete" % key
|
|
2158
|
+
)
|
|
2159
|
+
params[key] = val
|
|
2160
|
+
del params['kwargs']
|
|
2161
|
+
# verify the required parameter 'rule_chain_id' is set
|
|
2162
|
+
if ('rule_chain_id' not in params or
|
|
2163
|
+
params['rule_chain_id'] is None):
|
|
2164
|
+
raise ValueError("Missing the required parameter `rule_chain_id` when calling `unset_auto_assign_to_edge_rule_chain_using_delete`") # noqa: E501
|
|
2165
|
+
|
|
2166
|
+
collection_formats = {}
|
|
2167
|
+
|
|
2168
|
+
path_params = {}
|
|
2169
|
+
if 'rule_chain_id' in params:
|
|
2170
|
+
path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
|
|
2171
|
+
|
|
2172
|
+
query_params = []
|
|
2173
|
+
|
|
2174
|
+
header_params = {}
|
|
2175
|
+
|
|
2176
|
+
form_params = []
|
|
2177
|
+
local_var_files = {}
|
|
2178
|
+
|
|
2179
|
+
body_params = None
|
|
2180
|
+
# HTTP header `Accept`
|
|
2181
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2182
|
+
['application/json']) # noqa: E501
|
|
2183
|
+
|
|
2184
|
+
# Authentication setting
|
|
2185
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2186
|
+
|
|
2187
|
+
return self.api_client.call_api(
|
|
2188
|
+
'/api/ruleChain/{ruleChainId}/autoAssignToEdge', 'DELETE',
|
|
2189
|
+
path_params,
|
|
2190
|
+
query_params,
|
|
2191
|
+
header_params,
|
|
2192
|
+
body=body_params,
|
|
2193
|
+
post_params=form_params,
|
|
2194
|
+
files=local_var_files,
|
|
2195
|
+
response_type='RuleChain', # noqa: E501
|
|
2196
|
+
auth_settings=auth_settings,
|
|
2197
|
+
async_req=params.get('async_req'),
|
|
2198
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2199
|
+
_preload_content=params.get('_preload_content', True),
|
|
2200
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2201
|
+
collection_formats=collection_formats)
|