tb-rest-client 3.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +49 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
- tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
- tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
- tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
- tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
- tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
- tb_rest_client/api/api_ce/domain_controller_api.py +549 -0
- tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
- tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
- tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
- tb_rest_client/api/api_ce/event_controller_api.py +623 -0
- tb_rest_client/api/api_ce/image_controller_api.py +1281 -0
- tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +494 -0
- tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
- tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +338 -0
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
- tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
- tb_rest_client/api/api_pe/__init__.py +63 -0
- tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
- tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
- tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
- tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
- tb_rest_client/api/api_pe/converter_library_controller_api.py +901 -0
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
- tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
- tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
- tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
- tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
- tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
- tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
- tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
- tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
- tb_rest_client/api/api_pe/event_controller_api.py +623 -0
- tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
- tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
- tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
- tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
- tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
- tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
- tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
- tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
- tb_rest_client/api/api_pe/report_controller_api.py +245 -0
- tb_rest_client/api/api_pe/role_controller_api.py +546 -0
- tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
- tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
- tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
- tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
- tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
- tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
- tb_rest_client/api_client.py +705 -0
- tb_rest_client/configuration.py +234 -0
- tb_rest_client/models/__init__.py +14 -0
- tb_rest_client/models/models_ce/__init__.py +474 -0
- tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
- tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_ce/activate_user_request.py +154 -0
- tb_rest_client/models/models_ce/admin_settings.py +232 -0
- tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
- tb_rest_client/models/models_ce/alarm.py +707 -0
- tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
- tb_rest_client/models/models_ce/alarm_comment.py +292 -0
- tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_ce/alarm_condition.py +154 -0
- tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
- tb_rest_client/models/models_ce/alarm_data.py +855 -0
- tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
- tb_rest_client/models/models_ce/alarm_id.py +162 -0
- tb_rest_client/models/models_ce/alarm_info.py +803 -0
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_ce/alarm_rule.py +206 -0
- tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
- tb_rest_client/models/models_ce/all_users_filter.py +104 -0
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/android_config.py +202 -0
- tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
- tb_rest_client/models/models_ce/api_image_body.py +177 -0
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_ce/asset.py +367 -0
- tb_rest_client/models/models_ce/asset_id.py +162 -0
- tb_rest_client/models/models_ce/asset_info.py +451 -0
- tb_rest_client/models/models_ce/asset_profile.py +422 -0
- tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
- tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
- tb_rest_client/models/models_ce/asset_search_query.py +180 -0
- tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
- tb_rest_client/models/models_ce/atomic_integer.py +228 -0
- tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
- tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_ce/audit_log.py +434 -0
- tb_rest_client/models/models_ce/audit_log_id.py +127 -0
- tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
- tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/branch_info.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
- tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_ce/button.py +286 -0
- tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
- tb_rest_client/models/models_ce/byte_buffer.py +306 -0
- tb_rest_client/models/models_ce/change_password_request.py +154 -0
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/claim_request.py +124 -0
- tb_rest_client/models/models_ce/clear_rule.py +131 -0
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/column_mapping.py +156 -0
- tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_ce/component_descriptor.py +420 -0
- tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_ce/config_submit_body.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_ce/customer.py +510 -0
- tb_rest_client/models/models_ce/customer_id.py +162 -0
- tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
- tb_rest_client/models/models_ce/dashboard.py +399 -0
- tb_rest_client/models/models_ce/dashboard_id.py +162 -0
- tb_rest_client/models/models_ce/dashboard_info.py +373 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
- tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_ce/device.py +446 -0
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_ce/device_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_credentials.py +293 -0
- tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
- tb_rest_client/models/models_ce/device_data.py +154 -0
- tb_rest_client/models/models_ce/device_export_data.py +156 -0
- tb_rest_client/models/models_ce/device_id.py +162 -0
- tb_rest_client/models/models_ce/device_info.py +558 -0
- tb_rest_client/models/models_ce/device_profile.py +630 -0
- tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
- tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_profile_data.py +210 -0
- tb_rest_client/models/models_ce/device_profile_id.py +162 -0
- tb_rest_client/models/models_ce/device_profile_info.py +300 -0
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_search_query.py +180 -0
- tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_type_filter.py +182 -0
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/domain.py +247 -0
- tb_rest_client/models/models_ce/domain_id.py +146 -0
- tb_rest_client/models/models_ce/domain_info.py +275 -0
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
- tb_rest_client/models/models_ce/edge.py +426 -0
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/edge_event.py +370 -0
- tb_rest_client/models/models_ce/edge_event_id.py +127 -0
- tb_rest_client/models/models_ce/edge_id.py +162 -0
- tb_rest_client/models/models_ce/edge_info.py +478 -0
- tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_search_query.py +180 -0
- tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_ce/entity_count_query.py +150 -0
- tb_rest_client/models/models_ce/entity_data.py +202 -0
- tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/entity_data_info.py +176 -0
- tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_ce/entity_data_query.py +228 -0
- tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
- tb_rest_client/models/models_ce/entity_filter.py +134 -0
- tb_rest_client/models/models_ce/entity_id.py +160 -0
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_info.py +152 -0
- tb_rest_client/models/models_ce/entity_key.py +156 -0
- tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_load_error.py +202 -0
- tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_relation.py +264 -0
- tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
- tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
- tb_rest_client/models/models_ce/entity_subtype.py +182 -0
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
- tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/entity_version.py +202 -0
- tb_rest_client/models/models_ce/entity_view.py +423 -0
- tb_rest_client/models/models_ce/entity_view_id.py +162 -0
- tb_rest_client/models/models_ce/entity_view_info.py +479 -0
- tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_ce/error_event_filter.py +188 -0
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_ce/event.py +286 -0
- tb_rest_client/models/models_ce/event_filter.py +171 -0
- tb_rest_client/models/models_ce/event_id.py +127 -0
- tb_rest_client/models/models_ce/event_info.py +286 -0
- tb_rest_client/models/models_ce/features_info.py +228 -0
- tb_rest_client/models/models_ce/file.py +488 -0
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
- tb_rest_client/models/models_ce/has_id_object.py +124 -0
- tb_rest_client/models/models_ce/home_dashboard.py +427 -0
- tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
- tb_rest_client/models/models_ce/image_export_data.py +332 -0
- tb_rest_client/models/models_ce/inline_response200.py +99 -0
- tb_rest_client/models/models_ce/input_stream.py +98 -0
- tb_rest_client/models/models_ce/ios_config.py +176 -0
- tb_rest_client/models/models_ce/json_node.py +98 -0
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_ce/jwt_pair.py +186 -0
- tb_rest_client/models/models_ce/jwt_settings.py +210 -0
- tb_rest_client/models/models_ce/key_filter.py +182 -0
- tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_ce/login_request.py +156 -0
- tb_rest_client/models/models_ce/login_response.py +156 -0
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/mapping.py +202 -0
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
- tb_rest_client/models/models_ce/mobile_app.py +290 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
- tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/node_connection_info.py +185 -0
- tb_rest_client/models/models_ce/notification.py +402 -0
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_ce/notification_id.py +162 -0
- tb_rest_client/models/models_ce/notification_info.py +185 -0
- tb_rest_client/models/models_ce/notification_pref.py +151 -0
- tb_rest_client/models/models_ce/notification_request.py +417 -0
- tb_rest_client/models/models_ce/notification_request_config.py +124 -0
- tb_rest_client/models/models_ce/notification_request_id.py +162 -0
- tb_rest_client/models/models_ce/notification_request_info.py +476 -0
- tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
- tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
- tb_rest_client/models/models_ce/notification_rule.py +369 -0
- tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
- tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
- tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
- tb_rest_client/models/models_ce/notification_settings.py +125 -0
- tb_rest_client/models/models_ce/notification_target.py +230 -0
- tb_rest_client/models/models_ce/notification_target_config.py +148 -0
- tb_rest_client/models/models_ce/notification_target_id.py +162 -0
- tb_rest_client/models/models_ce/notification_template.py +263 -0
- tb_rest_client/models/models_ce/notification_template_config.py +125 -0
- tb_rest_client/models/models_ce/notification_template_id.py +162 -0
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
- tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
- tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
- tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_ce/object_attributes.py +410 -0
- tb_rest_client/models/models_ce/object_node.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_ce/ota_package.py +576 -0
- tb_rest_client/models/models_ce/ota_package_data.py +306 -0
- tb_rest_client/models/models_ce/ota_package_id.py +162 -0
- tb_rest_client/models/models_ce/ota_package_info.py +550 -0
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
- tb_rest_client/models/models_ce/other_configuration.py +364 -0
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +210 -0
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
- tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
- tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_user.py +210 -0
- tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_ce/processing_strategy.py +234 -0
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/qr_code_config.py +234 -0
- tb_rest_client/models/models_ce/queue.py +410 -0
- tb_rest_client/models/models_ce/queue_id.py +162 -0
- tb_rest_client/models/models_ce/queue_stats.py +228 -0
- tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
- tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_ce/repository_settings.py +390 -0
- tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
- tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_ce/reset_password_request.py +154 -0
- tb_rest_client/models/models_ce/resource.py +306 -0
- tb_rest_client/models/models_ce/response_entity.py +182 -0
- tb_rest_client/models/models_ce/rpc.py +344 -0
- tb_rest_client/models/models_ce/rpc_id.py +162 -0
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/rule_chain.py +402 -0
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
- tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_ce/rule_node.py +424 -0
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_ce/rule_node_id.py +162 -0
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_ce/security_settings.py +266 -0
- tb_rest_client/models/models_ce/server_security_config.py +332 -0
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/short_customer_info.py +204 -0
- tb_rest_client/models/models_ce/sign_up_request.py +294 -0
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/slack_conversation.py +263 -0
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
- tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_ce/submit_strategy.py +156 -0
- tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/system_info.py +152 -0
- tb_rest_client/models/models_ce/system_info_data.py +322 -0
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
- tb_rest_client/models/models_ce/tb_resource.py +568 -0
- tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
- tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
- tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/tenant.py +539 -0
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_ce/tenant_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_info.py +567 -0
- tb_rest_client/models/models_ce/tenant_profile.py +288 -0
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_ce/test_sms_request.py +182 -0
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/ts_value.py +176 -0
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_ce/type_key_body.py +125 -0
- tb_rest_client/models/models_ce/update_message.py +266 -0
- tb_rest_client/models/models_ce/usage_info.py +696 -0
- tb_rest_client/models/models_ce/user.py +432 -0
- tb_rest_client/models/models_ce/user_activation_link.py +150 -0
- tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_ce/user_email_info.py +208 -0
- tb_rest_client/models/models_ce/user_id.py +162 -0
- tb_rest_client/models/models_ce/user_list_filter.py +131 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
- tb_rest_client/models/models_ce/user_password_policy.py +378 -0
- tb_rest_client/models/models_ce/users_filter.py +140 -0
- tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
- tb_rest_client/models/models_ce/vc_version_body.py +98 -0
- tb_rest_client/models/models_ce/version.py +98 -0
- tb_rest_client/models/models_ce/version_create_config.py +176 -0
- tb_rest_client/models/models_ce/version_create_request.py +191 -0
- tb_rest_client/models/models_ce/version_creation_result.py +254 -0
- tb_rest_client/models/models_ce/version_load_config.py +176 -0
- tb_rest_client/models/models_ce/version_load_request.py +165 -0
- tb_rest_client/models/models_ce/version_load_result.py +176 -0
- tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/widget_type.py +342 -0
- tb_rest_client/models/models_ce/widget_type_details.py +426 -0
- tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_ce/widget_type_id.py +162 -0
- tb_rest_client/models/models_ce/widget_type_info.py +428 -0
- tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/__init__.py +401 -0
- tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_pe/activate_user_request.py +154 -0
- tb_rest_client/models/models_pe/admin_settings.py +232 -0
- tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
- tb_rest_client/models/models_pe/alarm.py +749 -0
- tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
- tb_rest_client/models/models_pe/alarm_comment.py +292 -0
- tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_pe/alarm_condition.py +154 -0
- tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
- tb_rest_client/models/models_pe/alarm_data.py +883 -0
- tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
- tb_rest_client/models/models_pe/alarm_id.py +162 -0
- tb_rest_client/models/models_pe/alarm_info.py +831 -0
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_pe/alarm_rule.py +206 -0
- tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
- tb_rest_client/models/models_pe/all_users_filter.py +104 -0
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
- tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_pe/array_node.py +98 -0
- tb_rest_client/models/models_pe/asset.py +393 -0
- tb_rest_client/models/models_pe/asset_id.py +162 -0
- tb_rest_client/models/models_pe/asset_info.py +449 -0
- tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
- tb_rest_client/models/models_pe/asset_search_query.py +180 -0
- tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
- tb_rest_client/models/models_pe/atomic_integer.py +228 -0
- tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
- tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_pe/audit_log.py +434 -0
- tb_rest_client/models/models_pe/audit_log_id.py +127 -0
- tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
- tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/branch_info.py +150 -0
- tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_pe/byte_buffer.py +306 -0
- tb_rest_client/models/models_pe/change_password_request.py +154 -0
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/claim_request.py +124 -0
- tb_rest_client/models/models_pe/clear_rule.py +131 -0
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/column_mapping.py +156 -0
- tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_pe/component_descriptor.py +420 -0
- tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_pe/contact_based_object.py +410 -0
- tb_rest_client/models/models_pe/converter.py +376 -0
- tb_rest_client/models/models_pe/converter_id.py +162 -0
- tb_rest_client/models/models_pe/converters_info.py +136 -0
- tb_rest_client/models/models_pe/custom_menu.py +327 -0
- tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
- tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
- tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
- tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_pe/custom_translation.py +127 -0
- tb_rest_client/models/models_pe/customer_id.py +162 -0
- tb_rest_client/models/models_pe/customer_info.py +672 -0
- tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
- tb_rest_client/models/models_pe/dashboard_id.py +162 -0
- tb_rest_client/models/models_pe/dashboard_info.py +506 -0
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_menu_item.py +230 -0
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
- tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_pe/device.py +471 -0
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_pe/device_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
- tb_rest_client/models/models_pe/device_data.py +154 -0
- tb_rest_client/models/models_pe/device_export_data.py +156 -0
- tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
- tb_rest_client/models/models_pe/device_id.py +162 -0
- tb_rest_client/models/models_pe/device_info.py +555 -0
- tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
- tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_profile_data.py +210 -0
- tb_rest_client/models/models_pe/device_profile_id.py +162 -0
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_search_query.py +180 -0
- tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_type_filter.py +182 -0
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_pe/edge.py +510 -0
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/edge_event.py +396 -0
- tb_rest_client/models/models_pe/edge_event_id.py +127 -0
- tb_rest_client/models/models_pe/edge_id.py +162 -0
- tb_rest_client/models/models_pe/edge_info.py +566 -0
- tb_rest_client/models/models_pe/edge_instructions.py +126 -0
- tb_rest_client/models/models_pe/edge_search_query.py +180 -0
- tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_pe/entity_count_query.py +150 -0
- tb_rest_client/models/models_pe/entity_data.py +254 -0
- tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/entity_data_info.py +228 -0
- tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_pe/entity_data_query.py +228 -0
- tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_pe/entity_filter.py +152 -0
- tb_rest_client/models/models_pe/entity_group.py +400 -0
- tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
- tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_id.py +162 -0
- tb_rest_client/models/models_pe/entity_group_info.py +429 -0
- tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_id.py +160 -0
- tb_rest_client/models/models_pe/entity_key.py +156 -0
- tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_load_error.py +202 -0
- tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
- tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
- tb_rest_client/models/models_pe/entity_subtype.py +182 -0
- tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
- tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_pe/entity_version.py +202 -0
- tb_rest_client/models/models_pe/entity_view.py +449 -0
- tb_rest_client/models/models_pe/entity_view_id.py +162 -0
- tb_rest_client/models/models_pe/entity_view_info.py +505 -0
- tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_pe/error_event_filter.py +188 -0
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_pe/event_filter.py +174 -0
- tb_rest_client/models/models_pe/event_id.py +127 -0
- tb_rest_client/models/models_pe/event_info.py +286 -0
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
- tb_rest_client/models/models_pe/favicon.py +124 -0
- tb_rest_client/models/models_pe/features_info.py +254 -0
- tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
- tb_rest_client/models/models_pe/group_permission.py +370 -0
- tb_rest_client/models/models_pe/group_permission_id.py +162 -0
- tb_rest_client/models/models_pe/group_permission_info.py +560 -0
- tb_rest_client/models/models_pe/home_dashboard.py +478 -0
- tb_rest_client/models/models_pe/home_menu_item.py +320 -0
- tb_rest_client/models/models_pe/input_stream.py +98 -0
- tb_rest_client/models/models_pe/integration.py +571 -0
- tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
- tb_rest_client/models/models_pe/integration_id.py +162 -0
- tb_rest_client/models/models_pe/integration_info.py +460 -0
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
- tb_rest_client/models/models_pe/json_node.py +98 -0
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_pe/key_filter.py +182 -0
- tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_pe/license_usage_info.py +332 -0
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
- tb_rest_client/models/models_pe/login_request.py +156 -0
- tb_rest_client/models/models_pe/login_response.py +156 -0
- tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/mapping.py +202 -0
- tb_rest_client/models/models_pe/menu_item.py +152 -0
- tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
- tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
- tb_rest_client/models/models_pe/model.py +162 -0
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/node_connection_info.py +185 -0
- tb_rest_client/models/models_pe/notification.py +402 -0
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_pe/notification_id.py +162 -0
- tb_rest_client/models/models_pe/notification_info.py +185 -0
- tb_rest_client/models/models_pe/notification_request.py +417 -0
- tb_rest_client/models/models_pe/notification_request_config.py +124 -0
- tb_rest_client/models/models_pe/notification_request_id.py +162 -0
- tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
- tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
- tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
- tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_pe/notification_template_config.py +125 -0
- tb_rest_client/models/models_pe/notification_template_id.py +162 -0
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
- tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_pe/object_attributes.py +410 -0
- tb_rest_client/models/models_pe/object_node.py +98 -0
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_pe/ota_package.py +576 -0
- tb_rest_client/models/models_pe/ota_package_id.py +162 -0
- tb_rest_client/models/models_pe/ota_package_info.py +550 -0
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
- tb_rest_client/models/models_pe/other_configuration.py +364 -0
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
- tb_rest_client/models/models_pe/page_data_converter.py +210 -0
- tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_queue.py +210 -0
- tb_rest_client/models/models_pe/page_data_role.py +210 -0
- tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
- tb_rest_client/models/models_pe/palette.py +183 -0
- tb_rest_client/models/models_pe/palette_settings.py +152 -0
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_pe/processing_strategy.py +234 -0
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/queue.py +410 -0
- tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
- tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_pe/report_config.py +381 -0
- tb_rest_client/models/models_pe/repository_settings.py +390 -0
- tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
- tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_pe/reset_password_request.py +154 -0
- tb_rest_client/models/models_pe/resource.py +306 -0
- tb_rest_client/models/models_pe/response_entity.py +182 -0
- tb_rest_client/models/models_pe/role.py +371 -0
- tb_rest_client/models/models_pe/role_id.py +162 -0
- tb_rest_client/models/models_pe/rpc.py +344 -0
- tb_rest_client/models/models_pe/rpc_id.py +162 -0
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/rule_chain.py +402 -0
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
- tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_pe/rule_node.py +424 -0
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_pe/rule_node_id.py +162 -0
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_pe/scheduler_event.py +444 -0
- tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
- tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
- tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
- tb_rest_client/models/models_pe/security_settings.py +266 -0
- tb_rest_client/models/models_pe/self_registration_params.py +630 -0
- tb_rest_client/models/models_pe/share_group_request.py +235 -0
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/short_customer_info.py +204 -0
- tb_rest_client/models/models_pe/short_entity_view.py +154 -0
- tb_rest_client/models/models_pe/sign_up_request.py +294 -0
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
- tb_rest_client/models/models_pe/slack_conversation.py +263 -0
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
- tb_rest_client/models/models_pe/solution_install_response.py +260 -0
- tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
- tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_pe/submit_strategy.py +156 -0
- tb_rest_client/models/models_pe/subscription_usage.py +540 -0
- tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/system_info.py +152 -0
- tb_rest_client/models/models_pe/system_info_data.py +322 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
- tb_rest_client/models/models_pe/tb_resource.py +594 -0
- tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
- tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
- tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
- tb_rest_client/models/models_pe/test_sms_request.py +182 -0
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_pe/translation_info.py +238 -0
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/ts_value.py +176 -0
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_pe/update_message.py +266 -0
- tb_rest_client/models/models_pe/user.py +484 -0
- tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_pe/user_email_info.py +208 -0
- tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_id.py +162 -0
- tb_rest_client/models/models_pe/user_info.py +540 -0
- tb_rest_client/models/models_pe/user_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_password_policy.py +378 -0
- tb_rest_client/models/models_pe/user_role_filter.py +131 -0
- tb_rest_client/models/models_pe/users_filter.py +142 -0
- tb_rest_client/models/models_pe/version_create_config.py +228 -0
- tb_rest_client/models/models_pe/version_create_request.py +191 -0
- tb_rest_client/models/models_pe/version_creation_result.py +254 -0
- tb_rest_client/models/models_pe/version_load_config.py +254 -0
- tb_rest_client/models/models_pe/version_load_request.py +165 -0
- tb_rest_client/models/models_pe/version_load_result.py +176 -0
- tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/white_labeling.py +234 -0
- tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
- tb_rest_client/models/models_pe/widget_type.py +342 -0
- tb_rest_client/models/models_pe/widget_type_details.py +426 -0
- tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_pe/widget_type_id.py +162 -0
- tb_rest_client/models/models_pe/widget_type_info.py +428 -0
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/rest.py +342 -0
- tb_rest_client/rest_client_base.py +2159 -0
- tb_rest_client/rest_client_ce.py +1260 -0
- tb_rest_client/rest_client_pe.py +1856 -0
- tb_rest_client-3.8.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.8.0.dist-info/METADATA +80 -0
- tb_rest_client-3.8.0.dist-info/RECORD +1074 -0
- tb_rest_client-3.8.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1648 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.7.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2024. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class AssetControllerApi(object):
|
|
38
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None):
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
def delete_asset_using_delete(self, asset_id, **kwargs): # noqa: E501
|
|
50
|
+
"""Delete asset (deleteAsset) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Deletes the asset and all the relations (from and to the asset). Referencing non-existing asset Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.delete_asset_using_delete(asset_id, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
60
|
+
:return: None
|
|
61
|
+
If the method is called asynchronously,
|
|
62
|
+
returns the request thread.
|
|
63
|
+
"""
|
|
64
|
+
kwargs['_return_http_data_only'] = True
|
|
65
|
+
if kwargs.get('async_req'):
|
|
66
|
+
return self.delete_asset_using_delete_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
67
|
+
else:
|
|
68
|
+
(data) = self.delete_asset_using_delete_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
69
|
+
return data
|
|
70
|
+
|
|
71
|
+
def delete_asset_using_delete_with_http_info(self, asset_id, **kwargs): # noqa: E501
|
|
72
|
+
"""Delete asset (deleteAsset) # noqa: E501
|
|
73
|
+
|
|
74
|
+
Deletes the asset and all the relations (from and to the asset). Referencing non-existing asset Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
75
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
76
|
+
asynchronous HTTP request, please pass async_req=True
|
|
77
|
+
>>> thread = api.delete_asset_using_delete_with_http_info(asset_id, async_req=True)
|
|
78
|
+
>>> result = thread.get()
|
|
79
|
+
|
|
80
|
+
:param async_req bool
|
|
81
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
82
|
+
:return: None
|
|
83
|
+
If the method is called asynchronously,
|
|
84
|
+
returns the request thread.
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
all_params = ['asset_id'] # noqa: E501
|
|
88
|
+
all_params.append('async_req')
|
|
89
|
+
all_params.append('_return_http_data_only')
|
|
90
|
+
all_params.append('_preload_content')
|
|
91
|
+
all_params.append('_request_timeout')
|
|
92
|
+
|
|
93
|
+
params = locals()
|
|
94
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
95
|
+
if key not in all_params:
|
|
96
|
+
raise TypeError(
|
|
97
|
+
"Got an unexpected keyword argument '%s'"
|
|
98
|
+
" to method delete_asset_using_delete" % key
|
|
99
|
+
)
|
|
100
|
+
params[key] = val
|
|
101
|
+
del params['kwargs']
|
|
102
|
+
# verify the required parameter 'asset_id' is set
|
|
103
|
+
if ('asset_id' not in params or
|
|
104
|
+
params['asset_id'] is None):
|
|
105
|
+
raise ValueError("Missing the required parameter `asset_id` when calling `delete_asset_using_delete`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
collection_formats = {}
|
|
108
|
+
|
|
109
|
+
path_params = {}
|
|
110
|
+
if 'asset_id' in params:
|
|
111
|
+
path_params['assetId'] = params['asset_id'] # noqa: E501
|
|
112
|
+
|
|
113
|
+
query_params = []
|
|
114
|
+
|
|
115
|
+
header_params = {}
|
|
116
|
+
|
|
117
|
+
form_params = []
|
|
118
|
+
local_var_files = {}
|
|
119
|
+
|
|
120
|
+
body_params = None
|
|
121
|
+
# HTTP header `Accept`
|
|
122
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
123
|
+
['application/json']) # noqa: E501
|
|
124
|
+
|
|
125
|
+
# Authentication setting
|
|
126
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
127
|
+
|
|
128
|
+
return self.api_client.call_api(
|
|
129
|
+
'/api/asset/{assetId}', 'DELETE',
|
|
130
|
+
path_params,
|
|
131
|
+
query_params,
|
|
132
|
+
header_params,
|
|
133
|
+
body=body_params,
|
|
134
|
+
post_params=form_params,
|
|
135
|
+
files=local_var_files,
|
|
136
|
+
response_type=None, # noqa: E501
|
|
137
|
+
auth_settings=auth_settings,
|
|
138
|
+
async_req=params.get('async_req'),
|
|
139
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
140
|
+
_preload_content=params.get('_preload_content', True),
|
|
141
|
+
_request_timeout=params.get('_request_timeout'),
|
|
142
|
+
collection_formats=collection_formats)
|
|
143
|
+
|
|
144
|
+
def find_by_query_using_post(self, **kwargs): # noqa: E501
|
|
145
|
+
"""Find related assets (findByQuery) # noqa: E501
|
|
146
|
+
|
|
147
|
+
Returns all assets that are related to the specific entity. The entity id, relation type, asset types, depth of the search, and other query parameters defined using complex 'AssetSearchQuery' object. See 'Model' tab of the Parameters for more info. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
148
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
149
|
+
asynchronous HTTP request, please pass async_req=True
|
|
150
|
+
>>> thread = api.find_by_query_using_post(async_req=True)
|
|
151
|
+
>>> result = thread.get()
|
|
152
|
+
|
|
153
|
+
:param async_req bool
|
|
154
|
+
:param AssetSearchQuery body:
|
|
155
|
+
:return: list[Asset]
|
|
156
|
+
If the method is called asynchronously,
|
|
157
|
+
returns the request thread.
|
|
158
|
+
"""
|
|
159
|
+
kwargs['_return_http_data_only'] = True
|
|
160
|
+
if kwargs.get('async_req'):
|
|
161
|
+
return self.find_by_query_using_post_with_http_info(**kwargs) # noqa: E501
|
|
162
|
+
else:
|
|
163
|
+
(data) = self.find_by_query_using_post_with_http_info(**kwargs) # noqa: E501
|
|
164
|
+
return data
|
|
165
|
+
|
|
166
|
+
def find_by_query_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
167
|
+
"""Find related assets (findByQuery) # noqa: E501
|
|
168
|
+
|
|
169
|
+
Returns all assets that are related to the specific entity. The entity id, relation type, asset types, depth of the search, and other query parameters defined using complex 'AssetSearchQuery' object. See 'Model' tab of the Parameters for more info. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
170
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
171
|
+
asynchronous HTTP request, please pass async_req=True
|
|
172
|
+
>>> thread = api.find_by_query_using_post_with_http_info(async_req=True)
|
|
173
|
+
>>> result = thread.get()
|
|
174
|
+
|
|
175
|
+
:param async_req bool
|
|
176
|
+
:param AssetSearchQuery body:
|
|
177
|
+
:return: list[Asset]
|
|
178
|
+
If the method is called asynchronously,
|
|
179
|
+
returns the request thread.
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
all_params = ['body'] # noqa: E501
|
|
183
|
+
all_params.append('async_req')
|
|
184
|
+
all_params.append('_return_http_data_only')
|
|
185
|
+
all_params.append('_preload_content')
|
|
186
|
+
all_params.append('_request_timeout')
|
|
187
|
+
|
|
188
|
+
params = locals()
|
|
189
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
190
|
+
if key not in all_params:
|
|
191
|
+
raise TypeError(
|
|
192
|
+
"Got an unexpected keyword argument '%s'"
|
|
193
|
+
" to method find_by_query_using_post" % key
|
|
194
|
+
)
|
|
195
|
+
params[key] = val
|
|
196
|
+
del params['kwargs']
|
|
197
|
+
|
|
198
|
+
collection_formats = {}
|
|
199
|
+
|
|
200
|
+
path_params = {}
|
|
201
|
+
|
|
202
|
+
query_params = []
|
|
203
|
+
|
|
204
|
+
header_params = {}
|
|
205
|
+
|
|
206
|
+
form_params = []
|
|
207
|
+
local_var_files = {}
|
|
208
|
+
|
|
209
|
+
body_params = None
|
|
210
|
+
if 'body' in params:
|
|
211
|
+
body_params = params['body']
|
|
212
|
+
# HTTP header `Accept`
|
|
213
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
214
|
+
['application/json']) # noqa: E501
|
|
215
|
+
|
|
216
|
+
# HTTP header `Content-Type`
|
|
217
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
218
|
+
['application/json']) # noqa: E501
|
|
219
|
+
|
|
220
|
+
# Authentication setting
|
|
221
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
222
|
+
|
|
223
|
+
return self.api_client.call_api(
|
|
224
|
+
'/api/assets', 'POST',
|
|
225
|
+
path_params,
|
|
226
|
+
query_params,
|
|
227
|
+
header_params,
|
|
228
|
+
body=body_params,
|
|
229
|
+
post_params=form_params,
|
|
230
|
+
files=local_var_files,
|
|
231
|
+
response_type='list[Asset]', # noqa: E501
|
|
232
|
+
auth_settings=auth_settings,
|
|
233
|
+
async_req=params.get('async_req'),
|
|
234
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
235
|
+
_preload_content=params.get('_preload_content', True),
|
|
236
|
+
_request_timeout=params.get('_request_timeout'),
|
|
237
|
+
collection_formats=collection_formats)
|
|
238
|
+
|
|
239
|
+
def get_all_asset_infos_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
240
|
+
"""Get All Asset Infos for current user (getAllAssetInfos) # noqa: E501
|
|
241
|
+
|
|
242
|
+
Returns a page of asset info objects owned by the tenant or the customer of a current user. Asset Info is an extension of the default Asset object that contains information about the owner name. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
243
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
244
|
+
asynchronous HTTP request, please pass async_req=True
|
|
245
|
+
>>> thread = api.get_all_asset_infos_using_get(page_size, page, async_req=True)
|
|
246
|
+
>>> result = thread.get()
|
|
247
|
+
|
|
248
|
+
:param async_req bool
|
|
249
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
250
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
251
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
252
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
253
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
254
|
+
:param str sort_property: Property of entity to sort by
|
|
255
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
256
|
+
:return: PageDataAssetInfo
|
|
257
|
+
If the method is called asynchronously,
|
|
258
|
+
returns the request thread.
|
|
259
|
+
"""
|
|
260
|
+
kwargs['_return_http_data_only'] = True
|
|
261
|
+
if kwargs.get('async_req'):
|
|
262
|
+
return self.get_all_asset_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
263
|
+
else:
|
|
264
|
+
(data) = self.get_all_asset_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
265
|
+
return data
|
|
266
|
+
|
|
267
|
+
def get_all_asset_infos_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
268
|
+
"""Get All Asset Infos for current user (getAllAssetInfos) # noqa: E501
|
|
269
|
+
|
|
270
|
+
Returns a page of asset info objects owned by the tenant or the customer of a current user. Asset Info is an extension of the default Asset object that contains information about the owner name. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
271
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
272
|
+
asynchronous HTTP request, please pass async_req=True
|
|
273
|
+
>>> thread = api.get_all_asset_infos_using_get_with_http_info(page_size, page, async_req=True)
|
|
274
|
+
>>> result = thread.get()
|
|
275
|
+
|
|
276
|
+
:param async_req bool
|
|
277
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
278
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
279
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
280
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
281
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
282
|
+
:param str sort_property: Property of entity to sort by
|
|
283
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
284
|
+
:return: PageDataAssetInfo
|
|
285
|
+
If the method is called asynchronously,
|
|
286
|
+
returns the request thread.
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
all_params = ['page_size', 'page', 'include_customers', 'asset_profile_id', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
290
|
+
all_params.append('async_req')
|
|
291
|
+
all_params.append('_return_http_data_only')
|
|
292
|
+
all_params.append('_preload_content')
|
|
293
|
+
all_params.append('_request_timeout')
|
|
294
|
+
|
|
295
|
+
params = locals()
|
|
296
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
297
|
+
if key not in all_params:
|
|
298
|
+
raise TypeError(
|
|
299
|
+
"Got an unexpected keyword argument '%s'"
|
|
300
|
+
" to method get_all_asset_infos_using_get" % key
|
|
301
|
+
)
|
|
302
|
+
params[key] = val
|
|
303
|
+
del params['kwargs']
|
|
304
|
+
# verify the required parameter 'page_size' is set
|
|
305
|
+
if ('page_size' not in params or
|
|
306
|
+
params['page_size'] is None):
|
|
307
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_all_asset_infos_using_get`") # noqa: E501
|
|
308
|
+
# verify the required parameter 'page' is set
|
|
309
|
+
if ('page' not in params or
|
|
310
|
+
params['page'] is None):
|
|
311
|
+
raise ValueError("Missing the required parameter `page` when calling `get_all_asset_infos_using_get`") # noqa: E501
|
|
312
|
+
|
|
313
|
+
collection_formats = {}
|
|
314
|
+
|
|
315
|
+
path_params = {}
|
|
316
|
+
|
|
317
|
+
query_params = []
|
|
318
|
+
if 'page_size' in params:
|
|
319
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
320
|
+
if 'page' in params:
|
|
321
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
322
|
+
if 'include_customers' in params:
|
|
323
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
324
|
+
if 'asset_profile_id' in params:
|
|
325
|
+
query_params.append(('assetProfileId', params['asset_profile_id'])) # noqa: E501
|
|
326
|
+
if 'text_search' in params:
|
|
327
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
328
|
+
if 'sort_property' in params:
|
|
329
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
330
|
+
if 'sort_order' in params:
|
|
331
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
332
|
+
|
|
333
|
+
header_params = {}
|
|
334
|
+
|
|
335
|
+
form_params = []
|
|
336
|
+
local_var_files = {}
|
|
337
|
+
|
|
338
|
+
body_params = None
|
|
339
|
+
# HTTP header `Accept`
|
|
340
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
341
|
+
['application/json']) # noqa: E501
|
|
342
|
+
|
|
343
|
+
# Authentication setting
|
|
344
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
345
|
+
|
|
346
|
+
return self.api_client.call_api(
|
|
347
|
+
'/api/assetInfos/all{?assetProfileId,includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
348
|
+
path_params,
|
|
349
|
+
query_params,
|
|
350
|
+
header_params,
|
|
351
|
+
body=body_params,
|
|
352
|
+
post_params=form_params,
|
|
353
|
+
files=local_var_files,
|
|
354
|
+
response_type='PageDataAssetInfo', # noqa: E501
|
|
355
|
+
auth_settings=auth_settings,
|
|
356
|
+
async_req=params.get('async_req'),
|
|
357
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
358
|
+
_preload_content=params.get('_preload_content', True),
|
|
359
|
+
_request_timeout=params.get('_request_timeout'),
|
|
360
|
+
collection_formats=collection_formats)
|
|
361
|
+
|
|
362
|
+
def get_asset_by_id_using_get(self, asset_id, **kwargs): # noqa: E501
|
|
363
|
+
"""Get Asset (getAssetById) # noqa: E501
|
|
364
|
+
|
|
365
|
+
Fetch the Asset object based on the provided Asset Id. If the user has the authority of 'Tenant Administrator', the server checks that the asset is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the asset is assigned to the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
366
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
367
|
+
asynchronous HTTP request, please pass async_req=True
|
|
368
|
+
>>> thread = api.get_asset_by_id_using_get(asset_id, async_req=True)
|
|
369
|
+
>>> result = thread.get()
|
|
370
|
+
|
|
371
|
+
:param async_req bool
|
|
372
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
373
|
+
:return: Asset
|
|
374
|
+
If the method is called asynchronously,
|
|
375
|
+
returns the request thread.
|
|
376
|
+
"""
|
|
377
|
+
kwargs['_return_http_data_only'] = True
|
|
378
|
+
if kwargs.get('async_req'):
|
|
379
|
+
return self.get_asset_by_id_using_get_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
380
|
+
else:
|
|
381
|
+
(data) = self.get_asset_by_id_using_get_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
382
|
+
return data
|
|
383
|
+
|
|
384
|
+
def get_asset_by_id_using_get_with_http_info(self, asset_id, **kwargs): # noqa: E501
|
|
385
|
+
"""Get Asset (getAssetById) # noqa: E501
|
|
386
|
+
|
|
387
|
+
Fetch the Asset object based on the provided Asset Id. If the user has the authority of 'Tenant Administrator', the server checks that the asset is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the asset is assigned to the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
388
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
389
|
+
asynchronous HTTP request, please pass async_req=True
|
|
390
|
+
>>> thread = api.get_asset_by_id_using_get_with_http_info(asset_id, async_req=True)
|
|
391
|
+
>>> result = thread.get()
|
|
392
|
+
|
|
393
|
+
:param async_req bool
|
|
394
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
395
|
+
:return: Asset
|
|
396
|
+
If the method is called asynchronously,
|
|
397
|
+
returns the request thread.
|
|
398
|
+
"""
|
|
399
|
+
|
|
400
|
+
all_params = ['asset_id'] # noqa: E501
|
|
401
|
+
all_params.append('async_req')
|
|
402
|
+
all_params.append('_return_http_data_only')
|
|
403
|
+
all_params.append('_preload_content')
|
|
404
|
+
all_params.append('_request_timeout')
|
|
405
|
+
|
|
406
|
+
params = locals()
|
|
407
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
408
|
+
if key not in all_params:
|
|
409
|
+
raise TypeError(
|
|
410
|
+
"Got an unexpected keyword argument '%s'"
|
|
411
|
+
" to method get_asset_by_id_using_get" % key
|
|
412
|
+
)
|
|
413
|
+
params[key] = val
|
|
414
|
+
del params['kwargs']
|
|
415
|
+
# verify the required parameter 'asset_id' is set
|
|
416
|
+
if ('asset_id' not in params or
|
|
417
|
+
params['asset_id'] is None):
|
|
418
|
+
raise ValueError("Missing the required parameter `asset_id` when calling `get_asset_by_id_using_get`") # noqa: E501
|
|
419
|
+
|
|
420
|
+
collection_formats = {}
|
|
421
|
+
|
|
422
|
+
path_params = {}
|
|
423
|
+
if 'asset_id' in params:
|
|
424
|
+
path_params['assetId'] = params['asset_id'] # noqa: E501
|
|
425
|
+
|
|
426
|
+
query_params = []
|
|
427
|
+
|
|
428
|
+
header_params = {}
|
|
429
|
+
|
|
430
|
+
form_params = []
|
|
431
|
+
local_var_files = {}
|
|
432
|
+
|
|
433
|
+
body_params = None
|
|
434
|
+
# HTTP header `Accept`
|
|
435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
436
|
+
['application/json']) # noqa: E501
|
|
437
|
+
|
|
438
|
+
# Authentication setting
|
|
439
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
440
|
+
|
|
441
|
+
return self.api_client.call_api(
|
|
442
|
+
'/api/asset/{assetId}', 'GET',
|
|
443
|
+
path_params,
|
|
444
|
+
query_params,
|
|
445
|
+
header_params,
|
|
446
|
+
body=body_params,
|
|
447
|
+
post_params=form_params,
|
|
448
|
+
files=local_var_files,
|
|
449
|
+
response_type='Asset', # noqa: E501
|
|
450
|
+
auth_settings=auth_settings,
|
|
451
|
+
async_req=params.get('async_req'),
|
|
452
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
453
|
+
_preload_content=params.get('_preload_content', True),
|
|
454
|
+
_request_timeout=params.get('_request_timeout'),
|
|
455
|
+
collection_formats=collection_formats)
|
|
456
|
+
|
|
457
|
+
def get_asset_info_by_id_using_get(self, asset_id, **kwargs): # noqa: E501
|
|
458
|
+
"""Get Asset Info (getAssetInfoById) # noqa: E501
|
|
459
|
+
|
|
460
|
+
Fetch the Asset Info object based on the provided Asset Id. If the user has the authority of 'Tenant Administrator', the server checks that the asset is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the asset is assigned to the same customer.Asset Info is an extension of the default Asset object that contains information about the owner name. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
461
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
462
|
+
asynchronous HTTP request, please pass async_req=True
|
|
463
|
+
>>> thread = api.get_asset_info_by_id_using_get(asset_id, async_req=True)
|
|
464
|
+
>>> result = thread.get()
|
|
465
|
+
|
|
466
|
+
:param async_req bool
|
|
467
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
468
|
+
:return: AssetInfo
|
|
469
|
+
If the method is called asynchronously,
|
|
470
|
+
returns the request thread.
|
|
471
|
+
"""
|
|
472
|
+
kwargs['_return_http_data_only'] = True
|
|
473
|
+
if kwargs.get('async_req'):
|
|
474
|
+
return self.get_asset_info_by_id_using_get_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
475
|
+
else:
|
|
476
|
+
(data) = self.get_asset_info_by_id_using_get_with_http_info(asset_id, **kwargs) # noqa: E501
|
|
477
|
+
return data
|
|
478
|
+
|
|
479
|
+
def get_asset_info_by_id_using_get_with_http_info(self, asset_id, **kwargs): # noqa: E501
|
|
480
|
+
"""Get Asset Info (getAssetInfoById) # noqa: E501
|
|
481
|
+
|
|
482
|
+
Fetch the Asset Info object based on the provided Asset Id. If the user has the authority of 'Tenant Administrator', the server checks that the asset is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the asset is assigned to the same customer.Asset Info is an extension of the default Asset object that contains information about the owner name. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
483
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
484
|
+
asynchronous HTTP request, please pass async_req=True
|
|
485
|
+
>>> thread = api.get_asset_info_by_id_using_get_with_http_info(asset_id, async_req=True)
|
|
486
|
+
>>> result = thread.get()
|
|
487
|
+
|
|
488
|
+
:param async_req bool
|
|
489
|
+
:param str asset_id: A string value representing the asset id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
490
|
+
:return: AssetInfo
|
|
491
|
+
If the method is called asynchronously,
|
|
492
|
+
returns the request thread.
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
all_params = ['asset_id'] # noqa: E501
|
|
496
|
+
all_params.append('async_req')
|
|
497
|
+
all_params.append('_return_http_data_only')
|
|
498
|
+
all_params.append('_preload_content')
|
|
499
|
+
all_params.append('_request_timeout')
|
|
500
|
+
|
|
501
|
+
params = locals()
|
|
502
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
503
|
+
if key not in all_params:
|
|
504
|
+
raise TypeError(
|
|
505
|
+
"Got an unexpected keyword argument '%s'"
|
|
506
|
+
" to method get_asset_info_by_id_using_get" % key
|
|
507
|
+
)
|
|
508
|
+
params[key] = val
|
|
509
|
+
del params['kwargs']
|
|
510
|
+
# verify the required parameter 'asset_id' is set
|
|
511
|
+
if ('asset_id' not in params or
|
|
512
|
+
params['asset_id'] is None):
|
|
513
|
+
raise ValueError("Missing the required parameter `asset_id` when calling `get_asset_info_by_id_using_get`") # noqa: E501
|
|
514
|
+
|
|
515
|
+
collection_formats = {}
|
|
516
|
+
|
|
517
|
+
path_params = {}
|
|
518
|
+
if 'asset_id' in params:
|
|
519
|
+
path_params['assetId'] = params['asset_id'] # noqa: E501
|
|
520
|
+
|
|
521
|
+
query_params = []
|
|
522
|
+
|
|
523
|
+
header_params = {}
|
|
524
|
+
|
|
525
|
+
form_params = []
|
|
526
|
+
local_var_files = {}
|
|
527
|
+
|
|
528
|
+
body_params = None
|
|
529
|
+
# HTTP header `Accept`
|
|
530
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
531
|
+
['application/json']) # noqa: E501
|
|
532
|
+
|
|
533
|
+
# Authentication setting
|
|
534
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
535
|
+
|
|
536
|
+
return self.api_client.call_api(
|
|
537
|
+
'/api/asset/info/{assetId}', 'GET',
|
|
538
|
+
path_params,
|
|
539
|
+
query_params,
|
|
540
|
+
header_params,
|
|
541
|
+
body=body_params,
|
|
542
|
+
post_params=form_params,
|
|
543
|
+
files=local_var_files,
|
|
544
|
+
response_type='AssetInfo', # noqa: E501
|
|
545
|
+
auth_settings=auth_settings,
|
|
546
|
+
async_req=params.get('async_req'),
|
|
547
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
548
|
+
_preload_content=params.get('_preload_content', True),
|
|
549
|
+
_request_timeout=params.get('_request_timeout'),
|
|
550
|
+
collection_formats=collection_formats)
|
|
551
|
+
|
|
552
|
+
def get_asset_types_using_get(self, **kwargs): # noqa: E501
|
|
553
|
+
"""Get Asset Types (getAssetTypes) # noqa: E501
|
|
554
|
+
|
|
555
|
+
Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
556
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
557
|
+
asynchronous HTTP request, please pass async_req=True
|
|
558
|
+
>>> thread = api.get_asset_types_using_get(async_req=True)
|
|
559
|
+
>>> result = thread.get()
|
|
560
|
+
|
|
561
|
+
:param async_req bool
|
|
562
|
+
:return: list[EntitySubtype]
|
|
563
|
+
If the method is called asynchronously,
|
|
564
|
+
returns the request thread.
|
|
565
|
+
"""
|
|
566
|
+
kwargs['_return_http_data_only'] = True
|
|
567
|
+
if kwargs.get('async_req'):
|
|
568
|
+
return self.get_asset_types_using_get_with_http_info(**kwargs) # noqa: E501
|
|
569
|
+
else:
|
|
570
|
+
(data) = self.get_asset_types_using_get_with_http_info(**kwargs) # noqa: E501
|
|
571
|
+
return data
|
|
572
|
+
|
|
573
|
+
def get_asset_types_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
574
|
+
"""Get Asset Types (getAssetTypes) # noqa: E501
|
|
575
|
+
|
|
576
|
+
Deprecated. See 'getAssetProfileNames' API from Asset Profile Controller instead. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
577
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
578
|
+
asynchronous HTTP request, please pass async_req=True
|
|
579
|
+
>>> thread = api.get_asset_types_using_get_with_http_info(async_req=True)
|
|
580
|
+
>>> result = thread.get()
|
|
581
|
+
|
|
582
|
+
:param async_req bool
|
|
583
|
+
:return: list[EntitySubtype]
|
|
584
|
+
If the method is called asynchronously,
|
|
585
|
+
returns the request thread.
|
|
586
|
+
"""
|
|
587
|
+
|
|
588
|
+
all_params = [] # noqa: E501
|
|
589
|
+
all_params.append('async_req')
|
|
590
|
+
all_params.append('_return_http_data_only')
|
|
591
|
+
all_params.append('_preload_content')
|
|
592
|
+
all_params.append('_request_timeout')
|
|
593
|
+
|
|
594
|
+
params = locals()
|
|
595
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
596
|
+
if key not in all_params:
|
|
597
|
+
raise TypeError(
|
|
598
|
+
"Got an unexpected keyword argument '%s'"
|
|
599
|
+
" to method get_asset_types_using_get" % key
|
|
600
|
+
)
|
|
601
|
+
params[key] = val
|
|
602
|
+
del params['kwargs']
|
|
603
|
+
|
|
604
|
+
collection_formats = {}
|
|
605
|
+
|
|
606
|
+
path_params = {}
|
|
607
|
+
|
|
608
|
+
query_params = []
|
|
609
|
+
|
|
610
|
+
header_params = {}
|
|
611
|
+
|
|
612
|
+
form_params = []
|
|
613
|
+
local_var_files = {}
|
|
614
|
+
|
|
615
|
+
body_params = None
|
|
616
|
+
# HTTP header `Accept`
|
|
617
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
618
|
+
['application/json']) # noqa: E501
|
|
619
|
+
|
|
620
|
+
# Authentication setting
|
|
621
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
622
|
+
|
|
623
|
+
return self.api_client.call_api(
|
|
624
|
+
'/api/asset/types', 'GET',
|
|
625
|
+
path_params,
|
|
626
|
+
query_params,
|
|
627
|
+
header_params,
|
|
628
|
+
body=body_params,
|
|
629
|
+
post_params=form_params,
|
|
630
|
+
files=local_var_files,
|
|
631
|
+
response_type='list[EntitySubtype]', # noqa: E501
|
|
632
|
+
auth_settings=auth_settings,
|
|
633
|
+
async_req=params.get('async_req'),
|
|
634
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
635
|
+
_preload_content=params.get('_preload_content', True),
|
|
636
|
+
_request_timeout=params.get('_request_timeout'),
|
|
637
|
+
collection_formats=collection_formats)
|
|
638
|
+
|
|
639
|
+
def get_assets_by_entity_group_id_using_get(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
640
|
+
"""Get assets by Entity Group Id (getAssetsByEntityGroupId) # noqa: E501
|
|
641
|
+
|
|
642
|
+
Returns a page of asset objects that belongs to specified Entity Group Id. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
643
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
644
|
+
asynchronous HTTP request, please pass async_req=True
|
|
645
|
+
>>> thread = api.get_assets_by_entity_group_id_using_get(entity_group_id, page_size, page, async_req=True)
|
|
646
|
+
>>> result = thread.get()
|
|
647
|
+
|
|
648
|
+
:param async_req bool
|
|
649
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
650
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
651
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
652
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
653
|
+
:param str sort_property: Property of entity to sort by
|
|
654
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
655
|
+
:return: PageDataAsset
|
|
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.get_assets_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
662
|
+
else:
|
|
663
|
+
(data) = self.get_assets_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
664
|
+
return data
|
|
665
|
+
|
|
666
|
+
def get_assets_by_entity_group_id_using_get_with_http_info(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
667
|
+
"""Get assets by Entity Group Id (getAssetsByEntityGroupId) # noqa: E501
|
|
668
|
+
|
|
669
|
+
Returns a page of asset objects that belongs to specified Entity Group Id. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for specified group. # 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.get_assets_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, async_req=True)
|
|
673
|
+
>>> result = thread.get()
|
|
674
|
+
|
|
675
|
+
:param async_req bool
|
|
676
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
677
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
678
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
679
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
680
|
+
:param str sort_property: Property of entity to sort by
|
|
681
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
682
|
+
:return: PageDataAsset
|
|
683
|
+
If the method is called asynchronously,
|
|
684
|
+
returns the request thread.
|
|
685
|
+
"""
|
|
686
|
+
|
|
687
|
+
all_params = ['entity_group_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
688
|
+
all_params.append('async_req')
|
|
689
|
+
all_params.append('_return_http_data_only')
|
|
690
|
+
all_params.append('_preload_content')
|
|
691
|
+
all_params.append('_request_timeout')
|
|
692
|
+
|
|
693
|
+
params = locals()
|
|
694
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
695
|
+
if key not in all_params:
|
|
696
|
+
raise TypeError(
|
|
697
|
+
"Got an unexpected keyword argument '%s'"
|
|
698
|
+
" to method get_assets_by_entity_group_id_using_get" % key
|
|
699
|
+
)
|
|
700
|
+
params[key] = val
|
|
701
|
+
del params['kwargs']
|
|
702
|
+
# verify the required parameter 'entity_group_id' is set
|
|
703
|
+
if ('entity_group_id' not in params or
|
|
704
|
+
params['entity_group_id'] is None):
|
|
705
|
+
raise ValueError("Missing the required parameter `entity_group_id` when calling `get_assets_by_entity_group_id_using_get`") # noqa: E501
|
|
706
|
+
# verify the required parameter 'page_size' is set
|
|
707
|
+
if ('page_size' not in params or
|
|
708
|
+
params['page_size'] is None):
|
|
709
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_assets_by_entity_group_id_using_get`") # noqa: E501
|
|
710
|
+
# verify the required parameter 'page' is set
|
|
711
|
+
if ('page' not in params or
|
|
712
|
+
params['page'] is None):
|
|
713
|
+
raise ValueError("Missing the required parameter `page` when calling `get_assets_by_entity_group_id_using_get`") # noqa: E501
|
|
714
|
+
|
|
715
|
+
collection_formats = {}
|
|
716
|
+
|
|
717
|
+
path_params = {}
|
|
718
|
+
if 'entity_group_id' in params:
|
|
719
|
+
path_params['entityGroupId'] = params['entity_group_id'] # noqa: E501
|
|
720
|
+
|
|
721
|
+
query_params = []
|
|
722
|
+
if 'page_size' in params:
|
|
723
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
724
|
+
if 'page' in params:
|
|
725
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
726
|
+
if 'text_search' in params:
|
|
727
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
728
|
+
if 'sort_property' in params:
|
|
729
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
730
|
+
if 'sort_order' in params:
|
|
731
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
732
|
+
|
|
733
|
+
header_params = {}
|
|
734
|
+
|
|
735
|
+
form_params = []
|
|
736
|
+
local_var_files = {}
|
|
737
|
+
|
|
738
|
+
body_params = None
|
|
739
|
+
# HTTP header `Accept`
|
|
740
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
741
|
+
['application/json']) # noqa: E501
|
|
742
|
+
|
|
743
|
+
# Authentication setting
|
|
744
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
745
|
+
|
|
746
|
+
return self.api_client.call_api(
|
|
747
|
+
'/api/entityGroup/{entityGroupId}/assets{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
748
|
+
path_params,
|
|
749
|
+
query_params,
|
|
750
|
+
header_params,
|
|
751
|
+
body=body_params,
|
|
752
|
+
post_params=form_params,
|
|
753
|
+
files=local_var_files,
|
|
754
|
+
response_type='PageDataAsset', # noqa: E501
|
|
755
|
+
auth_settings=auth_settings,
|
|
756
|
+
async_req=params.get('async_req'),
|
|
757
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
758
|
+
_preload_content=params.get('_preload_content', True),
|
|
759
|
+
_request_timeout=params.get('_request_timeout'),
|
|
760
|
+
collection_formats=collection_formats)
|
|
761
|
+
|
|
762
|
+
def get_assets_by_ids_using_get(self, asset_ids, **kwargs): # noqa: E501
|
|
763
|
+
"""Get Assets By Ids (getAssetsByIds) # noqa: E501
|
|
764
|
+
|
|
765
|
+
Requested assets must be owned by tenant or assigned to customer which user is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
766
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
767
|
+
asynchronous HTTP request, please pass async_req=True
|
|
768
|
+
>>> thread = api.get_assets_by_ids_using_get(asset_ids, async_req=True)
|
|
769
|
+
>>> result = thread.get()
|
|
770
|
+
|
|
771
|
+
:param async_req bool
|
|
772
|
+
:param str asset_ids: A list of asset ids, separated by comma ',' (required)
|
|
773
|
+
:return: list[Asset]
|
|
774
|
+
If the method is called asynchronously,
|
|
775
|
+
returns the request thread.
|
|
776
|
+
"""
|
|
777
|
+
kwargs['_return_http_data_only'] = True
|
|
778
|
+
if kwargs.get('async_req'):
|
|
779
|
+
return self.get_assets_by_ids_using_get_with_http_info(asset_ids, **kwargs) # noqa: E501
|
|
780
|
+
else:
|
|
781
|
+
(data) = self.get_assets_by_ids_using_get_with_http_info(asset_ids, **kwargs) # noqa: E501
|
|
782
|
+
return data
|
|
783
|
+
|
|
784
|
+
def get_assets_by_ids_using_get_with_http_info(self, asset_ids, **kwargs): # noqa: E501
|
|
785
|
+
"""Get Assets By Ids (getAssetsByIds) # noqa: E501
|
|
786
|
+
|
|
787
|
+
Requested assets must be owned by tenant or assigned to customer which user is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
788
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
789
|
+
asynchronous HTTP request, please pass async_req=True
|
|
790
|
+
>>> thread = api.get_assets_by_ids_using_get_with_http_info(asset_ids, async_req=True)
|
|
791
|
+
>>> result = thread.get()
|
|
792
|
+
|
|
793
|
+
:param async_req bool
|
|
794
|
+
:param str asset_ids: A list of asset ids, separated by comma ',' (required)
|
|
795
|
+
:return: list[Asset]
|
|
796
|
+
If the method is called asynchronously,
|
|
797
|
+
returns the request thread.
|
|
798
|
+
"""
|
|
799
|
+
|
|
800
|
+
all_params = ['asset_ids'] # noqa: E501
|
|
801
|
+
all_params.append('async_req')
|
|
802
|
+
all_params.append('_return_http_data_only')
|
|
803
|
+
all_params.append('_preload_content')
|
|
804
|
+
all_params.append('_request_timeout')
|
|
805
|
+
|
|
806
|
+
params = locals()
|
|
807
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
808
|
+
if key not in all_params:
|
|
809
|
+
raise TypeError(
|
|
810
|
+
"Got an unexpected keyword argument '%s'"
|
|
811
|
+
" to method get_assets_by_ids_using_get" % key
|
|
812
|
+
)
|
|
813
|
+
params[key] = val
|
|
814
|
+
del params['kwargs']
|
|
815
|
+
# verify the required parameter 'asset_ids' is set
|
|
816
|
+
if ('asset_ids' not in params or
|
|
817
|
+
params['asset_ids'] is None):
|
|
818
|
+
raise ValueError("Missing the required parameter `asset_ids` when calling `get_assets_by_ids_using_get`") # noqa: E501
|
|
819
|
+
|
|
820
|
+
collection_formats = {}
|
|
821
|
+
|
|
822
|
+
path_params = {}
|
|
823
|
+
|
|
824
|
+
query_params = []
|
|
825
|
+
if 'asset_ids' in params:
|
|
826
|
+
query_params.append(('assetIds', params['asset_ids'])) # noqa: E501
|
|
827
|
+
|
|
828
|
+
header_params = {}
|
|
829
|
+
|
|
830
|
+
form_params = []
|
|
831
|
+
local_var_files = {}
|
|
832
|
+
|
|
833
|
+
body_params = None
|
|
834
|
+
# HTTP header `Accept`
|
|
835
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
836
|
+
['application/json']) # noqa: E501
|
|
837
|
+
|
|
838
|
+
# Authentication setting
|
|
839
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
840
|
+
|
|
841
|
+
return self.api_client.call_api(
|
|
842
|
+
'/api/assets{?assetIds}', 'GET',
|
|
843
|
+
path_params,
|
|
844
|
+
query_params,
|
|
845
|
+
header_params,
|
|
846
|
+
body=body_params,
|
|
847
|
+
post_params=form_params,
|
|
848
|
+
files=local_var_files,
|
|
849
|
+
response_type='list[Asset]', # noqa: E501
|
|
850
|
+
auth_settings=auth_settings,
|
|
851
|
+
async_req=params.get('async_req'),
|
|
852
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
853
|
+
_preload_content=params.get('_preload_content', True),
|
|
854
|
+
_request_timeout=params.get('_request_timeout'),
|
|
855
|
+
collection_formats=collection_formats)
|
|
856
|
+
|
|
857
|
+
def get_customer_asset_infos_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
858
|
+
"""Get Customer Asset Infos (getCustomerAssetInfos) # noqa: E501
|
|
859
|
+
|
|
860
|
+
Returns a page of asset info objects owned by the specified customer. Asset Info is an extension of the default Asset object that contains information about the owner name. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
861
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
862
|
+
asynchronous HTTP request, please pass async_req=True
|
|
863
|
+
>>> thread = api.get_customer_asset_infos_using_get(customer_id, page_size, page, async_req=True)
|
|
864
|
+
>>> result = thread.get()
|
|
865
|
+
|
|
866
|
+
:param async_req bool
|
|
867
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
868
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
869
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
870
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
871
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
872
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
873
|
+
:param str sort_property: Property of entity to sort by
|
|
874
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
875
|
+
:return: PageDataAssetInfo
|
|
876
|
+
If the method is called asynchronously,
|
|
877
|
+
returns the request thread.
|
|
878
|
+
"""
|
|
879
|
+
kwargs['_return_http_data_only'] = True
|
|
880
|
+
if kwargs.get('async_req'):
|
|
881
|
+
return self.get_customer_asset_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
882
|
+
else:
|
|
883
|
+
(data) = self.get_customer_asset_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
884
|
+
return data
|
|
885
|
+
|
|
886
|
+
def get_customer_asset_infos_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
887
|
+
"""Get Customer Asset Infos (getCustomerAssetInfos) # noqa: E501
|
|
888
|
+
|
|
889
|
+
Returns a page of asset info objects owned by the specified customer. Asset Info is an extension of the default Asset object that contains information about the owner name. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
890
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
891
|
+
asynchronous HTTP request, please pass async_req=True
|
|
892
|
+
>>> thread = api.get_customer_asset_infos_using_get_with_http_info(customer_id, page_size, page, async_req=True)
|
|
893
|
+
>>> result = thread.get()
|
|
894
|
+
|
|
895
|
+
:param async_req bool
|
|
896
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
897
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
898
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
899
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
900
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
901
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
902
|
+
:param str sort_property: Property of entity to sort by
|
|
903
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
904
|
+
:return: PageDataAssetInfo
|
|
905
|
+
If the method is called asynchronously,
|
|
906
|
+
returns the request thread.
|
|
907
|
+
"""
|
|
908
|
+
|
|
909
|
+
all_params = ['customer_id', 'page_size', 'page', 'include_customers', 'asset_profile_id', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
910
|
+
all_params.append('async_req')
|
|
911
|
+
all_params.append('_return_http_data_only')
|
|
912
|
+
all_params.append('_preload_content')
|
|
913
|
+
all_params.append('_request_timeout')
|
|
914
|
+
|
|
915
|
+
params = locals()
|
|
916
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
917
|
+
if key not in all_params:
|
|
918
|
+
raise TypeError(
|
|
919
|
+
"Got an unexpected keyword argument '%s'"
|
|
920
|
+
" to method get_customer_asset_infos_using_get" % key
|
|
921
|
+
)
|
|
922
|
+
params[key] = val
|
|
923
|
+
del params['kwargs']
|
|
924
|
+
# verify the required parameter 'customer_id' is set
|
|
925
|
+
if ('customer_id' not in params or
|
|
926
|
+
params['customer_id'] is None):
|
|
927
|
+
raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_asset_infos_using_get`") # noqa: E501
|
|
928
|
+
# verify the required parameter 'page_size' is set
|
|
929
|
+
if ('page_size' not in params or
|
|
930
|
+
params['page_size'] is None):
|
|
931
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_customer_asset_infos_using_get`") # noqa: E501
|
|
932
|
+
# verify the required parameter 'page' is set
|
|
933
|
+
if ('page' not in params or
|
|
934
|
+
params['page'] is None):
|
|
935
|
+
raise ValueError("Missing the required parameter `page` when calling `get_customer_asset_infos_using_get`") # noqa: E501
|
|
936
|
+
|
|
937
|
+
collection_formats = {}
|
|
938
|
+
|
|
939
|
+
path_params = {}
|
|
940
|
+
if 'customer_id' in params:
|
|
941
|
+
path_params['customerId'] = params['customer_id'] # noqa: E501
|
|
942
|
+
|
|
943
|
+
query_params = []
|
|
944
|
+
if 'page_size' in params:
|
|
945
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
946
|
+
if 'page' in params:
|
|
947
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
948
|
+
if 'include_customers' in params:
|
|
949
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
950
|
+
if 'asset_profile_id' in params:
|
|
951
|
+
query_params.append(('assetProfileId', params['asset_profile_id'])) # noqa: E501
|
|
952
|
+
if 'text_search' in params:
|
|
953
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
954
|
+
if 'sort_property' in params:
|
|
955
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
956
|
+
if 'sort_order' in params:
|
|
957
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
958
|
+
|
|
959
|
+
header_params = {}
|
|
960
|
+
|
|
961
|
+
form_params = []
|
|
962
|
+
local_var_files = {}
|
|
963
|
+
|
|
964
|
+
body_params = None
|
|
965
|
+
# HTTP header `Accept`
|
|
966
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
967
|
+
['application/json']) # noqa: E501
|
|
968
|
+
|
|
969
|
+
# Authentication setting
|
|
970
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
971
|
+
|
|
972
|
+
return self.api_client.call_api(
|
|
973
|
+
'/api/customer/{customerId}/assetInfos{?assetProfileId,includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
974
|
+
path_params,
|
|
975
|
+
query_params,
|
|
976
|
+
header_params,
|
|
977
|
+
body=body_params,
|
|
978
|
+
post_params=form_params,
|
|
979
|
+
files=local_var_files,
|
|
980
|
+
response_type='PageDataAssetInfo', # noqa: E501
|
|
981
|
+
auth_settings=auth_settings,
|
|
982
|
+
async_req=params.get('async_req'),
|
|
983
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
984
|
+
_preload_content=params.get('_preload_content', True),
|
|
985
|
+
_request_timeout=params.get('_request_timeout'),
|
|
986
|
+
collection_formats=collection_formats)
|
|
987
|
+
|
|
988
|
+
def get_customer_assets_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
989
|
+
"""Get Customer Assets (getCustomerAssets) # noqa: E501
|
|
990
|
+
|
|
991
|
+
Returns a page of assets objects owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
992
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
993
|
+
asynchronous HTTP request, please pass async_req=True
|
|
994
|
+
>>> thread = api.get_customer_assets_using_get(customer_id, page_size, page, async_req=True)
|
|
995
|
+
>>> result = thread.get()
|
|
996
|
+
|
|
997
|
+
:param async_req bool
|
|
998
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
999
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1000
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1001
|
+
:param str type: Asset type
|
|
1002
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1003
|
+
:param str sort_property: Property of entity to sort by
|
|
1004
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1005
|
+
:return: PageDataAsset
|
|
1006
|
+
If the method is called asynchronously,
|
|
1007
|
+
returns the request thread.
|
|
1008
|
+
"""
|
|
1009
|
+
kwargs['_return_http_data_only'] = True
|
|
1010
|
+
if kwargs.get('async_req'):
|
|
1011
|
+
return self.get_customer_assets_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
1012
|
+
else:
|
|
1013
|
+
(data) = self.get_customer_assets_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
1014
|
+
return data
|
|
1015
|
+
|
|
1016
|
+
def get_customer_assets_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
1017
|
+
"""Get Customer Assets (getCustomerAssets) # noqa: E501
|
|
1018
|
+
|
|
1019
|
+
Returns a page of assets objects owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
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.get_customer_assets_using_get_with_http_info(customer_id, page_size, page, async_req=True)
|
|
1023
|
+
>>> result = thread.get()
|
|
1024
|
+
|
|
1025
|
+
:param async_req bool
|
|
1026
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (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 type: Asset type
|
|
1030
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1031
|
+
:param str sort_property: Property of entity to sort by
|
|
1032
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1033
|
+
:return: PageDataAsset
|
|
1034
|
+
If the method is called asynchronously,
|
|
1035
|
+
returns the request thread.
|
|
1036
|
+
"""
|
|
1037
|
+
|
|
1038
|
+
all_params = ['customer_id', 'page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1039
|
+
all_params.append('async_req')
|
|
1040
|
+
all_params.append('_return_http_data_only')
|
|
1041
|
+
all_params.append('_preload_content')
|
|
1042
|
+
all_params.append('_request_timeout')
|
|
1043
|
+
|
|
1044
|
+
params = locals()
|
|
1045
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1046
|
+
if key not in all_params:
|
|
1047
|
+
raise TypeError(
|
|
1048
|
+
"Got an unexpected keyword argument '%s'"
|
|
1049
|
+
" to method get_customer_assets_using_get" % key
|
|
1050
|
+
)
|
|
1051
|
+
params[key] = val
|
|
1052
|
+
del params['kwargs']
|
|
1053
|
+
# verify the required parameter 'customer_id' is set
|
|
1054
|
+
if ('customer_id' not in params or
|
|
1055
|
+
params['customer_id'] is None):
|
|
1056
|
+
raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_assets_using_get`") # noqa: E501
|
|
1057
|
+
# verify the required parameter 'page_size' is set
|
|
1058
|
+
if ('page_size' not in params or
|
|
1059
|
+
params['page_size'] is None):
|
|
1060
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_customer_assets_using_get`") # noqa: E501
|
|
1061
|
+
# verify the required parameter 'page' is set
|
|
1062
|
+
if ('page' not in params or
|
|
1063
|
+
params['page'] is None):
|
|
1064
|
+
raise ValueError("Missing the required parameter `page` when calling `get_customer_assets_using_get`") # noqa: E501
|
|
1065
|
+
|
|
1066
|
+
collection_formats = {}
|
|
1067
|
+
|
|
1068
|
+
path_params = {}
|
|
1069
|
+
if 'customer_id' in params:
|
|
1070
|
+
path_params['customerId'] = params['customer_id'] # noqa: E501
|
|
1071
|
+
|
|
1072
|
+
query_params = []
|
|
1073
|
+
if 'page_size' in params:
|
|
1074
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1075
|
+
if 'page' in params:
|
|
1076
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1077
|
+
if 'type' in params:
|
|
1078
|
+
query_params.append(('type', params['type'])) # noqa: E501
|
|
1079
|
+
if 'text_search' in params:
|
|
1080
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1081
|
+
if 'sort_property' in params:
|
|
1082
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1083
|
+
if 'sort_order' in params:
|
|
1084
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1085
|
+
|
|
1086
|
+
header_params = {}
|
|
1087
|
+
|
|
1088
|
+
form_params = []
|
|
1089
|
+
local_var_files = {}
|
|
1090
|
+
|
|
1091
|
+
body_params = None
|
|
1092
|
+
# HTTP header `Accept`
|
|
1093
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1094
|
+
['application/json']) # noqa: E501
|
|
1095
|
+
|
|
1096
|
+
# Authentication setting
|
|
1097
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1098
|
+
|
|
1099
|
+
return self.api_client.call_api(
|
|
1100
|
+
'/api/customer/{customerId}/assets{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
|
|
1101
|
+
path_params,
|
|
1102
|
+
query_params,
|
|
1103
|
+
header_params,
|
|
1104
|
+
body=body_params,
|
|
1105
|
+
post_params=form_params,
|
|
1106
|
+
files=local_var_files,
|
|
1107
|
+
response_type='PageDataAsset', # noqa: E501
|
|
1108
|
+
auth_settings=auth_settings,
|
|
1109
|
+
async_req=params.get('async_req'),
|
|
1110
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1111
|
+
_preload_content=params.get('_preload_content', True),
|
|
1112
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1113
|
+
collection_formats=collection_formats)
|
|
1114
|
+
|
|
1115
|
+
def get_tenant_asset_using_get(self, asset_name, **kwargs): # noqa: E501
|
|
1116
|
+
"""Get Tenant Asset (getTenantAsset) # noqa: E501
|
|
1117
|
+
|
|
1118
|
+
Requested asset must be owned by tenant that the user belongs to. Asset name is an unique property of asset. So it can be used to identify the asset. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1119
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1120
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1121
|
+
>>> thread = api.get_tenant_asset_using_get(asset_name, async_req=True)
|
|
1122
|
+
>>> result = thread.get()
|
|
1123
|
+
|
|
1124
|
+
:param async_req bool
|
|
1125
|
+
:param str asset_name: A string value representing the Asset name. (required)
|
|
1126
|
+
:return: Asset
|
|
1127
|
+
If the method is called asynchronously,
|
|
1128
|
+
returns the request thread.
|
|
1129
|
+
"""
|
|
1130
|
+
kwargs['_return_http_data_only'] = True
|
|
1131
|
+
if kwargs.get('async_req'):
|
|
1132
|
+
return self.get_tenant_asset_using_get_with_http_info(asset_name, **kwargs) # noqa: E501
|
|
1133
|
+
else:
|
|
1134
|
+
(data) = self.get_tenant_asset_using_get_with_http_info(asset_name, **kwargs) # noqa: E501
|
|
1135
|
+
return data
|
|
1136
|
+
|
|
1137
|
+
def get_tenant_asset_using_get_with_http_info(self, asset_name, **kwargs): # noqa: E501
|
|
1138
|
+
"""Get Tenant Asset (getTenantAsset) # noqa: E501
|
|
1139
|
+
|
|
1140
|
+
Requested asset must be owned by tenant that the user belongs to. Asset name is an unique property of asset. So it can be used to identify the asset. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1141
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1142
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1143
|
+
>>> thread = api.get_tenant_asset_using_get_with_http_info(asset_name, async_req=True)
|
|
1144
|
+
>>> result = thread.get()
|
|
1145
|
+
|
|
1146
|
+
:param async_req bool
|
|
1147
|
+
:param str asset_name: A string value representing the Asset name. (required)
|
|
1148
|
+
:return: Asset
|
|
1149
|
+
If the method is called asynchronously,
|
|
1150
|
+
returns the request thread.
|
|
1151
|
+
"""
|
|
1152
|
+
|
|
1153
|
+
all_params = ['asset_name'] # noqa: E501
|
|
1154
|
+
all_params.append('async_req')
|
|
1155
|
+
all_params.append('_return_http_data_only')
|
|
1156
|
+
all_params.append('_preload_content')
|
|
1157
|
+
all_params.append('_request_timeout')
|
|
1158
|
+
|
|
1159
|
+
params = locals()
|
|
1160
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1161
|
+
if key not in all_params:
|
|
1162
|
+
raise TypeError(
|
|
1163
|
+
"Got an unexpected keyword argument '%s'"
|
|
1164
|
+
" to method get_tenant_asset_using_get" % key
|
|
1165
|
+
)
|
|
1166
|
+
params[key] = val
|
|
1167
|
+
del params['kwargs']
|
|
1168
|
+
# verify the required parameter 'asset_name' is set
|
|
1169
|
+
if ('asset_name' not in params or
|
|
1170
|
+
params['asset_name'] is None):
|
|
1171
|
+
raise ValueError("Missing the required parameter `asset_name` when calling `get_tenant_asset_using_get`") # noqa: E501
|
|
1172
|
+
|
|
1173
|
+
collection_formats = {}
|
|
1174
|
+
|
|
1175
|
+
path_params = {}
|
|
1176
|
+
|
|
1177
|
+
query_params = []
|
|
1178
|
+
if 'asset_name' in params:
|
|
1179
|
+
query_params.append(('assetName', params['asset_name'])) # noqa: E501
|
|
1180
|
+
|
|
1181
|
+
header_params = {}
|
|
1182
|
+
|
|
1183
|
+
form_params = []
|
|
1184
|
+
local_var_files = {}
|
|
1185
|
+
|
|
1186
|
+
body_params = None
|
|
1187
|
+
# HTTP header `Accept`
|
|
1188
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1189
|
+
['application/json']) # noqa: E501
|
|
1190
|
+
|
|
1191
|
+
# Authentication setting
|
|
1192
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1193
|
+
|
|
1194
|
+
return self.api_client.call_api(
|
|
1195
|
+
'/api/tenant/assets{?assetName}', 'GET',
|
|
1196
|
+
path_params,
|
|
1197
|
+
query_params,
|
|
1198
|
+
header_params,
|
|
1199
|
+
body=body_params,
|
|
1200
|
+
post_params=form_params,
|
|
1201
|
+
files=local_var_files,
|
|
1202
|
+
response_type='Asset', # noqa: E501
|
|
1203
|
+
auth_settings=auth_settings,
|
|
1204
|
+
async_req=params.get('async_req'),
|
|
1205
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1206
|
+
_preload_content=params.get('_preload_content', True),
|
|
1207
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1208
|
+
collection_formats=collection_formats)
|
|
1209
|
+
|
|
1210
|
+
def get_tenant_assets_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1211
|
+
"""Get Tenant Assets (getTenantAssets) # noqa: E501
|
|
1212
|
+
|
|
1213
|
+
Returns a page of assets owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1214
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1215
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1216
|
+
>>> thread = api.get_tenant_assets_using_get(page_size, page, async_req=True)
|
|
1217
|
+
>>> result = thread.get()
|
|
1218
|
+
|
|
1219
|
+
:param async_req bool
|
|
1220
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1221
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1222
|
+
:param str type: Asset type
|
|
1223
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1224
|
+
:param str sort_property: Property of entity to sort by
|
|
1225
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1226
|
+
:return: PageDataAsset
|
|
1227
|
+
If the method is called asynchronously,
|
|
1228
|
+
returns the request thread.
|
|
1229
|
+
"""
|
|
1230
|
+
kwargs['_return_http_data_only'] = True
|
|
1231
|
+
if kwargs.get('async_req'):
|
|
1232
|
+
return self.get_tenant_assets_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1233
|
+
else:
|
|
1234
|
+
(data) = self.get_tenant_assets_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1235
|
+
return data
|
|
1236
|
+
|
|
1237
|
+
def get_tenant_assets_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1238
|
+
"""Get Tenant Assets (getTenantAssets) # noqa: E501
|
|
1239
|
+
|
|
1240
|
+
Returns a page of assets owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1241
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1242
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1243
|
+
>>> thread = api.get_tenant_assets_using_get_with_http_info(page_size, page, async_req=True)
|
|
1244
|
+
>>> result = thread.get()
|
|
1245
|
+
|
|
1246
|
+
:param async_req bool
|
|
1247
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1248
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1249
|
+
:param str type: Asset type
|
|
1250
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1251
|
+
:param str sort_property: Property of entity to sort by
|
|
1252
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1253
|
+
:return: PageDataAsset
|
|
1254
|
+
If the method is called asynchronously,
|
|
1255
|
+
returns the request thread.
|
|
1256
|
+
"""
|
|
1257
|
+
|
|
1258
|
+
all_params = ['page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1259
|
+
all_params.append('async_req')
|
|
1260
|
+
all_params.append('_return_http_data_only')
|
|
1261
|
+
all_params.append('_preload_content')
|
|
1262
|
+
all_params.append('_request_timeout')
|
|
1263
|
+
|
|
1264
|
+
params = locals()
|
|
1265
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1266
|
+
if key not in all_params:
|
|
1267
|
+
raise TypeError(
|
|
1268
|
+
"Got an unexpected keyword argument '%s'"
|
|
1269
|
+
" to method get_tenant_assets_using_get" % key
|
|
1270
|
+
)
|
|
1271
|
+
params[key] = val
|
|
1272
|
+
del params['kwargs']
|
|
1273
|
+
# verify the required parameter 'page_size' is set
|
|
1274
|
+
if ('page_size' not in params or
|
|
1275
|
+
params['page_size'] is None):
|
|
1276
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_assets_using_get`") # noqa: E501
|
|
1277
|
+
# verify the required parameter 'page' is set
|
|
1278
|
+
if ('page' not in params or
|
|
1279
|
+
params['page'] is None):
|
|
1280
|
+
raise ValueError("Missing the required parameter `page` when calling `get_tenant_assets_using_get`") # noqa: E501
|
|
1281
|
+
|
|
1282
|
+
collection_formats = {}
|
|
1283
|
+
|
|
1284
|
+
path_params = {}
|
|
1285
|
+
|
|
1286
|
+
query_params = []
|
|
1287
|
+
if 'page_size' in params:
|
|
1288
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1289
|
+
if 'page' in params:
|
|
1290
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1291
|
+
if 'type' in params:
|
|
1292
|
+
query_params.append(('type', params['type'])) # noqa: E501
|
|
1293
|
+
if 'text_search' in params:
|
|
1294
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1295
|
+
if 'sort_property' in params:
|
|
1296
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1297
|
+
if 'sort_order' in params:
|
|
1298
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1299
|
+
|
|
1300
|
+
header_params = {}
|
|
1301
|
+
|
|
1302
|
+
form_params = []
|
|
1303
|
+
local_var_files = {}
|
|
1304
|
+
|
|
1305
|
+
body_params = None
|
|
1306
|
+
# HTTP header `Accept`
|
|
1307
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
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/tenant/assets{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
|
|
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='PageDataAsset', # 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)
|
|
1328
|
+
|
|
1329
|
+
def get_user_assets_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1330
|
+
"""Get Assets (getUserAssets) # noqa: E501
|
|
1331
|
+
|
|
1332
|
+
Returns a page of assets objects available for the current user. 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. Asset Info is an extension of the default Asset object that contains information about the owner name. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1333
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1334
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1335
|
+
>>> thread = api.get_user_assets_using_get(page_size, page, async_req=True)
|
|
1336
|
+
>>> result = thread.get()
|
|
1337
|
+
|
|
1338
|
+
:param async_req bool
|
|
1339
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1340
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1341
|
+
:param str type: Asset type
|
|
1342
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
1343
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1344
|
+
:param str sort_property: Property of entity to sort by
|
|
1345
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1346
|
+
:return: PageDataAsset
|
|
1347
|
+
If the method is called asynchronously,
|
|
1348
|
+
returns the request thread.
|
|
1349
|
+
"""
|
|
1350
|
+
kwargs['_return_http_data_only'] = True
|
|
1351
|
+
if kwargs.get('async_req'):
|
|
1352
|
+
return self.get_user_assets_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1353
|
+
else:
|
|
1354
|
+
(data) = self.get_user_assets_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1355
|
+
return data
|
|
1356
|
+
|
|
1357
|
+
def get_user_assets_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1358
|
+
"""Get Assets (getUserAssets) # noqa: E501
|
|
1359
|
+
|
|
1360
|
+
Returns a page of assets objects available for the current user. 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. Asset Info is an extension of the default Asset object that contains information about the owner name. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1361
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1362
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1363
|
+
>>> thread = api.get_user_assets_using_get_with_http_info(page_size, page, async_req=True)
|
|
1364
|
+
>>> result = thread.get()
|
|
1365
|
+
|
|
1366
|
+
:param async_req bool
|
|
1367
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1368
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1369
|
+
:param str type: Asset type
|
|
1370
|
+
:param str asset_profile_id: A string value representing the asset profile id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
1371
|
+
:param str text_search: The case insensitive 'substring' filter based on the asset name.
|
|
1372
|
+
:param str sort_property: Property of entity to sort by
|
|
1373
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1374
|
+
:return: PageDataAsset
|
|
1375
|
+
If the method is called asynchronously,
|
|
1376
|
+
returns the request thread.
|
|
1377
|
+
"""
|
|
1378
|
+
|
|
1379
|
+
all_params = ['page_size', 'page', 'type', 'asset_profile_id', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1380
|
+
all_params.append('async_req')
|
|
1381
|
+
all_params.append('_return_http_data_only')
|
|
1382
|
+
all_params.append('_preload_content')
|
|
1383
|
+
all_params.append('_request_timeout')
|
|
1384
|
+
|
|
1385
|
+
params = locals()
|
|
1386
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1387
|
+
if key not in all_params:
|
|
1388
|
+
raise TypeError(
|
|
1389
|
+
"Got an unexpected keyword argument '%s'"
|
|
1390
|
+
" to method get_user_assets_using_get" % key
|
|
1391
|
+
)
|
|
1392
|
+
params[key] = val
|
|
1393
|
+
del params['kwargs']
|
|
1394
|
+
# verify the required parameter 'page_size' is set
|
|
1395
|
+
if ('page_size' not in params or
|
|
1396
|
+
params['page_size'] is None):
|
|
1397
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_user_assets_using_get`") # noqa: E501
|
|
1398
|
+
# verify the required parameter 'page' is set
|
|
1399
|
+
if ('page' not in params or
|
|
1400
|
+
params['page'] is None):
|
|
1401
|
+
raise ValueError("Missing the required parameter `page` when calling `get_user_assets_using_get`") # noqa: E501
|
|
1402
|
+
|
|
1403
|
+
collection_formats = {}
|
|
1404
|
+
|
|
1405
|
+
path_params = {}
|
|
1406
|
+
|
|
1407
|
+
query_params = []
|
|
1408
|
+
if 'page_size' in params:
|
|
1409
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1410
|
+
if 'page' in params:
|
|
1411
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1412
|
+
if 'type' in params:
|
|
1413
|
+
query_params.append(('type', params['type'])) # noqa: E501
|
|
1414
|
+
if 'asset_profile_id' in params:
|
|
1415
|
+
query_params.append(('assetProfileId', params['asset_profile_id'])) # noqa: E501
|
|
1416
|
+
if 'text_search' in params:
|
|
1417
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1418
|
+
if 'sort_property' in params:
|
|
1419
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1420
|
+
if 'sort_order' in params:
|
|
1421
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1422
|
+
|
|
1423
|
+
header_params = {}
|
|
1424
|
+
|
|
1425
|
+
form_params = []
|
|
1426
|
+
local_var_files = {}
|
|
1427
|
+
|
|
1428
|
+
body_params = None
|
|
1429
|
+
# HTTP header `Accept`
|
|
1430
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1431
|
+
['application/json']) # noqa: E501
|
|
1432
|
+
|
|
1433
|
+
# Authentication setting
|
|
1434
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1435
|
+
|
|
1436
|
+
return self.api_client.call_api(
|
|
1437
|
+
'/api/user/assets{?assetProfileId,page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
|
|
1438
|
+
path_params,
|
|
1439
|
+
query_params,
|
|
1440
|
+
header_params,
|
|
1441
|
+
body=body_params,
|
|
1442
|
+
post_params=form_params,
|
|
1443
|
+
files=local_var_files,
|
|
1444
|
+
response_type='PageDataAsset', # noqa: E501
|
|
1445
|
+
auth_settings=auth_settings,
|
|
1446
|
+
async_req=params.get('async_req'),
|
|
1447
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1448
|
+
_preload_content=params.get('_preload_content', True),
|
|
1449
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1450
|
+
collection_formats=collection_formats)
|
|
1451
|
+
|
|
1452
|
+
def process_asset_bulk_import_using_post(self, **kwargs): # noqa: E501
|
|
1453
|
+
"""Import the bulk of assets (processAssetsBulkImport) # noqa: E501
|
|
1454
|
+
|
|
1455
|
+
There's an ability to import the bulk of assets using the only .csv file. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
1456
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1457
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1458
|
+
>>> thread = api.process_asset_bulk_import_using_post(async_req=True)
|
|
1459
|
+
>>> result = thread.get()
|
|
1460
|
+
|
|
1461
|
+
:param async_req bool
|
|
1462
|
+
:param BulkImportRequest body:
|
|
1463
|
+
:return: BulkImportResultAsset
|
|
1464
|
+
If the method is called asynchronously,
|
|
1465
|
+
returns the request thread.
|
|
1466
|
+
"""
|
|
1467
|
+
kwargs['_return_http_data_only'] = True
|
|
1468
|
+
if kwargs.get('async_req'):
|
|
1469
|
+
return self.process_asset_bulk_import_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1470
|
+
else:
|
|
1471
|
+
(data) = self.process_asset_bulk_import_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1472
|
+
return data
|
|
1473
|
+
|
|
1474
|
+
def process_asset_bulk_import_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1475
|
+
"""Import the bulk of assets (processAssetsBulkImport) # noqa: E501
|
|
1476
|
+
|
|
1477
|
+
There's an ability to import the bulk of assets using the only .csv file. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
1478
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1479
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1480
|
+
>>> thread = api.process_asset_bulk_import_using_post_with_http_info(async_req=True)
|
|
1481
|
+
>>> result = thread.get()
|
|
1482
|
+
|
|
1483
|
+
:param async_req bool
|
|
1484
|
+
:param BulkImportRequest body:
|
|
1485
|
+
:return: BulkImportResultAsset
|
|
1486
|
+
If the method is called asynchronously,
|
|
1487
|
+
returns the request thread.
|
|
1488
|
+
"""
|
|
1489
|
+
|
|
1490
|
+
all_params = ['body'] # noqa: E501
|
|
1491
|
+
all_params.append('async_req')
|
|
1492
|
+
all_params.append('_return_http_data_only')
|
|
1493
|
+
all_params.append('_preload_content')
|
|
1494
|
+
all_params.append('_request_timeout')
|
|
1495
|
+
|
|
1496
|
+
params = locals()
|
|
1497
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1498
|
+
if key not in all_params:
|
|
1499
|
+
raise TypeError(
|
|
1500
|
+
"Got an unexpected keyword argument '%s'"
|
|
1501
|
+
" to method process_asset_bulk_import_using_post" % key
|
|
1502
|
+
)
|
|
1503
|
+
params[key] = val
|
|
1504
|
+
del params['kwargs']
|
|
1505
|
+
|
|
1506
|
+
collection_formats = {}
|
|
1507
|
+
|
|
1508
|
+
path_params = {}
|
|
1509
|
+
|
|
1510
|
+
query_params = []
|
|
1511
|
+
|
|
1512
|
+
header_params = {}
|
|
1513
|
+
|
|
1514
|
+
form_params = []
|
|
1515
|
+
local_var_files = {}
|
|
1516
|
+
|
|
1517
|
+
body_params = None
|
|
1518
|
+
if 'body' in params:
|
|
1519
|
+
body_params = params['body']
|
|
1520
|
+
# HTTP header `Accept`
|
|
1521
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1522
|
+
['application/json']) # noqa: E501
|
|
1523
|
+
|
|
1524
|
+
# HTTP header `Content-Type`
|
|
1525
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1526
|
+
['application/json']) # noqa: E501
|
|
1527
|
+
|
|
1528
|
+
# Authentication setting
|
|
1529
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1530
|
+
|
|
1531
|
+
return self.api_client.call_api(
|
|
1532
|
+
'/api/asset/bulk_import', 'POST',
|
|
1533
|
+
path_params,
|
|
1534
|
+
query_params,
|
|
1535
|
+
header_params,
|
|
1536
|
+
body=body_params,
|
|
1537
|
+
post_params=form_params,
|
|
1538
|
+
files=local_var_files,
|
|
1539
|
+
response_type='BulkImportResultAsset', # noqa: E501
|
|
1540
|
+
auth_settings=auth_settings,
|
|
1541
|
+
async_req=params.get('async_req'),
|
|
1542
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1543
|
+
_preload_content=params.get('_preload_content', True),
|
|
1544
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1545
|
+
collection_formats=collection_formats)
|
|
1546
|
+
|
|
1547
|
+
def save_asset_using_post(self, **kwargs): # noqa: E501
|
|
1548
|
+
"""Create Or Update Asset (saveAsset) # noqa: E501
|
|
1549
|
+
|
|
1550
|
+
Creates or Updates the Asset. When creating asset, platform generates Asset Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Asset id will be present in the response. Specify existing Asset id to update the asset. Referencing non-existing Asset Id will cause 'Not Found' error. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Asset entity. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
1551
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1552
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1553
|
+
>>> thread = api.save_asset_using_post(async_req=True)
|
|
1554
|
+
>>> result = thread.get()
|
|
1555
|
+
|
|
1556
|
+
:param async_req bool
|
|
1557
|
+
:param Asset body:
|
|
1558
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'. If specified, the entity will be added to the corresponding entity group.
|
|
1559
|
+
:param str entity_group_ids: A list of string values, separated by comma ',' representing the Entity Group Ids. For example, '784f394c-42b6-435a-983c-b7beff2784f9','a84f394c-42b6-435a-083c-b7beff2784f9'. If specified, the entity will be added to the corresponding entity groups.
|
|
1560
|
+
:return: Asset
|
|
1561
|
+
If the method is called asynchronously,
|
|
1562
|
+
returns the request thread.
|
|
1563
|
+
"""
|
|
1564
|
+
kwargs['_return_http_data_only'] = True
|
|
1565
|
+
if kwargs.get('async_req'):
|
|
1566
|
+
return self.save_asset_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1567
|
+
else:
|
|
1568
|
+
(data) = self.save_asset_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1569
|
+
return data
|
|
1570
|
+
|
|
1571
|
+
def save_asset_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1572
|
+
"""Create Or Update Asset (saveAsset) # noqa: E501
|
|
1573
|
+
|
|
1574
|
+
Creates or Updates the Asset. When creating asset, platform generates Asset Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Asset id will be present in the response. Specify existing Asset id to update the asset. Referencing non-existing Asset Id will cause 'Not Found' error. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Asset entity. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
1575
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1576
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1577
|
+
>>> thread = api.save_asset_using_post_with_http_info(async_req=True)
|
|
1578
|
+
>>> result = thread.get()
|
|
1579
|
+
|
|
1580
|
+
:param async_req bool
|
|
1581
|
+
:param Asset body:
|
|
1582
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'. If specified, the entity will be added to the corresponding entity group.
|
|
1583
|
+
:param str entity_group_ids: A list of string values, separated by comma ',' representing the Entity Group Ids. For example, '784f394c-42b6-435a-983c-b7beff2784f9','a84f394c-42b6-435a-083c-b7beff2784f9'. If specified, the entity will be added to the corresponding entity groups.
|
|
1584
|
+
:return: Asset
|
|
1585
|
+
If the method is called asynchronously,
|
|
1586
|
+
returns the request thread.
|
|
1587
|
+
"""
|
|
1588
|
+
|
|
1589
|
+
all_params = ['body', 'entity_group_id', 'entity_group_ids'] # noqa: E501
|
|
1590
|
+
all_params.append('async_req')
|
|
1591
|
+
all_params.append('_return_http_data_only')
|
|
1592
|
+
all_params.append('_preload_content')
|
|
1593
|
+
all_params.append('_request_timeout')
|
|
1594
|
+
|
|
1595
|
+
params = locals()
|
|
1596
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1597
|
+
if key not in all_params:
|
|
1598
|
+
raise TypeError(
|
|
1599
|
+
"Got an unexpected keyword argument '%s'"
|
|
1600
|
+
" to method save_asset_using_post" % key
|
|
1601
|
+
)
|
|
1602
|
+
params[key] = val
|
|
1603
|
+
del params['kwargs']
|
|
1604
|
+
|
|
1605
|
+
collection_formats = {}
|
|
1606
|
+
|
|
1607
|
+
path_params = {}
|
|
1608
|
+
|
|
1609
|
+
query_params = []
|
|
1610
|
+
if 'entity_group_id' in params:
|
|
1611
|
+
query_params.append(('entityGroupId', params['entity_group_id'])) # noqa: E501
|
|
1612
|
+
if 'entity_group_ids' in params:
|
|
1613
|
+
query_params.append(('entityGroupIds', params['entity_group_ids'])) # noqa: E501
|
|
1614
|
+
|
|
1615
|
+
header_params = {}
|
|
1616
|
+
|
|
1617
|
+
form_params = []
|
|
1618
|
+
local_var_files = {}
|
|
1619
|
+
|
|
1620
|
+
body_params = None
|
|
1621
|
+
if 'body' in params:
|
|
1622
|
+
body_params = params['body']
|
|
1623
|
+
# HTTP header `Accept`
|
|
1624
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1625
|
+
['application/json']) # noqa: E501
|
|
1626
|
+
|
|
1627
|
+
# HTTP header `Content-Type`
|
|
1628
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1629
|
+
['application/json']) # noqa: E501
|
|
1630
|
+
|
|
1631
|
+
# Authentication setting
|
|
1632
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1633
|
+
|
|
1634
|
+
return self.api_client.call_api(
|
|
1635
|
+
'/api/asset{?entityGroupId,entityGroupIds}', 'POST',
|
|
1636
|
+
path_params,
|
|
1637
|
+
query_params,
|
|
1638
|
+
header_params,
|
|
1639
|
+
body=body_params,
|
|
1640
|
+
post_params=form_params,
|
|
1641
|
+
files=local_var_files,
|
|
1642
|
+
response_type='Asset', # noqa: E501
|
|
1643
|
+
auth_settings=auth_settings,
|
|
1644
|
+
async_req=params.get('async_req'),
|
|
1645
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1646
|
+
_preload_content=params.get('_preload_content', True),
|
|
1647
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1648
|
+
collection_formats=collection_formats)
|