tb-rest-client 3.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +49 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
- tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
- tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
- tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
- tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
- tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
- tb_rest_client/api/api_ce/domain_controller_api.py +549 -0
- tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
- tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
- tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
- tb_rest_client/api/api_ce/event_controller_api.py +623 -0
- tb_rest_client/api/api_ce/image_controller_api.py +1281 -0
- tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +494 -0
- tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
- tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +338 -0
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
- tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
- tb_rest_client/api/api_pe/__init__.py +63 -0
- tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
- tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
- tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
- tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
- tb_rest_client/api/api_pe/converter_library_controller_api.py +901 -0
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
- tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
- tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
- tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
- tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
- tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
- tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
- tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
- tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
- tb_rest_client/api/api_pe/event_controller_api.py +623 -0
- tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
- tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
- tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
- tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
- tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
- tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
- tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
- tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
- tb_rest_client/api/api_pe/report_controller_api.py +245 -0
- tb_rest_client/api/api_pe/role_controller_api.py +546 -0
- tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
- tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
- tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
- tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
- tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
- tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
- tb_rest_client/api_client.py +705 -0
- tb_rest_client/configuration.py +234 -0
- tb_rest_client/models/__init__.py +14 -0
- tb_rest_client/models/models_ce/__init__.py +474 -0
- tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
- tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_ce/activate_user_request.py +154 -0
- tb_rest_client/models/models_ce/admin_settings.py +232 -0
- tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
- tb_rest_client/models/models_ce/alarm.py +707 -0
- tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
- tb_rest_client/models/models_ce/alarm_comment.py +292 -0
- tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_ce/alarm_condition.py +154 -0
- tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
- tb_rest_client/models/models_ce/alarm_data.py +855 -0
- tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
- tb_rest_client/models/models_ce/alarm_id.py +162 -0
- tb_rest_client/models/models_ce/alarm_info.py +803 -0
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_ce/alarm_rule.py +206 -0
- tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
- tb_rest_client/models/models_ce/all_users_filter.py +104 -0
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/android_config.py +202 -0
- tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
- tb_rest_client/models/models_ce/api_image_body.py +177 -0
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_ce/asset.py +367 -0
- tb_rest_client/models/models_ce/asset_id.py +162 -0
- tb_rest_client/models/models_ce/asset_info.py +451 -0
- tb_rest_client/models/models_ce/asset_profile.py +422 -0
- tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
- tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
- tb_rest_client/models/models_ce/asset_search_query.py +180 -0
- tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
- tb_rest_client/models/models_ce/atomic_integer.py +228 -0
- tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
- tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_ce/audit_log.py +434 -0
- tb_rest_client/models/models_ce/audit_log_id.py +127 -0
- tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
- tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/branch_info.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
- tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_ce/button.py +286 -0
- tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
- tb_rest_client/models/models_ce/byte_buffer.py +306 -0
- tb_rest_client/models/models_ce/change_password_request.py +154 -0
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/claim_request.py +124 -0
- tb_rest_client/models/models_ce/clear_rule.py +131 -0
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/column_mapping.py +156 -0
- tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_ce/component_descriptor.py +420 -0
- tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_ce/config_submit_body.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_ce/customer.py +510 -0
- tb_rest_client/models/models_ce/customer_id.py +162 -0
- tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
- tb_rest_client/models/models_ce/dashboard.py +399 -0
- tb_rest_client/models/models_ce/dashboard_id.py +162 -0
- tb_rest_client/models/models_ce/dashboard_info.py +373 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
- tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_ce/device.py +446 -0
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_ce/device_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_credentials.py +293 -0
- tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
- tb_rest_client/models/models_ce/device_data.py +154 -0
- tb_rest_client/models/models_ce/device_export_data.py +156 -0
- tb_rest_client/models/models_ce/device_id.py +162 -0
- tb_rest_client/models/models_ce/device_info.py +558 -0
- tb_rest_client/models/models_ce/device_profile.py +630 -0
- tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
- tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_profile_data.py +210 -0
- tb_rest_client/models/models_ce/device_profile_id.py +162 -0
- tb_rest_client/models/models_ce/device_profile_info.py +300 -0
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_search_query.py +180 -0
- tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_type_filter.py +182 -0
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/domain.py +247 -0
- tb_rest_client/models/models_ce/domain_id.py +146 -0
- tb_rest_client/models/models_ce/domain_info.py +275 -0
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
- tb_rest_client/models/models_ce/edge.py +426 -0
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/edge_event.py +370 -0
- tb_rest_client/models/models_ce/edge_event_id.py +127 -0
- tb_rest_client/models/models_ce/edge_id.py +162 -0
- tb_rest_client/models/models_ce/edge_info.py +478 -0
- tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_search_query.py +180 -0
- tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_ce/entity_count_query.py +150 -0
- tb_rest_client/models/models_ce/entity_data.py +202 -0
- tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/entity_data_info.py +176 -0
- tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_ce/entity_data_query.py +228 -0
- tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
- tb_rest_client/models/models_ce/entity_filter.py +134 -0
- tb_rest_client/models/models_ce/entity_id.py +160 -0
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_info.py +152 -0
- tb_rest_client/models/models_ce/entity_key.py +156 -0
- tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_load_error.py +202 -0
- tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_relation.py +264 -0
- tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
- tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
- tb_rest_client/models/models_ce/entity_subtype.py +182 -0
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
- tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/entity_version.py +202 -0
- tb_rest_client/models/models_ce/entity_view.py +423 -0
- tb_rest_client/models/models_ce/entity_view_id.py +162 -0
- tb_rest_client/models/models_ce/entity_view_info.py +479 -0
- tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_ce/error_event_filter.py +188 -0
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_ce/event.py +286 -0
- tb_rest_client/models/models_ce/event_filter.py +171 -0
- tb_rest_client/models/models_ce/event_id.py +127 -0
- tb_rest_client/models/models_ce/event_info.py +286 -0
- tb_rest_client/models/models_ce/features_info.py +228 -0
- tb_rest_client/models/models_ce/file.py +488 -0
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
- tb_rest_client/models/models_ce/has_id_object.py +124 -0
- tb_rest_client/models/models_ce/home_dashboard.py +427 -0
- tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
- tb_rest_client/models/models_ce/image_export_data.py +332 -0
- tb_rest_client/models/models_ce/inline_response200.py +99 -0
- tb_rest_client/models/models_ce/input_stream.py +98 -0
- tb_rest_client/models/models_ce/ios_config.py +176 -0
- tb_rest_client/models/models_ce/json_node.py +98 -0
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_ce/jwt_pair.py +186 -0
- tb_rest_client/models/models_ce/jwt_settings.py +210 -0
- tb_rest_client/models/models_ce/key_filter.py +182 -0
- tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_ce/login_request.py +156 -0
- tb_rest_client/models/models_ce/login_response.py +156 -0
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/mapping.py +202 -0
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
- tb_rest_client/models/models_ce/mobile_app.py +290 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
- tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/node_connection_info.py +185 -0
- tb_rest_client/models/models_ce/notification.py +402 -0
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_ce/notification_id.py +162 -0
- tb_rest_client/models/models_ce/notification_info.py +185 -0
- tb_rest_client/models/models_ce/notification_pref.py +151 -0
- tb_rest_client/models/models_ce/notification_request.py +417 -0
- tb_rest_client/models/models_ce/notification_request_config.py +124 -0
- tb_rest_client/models/models_ce/notification_request_id.py +162 -0
- tb_rest_client/models/models_ce/notification_request_info.py +476 -0
- tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
- tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
- tb_rest_client/models/models_ce/notification_rule.py +369 -0
- tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
- tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
- tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
- tb_rest_client/models/models_ce/notification_settings.py +125 -0
- tb_rest_client/models/models_ce/notification_target.py +230 -0
- tb_rest_client/models/models_ce/notification_target_config.py +148 -0
- tb_rest_client/models/models_ce/notification_target_id.py +162 -0
- tb_rest_client/models/models_ce/notification_template.py +263 -0
- tb_rest_client/models/models_ce/notification_template_config.py +125 -0
- tb_rest_client/models/models_ce/notification_template_id.py +162 -0
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
- tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
- tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
- tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_ce/object_attributes.py +410 -0
- tb_rest_client/models/models_ce/object_node.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_ce/ota_package.py +576 -0
- tb_rest_client/models/models_ce/ota_package_data.py +306 -0
- tb_rest_client/models/models_ce/ota_package_id.py +162 -0
- tb_rest_client/models/models_ce/ota_package_info.py +550 -0
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
- tb_rest_client/models/models_ce/other_configuration.py +364 -0
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +210 -0
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
- tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
- tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_user.py +210 -0
- tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_ce/processing_strategy.py +234 -0
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/qr_code_config.py +234 -0
- tb_rest_client/models/models_ce/queue.py +410 -0
- tb_rest_client/models/models_ce/queue_id.py +162 -0
- tb_rest_client/models/models_ce/queue_stats.py +228 -0
- tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
- tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_ce/repository_settings.py +390 -0
- tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
- tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_ce/reset_password_request.py +154 -0
- tb_rest_client/models/models_ce/resource.py +306 -0
- tb_rest_client/models/models_ce/response_entity.py +182 -0
- tb_rest_client/models/models_ce/rpc.py +344 -0
- tb_rest_client/models/models_ce/rpc_id.py +162 -0
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/rule_chain.py +402 -0
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
- tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_ce/rule_node.py +424 -0
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_ce/rule_node_id.py +162 -0
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_ce/security_settings.py +266 -0
- tb_rest_client/models/models_ce/server_security_config.py +332 -0
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/short_customer_info.py +204 -0
- tb_rest_client/models/models_ce/sign_up_request.py +294 -0
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/slack_conversation.py +263 -0
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
- tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_ce/submit_strategy.py +156 -0
- tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/system_info.py +152 -0
- tb_rest_client/models/models_ce/system_info_data.py +322 -0
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
- tb_rest_client/models/models_ce/tb_resource.py +568 -0
- tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
- tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
- tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/tenant.py +539 -0
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_ce/tenant_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_info.py +567 -0
- tb_rest_client/models/models_ce/tenant_profile.py +288 -0
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_ce/test_sms_request.py +182 -0
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/ts_value.py +176 -0
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_ce/type_key_body.py +125 -0
- tb_rest_client/models/models_ce/update_message.py +266 -0
- tb_rest_client/models/models_ce/usage_info.py +696 -0
- tb_rest_client/models/models_ce/user.py +432 -0
- tb_rest_client/models/models_ce/user_activation_link.py +150 -0
- tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_ce/user_email_info.py +208 -0
- tb_rest_client/models/models_ce/user_id.py +162 -0
- tb_rest_client/models/models_ce/user_list_filter.py +131 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
- tb_rest_client/models/models_ce/user_password_policy.py +378 -0
- tb_rest_client/models/models_ce/users_filter.py +140 -0
- tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
- tb_rest_client/models/models_ce/vc_version_body.py +98 -0
- tb_rest_client/models/models_ce/version.py +98 -0
- tb_rest_client/models/models_ce/version_create_config.py +176 -0
- tb_rest_client/models/models_ce/version_create_request.py +191 -0
- tb_rest_client/models/models_ce/version_creation_result.py +254 -0
- tb_rest_client/models/models_ce/version_load_config.py +176 -0
- tb_rest_client/models/models_ce/version_load_request.py +165 -0
- tb_rest_client/models/models_ce/version_load_result.py +176 -0
- tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/widget_type.py +342 -0
- tb_rest_client/models/models_ce/widget_type_details.py +426 -0
- tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_ce/widget_type_id.py +162 -0
- tb_rest_client/models/models_ce/widget_type_info.py +428 -0
- tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/__init__.py +401 -0
- tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_pe/activate_user_request.py +154 -0
- tb_rest_client/models/models_pe/admin_settings.py +232 -0
- tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
- tb_rest_client/models/models_pe/alarm.py +749 -0
- tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
- tb_rest_client/models/models_pe/alarm_comment.py +292 -0
- tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_pe/alarm_condition.py +154 -0
- tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
- tb_rest_client/models/models_pe/alarm_data.py +883 -0
- tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
- tb_rest_client/models/models_pe/alarm_id.py +162 -0
- tb_rest_client/models/models_pe/alarm_info.py +831 -0
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_pe/alarm_rule.py +206 -0
- tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
- tb_rest_client/models/models_pe/all_users_filter.py +104 -0
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
- tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_pe/array_node.py +98 -0
- tb_rest_client/models/models_pe/asset.py +393 -0
- tb_rest_client/models/models_pe/asset_id.py +162 -0
- tb_rest_client/models/models_pe/asset_info.py +449 -0
- tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
- tb_rest_client/models/models_pe/asset_search_query.py +180 -0
- tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
- tb_rest_client/models/models_pe/atomic_integer.py +228 -0
- tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
- tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_pe/audit_log.py +434 -0
- tb_rest_client/models/models_pe/audit_log_id.py +127 -0
- tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
- tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/branch_info.py +150 -0
- tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_pe/byte_buffer.py +306 -0
- tb_rest_client/models/models_pe/change_password_request.py +154 -0
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/claim_request.py +124 -0
- tb_rest_client/models/models_pe/clear_rule.py +131 -0
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/column_mapping.py +156 -0
- tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_pe/component_descriptor.py +420 -0
- tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_pe/contact_based_object.py +410 -0
- tb_rest_client/models/models_pe/converter.py +376 -0
- tb_rest_client/models/models_pe/converter_id.py +162 -0
- tb_rest_client/models/models_pe/converters_info.py +136 -0
- tb_rest_client/models/models_pe/custom_menu.py +327 -0
- tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
- tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
- tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
- tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_pe/custom_translation.py +127 -0
- tb_rest_client/models/models_pe/customer_id.py +162 -0
- tb_rest_client/models/models_pe/customer_info.py +672 -0
- tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
- tb_rest_client/models/models_pe/dashboard_id.py +162 -0
- tb_rest_client/models/models_pe/dashboard_info.py +506 -0
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_menu_item.py +230 -0
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
- tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_pe/device.py +471 -0
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_pe/device_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
- tb_rest_client/models/models_pe/device_data.py +154 -0
- tb_rest_client/models/models_pe/device_export_data.py +156 -0
- tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
- tb_rest_client/models/models_pe/device_id.py +162 -0
- tb_rest_client/models/models_pe/device_info.py +555 -0
- tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
- tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_profile_data.py +210 -0
- tb_rest_client/models/models_pe/device_profile_id.py +162 -0
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_search_query.py +180 -0
- tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_type_filter.py +182 -0
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_pe/edge.py +510 -0
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/edge_event.py +396 -0
- tb_rest_client/models/models_pe/edge_event_id.py +127 -0
- tb_rest_client/models/models_pe/edge_id.py +162 -0
- tb_rest_client/models/models_pe/edge_info.py +566 -0
- tb_rest_client/models/models_pe/edge_instructions.py +126 -0
- tb_rest_client/models/models_pe/edge_search_query.py +180 -0
- tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_pe/entity_count_query.py +150 -0
- tb_rest_client/models/models_pe/entity_data.py +254 -0
- tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/entity_data_info.py +228 -0
- tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_pe/entity_data_query.py +228 -0
- tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_pe/entity_filter.py +152 -0
- tb_rest_client/models/models_pe/entity_group.py +400 -0
- tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
- tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_id.py +162 -0
- tb_rest_client/models/models_pe/entity_group_info.py +429 -0
- tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_id.py +160 -0
- tb_rest_client/models/models_pe/entity_key.py +156 -0
- tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_load_error.py +202 -0
- tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
- tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
- tb_rest_client/models/models_pe/entity_subtype.py +182 -0
- tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
- tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_pe/entity_version.py +202 -0
- tb_rest_client/models/models_pe/entity_view.py +449 -0
- tb_rest_client/models/models_pe/entity_view_id.py +162 -0
- tb_rest_client/models/models_pe/entity_view_info.py +505 -0
- tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_pe/error_event_filter.py +188 -0
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_pe/event_filter.py +174 -0
- tb_rest_client/models/models_pe/event_id.py +127 -0
- tb_rest_client/models/models_pe/event_info.py +286 -0
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
- tb_rest_client/models/models_pe/favicon.py +124 -0
- tb_rest_client/models/models_pe/features_info.py +254 -0
- tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
- tb_rest_client/models/models_pe/group_permission.py +370 -0
- tb_rest_client/models/models_pe/group_permission_id.py +162 -0
- tb_rest_client/models/models_pe/group_permission_info.py +560 -0
- tb_rest_client/models/models_pe/home_dashboard.py +478 -0
- tb_rest_client/models/models_pe/home_menu_item.py +320 -0
- tb_rest_client/models/models_pe/input_stream.py +98 -0
- tb_rest_client/models/models_pe/integration.py +571 -0
- tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
- tb_rest_client/models/models_pe/integration_id.py +162 -0
- tb_rest_client/models/models_pe/integration_info.py +460 -0
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
- tb_rest_client/models/models_pe/json_node.py +98 -0
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_pe/key_filter.py +182 -0
- tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_pe/license_usage_info.py +332 -0
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
- tb_rest_client/models/models_pe/login_request.py +156 -0
- tb_rest_client/models/models_pe/login_response.py +156 -0
- tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/mapping.py +202 -0
- tb_rest_client/models/models_pe/menu_item.py +152 -0
- tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
- tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
- tb_rest_client/models/models_pe/model.py +162 -0
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/node_connection_info.py +185 -0
- tb_rest_client/models/models_pe/notification.py +402 -0
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_pe/notification_id.py +162 -0
- tb_rest_client/models/models_pe/notification_info.py +185 -0
- tb_rest_client/models/models_pe/notification_request.py +417 -0
- tb_rest_client/models/models_pe/notification_request_config.py +124 -0
- tb_rest_client/models/models_pe/notification_request_id.py +162 -0
- tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
- tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
- tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
- tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_pe/notification_template_config.py +125 -0
- tb_rest_client/models/models_pe/notification_template_id.py +162 -0
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
- tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_pe/object_attributes.py +410 -0
- tb_rest_client/models/models_pe/object_node.py +98 -0
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_pe/ota_package.py +576 -0
- tb_rest_client/models/models_pe/ota_package_id.py +162 -0
- tb_rest_client/models/models_pe/ota_package_info.py +550 -0
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
- tb_rest_client/models/models_pe/other_configuration.py +364 -0
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
- tb_rest_client/models/models_pe/page_data_converter.py +210 -0
- tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_queue.py +210 -0
- tb_rest_client/models/models_pe/page_data_role.py +210 -0
- tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
- tb_rest_client/models/models_pe/palette.py +183 -0
- tb_rest_client/models/models_pe/palette_settings.py +152 -0
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_pe/processing_strategy.py +234 -0
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/queue.py +410 -0
- tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
- tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_pe/report_config.py +381 -0
- tb_rest_client/models/models_pe/repository_settings.py +390 -0
- tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
- tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_pe/reset_password_request.py +154 -0
- tb_rest_client/models/models_pe/resource.py +306 -0
- tb_rest_client/models/models_pe/response_entity.py +182 -0
- tb_rest_client/models/models_pe/role.py +371 -0
- tb_rest_client/models/models_pe/role_id.py +162 -0
- tb_rest_client/models/models_pe/rpc.py +344 -0
- tb_rest_client/models/models_pe/rpc_id.py +162 -0
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/rule_chain.py +402 -0
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
- tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_pe/rule_node.py +424 -0
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_pe/rule_node_id.py +162 -0
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_pe/scheduler_event.py +444 -0
- tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
- tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
- tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
- tb_rest_client/models/models_pe/security_settings.py +266 -0
- tb_rest_client/models/models_pe/self_registration_params.py +630 -0
- tb_rest_client/models/models_pe/share_group_request.py +235 -0
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/short_customer_info.py +204 -0
- tb_rest_client/models/models_pe/short_entity_view.py +154 -0
- tb_rest_client/models/models_pe/sign_up_request.py +294 -0
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
- tb_rest_client/models/models_pe/slack_conversation.py +263 -0
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
- tb_rest_client/models/models_pe/solution_install_response.py +260 -0
- tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
- tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_pe/submit_strategy.py +156 -0
- tb_rest_client/models/models_pe/subscription_usage.py +540 -0
- tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/system_info.py +152 -0
- tb_rest_client/models/models_pe/system_info_data.py +322 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
- tb_rest_client/models/models_pe/tb_resource.py +594 -0
- tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
- tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
- tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
- tb_rest_client/models/models_pe/test_sms_request.py +182 -0
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_pe/translation_info.py +238 -0
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/ts_value.py +176 -0
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_pe/update_message.py +266 -0
- tb_rest_client/models/models_pe/user.py +484 -0
- tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_pe/user_email_info.py +208 -0
- tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_id.py +162 -0
- tb_rest_client/models/models_pe/user_info.py +540 -0
- tb_rest_client/models/models_pe/user_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_password_policy.py +378 -0
- tb_rest_client/models/models_pe/user_role_filter.py +131 -0
- tb_rest_client/models/models_pe/users_filter.py +142 -0
- tb_rest_client/models/models_pe/version_create_config.py +228 -0
- tb_rest_client/models/models_pe/version_create_request.py +191 -0
- tb_rest_client/models/models_pe/version_creation_result.py +254 -0
- tb_rest_client/models/models_pe/version_load_config.py +254 -0
- tb_rest_client/models/models_pe/version_load_request.py +165 -0
- tb_rest_client/models/models_pe/version_load_result.py +176 -0
- tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/white_labeling.py +234 -0
- tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
- tb_rest_client/models/models_pe/widget_type.py +342 -0
- tb_rest_client/models/models_pe/widget_type_details.py +426 -0
- tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_pe/widget_type_id.py +162 -0
- tb_rest_client/models/models_pe/widget_type_info.py +428 -0
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/rest.py +342 -0
- tb_rest_client/rest_client_base.py +2159 -0
- tb_rest_client/rest_client_ce.py +1260 -0
- tb_rest_client/rest_client_pe.py +1856 -0
- tb_rest_client-3.8.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.8.0.dist-info/METADATA +80 -0
- tb_rest_client-3.8.0.dist-info/RECORD +1074 -0
- tb_rest_client-3.8.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1355 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.7.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2024. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class EntityRelationControllerApi(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 delete_relation_using_delete(self, from_id, from_type, relation_type, to_id, to_type, **kwargs): # noqa: E501
|
|
50
|
+
"""Delete Relation (deleteRelation) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Deletes a relation between two entities in the platform. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # 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.delete_relation_using_delete(from_id, from_type, relation_type, to_id, to_type, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
60
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
61
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
62
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
63
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
64
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
65
|
+
:return: None
|
|
66
|
+
If the method is called asynchronously,
|
|
67
|
+
returns the request thread.
|
|
68
|
+
"""
|
|
69
|
+
kwargs['_return_http_data_only'] = True
|
|
70
|
+
if kwargs.get('async_req'):
|
|
71
|
+
return self.delete_relation_using_delete_with_http_info(from_id, from_type, relation_type, to_id, to_type, **kwargs) # noqa: E501
|
|
72
|
+
else:
|
|
73
|
+
(data) = self.delete_relation_using_delete_with_http_info(from_id, from_type, relation_type, to_id, to_type, **kwargs) # noqa: E501
|
|
74
|
+
return data
|
|
75
|
+
|
|
76
|
+
def delete_relation_using_delete_with_http_info(self, from_id, from_type, relation_type, to_id, to_type, **kwargs): # noqa: E501
|
|
77
|
+
"""Delete Relation (deleteRelation) # noqa: E501
|
|
78
|
+
|
|
79
|
+
Deletes a relation between two entities in the platform. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # noqa: E501
|
|
80
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
81
|
+
asynchronous HTTP request, please pass async_req=True
|
|
82
|
+
>>> thread = api.delete_relation_using_delete_with_http_info(from_id, from_type, relation_type, to_id, to_type, async_req=True)
|
|
83
|
+
>>> result = thread.get()
|
|
84
|
+
|
|
85
|
+
:param async_req bool
|
|
86
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
87
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
88
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
89
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
90
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
91
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
92
|
+
:return: None
|
|
93
|
+
If the method is called asynchronously,
|
|
94
|
+
returns the request thread.
|
|
95
|
+
"""
|
|
96
|
+
|
|
97
|
+
all_params = ['from_id', 'from_type', 'relation_type', 'to_id', 'to_type', 'relation_type_group'] # noqa: E501
|
|
98
|
+
all_params.append('async_req')
|
|
99
|
+
all_params.append('_return_http_data_only')
|
|
100
|
+
all_params.append('_preload_content')
|
|
101
|
+
all_params.append('_request_timeout')
|
|
102
|
+
|
|
103
|
+
params = locals()
|
|
104
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
105
|
+
if key not in all_params:
|
|
106
|
+
raise TypeError(
|
|
107
|
+
"Got an unexpected keyword argument '%s'"
|
|
108
|
+
" to method delete_relation_using_delete" % key
|
|
109
|
+
)
|
|
110
|
+
params[key] = val
|
|
111
|
+
del params['kwargs']
|
|
112
|
+
# verify the required parameter 'from_id' is set
|
|
113
|
+
if ('from_id' not in params or
|
|
114
|
+
params['from_id'] is None):
|
|
115
|
+
raise ValueError("Missing the required parameter `from_id` when calling `delete_relation_using_delete`") # noqa: E501
|
|
116
|
+
# verify the required parameter 'from_type' is set
|
|
117
|
+
if ('from_type' not in params or
|
|
118
|
+
params['from_type'] is None):
|
|
119
|
+
raise ValueError("Missing the required parameter `from_type` when calling `delete_relation_using_delete`") # noqa: E501
|
|
120
|
+
# verify the required parameter 'relation_type' is set
|
|
121
|
+
if ('relation_type' not in params or
|
|
122
|
+
params['relation_type'] is None):
|
|
123
|
+
raise ValueError("Missing the required parameter `relation_type` when calling `delete_relation_using_delete`") # noqa: E501
|
|
124
|
+
# verify the required parameter 'to_id' is set
|
|
125
|
+
if ('to_id' not in params or
|
|
126
|
+
params['to_id'] is None):
|
|
127
|
+
raise ValueError("Missing the required parameter `to_id` when calling `delete_relation_using_delete`") # noqa: E501
|
|
128
|
+
# verify the required parameter 'to_type' is set
|
|
129
|
+
if ('to_type' not in params or
|
|
130
|
+
params['to_type'] is None):
|
|
131
|
+
raise ValueError("Missing the required parameter `to_type` when calling `delete_relation_using_delete`") # noqa: E501
|
|
132
|
+
|
|
133
|
+
collection_formats = {}
|
|
134
|
+
|
|
135
|
+
path_params = {}
|
|
136
|
+
|
|
137
|
+
query_params = []
|
|
138
|
+
if 'from_id' in params:
|
|
139
|
+
query_params.append(('fromId', params['from_id'])) # noqa: E501
|
|
140
|
+
if 'from_type' in params:
|
|
141
|
+
query_params.append(('fromType', params['from_type'])) # noqa: E501
|
|
142
|
+
if 'relation_type' in params:
|
|
143
|
+
query_params.append(('relationType', params['relation_type'])) # noqa: E501
|
|
144
|
+
if 'relation_type_group' in params:
|
|
145
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
146
|
+
if 'to_id' in params:
|
|
147
|
+
query_params.append(('toId', params['to_id'])) # noqa: E501
|
|
148
|
+
if 'to_type' in params:
|
|
149
|
+
query_params.append(('toType', params['to_type'])) # noqa: E501
|
|
150
|
+
|
|
151
|
+
header_params = {}
|
|
152
|
+
|
|
153
|
+
form_params = []
|
|
154
|
+
local_var_files = {}
|
|
155
|
+
|
|
156
|
+
body_params = None
|
|
157
|
+
# HTTP header `Accept`
|
|
158
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
159
|
+
['application/json']) # noqa: E501
|
|
160
|
+
|
|
161
|
+
# Authentication setting
|
|
162
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
163
|
+
|
|
164
|
+
return self.api_client.call_api(
|
|
165
|
+
'/api/relation{?fromId,fromType,relationType,relationTypeGroup,toId,toType}', 'DELETE',
|
|
166
|
+
path_params,
|
|
167
|
+
query_params,
|
|
168
|
+
header_params,
|
|
169
|
+
body=body_params,
|
|
170
|
+
post_params=form_params,
|
|
171
|
+
files=local_var_files,
|
|
172
|
+
response_type=None, # noqa: E501
|
|
173
|
+
auth_settings=auth_settings,
|
|
174
|
+
async_req=params.get('async_req'),
|
|
175
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
176
|
+
_preload_content=params.get('_preload_content', True),
|
|
177
|
+
_request_timeout=params.get('_request_timeout'),
|
|
178
|
+
collection_formats=collection_formats)
|
|
179
|
+
|
|
180
|
+
def delete_relations_using_delete(self, entity_id, entity_type, **kwargs): # noqa: E501
|
|
181
|
+
"""Delete common relations (deleteCommonRelations) # noqa: E501
|
|
182
|
+
|
|
183
|
+
Deletes all the relations ('from' and 'to' direction) for the specified entity and relation type group: 'COMMON'. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
184
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
185
|
+
asynchronous HTTP request, please pass async_req=True
|
|
186
|
+
>>> thread = api.delete_relations_using_delete(entity_id, entity_type, async_req=True)
|
|
187
|
+
>>> result = thread.get()
|
|
188
|
+
|
|
189
|
+
:param async_req bool
|
|
190
|
+
:param str entity_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
191
|
+
:param str entity_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
192
|
+
:return: None
|
|
193
|
+
If the method is called asynchronously,
|
|
194
|
+
returns the request thread.
|
|
195
|
+
"""
|
|
196
|
+
kwargs['_return_http_data_only'] = True
|
|
197
|
+
if kwargs.get('async_req'):
|
|
198
|
+
return self.delete_relations_using_delete_with_http_info(entity_id, entity_type, **kwargs) # noqa: E501
|
|
199
|
+
else:
|
|
200
|
+
(data) = self.delete_relations_using_delete_with_http_info(entity_id, entity_type, **kwargs) # noqa: E501
|
|
201
|
+
return data
|
|
202
|
+
|
|
203
|
+
def delete_relations_using_delete_with_http_info(self, entity_id, entity_type, **kwargs): # noqa: E501
|
|
204
|
+
"""Delete common relations (deleteCommonRelations) # noqa: E501
|
|
205
|
+
|
|
206
|
+
Deletes all the relations ('from' and 'to' direction) for the specified entity and relation type group: 'COMMON'. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
207
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
208
|
+
asynchronous HTTP request, please pass async_req=True
|
|
209
|
+
>>> thread = api.delete_relations_using_delete_with_http_info(entity_id, entity_type, async_req=True)
|
|
210
|
+
>>> result = thread.get()
|
|
211
|
+
|
|
212
|
+
:param async_req bool
|
|
213
|
+
:param str entity_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
214
|
+
:param str entity_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
215
|
+
:return: None
|
|
216
|
+
If the method is called asynchronously,
|
|
217
|
+
returns the request thread.
|
|
218
|
+
"""
|
|
219
|
+
|
|
220
|
+
all_params = ['entity_id', 'entity_type'] # noqa: E501
|
|
221
|
+
all_params.append('async_req')
|
|
222
|
+
all_params.append('_return_http_data_only')
|
|
223
|
+
all_params.append('_preload_content')
|
|
224
|
+
all_params.append('_request_timeout')
|
|
225
|
+
|
|
226
|
+
params = locals()
|
|
227
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
228
|
+
if key not in all_params:
|
|
229
|
+
raise TypeError(
|
|
230
|
+
"Got an unexpected keyword argument '%s'"
|
|
231
|
+
" to method delete_relations_using_delete" % key
|
|
232
|
+
)
|
|
233
|
+
params[key] = val
|
|
234
|
+
del params['kwargs']
|
|
235
|
+
# verify the required parameter 'entity_id' is set
|
|
236
|
+
if ('entity_id' not in params or
|
|
237
|
+
params['entity_id'] is None):
|
|
238
|
+
raise ValueError("Missing the required parameter `entity_id` when calling `delete_relations_using_delete`") # noqa: E501
|
|
239
|
+
# verify the required parameter 'entity_type' is set
|
|
240
|
+
if ('entity_type' not in params or
|
|
241
|
+
params['entity_type'] is None):
|
|
242
|
+
raise ValueError("Missing the required parameter `entity_type` when calling `delete_relations_using_delete`") # noqa: E501
|
|
243
|
+
|
|
244
|
+
collection_formats = {}
|
|
245
|
+
|
|
246
|
+
path_params = {}
|
|
247
|
+
|
|
248
|
+
query_params = []
|
|
249
|
+
if 'entity_id' in params:
|
|
250
|
+
query_params.append(('entityId', params['entity_id'])) # noqa: E501
|
|
251
|
+
if 'entity_type' in params:
|
|
252
|
+
query_params.append(('entityType', params['entity_type'])) # noqa: E501
|
|
253
|
+
|
|
254
|
+
header_params = {}
|
|
255
|
+
|
|
256
|
+
form_params = []
|
|
257
|
+
local_var_files = {}
|
|
258
|
+
|
|
259
|
+
body_params = None
|
|
260
|
+
# HTTP header `Accept`
|
|
261
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
262
|
+
['application/json']) # noqa: E501
|
|
263
|
+
|
|
264
|
+
# Authentication setting
|
|
265
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
266
|
+
|
|
267
|
+
return self.api_client.call_api(
|
|
268
|
+
'/api/relations{?entityId,entityType}', 'DELETE',
|
|
269
|
+
path_params,
|
|
270
|
+
query_params,
|
|
271
|
+
header_params,
|
|
272
|
+
body=body_params,
|
|
273
|
+
post_params=form_params,
|
|
274
|
+
files=local_var_files,
|
|
275
|
+
response_type=None, # noqa: E501
|
|
276
|
+
auth_settings=auth_settings,
|
|
277
|
+
async_req=params.get('async_req'),
|
|
278
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
279
|
+
_preload_content=params.get('_preload_content', True),
|
|
280
|
+
_request_timeout=params.get('_request_timeout'),
|
|
281
|
+
collection_formats=collection_formats)
|
|
282
|
+
|
|
283
|
+
def find_by_from_using_get(self, from_id, from_type, relation_type, **kwargs): # noqa: E501
|
|
284
|
+
"""Get List of Relations (findByFrom) # noqa: E501
|
|
285
|
+
|
|
286
|
+
Returns list of relation objects for the specified entity by the 'from' direction and relation type. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
287
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
288
|
+
asynchronous HTTP request, please pass async_req=True
|
|
289
|
+
>>> thread = api.find_by_from_using_get(from_id, from_type, relation_type, async_req=True)
|
|
290
|
+
>>> result = thread.get()
|
|
291
|
+
|
|
292
|
+
:param async_req bool
|
|
293
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
294
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
295
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
296
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
297
|
+
:return: list[EntityRelation]
|
|
298
|
+
If the method is called asynchronously,
|
|
299
|
+
returns the request thread.
|
|
300
|
+
"""
|
|
301
|
+
kwargs['_return_http_data_only'] = True
|
|
302
|
+
if kwargs.get('async_req'):
|
|
303
|
+
return self.find_by_from_using_get_with_http_info(from_id, from_type, relation_type, **kwargs) # noqa: E501
|
|
304
|
+
else:
|
|
305
|
+
(data) = self.find_by_from_using_get_with_http_info(from_id, from_type, relation_type, **kwargs) # noqa: E501
|
|
306
|
+
return data
|
|
307
|
+
|
|
308
|
+
def find_by_from_using_get_with_http_info(self, from_id, from_type, relation_type, **kwargs): # noqa: E501
|
|
309
|
+
"""Get List of Relations (findByFrom) # noqa: E501
|
|
310
|
+
|
|
311
|
+
Returns list of relation objects for the specified entity by the 'from' direction and relation type. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
312
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
313
|
+
asynchronous HTTP request, please pass async_req=True
|
|
314
|
+
>>> thread = api.find_by_from_using_get_with_http_info(from_id, from_type, relation_type, async_req=True)
|
|
315
|
+
>>> result = thread.get()
|
|
316
|
+
|
|
317
|
+
:param async_req bool
|
|
318
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
319
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
320
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
321
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
322
|
+
:return: list[EntityRelation]
|
|
323
|
+
If the method is called asynchronously,
|
|
324
|
+
returns the request thread.
|
|
325
|
+
"""
|
|
326
|
+
|
|
327
|
+
all_params = ['from_id', 'from_type', 'relation_type', 'relation_type_group'] # noqa: E501
|
|
328
|
+
all_params.append('async_req')
|
|
329
|
+
all_params.append('_return_http_data_only')
|
|
330
|
+
all_params.append('_preload_content')
|
|
331
|
+
all_params.append('_request_timeout')
|
|
332
|
+
|
|
333
|
+
params = locals()
|
|
334
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
335
|
+
if key not in all_params:
|
|
336
|
+
raise TypeError(
|
|
337
|
+
"Got an unexpected keyword argument '%s'"
|
|
338
|
+
" to method find_by_from_using_get" % key
|
|
339
|
+
)
|
|
340
|
+
params[key] = val
|
|
341
|
+
del params['kwargs']
|
|
342
|
+
# verify the required parameter 'from_id' is set
|
|
343
|
+
if ('from_id' not in params or
|
|
344
|
+
params['from_id'] is None):
|
|
345
|
+
raise ValueError("Missing the required parameter `from_id` when calling `find_by_from_using_get`") # noqa: E501
|
|
346
|
+
# verify the required parameter 'from_type' is set
|
|
347
|
+
if ('from_type' not in params or
|
|
348
|
+
params['from_type'] is None):
|
|
349
|
+
raise ValueError("Missing the required parameter `from_type` when calling `find_by_from_using_get`") # noqa: E501
|
|
350
|
+
# verify the required parameter 'relation_type' is set
|
|
351
|
+
if ('relation_type' not in params or
|
|
352
|
+
params['relation_type'] is None):
|
|
353
|
+
raise ValueError("Missing the required parameter `relation_type` when calling `find_by_from_using_get`") # noqa: E501
|
|
354
|
+
|
|
355
|
+
collection_formats = {}
|
|
356
|
+
|
|
357
|
+
path_params = {}
|
|
358
|
+
|
|
359
|
+
query_params = []
|
|
360
|
+
if 'from_id' in params:
|
|
361
|
+
query_params.append(('fromId', params['from_id'])) # noqa: E501
|
|
362
|
+
if 'from_type' in params:
|
|
363
|
+
query_params.append(('fromType', params['from_type'])) # noqa: E501
|
|
364
|
+
if 'relation_type' in params:
|
|
365
|
+
query_params.append(('relationType', params['relation_type'])) # noqa: E501
|
|
366
|
+
if 'relation_type_group' in params:
|
|
367
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
368
|
+
|
|
369
|
+
header_params = {}
|
|
370
|
+
|
|
371
|
+
form_params = []
|
|
372
|
+
local_var_files = {}
|
|
373
|
+
|
|
374
|
+
body_params = None
|
|
375
|
+
# HTTP header `Accept`
|
|
376
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
377
|
+
['application/json']) # noqa: E501
|
|
378
|
+
|
|
379
|
+
# Authentication setting
|
|
380
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
381
|
+
|
|
382
|
+
return self.api_client.call_api(
|
|
383
|
+
'/api/relations{?fromId,fromType,relationType,relationTypeGroup}', 'GET',
|
|
384
|
+
path_params,
|
|
385
|
+
query_params,
|
|
386
|
+
header_params,
|
|
387
|
+
body=body_params,
|
|
388
|
+
post_params=form_params,
|
|
389
|
+
files=local_var_files,
|
|
390
|
+
response_type='list[EntityRelation]', # noqa: E501
|
|
391
|
+
auth_settings=auth_settings,
|
|
392
|
+
async_req=params.get('async_req'),
|
|
393
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
394
|
+
_preload_content=params.get('_preload_content', True),
|
|
395
|
+
_request_timeout=params.get('_request_timeout'),
|
|
396
|
+
collection_formats=collection_formats)
|
|
397
|
+
|
|
398
|
+
def find_by_from_using_get1(self, from_id, from_type, **kwargs): # noqa: E501
|
|
399
|
+
"""Get List of Relations (findByFrom) # noqa: E501
|
|
400
|
+
|
|
401
|
+
Returns list of relation objects for the specified entity by the 'from' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
402
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
403
|
+
asynchronous HTTP request, please pass async_req=True
|
|
404
|
+
>>> thread = api.find_by_from_using_get1(from_id, from_type, async_req=True)
|
|
405
|
+
>>> result = thread.get()
|
|
406
|
+
|
|
407
|
+
:param async_req bool
|
|
408
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
409
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
410
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
411
|
+
:return: list[EntityRelation]
|
|
412
|
+
If the method is called asynchronously,
|
|
413
|
+
returns the request thread.
|
|
414
|
+
"""
|
|
415
|
+
kwargs['_return_http_data_only'] = True
|
|
416
|
+
if kwargs.get('async_req'):
|
|
417
|
+
return self.find_by_from_using_get1_with_http_info(from_id, from_type, **kwargs) # noqa: E501
|
|
418
|
+
else:
|
|
419
|
+
(data) = self.find_by_from_using_get1_with_http_info(from_id, from_type, **kwargs) # noqa: E501
|
|
420
|
+
return data
|
|
421
|
+
|
|
422
|
+
def find_by_from_using_get1_with_http_info(self, from_id, from_type, **kwargs): # noqa: E501
|
|
423
|
+
"""Get List of Relations (findByFrom) # noqa: E501
|
|
424
|
+
|
|
425
|
+
Returns list of relation objects for the specified entity by the 'from' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
426
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
427
|
+
asynchronous HTTP request, please pass async_req=True
|
|
428
|
+
>>> thread = api.find_by_from_using_get1_with_http_info(from_id, from_type, async_req=True)
|
|
429
|
+
>>> result = thread.get()
|
|
430
|
+
|
|
431
|
+
:param async_req bool
|
|
432
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
433
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
434
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
435
|
+
:return: list[EntityRelation]
|
|
436
|
+
If the method is called asynchronously,
|
|
437
|
+
returns the request thread.
|
|
438
|
+
"""
|
|
439
|
+
|
|
440
|
+
all_params = ['from_id', 'from_type', 'relation_type_group'] # noqa: E501
|
|
441
|
+
all_params.append('async_req')
|
|
442
|
+
all_params.append('_return_http_data_only')
|
|
443
|
+
all_params.append('_preload_content')
|
|
444
|
+
all_params.append('_request_timeout')
|
|
445
|
+
|
|
446
|
+
params = locals()
|
|
447
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
448
|
+
if key not in all_params:
|
|
449
|
+
raise TypeError(
|
|
450
|
+
"Got an unexpected keyword argument '%s'"
|
|
451
|
+
" to method find_by_from_using_get1" % key
|
|
452
|
+
)
|
|
453
|
+
params[key] = val
|
|
454
|
+
del params['kwargs']
|
|
455
|
+
# verify the required parameter 'from_id' is set
|
|
456
|
+
if ('from_id' not in params or
|
|
457
|
+
params['from_id'] is None):
|
|
458
|
+
raise ValueError("Missing the required parameter `from_id` when calling `find_by_from_using_get1`") # noqa: E501
|
|
459
|
+
# verify the required parameter 'from_type' is set
|
|
460
|
+
if ('from_type' not in params or
|
|
461
|
+
params['from_type'] is None):
|
|
462
|
+
raise ValueError("Missing the required parameter `from_type` when calling `find_by_from_using_get1`") # noqa: E501
|
|
463
|
+
|
|
464
|
+
collection_formats = {}
|
|
465
|
+
|
|
466
|
+
path_params = {}
|
|
467
|
+
|
|
468
|
+
query_params = []
|
|
469
|
+
if 'from_id' in params:
|
|
470
|
+
query_params.append(('fromId', params['from_id'])) # noqa: E501
|
|
471
|
+
if 'from_type' in params:
|
|
472
|
+
query_params.append(('fromType', params['from_type'])) # noqa: E501
|
|
473
|
+
if 'relation_type_group' in params:
|
|
474
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
475
|
+
|
|
476
|
+
header_params = {}
|
|
477
|
+
|
|
478
|
+
form_params = []
|
|
479
|
+
local_var_files = {}
|
|
480
|
+
|
|
481
|
+
body_params = None
|
|
482
|
+
# HTTP header `Accept`
|
|
483
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
484
|
+
['application/json']) # noqa: E501
|
|
485
|
+
|
|
486
|
+
# Authentication setting
|
|
487
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
488
|
+
|
|
489
|
+
return self.api_client.call_api(
|
|
490
|
+
'/api/relations{?fromId,fromType,relationTypeGroup}', 'GET',
|
|
491
|
+
path_params,
|
|
492
|
+
query_params,
|
|
493
|
+
header_params,
|
|
494
|
+
body=body_params,
|
|
495
|
+
post_params=form_params,
|
|
496
|
+
files=local_var_files,
|
|
497
|
+
response_type='list[EntityRelation]', # noqa: E501
|
|
498
|
+
auth_settings=auth_settings,
|
|
499
|
+
async_req=params.get('async_req'),
|
|
500
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
501
|
+
_preload_content=params.get('_preload_content', True),
|
|
502
|
+
_request_timeout=params.get('_request_timeout'),
|
|
503
|
+
collection_formats=collection_formats)
|
|
504
|
+
|
|
505
|
+
def find_by_query_using_post3(self, **kwargs): # noqa: E501
|
|
506
|
+
"""Find related entities (findByQuery) # noqa: E501
|
|
507
|
+
|
|
508
|
+
Returns all entities that are related to the specific entity. The entity id, relation type, entity types, depth of the search, and other query parameters defined using complex 'EntityRelationsQuery' object. See 'Model' tab of the Parameters for more info. # noqa: E501
|
|
509
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
510
|
+
asynchronous HTTP request, please pass async_req=True
|
|
511
|
+
>>> thread = api.find_by_query_using_post3(async_req=True)
|
|
512
|
+
>>> result = thread.get()
|
|
513
|
+
|
|
514
|
+
:param async_req bool
|
|
515
|
+
:param EntityRelationsQuery body:
|
|
516
|
+
:return: list[EntityRelation]
|
|
517
|
+
If the method is called asynchronously,
|
|
518
|
+
returns the request thread.
|
|
519
|
+
"""
|
|
520
|
+
kwargs['_return_http_data_only'] = True
|
|
521
|
+
if kwargs.get('async_req'):
|
|
522
|
+
return self.find_by_query_using_post3_with_http_info(**kwargs) # noqa: E501
|
|
523
|
+
else:
|
|
524
|
+
(data) = self.find_by_query_using_post3_with_http_info(**kwargs) # noqa: E501
|
|
525
|
+
return data
|
|
526
|
+
|
|
527
|
+
def find_by_query_using_post3_with_http_info(self, **kwargs): # noqa: E501
|
|
528
|
+
"""Find related entities (findByQuery) # noqa: E501
|
|
529
|
+
|
|
530
|
+
Returns all entities that are related to the specific entity. The entity id, relation type, entity types, depth of the search, and other query parameters defined using complex 'EntityRelationsQuery' object. See 'Model' tab of the Parameters for more info. # noqa: E501
|
|
531
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
532
|
+
asynchronous HTTP request, please pass async_req=True
|
|
533
|
+
>>> thread = api.find_by_query_using_post3_with_http_info(async_req=True)
|
|
534
|
+
>>> result = thread.get()
|
|
535
|
+
|
|
536
|
+
:param async_req bool
|
|
537
|
+
:param EntityRelationsQuery body:
|
|
538
|
+
:return: list[EntityRelation]
|
|
539
|
+
If the method is called asynchronously,
|
|
540
|
+
returns the request thread.
|
|
541
|
+
"""
|
|
542
|
+
|
|
543
|
+
all_params = ['body'] # noqa: E501
|
|
544
|
+
all_params.append('async_req')
|
|
545
|
+
all_params.append('_return_http_data_only')
|
|
546
|
+
all_params.append('_preload_content')
|
|
547
|
+
all_params.append('_request_timeout')
|
|
548
|
+
|
|
549
|
+
params = locals()
|
|
550
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
551
|
+
if key not in all_params:
|
|
552
|
+
raise TypeError(
|
|
553
|
+
"Got an unexpected keyword argument '%s'"
|
|
554
|
+
" to method find_by_query_using_post3" % key
|
|
555
|
+
)
|
|
556
|
+
params[key] = val
|
|
557
|
+
del params['kwargs']
|
|
558
|
+
|
|
559
|
+
collection_formats = {}
|
|
560
|
+
|
|
561
|
+
path_params = {}
|
|
562
|
+
|
|
563
|
+
query_params = []
|
|
564
|
+
|
|
565
|
+
header_params = {}
|
|
566
|
+
|
|
567
|
+
form_params = []
|
|
568
|
+
local_var_files = {}
|
|
569
|
+
|
|
570
|
+
body_params = None
|
|
571
|
+
if 'body' in params:
|
|
572
|
+
body_params = params['body']
|
|
573
|
+
# HTTP header `Accept`
|
|
574
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
575
|
+
['application/json']) # noqa: E501
|
|
576
|
+
|
|
577
|
+
# HTTP header `Content-Type`
|
|
578
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
579
|
+
['application/json']) # noqa: E501
|
|
580
|
+
|
|
581
|
+
# Authentication setting
|
|
582
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
583
|
+
|
|
584
|
+
return self.api_client.call_api(
|
|
585
|
+
'/api/relations', 'POST',
|
|
586
|
+
path_params,
|
|
587
|
+
query_params,
|
|
588
|
+
header_params,
|
|
589
|
+
body=body_params,
|
|
590
|
+
post_params=form_params,
|
|
591
|
+
files=local_var_files,
|
|
592
|
+
response_type='list[EntityRelation]', # noqa: E501
|
|
593
|
+
auth_settings=auth_settings,
|
|
594
|
+
async_req=params.get('async_req'),
|
|
595
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
596
|
+
_preload_content=params.get('_preload_content', True),
|
|
597
|
+
_request_timeout=params.get('_request_timeout'),
|
|
598
|
+
collection_formats=collection_formats)
|
|
599
|
+
|
|
600
|
+
def find_by_to_using_get(self, to_id, to_type, relation_type, **kwargs): # noqa: E501
|
|
601
|
+
"""Get List of Relations (findByTo) # noqa: E501
|
|
602
|
+
|
|
603
|
+
Returns list of relation objects for the specified entity by the 'to' direction and relation type. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
604
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
605
|
+
asynchronous HTTP request, please pass async_req=True
|
|
606
|
+
>>> thread = api.find_by_to_using_get(to_id, to_type, relation_type, async_req=True)
|
|
607
|
+
>>> result = thread.get()
|
|
608
|
+
|
|
609
|
+
:param async_req bool
|
|
610
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
611
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
612
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
613
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
614
|
+
:return: list[EntityRelation]
|
|
615
|
+
If the method is called asynchronously,
|
|
616
|
+
returns the request thread.
|
|
617
|
+
"""
|
|
618
|
+
kwargs['_return_http_data_only'] = True
|
|
619
|
+
if kwargs.get('async_req'):
|
|
620
|
+
return self.find_by_to_using_get_with_http_info(to_id, to_type, relation_type, **kwargs) # noqa: E501
|
|
621
|
+
else:
|
|
622
|
+
(data) = self.find_by_to_using_get_with_http_info(to_id, to_type, relation_type, **kwargs) # noqa: E501
|
|
623
|
+
return data
|
|
624
|
+
|
|
625
|
+
def find_by_to_using_get_with_http_info(self, to_id, to_type, relation_type, **kwargs): # noqa: E501
|
|
626
|
+
"""Get List of Relations (findByTo) # noqa: E501
|
|
627
|
+
|
|
628
|
+
Returns list of relation objects for the specified entity by the 'to' direction and relation type. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
629
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
630
|
+
asynchronous HTTP request, please pass async_req=True
|
|
631
|
+
>>> thread = api.find_by_to_using_get_with_http_info(to_id, to_type, relation_type, async_req=True)
|
|
632
|
+
>>> result = thread.get()
|
|
633
|
+
|
|
634
|
+
:param async_req bool
|
|
635
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
636
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
637
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
638
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
639
|
+
:return: list[EntityRelation]
|
|
640
|
+
If the method is called asynchronously,
|
|
641
|
+
returns the request thread.
|
|
642
|
+
"""
|
|
643
|
+
|
|
644
|
+
all_params = ['to_id', 'to_type', 'relation_type', 'relation_type_group'] # noqa: E501
|
|
645
|
+
all_params.append('async_req')
|
|
646
|
+
all_params.append('_return_http_data_only')
|
|
647
|
+
all_params.append('_preload_content')
|
|
648
|
+
all_params.append('_request_timeout')
|
|
649
|
+
|
|
650
|
+
params = locals()
|
|
651
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
652
|
+
if key not in all_params:
|
|
653
|
+
raise TypeError(
|
|
654
|
+
"Got an unexpected keyword argument '%s'"
|
|
655
|
+
" to method find_by_to_using_get" % key
|
|
656
|
+
)
|
|
657
|
+
params[key] = val
|
|
658
|
+
del params['kwargs']
|
|
659
|
+
# verify the required parameter 'to_id' is set
|
|
660
|
+
if ('to_id' not in params or
|
|
661
|
+
params['to_id'] is None):
|
|
662
|
+
raise ValueError("Missing the required parameter `to_id` when calling `find_by_to_using_get`") # noqa: E501
|
|
663
|
+
# verify the required parameter 'to_type' is set
|
|
664
|
+
if ('to_type' not in params or
|
|
665
|
+
params['to_type'] is None):
|
|
666
|
+
raise ValueError("Missing the required parameter `to_type` when calling `find_by_to_using_get`") # noqa: E501
|
|
667
|
+
# verify the required parameter 'relation_type' is set
|
|
668
|
+
if ('relation_type' not in params or
|
|
669
|
+
params['relation_type'] is None):
|
|
670
|
+
raise ValueError("Missing the required parameter `relation_type` when calling `find_by_to_using_get`") # noqa: E501
|
|
671
|
+
|
|
672
|
+
collection_formats = {}
|
|
673
|
+
|
|
674
|
+
path_params = {}
|
|
675
|
+
|
|
676
|
+
query_params = []
|
|
677
|
+
if 'to_id' in params:
|
|
678
|
+
query_params.append(('toId', params['to_id'])) # noqa: E501
|
|
679
|
+
if 'to_type' in params:
|
|
680
|
+
query_params.append(('toType', params['to_type'])) # noqa: E501
|
|
681
|
+
if 'relation_type' in params:
|
|
682
|
+
query_params.append(('relationType', params['relation_type'])) # noqa: E501
|
|
683
|
+
if 'relation_type_group' in params:
|
|
684
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
685
|
+
|
|
686
|
+
header_params = {}
|
|
687
|
+
|
|
688
|
+
form_params = []
|
|
689
|
+
local_var_files = {}
|
|
690
|
+
|
|
691
|
+
body_params = None
|
|
692
|
+
# HTTP header `Accept`
|
|
693
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
694
|
+
['application/json']) # noqa: E501
|
|
695
|
+
|
|
696
|
+
# Authentication setting
|
|
697
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
698
|
+
|
|
699
|
+
return self.api_client.call_api(
|
|
700
|
+
'/api/relations{?relationType,relationTypeGroup,toId,toType}', 'GET',
|
|
701
|
+
path_params,
|
|
702
|
+
query_params,
|
|
703
|
+
header_params,
|
|
704
|
+
body=body_params,
|
|
705
|
+
post_params=form_params,
|
|
706
|
+
files=local_var_files,
|
|
707
|
+
response_type='list[EntityRelation]', # noqa: E501
|
|
708
|
+
auth_settings=auth_settings,
|
|
709
|
+
async_req=params.get('async_req'),
|
|
710
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
711
|
+
_preload_content=params.get('_preload_content', True),
|
|
712
|
+
_request_timeout=params.get('_request_timeout'),
|
|
713
|
+
collection_formats=collection_formats)
|
|
714
|
+
|
|
715
|
+
def find_by_to_using_get1(self, to_id, to_type, **kwargs): # noqa: E501
|
|
716
|
+
"""Get List of Relations (findByTo) # noqa: E501
|
|
717
|
+
|
|
718
|
+
Returns list of relation objects for the specified entity by the 'to' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
719
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
720
|
+
asynchronous HTTP request, please pass async_req=True
|
|
721
|
+
>>> thread = api.find_by_to_using_get1(to_id, to_type, async_req=True)
|
|
722
|
+
>>> result = thread.get()
|
|
723
|
+
|
|
724
|
+
:param async_req bool
|
|
725
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
726
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
727
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
728
|
+
:return: list[EntityRelation]
|
|
729
|
+
If the method is called asynchronously,
|
|
730
|
+
returns the request thread.
|
|
731
|
+
"""
|
|
732
|
+
kwargs['_return_http_data_only'] = True
|
|
733
|
+
if kwargs.get('async_req'):
|
|
734
|
+
return self.find_by_to_using_get1_with_http_info(to_id, to_type, **kwargs) # noqa: E501
|
|
735
|
+
else:
|
|
736
|
+
(data) = self.find_by_to_using_get1_with_http_info(to_id, to_type, **kwargs) # noqa: E501
|
|
737
|
+
return data
|
|
738
|
+
|
|
739
|
+
def find_by_to_using_get1_with_http_info(self, to_id, to_type, **kwargs): # noqa: E501
|
|
740
|
+
"""Get List of Relations (findByTo) # noqa: E501
|
|
741
|
+
|
|
742
|
+
Returns list of relation objects for the specified entity by the 'to' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. # noqa: E501
|
|
743
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
744
|
+
asynchronous HTTP request, please pass async_req=True
|
|
745
|
+
>>> thread = api.find_by_to_using_get1_with_http_info(to_id, to_type, async_req=True)
|
|
746
|
+
>>> result = thread.get()
|
|
747
|
+
|
|
748
|
+
:param async_req bool
|
|
749
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
750
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
751
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
752
|
+
:return: list[EntityRelation]
|
|
753
|
+
If the method is called asynchronously,
|
|
754
|
+
returns the request thread.
|
|
755
|
+
"""
|
|
756
|
+
|
|
757
|
+
all_params = ['to_id', 'to_type', 'relation_type_group'] # noqa: E501
|
|
758
|
+
all_params.append('async_req')
|
|
759
|
+
all_params.append('_return_http_data_only')
|
|
760
|
+
all_params.append('_preload_content')
|
|
761
|
+
all_params.append('_request_timeout')
|
|
762
|
+
|
|
763
|
+
params = locals()
|
|
764
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
765
|
+
if key not in all_params:
|
|
766
|
+
raise TypeError(
|
|
767
|
+
"Got an unexpected keyword argument '%s'"
|
|
768
|
+
" to method find_by_to_using_get1" % key
|
|
769
|
+
)
|
|
770
|
+
params[key] = val
|
|
771
|
+
del params['kwargs']
|
|
772
|
+
# verify the required parameter 'to_id' is set
|
|
773
|
+
if ('to_id' not in params or
|
|
774
|
+
params['to_id'] is None):
|
|
775
|
+
raise ValueError("Missing the required parameter `to_id` when calling `find_by_to_using_get1`") # noqa: E501
|
|
776
|
+
# verify the required parameter 'to_type' is set
|
|
777
|
+
if ('to_type' not in params or
|
|
778
|
+
params['to_type'] is None):
|
|
779
|
+
raise ValueError("Missing the required parameter `to_type` when calling `find_by_to_using_get1`") # noqa: E501
|
|
780
|
+
|
|
781
|
+
collection_formats = {}
|
|
782
|
+
|
|
783
|
+
path_params = {}
|
|
784
|
+
|
|
785
|
+
query_params = []
|
|
786
|
+
if 'to_id' in params:
|
|
787
|
+
query_params.append(('toId', params['to_id'])) # noqa: E501
|
|
788
|
+
if 'to_type' in params:
|
|
789
|
+
query_params.append(('toType', params['to_type'])) # noqa: E501
|
|
790
|
+
if 'relation_type_group' in params:
|
|
791
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
792
|
+
|
|
793
|
+
header_params = {}
|
|
794
|
+
|
|
795
|
+
form_params = []
|
|
796
|
+
local_var_files = {}
|
|
797
|
+
|
|
798
|
+
body_params = None
|
|
799
|
+
# HTTP header `Accept`
|
|
800
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
801
|
+
['application/json']) # noqa: E501
|
|
802
|
+
|
|
803
|
+
# Authentication setting
|
|
804
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
805
|
+
|
|
806
|
+
return self.api_client.call_api(
|
|
807
|
+
'/api/relations{?relationTypeGroup,toId,toType}', 'GET',
|
|
808
|
+
path_params,
|
|
809
|
+
query_params,
|
|
810
|
+
header_params,
|
|
811
|
+
body=body_params,
|
|
812
|
+
post_params=form_params,
|
|
813
|
+
files=local_var_files,
|
|
814
|
+
response_type='list[EntityRelation]', # noqa: E501
|
|
815
|
+
auth_settings=auth_settings,
|
|
816
|
+
async_req=params.get('async_req'),
|
|
817
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
818
|
+
_preload_content=params.get('_preload_content', True),
|
|
819
|
+
_request_timeout=params.get('_request_timeout'),
|
|
820
|
+
collection_formats=collection_formats)
|
|
821
|
+
|
|
822
|
+
def find_info_by_from_using_get(self, from_id, from_type, **kwargs): # noqa: E501
|
|
823
|
+
"""Get List of Relation Infos (findInfoByFrom) # noqa: E501
|
|
824
|
+
|
|
825
|
+
Returns list of relation info objects for the specified entity by the 'from' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
826
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
827
|
+
asynchronous HTTP request, please pass async_req=True
|
|
828
|
+
>>> thread = api.find_info_by_from_using_get(from_id, from_type, async_req=True)
|
|
829
|
+
>>> result = thread.get()
|
|
830
|
+
|
|
831
|
+
:param async_req bool
|
|
832
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
833
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
834
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
835
|
+
:return: list[EntityRelationInfo]
|
|
836
|
+
If the method is called asynchronously,
|
|
837
|
+
returns the request thread.
|
|
838
|
+
"""
|
|
839
|
+
kwargs['_return_http_data_only'] = True
|
|
840
|
+
if kwargs.get('async_req'):
|
|
841
|
+
return self.find_info_by_from_using_get_with_http_info(from_id, from_type, **kwargs) # noqa: E501
|
|
842
|
+
else:
|
|
843
|
+
(data) = self.find_info_by_from_using_get_with_http_info(from_id, from_type, **kwargs) # noqa: E501
|
|
844
|
+
return data
|
|
845
|
+
|
|
846
|
+
def find_info_by_from_using_get_with_http_info(self, from_id, from_type, **kwargs): # noqa: E501
|
|
847
|
+
"""Get List of Relation Infos (findInfoByFrom) # noqa: E501
|
|
848
|
+
|
|
849
|
+
Returns list of relation info objects for the specified entity by the 'from' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
850
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
851
|
+
asynchronous HTTP request, please pass async_req=True
|
|
852
|
+
>>> thread = api.find_info_by_from_using_get_with_http_info(from_id, from_type, async_req=True)
|
|
853
|
+
>>> result = thread.get()
|
|
854
|
+
|
|
855
|
+
:param async_req bool
|
|
856
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
857
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
858
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
859
|
+
:return: list[EntityRelationInfo]
|
|
860
|
+
If the method is called asynchronously,
|
|
861
|
+
returns the request thread.
|
|
862
|
+
"""
|
|
863
|
+
|
|
864
|
+
all_params = ['from_id', 'from_type', 'relation_type_group'] # noqa: E501
|
|
865
|
+
all_params.append('async_req')
|
|
866
|
+
all_params.append('_return_http_data_only')
|
|
867
|
+
all_params.append('_preload_content')
|
|
868
|
+
all_params.append('_request_timeout')
|
|
869
|
+
|
|
870
|
+
params = locals()
|
|
871
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
872
|
+
if key not in all_params:
|
|
873
|
+
raise TypeError(
|
|
874
|
+
"Got an unexpected keyword argument '%s'"
|
|
875
|
+
" to method find_info_by_from_using_get" % key
|
|
876
|
+
)
|
|
877
|
+
params[key] = val
|
|
878
|
+
del params['kwargs']
|
|
879
|
+
# verify the required parameter 'from_id' is set
|
|
880
|
+
if ('from_id' not in params or
|
|
881
|
+
params['from_id'] is None):
|
|
882
|
+
raise ValueError("Missing the required parameter `from_id` when calling `find_info_by_from_using_get`") # noqa: E501
|
|
883
|
+
# verify the required parameter 'from_type' is set
|
|
884
|
+
if ('from_type' not in params or
|
|
885
|
+
params['from_type'] is None):
|
|
886
|
+
raise ValueError("Missing the required parameter `from_type` when calling `find_info_by_from_using_get`") # noqa: E501
|
|
887
|
+
|
|
888
|
+
collection_formats = {}
|
|
889
|
+
|
|
890
|
+
path_params = {}
|
|
891
|
+
|
|
892
|
+
query_params = []
|
|
893
|
+
if 'from_id' in params:
|
|
894
|
+
query_params.append(('fromId', params['from_id'])) # noqa: E501
|
|
895
|
+
if 'from_type' in params:
|
|
896
|
+
query_params.append(('fromType', params['from_type'])) # noqa: E501
|
|
897
|
+
if 'relation_type_group' in params:
|
|
898
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
899
|
+
|
|
900
|
+
header_params = {}
|
|
901
|
+
|
|
902
|
+
form_params = []
|
|
903
|
+
local_var_files = {}
|
|
904
|
+
|
|
905
|
+
body_params = None
|
|
906
|
+
# HTTP header `Accept`
|
|
907
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
908
|
+
['application/json']) # noqa: E501
|
|
909
|
+
|
|
910
|
+
# Authentication setting
|
|
911
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
912
|
+
|
|
913
|
+
return self.api_client.call_api(
|
|
914
|
+
'/api/relations/info{?fromId,fromType,relationTypeGroup}', 'GET',
|
|
915
|
+
path_params,
|
|
916
|
+
query_params,
|
|
917
|
+
header_params,
|
|
918
|
+
body=body_params,
|
|
919
|
+
post_params=form_params,
|
|
920
|
+
files=local_var_files,
|
|
921
|
+
response_type='list[EntityRelationInfo]', # noqa: E501
|
|
922
|
+
auth_settings=auth_settings,
|
|
923
|
+
async_req=params.get('async_req'),
|
|
924
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
925
|
+
_preload_content=params.get('_preload_content', True),
|
|
926
|
+
_request_timeout=params.get('_request_timeout'),
|
|
927
|
+
collection_formats=collection_formats)
|
|
928
|
+
|
|
929
|
+
def find_info_by_query_using_post(self, **kwargs): # noqa: E501
|
|
930
|
+
"""Find related entity infos (findInfoByQuery) # noqa: E501
|
|
931
|
+
|
|
932
|
+
Returns all entity infos that are related to the specific entity. The entity id, relation type, entity types, depth of the search, and other query parameters defined using complex 'EntityRelationsQuery' object. See 'Model' tab of the Parameters for more info. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
933
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
934
|
+
asynchronous HTTP request, please pass async_req=True
|
|
935
|
+
>>> thread = api.find_info_by_query_using_post(async_req=True)
|
|
936
|
+
>>> result = thread.get()
|
|
937
|
+
|
|
938
|
+
:param async_req bool
|
|
939
|
+
:param EntityRelationsQuery body:
|
|
940
|
+
:return: list[EntityRelationInfo]
|
|
941
|
+
If the method is called asynchronously,
|
|
942
|
+
returns the request thread.
|
|
943
|
+
"""
|
|
944
|
+
kwargs['_return_http_data_only'] = True
|
|
945
|
+
if kwargs.get('async_req'):
|
|
946
|
+
return self.find_info_by_query_using_post_with_http_info(**kwargs) # noqa: E501
|
|
947
|
+
else:
|
|
948
|
+
(data) = self.find_info_by_query_using_post_with_http_info(**kwargs) # noqa: E501
|
|
949
|
+
return data
|
|
950
|
+
|
|
951
|
+
def find_info_by_query_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
952
|
+
"""Find related entity infos (findInfoByQuery) # noqa: E501
|
|
953
|
+
|
|
954
|
+
Returns all entity infos that are related to the specific entity. The entity id, relation type, entity types, depth of the search, and other query parameters defined using complex 'EntityRelationsQuery' object. See 'Model' tab of the Parameters for more info. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
955
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
956
|
+
asynchronous HTTP request, please pass async_req=True
|
|
957
|
+
>>> thread = api.find_info_by_query_using_post_with_http_info(async_req=True)
|
|
958
|
+
>>> result = thread.get()
|
|
959
|
+
|
|
960
|
+
:param async_req bool
|
|
961
|
+
:param EntityRelationsQuery body:
|
|
962
|
+
:return: list[EntityRelationInfo]
|
|
963
|
+
If the method is called asynchronously,
|
|
964
|
+
returns the request thread.
|
|
965
|
+
"""
|
|
966
|
+
|
|
967
|
+
all_params = ['body'] # noqa: E501
|
|
968
|
+
all_params.append('async_req')
|
|
969
|
+
all_params.append('_return_http_data_only')
|
|
970
|
+
all_params.append('_preload_content')
|
|
971
|
+
all_params.append('_request_timeout')
|
|
972
|
+
|
|
973
|
+
params = locals()
|
|
974
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
975
|
+
if key not in all_params:
|
|
976
|
+
raise TypeError(
|
|
977
|
+
"Got an unexpected keyword argument '%s'"
|
|
978
|
+
" to method find_info_by_query_using_post" % key
|
|
979
|
+
)
|
|
980
|
+
params[key] = val
|
|
981
|
+
del params['kwargs']
|
|
982
|
+
|
|
983
|
+
collection_formats = {}
|
|
984
|
+
|
|
985
|
+
path_params = {}
|
|
986
|
+
|
|
987
|
+
query_params = []
|
|
988
|
+
|
|
989
|
+
header_params = {}
|
|
990
|
+
|
|
991
|
+
form_params = []
|
|
992
|
+
local_var_files = {}
|
|
993
|
+
|
|
994
|
+
body_params = None
|
|
995
|
+
if 'body' in params:
|
|
996
|
+
body_params = params['body']
|
|
997
|
+
# HTTP header `Accept`
|
|
998
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
999
|
+
['application/json']) # noqa: E501
|
|
1000
|
+
|
|
1001
|
+
# HTTP header `Content-Type`
|
|
1002
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1003
|
+
['application/json']) # noqa: E501
|
|
1004
|
+
|
|
1005
|
+
# Authentication setting
|
|
1006
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1007
|
+
|
|
1008
|
+
return self.api_client.call_api(
|
|
1009
|
+
'/api/relations/info', 'POST',
|
|
1010
|
+
path_params,
|
|
1011
|
+
query_params,
|
|
1012
|
+
header_params,
|
|
1013
|
+
body=body_params,
|
|
1014
|
+
post_params=form_params,
|
|
1015
|
+
files=local_var_files,
|
|
1016
|
+
response_type='list[EntityRelationInfo]', # noqa: E501
|
|
1017
|
+
auth_settings=auth_settings,
|
|
1018
|
+
async_req=params.get('async_req'),
|
|
1019
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1020
|
+
_preload_content=params.get('_preload_content', True),
|
|
1021
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1022
|
+
collection_formats=collection_formats)
|
|
1023
|
+
|
|
1024
|
+
def find_info_by_to_using_get(self, to_id, to_type, **kwargs): # noqa: E501
|
|
1025
|
+
"""Get List of Relation Infos (findInfoByTo) # noqa: E501
|
|
1026
|
+
|
|
1027
|
+
Returns list of relation info objects for the specified entity by the 'to' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
1028
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1029
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1030
|
+
>>> thread = api.find_info_by_to_using_get(to_id, to_type, async_req=True)
|
|
1031
|
+
>>> result = thread.get()
|
|
1032
|
+
|
|
1033
|
+
:param async_req bool
|
|
1034
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1035
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1036
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
1037
|
+
:return: list[EntityRelationInfo]
|
|
1038
|
+
If the method is called asynchronously,
|
|
1039
|
+
returns the request thread.
|
|
1040
|
+
"""
|
|
1041
|
+
kwargs['_return_http_data_only'] = True
|
|
1042
|
+
if kwargs.get('async_req'):
|
|
1043
|
+
return self.find_info_by_to_using_get_with_http_info(to_id, to_type, **kwargs) # noqa: E501
|
|
1044
|
+
else:
|
|
1045
|
+
(data) = self.find_info_by_to_using_get_with_http_info(to_id, to_type, **kwargs) # noqa: E501
|
|
1046
|
+
return data
|
|
1047
|
+
|
|
1048
|
+
def find_info_by_to_using_get_with_http_info(self, to_id, to_type, **kwargs): # noqa: E501
|
|
1049
|
+
"""Get List of Relation Infos (findInfoByTo) # noqa: E501
|
|
1050
|
+
|
|
1051
|
+
Returns list of relation info objects for the specified entity by the 'to' direction. If the user has the authority of 'System Administrator', the server checks that the entity is owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that the entity is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the entity is assigned to the same customer. Relation Info is an extension of the default Relation object that contains information about the 'from' and 'to' entity names. # noqa: E501
|
|
1052
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1053
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1054
|
+
>>> thread = api.find_info_by_to_using_get_with_http_info(to_id, to_type, async_req=True)
|
|
1055
|
+
>>> result = thread.get()
|
|
1056
|
+
|
|
1057
|
+
:param async_req bool
|
|
1058
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1059
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1060
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
1061
|
+
:return: list[EntityRelationInfo]
|
|
1062
|
+
If the method is called asynchronously,
|
|
1063
|
+
returns the request thread.
|
|
1064
|
+
"""
|
|
1065
|
+
|
|
1066
|
+
all_params = ['to_id', 'to_type', 'relation_type_group'] # noqa: E501
|
|
1067
|
+
all_params.append('async_req')
|
|
1068
|
+
all_params.append('_return_http_data_only')
|
|
1069
|
+
all_params.append('_preload_content')
|
|
1070
|
+
all_params.append('_request_timeout')
|
|
1071
|
+
|
|
1072
|
+
params = locals()
|
|
1073
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1074
|
+
if key not in all_params:
|
|
1075
|
+
raise TypeError(
|
|
1076
|
+
"Got an unexpected keyword argument '%s'"
|
|
1077
|
+
" to method find_info_by_to_using_get" % key
|
|
1078
|
+
)
|
|
1079
|
+
params[key] = val
|
|
1080
|
+
del params['kwargs']
|
|
1081
|
+
# verify the required parameter 'to_id' is set
|
|
1082
|
+
if ('to_id' not in params or
|
|
1083
|
+
params['to_id'] is None):
|
|
1084
|
+
raise ValueError("Missing the required parameter `to_id` when calling `find_info_by_to_using_get`") # noqa: E501
|
|
1085
|
+
# verify the required parameter 'to_type' is set
|
|
1086
|
+
if ('to_type' not in params or
|
|
1087
|
+
params['to_type'] is None):
|
|
1088
|
+
raise ValueError("Missing the required parameter `to_type` when calling `find_info_by_to_using_get`") # noqa: E501
|
|
1089
|
+
|
|
1090
|
+
collection_formats = {}
|
|
1091
|
+
|
|
1092
|
+
path_params = {}
|
|
1093
|
+
|
|
1094
|
+
query_params = []
|
|
1095
|
+
if 'to_id' in params:
|
|
1096
|
+
query_params.append(('toId', params['to_id'])) # noqa: E501
|
|
1097
|
+
if 'to_type' in params:
|
|
1098
|
+
query_params.append(('toType', params['to_type'])) # noqa: E501
|
|
1099
|
+
if 'relation_type_group' in params:
|
|
1100
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
1101
|
+
|
|
1102
|
+
header_params = {}
|
|
1103
|
+
|
|
1104
|
+
form_params = []
|
|
1105
|
+
local_var_files = {}
|
|
1106
|
+
|
|
1107
|
+
body_params = None
|
|
1108
|
+
# HTTP header `Accept`
|
|
1109
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1110
|
+
['application/json']) # noqa: E501
|
|
1111
|
+
|
|
1112
|
+
# Authentication setting
|
|
1113
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1114
|
+
|
|
1115
|
+
return self.api_client.call_api(
|
|
1116
|
+
'/api/relations/info{?relationTypeGroup,toId,toType}', 'GET',
|
|
1117
|
+
path_params,
|
|
1118
|
+
query_params,
|
|
1119
|
+
header_params,
|
|
1120
|
+
body=body_params,
|
|
1121
|
+
post_params=form_params,
|
|
1122
|
+
files=local_var_files,
|
|
1123
|
+
response_type='list[EntityRelationInfo]', # noqa: E501
|
|
1124
|
+
auth_settings=auth_settings,
|
|
1125
|
+
async_req=params.get('async_req'),
|
|
1126
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1127
|
+
_preload_content=params.get('_preload_content', True),
|
|
1128
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1129
|
+
collection_formats=collection_formats)
|
|
1130
|
+
|
|
1131
|
+
def get_relation_using_get(self, from_id, from_type, relation_type, to_id, to_type, **kwargs): # noqa: E501
|
|
1132
|
+
"""Get Relation (getRelation) # noqa: E501
|
|
1133
|
+
|
|
1134
|
+
Returns relation object between two specified entities if present. Otherwise throws exception. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # noqa: E501
|
|
1135
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1136
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1137
|
+
>>> thread = api.get_relation_using_get(from_id, from_type, relation_type, to_id, to_type, async_req=True)
|
|
1138
|
+
>>> result = thread.get()
|
|
1139
|
+
|
|
1140
|
+
:param async_req bool
|
|
1141
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1142
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1143
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
1144
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1145
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1146
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
1147
|
+
:return: EntityRelation
|
|
1148
|
+
If the method is called asynchronously,
|
|
1149
|
+
returns the request thread.
|
|
1150
|
+
"""
|
|
1151
|
+
kwargs['_return_http_data_only'] = True
|
|
1152
|
+
if kwargs.get('async_req'):
|
|
1153
|
+
return self.get_relation_using_get_with_http_info(from_id, from_type, relation_type, to_id, to_type, **kwargs) # noqa: E501
|
|
1154
|
+
else:
|
|
1155
|
+
(data) = self.get_relation_using_get_with_http_info(from_id, from_type, relation_type, to_id, to_type, **kwargs) # noqa: E501
|
|
1156
|
+
return data
|
|
1157
|
+
|
|
1158
|
+
def get_relation_using_get_with_http_info(self, from_id, from_type, relation_type, to_id, to_type, **kwargs): # noqa: E501
|
|
1159
|
+
"""Get Relation (getRelation) # noqa: E501
|
|
1160
|
+
|
|
1161
|
+
Returns relation object between two specified entities if present. Otherwise throws exception. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # noqa: E501
|
|
1162
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1163
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1164
|
+
>>> thread = api.get_relation_using_get_with_http_info(from_id, from_type, relation_type, to_id, to_type, async_req=True)
|
|
1165
|
+
>>> result = thread.get()
|
|
1166
|
+
|
|
1167
|
+
:param async_req bool
|
|
1168
|
+
:param str from_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1169
|
+
:param str from_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1170
|
+
:param str relation_type: A string value representing relation type between entities. For example, 'Contains', 'Manages'. It can be any string value. (required)
|
|
1171
|
+
:param str to_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1172
|
+
:param str to_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
1173
|
+
:param str relation_type_group: A string value representing relation type group. For example, 'COMMON'
|
|
1174
|
+
:return: EntityRelation
|
|
1175
|
+
If the method is called asynchronously,
|
|
1176
|
+
returns the request thread.
|
|
1177
|
+
"""
|
|
1178
|
+
|
|
1179
|
+
all_params = ['from_id', 'from_type', 'relation_type', 'to_id', 'to_type', 'relation_type_group'] # noqa: E501
|
|
1180
|
+
all_params.append('async_req')
|
|
1181
|
+
all_params.append('_return_http_data_only')
|
|
1182
|
+
all_params.append('_preload_content')
|
|
1183
|
+
all_params.append('_request_timeout')
|
|
1184
|
+
|
|
1185
|
+
params = locals()
|
|
1186
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1187
|
+
if key not in all_params:
|
|
1188
|
+
raise TypeError(
|
|
1189
|
+
"Got an unexpected keyword argument '%s'"
|
|
1190
|
+
" to method get_relation_using_get" % key
|
|
1191
|
+
)
|
|
1192
|
+
params[key] = val
|
|
1193
|
+
del params['kwargs']
|
|
1194
|
+
# verify the required parameter 'from_id' is set
|
|
1195
|
+
if ('from_id' not in params or
|
|
1196
|
+
params['from_id'] is None):
|
|
1197
|
+
raise ValueError("Missing the required parameter `from_id` when calling `get_relation_using_get`") # noqa: E501
|
|
1198
|
+
# verify the required parameter 'from_type' is set
|
|
1199
|
+
if ('from_type' not in params or
|
|
1200
|
+
params['from_type'] is None):
|
|
1201
|
+
raise ValueError("Missing the required parameter `from_type` when calling `get_relation_using_get`") # noqa: E501
|
|
1202
|
+
# verify the required parameter 'relation_type' is set
|
|
1203
|
+
if ('relation_type' not in params or
|
|
1204
|
+
params['relation_type'] is None):
|
|
1205
|
+
raise ValueError("Missing the required parameter `relation_type` when calling `get_relation_using_get`") # noqa: E501
|
|
1206
|
+
# verify the required parameter 'to_id' is set
|
|
1207
|
+
if ('to_id' not in params or
|
|
1208
|
+
params['to_id'] is None):
|
|
1209
|
+
raise ValueError("Missing the required parameter `to_id` when calling `get_relation_using_get`") # noqa: E501
|
|
1210
|
+
# verify the required parameter 'to_type' is set
|
|
1211
|
+
if ('to_type' not in params or
|
|
1212
|
+
params['to_type'] is None):
|
|
1213
|
+
raise ValueError("Missing the required parameter `to_type` when calling `get_relation_using_get`") # noqa: E501
|
|
1214
|
+
|
|
1215
|
+
collection_formats = {}
|
|
1216
|
+
|
|
1217
|
+
path_params = {}
|
|
1218
|
+
|
|
1219
|
+
query_params = []
|
|
1220
|
+
if 'from_id' in params:
|
|
1221
|
+
query_params.append(('fromId', params['from_id'])) # noqa: E501
|
|
1222
|
+
if 'from_type' in params:
|
|
1223
|
+
query_params.append(('fromType', params['from_type'])) # noqa: E501
|
|
1224
|
+
if 'relation_type' in params:
|
|
1225
|
+
query_params.append(('relationType', params['relation_type'])) # noqa: E501
|
|
1226
|
+
if 'relation_type_group' in params:
|
|
1227
|
+
query_params.append(('relationTypeGroup', params['relation_type_group'])) # noqa: E501
|
|
1228
|
+
if 'to_id' in params:
|
|
1229
|
+
query_params.append(('toId', params['to_id'])) # noqa: E501
|
|
1230
|
+
if 'to_type' in params:
|
|
1231
|
+
query_params.append(('toType', params['to_type'])) # noqa: E501
|
|
1232
|
+
|
|
1233
|
+
header_params = {}
|
|
1234
|
+
|
|
1235
|
+
form_params = []
|
|
1236
|
+
local_var_files = {}
|
|
1237
|
+
|
|
1238
|
+
body_params = None
|
|
1239
|
+
# HTTP header `Accept`
|
|
1240
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1241
|
+
['application/json']) # noqa: E501
|
|
1242
|
+
|
|
1243
|
+
# Authentication setting
|
|
1244
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1245
|
+
|
|
1246
|
+
return self.api_client.call_api(
|
|
1247
|
+
'/api/relation{?fromId,fromType,relationType,relationTypeGroup,toId,toType}', 'GET',
|
|
1248
|
+
path_params,
|
|
1249
|
+
query_params,
|
|
1250
|
+
header_params,
|
|
1251
|
+
body=body_params,
|
|
1252
|
+
post_params=form_params,
|
|
1253
|
+
files=local_var_files,
|
|
1254
|
+
response_type='EntityRelation', # noqa: E501
|
|
1255
|
+
auth_settings=auth_settings,
|
|
1256
|
+
async_req=params.get('async_req'),
|
|
1257
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1258
|
+
_preload_content=params.get('_preload_content', True),
|
|
1259
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1260
|
+
collection_formats=collection_formats)
|
|
1261
|
+
|
|
1262
|
+
def save_relation_using_post(self, **kwargs): # noqa: E501
|
|
1263
|
+
"""Create Relation (saveRelation) # noqa: E501
|
|
1264
|
+
|
|
1265
|
+
Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # noqa: E501
|
|
1266
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1267
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1268
|
+
>>> thread = api.save_relation_using_post(async_req=True)
|
|
1269
|
+
>>> result = thread.get()
|
|
1270
|
+
|
|
1271
|
+
:param async_req bool
|
|
1272
|
+
:param EntityRelation body:
|
|
1273
|
+
:return: None
|
|
1274
|
+
If the method is called asynchronously,
|
|
1275
|
+
returns the request thread.
|
|
1276
|
+
"""
|
|
1277
|
+
kwargs['_return_http_data_only'] = True
|
|
1278
|
+
if kwargs.get('async_req'):
|
|
1279
|
+
return self.save_relation_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1280
|
+
else:
|
|
1281
|
+
(data) = self.save_relation_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1282
|
+
return data
|
|
1283
|
+
|
|
1284
|
+
def save_relation_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1285
|
+
"""Create Relation (saveRelation) # noqa: E501
|
|
1286
|
+
|
|
1287
|
+
Creates or updates a relation between two entities in the platform. Relations unique key is a combination of from/to entity id and relation type group and relation type. If the user has the authority of 'System Administrator', the server checks that 'from' and 'to' entities are owned by the sysadmin. If the user has the authority of 'Tenant Administrator', the server checks that 'from' and 'to' entities are owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the 'from' and 'to' entities are assigned to the same customer. # noqa: E501
|
|
1288
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1289
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1290
|
+
>>> thread = api.save_relation_using_post_with_http_info(async_req=True)
|
|
1291
|
+
>>> result = thread.get()
|
|
1292
|
+
|
|
1293
|
+
:param async_req bool
|
|
1294
|
+
:param EntityRelation body:
|
|
1295
|
+
:return: None
|
|
1296
|
+
If the method is called asynchronously,
|
|
1297
|
+
returns the request thread.
|
|
1298
|
+
"""
|
|
1299
|
+
|
|
1300
|
+
all_params = ['body'] # noqa: E501
|
|
1301
|
+
all_params.append('async_req')
|
|
1302
|
+
all_params.append('_return_http_data_only')
|
|
1303
|
+
all_params.append('_preload_content')
|
|
1304
|
+
all_params.append('_request_timeout')
|
|
1305
|
+
|
|
1306
|
+
params = locals()
|
|
1307
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1308
|
+
if key not in all_params:
|
|
1309
|
+
raise TypeError(
|
|
1310
|
+
"Got an unexpected keyword argument '%s'"
|
|
1311
|
+
" to method save_relation_using_post" % key
|
|
1312
|
+
)
|
|
1313
|
+
params[key] = val
|
|
1314
|
+
del params['kwargs']
|
|
1315
|
+
|
|
1316
|
+
collection_formats = {}
|
|
1317
|
+
|
|
1318
|
+
path_params = {}
|
|
1319
|
+
|
|
1320
|
+
query_params = []
|
|
1321
|
+
|
|
1322
|
+
header_params = {}
|
|
1323
|
+
|
|
1324
|
+
form_params = []
|
|
1325
|
+
local_var_files = {}
|
|
1326
|
+
|
|
1327
|
+
body_params = None
|
|
1328
|
+
if 'body' in params:
|
|
1329
|
+
body_params = params['body']
|
|
1330
|
+
# HTTP header `Accept`
|
|
1331
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1332
|
+
['application/json']) # noqa: E501
|
|
1333
|
+
|
|
1334
|
+
# HTTP header `Content-Type`
|
|
1335
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1336
|
+
['application/json']) # noqa: E501
|
|
1337
|
+
|
|
1338
|
+
# Authentication setting
|
|
1339
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1340
|
+
|
|
1341
|
+
return self.api_client.call_api(
|
|
1342
|
+
'/api/relation', 'POST',
|
|
1343
|
+
path_params,
|
|
1344
|
+
query_params,
|
|
1345
|
+
header_params,
|
|
1346
|
+
body=body_params,
|
|
1347
|
+
post_params=form_params,
|
|
1348
|
+
files=local_var_files,
|
|
1349
|
+
response_type=None, # noqa: E501
|
|
1350
|
+
auth_settings=auth_settings,
|
|
1351
|
+
async_req=params.get('async_req'),
|
|
1352
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1353
|
+
_preload_content=params.get('_preload_content', True),
|
|
1354
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1355
|
+
collection_formats=collection_formats)
|