tb-rest-client 3.9.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 +66 -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 +563 -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 +1295 -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_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +563 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +508 -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/qr_code_settings_controller_api.py +508 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +352 -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/rule_engine_controller_api.py +515 -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 +67 -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 +915 -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_bundle_controller_api.py +562 -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/qr_code_settings_controller_api.py +595 -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 +493 -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_mobile_page.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/dashboard_page.py +98 -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/debug_settings.py +182 -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_mobile_page.py +98 -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_mobile_info.py +176 -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_bundle.py +375 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_id.py +154 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_info.py +487 -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_app_version_info.py +210 -0
- tb_rest_client/models/models_ce/mobile_layout_config.py +126 -0
- tb_rest_client/models/models_ce/mobile_page.py +158 -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.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_bundle_info.py +196 -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/qr_code_settings.py +399 -0
- tb_rest_client/models/models_ce/qr_code_settings_id.py +127 -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/resource_export_data.py +384 -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/store_info.py +176 -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_mobile_info.py +228 -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/web_view_page.py +98 -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 +413 -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/captcha_params.py +132 -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_dashboard_params.py +154 -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/enterprise_captcha_params.py +98 -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_export_data_object.py +210 -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_redirect_params.py +154 -0
- tb_rest_client/models/models_pe/mobile_self_registration_params.py +98 -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_rule_trigger_config.py +135 -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_field.py +184 -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/task_processing_failure_notification_rule_trigger_config.py +98 -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/v2_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/v3_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/vendor.py +150 -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/web_self_registration_params.py +98 -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 +2193 -0
- tb_rest_client/rest_client_ce.py +1284 -0
- tb_rest_client/rest_client_pe.py +1910 -0
- tb_rest_client-3.9.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.9.0.dist-info/METADATA +80 -0
- tb_rest_client-3.9.0.dist-info/RECORD +1111 -0
- tb_rest_client-3.9.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1592 @@
|
|
|
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.9.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2025. 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 IntegrationControllerApi(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_integration_to_edge_using_post(self, edge_id, integration_id, **kwargs): # noqa: E501
|
|
50
|
+
"""Assign integration to edge (assignIntegrationToEdge) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Creates assignment of an existing integration edge template 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 integration (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once integration will be delivered to edge service, it's going to start locally. Only integration edge template 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_integration_to_edge_using_post(edge_id, integration_id, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str edge_id: edgeId (required)
|
|
60
|
+
:param str integration_id: integrationId (required)
|
|
61
|
+
:return: Integration
|
|
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_integration_to_edge_using_post_with_http_info(edge_id, integration_id, **kwargs) # noqa: E501
|
|
68
|
+
else:
|
|
69
|
+
(data) = self.assign_integration_to_edge_using_post_with_http_info(edge_id, integration_id, **kwargs) # noqa: E501
|
|
70
|
+
return data
|
|
71
|
+
|
|
72
|
+
def assign_integration_to_edge_using_post_with_http_info(self, edge_id, integration_id, **kwargs): # noqa: E501
|
|
73
|
+
"""Assign integration to edge (assignIntegrationToEdge) # noqa: E501
|
|
74
|
+
|
|
75
|
+
Creates assignment of an existing integration edge template 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 integration (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once integration will be delivered to edge service, it's going to start locally. Only integration edge template 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_integration_to_edge_using_post_with_http_info(edge_id, integration_id, async_req=True)
|
|
79
|
+
>>> result = thread.get()
|
|
80
|
+
|
|
81
|
+
:param async_req bool
|
|
82
|
+
:param str edge_id: edgeId (required)
|
|
83
|
+
:param str integration_id: integrationId (required)
|
|
84
|
+
:return: Integration
|
|
85
|
+
If the method is called asynchronously,
|
|
86
|
+
returns the request thread.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
all_params = ['edge_id', 'integration_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_integration_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_integration_to_edge_using_post`") # noqa: E501
|
|
108
|
+
# verify the required parameter 'integration_id' is set
|
|
109
|
+
if ('integration_id' not in params or
|
|
110
|
+
params['integration_id'] is None):
|
|
111
|
+
raise ValueError("Missing the required parameter `integration_id` when calling `assign_integration_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 'integration_id' in params:
|
|
119
|
+
path_params['integrationId'] = params['integration_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}/integration/{integrationId}', '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='Integration', # 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 check_integration_connection_using_post(self, **kwargs): # noqa: E501
|
|
153
|
+
"""Check integration connectivity (checkIntegrationConnection) # noqa: E501
|
|
154
|
+
|
|
155
|
+
Checks if the connection to the integration is established. Throws an error if the connection is not established. Example: Failed to connect to MQTT broker at host:port. # 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.check_integration_connection_using_post(async_req=True)
|
|
159
|
+
>>> result = thread.get()
|
|
160
|
+
|
|
161
|
+
:param async_req bool
|
|
162
|
+
:param Integration body:
|
|
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.check_integration_connection_using_post_with_http_info(**kwargs) # noqa: E501
|
|
170
|
+
else:
|
|
171
|
+
(data) = self.check_integration_connection_using_post_with_http_info(**kwargs) # noqa: E501
|
|
172
|
+
return data
|
|
173
|
+
|
|
174
|
+
def check_integration_connection_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
175
|
+
"""Check integration connectivity (checkIntegrationConnection) # noqa: E501
|
|
176
|
+
|
|
177
|
+
Checks if the connection to the integration is established. Throws an error if the connection is not established. Example: Failed to connect to MQTT broker at host:port. # 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.check_integration_connection_using_post_with_http_info(async_req=True)
|
|
181
|
+
>>> result = thread.get()
|
|
182
|
+
|
|
183
|
+
:param async_req bool
|
|
184
|
+
:param Integration body:
|
|
185
|
+
:return: None
|
|
186
|
+
If the method is called asynchronously,
|
|
187
|
+
returns the request thread.
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
all_params = ['body'] # 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 check_integration_connection_using_post" % key
|
|
202
|
+
)
|
|
203
|
+
params[key] = val
|
|
204
|
+
del params['kwargs']
|
|
205
|
+
|
|
206
|
+
collection_formats = {}
|
|
207
|
+
|
|
208
|
+
path_params = {}
|
|
209
|
+
|
|
210
|
+
query_params = []
|
|
211
|
+
|
|
212
|
+
header_params = {}
|
|
213
|
+
|
|
214
|
+
form_params = []
|
|
215
|
+
local_var_files = {}
|
|
216
|
+
|
|
217
|
+
body_params = None
|
|
218
|
+
if 'body' in params:
|
|
219
|
+
body_params = params['body']
|
|
220
|
+
# HTTP header `Accept`
|
|
221
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
222
|
+
['application/json']) # noqa: E501
|
|
223
|
+
|
|
224
|
+
# HTTP header `Content-Type`
|
|
225
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
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/integration/check', 'POST',
|
|
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 delete_integration_using_delete(self, integration_id, **kwargs): # noqa: E501
|
|
248
|
+
"""Delete integration (deleteIntegration) # noqa: E501
|
|
249
|
+
|
|
250
|
+
Deletes the integration and all the relations (from and to the integration). Referencing non-existing integration Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # 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.delete_integration_using_delete(integration_id, async_req=True)
|
|
254
|
+
>>> result = thread.get()
|
|
255
|
+
|
|
256
|
+
:param async_req bool
|
|
257
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
258
|
+
:return: None
|
|
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.delete_integration_using_delete_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
265
|
+
else:
|
|
266
|
+
(data) = self.delete_integration_using_delete_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
267
|
+
return data
|
|
268
|
+
|
|
269
|
+
def delete_integration_using_delete_with_http_info(self, integration_id, **kwargs): # noqa: E501
|
|
270
|
+
"""Delete integration (deleteIntegration) # noqa: E501
|
|
271
|
+
|
|
272
|
+
Deletes the integration and all the relations (from and to the integration). Referencing non-existing integration Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # 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.delete_integration_using_delete_with_http_info(integration_id, async_req=True)
|
|
276
|
+
>>> result = thread.get()
|
|
277
|
+
|
|
278
|
+
:param async_req bool
|
|
279
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
280
|
+
:return: None
|
|
281
|
+
If the method is called asynchronously,
|
|
282
|
+
returns the request thread.
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
all_params = ['integration_id'] # 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 delete_integration_using_delete" % key
|
|
297
|
+
)
|
|
298
|
+
params[key] = val
|
|
299
|
+
del params['kwargs']
|
|
300
|
+
# verify the required parameter 'integration_id' is set
|
|
301
|
+
if ('integration_id' not in params or
|
|
302
|
+
params['integration_id'] is None):
|
|
303
|
+
raise ValueError("Missing the required parameter `integration_id` when calling `delete_integration_using_delete`") # noqa: E501
|
|
304
|
+
|
|
305
|
+
collection_formats = {}
|
|
306
|
+
|
|
307
|
+
path_params = {}
|
|
308
|
+
if 'integration_id' in params:
|
|
309
|
+
path_params['integrationId'] = params['integration_id'] # noqa: E501
|
|
310
|
+
|
|
311
|
+
query_params = []
|
|
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/integration/{integrationId}', 'DELETE',
|
|
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=None, # 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 find_all_related_edges_missing_attributes_using_get(self, integration_id, **kwargs): # noqa: E501
|
|
343
|
+
"""Find missing attributes for all related edges (findAllRelatedEdgesMissingAttributes) # noqa: E501
|
|
344
|
+
|
|
345
|
+
Returns list of attribute names of all related edges that are missing in the integration configuration. 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.find_all_related_edges_missing_attributes_using_get(integration_id, async_req=True)
|
|
349
|
+
>>> result = thread.get()
|
|
350
|
+
|
|
351
|
+
:param async_req bool
|
|
352
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
353
|
+
:return: str
|
|
354
|
+
If the method is called asynchronously,
|
|
355
|
+
returns the request thread.
|
|
356
|
+
"""
|
|
357
|
+
kwargs['_return_http_data_only'] = True
|
|
358
|
+
if kwargs.get('async_req'):
|
|
359
|
+
return self.find_all_related_edges_missing_attributes_using_get_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
360
|
+
else:
|
|
361
|
+
(data) = self.find_all_related_edges_missing_attributes_using_get_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
362
|
+
return data
|
|
363
|
+
|
|
364
|
+
def find_all_related_edges_missing_attributes_using_get_with_http_info(self, integration_id, **kwargs): # noqa: E501
|
|
365
|
+
"""Find missing attributes for all related edges (findAllRelatedEdgesMissingAttributes) # noqa: E501
|
|
366
|
+
|
|
367
|
+
Returns list of attribute names of all related edges that are missing in the integration configuration. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
368
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
369
|
+
asynchronous HTTP request, please pass async_req=True
|
|
370
|
+
>>> thread = api.find_all_related_edges_missing_attributes_using_get_with_http_info(integration_id, async_req=True)
|
|
371
|
+
>>> result = thread.get()
|
|
372
|
+
|
|
373
|
+
:param async_req bool
|
|
374
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
375
|
+
:return: str
|
|
376
|
+
If the method is called asynchronously,
|
|
377
|
+
returns the request thread.
|
|
378
|
+
"""
|
|
379
|
+
|
|
380
|
+
all_params = ['integration_id'] # noqa: E501
|
|
381
|
+
all_params.append('async_req')
|
|
382
|
+
all_params.append('_return_http_data_only')
|
|
383
|
+
all_params.append('_preload_content')
|
|
384
|
+
all_params.append('_request_timeout')
|
|
385
|
+
|
|
386
|
+
params = locals()
|
|
387
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
388
|
+
if key not in all_params:
|
|
389
|
+
raise TypeError(
|
|
390
|
+
"Got an unexpected keyword argument '%s'"
|
|
391
|
+
" to method find_all_related_edges_missing_attributes_using_get" % key
|
|
392
|
+
)
|
|
393
|
+
params[key] = val
|
|
394
|
+
del params['kwargs']
|
|
395
|
+
# verify the required parameter 'integration_id' is set
|
|
396
|
+
if ('integration_id' not in params or
|
|
397
|
+
params['integration_id'] is None):
|
|
398
|
+
raise ValueError("Missing the required parameter `integration_id` when calling `find_all_related_edges_missing_attributes_using_get`") # noqa: E501
|
|
399
|
+
|
|
400
|
+
collection_formats = {}
|
|
401
|
+
|
|
402
|
+
path_params = {}
|
|
403
|
+
if 'integration_id' in params:
|
|
404
|
+
path_params['integrationId'] = params['integration_id'] # noqa: E501
|
|
405
|
+
|
|
406
|
+
query_params = []
|
|
407
|
+
|
|
408
|
+
header_params = {}
|
|
409
|
+
|
|
410
|
+
form_params = []
|
|
411
|
+
local_var_files = {}
|
|
412
|
+
|
|
413
|
+
body_params = None
|
|
414
|
+
# HTTP header `Accept`
|
|
415
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
416
|
+
['application/json']) # noqa: E501
|
|
417
|
+
|
|
418
|
+
# Authentication setting
|
|
419
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
420
|
+
|
|
421
|
+
return self.api_client.call_api(
|
|
422
|
+
'/api/edge/integration/{integrationId}/allMissingAttributes', 'GET',
|
|
423
|
+
path_params,
|
|
424
|
+
query_params,
|
|
425
|
+
header_params,
|
|
426
|
+
body=body_params,
|
|
427
|
+
post_params=form_params,
|
|
428
|
+
files=local_var_files,
|
|
429
|
+
response_type='str', # noqa: E501
|
|
430
|
+
auth_settings=auth_settings,
|
|
431
|
+
async_req=params.get('async_req'),
|
|
432
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
433
|
+
_preload_content=params.get('_preload_content', True),
|
|
434
|
+
_request_timeout=params.get('_request_timeout'),
|
|
435
|
+
collection_formats=collection_formats)
|
|
436
|
+
|
|
437
|
+
def find_edge_missing_attributes_using_get(self, edge_id, integration_ids, **kwargs): # noqa: E501
|
|
438
|
+
"""Find edge missing attributes for assigned integrations (findEdgeMissingAttributes) # noqa: E501
|
|
439
|
+
|
|
440
|
+
Returns list of edge attribute names that are missing in assigned integrations. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
441
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
442
|
+
asynchronous HTTP request, please pass async_req=True
|
|
443
|
+
>>> thread = api.find_edge_missing_attributes_using_get(edge_id, integration_ids, async_req=True)
|
|
444
|
+
>>> result = thread.get()
|
|
445
|
+
|
|
446
|
+
:param async_req bool
|
|
447
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
448
|
+
:param str integration_ids: A list of assigned integration ids, separated by comma ',' (required)
|
|
449
|
+
:return: str
|
|
450
|
+
If the method is called asynchronously,
|
|
451
|
+
returns the request thread.
|
|
452
|
+
"""
|
|
453
|
+
kwargs['_return_http_data_only'] = True
|
|
454
|
+
if kwargs.get('async_req'):
|
|
455
|
+
return self.find_edge_missing_attributes_using_get_with_http_info(edge_id, integration_ids, **kwargs) # noqa: E501
|
|
456
|
+
else:
|
|
457
|
+
(data) = self.find_edge_missing_attributes_using_get_with_http_info(edge_id, integration_ids, **kwargs) # noqa: E501
|
|
458
|
+
return data
|
|
459
|
+
|
|
460
|
+
def find_edge_missing_attributes_using_get_with_http_info(self, edge_id, integration_ids, **kwargs): # noqa: E501
|
|
461
|
+
"""Find edge missing attributes for assigned integrations (findEdgeMissingAttributes) # noqa: E501
|
|
462
|
+
|
|
463
|
+
Returns list of edge attribute names that are missing in assigned integrations. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
466
|
+
>>> thread = api.find_edge_missing_attributes_using_get_with_http_info(edge_id, integration_ids, async_req=True)
|
|
467
|
+
>>> result = thread.get()
|
|
468
|
+
|
|
469
|
+
:param async_req bool
|
|
470
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
471
|
+
:param str integration_ids: A list of assigned integration ids, separated by comma ',' (required)
|
|
472
|
+
:return: str
|
|
473
|
+
If the method is called asynchronously,
|
|
474
|
+
returns the request thread.
|
|
475
|
+
"""
|
|
476
|
+
|
|
477
|
+
all_params = ['edge_id', 'integration_ids'] # 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 find_edge_missing_attributes_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 `find_edge_missing_attributes_using_get`") # noqa: E501
|
|
496
|
+
# verify the required parameter 'integration_ids' is set
|
|
497
|
+
if ('integration_ids' not in params or
|
|
498
|
+
params['integration_ids'] is None):
|
|
499
|
+
raise ValueError("Missing the required parameter `integration_ids` when calling `find_edge_missing_attributes_using_get`") # noqa: E501
|
|
500
|
+
|
|
501
|
+
collection_formats = {}
|
|
502
|
+
|
|
503
|
+
path_params = {}
|
|
504
|
+
if 'edge_id' in params:
|
|
505
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
506
|
+
|
|
507
|
+
query_params = []
|
|
508
|
+
if 'integration_ids' in params:
|
|
509
|
+
query_params.append(('integrationIds', params['integration_ids'])) # noqa: E501
|
|
510
|
+
|
|
511
|
+
header_params = {}
|
|
512
|
+
|
|
513
|
+
form_params = []
|
|
514
|
+
local_var_files = {}
|
|
515
|
+
|
|
516
|
+
body_params = None
|
|
517
|
+
# HTTP header `Accept`
|
|
518
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
519
|
+
['application/json']) # noqa: E501
|
|
520
|
+
|
|
521
|
+
# Authentication setting
|
|
522
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
523
|
+
|
|
524
|
+
return self.api_client.call_api(
|
|
525
|
+
'/api/edge/integration/{edgeId}/missingAttributes{?integrationIds}', 'GET',
|
|
526
|
+
path_params,
|
|
527
|
+
query_params,
|
|
528
|
+
header_params,
|
|
529
|
+
body=body_params,
|
|
530
|
+
post_params=form_params,
|
|
531
|
+
files=local_var_files,
|
|
532
|
+
response_type='str', # noqa: E501
|
|
533
|
+
auth_settings=auth_settings,
|
|
534
|
+
async_req=params.get('async_req'),
|
|
535
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
536
|
+
_preload_content=params.get('_preload_content', True),
|
|
537
|
+
_request_timeout=params.get('_request_timeout'),
|
|
538
|
+
collection_formats=collection_formats)
|
|
539
|
+
|
|
540
|
+
def get_edge_integration_infos_using_get(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
541
|
+
"""Get Edge Integrations (getEdgeIntegrationInfos) # noqa: E501
|
|
542
|
+
|
|
543
|
+
Returns a page of Integrations assigned to the specified edge. The integration object contains information about the Integration, including the heavyweight configuration 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
|
|
544
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
545
|
+
asynchronous HTTP request, please pass async_req=True
|
|
546
|
+
>>> thread = api.get_edge_integration_infos_using_get(edge_id, page_size, page, async_req=True)
|
|
547
|
+
>>> result = thread.get()
|
|
548
|
+
|
|
549
|
+
:param async_req bool
|
|
550
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
551
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
552
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
553
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
554
|
+
:param str sort_property: Property of entity to sort by
|
|
555
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
556
|
+
:return: PageDataIntegrationInfo
|
|
557
|
+
If the method is called asynchronously,
|
|
558
|
+
returns the request thread.
|
|
559
|
+
"""
|
|
560
|
+
kwargs['_return_http_data_only'] = True
|
|
561
|
+
if kwargs.get('async_req'):
|
|
562
|
+
return self.get_edge_integration_infos_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
563
|
+
else:
|
|
564
|
+
(data) = self.get_edge_integration_infos_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
565
|
+
return data
|
|
566
|
+
|
|
567
|
+
def get_edge_integration_infos_using_get_with_http_info(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
568
|
+
"""Get Edge Integrations (getEdgeIntegrationInfos) # noqa: E501
|
|
569
|
+
|
|
570
|
+
Returns a page of Integrations assigned to the specified edge. The integration object contains information about the Integration, including the heavyweight configuration 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
|
|
571
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
572
|
+
asynchronous HTTP request, please pass async_req=True
|
|
573
|
+
>>> thread = api.get_edge_integration_infos_using_get_with_http_info(edge_id, page_size, page, async_req=True)
|
|
574
|
+
>>> result = thread.get()
|
|
575
|
+
|
|
576
|
+
:param async_req bool
|
|
577
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
578
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
579
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
580
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
581
|
+
:param str sort_property: Property of entity to sort by
|
|
582
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
583
|
+
:return: PageDataIntegrationInfo
|
|
584
|
+
If the method is called asynchronously,
|
|
585
|
+
returns the request thread.
|
|
586
|
+
"""
|
|
587
|
+
|
|
588
|
+
all_params = ['edge_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
589
|
+
all_params.append('async_req')
|
|
590
|
+
all_params.append('_return_http_data_only')
|
|
591
|
+
all_params.append('_preload_content')
|
|
592
|
+
all_params.append('_request_timeout')
|
|
593
|
+
|
|
594
|
+
params = locals()
|
|
595
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
596
|
+
if key not in all_params:
|
|
597
|
+
raise TypeError(
|
|
598
|
+
"Got an unexpected keyword argument '%s'"
|
|
599
|
+
" to method get_edge_integration_infos_using_get" % key
|
|
600
|
+
)
|
|
601
|
+
params[key] = val
|
|
602
|
+
del params['kwargs']
|
|
603
|
+
# verify the required parameter 'edge_id' is set
|
|
604
|
+
if ('edge_id' not in params or
|
|
605
|
+
params['edge_id'] is None):
|
|
606
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_integration_infos_using_get`") # noqa: E501
|
|
607
|
+
# verify the required parameter 'page_size' is set
|
|
608
|
+
if ('page_size' not in params or
|
|
609
|
+
params['page_size'] is None):
|
|
610
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_edge_integration_infos_using_get`") # noqa: E501
|
|
611
|
+
# verify the required parameter 'page' is set
|
|
612
|
+
if ('page' not in params or
|
|
613
|
+
params['page'] is None):
|
|
614
|
+
raise ValueError("Missing the required parameter `page` when calling `get_edge_integration_infos_using_get`") # noqa: E501
|
|
615
|
+
|
|
616
|
+
collection_formats = {}
|
|
617
|
+
|
|
618
|
+
path_params = {}
|
|
619
|
+
if 'edge_id' in params:
|
|
620
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
621
|
+
|
|
622
|
+
query_params = []
|
|
623
|
+
if 'page_size' in params:
|
|
624
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
625
|
+
if 'page' in params:
|
|
626
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
627
|
+
if 'text_search' in params:
|
|
628
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
629
|
+
if 'sort_property' in params:
|
|
630
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
631
|
+
if 'sort_order' in params:
|
|
632
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
633
|
+
|
|
634
|
+
header_params = {}
|
|
635
|
+
|
|
636
|
+
form_params = []
|
|
637
|
+
local_var_files = {}
|
|
638
|
+
|
|
639
|
+
body_params = None
|
|
640
|
+
# HTTP header `Accept`
|
|
641
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
642
|
+
['application/json']) # noqa: E501
|
|
643
|
+
|
|
644
|
+
# Authentication setting
|
|
645
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
646
|
+
|
|
647
|
+
return self.api_client.call_api(
|
|
648
|
+
'/api/edge/{edgeId}/integrationInfos{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
649
|
+
path_params,
|
|
650
|
+
query_params,
|
|
651
|
+
header_params,
|
|
652
|
+
body=body_params,
|
|
653
|
+
post_params=form_params,
|
|
654
|
+
files=local_var_files,
|
|
655
|
+
response_type='PageDataIntegrationInfo', # noqa: E501
|
|
656
|
+
auth_settings=auth_settings,
|
|
657
|
+
async_req=params.get('async_req'),
|
|
658
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
659
|
+
_preload_content=params.get('_preload_content', True),
|
|
660
|
+
_request_timeout=params.get('_request_timeout'),
|
|
661
|
+
collection_formats=collection_formats)
|
|
662
|
+
|
|
663
|
+
def get_edge_integrations_using_get(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
664
|
+
"""Get Edge Integrations (getEdgeIntegrations) # noqa: E501
|
|
665
|
+
|
|
666
|
+
Returns a page of Integrations assigned to the specified edge. The integration object contains information about the Integration, including the heavyweight configuration 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
|
|
667
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
668
|
+
asynchronous HTTP request, please pass async_req=True
|
|
669
|
+
>>> thread = api.get_edge_integrations_using_get(edge_id, page_size, page, async_req=True)
|
|
670
|
+
>>> result = thread.get()
|
|
671
|
+
|
|
672
|
+
:param async_req bool
|
|
673
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
674
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
675
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
676
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
677
|
+
:param str sort_property: Property of entity to sort by
|
|
678
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
679
|
+
:return: PageDataIntegration
|
|
680
|
+
If the method is called asynchronously,
|
|
681
|
+
returns the request thread.
|
|
682
|
+
"""
|
|
683
|
+
kwargs['_return_http_data_only'] = True
|
|
684
|
+
if kwargs.get('async_req'):
|
|
685
|
+
return self.get_edge_integrations_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
686
|
+
else:
|
|
687
|
+
(data) = self.get_edge_integrations_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
|
|
688
|
+
return data
|
|
689
|
+
|
|
690
|
+
def get_edge_integrations_using_get_with_http_info(self, edge_id, page_size, page, **kwargs): # noqa: E501
|
|
691
|
+
"""Get Edge Integrations (getEdgeIntegrations) # noqa: E501
|
|
692
|
+
|
|
693
|
+
Returns a page of Integrations assigned to the specified edge. The integration object contains information about the Integration, including the heavyweight configuration 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
|
|
694
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
695
|
+
asynchronous HTTP request, please pass async_req=True
|
|
696
|
+
>>> thread = api.get_edge_integrations_using_get_with_http_info(edge_id, page_size, page, async_req=True)
|
|
697
|
+
>>> result = thread.get()
|
|
698
|
+
|
|
699
|
+
:param async_req bool
|
|
700
|
+
:param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
701
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
702
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
703
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
704
|
+
:param str sort_property: Property of entity to sort by
|
|
705
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
706
|
+
:return: PageDataIntegration
|
|
707
|
+
If the method is called asynchronously,
|
|
708
|
+
returns the request thread.
|
|
709
|
+
"""
|
|
710
|
+
|
|
711
|
+
all_params = ['edge_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
712
|
+
all_params.append('async_req')
|
|
713
|
+
all_params.append('_return_http_data_only')
|
|
714
|
+
all_params.append('_preload_content')
|
|
715
|
+
all_params.append('_request_timeout')
|
|
716
|
+
|
|
717
|
+
params = locals()
|
|
718
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
719
|
+
if key not in all_params:
|
|
720
|
+
raise TypeError(
|
|
721
|
+
"Got an unexpected keyword argument '%s'"
|
|
722
|
+
" to method get_edge_integrations_using_get" % key
|
|
723
|
+
)
|
|
724
|
+
params[key] = val
|
|
725
|
+
del params['kwargs']
|
|
726
|
+
# verify the required parameter 'edge_id' is set
|
|
727
|
+
if ('edge_id' not in params or
|
|
728
|
+
params['edge_id'] is None):
|
|
729
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_integrations_using_get`") # noqa: E501
|
|
730
|
+
# verify the required parameter 'page_size' is set
|
|
731
|
+
if ('page_size' not in params or
|
|
732
|
+
params['page_size'] is None):
|
|
733
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_edge_integrations_using_get`") # noqa: E501
|
|
734
|
+
# verify the required parameter 'page' is set
|
|
735
|
+
if ('page' not in params or
|
|
736
|
+
params['page'] is None):
|
|
737
|
+
raise ValueError("Missing the required parameter `page` when calling `get_edge_integrations_using_get`") # noqa: E501
|
|
738
|
+
|
|
739
|
+
collection_formats = {}
|
|
740
|
+
|
|
741
|
+
path_params = {}
|
|
742
|
+
if 'edge_id' in params:
|
|
743
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
744
|
+
|
|
745
|
+
query_params = []
|
|
746
|
+
if 'page_size' in params:
|
|
747
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
748
|
+
if 'page' in params:
|
|
749
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
750
|
+
if 'text_search' in params:
|
|
751
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
752
|
+
if 'sort_property' in params:
|
|
753
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
754
|
+
if 'sort_order' in params:
|
|
755
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
756
|
+
|
|
757
|
+
header_params = {}
|
|
758
|
+
|
|
759
|
+
form_params = []
|
|
760
|
+
local_var_files = {}
|
|
761
|
+
|
|
762
|
+
body_params = None
|
|
763
|
+
# HTTP header `Accept`
|
|
764
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
765
|
+
['application/json']) # noqa: E501
|
|
766
|
+
|
|
767
|
+
# Authentication setting
|
|
768
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
769
|
+
|
|
770
|
+
return self.api_client.call_api(
|
|
771
|
+
'/api/edge/{edgeId}/integrations{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
772
|
+
path_params,
|
|
773
|
+
query_params,
|
|
774
|
+
header_params,
|
|
775
|
+
body=body_params,
|
|
776
|
+
post_params=form_params,
|
|
777
|
+
files=local_var_files,
|
|
778
|
+
response_type='PageDataIntegration', # noqa: E501
|
|
779
|
+
auth_settings=auth_settings,
|
|
780
|
+
async_req=params.get('async_req'),
|
|
781
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
782
|
+
_preload_content=params.get('_preload_content', True),
|
|
783
|
+
_request_timeout=params.get('_request_timeout'),
|
|
784
|
+
collection_formats=collection_formats)
|
|
785
|
+
|
|
786
|
+
def get_integration_by_id_using_get(self, integration_id, **kwargs): # noqa: E501
|
|
787
|
+
"""Get Integration (getIntegrationById) # noqa: E501
|
|
788
|
+
|
|
789
|
+
Fetch the Integration object based on the provided Integration Id. The server checks that the integration is owned by the same tenant. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
790
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
791
|
+
asynchronous HTTP request, please pass async_req=True
|
|
792
|
+
>>> thread = api.get_integration_by_id_using_get(integration_id, async_req=True)
|
|
793
|
+
>>> result = thread.get()
|
|
794
|
+
|
|
795
|
+
:param async_req bool
|
|
796
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
797
|
+
:return: Integration
|
|
798
|
+
If the method is called asynchronously,
|
|
799
|
+
returns the request thread.
|
|
800
|
+
"""
|
|
801
|
+
kwargs['_return_http_data_only'] = True
|
|
802
|
+
if kwargs.get('async_req'):
|
|
803
|
+
return self.get_integration_by_id_using_get_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
804
|
+
else:
|
|
805
|
+
(data) = self.get_integration_by_id_using_get_with_http_info(integration_id, **kwargs) # noqa: E501
|
|
806
|
+
return data
|
|
807
|
+
|
|
808
|
+
def get_integration_by_id_using_get_with_http_info(self, integration_id, **kwargs): # noqa: E501
|
|
809
|
+
"""Get Integration (getIntegrationById) # noqa: E501
|
|
810
|
+
|
|
811
|
+
Fetch the Integration object based on the provided Integration Id. The server checks that the integration is owned by the same tenant. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
812
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
813
|
+
asynchronous HTTP request, please pass async_req=True
|
|
814
|
+
>>> thread = api.get_integration_by_id_using_get_with_http_info(integration_id, async_req=True)
|
|
815
|
+
>>> result = thread.get()
|
|
816
|
+
|
|
817
|
+
:param async_req bool
|
|
818
|
+
:param str integration_id: A string value representing the integration id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
819
|
+
:return: Integration
|
|
820
|
+
If the method is called asynchronously,
|
|
821
|
+
returns the request thread.
|
|
822
|
+
"""
|
|
823
|
+
|
|
824
|
+
all_params = ['integration_id'] # noqa: E501
|
|
825
|
+
all_params.append('async_req')
|
|
826
|
+
all_params.append('_return_http_data_only')
|
|
827
|
+
all_params.append('_preload_content')
|
|
828
|
+
all_params.append('_request_timeout')
|
|
829
|
+
|
|
830
|
+
params = locals()
|
|
831
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
832
|
+
if key not in all_params:
|
|
833
|
+
raise TypeError(
|
|
834
|
+
"Got an unexpected keyword argument '%s'"
|
|
835
|
+
" to method get_integration_by_id_using_get" % key
|
|
836
|
+
)
|
|
837
|
+
params[key] = val
|
|
838
|
+
del params['kwargs']
|
|
839
|
+
# verify the required parameter 'integration_id' is set
|
|
840
|
+
if ('integration_id' not in params or
|
|
841
|
+
params['integration_id'] is None):
|
|
842
|
+
raise ValueError("Missing the required parameter `integration_id` when calling `get_integration_by_id_using_get`") # noqa: E501
|
|
843
|
+
|
|
844
|
+
collection_formats = {}
|
|
845
|
+
|
|
846
|
+
path_params = {}
|
|
847
|
+
if 'integration_id' in params:
|
|
848
|
+
path_params['integrationId'] = params['integration_id'] # noqa: E501
|
|
849
|
+
|
|
850
|
+
query_params = []
|
|
851
|
+
|
|
852
|
+
header_params = {}
|
|
853
|
+
|
|
854
|
+
form_params = []
|
|
855
|
+
local_var_files = {}
|
|
856
|
+
|
|
857
|
+
body_params = None
|
|
858
|
+
# HTTP header `Accept`
|
|
859
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
860
|
+
['application/json']) # noqa: E501
|
|
861
|
+
|
|
862
|
+
# Authentication setting
|
|
863
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
864
|
+
|
|
865
|
+
return self.api_client.call_api(
|
|
866
|
+
'/api/integration/{integrationId}', 'GET',
|
|
867
|
+
path_params,
|
|
868
|
+
query_params,
|
|
869
|
+
header_params,
|
|
870
|
+
body=body_params,
|
|
871
|
+
post_params=form_params,
|
|
872
|
+
files=local_var_files,
|
|
873
|
+
response_type='Integration', # noqa: E501
|
|
874
|
+
auth_settings=auth_settings,
|
|
875
|
+
async_req=params.get('async_req'),
|
|
876
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
877
|
+
_preload_content=params.get('_preload_content', True),
|
|
878
|
+
_request_timeout=params.get('_request_timeout'),
|
|
879
|
+
collection_formats=collection_formats)
|
|
880
|
+
|
|
881
|
+
def get_integration_by_routing_key_using_get(self, routing_key, **kwargs): # noqa: E501
|
|
882
|
+
"""Get Integration by Routing Key (getIntegrationByRoutingKey) # noqa: E501
|
|
883
|
+
|
|
884
|
+
Fetch the Integration object based on the provided routing key. The server checks that the integration is owned by the same tenant. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
885
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
886
|
+
asynchronous HTTP request, please pass async_req=True
|
|
887
|
+
>>> thread = api.get_integration_by_routing_key_using_get(routing_key, async_req=True)
|
|
888
|
+
>>> result = thread.get()
|
|
889
|
+
|
|
890
|
+
:param async_req bool
|
|
891
|
+
:param str routing_key: A string value representing the integration routing key. For example, '542047e6-c1b2-112e-a87e-e49247c09d4b' (required)
|
|
892
|
+
:return: Integration
|
|
893
|
+
If the method is called asynchronously,
|
|
894
|
+
returns the request thread.
|
|
895
|
+
"""
|
|
896
|
+
kwargs['_return_http_data_only'] = True
|
|
897
|
+
if kwargs.get('async_req'):
|
|
898
|
+
return self.get_integration_by_routing_key_using_get_with_http_info(routing_key, **kwargs) # noqa: E501
|
|
899
|
+
else:
|
|
900
|
+
(data) = self.get_integration_by_routing_key_using_get_with_http_info(routing_key, **kwargs) # noqa: E501
|
|
901
|
+
return data
|
|
902
|
+
|
|
903
|
+
def get_integration_by_routing_key_using_get_with_http_info(self, routing_key, **kwargs): # noqa: E501
|
|
904
|
+
"""Get Integration by Routing Key (getIntegrationByRoutingKey) # noqa: E501
|
|
905
|
+
|
|
906
|
+
Fetch the Integration object based on the provided routing key. The server checks that the integration is owned by the same tenant. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
907
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
908
|
+
asynchronous HTTP request, please pass async_req=True
|
|
909
|
+
>>> thread = api.get_integration_by_routing_key_using_get_with_http_info(routing_key, async_req=True)
|
|
910
|
+
>>> result = thread.get()
|
|
911
|
+
|
|
912
|
+
:param async_req bool
|
|
913
|
+
:param str routing_key: A string value representing the integration routing key. For example, '542047e6-c1b2-112e-a87e-e49247c09d4b' (required)
|
|
914
|
+
:return: Integration
|
|
915
|
+
If the method is called asynchronously,
|
|
916
|
+
returns the request thread.
|
|
917
|
+
"""
|
|
918
|
+
|
|
919
|
+
all_params = ['routing_key'] # noqa: E501
|
|
920
|
+
all_params.append('async_req')
|
|
921
|
+
all_params.append('_return_http_data_only')
|
|
922
|
+
all_params.append('_preload_content')
|
|
923
|
+
all_params.append('_request_timeout')
|
|
924
|
+
|
|
925
|
+
params = locals()
|
|
926
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
927
|
+
if key not in all_params:
|
|
928
|
+
raise TypeError(
|
|
929
|
+
"Got an unexpected keyword argument '%s'"
|
|
930
|
+
" to method get_integration_by_routing_key_using_get" % key
|
|
931
|
+
)
|
|
932
|
+
params[key] = val
|
|
933
|
+
del params['kwargs']
|
|
934
|
+
# verify the required parameter 'routing_key' is set
|
|
935
|
+
if ('routing_key' not in params or
|
|
936
|
+
params['routing_key'] is None):
|
|
937
|
+
raise ValueError("Missing the required parameter `routing_key` when calling `get_integration_by_routing_key_using_get`") # noqa: E501
|
|
938
|
+
|
|
939
|
+
collection_formats = {}
|
|
940
|
+
|
|
941
|
+
path_params = {}
|
|
942
|
+
if 'routing_key' in params:
|
|
943
|
+
path_params['routingKey'] = params['routing_key'] # noqa: E501
|
|
944
|
+
|
|
945
|
+
query_params = []
|
|
946
|
+
|
|
947
|
+
header_params = {}
|
|
948
|
+
|
|
949
|
+
form_params = []
|
|
950
|
+
local_var_files = {}
|
|
951
|
+
|
|
952
|
+
body_params = None
|
|
953
|
+
# HTTP header `Accept`
|
|
954
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
955
|
+
['application/json']) # noqa: E501
|
|
956
|
+
|
|
957
|
+
# Authentication setting
|
|
958
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
959
|
+
|
|
960
|
+
return self.api_client.call_api(
|
|
961
|
+
'/api/integration/routingKey/{routingKey}', 'GET',
|
|
962
|
+
path_params,
|
|
963
|
+
query_params,
|
|
964
|
+
header_params,
|
|
965
|
+
body=body_params,
|
|
966
|
+
post_params=form_params,
|
|
967
|
+
files=local_var_files,
|
|
968
|
+
response_type='Integration', # noqa: E501
|
|
969
|
+
auth_settings=auth_settings,
|
|
970
|
+
async_req=params.get('async_req'),
|
|
971
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
972
|
+
_preload_content=params.get('_preload_content', True),
|
|
973
|
+
_request_timeout=params.get('_request_timeout'),
|
|
974
|
+
collection_formats=collection_formats)
|
|
975
|
+
|
|
976
|
+
def get_integration_infos_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
977
|
+
"""Get Integration Infos (getIntegrationInfos) # noqa: E501
|
|
978
|
+
|
|
979
|
+
Returns a page of integration infos owned by tenant. 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. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
980
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
981
|
+
asynchronous HTTP request, please pass async_req=True
|
|
982
|
+
>>> thread = api.get_integration_infos_using_get(page_size, page, async_req=True)
|
|
983
|
+
>>> result = thread.get()
|
|
984
|
+
|
|
985
|
+
:param async_req bool
|
|
986
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
987
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
988
|
+
:param bool is_edge_template: Fetch edge template integrations
|
|
989
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
990
|
+
:param str sort_property: Property of entity to sort by
|
|
991
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
992
|
+
:return: PageDataIntegrationInfo
|
|
993
|
+
If the method is called asynchronously,
|
|
994
|
+
returns the request thread.
|
|
995
|
+
"""
|
|
996
|
+
kwargs['_return_http_data_only'] = True
|
|
997
|
+
if kwargs.get('async_req'):
|
|
998
|
+
return self.get_integration_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
999
|
+
else:
|
|
1000
|
+
(data) = self.get_integration_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1001
|
+
return data
|
|
1002
|
+
|
|
1003
|
+
def get_integration_infos_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1004
|
+
"""Get Integration Infos (getIntegrationInfos) # noqa: E501
|
|
1005
|
+
|
|
1006
|
+
Returns a page of integration infos owned by tenant. 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. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1007
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1008
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1009
|
+
>>> thread = api.get_integration_infos_using_get_with_http_info(page_size, page, async_req=True)
|
|
1010
|
+
>>> result = thread.get()
|
|
1011
|
+
|
|
1012
|
+
:param async_req bool
|
|
1013
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1014
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1015
|
+
:param bool is_edge_template: Fetch edge template integrations
|
|
1016
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
1017
|
+
:param str sort_property: Property of entity to sort by
|
|
1018
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1019
|
+
:return: PageDataIntegrationInfo
|
|
1020
|
+
If the method is called asynchronously,
|
|
1021
|
+
returns the request thread.
|
|
1022
|
+
"""
|
|
1023
|
+
|
|
1024
|
+
all_params = ['page_size', 'page', 'is_edge_template', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1025
|
+
all_params.append('async_req')
|
|
1026
|
+
all_params.append('_return_http_data_only')
|
|
1027
|
+
all_params.append('_preload_content')
|
|
1028
|
+
all_params.append('_request_timeout')
|
|
1029
|
+
|
|
1030
|
+
params = locals()
|
|
1031
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1032
|
+
if key not in all_params:
|
|
1033
|
+
raise TypeError(
|
|
1034
|
+
"Got an unexpected keyword argument '%s'"
|
|
1035
|
+
" to method get_integration_infos_using_get" % key
|
|
1036
|
+
)
|
|
1037
|
+
params[key] = val
|
|
1038
|
+
del params['kwargs']
|
|
1039
|
+
# verify the required parameter 'page_size' is set
|
|
1040
|
+
if ('page_size' not in params or
|
|
1041
|
+
params['page_size'] is None):
|
|
1042
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_integration_infos_using_get`") # noqa: E501
|
|
1043
|
+
# verify the required parameter 'page' is set
|
|
1044
|
+
if ('page' not in params or
|
|
1045
|
+
params['page'] is None):
|
|
1046
|
+
raise ValueError("Missing the required parameter `page` when calling `get_integration_infos_using_get`") # noqa: E501
|
|
1047
|
+
|
|
1048
|
+
collection_formats = {}
|
|
1049
|
+
|
|
1050
|
+
path_params = {}
|
|
1051
|
+
|
|
1052
|
+
query_params = []
|
|
1053
|
+
if 'is_edge_template' in params:
|
|
1054
|
+
query_params.append(('isEdgeTemplate', params['is_edge_template'])) # noqa: E501
|
|
1055
|
+
if 'page_size' in params:
|
|
1056
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1057
|
+
if 'page' in params:
|
|
1058
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1059
|
+
if 'text_search' in params:
|
|
1060
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1061
|
+
if 'sort_property' in params:
|
|
1062
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1063
|
+
if 'sort_order' in params:
|
|
1064
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1065
|
+
|
|
1066
|
+
header_params = {}
|
|
1067
|
+
|
|
1068
|
+
form_params = []
|
|
1069
|
+
local_var_files = {}
|
|
1070
|
+
|
|
1071
|
+
body_params = None
|
|
1072
|
+
# HTTP header `Accept`
|
|
1073
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1074
|
+
['application/json']) # noqa: E501
|
|
1075
|
+
|
|
1076
|
+
# Authentication setting
|
|
1077
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1078
|
+
|
|
1079
|
+
return self.api_client.call_api(
|
|
1080
|
+
'/api/integrationInfos{?isEdgeTemplate,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1081
|
+
path_params,
|
|
1082
|
+
query_params,
|
|
1083
|
+
header_params,
|
|
1084
|
+
body=body_params,
|
|
1085
|
+
post_params=form_params,
|
|
1086
|
+
files=local_var_files,
|
|
1087
|
+
response_type='PageDataIntegrationInfo', # noqa: E501
|
|
1088
|
+
auth_settings=auth_settings,
|
|
1089
|
+
async_req=params.get('async_req'),
|
|
1090
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1091
|
+
_preload_content=params.get('_preload_content', True),
|
|
1092
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1093
|
+
collection_formats=collection_formats)
|
|
1094
|
+
|
|
1095
|
+
def get_integrations_by_ids_using_get(self, integration_ids, **kwargs): # noqa: E501
|
|
1096
|
+
"""Get Integrations By Ids (getIntegrationsByIds) # noqa: E501
|
|
1097
|
+
|
|
1098
|
+
Requested integrations must be owned by tenant which is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1099
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1100
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1101
|
+
>>> thread = api.get_integrations_by_ids_using_get(integration_ids, async_req=True)
|
|
1102
|
+
>>> result = thread.get()
|
|
1103
|
+
|
|
1104
|
+
:param async_req bool
|
|
1105
|
+
:param str integration_ids: A list of integration ids, separated by comma ',' (required)
|
|
1106
|
+
:return: list[Integration]
|
|
1107
|
+
If the method is called asynchronously,
|
|
1108
|
+
returns the request thread.
|
|
1109
|
+
"""
|
|
1110
|
+
kwargs['_return_http_data_only'] = True
|
|
1111
|
+
if kwargs.get('async_req'):
|
|
1112
|
+
return self.get_integrations_by_ids_using_get_with_http_info(integration_ids, **kwargs) # noqa: E501
|
|
1113
|
+
else:
|
|
1114
|
+
(data) = self.get_integrations_by_ids_using_get_with_http_info(integration_ids, **kwargs) # noqa: E501
|
|
1115
|
+
return data
|
|
1116
|
+
|
|
1117
|
+
def get_integrations_by_ids_using_get_with_http_info(self, integration_ids, **kwargs): # noqa: E501
|
|
1118
|
+
"""Get Integrations By Ids (getIntegrationsByIds) # noqa: E501
|
|
1119
|
+
|
|
1120
|
+
Requested integrations must be owned by tenant which is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1121
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1122
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1123
|
+
>>> thread = api.get_integrations_by_ids_using_get_with_http_info(integration_ids, async_req=True)
|
|
1124
|
+
>>> result = thread.get()
|
|
1125
|
+
|
|
1126
|
+
:param async_req bool
|
|
1127
|
+
:param str integration_ids: A list of integration ids, separated by comma ',' (required)
|
|
1128
|
+
:return: list[Integration]
|
|
1129
|
+
If the method is called asynchronously,
|
|
1130
|
+
returns the request thread.
|
|
1131
|
+
"""
|
|
1132
|
+
|
|
1133
|
+
all_params = ['integration_ids'] # noqa: E501
|
|
1134
|
+
all_params.append('async_req')
|
|
1135
|
+
all_params.append('_return_http_data_only')
|
|
1136
|
+
all_params.append('_preload_content')
|
|
1137
|
+
all_params.append('_request_timeout')
|
|
1138
|
+
|
|
1139
|
+
params = locals()
|
|
1140
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1141
|
+
if key not in all_params:
|
|
1142
|
+
raise TypeError(
|
|
1143
|
+
"Got an unexpected keyword argument '%s'"
|
|
1144
|
+
" to method get_integrations_by_ids_using_get" % key
|
|
1145
|
+
)
|
|
1146
|
+
params[key] = val
|
|
1147
|
+
del params['kwargs']
|
|
1148
|
+
# verify the required parameter 'integration_ids' is set
|
|
1149
|
+
if ('integration_ids' not in params or
|
|
1150
|
+
params['integration_ids'] is None):
|
|
1151
|
+
raise ValueError("Missing the required parameter `integration_ids` when calling `get_integrations_by_ids_using_get`") # noqa: E501
|
|
1152
|
+
|
|
1153
|
+
collection_formats = {}
|
|
1154
|
+
|
|
1155
|
+
path_params = {}
|
|
1156
|
+
|
|
1157
|
+
query_params = []
|
|
1158
|
+
if 'integration_ids' in params:
|
|
1159
|
+
query_params.append(('integrationIds', params['integration_ids'])) # noqa: E501
|
|
1160
|
+
|
|
1161
|
+
header_params = {}
|
|
1162
|
+
|
|
1163
|
+
form_params = []
|
|
1164
|
+
local_var_files = {}
|
|
1165
|
+
|
|
1166
|
+
body_params = None
|
|
1167
|
+
# HTTP header `Accept`
|
|
1168
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1169
|
+
['application/json']) # noqa: E501
|
|
1170
|
+
|
|
1171
|
+
# Authentication setting
|
|
1172
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1173
|
+
|
|
1174
|
+
return self.api_client.call_api(
|
|
1175
|
+
'/api/integrations{?integrationIds}', 'GET',
|
|
1176
|
+
path_params,
|
|
1177
|
+
query_params,
|
|
1178
|
+
header_params,
|
|
1179
|
+
body=body_params,
|
|
1180
|
+
post_params=form_params,
|
|
1181
|
+
files=local_var_files,
|
|
1182
|
+
response_type='list[Integration]', # noqa: E501
|
|
1183
|
+
auth_settings=auth_settings,
|
|
1184
|
+
async_req=params.get('async_req'),
|
|
1185
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1186
|
+
_preload_content=params.get('_preload_content', True),
|
|
1187
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1188
|
+
collection_formats=collection_formats)
|
|
1189
|
+
|
|
1190
|
+
def get_integrations_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1191
|
+
"""Get Integrations (getIntegrations) # noqa: E501
|
|
1192
|
+
|
|
1193
|
+
Returns a page of integrations owned by tenant. 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. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1194
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1195
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1196
|
+
>>> thread = api.get_integrations_using_get(page_size, page, async_req=True)
|
|
1197
|
+
>>> result = thread.get()
|
|
1198
|
+
|
|
1199
|
+
:param async_req bool
|
|
1200
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1201
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1202
|
+
:param bool is_edge_template: Fetch edge template integrations
|
|
1203
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
1204
|
+
:param str sort_property: Property of entity to sort by
|
|
1205
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1206
|
+
:return: PageDataIntegration
|
|
1207
|
+
If the method is called asynchronously,
|
|
1208
|
+
returns the request thread.
|
|
1209
|
+
"""
|
|
1210
|
+
kwargs['_return_http_data_only'] = True
|
|
1211
|
+
if kwargs.get('async_req'):
|
|
1212
|
+
return self.get_integrations_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1213
|
+
else:
|
|
1214
|
+
(data) = self.get_integrations_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1215
|
+
return data
|
|
1216
|
+
|
|
1217
|
+
def get_integrations_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1218
|
+
"""Get Integrations (getIntegrations) # noqa: E501
|
|
1219
|
+
|
|
1220
|
+
Returns a page of integrations owned by tenant. 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. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1221
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1222
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1223
|
+
>>> thread = api.get_integrations_using_get_with_http_info(page_size, page, async_req=True)
|
|
1224
|
+
>>> result = thread.get()
|
|
1225
|
+
|
|
1226
|
+
:param async_req bool
|
|
1227
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1228
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1229
|
+
:param bool is_edge_template: Fetch edge template integrations
|
|
1230
|
+
:param str text_search: The case insensitive 'startsWith' filter based on the integration name.
|
|
1231
|
+
:param str sort_property: Property of entity to sort by
|
|
1232
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1233
|
+
:return: PageDataIntegration
|
|
1234
|
+
If the method is called asynchronously,
|
|
1235
|
+
returns the request thread.
|
|
1236
|
+
"""
|
|
1237
|
+
|
|
1238
|
+
all_params = ['page_size', 'page', 'is_edge_template', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1239
|
+
all_params.append('async_req')
|
|
1240
|
+
all_params.append('_return_http_data_only')
|
|
1241
|
+
all_params.append('_preload_content')
|
|
1242
|
+
all_params.append('_request_timeout')
|
|
1243
|
+
|
|
1244
|
+
params = locals()
|
|
1245
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1246
|
+
if key not in all_params:
|
|
1247
|
+
raise TypeError(
|
|
1248
|
+
"Got an unexpected keyword argument '%s'"
|
|
1249
|
+
" to method get_integrations_using_get" % key
|
|
1250
|
+
)
|
|
1251
|
+
params[key] = val
|
|
1252
|
+
del params['kwargs']
|
|
1253
|
+
# verify the required parameter 'page_size' is set
|
|
1254
|
+
if ('page_size' not in params or
|
|
1255
|
+
params['page_size'] is None):
|
|
1256
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_integrations_using_get`") # noqa: E501
|
|
1257
|
+
# verify the required parameter 'page' is set
|
|
1258
|
+
if ('page' not in params or
|
|
1259
|
+
params['page'] is None):
|
|
1260
|
+
raise ValueError("Missing the required parameter `page` when calling `get_integrations_using_get`") # noqa: E501
|
|
1261
|
+
|
|
1262
|
+
collection_formats = {}
|
|
1263
|
+
|
|
1264
|
+
path_params = {}
|
|
1265
|
+
|
|
1266
|
+
query_params = []
|
|
1267
|
+
if 'is_edge_template' in params:
|
|
1268
|
+
query_params.append(('isEdgeTemplate', params['is_edge_template'])) # noqa: E501
|
|
1269
|
+
if 'page_size' in params:
|
|
1270
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1271
|
+
if 'page' in params:
|
|
1272
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1273
|
+
if 'text_search' in params:
|
|
1274
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1275
|
+
if 'sort_property' in params:
|
|
1276
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1277
|
+
if 'sort_order' in params:
|
|
1278
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1279
|
+
|
|
1280
|
+
header_params = {}
|
|
1281
|
+
|
|
1282
|
+
form_params = []
|
|
1283
|
+
local_var_files = {}
|
|
1284
|
+
|
|
1285
|
+
body_params = None
|
|
1286
|
+
# HTTP header `Accept`
|
|
1287
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1288
|
+
['application/json']) # noqa: E501
|
|
1289
|
+
|
|
1290
|
+
# Authentication setting
|
|
1291
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1292
|
+
|
|
1293
|
+
return self.api_client.call_api(
|
|
1294
|
+
'/api/integrations{?isEdgeTemplate,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1295
|
+
path_params,
|
|
1296
|
+
query_params,
|
|
1297
|
+
header_params,
|
|
1298
|
+
body=body_params,
|
|
1299
|
+
post_params=form_params,
|
|
1300
|
+
files=local_var_files,
|
|
1301
|
+
response_type='PageDataIntegration', # noqa: E501
|
|
1302
|
+
auth_settings=auth_settings,
|
|
1303
|
+
async_req=params.get('async_req'),
|
|
1304
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1305
|
+
_preload_content=params.get('_preload_content', True),
|
|
1306
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1307
|
+
collection_formats=collection_formats)
|
|
1308
|
+
|
|
1309
|
+
def save_integration_using_post(self, **kwargs): # noqa: E501
|
|
1310
|
+
"""Create Or Update Integration (saveIntegration) # noqa: E501
|
|
1311
|
+
|
|
1312
|
+
Create or update the Integration. When creating integration, platform generates Integration Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created integration id will be present in the response. Specify existing Integration id to update the integration. Referencing non-existing integration Id will cause 'Not Found' error. Integration configuration is validated for each type of the integration before it can be created. # Integration Configuration Integration configuration (**'configuration'** field) is the JSON object representing the special configuration per integration type with the connectivity fields and other important parameters dependent on the specific integration type. Let's review the configuration object for the MQTT Integration type below. ```json { \"clientConfiguration\":{ \"host\":\"broker.hivemq.com\", \"port\":1883, \"cleanSession\":false, \"ssl\":false, \"connectTimeoutSec\":10, \"clientId\":\"\", \"maxBytesInMessage\":32368, \"credentials\":{ \"type\":\"anonymous\" } }, \"downlinkTopicPattern\":\"${topic}\", \"topicFilters\":[ { \"filter\":\"tb/mqtt-integration-tutorial/sensors/+/temperature\", \"qos\":0 } ], \"metadata\":{ } } ``` Remove 'id', 'tenantId' from the request body example (below) to create new Integration entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1313
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1314
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1315
|
+
>>> thread = api.save_integration_using_post(async_req=True)
|
|
1316
|
+
>>> result = thread.get()
|
|
1317
|
+
|
|
1318
|
+
:param async_req bool
|
|
1319
|
+
:param Integration body:
|
|
1320
|
+
:return: Integration
|
|
1321
|
+
If the method is called asynchronously,
|
|
1322
|
+
returns the request thread.
|
|
1323
|
+
"""
|
|
1324
|
+
kwargs['_return_http_data_only'] = True
|
|
1325
|
+
if kwargs.get('async_req'):
|
|
1326
|
+
return self.save_integration_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1327
|
+
else:
|
|
1328
|
+
(data) = self.save_integration_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1329
|
+
return data
|
|
1330
|
+
|
|
1331
|
+
def save_integration_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1332
|
+
"""Create Or Update Integration (saveIntegration) # noqa: E501
|
|
1333
|
+
|
|
1334
|
+
Create or update the Integration. When creating integration, platform generates Integration Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created integration id will be present in the response. Specify existing Integration id to update the integration. Referencing non-existing integration Id will cause 'Not Found' error. Integration configuration is validated for each type of the integration before it can be created. # Integration Configuration Integration configuration (**'configuration'** field) is the JSON object representing the special configuration per integration type with the connectivity fields and other important parameters dependent on the specific integration type. Let's review the configuration object for the MQTT Integration type below. ```json { \"clientConfiguration\":{ \"host\":\"broker.hivemq.com\", \"port\":1883, \"cleanSession\":false, \"ssl\":false, \"connectTimeoutSec\":10, \"clientId\":\"\", \"maxBytesInMessage\":32368, \"credentials\":{ \"type\":\"anonymous\" } }, \"downlinkTopicPattern\":\"${topic}\", \"topicFilters\":[ { \"filter\":\"tb/mqtt-integration-tutorial/sensors/+/temperature\", \"qos\":0 } ], \"metadata\":{ } } ``` Remove 'id', 'tenantId' from the request body example (below) to create new Integration entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1335
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1336
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1337
|
+
>>> thread = api.save_integration_using_post_with_http_info(async_req=True)
|
|
1338
|
+
>>> result = thread.get()
|
|
1339
|
+
|
|
1340
|
+
:param async_req bool
|
|
1341
|
+
:param Integration body:
|
|
1342
|
+
:return: Integration
|
|
1343
|
+
If the method is called asynchronously,
|
|
1344
|
+
returns the request thread.
|
|
1345
|
+
"""
|
|
1346
|
+
|
|
1347
|
+
all_params = ['body'] # noqa: E501
|
|
1348
|
+
all_params.append('async_req')
|
|
1349
|
+
all_params.append('_return_http_data_only')
|
|
1350
|
+
all_params.append('_preload_content')
|
|
1351
|
+
all_params.append('_request_timeout')
|
|
1352
|
+
|
|
1353
|
+
params = locals()
|
|
1354
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1355
|
+
if key not in all_params:
|
|
1356
|
+
raise TypeError(
|
|
1357
|
+
"Got an unexpected keyword argument '%s'"
|
|
1358
|
+
" to method save_integration_using_post" % key
|
|
1359
|
+
)
|
|
1360
|
+
params[key] = val
|
|
1361
|
+
del params['kwargs']
|
|
1362
|
+
|
|
1363
|
+
collection_formats = {}
|
|
1364
|
+
|
|
1365
|
+
path_params = {}
|
|
1366
|
+
|
|
1367
|
+
query_params = []
|
|
1368
|
+
|
|
1369
|
+
header_params = {}
|
|
1370
|
+
|
|
1371
|
+
form_params = []
|
|
1372
|
+
local_var_files = {}
|
|
1373
|
+
|
|
1374
|
+
body_params = None
|
|
1375
|
+
if 'body' in params:
|
|
1376
|
+
body_params = params['body']
|
|
1377
|
+
# HTTP header `Accept`
|
|
1378
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1379
|
+
['application/json']) # noqa: E501
|
|
1380
|
+
|
|
1381
|
+
# HTTP header `Content-Type`
|
|
1382
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1383
|
+
['application/json']) # noqa: E501
|
|
1384
|
+
|
|
1385
|
+
# Authentication setting
|
|
1386
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1387
|
+
|
|
1388
|
+
return self.api_client.call_api(
|
|
1389
|
+
'/api/integration', 'POST',
|
|
1390
|
+
path_params,
|
|
1391
|
+
query_params,
|
|
1392
|
+
header_params,
|
|
1393
|
+
body=body_params,
|
|
1394
|
+
post_params=form_params,
|
|
1395
|
+
files=local_var_files,
|
|
1396
|
+
response_type='Integration', # noqa: E501
|
|
1397
|
+
auth_settings=auth_settings,
|
|
1398
|
+
async_req=params.get('async_req'),
|
|
1399
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1400
|
+
_preload_content=params.get('_preload_content', True),
|
|
1401
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1402
|
+
collection_formats=collection_formats)
|
|
1403
|
+
|
|
1404
|
+
def unassign_integration_from_edge_using_delete(self, edge_id, integration_id, **kwargs): # noqa: E501
|
|
1405
|
+
"""Unassign integration from edge (unassignIntegrationFromEdge) # noqa: E501
|
|
1406
|
+
|
|
1407
|
+
Clears assignment of the integration 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 integration (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 integration locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1408
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1409
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1410
|
+
>>> thread = api.unassign_integration_from_edge_using_delete(edge_id, integration_id, async_req=True)
|
|
1411
|
+
>>> result = thread.get()
|
|
1412
|
+
|
|
1413
|
+
:param async_req bool
|
|
1414
|
+
:param str edge_id: edgeId (required)
|
|
1415
|
+
:param str integration_id: integrationId (required)
|
|
1416
|
+
:return: Integration
|
|
1417
|
+
If the method is called asynchronously,
|
|
1418
|
+
returns the request thread.
|
|
1419
|
+
"""
|
|
1420
|
+
kwargs['_return_http_data_only'] = True
|
|
1421
|
+
if kwargs.get('async_req'):
|
|
1422
|
+
return self.unassign_integration_from_edge_using_delete_with_http_info(edge_id, integration_id, **kwargs) # noqa: E501
|
|
1423
|
+
else:
|
|
1424
|
+
(data) = self.unassign_integration_from_edge_using_delete_with_http_info(edge_id, integration_id, **kwargs) # noqa: E501
|
|
1425
|
+
return data
|
|
1426
|
+
|
|
1427
|
+
def unassign_integration_from_edge_using_delete_with_http_info(self, edge_id, integration_id, **kwargs): # noqa: E501
|
|
1428
|
+
"""Unassign integration from edge (unassignIntegrationFromEdge) # noqa: E501
|
|
1429
|
+
|
|
1430
|
+
Clears assignment of the integration 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 integration (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 integration locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1431
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1432
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1433
|
+
>>> thread = api.unassign_integration_from_edge_using_delete_with_http_info(edge_id, integration_id, async_req=True)
|
|
1434
|
+
>>> result = thread.get()
|
|
1435
|
+
|
|
1436
|
+
:param async_req bool
|
|
1437
|
+
:param str edge_id: edgeId (required)
|
|
1438
|
+
:param str integration_id: integrationId (required)
|
|
1439
|
+
:return: Integration
|
|
1440
|
+
If the method is called asynchronously,
|
|
1441
|
+
returns the request thread.
|
|
1442
|
+
"""
|
|
1443
|
+
|
|
1444
|
+
all_params = ['edge_id', 'integration_id'] # noqa: E501
|
|
1445
|
+
all_params.append('async_req')
|
|
1446
|
+
all_params.append('_return_http_data_only')
|
|
1447
|
+
all_params.append('_preload_content')
|
|
1448
|
+
all_params.append('_request_timeout')
|
|
1449
|
+
|
|
1450
|
+
params = locals()
|
|
1451
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1452
|
+
if key not in all_params:
|
|
1453
|
+
raise TypeError(
|
|
1454
|
+
"Got an unexpected keyword argument '%s'"
|
|
1455
|
+
" to method unassign_integration_from_edge_using_delete" % key
|
|
1456
|
+
)
|
|
1457
|
+
params[key] = val
|
|
1458
|
+
del params['kwargs']
|
|
1459
|
+
# verify the required parameter 'edge_id' is set
|
|
1460
|
+
if ('edge_id' not in params or
|
|
1461
|
+
params['edge_id'] is None):
|
|
1462
|
+
raise ValueError("Missing the required parameter `edge_id` when calling `unassign_integration_from_edge_using_delete`") # noqa: E501
|
|
1463
|
+
# verify the required parameter 'integration_id' is set
|
|
1464
|
+
if ('integration_id' not in params or
|
|
1465
|
+
params['integration_id'] is None):
|
|
1466
|
+
raise ValueError("Missing the required parameter `integration_id` when calling `unassign_integration_from_edge_using_delete`") # noqa: E501
|
|
1467
|
+
|
|
1468
|
+
collection_formats = {}
|
|
1469
|
+
|
|
1470
|
+
path_params = {}
|
|
1471
|
+
if 'edge_id' in params:
|
|
1472
|
+
path_params['edgeId'] = params['edge_id'] # noqa: E501
|
|
1473
|
+
if 'integration_id' in params:
|
|
1474
|
+
path_params['integrationId'] = params['integration_id'] # noqa: E501
|
|
1475
|
+
|
|
1476
|
+
query_params = []
|
|
1477
|
+
|
|
1478
|
+
header_params = {}
|
|
1479
|
+
|
|
1480
|
+
form_params = []
|
|
1481
|
+
local_var_files = {}
|
|
1482
|
+
|
|
1483
|
+
body_params = None
|
|
1484
|
+
# HTTP header `Accept`
|
|
1485
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1486
|
+
['application/json']) # noqa: E501
|
|
1487
|
+
|
|
1488
|
+
# Authentication setting
|
|
1489
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1490
|
+
|
|
1491
|
+
return self.api_client.call_api(
|
|
1492
|
+
'/api/edge/{edgeId}/integration/{integrationId}', 'DELETE',
|
|
1493
|
+
path_params,
|
|
1494
|
+
query_params,
|
|
1495
|
+
header_params,
|
|
1496
|
+
body=body_params,
|
|
1497
|
+
post_params=form_params,
|
|
1498
|
+
files=local_var_files,
|
|
1499
|
+
response_type='Integration', # noqa: E501
|
|
1500
|
+
auth_settings=auth_settings,
|
|
1501
|
+
async_req=params.get('async_req'),
|
|
1502
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1503
|
+
_preload_content=params.get('_preload_content', True),
|
|
1504
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1505
|
+
collection_formats=collection_formats)
|
|
1506
|
+
|
|
1507
|
+
def get_integrations_converters_info(self, **kwargs): # noqa: E501
|
|
1508
|
+
"""Get Integrations Converters info (getIntegrationsConvertersInfo) # noqa: E501
|
|
1509
|
+
|
|
1510
|
+
Returns a JSON object containing information about existing tenant converters and converters available in library. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1511
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1512
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1513
|
+
>>> thread = api.get_integrations_converters_info(async_req=True)
|
|
1514
|
+
>>> result = thread.get()
|
|
1515
|
+
|
|
1516
|
+
:param async_req bool
|
|
1517
|
+
:return: dict(str, IntegrationConvertersInfo)
|
|
1518
|
+
If the method is called asynchronously,
|
|
1519
|
+
returns the request thread.
|
|
1520
|
+
"""
|
|
1521
|
+
kwargs['_return_http_data_only'] = True
|
|
1522
|
+
if kwargs.get('async_req'):
|
|
1523
|
+
return self.get_integrations_converters_info_with_http_info(**kwargs) # noqa: E501
|
|
1524
|
+
else:
|
|
1525
|
+
(data) = self.get_integrations_converters_info_with_http_info(**kwargs) # noqa: E501
|
|
1526
|
+
return data
|
|
1527
|
+
|
|
1528
|
+
def get_integrations_converters_info_with_http_info(self, **kwargs): # noqa: E501
|
|
1529
|
+
"""Get Integrations Converters info (getIntegrationsConvertersInfo) # noqa: E501
|
|
1530
|
+
|
|
1531
|
+
Returns a JSON object containing information about existing tenant converters and converters available in library. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1532
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1533
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1534
|
+
>>> thread = api.get_integrations_converters_info_with_http_info(async_req=True)
|
|
1535
|
+
>>> result = thread.get()
|
|
1536
|
+
|
|
1537
|
+
:param async_req bool
|
|
1538
|
+
:return: dict(str, IntegrationConvertersInfo)
|
|
1539
|
+
If the method is called asynchronously,
|
|
1540
|
+
returns the request thread.
|
|
1541
|
+
"""
|
|
1542
|
+
|
|
1543
|
+
all_params = [] # noqa: E501
|
|
1544
|
+
all_params.append('async_req')
|
|
1545
|
+
all_params.append('_return_http_data_only')
|
|
1546
|
+
all_params.append('_preload_content')
|
|
1547
|
+
all_params.append('_request_timeout')
|
|
1548
|
+
|
|
1549
|
+
params = locals()
|
|
1550
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1551
|
+
if key not in all_params:
|
|
1552
|
+
raise TypeError(
|
|
1553
|
+
"Got an unexpected keyword argument '%s'"
|
|
1554
|
+
" to method get_integrations_converters_info" % key
|
|
1555
|
+
)
|
|
1556
|
+
params[key] = val
|
|
1557
|
+
del params['kwargs']
|
|
1558
|
+
|
|
1559
|
+
collection_formats = {}
|
|
1560
|
+
|
|
1561
|
+
path_params = {}
|
|
1562
|
+
|
|
1563
|
+
query_params = []
|
|
1564
|
+
|
|
1565
|
+
header_params = {}
|
|
1566
|
+
|
|
1567
|
+
form_params = []
|
|
1568
|
+
local_var_files = {}
|
|
1569
|
+
|
|
1570
|
+
body_params = None
|
|
1571
|
+
# HTTP header `Accept`
|
|
1572
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1573
|
+
['application/json']) # noqa: E501
|
|
1574
|
+
|
|
1575
|
+
# Authentication setting
|
|
1576
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1577
|
+
|
|
1578
|
+
return self.api_client.call_api(
|
|
1579
|
+
'/api/integrations/converters/info', 'GET',
|
|
1580
|
+
path_params,
|
|
1581
|
+
query_params,
|
|
1582
|
+
header_params,
|
|
1583
|
+
body=body_params,
|
|
1584
|
+
post_params=form_params,
|
|
1585
|
+
files=local_var_files,
|
|
1586
|
+
response_type='dict(str, IntegrationConvertersInfo)', # noqa: E501
|
|
1587
|
+
auth_settings=auth_settings,
|
|
1588
|
+
async_req=params.get('async_req'),
|
|
1589
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1590
|
+
_preload_content=params.get('_preload_content', True),
|
|
1591
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1592
|
+
collection_formats=collection_formats)
|