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