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,2194 @@
|
|
|
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 DashboardControllerApi(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_dashboard_using_delete(self, dashboard_id, **kwargs): # noqa: E501
|
|
50
|
+
"""Delete the Dashboard (deleteDashboard) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Delete the Dashboard. Only users with 'TENANT_ADMIN') authority may delete the dashboards. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.delete_dashboard_using_delete(dashboard_id, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str dashboard_id: A string value representing the dashboard 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_dashboard_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
67
|
+
else:
|
|
68
|
+
(data) = self.delete_dashboard_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
69
|
+
return data
|
|
70
|
+
|
|
71
|
+
def delete_dashboard_using_delete_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
|
|
72
|
+
"""Delete the Dashboard (deleteDashboard) # noqa: E501
|
|
73
|
+
|
|
74
|
+
Delete the Dashboard. Only users with 'TENANT_ADMIN') authority may delete the dashboards. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # 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_dashboard_using_delete_with_http_info(dashboard_id, async_req=True)
|
|
78
|
+
>>> result = thread.get()
|
|
79
|
+
|
|
80
|
+
:param async_req bool
|
|
81
|
+
:param str dashboard_id: A string value representing the dashboard 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 = ['dashboard_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_dashboard_using_delete" % key
|
|
99
|
+
)
|
|
100
|
+
params[key] = val
|
|
101
|
+
del params['kwargs']
|
|
102
|
+
# verify the required parameter 'dashboard_id' is set
|
|
103
|
+
if ('dashboard_id' not in params or
|
|
104
|
+
params['dashboard_id'] is None):
|
|
105
|
+
raise ValueError("Missing the required parameter `dashboard_id` when calling `delete_dashboard_using_delete`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
collection_formats = {}
|
|
108
|
+
|
|
109
|
+
path_params = {}
|
|
110
|
+
if 'dashboard_id' in params:
|
|
111
|
+
path_params['dashboardId'] = params['dashboard_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/dashboard/{dashboardId}', '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 export_group_dashboards_using_get(self, entity_group_id, limit, **kwargs): # noqa: E501
|
|
145
|
+
"""Export Dashboards (exportGroupDashboards) # noqa: E501
|
|
146
|
+
|
|
147
|
+
Export the dashboards that belong to specified group id.The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for specified group. # 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.export_group_dashboards_using_get(entity_group_id, limit, async_req=True)
|
|
151
|
+
>>> result = thread.get()
|
|
152
|
+
|
|
153
|
+
:param async_req bool
|
|
154
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
155
|
+
:param int limit: Limit of the entities to export (required)
|
|
156
|
+
:return: list[Dashboard]
|
|
157
|
+
If the method is called asynchronously,
|
|
158
|
+
returns the request thread.
|
|
159
|
+
"""
|
|
160
|
+
kwargs['_return_http_data_only'] = True
|
|
161
|
+
if kwargs.get('async_req'):
|
|
162
|
+
return self.export_group_dashboards_using_get_with_http_info(entity_group_id, limit, **kwargs) # noqa: E501
|
|
163
|
+
else:
|
|
164
|
+
(data) = self.export_group_dashboards_using_get_with_http_info(entity_group_id, limit, **kwargs) # noqa: E501
|
|
165
|
+
return data
|
|
166
|
+
|
|
167
|
+
def export_group_dashboards_using_get_with_http_info(self, entity_group_id, limit, **kwargs): # noqa: E501
|
|
168
|
+
"""Export Dashboards (exportGroupDashboards) # noqa: E501
|
|
169
|
+
|
|
170
|
+
Export the dashboards that belong to specified group id.The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
171
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
172
|
+
asynchronous HTTP request, please pass async_req=True
|
|
173
|
+
>>> thread = api.export_group_dashboards_using_get_with_http_info(entity_group_id, limit, async_req=True)
|
|
174
|
+
>>> result = thread.get()
|
|
175
|
+
|
|
176
|
+
:param async_req bool
|
|
177
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
178
|
+
:param int limit: Limit of the entities to export (required)
|
|
179
|
+
:return: list[Dashboard]
|
|
180
|
+
If the method is called asynchronously,
|
|
181
|
+
returns the request thread.
|
|
182
|
+
"""
|
|
183
|
+
|
|
184
|
+
all_params = ['entity_group_id', 'limit'] # noqa: E501
|
|
185
|
+
all_params.append('async_req')
|
|
186
|
+
all_params.append('_return_http_data_only')
|
|
187
|
+
all_params.append('_preload_content')
|
|
188
|
+
all_params.append('_request_timeout')
|
|
189
|
+
|
|
190
|
+
params = locals()
|
|
191
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
192
|
+
if key not in all_params:
|
|
193
|
+
raise TypeError(
|
|
194
|
+
"Got an unexpected keyword argument '%s'"
|
|
195
|
+
" to method export_group_dashboards_using_get" % key
|
|
196
|
+
)
|
|
197
|
+
params[key] = val
|
|
198
|
+
del params['kwargs']
|
|
199
|
+
# verify the required parameter 'entity_group_id' is set
|
|
200
|
+
if ('entity_group_id' not in params or
|
|
201
|
+
params['entity_group_id'] is None):
|
|
202
|
+
raise ValueError("Missing the required parameter `entity_group_id` when calling `export_group_dashboards_using_get`") # noqa: E501
|
|
203
|
+
# verify the required parameter 'limit' is set
|
|
204
|
+
if ('limit' not in params or
|
|
205
|
+
params['limit'] is None):
|
|
206
|
+
raise ValueError("Missing the required parameter `limit` when calling `export_group_dashboards_using_get`") # noqa: E501
|
|
207
|
+
|
|
208
|
+
collection_formats = {}
|
|
209
|
+
|
|
210
|
+
path_params = {}
|
|
211
|
+
if 'entity_group_id' in params:
|
|
212
|
+
path_params['entityGroupId'] = params['entity_group_id'] # noqa: E501
|
|
213
|
+
|
|
214
|
+
query_params = []
|
|
215
|
+
if 'limit' in params:
|
|
216
|
+
query_params.append(('limit', params['limit'])) # noqa: E501
|
|
217
|
+
|
|
218
|
+
header_params = {}
|
|
219
|
+
|
|
220
|
+
form_params = []
|
|
221
|
+
local_var_files = {}
|
|
222
|
+
|
|
223
|
+
body_params = None
|
|
224
|
+
# HTTP header `Accept`
|
|
225
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
226
|
+
['application/json']) # noqa: E501
|
|
227
|
+
|
|
228
|
+
# Authentication setting
|
|
229
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
230
|
+
|
|
231
|
+
return self.api_client.call_api(
|
|
232
|
+
'/api/entityGroup/{entityGroupId}/dashboards/export{?limit}', 'GET',
|
|
233
|
+
path_params,
|
|
234
|
+
query_params,
|
|
235
|
+
header_params,
|
|
236
|
+
body=body_params,
|
|
237
|
+
post_params=form_params,
|
|
238
|
+
files=local_var_files,
|
|
239
|
+
response_type='list[Dashboard]', # noqa: E501
|
|
240
|
+
auth_settings=auth_settings,
|
|
241
|
+
async_req=params.get('async_req'),
|
|
242
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
243
|
+
_preload_content=params.get('_preload_content', True),
|
|
244
|
+
_request_timeout=params.get('_request_timeout'),
|
|
245
|
+
collection_formats=collection_formats)
|
|
246
|
+
|
|
247
|
+
def get_all_dashboards_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
248
|
+
"""Get All Dashboards for current user (getAllDashboards) # noqa: E501
|
|
249
|
+
|
|
250
|
+
Returns a page of dashboard info objects owned by the tenant or the customer of a current user. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
251
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
252
|
+
asynchronous HTTP request, please pass async_req=True
|
|
253
|
+
>>> thread = api.get_all_dashboards_using_get(page_size, page, async_req=True)
|
|
254
|
+
>>> result = thread.get()
|
|
255
|
+
|
|
256
|
+
:param async_req bool
|
|
257
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
258
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
259
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
260
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
261
|
+
:param str sort_property: Property of entity to sort by
|
|
262
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
263
|
+
:return: PageDataDashboardInfo
|
|
264
|
+
If the method is called asynchronously,
|
|
265
|
+
returns the request thread.
|
|
266
|
+
"""
|
|
267
|
+
kwargs['_return_http_data_only'] = True
|
|
268
|
+
if kwargs.get('async_req'):
|
|
269
|
+
return self.get_all_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
270
|
+
else:
|
|
271
|
+
(data) = self.get_all_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
272
|
+
return data
|
|
273
|
+
|
|
274
|
+
def get_all_dashboards_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
275
|
+
"""Get All Dashboards for current user (getAllDashboards) # noqa: E501
|
|
276
|
+
|
|
277
|
+
Returns a page of dashboard info objects owned by the tenant or the customer of a current user. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
278
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
279
|
+
asynchronous HTTP request, please pass async_req=True
|
|
280
|
+
>>> thread = api.get_all_dashboards_using_get_with_http_info(page_size, page, async_req=True)
|
|
281
|
+
>>> result = thread.get()
|
|
282
|
+
|
|
283
|
+
:param async_req bool
|
|
284
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
285
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
286
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
287
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
288
|
+
:param str sort_property: Property of entity to sort by
|
|
289
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
290
|
+
:return: PageDataDashboardInfo
|
|
291
|
+
If the method is called asynchronously,
|
|
292
|
+
returns the request thread.
|
|
293
|
+
"""
|
|
294
|
+
|
|
295
|
+
all_params = ['page_size', 'page', 'include_customers', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
296
|
+
all_params.append('async_req')
|
|
297
|
+
all_params.append('_return_http_data_only')
|
|
298
|
+
all_params.append('_preload_content')
|
|
299
|
+
all_params.append('_request_timeout')
|
|
300
|
+
|
|
301
|
+
params = locals()
|
|
302
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
303
|
+
if key not in all_params:
|
|
304
|
+
raise TypeError(
|
|
305
|
+
"Got an unexpected keyword argument '%s'"
|
|
306
|
+
" to method get_all_dashboards_using_get" % key
|
|
307
|
+
)
|
|
308
|
+
params[key] = val
|
|
309
|
+
del params['kwargs']
|
|
310
|
+
# verify the required parameter 'page_size' is set
|
|
311
|
+
if ('page_size' not in params or
|
|
312
|
+
params['page_size'] is None):
|
|
313
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_all_dashboards_using_get`") # noqa: E501
|
|
314
|
+
# verify the required parameter 'page' is set
|
|
315
|
+
if ('page' not in params or
|
|
316
|
+
params['page'] is None):
|
|
317
|
+
raise ValueError("Missing the required parameter `page` when calling `get_all_dashboards_using_get`") # noqa: E501
|
|
318
|
+
|
|
319
|
+
collection_formats = {}
|
|
320
|
+
|
|
321
|
+
path_params = {}
|
|
322
|
+
|
|
323
|
+
query_params = []
|
|
324
|
+
if 'page_size' in params:
|
|
325
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
326
|
+
if 'page' in params:
|
|
327
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
328
|
+
if 'include_customers' in params:
|
|
329
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
330
|
+
if 'text_search' in params:
|
|
331
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
332
|
+
if 'sort_property' in params:
|
|
333
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
334
|
+
if 'sort_order' in params:
|
|
335
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
336
|
+
|
|
337
|
+
header_params = {}
|
|
338
|
+
|
|
339
|
+
form_params = []
|
|
340
|
+
local_var_files = {}
|
|
341
|
+
|
|
342
|
+
body_params = None
|
|
343
|
+
# HTTP header `Accept`
|
|
344
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
345
|
+
['application/json']) # noqa: E501
|
|
346
|
+
|
|
347
|
+
# Authentication setting
|
|
348
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
349
|
+
|
|
350
|
+
return self.api_client.call_api(
|
|
351
|
+
'/api/dashboards/all{?includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
352
|
+
path_params,
|
|
353
|
+
query_params,
|
|
354
|
+
header_params,
|
|
355
|
+
body=body_params,
|
|
356
|
+
post_params=form_params,
|
|
357
|
+
files=local_var_files,
|
|
358
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
359
|
+
auth_settings=auth_settings,
|
|
360
|
+
async_req=params.get('async_req'),
|
|
361
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
362
|
+
_preload_content=params.get('_preload_content', True),
|
|
363
|
+
_request_timeout=params.get('_request_timeout'),
|
|
364
|
+
collection_formats=collection_formats)
|
|
365
|
+
|
|
366
|
+
def get_customer_dashboards_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
367
|
+
"""Get Customer Dashboards (getCustomerDashboards) # noqa: E501
|
|
368
|
+
|
|
369
|
+
Returns a page of dashboard info objects owned by the specified customer. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
370
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
371
|
+
asynchronous HTTP request, please pass async_req=True
|
|
372
|
+
>>> thread = api.get_customer_dashboards_using_get(customer_id, page_size, page, async_req=True)
|
|
373
|
+
>>> result = thread.get()
|
|
374
|
+
|
|
375
|
+
:param async_req bool
|
|
376
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
377
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
378
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
379
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
380
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
381
|
+
:param str sort_property: Property of entity to sort by
|
|
382
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
383
|
+
:return: PageDataDashboardInfo
|
|
384
|
+
If the method is called asynchronously,
|
|
385
|
+
returns the request thread.
|
|
386
|
+
"""
|
|
387
|
+
kwargs['_return_http_data_only'] = True
|
|
388
|
+
if kwargs.get('async_req'):
|
|
389
|
+
return self.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
390
|
+
else:
|
|
391
|
+
(data) = self.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
392
|
+
return data
|
|
393
|
+
|
|
394
|
+
def get_customer_dashboards_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
395
|
+
"""Get Customer Dashboards (getCustomerDashboards) # noqa: E501
|
|
396
|
+
|
|
397
|
+
Returns a page of dashboard info objects owned by the specified customer. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
398
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
399
|
+
asynchronous HTTP request, please pass async_req=True
|
|
400
|
+
>>> thread = api.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, async_req=True)
|
|
401
|
+
>>> result = thread.get()
|
|
402
|
+
|
|
403
|
+
:param async_req bool
|
|
404
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
405
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
406
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
407
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
408
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
409
|
+
:param str sort_property: Property of entity to sort by
|
|
410
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
411
|
+
:return: PageDataDashboardInfo
|
|
412
|
+
If the method is called asynchronously,
|
|
413
|
+
returns the request thread.
|
|
414
|
+
"""
|
|
415
|
+
|
|
416
|
+
all_params = ['customer_id', 'page_size', 'page', 'include_customers', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
417
|
+
all_params.append('async_req')
|
|
418
|
+
all_params.append('_return_http_data_only')
|
|
419
|
+
all_params.append('_preload_content')
|
|
420
|
+
all_params.append('_request_timeout')
|
|
421
|
+
|
|
422
|
+
params = locals()
|
|
423
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
424
|
+
if key not in all_params:
|
|
425
|
+
raise TypeError(
|
|
426
|
+
"Got an unexpected keyword argument '%s'"
|
|
427
|
+
" to method get_customer_dashboards_using_get" % key
|
|
428
|
+
)
|
|
429
|
+
params[key] = val
|
|
430
|
+
del params['kwargs']
|
|
431
|
+
# verify the required parameter 'customer_id' is set
|
|
432
|
+
if ('customer_id' not in params or
|
|
433
|
+
params['customer_id'] is None):
|
|
434
|
+
raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_dashboards_using_get`") # noqa: E501
|
|
435
|
+
# verify the required parameter 'page_size' is set
|
|
436
|
+
if ('page_size' not in params or
|
|
437
|
+
params['page_size'] is None):
|
|
438
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_customer_dashboards_using_get`") # noqa: E501
|
|
439
|
+
# verify the required parameter 'page' is set
|
|
440
|
+
if ('page' not in params or
|
|
441
|
+
params['page'] is None):
|
|
442
|
+
raise ValueError("Missing the required parameter `page` when calling `get_customer_dashboards_using_get`") # noqa: E501
|
|
443
|
+
|
|
444
|
+
collection_formats = {}
|
|
445
|
+
|
|
446
|
+
path_params = {}
|
|
447
|
+
if 'customer_id' in params:
|
|
448
|
+
path_params['customerId'] = params['customer_id'] # noqa: E501
|
|
449
|
+
|
|
450
|
+
query_params = []
|
|
451
|
+
if 'page_size' in params:
|
|
452
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
453
|
+
if 'page' in params:
|
|
454
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
455
|
+
if 'include_customers' in params:
|
|
456
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
457
|
+
if 'text_search' in params:
|
|
458
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
459
|
+
if 'sort_property' in params:
|
|
460
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
461
|
+
if 'sort_order' in params:
|
|
462
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
463
|
+
|
|
464
|
+
header_params = {}
|
|
465
|
+
|
|
466
|
+
form_params = []
|
|
467
|
+
local_var_files = {}
|
|
468
|
+
|
|
469
|
+
body_params = None
|
|
470
|
+
# HTTP header `Accept`
|
|
471
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
472
|
+
['application/json']) # noqa: E501
|
|
473
|
+
|
|
474
|
+
# Authentication setting
|
|
475
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
476
|
+
|
|
477
|
+
return self.api_client.call_api(
|
|
478
|
+
'/api/customer/{customerId}/dashboards{?includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
479
|
+
path_params,
|
|
480
|
+
query_params,
|
|
481
|
+
header_params,
|
|
482
|
+
body=body_params,
|
|
483
|
+
post_params=form_params,
|
|
484
|
+
files=local_var_files,
|
|
485
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
486
|
+
auth_settings=auth_settings,
|
|
487
|
+
async_req=params.get('async_req'),
|
|
488
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
489
|
+
_preload_content=params.get('_preload_content', True),
|
|
490
|
+
_request_timeout=params.get('_request_timeout'),
|
|
491
|
+
collection_formats=collection_formats)
|
|
492
|
+
|
|
493
|
+
def get_customer_home_dashboard_info_using_get(self, **kwargs): # noqa: E501
|
|
494
|
+
"""Get Customer Home Dashboard Info (getCustomerHomeDashboardInfo) # noqa: E501
|
|
495
|
+
|
|
496
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the corresponding customer. Available for users with 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501
|
|
497
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
498
|
+
asynchronous HTTP request, please pass async_req=True
|
|
499
|
+
>>> thread = api.get_customer_home_dashboard_info_using_get(async_req=True)
|
|
500
|
+
>>> result = thread.get()
|
|
501
|
+
|
|
502
|
+
:param async_req bool
|
|
503
|
+
:return: HomeDashboardInfo
|
|
504
|
+
If the method is called asynchronously,
|
|
505
|
+
returns the request thread.
|
|
506
|
+
"""
|
|
507
|
+
kwargs['_return_http_data_only'] = True
|
|
508
|
+
if kwargs.get('async_req'):
|
|
509
|
+
return self.get_customer_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
510
|
+
else:
|
|
511
|
+
(data) = self.get_customer_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
512
|
+
return data
|
|
513
|
+
|
|
514
|
+
def get_customer_home_dashboard_info_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
515
|
+
"""Get Customer Home Dashboard Info (getCustomerHomeDashboardInfo) # noqa: E501
|
|
516
|
+
|
|
517
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the corresponding customer. Available for users with 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501
|
|
518
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
519
|
+
asynchronous HTTP request, please pass async_req=True
|
|
520
|
+
>>> thread = api.get_customer_home_dashboard_info_using_get_with_http_info(async_req=True)
|
|
521
|
+
>>> result = thread.get()
|
|
522
|
+
|
|
523
|
+
:param async_req bool
|
|
524
|
+
:return: HomeDashboardInfo
|
|
525
|
+
If the method is called asynchronously,
|
|
526
|
+
returns the request thread.
|
|
527
|
+
"""
|
|
528
|
+
|
|
529
|
+
all_params = [] # noqa: E501
|
|
530
|
+
all_params.append('async_req')
|
|
531
|
+
all_params.append('_return_http_data_only')
|
|
532
|
+
all_params.append('_preload_content')
|
|
533
|
+
all_params.append('_request_timeout')
|
|
534
|
+
|
|
535
|
+
params = locals()
|
|
536
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
537
|
+
if key not in all_params:
|
|
538
|
+
raise TypeError(
|
|
539
|
+
"Got an unexpected keyword argument '%s'"
|
|
540
|
+
" to method get_customer_home_dashboard_info_using_get" % key
|
|
541
|
+
)
|
|
542
|
+
params[key] = val
|
|
543
|
+
del params['kwargs']
|
|
544
|
+
|
|
545
|
+
collection_formats = {}
|
|
546
|
+
|
|
547
|
+
path_params = {}
|
|
548
|
+
|
|
549
|
+
query_params = []
|
|
550
|
+
|
|
551
|
+
header_params = {}
|
|
552
|
+
|
|
553
|
+
form_params = []
|
|
554
|
+
local_var_files = {}
|
|
555
|
+
|
|
556
|
+
body_params = None
|
|
557
|
+
# HTTP header `Accept`
|
|
558
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
559
|
+
['application/json']) # noqa: E501
|
|
560
|
+
|
|
561
|
+
# Authentication setting
|
|
562
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
563
|
+
|
|
564
|
+
return self.api_client.call_api(
|
|
565
|
+
'/api/customer/dashboard/home/info', 'GET',
|
|
566
|
+
path_params,
|
|
567
|
+
query_params,
|
|
568
|
+
header_params,
|
|
569
|
+
body=body_params,
|
|
570
|
+
post_params=form_params,
|
|
571
|
+
files=local_var_files,
|
|
572
|
+
response_type='HomeDashboardInfo', # noqa: E501
|
|
573
|
+
auth_settings=auth_settings,
|
|
574
|
+
async_req=params.get('async_req'),
|
|
575
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
576
|
+
_preload_content=params.get('_preload_content', True),
|
|
577
|
+
_request_timeout=params.get('_request_timeout'),
|
|
578
|
+
collection_formats=collection_formats)
|
|
579
|
+
|
|
580
|
+
def get_dashboard_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501
|
|
581
|
+
"""Get Dashboard (getDashboardById) # noqa: E501
|
|
582
|
+
|
|
583
|
+
Get the dashboard based on 'dashboardId' parameter. The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
584
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
585
|
+
asynchronous HTTP request, please pass async_req=True
|
|
586
|
+
>>> thread = api.get_dashboard_by_id_using_get(dashboard_id, async_req=True)
|
|
587
|
+
>>> result = thread.get()
|
|
588
|
+
|
|
589
|
+
:param async_req bool
|
|
590
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
591
|
+
:param bool inline_images: Inline images as a data URL (Base64)
|
|
592
|
+
:return: Dashboard
|
|
593
|
+
If the method is called asynchronously,
|
|
594
|
+
returns the request thread.
|
|
595
|
+
"""
|
|
596
|
+
kwargs['_return_http_data_only'] = True
|
|
597
|
+
if kwargs.get('async_req'):
|
|
598
|
+
return self.get_dashboard_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
599
|
+
else:
|
|
600
|
+
(data) = self.get_dashboard_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
601
|
+
return data
|
|
602
|
+
|
|
603
|
+
def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
|
|
604
|
+
"""Get Dashboard (getDashboardById) # noqa: E501
|
|
605
|
+
|
|
606
|
+
Get the dashboard based on 'dashboardId' parameter. The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
607
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
608
|
+
asynchronous HTTP request, please pass async_req=True
|
|
609
|
+
>>> thread = api.get_dashboard_by_id_using_get_with_http_info(dashboard_id, async_req=True)
|
|
610
|
+
>>> result = thread.get()
|
|
611
|
+
|
|
612
|
+
:param async_req bool
|
|
613
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
614
|
+
:param bool inline_images: Inline images as a data URL (Base64)
|
|
615
|
+
:return: Dashboard
|
|
616
|
+
If the method is called asynchronously,
|
|
617
|
+
returns the request thread.
|
|
618
|
+
"""
|
|
619
|
+
|
|
620
|
+
all_params = ['dashboard_id', 'inline_images'] # noqa: E501
|
|
621
|
+
all_params.append('async_req')
|
|
622
|
+
all_params.append('_return_http_data_only')
|
|
623
|
+
all_params.append('_preload_content')
|
|
624
|
+
all_params.append('_request_timeout')
|
|
625
|
+
|
|
626
|
+
params = locals()
|
|
627
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
628
|
+
if key not in all_params:
|
|
629
|
+
raise TypeError(
|
|
630
|
+
"Got an unexpected keyword argument '%s'"
|
|
631
|
+
" to method get_dashboard_by_id_using_get" % key
|
|
632
|
+
)
|
|
633
|
+
params[key] = val
|
|
634
|
+
del params['kwargs']
|
|
635
|
+
# verify the required parameter 'dashboard_id' is set
|
|
636
|
+
if ('dashboard_id' not in params or
|
|
637
|
+
params['dashboard_id'] is None):
|
|
638
|
+
raise ValueError("Missing the required parameter `dashboard_id` when calling `get_dashboard_by_id_using_get`") # noqa: E501
|
|
639
|
+
|
|
640
|
+
collection_formats = {}
|
|
641
|
+
|
|
642
|
+
path_params = {}
|
|
643
|
+
if 'dashboard_id' in params:
|
|
644
|
+
path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
|
|
645
|
+
|
|
646
|
+
query_params = []
|
|
647
|
+
if 'inline_images' in params:
|
|
648
|
+
query_params.append(('inlineImages', params['inline_images'])) # noqa: E501
|
|
649
|
+
|
|
650
|
+
header_params = {}
|
|
651
|
+
|
|
652
|
+
form_params = []
|
|
653
|
+
local_var_files = {}
|
|
654
|
+
|
|
655
|
+
body_params = None
|
|
656
|
+
# HTTP header `Accept`
|
|
657
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
658
|
+
['application/json']) # noqa: E501
|
|
659
|
+
|
|
660
|
+
# Authentication setting
|
|
661
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
662
|
+
|
|
663
|
+
return self.api_client.call_api(
|
|
664
|
+
'/api/dashboard/{dashboardId}{?inlineImages}', 'GET',
|
|
665
|
+
path_params,
|
|
666
|
+
query_params,
|
|
667
|
+
header_params,
|
|
668
|
+
body=body_params,
|
|
669
|
+
post_params=form_params,
|
|
670
|
+
files=local_var_files,
|
|
671
|
+
response_type='Dashboard', # noqa: E501
|
|
672
|
+
auth_settings=auth_settings,
|
|
673
|
+
async_req=params.get('async_req'),
|
|
674
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
675
|
+
_preload_content=params.get('_preload_content', True),
|
|
676
|
+
_request_timeout=params.get('_request_timeout'),
|
|
677
|
+
collection_formats=collection_formats)
|
|
678
|
+
|
|
679
|
+
def get_dashboard_info_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501
|
|
680
|
+
"""Get Dashboard Info (getDashboardInfoById) # noqa: E501
|
|
681
|
+
|
|
682
|
+
Get the information about the dashboard based on 'dashboardId' parameter. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. # noqa: E501
|
|
683
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
684
|
+
asynchronous HTTP request, please pass async_req=True
|
|
685
|
+
>>> thread = api.get_dashboard_info_by_id_using_get(dashboard_id, async_req=True)
|
|
686
|
+
>>> result = thread.get()
|
|
687
|
+
|
|
688
|
+
:param async_req bool
|
|
689
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
690
|
+
:return: DashboardInfo
|
|
691
|
+
If the method is called asynchronously,
|
|
692
|
+
returns the request thread.
|
|
693
|
+
"""
|
|
694
|
+
kwargs['_return_http_data_only'] = True
|
|
695
|
+
if kwargs.get('async_req'):
|
|
696
|
+
return self.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
697
|
+
else:
|
|
698
|
+
(data) = self.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
|
|
699
|
+
return data
|
|
700
|
+
|
|
701
|
+
def get_dashboard_info_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
|
|
702
|
+
"""Get Dashboard Info (getDashboardInfoById) # noqa: E501
|
|
703
|
+
|
|
704
|
+
Get the information about the dashboard based on 'dashboardId' parameter. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. # noqa: E501
|
|
705
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
706
|
+
asynchronous HTTP request, please pass async_req=True
|
|
707
|
+
>>> thread = api.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, async_req=True)
|
|
708
|
+
>>> result = thread.get()
|
|
709
|
+
|
|
710
|
+
:param async_req bool
|
|
711
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
712
|
+
:return: DashboardInfo
|
|
713
|
+
If the method is called asynchronously,
|
|
714
|
+
returns the request thread.
|
|
715
|
+
"""
|
|
716
|
+
|
|
717
|
+
all_params = ['dashboard_id'] # noqa: E501
|
|
718
|
+
all_params.append('async_req')
|
|
719
|
+
all_params.append('_return_http_data_only')
|
|
720
|
+
all_params.append('_preload_content')
|
|
721
|
+
all_params.append('_request_timeout')
|
|
722
|
+
|
|
723
|
+
params = locals()
|
|
724
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
725
|
+
if key not in all_params:
|
|
726
|
+
raise TypeError(
|
|
727
|
+
"Got an unexpected keyword argument '%s'"
|
|
728
|
+
" to method get_dashboard_info_by_id_using_get" % key
|
|
729
|
+
)
|
|
730
|
+
params[key] = val
|
|
731
|
+
del params['kwargs']
|
|
732
|
+
# verify the required parameter 'dashboard_id' is set
|
|
733
|
+
if ('dashboard_id' not in params or
|
|
734
|
+
params['dashboard_id'] is None):
|
|
735
|
+
raise ValueError("Missing the required parameter `dashboard_id` when calling `get_dashboard_info_by_id_using_get`") # noqa: E501
|
|
736
|
+
|
|
737
|
+
collection_formats = {}
|
|
738
|
+
|
|
739
|
+
path_params = {}
|
|
740
|
+
if 'dashboard_id' in params:
|
|
741
|
+
path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
|
|
742
|
+
|
|
743
|
+
query_params = []
|
|
744
|
+
|
|
745
|
+
header_params = {}
|
|
746
|
+
|
|
747
|
+
form_params = []
|
|
748
|
+
local_var_files = {}
|
|
749
|
+
|
|
750
|
+
body_params = None
|
|
751
|
+
# HTTP header `Accept`
|
|
752
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
753
|
+
['application/json']) # noqa: E501
|
|
754
|
+
|
|
755
|
+
# Authentication setting
|
|
756
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
757
|
+
|
|
758
|
+
return self.api_client.call_api(
|
|
759
|
+
'/api/dashboard/info/{dashboardId}', 'GET',
|
|
760
|
+
path_params,
|
|
761
|
+
query_params,
|
|
762
|
+
header_params,
|
|
763
|
+
body=body_params,
|
|
764
|
+
post_params=form_params,
|
|
765
|
+
files=local_var_files,
|
|
766
|
+
response_type='DashboardInfo', # noqa: E501
|
|
767
|
+
auth_settings=auth_settings,
|
|
768
|
+
async_req=params.get('async_req'),
|
|
769
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
770
|
+
_preload_content=params.get('_preload_content', True),
|
|
771
|
+
_request_timeout=params.get('_request_timeout'),
|
|
772
|
+
collection_formats=collection_formats)
|
|
773
|
+
|
|
774
|
+
def get_dashboards_by_entity_group_id_using_get(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
775
|
+
"""Get dashboards by Entity Group Id (getDashboardsByEntityGroupId) # noqa: E501
|
|
776
|
+
|
|
777
|
+
Returns a page of Dashboard 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. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
778
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
779
|
+
asynchronous HTTP request, please pass async_req=True
|
|
780
|
+
>>> thread = api.get_dashboards_by_entity_group_id_using_get(entity_group_id, page_size, page, async_req=True)
|
|
781
|
+
>>> result = thread.get()
|
|
782
|
+
|
|
783
|
+
:param async_req bool
|
|
784
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
785
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
786
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
787
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
788
|
+
:param str sort_property: Property of entity to sort by
|
|
789
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
790
|
+
:return: PageDataDashboardInfo
|
|
791
|
+
If the method is called asynchronously,
|
|
792
|
+
returns the request thread.
|
|
793
|
+
"""
|
|
794
|
+
kwargs['_return_http_data_only'] = True
|
|
795
|
+
if kwargs.get('async_req'):
|
|
796
|
+
return self.get_dashboards_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
797
|
+
else:
|
|
798
|
+
(data) = self.get_dashboards_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
799
|
+
return data
|
|
800
|
+
|
|
801
|
+
def get_dashboards_by_entity_group_id_using_get_with_http_info(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
802
|
+
"""Get dashboards by Entity Group Id (getDashboardsByEntityGroupId) # noqa: E501
|
|
803
|
+
|
|
804
|
+
Returns a page of Dashboard 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. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
805
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
806
|
+
asynchronous HTTP request, please pass async_req=True
|
|
807
|
+
>>> thread = api.get_dashboards_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, async_req=True)
|
|
808
|
+
>>> result = thread.get()
|
|
809
|
+
|
|
810
|
+
:param async_req bool
|
|
811
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
812
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
813
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
814
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
815
|
+
:param str sort_property: Property of entity to sort by
|
|
816
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
817
|
+
:return: PageDataDashboardInfo
|
|
818
|
+
If the method is called asynchronously,
|
|
819
|
+
returns the request thread.
|
|
820
|
+
"""
|
|
821
|
+
|
|
822
|
+
all_params = ['entity_group_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
823
|
+
all_params.append('async_req')
|
|
824
|
+
all_params.append('_return_http_data_only')
|
|
825
|
+
all_params.append('_preload_content')
|
|
826
|
+
all_params.append('_request_timeout')
|
|
827
|
+
|
|
828
|
+
params = locals()
|
|
829
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
830
|
+
if key not in all_params:
|
|
831
|
+
raise TypeError(
|
|
832
|
+
"Got an unexpected keyword argument '%s'"
|
|
833
|
+
" to method get_dashboards_by_entity_group_id_using_get" % key
|
|
834
|
+
)
|
|
835
|
+
params[key] = val
|
|
836
|
+
del params['kwargs']
|
|
837
|
+
# verify the required parameter 'entity_group_id' is set
|
|
838
|
+
if ('entity_group_id' not in params or
|
|
839
|
+
params['entity_group_id'] is None):
|
|
840
|
+
raise ValueError("Missing the required parameter `entity_group_id` when calling `get_dashboards_by_entity_group_id_using_get`") # noqa: E501
|
|
841
|
+
# verify the required parameter 'page_size' is set
|
|
842
|
+
if ('page_size' not in params or
|
|
843
|
+
params['page_size'] is None):
|
|
844
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_dashboards_by_entity_group_id_using_get`") # noqa: E501
|
|
845
|
+
# verify the required parameter 'page' is set
|
|
846
|
+
if ('page' not in params or
|
|
847
|
+
params['page'] is None):
|
|
848
|
+
raise ValueError("Missing the required parameter `page` when calling `get_dashboards_by_entity_group_id_using_get`") # noqa: E501
|
|
849
|
+
|
|
850
|
+
collection_formats = {}
|
|
851
|
+
|
|
852
|
+
path_params = {}
|
|
853
|
+
if 'entity_group_id' in params:
|
|
854
|
+
path_params['entityGroupId'] = params['entity_group_id'] # noqa: E501
|
|
855
|
+
|
|
856
|
+
query_params = []
|
|
857
|
+
if 'page_size' in params:
|
|
858
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
859
|
+
if 'page' in params:
|
|
860
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
861
|
+
if 'text_search' in params:
|
|
862
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
863
|
+
if 'sort_property' in params:
|
|
864
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
865
|
+
if 'sort_order' in params:
|
|
866
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
867
|
+
|
|
868
|
+
header_params = {}
|
|
869
|
+
|
|
870
|
+
form_params = []
|
|
871
|
+
local_var_files = {}
|
|
872
|
+
|
|
873
|
+
body_params = None
|
|
874
|
+
# HTTP header `Accept`
|
|
875
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
876
|
+
['application/json']) # noqa: E501
|
|
877
|
+
|
|
878
|
+
# Authentication setting
|
|
879
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
880
|
+
|
|
881
|
+
return self.api_client.call_api(
|
|
882
|
+
'/api/entityGroup/{entityGroupId}/dashboards{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
883
|
+
path_params,
|
|
884
|
+
query_params,
|
|
885
|
+
header_params,
|
|
886
|
+
body=body_params,
|
|
887
|
+
post_params=form_params,
|
|
888
|
+
files=local_var_files,
|
|
889
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
890
|
+
auth_settings=auth_settings,
|
|
891
|
+
async_req=params.get('async_req'),
|
|
892
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
893
|
+
_preload_content=params.get('_preload_content', True),
|
|
894
|
+
_request_timeout=params.get('_request_timeout'),
|
|
895
|
+
collection_formats=collection_formats)
|
|
896
|
+
|
|
897
|
+
def get_dashboards_by_ids_using_get(self, dashboard_ids, **kwargs): # noqa: E501
|
|
898
|
+
"""Get dashboards by Dashboard Ids (getDashboardsByIds) # noqa: E501
|
|
899
|
+
|
|
900
|
+
Returns a list of DashboardInfo objects based on the provided ids. Filters the list based on the user permissions. 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
|
|
901
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
902
|
+
asynchronous HTTP request, please pass async_req=True
|
|
903
|
+
>>> thread = api.get_dashboards_by_ids_using_get(dashboard_ids, async_req=True)
|
|
904
|
+
>>> result = thread.get()
|
|
905
|
+
|
|
906
|
+
:param async_req bool
|
|
907
|
+
:param str dashboard_ids: A list of dashboard ids, separated by comma ',' (required)
|
|
908
|
+
:return: list[DashboardInfo]
|
|
909
|
+
If the method is called asynchronously,
|
|
910
|
+
returns the request thread.
|
|
911
|
+
"""
|
|
912
|
+
kwargs['_return_http_data_only'] = True
|
|
913
|
+
if kwargs.get('async_req'):
|
|
914
|
+
return self.get_dashboards_by_ids_using_get_with_http_info(dashboard_ids, **kwargs) # noqa: E501
|
|
915
|
+
else:
|
|
916
|
+
(data) = self.get_dashboards_by_ids_using_get_with_http_info(dashboard_ids, **kwargs) # noqa: E501
|
|
917
|
+
return data
|
|
918
|
+
|
|
919
|
+
def get_dashboards_by_ids_using_get_with_http_info(self, dashboard_ids, **kwargs): # noqa: E501
|
|
920
|
+
"""Get dashboards by Dashboard Ids (getDashboardsByIds) # noqa: E501
|
|
921
|
+
|
|
922
|
+
Returns a list of DashboardInfo objects based on the provided ids. Filters the list based on the user permissions. 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
|
|
923
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
924
|
+
asynchronous HTTP request, please pass async_req=True
|
|
925
|
+
>>> thread = api.get_dashboards_by_ids_using_get_with_http_info(dashboard_ids, async_req=True)
|
|
926
|
+
>>> result = thread.get()
|
|
927
|
+
|
|
928
|
+
:param async_req bool
|
|
929
|
+
:param str dashboard_ids: A list of dashboard ids, separated by comma ',' (required)
|
|
930
|
+
:return: list[DashboardInfo]
|
|
931
|
+
If the method is called asynchronously,
|
|
932
|
+
returns the request thread.
|
|
933
|
+
"""
|
|
934
|
+
|
|
935
|
+
all_params = ['dashboard_ids'] # noqa: E501
|
|
936
|
+
all_params.append('async_req')
|
|
937
|
+
all_params.append('_return_http_data_only')
|
|
938
|
+
all_params.append('_preload_content')
|
|
939
|
+
all_params.append('_request_timeout')
|
|
940
|
+
|
|
941
|
+
params = locals()
|
|
942
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
943
|
+
if key not in all_params:
|
|
944
|
+
raise TypeError(
|
|
945
|
+
"Got an unexpected keyword argument '%s'"
|
|
946
|
+
" to method get_dashboards_by_ids_using_get" % key
|
|
947
|
+
)
|
|
948
|
+
params[key] = val
|
|
949
|
+
del params['kwargs']
|
|
950
|
+
# verify the required parameter 'dashboard_ids' is set
|
|
951
|
+
if ('dashboard_ids' not in params or
|
|
952
|
+
params['dashboard_ids'] is None):
|
|
953
|
+
raise ValueError("Missing the required parameter `dashboard_ids` when calling `get_dashboards_by_ids_using_get`") # noqa: E501
|
|
954
|
+
|
|
955
|
+
collection_formats = {}
|
|
956
|
+
|
|
957
|
+
path_params = {}
|
|
958
|
+
|
|
959
|
+
query_params = []
|
|
960
|
+
if 'dashboard_ids' in params:
|
|
961
|
+
query_params.append(('dashboardIds', params['dashboard_ids'])) # noqa: E501
|
|
962
|
+
|
|
963
|
+
header_params = {}
|
|
964
|
+
|
|
965
|
+
form_params = []
|
|
966
|
+
local_var_files = {}
|
|
967
|
+
|
|
968
|
+
body_params = None
|
|
969
|
+
# HTTP header `Accept`
|
|
970
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
971
|
+
['application/json']) # noqa: E501
|
|
972
|
+
|
|
973
|
+
# Authentication setting
|
|
974
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
975
|
+
|
|
976
|
+
return self.api_client.call_api(
|
|
977
|
+
'/api/dashboards{?dashboardIds}', 'GET',
|
|
978
|
+
path_params,
|
|
979
|
+
query_params,
|
|
980
|
+
header_params,
|
|
981
|
+
body=body_params,
|
|
982
|
+
post_params=form_params,
|
|
983
|
+
files=local_var_files,
|
|
984
|
+
response_type='list[DashboardInfo]', # noqa: E501
|
|
985
|
+
auth_settings=auth_settings,
|
|
986
|
+
async_req=params.get('async_req'),
|
|
987
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
988
|
+
_preload_content=params.get('_preload_content', True),
|
|
989
|
+
_request_timeout=params.get('_request_timeout'),
|
|
990
|
+
collection_formats=collection_formats)
|
|
991
|
+
|
|
992
|
+
def get_home_dashboard_info_using_get(self, **kwargs): # noqa: E501
|
|
993
|
+
"""Get Home Dashboard Info (getHomeDashboardInfo) # noqa: E501
|
|
994
|
+
|
|
995
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the User. If 'homeDashboardId' parameter is not set on the User level and the User has authority 'CUSTOMER_USER', check the same parameter for the corresponding Customer. If 'homeDashboardId' parameter is not set on the User and Customer levels then checks the same parameter for the Tenant that owns the user. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
996
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
997
|
+
asynchronous HTTP request, please pass async_req=True
|
|
998
|
+
>>> thread = api.get_home_dashboard_info_using_get(async_req=True)
|
|
999
|
+
>>> result = thread.get()
|
|
1000
|
+
|
|
1001
|
+
:param async_req bool
|
|
1002
|
+
:return: HomeDashboardInfo
|
|
1003
|
+
If the method is called asynchronously,
|
|
1004
|
+
returns the request thread.
|
|
1005
|
+
"""
|
|
1006
|
+
kwargs['_return_http_data_only'] = True
|
|
1007
|
+
if kwargs.get('async_req'):
|
|
1008
|
+
return self.get_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1009
|
+
else:
|
|
1010
|
+
(data) = self.get_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1011
|
+
return data
|
|
1012
|
+
|
|
1013
|
+
def get_home_dashboard_info_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1014
|
+
"""Get Home Dashboard Info (getHomeDashboardInfo) # noqa: E501
|
|
1015
|
+
|
|
1016
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the User. If 'homeDashboardId' parameter is not set on the User level and the User has authority 'CUSTOMER_USER', check the same parameter for the corresponding Customer. If 'homeDashboardId' parameter is not set on the User and Customer levels then checks the same parameter for the Tenant that owns the user. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1017
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1018
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1019
|
+
>>> thread = api.get_home_dashboard_info_using_get_with_http_info(async_req=True)
|
|
1020
|
+
>>> result = thread.get()
|
|
1021
|
+
|
|
1022
|
+
:param async_req bool
|
|
1023
|
+
:return: HomeDashboardInfo
|
|
1024
|
+
If the method is called asynchronously,
|
|
1025
|
+
returns the request thread.
|
|
1026
|
+
"""
|
|
1027
|
+
|
|
1028
|
+
all_params = [] # noqa: E501
|
|
1029
|
+
all_params.append('async_req')
|
|
1030
|
+
all_params.append('_return_http_data_only')
|
|
1031
|
+
all_params.append('_preload_content')
|
|
1032
|
+
all_params.append('_request_timeout')
|
|
1033
|
+
|
|
1034
|
+
params = locals()
|
|
1035
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1036
|
+
if key not in all_params:
|
|
1037
|
+
raise TypeError(
|
|
1038
|
+
"Got an unexpected keyword argument '%s'"
|
|
1039
|
+
" to method get_home_dashboard_info_using_get" % key
|
|
1040
|
+
)
|
|
1041
|
+
params[key] = val
|
|
1042
|
+
del params['kwargs']
|
|
1043
|
+
|
|
1044
|
+
collection_formats = {}
|
|
1045
|
+
|
|
1046
|
+
path_params = {}
|
|
1047
|
+
|
|
1048
|
+
query_params = []
|
|
1049
|
+
|
|
1050
|
+
header_params = {}
|
|
1051
|
+
|
|
1052
|
+
form_params = []
|
|
1053
|
+
local_var_files = {}
|
|
1054
|
+
|
|
1055
|
+
body_params = None
|
|
1056
|
+
# HTTP header `Accept`
|
|
1057
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1058
|
+
['application/json']) # noqa: E501
|
|
1059
|
+
|
|
1060
|
+
# Authentication setting
|
|
1061
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1062
|
+
|
|
1063
|
+
return self.api_client.call_api(
|
|
1064
|
+
'/api/dashboard/home/info', 'GET',
|
|
1065
|
+
path_params,
|
|
1066
|
+
query_params,
|
|
1067
|
+
header_params,
|
|
1068
|
+
body=body_params,
|
|
1069
|
+
post_params=form_params,
|
|
1070
|
+
files=local_var_files,
|
|
1071
|
+
response_type='HomeDashboardInfo', # noqa: E501
|
|
1072
|
+
auth_settings=auth_settings,
|
|
1073
|
+
async_req=params.get('async_req'),
|
|
1074
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1075
|
+
_preload_content=params.get('_preload_content', True),
|
|
1076
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1077
|
+
collection_formats=collection_formats)
|
|
1078
|
+
|
|
1079
|
+
def get_home_dashboard_using_get(self, **kwargs): # noqa: E501
|
|
1080
|
+
"""Get Home Dashboard (getHomeDashboard) # noqa: E501
|
|
1081
|
+
|
|
1082
|
+
Returns the home dashboard object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the User. If 'homeDashboardId' parameter is not set on the User level and the User has authority 'CUSTOMER_USER', check the same parameter for the corresponding Customer. If 'homeDashboardId' parameter is not set on the User and Customer levels then checks the same parameter for the Tenant that owns the user. The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1083
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1084
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1085
|
+
>>> thread = api.get_home_dashboard_using_get(async_req=True)
|
|
1086
|
+
>>> result = thread.get()
|
|
1087
|
+
|
|
1088
|
+
:param async_req bool
|
|
1089
|
+
:return: HomeDashboard
|
|
1090
|
+
If the method is called asynchronously,
|
|
1091
|
+
returns the request thread.
|
|
1092
|
+
"""
|
|
1093
|
+
kwargs['_return_http_data_only'] = True
|
|
1094
|
+
if kwargs.get('async_req'):
|
|
1095
|
+
return self.get_home_dashboard_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1096
|
+
else:
|
|
1097
|
+
(data) = self.get_home_dashboard_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1098
|
+
return data
|
|
1099
|
+
|
|
1100
|
+
def get_home_dashboard_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1101
|
+
"""Get Home Dashboard (getHomeDashboard) # noqa: E501
|
|
1102
|
+
|
|
1103
|
+
Returns the home dashboard object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the User. If 'homeDashboardId' parameter is not set on the User level and the User has authority 'CUSTOMER_USER', check the same parameter for the corresponding Customer. If 'homeDashboardId' parameter is not set on the User and Customer levels then checks the same parameter for the Tenant that owns the user. The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1104
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1105
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1106
|
+
>>> thread = api.get_home_dashboard_using_get_with_http_info(async_req=True)
|
|
1107
|
+
>>> result = thread.get()
|
|
1108
|
+
|
|
1109
|
+
:param async_req bool
|
|
1110
|
+
:return: HomeDashboard
|
|
1111
|
+
If the method is called asynchronously,
|
|
1112
|
+
returns the request thread.
|
|
1113
|
+
"""
|
|
1114
|
+
|
|
1115
|
+
all_params = [] # noqa: E501
|
|
1116
|
+
all_params.append('async_req')
|
|
1117
|
+
all_params.append('_return_http_data_only')
|
|
1118
|
+
all_params.append('_preload_content')
|
|
1119
|
+
all_params.append('_request_timeout')
|
|
1120
|
+
|
|
1121
|
+
params = locals()
|
|
1122
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1123
|
+
if key not in all_params:
|
|
1124
|
+
raise TypeError(
|
|
1125
|
+
"Got an unexpected keyword argument '%s'"
|
|
1126
|
+
" to method get_home_dashboard_using_get" % key
|
|
1127
|
+
)
|
|
1128
|
+
params[key] = val
|
|
1129
|
+
del params['kwargs']
|
|
1130
|
+
|
|
1131
|
+
collection_formats = {}
|
|
1132
|
+
|
|
1133
|
+
path_params = {}
|
|
1134
|
+
|
|
1135
|
+
query_params = []
|
|
1136
|
+
|
|
1137
|
+
header_params = {}
|
|
1138
|
+
|
|
1139
|
+
form_params = []
|
|
1140
|
+
local_var_files = {}
|
|
1141
|
+
|
|
1142
|
+
body_params = None
|
|
1143
|
+
# HTTP header `Accept`
|
|
1144
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1145
|
+
['application/json']) # noqa: E501
|
|
1146
|
+
|
|
1147
|
+
# Authentication setting
|
|
1148
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1149
|
+
|
|
1150
|
+
return self.api_client.call_api(
|
|
1151
|
+
'/api/dashboard/home', 'GET',
|
|
1152
|
+
path_params,
|
|
1153
|
+
query_params,
|
|
1154
|
+
header_params,
|
|
1155
|
+
body=body_params,
|
|
1156
|
+
post_params=form_params,
|
|
1157
|
+
files=local_var_files,
|
|
1158
|
+
response_type='HomeDashboard', # noqa: E501
|
|
1159
|
+
auth_settings=auth_settings,
|
|
1160
|
+
async_req=params.get('async_req'),
|
|
1161
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1162
|
+
_preload_content=params.get('_preload_content', True),
|
|
1163
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1164
|
+
collection_formats=collection_formats)
|
|
1165
|
+
|
|
1166
|
+
def get_max_datapoints_limit_using_get(self, **kwargs): # noqa: E501
|
|
1167
|
+
"""Get max data points limit (getMaxDatapointsLimit) # noqa: E501
|
|
1168
|
+
|
|
1169
|
+
Get the maximum number of data points that dashboard may request from the server per in a single subscription command. This value impacts the time window behavior. It impacts 'Max values' parameter in case user selects 'None' as 'Data aggregation function'. It also impacts the 'Grouping interval' in case of any other 'Data aggregation function' is selected. The actual value of the limit is configurable in the system configuration file. # noqa: E501
|
|
1170
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1171
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1172
|
+
>>> thread = api.get_max_datapoints_limit_using_get(async_req=True)
|
|
1173
|
+
>>> result = thread.get()
|
|
1174
|
+
|
|
1175
|
+
:param async_req bool
|
|
1176
|
+
:return: int
|
|
1177
|
+
If the method is called asynchronously,
|
|
1178
|
+
returns the request thread.
|
|
1179
|
+
"""
|
|
1180
|
+
kwargs['_return_http_data_only'] = True
|
|
1181
|
+
if kwargs.get('async_req'):
|
|
1182
|
+
return self.get_max_datapoints_limit_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1183
|
+
else:
|
|
1184
|
+
(data) = self.get_max_datapoints_limit_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1185
|
+
return data
|
|
1186
|
+
|
|
1187
|
+
def get_max_datapoints_limit_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1188
|
+
"""Get max data points limit (getMaxDatapointsLimit) # noqa: E501
|
|
1189
|
+
|
|
1190
|
+
Get the maximum number of data points that dashboard may request from the server per in a single subscription command. This value impacts the time window behavior. It impacts 'Max values' parameter in case user selects 'None' as 'Data aggregation function'. It also impacts the 'Grouping interval' in case of any other 'Data aggregation function' is selected. The actual value of the limit is configurable in the system configuration file. # noqa: E501
|
|
1191
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1192
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1193
|
+
>>> thread = api.get_max_datapoints_limit_using_get_with_http_info(async_req=True)
|
|
1194
|
+
>>> result = thread.get()
|
|
1195
|
+
|
|
1196
|
+
:param async_req bool
|
|
1197
|
+
:return: int
|
|
1198
|
+
If the method is called asynchronously,
|
|
1199
|
+
returns the request thread.
|
|
1200
|
+
"""
|
|
1201
|
+
|
|
1202
|
+
all_params = [] # noqa: E501
|
|
1203
|
+
all_params.append('async_req')
|
|
1204
|
+
all_params.append('_return_http_data_only')
|
|
1205
|
+
all_params.append('_preload_content')
|
|
1206
|
+
all_params.append('_request_timeout')
|
|
1207
|
+
|
|
1208
|
+
params = locals()
|
|
1209
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1210
|
+
if key not in all_params:
|
|
1211
|
+
raise TypeError(
|
|
1212
|
+
"Got an unexpected keyword argument '%s'"
|
|
1213
|
+
" to method get_max_datapoints_limit_using_get" % key
|
|
1214
|
+
)
|
|
1215
|
+
params[key] = val
|
|
1216
|
+
del params['kwargs']
|
|
1217
|
+
|
|
1218
|
+
collection_formats = {}
|
|
1219
|
+
|
|
1220
|
+
path_params = {}
|
|
1221
|
+
|
|
1222
|
+
query_params = []
|
|
1223
|
+
|
|
1224
|
+
header_params = {}
|
|
1225
|
+
|
|
1226
|
+
form_params = []
|
|
1227
|
+
local_var_files = {}
|
|
1228
|
+
|
|
1229
|
+
body_params = None
|
|
1230
|
+
# HTTP header `Accept`
|
|
1231
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1232
|
+
['application/json']) # noqa: E501
|
|
1233
|
+
|
|
1234
|
+
# Authentication setting
|
|
1235
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1236
|
+
|
|
1237
|
+
return self.api_client.call_api(
|
|
1238
|
+
'/api/dashboard/maxDatapointsLimit', 'GET',
|
|
1239
|
+
path_params,
|
|
1240
|
+
query_params,
|
|
1241
|
+
header_params,
|
|
1242
|
+
body=body_params,
|
|
1243
|
+
post_params=form_params,
|
|
1244
|
+
files=local_var_files,
|
|
1245
|
+
response_type='int', # noqa: E501
|
|
1246
|
+
auth_settings=auth_settings,
|
|
1247
|
+
async_req=params.get('async_req'),
|
|
1248
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1249
|
+
_preload_content=params.get('_preload_content', True),
|
|
1250
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1251
|
+
collection_formats=collection_formats)
|
|
1252
|
+
|
|
1253
|
+
def get_server_time_using_get(self, **kwargs): # noqa: E501
|
|
1254
|
+
"""Get server time (getServerTime) # noqa: E501
|
|
1255
|
+
|
|
1256
|
+
Get the server time (milliseconds since January 1, 1970 UTC). Used to adjust view of the dashboards according to the difference between browser and server time. # noqa: E501
|
|
1257
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1258
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1259
|
+
>>> thread = api.get_server_time_using_get(async_req=True)
|
|
1260
|
+
>>> result = thread.get()
|
|
1261
|
+
|
|
1262
|
+
:param async_req bool
|
|
1263
|
+
:return: int
|
|
1264
|
+
If the method is called asynchronously,
|
|
1265
|
+
returns the request thread.
|
|
1266
|
+
"""
|
|
1267
|
+
kwargs['_return_http_data_only'] = True
|
|
1268
|
+
if kwargs.get('async_req'):
|
|
1269
|
+
return self.get_server_time_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1270
|
+
else:
|
|
1271
|
+
(data) = self.get_server_time_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1272
|
+
return data
|
|
1273
|
+
|
|
1274
|
+
def get_server_time_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1275
|
+
"""Get server time (getServerTime) # noqa: E501
|
|
1276
|
+
|
|
1277
|
+
Get the server time (milliseconds since January 1, 1970 UTC). Used to adjust view of the dashboards according to the difference between browser and server time. # noqa: E501
|
|
1278
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1279
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1280
|
+
>>> thread = api.get_server_time_using_get_with_http_info(async_req=True)
|
|
1281
|
+
>>> result = thread.get()
|
|
1282
|
+
|
|
1283
|
+
:param async_req bool
|
|
1284
|
+
:return: int
|
|
1285
|
+
If the method is called asynchronously,
|
|
1286
|
+
returns the request thread.
|
|
1287
|
+
"""
|
|
1288
|
+
|
|
1289
|
+
all_params = [] # noqa: E501
|
|
1290
|
+
all_params.append('async_req')
|
|
1291
|
+
all_params.append('_return_http_data_only')
|
|
1292
|
+
all_params.append('_preload_content')
|
|
1293
|
+
all_params.append('_request_timeout')
|
|
1294
|
+
|
|
1295
|
+
params = locals()
|
|
1296
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1297
|
+
if key not in all_params:
|
|
1298
|
+
raise TypeError(
|
|
1299
|
+
"Got an unexpected keyword argument '%s'"
|
|
1300
|
+
" to method get_server_time_using_get" % key
|
|
1301
|
+
)
|
|
1302
|
+
params[key] = val
|
|
1303
|
+
del params['kwargs']
|
|
1304
|
+
|
|
1305
|
+
collection_formats = {}
|
|
1306
|
+
|
|
1307
|
+
path_params = {}
|
|
1308
|
+
|
|
1309
|
+
query_params = []
|
|
1310
|
+
|
|
1311
|
+
header_params = {}
|
|
1312
|
+
|
|
1313
|
+
form_params = []
|
|
1314
|
+
local_var_files = {}
|
|
1315
|
+
|
|
1316
|
+
body_params = None
|
|
1317
|
+
# HTTP header `Accept`
|
|
1318
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1319
|
+
['application/json']) # noqa: E501
|
|
1320
|
+
|
|
1321
|
+
# Authentication setting
|
|
1322
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1323
|
+
|
|
1324
|
+
return self.api_client.call_api(
|
|
1325
|
+
'/api/dashboard/serverTime', 'GET',
|
|
1326
|
+
path_params,
|
|
1327
|
+
query_params,
|
|
1328
|
+
header_params,
|
|
1329
|
+
body=body_params,
|
|
1330
|
+
post_params=form_params,
|
|
1331
|
+
files=local_var_files,
|
|
1332
|
+
response_type='int', # noqa: E501
|
|
1333
|
+
auth_settings=auth_settings,
|
|
1334
|
+
async_req=params.get('async_req'),
|
|
1335
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1336
|
+
_preload_content=params.get('_preload_content', True),
|
|
1337
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1338
|
+
collection_formats=collection_formats)
|
|
1339
|
+
|
|
1340
|
+
def get_tenant_dashboards_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1341
|
+
"""Get Tenant Dashboards (getTenantDashboards) # noqa: E501
|
|
1342
|
+
|
|
1343
|
+
Returns a page of dashboard info objects owned by the tenant of a current user. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1344
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1345
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1346
|
+
>>> thread = api.get_tenant_dashboards_using_get(page_size, page, async_req=True)
|
|
1347
|
+
>>> result = thread.get()
|
|
1348
|
+
|
|
1349
|
+
:param async_req bool
|
|
1350
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1351
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1352
|
+
:param bool mobile: Exclude dashboards that are hidden for mobile
|
|
1353
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1354
|
+
:param str sort_property: Property of entity to sort by
|
|
1355
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1356
|
+
:return: PageDataDashboardInfo
|
|
1357
|
+
If the method is called asynchronously,
|
|
1358
|
+
returns the request thread.
|
|
1359
|
+
"""
|
|
1360
|
+
kwargs['_return_http_data_only'] = True
|
|
1361
|
+
if kwargs.get('async_req'):
|
|
1362
|
+
return self.get_tenant_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1363
|
+
else:
|
|
1364
|
+
(data) = self.get_tenant_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1365
|
+
return data
|
|
1366
|
+
|
|
1367
|
+
def get_tenant_dashboards_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1368
|
+
"""Get Tenant Dashboards (getTenantDashboards) # noqa: E501
|
|
1369
|
+
|
|
1370
|
+
Returns a page of dashboard info objects owned by the tenant of a current user. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
1371
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1372
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1373
|
+
>>> thread = api.get_tenant_dashboards_using_get_with_http_info(page_size, page, async_req=True)
|
|
1374
|
+
>>> result = thread.get()
|
|
1375
|
+
|
|
1376
|
+
:param async_req bool
|
|
1377
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1378
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1379
|
+
:param bool mobile: Exclude dashboards that are hidden for mobile
|
|
1380
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1381
|
+
:param str sort_property: Property of entity to sort by
|
|
1382
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1383
|
+
:return: PageDataDashboardInfo
|
|
1384
|
+
If the method is called asynchronously,
|
|
1385
|
+
returns the request thread.
|
|
1386
|
+
"""
|
|
1387
|
+
|
|
1388
|
+
all_params = ['page_size', 'page', 'mobile', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1389
|
+
all_params.append('async_req')
|
|
1390
|
+
all_params.append('_return_http_data_only')
|
|
1391
|
+
all_params.append('_preload_content')
|
|
1392
|
+
all_params.append('_request_timeout')
|
|
1393
|
+
|
|
1394
|
+
params = locals()
|
|
1395
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1396
|
+
if key not in all_params:
|
|
1397
|
+
raise TypeError(
|
|
1398
|
+
"Got an unexpected keyword argument '%s'"
|
|
1399
|
+
" to method get_tenant_dashboards_using_get" % key
|
|
1400
|
+
)
|
|
1401
|
+
params[key] = val
|
|
1402
|
+
del params['kwargs']
|
|
1403
|
+
# verify the required parameter 'page_size' is set
|
|
1404
|
+
if ('page_size' not in params or
|
|
1405
|
+
params['page_size'] is None):
|
|
1406
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_dashboards_using_get`") # noqa: E501
|
|
1407
|
+
# verify the required parameter 'page' is set
|
|
1408
|
+
if ('page' not in params or
|
|
1409
|
+
params['page'] is None):
|
|
1410
|
+
raise ValueError("Missing the required parameter `page` when calling `get_tenant_dashboards_using_get`") # noqa: E501
|
|
1411
|
+
|
|
1412
|
+
collection_formats = {}
|
|
1413
|
+
|
|
1414
|
+
path_params = {}
|
|
1415
|
+
|
|
1416
|
+
query_params = []
|
|
1417
|
+
if 'page_size' in params:
|
|
1418
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1419
|
+
if 'page' in params:
|
|
1420
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1421
|
+
if 'mobile' in params:
|
|
1422
|
+
query_params.append(('mobile', params['mobile'])) # noqa: E501
|
|
1423
|
+
if 'text_search' in params:
|
|
1424
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1425
|
+
if 'sort_property' in params:
|
|
1426
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1427
|
+
if 'sort_order' in params:
|
|
1428
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1429
|
+
|
|
1430
|
+
header_params = {}
|
|
1431
|
+
|
|
1432
|
+
form_params = []
|
|
1433
|
+
local_var_files = {}
|
|
1434
|
+
|
|
1435
|
+
body_params = None
|
|
1436
|
+
# HTTP header `Accept`
|
|
1437
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1438
|
+
['application/json']) # noqa: E501
|
|
1439
|
+
|
|
1440
|
+
# Authentication setting
|
|
1441
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1442
|
+
|
|
1443
|
+
return self.api_client.call_api(
|
|
1444
|
+
'/api/tenant/dashboards{?mobile,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1445
|
+
path_params,
|
|
1446
|
+
query_params,
|
|
1447
|
+
header_params,
|
|
1448
|
+
body=body_params,
|
|
1449
|
+
post_params=form_params,
|
|
1450
|
+
files=local_var_files,
|
|
1451
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
1452
|
+
auth_settings=auth_settings,
|
|
1453
|
+
async_req=params.get('async_req'),
|
|
1454
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1455
|
+
_preload_content=params.get('_preload_content', True),
|
|
1456
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1457
|
+
collection_formats=collection_formats)
|
|
1458
|
+
|
|
1459
|
+
def get_tenant_dashboards_using_get1(self, tenant_id, page_size, page, **kwargs): # noqa: E501
|
|
1460
|
+
"""Get Tenant Dashboards by System Administrator (getTenantDashboards) # noqa: E501
|
|
1461
|
+
|
|
1462
|
+
Returns a page of dashboard info objects owned by tenant. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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 'SYS_ADMIN' authority. # noqa: E501
|
|
1463
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1464
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1465
|
+
>>> thread = api.get_tenant_dashboards_using_get1(tenant_id, page_size, page, async_req=True)
|
|
1466
|
+
>>> result = thread.get()
|
|
1467
|
+
|
|
1468
|
+
:param async_req bool
|
|
1469
|
+
:param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1470
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1471
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1472
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1473
|
+
:param str sort_property: Property of entity to sort by
|
|
1474
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1475
|
+
:return: PageDataDashboardInfo
|
|
1476
|
+
If the method is called asynchronously,
|
|
1477
|
+
returns the request thread.
|
|
1478
|
+
"""
|
|
1479
|
+
kwargs['_return_http_data_only'] = True
|
|
1480
|
+
if kwargs.get('async_req'):
|
|
1481
|
+
return self.get_tenant_dashboards_using_get1_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
|
|
1482
|
+
else:
|
|
1483
|
+
(data) = self.get_tenant_dashboards_using_get1_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
|
|
1484
|
+
return data
|
|
1485
|
+
|
|
1486
|
+
def get_tenant_dashboards_using_get1_with_http_info(self, tenant_id, page_size, page, **kwargs): # noqa: E501
|
|
1487
|
+
"""Get Tenant Dashboards by System Administrator (getTenantDashboards) # noqa: E501
|
|
1488
|
+
|
|
1489
|
+
Returns a page of dashboard info objects owned by tenant. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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 'SYS_ADMIN' authority. # noqa: E501
|
|
1490
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1491
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1492
|
+
>>> thread = api.get_tenant_dashboards_using_get1_with_http_info(tenant_id, page_size, page, async_req=True)
|
|
1493
|
+
>>> result = thread.get()
|
|
1494
|
+
|
|
1495
|
+
:param async_req bool
|
|
1496
|
+
:param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1497
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1498
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1499
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1500
|
+
:param str sort_property: Property of entity to sort by
|
|
1501
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1502
|
+
:return: PageDataDashboardInfo
|
|
1503
|
+
If the method is called asynchronously,
|
|
1504
|
+
returns the request thread.
|
|
1505
|
+
"""
|
|
1506
|
+
|
|
1507
|
+
all_params = ['tenant_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1508
|
+
all_params.append('async_req')
|
|
1509
|
+
all_params.append('_return_http_data_only')
|
|
1510
|
+
all_params.append('_preload_content')
|
|
1511
|
+
all_params.append('_request_timeout')
|
|
1512
|
+
|
|
1513
|
+
params = locals()
|
|
1514
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1515
|
+
if key not in all_params:
|
|
1516
|
+
raise TypeError(
|
|
1517
|
+
"Got an unexpected keyword argument '%s'"
|
|
1518
|
+
" to method get_tenant_dashboards_using_get1" % key
|
|
1519
|
+
)
|
|
1520
|
+
params[key] = val
|
|
1521
|
+
del params['kwargs']
|
|
1522
|
+
# verify the required parameter 'tenant_id' is set
|
|
1523
|
+
if ('tenant_id' not in params or
|
|
1524
|
+
params['tenant_id'] is None):
|
|
1525
|
+
raise ValueError("Missing the required parameter `tenant_id` when calling `get_tenant_dashboards_using_get1`") # noqa: E501
|
|
1526
|
+
# verify the required parameter 'page_size' is set
|
|
1527
|
+
if ('page_size' not in params or
|
|
1528
|
+
params['page_size'] is None):
|
|
1529
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_dashboards_using_get1`") # noqa: E501
|
|
1530
|
+
# verify the required parameter 'page' is set
|
|
1531
|
+
if ('page' not in params or
|
|
1532
|
+
params['page'] is None):
|
|
1533
|
+
raise ValueError("Missing the required parameter `page` when calling `get_tenant_dashboards_using_get1`") # noqa: E501
|
|
1534
|
+
|
|
1535
|
+
collection_formats = {}
|
|
1536
|
+
|
|
1537
|
+
path_params = {}
|
|
1538
|
+
if 'tenant_id' in params:
|
|
1539
|
+
path_params['tenantId'] = params['tenant_id'] # noqa: E501
|
|
1540
|
+
|
|
1541
|
+
query_params = []
|
|
1542
|
+
if 'page_size' in params:
|
|
1543
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1544
|
+
if 'page' in params:
|
|
1545
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1546
|
+
if 'text_search' in params:
|
|
1547
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1548
|
+
if 'sort_property' in params:
|
|
1549
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1550
|
+
if 'sort_order' in params:
|
|
1551
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1552
|
+
|
|
1553
|
+
header_params = {}
|
|
1554
|
+
|
|
1555
|
+
form_params = []
|
|
1556
|
+
local_var_files = {}
|
|
1557
|
+
|
|
1558
|
+
body_params = None
|
|
1559
|
+
# HTTP header `Accept`
|
|
1560
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1561
|
+
['application/json']) # noqa: E501
|
|
1562
|
+
|
|
1563
|
+
# Authentication setting
|
|
1564
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1565
|
+
|
|
1566
|
+
return self.api_client.call_api(
|
|
1567
|
+
'/api/tenant/{tenantId}/dashboards{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1568
|
+
path_params,
|
|
1569
|
+
query_params,
|
|
1570
|
+
header_params,
|
|
1571
|
+
body=body_params,
|
|
1572
|
+
post_params=form_params,
|
|
1573
|
+
files=local_var_files,
|
|
1574
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
1575
|
+
auth_settings=auth_settings,
|
|
1576
|
+
async_req=params.get('async_req'),
|
|
1577
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1578
|
+
_preload_content=params.get('_preload_content', True),
|
|
1579
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1580
|
+
collection_formats=collection_formats)
|
|
1581
|
+
|
|
1582
|
+
def get_tenant_home_dashboard_info_using_get(self, **kwargs): # noqa: E501
|
|
1583
|
+
"""Get Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
|
|
1584
|
+
|
|
1585
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the corresponding tenant. Available for users with 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501
|
|
1586
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1587
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1588
|
+
>>> thread = api.get_tenant_home_dashboard_info_using_get(async_req=True)
|
|
1589
|
+
>>> result = thread.get()
|
|
1590
|
+
|
|
1591
|
+
:param async_req bool
|
|
1592
|
+
:return: HomeDashboardInfo
|
|
1593
|
+
If the method is called asynchronously,
|
|
1594
|
+
returns the request thread.
|
|
1595
|
+
"""
|
|
1596
|
+
kwargs['_return_http_data_only'] = True
|
|
1597
|
+
if kwargs.get('async_req'):
|
|
1598
|
+
return self.get_tenant_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1599
|
+
else:
|
|
1600
|
+
(data) = self.get_tenant_home_dashboard_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1601
|
+
return data
|
|
1602
|
+
|
|
1603
|
+
def get_tenant_home_dashboard_info_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1604
|
+
"""Get Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
|
|
1605
|
+
|
|
1606
|
+
Returns the home dashboard info object that is configured as 'homeDashboardId' parameter in the 'additionalInfo' of the corresponding tenant. Available for users with 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the white labeling resource. # noqa: E501
|
|
1607
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1608
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1609
|
+
>>> thread = api.get_tenant_home_dashboard_info_using_get_with_http_info(async_req=True)
|
|
1610
|
+
>>> result = thread.get()
|
|
1611
|
+
|
|
1612
|
+
:param async_req bool
|
|
1613
|
+
:return: HomeDashboardInfo
|
|
1614
|
+
If the method is called asynchronously,
|
|
1615
|
+
returns the request thread.
|
|
1616
|
+
"""
|
|
1617
|
+
|
|
1618
|
+
all_params = [] # noqa: E501
|
|
1619
|
+
all_params.append('async_req')
|
|
1620
|
+
all_params.append('_return_http_data_only')
|
|
1621
|
+
all_params.append('_preload_content')
|
|
1622
|
+
all_params.append('_request_timeout')
|
|
1623
|
+
|
|
1624
|
+
params = locals()
|
|
1625
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1626
|
+
if key not in all_params:
|
|
1627
|
+
raise TypeError(
|
|
1628
|
+
"Got an unexpected keyword argument '%s'"
|
|
1629
|
+
" to method get_tenant_home_dashboard_info_using_get" % key
|
|
1630
|
+
)
|
|
1631
|
+
params[key] = val
|
|
1632
|
+
del params['kwargs']
|
|
1633
|
+
|
|
1634
|
+
collection_formats = {}
|
|
1635
|
+
|
|
1636
|
+
path_params = {}
|
|
1637
|
+
|
|
1638
|
+
query_params = []
|
|
1639
|
+
|
|
1640
|
+
header_params = {}
|
|
1641
|
+
|
|
1642
|
+
form_params = []
|
|
1643
|
+
local_var_files = {}
|
|
1644
|
+
|
|
1645
|
+
body_params = None
|
|
1646
|
+
# HTTP header `Accept`
|
|
1647
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1648
|
+
['application/json']) # noqa: E501
|
|
1649
|
+
|
|
1650
|
+
# Authentication setting
|
|
1651
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1652
|
+
|
|
1653
|
+
return self.api_client.call_api(
|
|
1654
|
+
'/api/tenant/dashboard/home/info', 'GET',
|
|
1655
|
+
path_params,
|
|
1656
|
+
query_params,
|
|
1657
|
+
header_params,
|
|
1658
|
+
body=body_params,
|
|
1659
|
+
post_params=form_params,
|
|
1660
|
+
files=local_var_files,
|
|
1661
|
+
response_type='HomeDashboardInfo', # noqa: E501
|
|
1662
|
+
auth_settings=auth_settings,
|
|
1663
|
+
async_req=params.get('async_req'),
|
|
1664
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1665
|
+
_preload_content=params.get('_preload_content', True),
|
|
1666
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1667
|
+
collection_formats=collection_formats)
|
|
1668
|
+
|
|
1669
|
+
def get_user_dashboards_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1670
|
+
"""Get Dashboards (getUserDashboards) # noqa: E501
|
|
1671
|
+
|
|
1672
|
+
Returns a page of Dashboard Info objects available for specified or 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. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
1673
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1674
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1675
|
+
>>> thread = api.get_user_dashboards_using_get(page_size, page, async_req=True)
|
|
1676
|
+
>>> result = thread.get()
|
|
1677
|
+
|
|
1678
|
+
:param async_req bool
|
|
1679
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1680
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1681
|
+
:param bool mobile: Exclude dashboards that are hidden for mobile
|
|
1682
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1683
|
+
:param str sort_property: Property of entity to sort by
|
|
1684
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1685
|
+
:param str operation: Filter by allowed operations for the current user
|
|
1686
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
1687
|
+
:return: PageDataDashboardInfo
|
|
1688
|
+
If the method is called asynchronously,
|
|
1689
|
+
returns the request thread.
|
|
1690
|
+
"""
|
|
1691
|
+
kwargs['_return_http_data_only'] = True
|
|
1692
|
+
if kwargs.get('async_req'):
|
|
1693
|
+
return self.get_user_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1694
|
+
else:
|
|
1695
|
+
(data) = self.get_user_dashboards_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1696
|
+
return data
|
|
1697
|
+
|
|
1698
|
+
def get_user_dashboards_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1699
|
+
"""Get Dashboards (getUserDashboards) # noqa: E501
|
|
1700
|
+
|
|
1701
|
+
Returns a page of Dashboard Info objects available for specified or 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. The Dashboard Info object contains lightweight information about the dashboard (e.g. title, image, assigned customers) but does not contain the heavyweight configuration JSON. 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
|
|
1702
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1703
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1704
|
+
>>> thread = api.get_user_dashboards_using_get_with_http_info(page_size, page, async_req=True)
|
|
1705
|
+
>>> result = thread.get()
|
|
1706
|
+
|
|
1707
|
+
:param async_req bool
|
|
1708
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1709
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1710
|
+
:param bool mobile: Exclude dashboards that are hidden for mobile
|
|
1711
|
+
:param str text_search: The case insensitive 'substring' filter based on the dashboard title.
|
|
1712
|
+
:param str sort_property: Property of entity to sort by
|
|
1713
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1714
|
+
:param str operation: Filter by allowed operations for the current user
|
|
1715
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9'
|
|
1716
|
+
:return: PageDataDashboardInfo
|
|
1717
|
+
If the method is called asynchronously,
|
|
1718
|
+
returns the request thread.
|
|
1719
|
+
"""
|
|
1720
|
+
|
|
1721
|
+
all_params = ['page_size', 'page', 'mobile', 'text_search', 'sort_property', 'sort_order', 'operation', 'user_id'] # noqa: E501
|
|
1722
|
+
all_params.append('async_req')
|
|
1723
|
+
all_params.append('_return_http_data_only')
|
|
1724
|
+
all_params.append('_preload_content')
|
|
1725
|
+
all_params.append('_request_timeout')
|
|
1726
|
+
|
|
1727
|
+
params = locals()
|
|
1728
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1729
|
+
if key not in all_params:
|
|
1730
|
+
raise TypeError(
|
|
1731
|
+
"Got an unexpected keyword argument '%s'"
|
|
1732
|
+
" to method get_user_dashboards_using_get" % key
|
|
1733
|
+
)
|
|
1734
|
+
params[key] = val
|
|
1735
|
+
del params['kwargs']
|
|
1736
|
+
# verify the required parameter 'page_size' is set
|
|
1737
|
+
if ('page_size' not in params or
|
|
1738
|
+
params['page_size'] is None):
|
|
1739
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_user_dashboards_using_get`") # noqa: E501
|
|
1740
|
+
# verify the required parameter 'page' is set
|
|
1741
|
+
if ('page' not in params or
|
|
1742
|
+
params['page'] is None):
|
|
1743
|
+
raise ValueError("Missing the required parameter `page` when calling `get_user_dashboards_using_get`") # noqa: E501
|
|
1744
|
+
|
|
1745
|
+
collection_formats = {}
|
|
1746
|
+
|
|
1747
|
+
path_params = {}
|
|
1748
|
+
|
|
1749
|
+
query_params = []
|
|
1750
|
+
if 'page_size' in params:
|
|
1751
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1752
|
+
if 'page' in params:
|
|
1753
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1754
|
+
if 'mobile' in params:
|
|
1755
|
+
query_params.append(('mobile', params['mobile'])) # noqa: E501
|
|
1756
|
+
if 'text_search' in params:
|
|
1757
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1758
|
+
if 'sort_property' in params:
|
|
1759
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1760
|
+
if 'sort_order' in params:
|
|
1761
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1762
|
+
if 'operation' in params:
|
|
1763
|
+
query_params.append(('operation', params['operation'])) # noqa: E501
|
|
1764
|
+
if 'user_id' in params:
|
|
1765
|
+
query_params.append(('userId', params['user_id'])) # noqa: E501
|
|
1766
|
+
|
|
1767
|
+
header_params = {}
|
|
1768
|
+
|
|
1769
|
+
form_params = []
|
|
1770
|
+
local_var_files = {}
|
|
1771
|
+
|
|
1772
|
+
body_params = None
|
|
1773
|
+
# HTTP header `Accept`
|
|
1774
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1775
|
+
['application/json']) # noqa: E501
|
|
1776
|
+
|
|
1777
|
+
# Authentication setting
|
|
1778
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1779
|
+
|
|
1780
|
+
return self.api_client.call_api(
|
|
1781
|
+
'/api/user/dashboards{?mobile,operation,page,pageSize,sortOrder,sortProperty,textSearch,userId}', 'GET',
|
|
1782
|
+
path_params,
|
|
1783
|
+
query_params,
|
|
1784
|
+
header_params,
|
|
1785
|
+
body=body_params,
|
|
1786
|
+
post_params=form_params,
|
|
1787
|
+
files=local_var_files,
|
|
1788
|
+
response_type='PageDataDashboardInfo', # noqa: E501
|
|
1789
|
+
auth_settings=auth_settings,
|
|
1790
|
+
async_req=params.get('async_req'),
|
|
1791
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1792
|
+
_preload_content=params.get('_preload_content', True),
|
|
1793
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1794
|
+
collection_formats=collection_formats)
|
|
1795
|
+
|
|
1796
|
+
def import_group_dashboards_using_post(self, entity_group_id, **kwargs): # noqa: E501
|
|
1797
|
+
"""Import Dashboards (importGroupDashboards) # noqa: E501
|
|
1798
|
+
|
|
1799
|
+
Import the dashboards to specified group.The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for specified group. # noqa: E501
|
|
1800
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1801
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1802
|
+
>>> thread = api.import_group_dashboards_using_post(entity_group_id, async_req=True)
|
|
1803
|
+
>>> result = thread.get()
|
|
1804
|
+
|
|
1805
|
+
:param async_req bool
|
|
1806
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1807
|
+
:param list[Dashboard] body:
|
|
1808
|
+
:param bool overwrite: Overwrite dashboards with the same name
|
|
1809
|
+
:return: None
|
|
1810
|
+
If the method is called asynchronously,
|
|
1811
|
+
returns the request thread.
|
|
1812
|
+
"""
|
|
1813
|
+
kwargs['_return_http_data_only'] = True
|
|
1814
|
+
if kwargs.get('async_req'):
|
|
1815
|
+
return self.import_group_dashboards_using_post_with_http_info(entity_group_id, **kwargs) # noqa: E501
|
|
1816
|
+
else:
|
|
1817
|
+
(data) = self.import_group_dashboards_using_post_with_http_info(entity_group_id, **kwargs) # noqa: E501
|
|
1818
|
+
return data
|
|
1819
|
+
|
|
1820
|
+
def import_group_dashboards_using_post_with_http_info(self, entity_group_id, **kwargs): # noqa: E501
|
|
1821
|
+
"""Import Dashboards (importGroupDashboards) # noqa: E501
|
|
1822
|
+
|
|
1823
|
+
Import the dashboards to specified group.The Dashboard object is a heavyweight object that contains information about the dashboard (e.g. title, image, assigned customers) and also configuration JSON (e.g. layouts, widgets, entity aliases). Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for specified group. # noqa: E501
|
|
1824
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1825
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1826
|
+
>>> thread = api.import_group_dashboards_using_post_with_http_info(entity_group_id, async_req=True)
|
|
1827
|
+
>>> result = thread.get()
|
|
1828
|
+
|
|
1829
|
+
:param async_req bool
|
|
1830
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1831
|
+
:param list[Dashboard] body:
|
|
1832
|
+
:param bool overwrite: Overwrite dashboards with the same name
|
|
1833
|
+
:return: None
|
|
1834
|
+
If the method is called asynchronously,
|
|
1835
|
+
returns the request thread.
|
|
1836
|
+
"""
|
|
1837
|
+
|
|
1838
|
+
all_params = ['entity_group_id', 'body', 'overwrite'] # noqa: E501
|
|
1839
|
+
all_params.append('async_req')
|
|
1840
|
+
all_params.append('_return_http_data_only')
|
|
1841
|
+
all_params.append('_preload_content')
|
|
1842
|
+
all_params.append('_request_timeout')
|
|
1843
|
+
|
|
1844
|
+
params = locals()
|
|
1845
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1846
|
+
if key not in all_params:
|
|
1847
|
+
raise TypeError(
|
|
1848
|
+
"Got an unexpected keyword argument '%s'"
|
|
1849
|
+
" to method import_group_dashboards_using_post" % key
|
|
1850
|
+
)
|
|
1851
|
+
params[key] = val
|
|
1852
|
+
del params['kwargs']
|
|
1853
|
+
# verify the required parameter 'entity_group_id' is set
|
|
1854
|
+
if ('entity_group_id' not in params or
|
|
1855
|
+
params['entity_group_id'] is None):
|
|
1856
|
+
raise ValueError("Missing the required parameter `entity_group_id` when calling `import_group_dashboards_using_post`") # noqa: E501
|
|
1857
|
+
|
|
1858
|
+
collection_formats = {}
|
|
1859
|
+
|
|
1860
|
+
path_params = {}
|
|
1861
|
+
if 'entity_group_id' in params:
|
|
1862
|
+
path_params['entityGroupId'] = params['entity_group_id'] # noqa: E501
|
|
1863
|
+
|
|
1864
|
+
query_params = []
|
|
1865
|
+
if 'overwrite' in params:
|
|
1866
|
+
query_params.append(('overwrite', params['overwrite'])) # noqa: E501
|
|
1867
|
+
|
|
1868
|
+
header_params = {}
|
|
1869
|
+
|
|
1870
|
+
form_params = []
|
|
1871
|
+
local_var_files = {}
|
|
1872
|
+
|
|
1873
|
+
body_params = None
|
|
1874
|
+
if 'body' in params:
|
|
1875
|
+
body_params = params['body']
|
|
1876
|
+
# HTTP header `Accept`
|
|
1877
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1878
|
+
['application/json']) # noqa: E501
|
|
1879
|
+
|
|
1880
|
+
# HTTP header `Content-Type`
|
|
1881
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1882
|
+
['application/json']) # noqa: E501
|
|
1883
|
+
|
|
1884
|
+
# Authentication setting
|
|
1885
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1886
|
+
|
|
1887
|
+
return self.api_client.call_api(
|
|
1888
|
+
'/api/entityGroup/{entityGroupId}/dashboards/import{?overwrite}', 'POST',
|
|
1889
|
+
path_params,
|
|
1890
|
+
query_params,
|
|
1891
|
+
header_params,
|
|
1892
|
+
body=body_params,
|
|
1893
|
+
post_params=form_params,
|
|
1894
|
+
files=local_var_files,
|
|
1895
|
+
response_type=None, # noqa: E501
|
|
1896
|
+
auth_settings=auth_settings,
|
|
1897
|
+
async_req=params.get('async_req'),
|
|
1898
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1899
|
+
_preload_content=params.get('_preload_content', True),
|
|
1900
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1901
|
+
collection_formats=collection_formats)
|
|
1902
|
+
|
|
1903
|
+
def save_dashboard_using_post(self, **kwargs): # noqa: E501
|
|
1904
|
+
"""Create Or Update Dashboard (saveDashboard) # noqa: E501
|
|
1905
|
+
|
|
1906
|
+
Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Dashboard id will be present in the response. Specify existing Dashboard id to update the dashboard. Referencing non-existing dashboard Id will cause 'Not Found' error. Only users with 'TENANT_ADMIN') authority may create the dashboards.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Dashboard entity. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1907
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1908
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1909
|
+
>>> thread = api.save_dashboard_using_post(async_req=True)
|
|
1910
|
+
>>> result = thread.get()
|
|
1911
|
+
|
|
1912
|
+
:param async_req bool
|
|
1913
|
+
:param Dashboard body:
|
|
1914
|
+
:param str entity_group_id: entityGroupId
|
|
1915
|
+
:param str entity_group_ids: entityGroupIds
|
|
1916
|
+
:return: Dashboard
|
|
1917
|
+
If the method is called asynchronously,
|
|
1918
|
+
returns the request thread.
|
|
1919
|
+
"""
|
|
1920
|
+
kwargs['_return_http_data_only'] = True
|
|
1921
|
+
if kwargs.get('async_req'):
|
|
1922
|
+
return self.save_dashboard_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1923
|
+
else:
|
|
1924
|
+
(data) = self.save_dashboard_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1925
|
+
return data
|
|
1926
|
+
|
|
1927
|
+
def save_dashboard_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1928
|
+
"""Create Or Update Dashboard (saveDashboard) # noqa: E501
|
|
1929
|
+
|
|
1930
|
+
Create or update the Dashboard. When creating dashboard, platform generates Dashboard Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Dashboard id will be present in the response. Specify existing Dashboard id to update the dashboard. Referencing non-existing dashboard Id will cause 'Not Found' error. Only users with 'TENANT_ADMIN') authority may create the dashboards.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Dashboard entity. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1931
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1932
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1933
|
+
>>> thread = api.save_dashboard_using_post_with_http_info(async_req=True)
|
|
1934
|
+
>>> result = thread.get()
|
|
1935
|
+
|
|
1936
|
+
:param async_req bool
|
|
1937
|
+
:param Dashboard body:
|
|
1938
|
+
:param str entity_group_id: entityGroupId
|
|
1939
|
+
:param str entity_group_ids: entityGroupIds
|
|
1940
|
+
:return: Dashboard
|
|
1941
|
+
If the method is called asynchronously,
|
|
1942
|
+
returns the request thread.
|
|
1943
|
+
"""
|
|
1944
|
+
|
|
1945
|
+
all_params = ['body', 'entity_group_id', 'entity_group_ids'] # noqa: E501
|
|
1946
|
+
all_params.append('async_req')
|
|
1947
|
+
all_params.append('_return_http_data_only')
|
|
1948
|
+
all_params.append('_preload_content')
|
|
1949
|
+
all_params.append('_request_timeout')
|
|
1950
|
+
|
|
1951
|
+
params = locals()
|
|
1952
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1953
|
+
if key not in all_params:
|
|
1954
|
+
raise TypeError(
|
|
1955
|
+
"Got an unexpected keyword argument '%s'"
|
|
1956
|
+
" to method save_dashboard_using_post" % key
|
|
1957
|
+
)
|
|
1958
|
+
params[key] = val
|
|
1959
|
+
del params['kwargs']
|
|
1960
|
+
|
|
1961
|
+
collection_formats = {}
|
|
1962
|
+
|
|
1963
|
+
path_params = {}
|
|
1964
|
+
|
|
1965
|
+
query_params = []
|
|
1966
|
+
if 'entity_group_id' in params:
|
|
1967
|
+
query_params.append(('entityGroupId', params['entity_group_id'])) # noqa: E501
|
|
1968
|
+
if 'entity_group_ids' in params:
|
|
1969
|
+
query_params.append(('entityGroupIds', params['entity_group_ids'])) # noqa: E501
|
|
1970
|
+
|
|
1971
|
+
header_params = {}
|
|
1972
|
+
|
|
1973
|
+
form_params = []
|
|
1974
|
+
local_var_files = {}
|
|
1975
|
+
|
|
1976
|
+
body_params = None
|
|
1977
|
+
if 'body' in params:
|
|
1978
|
+
body_params = params['body']
|
|
1979
|
+
# HTTP header `Accept`
|
|
1980
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1981
|
+
['application/json']) # noqa: E501
|
|
1982
|
+
|
|
1983
|
+
# HTTP header `Content-Type`
|
|
1984
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1985
|
+
['application/json']) # noqa: E501
|
|
1986
|
+
|
|
1987
|
+
# Authentication setting
|
|
1988
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1989
|
+
|
|
1990
|
+
return self.api_client.call_api(
|
|
1991
|
+
'/api/dashboard{?entityGroupId,entityGroupIds}', 'POST',
|
|
1992
|
+
path_params,
|
|
1993
|
+
query_params,
|
|
1994
|
+
header_params,
|
|
1995
|
+
body=body_params,
|
|
1996
|
+
post_params=form_params,
|
|
1997
|
+
files=local_var_files,
|
|
1998
|
+
response_type='Dashboard', # noqa: E501
|
|
1999
|
+
auth_settings=auth_settings,
|
|
2000
|
+
async_req=params.get('async_req'),
|
|
2001
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2002
|
+
_preload_content=params.get('_preload_content', True),
|
|
2003
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2004
|
+
collection_formats=collection_formats)
|
|
2005
|
+
|
|
2006
|
+
def set_customer_home_dashboard_info_using_post(self, **kwargs): # noqa: E501
|
|
2007
|
+
"""Update Customer Home Dashboard Info (setCustomerHomeDashboardInfo) # noqa: E501
|
|
2008
|
+
|
|
2009
|
+
Update the home dashboard assignment for the current customer. Available for users with 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501
|
|
2010
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2011
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2012
|
+
>>> thread = api.set_customer_home_dashboard_info_using_post(async_req=True)
|
|
2013
|
+
>>> result = thread.get()
|
|
2014
|
+
|
|
2015
|
+
:param async_req bool
|
|
2016
|
+
:param HomeDashboardInfo body:
|
|
2017
|
+
:return: None
|
|
2018
|
+
If the method is called asynchronously,
|
|
2019
|
+
returns the request thread.
|
|
2020
|
+
"""
|
|
2021
|
+
kwargs['_return_http_data_only'] = True
|
|
2022
|
+
if kwargs.get('async_req'):
|
|
2023
|
+
return self.set_customer_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2024
|
+
else:
|
|
2025
|
+
(data) = self.set_customer_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2026
|
+
return data
|
|
2027
|
+
|
|
2028
|
+
def set_customer_home_dashboard_info_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
2029
|
+
"""Update Customer Home Dashboard Info (setCustomerHomeDashboardInfo) # noqa: E501
|
|
2030
|
+
|
|
2031
|
+
Update the home dashboard assignment for the current customer. Available for users with 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501
|
|
2032
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2033
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2034
|
+
>>> thread = api.set_customer_home_dashboard_info_using_post_with_http_info(async_req=True)
|
|
2035
|
+
>>> result = thread.get()
|
|
2036
|
+
|
|
2037
|
+
:param async_req bool
|
|
2038
|
+
:param HomeDashboardInfo body:
|
|
2039
|
+
:return: None
|
|
2040
|
+
If the method is called asynchronously,
|
|
2041
|
+
returns the request thread.
|
|
2042
|
+
"""
|
|
2043
|
+
|
|
2044
|
+
all_params = ['body'] # noqa: E501
|
|
2045
|
+
all_params.append('async_req')
|
|
2046
|
+
all_params.append('_return_http_data_only')
|
|
2047
|
+
all_params.append('_preload_content')
|
|
2048
|
+
all_params.append('_request_timeout')
|
|
2049
|
+
|
|
2050
|
+
params = locals()
|
|
2051
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2052
|
+
if key not in all_params:
|
|
2053
|
+
raise TypeError(
|
|
2054
|
+
"Got an unexpected keyword argument '%s'"
|
|
2055
|
+
" to method set_customer_home_dashboard_info_using_post" % key
|
|
2056
|
+
)
|
|
2057
|
+
params[key] = val
|
|
2058
|
+
del params['kwargs']
|
|
2059
|
+
|
|
2060
|
+
collection_formats = {}
|
|
2061
|
+
|
|
2062
|
+
path_params = {}
|
|
2063
|
+
|
|
2064
|
+
query_params = []
|
|
2065
|
+
|
|
2066
|
+
header_params = {}
|
|
2067
|
+
|
|
2068
|
+
form_params = []
|
|
2069
|
+
local_var_files = {}
|
|
2070
|
+
|
|
2071
|
+
body_params = None
|
|
2072
|
+
if 'body' in params:
|
|
2073
|
+
body_params = params['body']
|
|
2074
|
+
# HTTP header `Accept`
|
|
2075
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2076
|
+
['application/json']) # noqa: E501
|
|
2077
|
+
|
|
2078
|
+
# HTTP header `Content-Type`
|
|
2079
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2080
|
+
['application/json']) # noqa: E501
|
|
2081
|
+
|
|
2082
|
+
# Authentication setting
|
|
2083
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2084
|
+
|
|
2085
|
+
return self.api_client.call_api(
|
|
2086
|
+
'/api/customer/dashboard/home/info', 'POST',
|
|
2087
|
+
path_params,
|
|
2088
|
+
query_params,
|
|
2089
|
+
header_params,
|
|
2090
|
+
body=body_params,
|
|
2091
|
+
post_params=form_params,
|
|
2092
|
+
files=local_var_files,
|
|
2093
|
+
response_type=None, # noqa: E501
|
|
2094
|
+
auth_settings=auth_settings,
|
|
2095
|
+
async_req=params.get('async_req'),
|
|
2096
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2097
|
+
_preload_content=params.get('_preload_content', True),
|
|
2098
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2099
|
+
collection_formats=collection_formats)
|
|
2100
|
+
|
|
2101
|
+
def set_tenant_home_dashboard_info_using_post(self, **kwargs): # noqa: E501
|
|
2102
|
+
"""Update Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
|
|
2103
|
+
|
|
2104
|
+
Update the home dashboard assignment for the current tenant. Available for users with 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501
|
|
2105
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2106
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2107
|
+
>>> thread = api.set_tenant_home_dashboard_info_using_post(async_req=True)
|
|
2108
|
+
>>> result = thread.get()
|
|
2109
|
+
|
|
2110
|
+
:param async_req bool
|
|
2111
|
+
:param HomeDashboardInfo body:
|
|
2112
|
+
:return: None
|
|
2113
|
+
If the method is called asynchronously,
|
|
2114
|
+
returns the request thread.
|
|
2115
|
+
"""
|
|
2116
|
+
kwargs['_return_http_data_only'] = True
|
|
2117
|
+
if kwargs.get('async_req'):
|
|
2118
|
+
return self.set_tenant_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2119
|
+
else:
|
|
2120
|
+
(data) = self.set_tenant_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2121
|
+
return data
|
|
2122
|
+
|
|
2123
|
+
def set_tenant_home_dashboard_info_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
2124
|
+
"""Update Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
|
|
2125
|
+
|
|
2126
|
+
Update the home dashboard assignment for the current tenant. Available for users with 'TENANT_ADMIN' authority. Security check is performed to verify that the user has 'WRITE' permission for the white labeling resource. # noqa: E501
|
|
2127
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2128
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2129
|
+
>>> thread = api.set_tenant_home_dashboard_info_using_post_with_http_info(async_req=True)
|
|
2130
|
+
>>> result = thread.get()
|
|
2131
|
+
|
|
2132
|
+
:param async_req bool
|
|
2133
|
+
:param HomeDashboardInfo body:
|
|
2134
|
+
:return: None
|
|
2135
|
+
If the method is called asynchronously,
|
|
2136
|
+
returns the request thread.
|
|
2137
|
+
"""
|
|
2138
|
+
|
|
2139
|
+
all_params = ['body'] # noqa: E501
|
|
2140
|
+
all_params.append('async_req')
|
|
2141
|
+
all_params.append('_return_http_data_only')
|
|
2142
|
+
all_params.append('_preload_content')
|
|
2143
|
+
all_params.append('_request_timeout')
|
|
2144
|
+
|
|
2145
|
+
params = locals()
|
|
2146
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2147
|
+
if key not in all_params:
|
|
2148
|
+
raise TypeError(
|
|
2149
|
+
"Got an unexpected keyword argument '%s'"
|
|
2150
|
+
" to method set_tenant_home_dashboard_info_using_post" % key
|
|
2151
|
+
)
|
|
2152
|
+
params[key] = val
|
|
2153
|
+
del params['kwargs']
|
|
2154
|
+
|
|
2155
|
+
collection_formats = {}
|
|
2156
|
+
|
|
2157
|
+
path_params = {}
|
|
2158
|
+
|
|
2159
|
+
query_params = []
|
|
2160
|
+
|
|
2161
|
+
header_params = {}
|
|
2162
|
+
|
|
2163
|
+
form_params = []
|
|
2164
|
+
local_var_files = {}
|
|
2165
|
+
|
|
2166
|
+
body_params = None
|
|
2167
|
+
if 'body' in params:
|
|
2168
|
+
body_params = params['body']
|
|
2169
|
+
# HTTP header `Accept`
|
|
2170
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2171
|
+
['application/json']) # noqa: E501
|
|
2172
|
+
|
|
2173
|
+
# HTTP header `Content-Type`
|
|
2174
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2175
|
+
['application/json']) # noqa: E501
|
|
2176
|
+
|
|
2177
|
+
# Authentication setting
|
|
2178
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2179
|
+
|
|
2180
|
+
return self.api_client.call_api(
|
|
2181
|
+
'/api/tenant/dashboard/home/info', 'POST',
|
|
2182
|
+
path_params,
|
|
2183
|
+
query_params,
|
|
2184
|
+
header_params,
|
|
2185
|
+
body=body_params,
|
|
2186
|
+
post_params=form_params,
|
|
2187
|
+
files=local_var_files,
|
|
2188
|
+
response_type=None, # noqa: E501
|
|
2189
|
+
auth_settings=auth_settings,
|
|
2190
|
+
async_req=params.get('async_req'),
|
|
2191
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2192
|
+
_preload_content=params.get('_preload_content', True),
|
|
2193
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2194
|
+
collection_formats=collection_formats)
|