tb-rest-client 3.9.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1111) hide show
  1. tb_rest_client/__init__.py +16 -0
  2. tb_rest_client/api/__init__.py +14 -0
  3. tb_rest_client/api/api_ce/__init__.py +66 -0
  4. tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
  5. tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
  6. tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
  7. tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
  8. tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
  9. tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
  10. tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
  11. tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
  12. tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
  13. tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
  14. tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
  15. tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
  16. tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
  17. tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
  18. tb_rest_client/api/api_ce/domain_controller_api.py +563 -0
  19. tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
  20. tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
  21. tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
  22. tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
  23. tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
  24. tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
  25. tb_rest_client/api/api_ce/event_controller_api.py +623 -0
  26. tb_rest_client/api/api_ce/image_controller_api.py +1295 -0
  27. tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
  28. tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
  29. tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
  30. tb_rest_client/api/api_ce/mobile_app_bundle_controller_api.py +562 -0
  31. tb_rest_client/api/api_ce/mobile_app_controller_api.py +563 -0
  32. tb_rest_client/api/api_ce/mobile_application_controller_api.py +508 -0
  33. tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
  34. tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
  35. tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
  36. tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
  37. tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
  38. tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
  39. tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
  40. tb_rest_client/api/api_ce/qr_code_settings_controller_api.py +508 -0
  41. tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
  42. tb_rest_client/api/api_ce/queue_stats_controller_api.py +352 -0
  43. tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
  44. tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
  45. tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
  46. tb_rest_client/api/api_ce/rule_engine_controller_api.py +515 -0
  47. tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
  48. tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
  49. tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
  50. tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
  51. tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
  52. tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
  53. tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
  54. tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
  55. tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
  56. tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
  57. tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
  58. tb_rest_client/api/api_pe/__init__.py +67 -0
  59. tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
  60. tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
  61. tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
  62. tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
  63. tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
  64. tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
  65. tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
  66. tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
  67. tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
  68. tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
  69. tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
  70. tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
  71. tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
  72. tb_rest_client/api/api_pe/converter_library_controller_api.py +915 -0
  73. tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
  74. tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
  75. tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
  76. tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
  77. tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
  78. tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
  79. tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
  80. tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
  81. tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
  82. tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
  83. tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
  84. tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
  85. tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
  86. tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
  87. tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
  88. tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
  89. tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
  90. tb_rest_client/api/api_pe/event_controller_api.py +623 -0
  91. tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
  92. tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
  93. tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
  94. tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
  95. tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
  96. tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
  97. tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
  98. tb_rest_client/api/api_pe/mobile_app_bundle_controller_api.py +562 -0
  99. tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
  100. tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
  101. tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
  102. tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
  103. tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
  104. tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
  105. tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
  106. tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
  107. tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
  108. tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
  109. tb_rest_client/api/api_pe/qr_code_settings_controller_api.py +595 -0
  110. tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
  111. tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
  112. tb_rest_client/api/api_pe/report_controller_api.py +245 -0
  113. tb_rest_client/api/api_pe/role_controller_api.py +546 -0
  114. tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
  115. tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
  116. tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
  117. tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
  118. tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
  119. tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
  120. tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
  121. tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
  122. tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
  123. tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
  124. tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
  125. tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
  126. tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
  127. tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
  128. tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
  129. tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
  130. tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
  131. tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
  132. tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
  133. tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
  134. tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
  135. tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
  136. tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
  137. tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
  138. tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
  139. tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
  140. tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
  141. tb_rest_client/api_client.py +705 -0
  142. tb_rest_client/configuration.py +234 -0
  143. tb_rest_client/models/__init__.py +14 -0
  144. tb_rest_client/models/models_ce/__init__.py +493 -0
  145. tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
  146. tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
  147. tb_rest_client/models/models_ce/activate_user_request.py +154 -0
  148. tb_rest_client/models/models_ce/admin_settings.py +232 -0
  149. tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
  150. tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
  151. tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
  152. tb_rest_client/models/models_ce/alarm.py +707 -0
  153. tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
  154. tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
  155. tb_rest_client/models/models_ce/alarm_comment.py +292 -0
  156. tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
  157. tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
  158. tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
  159. tb_rest_client/models/models_ce/alarm_condition.py +154 -0
  160. tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
  161. tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
  162. tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
  163. tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
  164. tb_rest_client/models/models_ce/alarm_data.py +855 -0
  165. tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
  166. tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
  167. tb_rest_client/models/models_ce/alarm_id.py +162 -0
  168. tb_rest_client/models/models_ce/alarm_info.py +803 -0
  169. tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
  170. tb_rest_client/models/models_ce/alarm_rule.py +206 -0
  171. tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
  172. tb_rest_client/models/models_ce/all_users_filter.py +104 -0
  173. tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
  174. tb_rest_client/models/models_ce/android_config.py +202 -0
  175. tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
  176. tb_rest_client/models/models_ce/api_image_body.py +177 -0
  177. tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
  178. tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
  179. tb_rest_client/models/models_ce/asset.py +367 -0
  180. tb_rest_client/models/models_ce/asset_id.py +162 -0
  181. tb_rest_client/models/models_ce/asset_info.py +451 -0
  182. tb_rest_client/models/models_ce/asset_profile.py +422 -0
  183. tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
  184. tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
  185. tb_rest_client/models/models_ce/asset_search_query.py +180 -0
  186. tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
  187. tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
  188. tb_rest_client/models/models_ce/atomic_integer.py +228 -0
  189. tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
  190. tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
  191. tb_rest_client/models/models_ce/audit_log.py +434 -0
  192. tb_rest_client/models/models_ce/audit_log_id.py +127 -0
  193. tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
  194. tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
  195. tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
  196. tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
  197. tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
  198. tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
  199. tb_rest_client/models/models_ce/branch_info.py +150 -0
  200. tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
  201. tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
  202. tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
  203. tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
  204. tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
  205. tb_rest_client/models/models_ce/button.py +286 -0
  206. tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
  207. tb_rest_client/models/models_ce/byte_buffer.py +306 -0
  208. tb_rest_client/models/models_ce/change_password_request.py +154 -0
  209. tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
  210. tb_rest_client/models/models_ce/claim_request.py +124 -0
  211. tb_rest_client/models/models_ce/clear_rule.py +131 -0
  212. tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
  213. tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
  214. tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
  215. tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
  216. tb_rest_client/models/models_ce/column_mapping.py +156 -0
  217. tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
  218. tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
  219. tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
  220. tb_rest_client/models/models_ce/component_descriptor.py +420 -0
  221. tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
  222. tb_rest_client/models/models_ce/config_submit_body.py +98 -0
  223. tb_rest_client/models/models_ce/custom_mobile_page.py +98 -0
  224. tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
  225. tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
  226. tb_rest_client/models/models_ce/customer.py +510 -0
  227. tb_rest_client/models/models_ce/customer_id.py +162 -0
  228. tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
  229. tb_rest_client/models/models_ce/dashboard.py +399 -0
  230. tb_rest_client/models/models_ce/dashboard_id.py +162 -0
  231. tb_rest_client/models/models_ce/dashboard_info.py +373 -0
  232. tb_rest_client/models/models_ce/dashboard_page.py +98 -0
  233. tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
  234. tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
  235. tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
  236. tb_rest_client/models/models_ce/debug_settings.py +182 -0
  237. tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
  238. tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
  239. tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
  240. tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
  241. tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
  242. tb_rest_client/models/models_ce/default_mobile_page.py +98 -0
  243. tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
  244. tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
  245. tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
  246. tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
  247. tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
  248. tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
  249. tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
  250. tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
  251. tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
  252. tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
  253. tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
  254. tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
  255. tb_rest_client/models/models_ce/device.py +446 -0
  256. tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
  257. tb_rest_client/models/models_ce/device_configuration.py +133 -0
  258. tb_rest_client/models/models_ce/device_credentials.py +293 -0
  259. tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
  260. tb_rest_client/models/models_ce/device_data.py +154 -0
  261. tb_rest_client/models/models_ce/device_export_data.py +156 -0
  262. tb_rest_client/models/models_ce/device_id.py +162 -0
  263. tb_rest_client/models/models_ce/device_info.py +558 -0
  264. tb_rest_client/models/models_ce/device_profile.py +630 -0
  265. tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
  266. tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
  267. tb_rest_client/models/models_ce/device_profile_data.py +210 -0
  268. tb_rest_client/models/models_ce/device_profile_id.py +162 -0
  269. tb_rest_client/models/models_ce/device_profile_info.py +300 -0
  270. tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
  271. tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
  272. tb_rest_client/models/models_ce/device_search_query.py +180 -0
  273. tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
  274. tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
  275. tb_rest_client/models/models_ce/device_type_filter.py +182 -0
  276. tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
  277. tb_rest_client/models/models_ce/domain.py +247 -0
  278. tb_rest_client/models/models_ce/domain_id.py +146 -0
  279. tb_rest_client/models/models_ce/domain_info.py +275 -0
  280. tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
  281. tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
  282. tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
  283. tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
  284. tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
  285. tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
  286. tb_rest_client/models/models_ce/edge.py +426 -0
  287. tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
  288. tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
  289. tb_rest_client/models/models_ce/edge_event.py +370 -0
  290. tb_rest_client/models/models_ce/edge_event_id.py +127 -0
  291. tb_rest_client/models/models_ce/edge_id.py +162 -0
  292. tb_rest_client/models/models_ce/edge_info.py +478 -0
  293. tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
  294. tb_rest_client/models/models_ce/edge_instructions.py +126 -0
  295. tb_rest_client/models/models_ce/edge_search_query.py +180 -0
  296. tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
  297. tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
  298. tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
  299. tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
  300. tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
  301. tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
  302. tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
  303. tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
  304. tb_rest_client/models/models_ce/entity_count_query.py +150 -0
  305. tb_rest_client/models/models_ce/entity_data.py +202 -0
  306. tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
  307. tb_rest_client/models/models_ce/entity_data_info.py +176 -0
  308. tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
  309. tb_rest_client/models/models_ce/entity_data_query.py +228 -0
  310. tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
  311. tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
  312. tb_rest_client/models/models_ce/entity_filter.py +134 -0
  313. tb_rest_client/models/models_ce/entity_id.py +160 -0
  314. tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
  315. tb_rest_client/models/models_ce/entity_info.py +152 -0
  316. tb_rest_client/models/models_ce/entity_key.py +156 -0
  317. tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
  318. tb_rest_client/models/models_ce/entity_load_error.py +202 -0
  319. tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
  320. tb_rest_client/models/models_ce/entity_relation.py +264 -0
  321. tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
  322. tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
  323. tb_rest_client/models/models_ce/entity_subtype.py +182 -0
  324. tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
  325. tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
  326. tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
  327. tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
  328. tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
  329. tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
  330. tb_rest_client/models/models_ce/entity_version.py +202 -0
  331. tb_rest_client/models/models_ce/entity_view.py +423 -0
  332. tb_rest_client/models/models_ce/entity_view_id.py +162 -0
  333. tb_rest_client/models/models_ce/entity_view_info.py +479 -0
  334. tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
  335. tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
  336. tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
  337. tb_rest_client/models/models_ce/error_event_filter.py +188 -0
  338. tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
  339. tb_rest_client/models/models_ce/event.py +286 -0
  340. tb_rest_client/models/models_ce/event_filter.py +171 -0
  341. tb_rest_client/models/models_ce/event_id.py +127 -0
  342. tb_rest_client/models/models_ce/event_info.py +286 -0
  343. tb_rest_client/models/models_ce/features_info.py +228 -0
  344. tb_rest_client/models/models_ce/file.py +488 -0
  345. tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
  346. tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
  347. tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
  348. tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
  349. tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
  350. tb_rest_client/models/models_ce/has_id_object.py +124 -0
  351. tb_rest_client/models/models_ce/home_dashboard.py +427 -0
  352. tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
  353. tb_rest_client/models/models_ce/image_export_data.py +332 -0
  354. tb_rest_client/models/models_ce/inline_response200.py +99 -0
  355. tb_rest_client/models/models_ce/input_stream.py +98 -0
  356. tb_rest_client/models/models_ce/ios_config.py +176 -0
  357. tb_rest_client/models/models_ce/json_node.py +98 -0
  358. tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
  359. tb_rest_client/models/models_ce/jwt_pair.py +186 -0
  360. tb_rest_client/models/models_ce/jwt_settings.py +210 -0
  361. tb_rest_client/models/models_ce/key_filter.py +182 -0
  362. tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
  363. tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
  364. tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
  365. tb_rest_client/models/models_ce/login_mobile_info.py +176 -0
  366. tb_rest_client/models/models_ce/login_request.py +156 -0
  367. tb_rest_client/models/models_ce/login_response.py +156 -0
  368. tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
  369. tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
  370. tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
  371. tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
  372. tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
  373. tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
  374. tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
  375. tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
  376. tb_rest_client/models/models_ce/mapping.py +202 -0
  377. tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
  378. tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
  379. tb_rest_client/models/models_ce/mobile_app.py +290 -0
  380. tb_rest_client/models/models_ce/mobile_app_bundle.py +375 -0
  381. tb_rest_client/models/models_ce/mobile_app_bundle_id.py +154 -0
  382. tb_rest_client/models/models_ce/mobile_app_bundle_info.py +487 -0
  383. tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
  384. tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
  385. tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
  386. tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
  387. tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
  388. tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
  389. tb_rest_client/models/models_ce/mobile_app_version_info.py +210 -0
  390. tb_rest_client/models/models_ce/mobile_layout_config.py +126 -0
  391. tb_rest_client/models/models_ce/mobile_page.py +158 -0
  392. tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
  393. tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
  394. tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
  395. tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
  396. tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
  397. tb_rest_client/models/models_ce/node_connection_info.py +185 -0
  398. tb_rest_client/models/models_ce/notification.py +402 -0
  399. tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
  400. tb_rest_client/models/models_ce/notification_id.py +162 -0
  401. tb_rest_client/models/models_ce/notification_info.py +185 -0
  402. tb_rest_client/models/models_ce/notification_pref.py +151 -0
  403. tb_rest_client/models/models_ce/notification_request.py +417 -0
  404. tb_rest_client/models/models_ce/notification_request_config.py +124 -0
  405. tb_rest_client/models/models_ce/notification_request_id.py +162 -0
  406. tb_rest_client/models/models_ce/notification_request_info.py +476 -0
  407. tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
  408. tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
  409. tb_rest_client/models/models_ce/notification_rule.py +369 -0
  410. tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
  411. tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
  412. tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
  413. tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
  414. tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
  415. tb_rest_client/models/models_ce/notification_settings.py +125 -0
  416. tb_rest_client/models/models_ce/notification_target.py +230 -0
  417. tb_rest_client/models/models_ce/notification_target_config.py +148 -0
  418. tb_rest_client/models/models_ce/notification_target_id.py +162 -0
  419. tb_rest_client/models/models_ce/notification_template.py +263 -0
  420. tb_rest_client/models/models_ce/notification_template_config.py +125 -0
  421. tb_rest_client/models/models_ce/notification_template_id.py +162 -0
  422. tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
  423. tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
  424. tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
  425. tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
  426. tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
  427. tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
  428. tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
  429. tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
  430. tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
  431. tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
  432. tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
  433. tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
  434. tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
  435. tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
  436. tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
  437. tb_rest_client/models/models_ce/object_attributes.py +410 -0
  438. tb_rest_client/models/models_ce/object_node.py +98 -0
  439. tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
  440. tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
  441. tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
  442. tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
  443. tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
  444. tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
  445. tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
  446. tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
  447. tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
  448. tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
  449. tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
  450. tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
  451. tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
  452. tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
  453. tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
  454. tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
  455. tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
  456. tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
  457. tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
  458. tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
  459. tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
  460. tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
  461. tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
  462. tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
  463. tb_rest_client/models/models_ce/ota_package.py +576 -0
  464. tb_rest_client/models/models_ce/ota_package_data.py +306 -0
  465. tb_rest_client/models/models_ce/ota_package_id.py +162 -0
  466. tb_rest_client/models/models_ce/ota_package_info.py +550 -0
  467. tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
  468. tb_rest_client/models/models_ce/other_configuration.py +364 -0
  469. tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
  470. tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
  471. tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
  472. tb_rest_client/models/models_ce/page_data_asset.py +210 -0
  473. tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
  474. tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
  475. tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
  476. tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
  477. tb_rest_client/models/models_ce/page_data_customer.py +210 -0
  478. tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
  479. tb_rest_client/models/models_ce/page_data_device.py +210 -0
  480. tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
  481. tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
  482. tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
  483. tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
  484. tb_rest_client/models/models_ce/page_data_edge.py +210 -0
  485. tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
  486. tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
  487. tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
  488. tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
  489. tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
  490. tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
  491. tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
  492. tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
  493. tb_rest_client/models/models_ce/page_data_event.py +210 -0
  494. tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
  495. tb_rest_client/models/models_ce/page_data_mobile_app.py +210 -0
  496. tb_rest_client/models/models_ce/page_data_mobile_app_bundle_info.py +196 -0
  497. tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
  498. tb_rest_client/models/models_ce/page_data_notification.py +210 -0
  499. tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
  500. tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
  501. tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
  502. tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
  503. tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
  504. tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
  505. tb_rest_client/models/models_ce/page_data_queue.py +210 -0
  506. tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
  507. tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
  508. tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
  509. tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
  510. tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
  511. tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
  512. tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
  513. tb_rest_client/models/models_ce/page_data_user.py +210 -0
  514. tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
  515. tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
  516. tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
  517. tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
  518. tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
  519. tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
  520. tb_rest_client/models/models_ce/processing_strategy.py +234 -0
  521. tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
  522. tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
  523. tb_rest_client/models/models_ce/qr_code_config.py +234 -0
  524. tb_rest_client/models/models_ce/qr_code_settings.py +399 -0
  525. tb_rest_client/models/models_ce/qr_code_settings_id.py +127 -0
  526. tb_rest_client/models/models_ce/queue.py +410 -0
  527. tb_rest_client/models/models_ce/queue_id.py +162 -0
  528. tb_rest_client/models/models_ce/queue_stats.py +228 -0
  529. tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
  530. tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
  531. tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
  532. tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
  533. tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
  534. tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
  535. tb_rest_client/models/models_ce/repository_settings.py +390 -0
  536. tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
  537. tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
  538. tb_rest_client/models/models_ce/reset_password_request.py +154 -0
  539. tb_rest_client/models/models_ce/resource.py +306 -0
  540. tb_rest_client/models/models_ce/resource_export_data.py +384 -0
  541. tb_rest_client/models/models_ce/response_entity.py +182 -0
  542. tb_rest_client/models/models_ce/rpc.py +344 -0
  543. tb_rest_client/models/models_ce/rpc_id.py +162 -0
  544. tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
  545. tb_rest_client/models/models_ce/rule_chain.py +402 -0
  546. tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
  547. tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
  548. tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
  549. tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
  550. tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
  551. tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
  552. tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
  553. tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
  554. tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
  555. tb_rest_client/models/models_ce/rule_node.py +424 -0
  556. tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
  557. tb_rest_client/models/models_ce/rule_node_id.py +162 -0
  558. tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
  559. tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
  560. tb_rest_client/models/models_ce/security_settings.py +266 -0
  561. tb_rest_client/models/models_ce/server_security_config.py +332 -0
  562. tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
  563. tb_rest_client/models/models_ce/short_customer_info.py +204 -0
  564. tb_rest_client/models/models_ce/sign_up_request.py +294 -0
  565. tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
  566. tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
  567. tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
  568. tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
  569. tb_rest_client/models/models_ce/slack_conversation.py +263 -0
  570. tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
  571. tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
  572. tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
  573. tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
  574. tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
  575. tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
  576. tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
  577. tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
  578. tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
  579. tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
  580. tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
  581. tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
  582. tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
  583. tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
  584. tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
  585. tb_rest_client/models/models_ce/store_info.py +176 -0
  586. tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
  587. tb_rest_client/models/models_ce/submit_strategy.py +156 -0
  588. tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
  589. tb_rest_client/models/models_ce/system_info.py +152 -0
  590. tb_rest_client/models/models_ce/system_info_data.py +322 -0
  591. tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
  592. tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
  593. tb_rest_client/models/models_ce/tb_resource.py +568 -0
  594. tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
  595. tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
  596. tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
  597. tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
  598. tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
  599. tb_rest_client/models/models_ce/tenant.py +539 -0
  600. tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
  601. tb_rest_client/models/models_ce/tenant_id.py +162 -0
  602. tb_rest_client/models/models_ce/tenant_info.py +567 -0
  603. tb_rest_client/models/models_ce/tenant_profile.py +288 -0
  604. tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
  605. tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
  606. tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
  607. tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
  608. tb_rest_client/models/models_ce/test_sms_request.py +182 -0
  609. tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
  610. tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
  611. tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
  612. tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
  613. tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
  614. tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
  615. tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
  616. tb_rest_client/models/models_ce/ts_value.py +176 -0
  617. tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
  618. tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
  619. tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
  620. tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
  621. tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
  622. tb_rest_client/models/models_ce/type_key_body.py +125 -0
  623. tb_rest_client/models/models_ce/update_message.py +266 -0
  624. tb_rest_client/models/models_ce/usage_info.py +696 -0
  625. tb_rest_client/models/models_ce/user.py +432 -0
  626. tb_rest_client/models/models_ce/user_activation_link.py +150 -0
  627. tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
  628. tb_rest_client/models/models_ce/user_email_info.py +208 -0
  629. tb_rest_client/models/models_ce/user_id.py +162 -0
  630. tb_rest_client/models/models_ce/user_list_filter.py +131 -0
  631. tb_rest_client/models/models_ce/user_mobile_info.py +228 -0
  632. tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
  633. tb_rest_client/models/models_ce/user_password_policy.py +378 -0
  634. tb_rest_client/models/models_ce/users_filter.py +140 -0
  635. tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
  636. tb_rest_client/models/models_ce/vc_version_body.py +98 -0
  637. tb_rest_client/models/models_ce/version.py +98 -0
  638. tb_rest_client/models/models_ce/version_create_config.py +176 -0
  639. tb_rest_client/models/models_ce/version_create_request.py +191 -0
  640. tb_rest_client/models/models_ce/version_creation_result.py +254 -0
  641. tb_rest_client/models/models_ce/version_load_config.py +176 -0
  642. tb_rest_client/models/models_ce/version_load_request.py +165 -0
  643. tb_rest_client/models/models_ce/version_load_result.py +176 -0
  644. tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
  645. tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
  646. tb_rest_client/models/models_ce/web_view_page.py +98 -0
  647. tb_rest_client/models/models_ce/widget_type.py +342 -0
  648. tb_rest_client/models/models_ce/widget_type_details.py +426 -0
  649. tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
  650. tb_rest_client/models/models_ce/widget_type_id.py +162 -0
  651. tb_rest_client/models/models_ce/widget_type_info.py +428 -0
  652. tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
  653. tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
  654. tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
  655. tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
  656. tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
  657. tb_rest_client/models/models_pe/__init__.py +413 -0
  658. tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
  659. tb_rest_client/models/models_pe/activate_user_request.py +154 -0
  660. tb_rest_client/models/models_pe/admin_settings.py +232 -0
  661. tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
  662. tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
  663. tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
  664. tb_rest_client/models/models_pe/alarm.py +749 -0
  665. tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
  666. tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
  667. tb_rest_client/models/models_pe/alarm_comment.py +292 -0
  668. tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
  669. tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
  670. tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
  671. tb_rest_client/models/models_pe/alarm_condition.py +154 -0
  672. tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
  673. tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
  674. tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
  675. tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
  676. tb_rest_client/models/models_pe/alarm_data.py +883 -0
  677. tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
  678. tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
  679. tb_rest_client/models/models_pe/alarm_id.py +162 -0
  680. tb_rest_client/models/models_pe/alarm_info.py +831 -0
  681. tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
  682. tb_rest_client/models/models_pe/alarm_rule.py +206 -0
  683. tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
  684. tb_rest_client/models/models_pe/all_users_filter.py +104 -0
  685. tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
  686. tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
  687. tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
  688. tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
  689. tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
  690. tb_rest_client/models/models_pe/array_node.py +98 -0
  691. tb_rest_client/models/models_pe/asset.py +393 -0
  692. tb_rest_client/models/models_pe/asset_id.py +162 -0
  693. tb_rest_client/models/models_pe/asset_info.py +449 -0
  694. tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
  695. tb_rest_client/models/models_pe/asset_search_query.py +180 -0
  696. tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
  697. tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
  698. tb_rest_client/models/models_pe/atomic_integer.py +228 -0
  699. tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
  700. tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
  701. tb_rest_client/models/models_pe/audit_log.py +434 -0
  702. tb_rest_client/models/models_pe/audit_log_id.py +127 -0
  703. tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
  704. tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
  705. tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
  706. tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
  707. tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
  708. tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
  709. tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
  710. tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
  711. tb_rest_client/models/models_pe/branch_info.py +150 -0
  712. tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
  713. tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
  714. tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
  715. tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
  716. tb_rest_client/models/models_pe/byte_buffer.py +306 -0
  717. tb_rest_client/models/models_pe/captcha_params.py +132 -0
  718. tb_rest_client/models/models_pe/change_password_request.py +154 -0
  719. tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
  720. tb_rest_client/models/models_pe/claim_request.py +124 -0
  721. tb_rest_client/models/models_pe/clear_rule.py +131 -0
  722. tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
  723. tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
  724. tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
  725. tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
  726. tb_rest_client/models/models_pe/column_mapping.py +156 -0
  727. tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
  728. tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
  729. tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
  730. tb_rest_client/models/models_pe/component_descriptor.py +420 -0
  731. tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
  732. tb_rest_client/models/models_pe/contact_based_object.py +410 -0
  733. tb_rest_client/models/models_pe/converter.py +376 -0
  734. tb_rest_client/models/models_pe/converter_id.py +162 -0
  735. tb_rest_client/models/models_pe/converters_info.py +136 -0
  736. tb_rest_client/models/models_pe/custom_menu.py +327 -0
  737. tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
  738. tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
  739. tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
  740. tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
  741. tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
  742. tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
  743. tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
  744. tb_rest_client/models/models_pe/custom_translation.py +127 -0
  745. tb_rest_client/models/models_pe/customer_id.py +162 -0
  746. tb_rest_client/models/models_pe/customer_info.py +672 -0
  747. tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
  748. tb_rest_client/models/models_pe/dashboard_id.py +162 -0
  749. tb_rest_client/models/models_pe/dashboard_info.py +506 -0
  750. tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
  751. tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
  752. tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
  753. tb_rest_client/models/models_pe/default_dashboard_params.py +154 -0
  754. tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
  755. tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
  756. tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
  757. tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
  758. tb_rest_client/models/models_pe/default_menu_item.py +230 -0
  759. tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
  760. tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
  761. tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
  762. tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
  763. tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
  764. tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
  765. tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
  766. tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
  767. tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
  768. tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
  769. tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
  770. tb_rest_client/models/models_pe/device.py +471 -0
  771. tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
  772. tb_rest_client/models/models_pe/device_configuration.py +133 -0
  773. tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
  774. tb_rest_client/models/models_pe/device_data.py +154 -0
  775. tb_rest_client/models/models_pe/device_export_data.py +156 -0
  776. tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
  777. tb_rest_client/models/models_pe/device_id.py +162 -0
  778. tb_rest_client/models/models_pe/device_info.py +555 -0
  779. tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
  780. tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
  781. tb_rest_client/models/models_pe/device_profile_data.py +210 -0
  782. tb_rest_client/models/models_pe/device_profile_id.py +162 -0
  783. tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
  784. tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
  785. tb_rest_client/models/models_pe/device_search_query.py +180 -0
  786. tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
  787. tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
  788. tb_rest_client/models/models_pe/device_type_filter.py +182 -0
  789. tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
  790. tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
  791. tb_rest_client/models/models_pe/edge.py +510 -0
  792. tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
  793. tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
  794. tb_rest_client/models/models_pe/edge_event.py +396 -0
  795. tb_rest_client/models/models_pe/edge_event_id.py +127 -0
  796. tb_rest_client/models/models_pe/edge_id.py +162 -0
  797. tb_rest_client/models/models_pe/edge_info.py +566 -0
  798. tb_rest_client/models/models_pe/edge_instructions.py +126 -0
  799. tb_rest_client/models/models_pe/edge_search_query.py +180 -0
  800. tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
  801. tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
  802. tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
  803. tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
  804. tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
  805. tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
  806. tb_rest_client/models/models_pe/enterprise_captcha_params.py +98 -0
  807. tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
  808. tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
  809. tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
  810. tb_rest_client/models/models_pe/entity_count_query.py +150 -0
  811. tb_rest_client/models/models_pe/entity_data.py +254 -0
  812. tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
  813. tb_rest_client/models/models_pe/entity_data_info.py +228 -0
  814. tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
  815. tb_rest_client/models/models_pe/entity_data_query.py +228 -0
  816. tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
  817. tb_rest_client/models/models_pe/entity_export_data_object.py +210 -0
  818. tb_rest_client/models/models_pe/entity_filter.py +152 -0
  819. tb_rest_client/models/models_pe/entity_group.py +400 -0
  820. tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
  821. tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
  822. tb_rest_client/models/models_pe/entity_group_id.py +162 -0
  823. tb_rest_client/models/models_pe/entity_group_info.py +429 -0
  824. tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
  825. tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
  826. tb_rest_client/models/models_pe/entity_id.py +160 -0
  827. tb_rest_client/models/models_pe/entity_key.py +156 -0
  828. tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
  829. tb_rest_client/models/models_pe/entity_load_error.py +202 -0
  830. tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
  831. tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
  832. tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
  833. tb_rest_client/models/models_pe/entity_subtype.py +182 -0
  834. tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
  835. tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
  836. tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
  837. tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
  838. tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
  839. tb_rest_client/models/models_pe/entity_version.py +202 -0
  840. tb_rest_client/models/models_pe/entity_view.py +449 -0
  841. tb_rest_client/models/models_pe/entity_view_id.py +162 -0
  842. tb_rest_client/models/models_pe/entity_view_info.py +505 -0
  843. tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
  844. tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
  845. tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
  846. tb_rest_client/models/models_pe/error_event_filter.py +188 -0
  847. tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
  848. tb_rest_client/models/models_pe/event_filter.py +174 -0
  849. tb_rest_client/models/models_pe/event_id.py +127 -0
  850. tb_rest_client/models/models_pe/event_info.py +286 -0
  851. tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
  852. tb_rest_client/models/models_pe/favicon.py +124 -0
  853. tb_rest_client/models/models_pe/features_info.py +254 -0
  854. tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
  855. tb_rest_client/models/models_pe/group_permission.py +370 -0
  856. tb_rest_client/models/models_pe/group_permission_id.py +162 -0
  857. tb_rest_client/models/models_pe/group_permission_info.py +560 -0
  858. tb_rest_client/models/models_pe/home_dashboard.py +478 -0
  859. tb_rest_client/models/models_pe/home_menu_item.py +320 -0
  860. tb_rest_client/models/models_pe/input_stream.py +98 -0
  861. tb_rest_client/models/models_pe/integration.py +571 -0
  862. tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
  863. tb_rest_client/models/models_pe/integration_id.py +162 -0
  864. tb_rest_client/models/models_pe/integration_info.py +460 -0
  865. tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
  866. tb_rest_client/models/models_pe/json_node.py +98 -0
  867. tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
  868. tb_rest_client/models/models_pe/key_filter.py +182 -0
  869. tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
  870. tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
  871. tb_rest_client/models/models_pe/license_usage_info.py +332 -0
  872. tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
  873. tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
  874. tb_rest_client/models/models_pe/login_request.py +156 -0
  875. tb_rest_client/models/models_pe/login_response.py +156 -0
  876. tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
  877. tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
  878. tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
  879. tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
  880. tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
  881. tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
  882. tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
  883. tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
  884. tb_rest_client/models/models_pe/mapping.py +202 -0
  885. tb_rest_client/models/models_pe/menu_item.py +152 -0
  886. tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
  887. tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
  888. tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
  889. tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
  890. tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
  891. tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
  892. tb_rest_client/models/models_pe/mobile_redirect_params.py +154 -0
  893. tb_rest_client/models/models_pe/mobile_self_registration_params.py +98 -0
  894. tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
  895. tb_rest_client/models/models_pe/model.py +162 -0
  896. tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
  897. tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
  898. tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
  899. tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
  900. tb_rest_client/models/models_pe/node_connection_info.py +185 -0
  901. tb_rest_client/models/models_pe/notification.py +402 -0
  902. tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
  903. tb_rest_client/models/models_pe/notification_id.py +162 -0
  904. tb_rest_client/models/models_pe/notification_info.py +185 -0
  905. tb_rest_client/models/models_pe/notification_request.py +417 -0
  906. tb_rest_client/models/models_pe/notification_request_config.py +124 -0
  907. tb_rest_client/models/models_pe/notification_request_id.py +162 -0
  908. tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
  909. tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
  910. tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
  911. tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
  912. tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
  913. tb_rest_client/models/models_pe/notification_rule_trigger_config.py +135 -0
  914. tb_rest_client/models/models_pe/notification_template_config.py +125 -0
  915. tb_rest_client/models/models_pe/notification_template_id.py +162 -0
  916. tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
  917. tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
  918. tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
  919. tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
  920. tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
  921. tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
  922. tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
  923. tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
  924. tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
  925. tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
  926. tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
  927. tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
  928. tb_rest_client/models/models_pe/object_attributes.py +410 -0
  929. tb_rest_client/models/models_pe/object_node.py +98 -0
  930. tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
  931. tb_rest_client/models/models_pe/ota_package.py +576 -0
  932. tb_rest_client/models/models_pe/ota_package_id.py +162 -0
  933. tb_rest_client/models/models_pe/ota_package_info.py +550 -0
  934. tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
  935. tb_rest_client/models/models_pe/other_configuration.py +364 -0
  936. tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
  937. tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
  938. tb_rest_client/models/models_pe/page_data_converter.py +210 -0
  939. tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
  940. tb_rest_client/models/models_pe/page_data_edge.py +210 -0
  941. tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
  942. tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
  943. tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
  944. tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
  945. tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
  946. tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
  947. tb_rest_client/models/models_pe/page_data_integration.py +210 -0
  948. tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
  949. tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
  950. tb_rest_client/models/models_pe/page_data_queue.py +210 -0
  951. tb_rest_client/models/models_pe/page_data_role.py +210 -0
  952. tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
  953. tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
  954. tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
  955. tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
  956. tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
  957. tb_rest_client/models/models_pe/palette.py +183 -0
  958. tb_rest_client/models/models_pe/palette_settings.py +152 -0
  959. tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
  960. tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
  961. tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
  962. tb_rest_client/models/models_pe/processing_strategy.py +234 -0
  963. tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
  964. tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
  965. tb_rest_client/models/models_pe/queue.py +410 -0
  966. tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
  967. tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
  968. tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
  969. tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
  970. tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
  971. tb_rest_client/models/models_pe/report_config.py +381 -0
  972. tb_rest_client/models/models_pe/repository_settings.py +390 -0
  973. tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
  974. tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
  975. tb_rest_client/models/models_pe/reset_password_request.py +154 -0
  976. tb_rest_client/models/models_pe/resource.py +306 -0
  977. tb_rest_client/models/models_pe/response_entity.py +182 -0
  978. tb_rest_client/models/models_pe/role.py +371 -0
  979. tb_rest_client/models/models_pe/role_id.py +162 -0
  980. tb_rest_client/models/models_pe/rpc.py +344 -0
  981. tb_rest_client/models/models_pe/rpc_id.py +162 -0
  982. tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
  983. tb_rest_client/models/models_pe/rule_chain.py +402 -0
  984. tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
  985. tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
  986. tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
  987. tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
  988. tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
  989. tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
  990. tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
  991. tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
  992. tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
  993. tb_rest_client/models/models_pe/rule_node.py +424 -0
  994. tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
  995. tb_rest_client/models/models_pe/rule_node_id.py +162 -0
  996. tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
  997. tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
  998. tb_rest_client/models/models_pe/scheduler_event.py +444 -0
  999. tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
  1000. tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
  1001. tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
  1002. tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
  1003. tb_rest_client/models/models_pe/security_settings.py +266 -0
  1004. tb_rest_client/models/models_pe/self_registration_params.py +630 -0
  1005. tb_rest_client/models/models_pe/share_group_request.py +235 -0
  1006. tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
  1007. tb_rest_client/models/models_pe/short_customer_info.py +204 -0
  1008. tb_rest_client/models/models_pe/short_entity_view.py +154 -0
  1009. tb_rest_client/models/models_pe/sign_up_field.py +184 -0
  1010. tb_rest_client/models/models_pe/sign_up_request.py +294 -0
  1011. tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
  1012. tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
  1013. tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
  1014. tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
  1015. tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
  1016. tb_rest_client/models/models_pe/slack_conversation.py +263 -0
  1017. tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
  1018. tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
  1019. tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
  1020. tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
  1021. tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
  1022. tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
  1023. tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
  1024. tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
  1025. tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
  1026. tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
  1027. tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
  1028. tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
  1029. tb_rest_client/models/models_pe/solution_install_response.py +260 -0
  1030. tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
  1031. tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
  1032. tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
  1033. tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
  1034. tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
  1035. tb_rest_client/models/models_pe/submit_strategy.py +156 -0
  1036. tb_rest_client/models/models_pe/subscription_usage.py +540 -0
  1037. tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
  1038. tb_rest_client/models/models_pe/system_info.py +152 -0
  1039. tb_rest_client/models/models_pe/system_info_data.py +322 -0
  1040. tb_rest_client/models/models_pe/task_processing_failure_notification_rule_trigger_config.py +98 -0
  1041. tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
  1042. tb_rest_client/models/models_pe/tb_resource.py +594 -0
  1043. tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
  1044. tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
  1045. tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
  1046. tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
  1047. tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
  1048. tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
  1049. tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
  1050. tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
  1051. tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
  1052. tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
  1053. tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
  1054. tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
  1055. tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
  1056. tb_rest_client/models/models_pe/test_sms_request.py +182 -0
  1057. tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
  1058. tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
  1059. tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
  1060. tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
  1061. tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
  1062. tb_rest_client/models/models_pe/translation_info.py +238 -0
  1063. tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
  1064. tb_rest_client/models/models_pe/ts_value.py +176 -0
  1065. tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
  1066. tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
  1067. tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
  1068. tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
  1069. tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
  1070. tb_rest_client/models/models_pe/update_message.py +266 -0
  1071. tb_rest_client/models/models_pe/user.py +484 -0
  1072. tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
  1073. tb_rest_client/models/models_pe/user_email_info.py +208 -0
  1074. tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
  1075. tb_rest_client/models/models_pe/user_id.py +162 -0
  1076. tb_rest_client/models/models_pe/user_info.py +540 -0
  1077. tb_rest_client/models/models_pe/user_list_filter.py +131 -0
  1078. tb_rest_client/models/models_pe/user_password_policy.py +378 -0
  1079. tb_rest_client/models/models_pe/user_role_filter.py +131 -0
  1080. tb_rest_client/models/models_pe/users_filter.py +142 -0
  1081. tb_rest_client/models/models_pe/v2_captcha_params.py +98 -0
  1082. tb_rest_client/models/models_pe/v3_captcha_params.py +98 -0
  1083. tb_rest_client/models/models_pe/vendor.py +150 -0
  1084. tb_rest_client/models/models_pe/version_create_config.py +228 -0
  1085. tb_rest_client/models/models_pe/version_create_request.py +191 -0
  1086. tb_rest_client/models/models_pe/version_creation_result.py +254 -0
  1087. tb_rest_client/models/models_pe/version_load_config.py +254 -0
  1088. tb_rest_client/models/models_pe/version_load_request.py +165 -0
  1089. tb_rest_client/models/models_pe/version_load_result.py +176 -0
  1090. tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
  1091. tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
  1092. tb_rest_client/models/models_pe/web_self_registration_params.py +98 -0
  1093. tb_rest_client/models/models_pe/white_labeling.py +234 -0
  1094. tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
  1095. tb_rest_client/models/models_pe/widget_type.py +342 -0
  1096. tb_rest_client/models/models_pe/widget_type_details.py +426 -0
  1097. tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
  1098. tb_rest_client/models/models_pe/widget_type_id.py +162 -0
  1099. tb_rest_client/models/models_pe/widget_type_info.py +428 -0
  1100. tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
  1101. tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
  1102. tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
  1103. tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
  1104. tb_rest_client/rest.py +342 -0
  1105. tb_rest_client/rest_client_base.py +2193 -0
  1106. tb_rest_client/rest_client_ce.py +1284 -0
  1107. tb_rest_client/rest_client_pe.py +1910 -0
  1108. tb_rest_client-3.9.0.dist-info/LICENSE +201 -0
  1109. tb_rest_client-3.9.0.dist-info/METADATA +80 -0
  1110. tb_rest_client-3.9.0.dist-info/RECORD +1111 -0
  1111. tb_rest_client-3.9.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,2364 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ ThingsBoard REST API
5
+
6
+ ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
7
+
8
+ OpenAPI spec version: 3.9.0
9
+ Contact: info@thingsboard.io
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ # Copyright 2025. ThingsBoard
14
+ #
15
+ # Licensed under the Apache License, Version 2.0 (the "License");
16
+ # you may not use this file except in compliance with the License.
17
+ # You may obtain a copy of the License at
18
+ #
19
+ # http://www.apache.org/licenses/LICENSE-2.0
20
+ #
21
+ # Unless required by applicable law or agreed to in writing, software
22
+ # distributed under the License is distributed on an "AS IS" BASIS,
23
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
+ # See the License for the specific language governing permissions and
25
+ # limitations under the License.
26
+
27
+ from __future__ import absolute_import
28
+
29
+ import re # noqa: F401
30
+
31
+ # python 2 and python 3 compatibility library
32
+ import six
33
+
34
+ from tb_rest_client.api_client import ApiClient
35
+
36
+
37
+ class 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 add_dashboard_customers_using_post(self, dashboard_id, **kwargs): # noqa: E501
50
+ """Adds the Dashboard Customers (addDashboardCustomers) # noqa: E501
51
+
52
+ Adds the list of Customers to the existing list of assignments for the Dashboard. Keeps previous assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
53
+ This method makes a synchronous HTTP request by default. To make an
54
+ asynchronous HTTP request, please pass async_req=True
55
+ >>> thread = api.add_dashboard_customers_using_post(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
+ :param list[str] body:
61
+ :return: Dashboard
62
+ If the method is called asynchronously,
63
+ returns the request thread.
64
+ """
65
+ kwargs['_return_http_data_only'] = True
66
+ if kwargs.get('async_req'):
67
+ return self.add_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
68
+ else:
69
+ (data) = self.add_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
70
+ return data
71
+
72
+ def add_dashboard_customers_using_post_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
73
+ """Adds the Dashboard Customers (addDashboardCustomers) # noqa: E501
74
+
75
+ Adds the list of Customers to the existing list of assignments for the Dashboard. Keeps previous assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
76
+ This method makes a synchronous HTTP request by default. To make an
77
+ asynchronous HTTP request, please pass async_req=True
78
+ >>> thread = api.add_dashboard_customers_using_post_with_http_info(dashboard_id, async_req=True)
79
+ >>> result = thread.get()
80
+
81
+ :param async_req bool
82
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
83
+ :param list[str] body:
84
+ :return: Dashboard
85
+ If the method is called asynchronously,
86
+ returns the request thread.
87
+ """
88
+
89
+ all_params = ['dashboard_id', 'body'] # noqa: E501
90
+ all_params.append('async_req')
91
+ all_params.append('_return_http_data_only')
92
+ all_params.append('_preload_content')
93
+ all_params.append('_request_timeout')
94
+
95
+ params = locals()
96
+ for key, val in six.iteritems(params['kwargs']):
97
+ if key not in all_params:
98
+ raise TypeError(
99
+ "Got an unexpected keyword argument '%s'"
100
+ " to method add_dashboard_customers_using_post" % key
101
+ )
102
+ params[key] = val
103
+ del params['kwargs']
104
+ # verify the required parameter 'dashboard_id' is set
105
+ if ('dashboard_id' not in params or
106
+ params['dashboard_id'] is None):
107
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `add_dashboard_customers_using_post`") # noqa: E501
108
+
109
+ collection_formats = {}
110
+
111
+ path_params = {}
112
+ if 'dashboard_id' in params:
113
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
114
+
115
+ query_params = []
116
+
117
+ header_params = {}
118
+
119
+ form_params = []
120
+ local_var_files = {}
121
+
122
+ body_params = None
123
+ if 'body' in params:
124
+ body_params = params['body']
125
+ # HTTP header `Accept`
126
+ header_params['Accept'] = self.api_client.select_header_accept(
127
+ ['application/json']) # noqa: E501
128
+
129
+ # HTTP header `Content-Type`
130
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
131
+ ['application/json']) # noqa: E501
132
+
133
+ # Authentication setting
134
+ auth_settings = ['X-Authorization'] # noqa: E501
135
+
136
+ return self.api_client.call_api(
137
+ '/api/dashboard/{dashboardId}/customers/add', 'POST',
138
+ path_params,
139
+ query_params,
140
+ header_params,
141
+ body=body_params,
142
+ post_params=form_params,
143
+ files=local_var_files,
144
+ response_type='Dashboard', # noqa: E501
145
+ auth_settings=auth_settings,
146
+ async_req=params.get('async_req'),
147
+ _return_http_data_only=params.get('_return_http_data_only'),
148
+ _preload_content=params.get('_preload_content', True),
149
+ _request_timeout=params.get('_request_timeout'),
150
+ collection_formats=collection_formats)
151
+
152
+ def assign_dashboard_to_customer_using_post(self, customer_id, dashboard_id, **kwargs): # noqa: E501
153
+ """Assign the Dashboard (assignDashboardToCustomer) # noqa: E501
154
+
155
+ Assign the Dashboard to specified Customer or do nothing if the Dashboard is already assigned to that Customer. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
156
+ This method makes a synchronous HTTP request by default. To make an
157
+ asynchronous HTTP request, please pass async_req=True
158
+ >>> thread = api.assign_dashboard_to_customer_using_post(customer_id, dashboard_id, async_req=True)
159
+ >>> result = thread.get()
160
+
161
+ :param async_req bool
162
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
163
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
164
+ :return: Dashboard
165
+ If the method is called asynchronously,
166
+ returns the request thread.
167
+ """
168
+ kwargs['_return_http_data_only'] = True
169
+ if kwargs.get('async_req'):
170
+ return self.assign_dashboard_to_customer_using_post_with_http_info(customer_id, dashboard_id, **kwargs) # noqa: E501
171
+ else:
172
+ (data) = self.assign_dashboard_to_customer_using_post_with_http_info(customer_id, dashboard_id, **kwargs) # noqa: E501
173
+ return data
174
+
175
+ def assign_dashboard_to_customer_using_post_with_http_info(self, customer_id, dashboard_id, **kwargs): # noqa: E501
176
+ """Assign the Dashboard (assignDashboardToCustomer) # noqa: E501
177
+
178
+ Assign the Dashboard to specified Customer or do nothing if the Dashboard is already assigned to that Customer. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
179
+ This method makes a synchronous HTTP request by default. To make an
180
+ asynchronous HTTP request, please pass async_req=True
181
+ >>> thread = api.assign_dashboard_to_customer_using_post_with_http_info(customer_id, dashboard_id, async_req=True)
182
+ >>> result = thread.get()
183
+
184
+ :param async_req bool
185
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
186
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
187
+ :return: Dashboard
188
+ If the method is called asynchronously,
189
+ returns the request thread.
190
+ """
191
+
192
+ all_params = ['customer_id', 'dashboard_id'] # noqa: E501
193
+ all_params.append('async_req')
194
+ all_params.append('_return_http_data_only')
195
+ all_params.append('_preload_content')
196
+ all_params.append('_request_timeout')
197
+
198
+ params = locals()
199
+ for key, val in six.iteritems(params['kwargs']):
200
+ if key not in all_params:
201
+ raise TypeError(
202
+ "Got an unexpected keyword argument '%s'"
203
+ " to method assign_dashboard_to_customer_using_post" % key
204
+ )
205
+ params[key] = val
206
+ del params['kwargs']
207
+ # verify the required parameter 'customer_id' is set
208
+ if ('customer_id' not in params or
209
+ params['customer_id'] is None):
210
+ raise ValueError("Missing the required parameter `customer_id` when calling `assign_dashboard_to_customer_using_post`") # noqa: E501
211
+ # verify the required parameter 'dashboard_id' is set
212
+ if ('dashboard_id' not in params or
213
+ params['dashboard_id'] is None):
214
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `assign_dashboard_to_customer_using_post`") # noqa: E501
215
+
216
+ collection_formats = {}
217
+
218
+ path_params = {}
219
+ if 'customer_id' in params:
220
+ path_params['customerId'] = params['customer_id'] # noqa: E501
221
+ if 'dashboard_id' in params:
222
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
223
+
224
+ query_params = []
225
+
226
+ header_params = {}
227
+
228
+ form_params = []
229
+ local_var_files = {}
230
+
231
+ body_params = None
232
+ # HTTP header `Accept`
233
+ header_params['Accept'] = self.api_client.select_header_accept(
234
+ ['application/json']) # noqa: E501
235
+
236
+ # Authentication setting
237
+ auth_settings = ['X-Authorization'] # noqa: E501
238
+
239
+ return self.api_client.call_api(
240
+ '/api/customer/{customerId}/dashboard/{dashboardId}', 'POST',
241
+ path_params,
242
+ query_params,
243
+ header_params,
244
+ body=body_params,
245
+ post_params=form_params,
246
+ files=local_var_files,
247
+ response_type='Dashboard', # noqa: E501
248
+ auth_settings=auth_settings,
249
+ async_req=params.get('async_req'),
250
+ _return_http_data_only=params.get('_return_http_data_only'),
251
+ _preload_content=params.get('_preload_content', True),
252
+ _request_timeout=params.get('_request_timeout'),
253
+ collection_formats=collection_formats)
254
+
255
+ def assign_dashboard_to_edge_using_post(self, edge_id, dashboard_id, **kwargs): # noqa: E501
256
+ """Assign dashboard to edge (assignDashboardToEdge) # noqa: E501
257
+
258
+ Creates assignment of an existing dashboard to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment dashboard (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once dashboard will be delivered to edge service, it's going to be available for usage on remote edge instance. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
259
+ This method makes a synchronous HTTP request by default. To make an
260
+ asynchronous HTTP request, please pass async_req=True
261
+ >>> thread = api.assign_dashboard_to_edge_using_post(edge_id, dashboard_id, async_req=True)
262
+ >>> result = thread.get()
263
+
264
+ :param async_req bool
265
+ :param str edge_id: edgeId (required)
266
+ :param str dashboard_id: dashboardId (required)
267
+ :return: Dashboard
268
+ If the method is called asynchronously,
269
+ returns the request thread.
270
+ """
271
+ kwargs['_return_http_data_only'] = True
272
+ if kwargs.get('async_req'):
273
+ return self.assign_dashboard_to_edge_using_post_with_http_info(edge_id, dashboard_id, **kwargs) # noqa: E501
274
+ else:
275
+ (data) = self.assign_dashboard_to_edge_using_post_with_http_info(edge_id, dashboard_id, **kwargs) # noqa: E501
276
+ return data
277
+
278
+ def assign_dashboard_to_edge_using_post_with_http_info(self, edge_id, dashboard_id, **kwargs): # noqa: E501
279
+ """Assign dashboard to edge (assignDashboardToEdge) # noqa: E501
280
+
281
+ Creates assignment of an existing dashboard to an instance of The Edge. Assignment works in async way - first, notification event pushed to edge service queue on platform. Second, remote edge service will receive a copy of assignment dashboard (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once dashboard will be delivered to edge service, it's going to be available for usage on remote edge instance. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
282
+ This method makes a synchronous HTTP request by default. To make an
283
+ asynchronous HTTP request, please pass async_req=True
284
+ >>> thread = api.assign_dashboard_to_edge_using_post_with_http_info(edge_id, dashboard_id, async_req=True)
285
+ >>> result = thread.get()
286
+
287
+ :param async_req bool
288
+ :param str edge_id: edgeId (required)
289
+ :param str dashboard_id: dashboardId (required)
290
+ :return: Dashboard
291
+ If the method is called asynchronously,
292
+ returns the request thread.
293
+ """
294
+
295
+ all_params = ['edge_id', 'dashboard_id'] # 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 assign_dashboard_to_edge_using_post" % key
307
+ )
308
+ params[key] = val
309
+ del params['kwargs']
310
+ # verify the required parameter 'edge_id' is set
311
+ if ('edge_id' not in params or
312
+ params['edge_id'] is None):
313
+ raise ValueError("Missing the required parameter `edge_id` when calling `assign_dashboard_to_edge_using_post`") # noqa: E501
314
+ # verify the required parameter 'dashboard_id' is set
315
+ if ('dashboard_id' not in params or
316
+ params['dashboard_id'] is None):
317
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `assign_dashboard_to_edge_using_post`") # noqa: E501
318
+
319
+ collection_formats = {}
320
+
321
+ path_params = {}
322
+ if 'edge_id' in params:
323
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
324
+ if 'dashboard_id' in params:
325
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
326
+
327
+ query_params = []
328
+
329
+ header_params = {}
330
+
331
+ form_params = []
332
+ local_var_files = {}
333
+
334
+ body_params = None
335
+ # HTTP header `Accept`
336
+ header_params['Accept'] = self.api_client.select_header_accept(
337
+ ['application/json']) # noqa: E501
338
+
339
+ # Authentication setting
340
+ auth_settings = ['X-Authorization'] # noqa: E501
341
+
342
+ return self.api_client.call_api(
343
+ '/api/edge/{edgeId}/dashboard/{dashboardId}', 'POST',
344
+ path_params,
345
+ query_params,
346
+ header_params,
347
+ body=body_params,
348
+ post_params=form_params,
349
+ files=local_var_files,
350
+ response_type='Dashboard', # noqa: E501
351
+ auth_settings=auth_settings,
352
+ async_req=params.get('async_req'),
353
+ _return_http_data_only=params.get('_return_http_data_only'),
354
+ _preload_content=params.get('_preload_content', True),
355
+ _request_timeout=params.get('_request_timeout'),
356
+ collection_formats=collection_formats)
357
+
358
+ def assign_dashboard_to_public_customer_using_post(self, dashboard_id, **kwargs): # noqa: E501
359
+ """Assign the Dashboard to Public Customer (assignDashboardToPublicCustomer) # noqa: E501
360
+
361
+ Assigns the dashboard to a special, auto-generated 'Public' Customer. Once assigned, unauthenticated users may browse the dashboard. This method is useful if you like to embed the dashboard on public web pages to be available for users that are not logged in. Be aware that making the dashboard public does not mean that it automatically makes all devices and assets you use in the dashboard to be public.Use [assign Asset to Public Customer](#!/asset-controller/assignAssetToPublicCustomerUsingPOST) and [assign Device to Public Customer](#!/device-controller/assignDeviceToPublicCustomerUsingPOST) for this purpose. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
362
+ This method makes a synchronous HTTP request by default. To make an
363
+ asynchronous HTTP request, please pass async_req=True
364
+ >>> thread = api.assign_dashboard_to_public_customer_using_post(dashboard_id, async_req=True)
365
+ >>> result = thread.get()
366
+
367
+ :param async_req bool
368
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
369
+ :return: Dashboard
370
+ If the method is called asynchronously,
371
+ returns the request thread.
372
+ """
373
+ kwargs['_return_http_data_only'] = True
374
+ if kwargs.get('async_req'):
375
+ return self.assign_dashboard_to_public_customer_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
376
+ else:
377
+ (data) = self.assign_dashboard_to_public_customer_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
378
+ return data
379
+
380
+ def assign_dashboard_to_public_customer_using_post_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
381
+ """Assign the Dashboard to Public Customer (assignDashboardToPublicCustomer) # noqa: E501
382
+
383
+ Assigns the dashboard to a special, auto-generated 'Public' Customer. Once assigned, unauthenticated users may browse the dashboard. This method is useful if you like to embed the dashboard on public web pages to be available for users that are not logged in. Be aware that making the dashboard public does not mean that it automatically makes all devices and assets you use in the dashboard to be public.Use [assign Asset to Public Customer](#!/asset-controller/assignAssetToPublicCustomerUsingPOST) and [assign Device to Public Customer](#!/device-controller/assignDeviceToPublicCustomerUsingPOST) for this purpose. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
384
+ This method makes a synchronous HTTP request by default. To make an
385
+ asynchronous HTTP request, please pass async_req=True
386
+ >>> thread = api.assign_dashboard_to_public_customer_using_post_with_http_info(dashboard_id, async_req=True)
387
+ >>> result = thread.get()
388
+
389
+ :param async_req bool
390
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
391
+ :return: Dashboard
392
+ If the method is called asynchronously,
393
+ returns the request thread.
394
+ """
395
+
396
+ all_params = ['dashboard_id'] # noqa: E501
397
+ all_params.append('async_req')
398
+ all_params.append('_return_http_data_only')
399
+ all_params.append('_preload_content')
400
+ all_params.append('_request_timeout')
401
+
402
+ params = locals()
403
+ for key, val in six.iteritems(params['kwargs']):
404
+ if key not in all_params:
405
+ raise TypeError(
406
+ "Got an unexpected keyword argument '%s'"
407
+ " to method assign_dashboard_to_public_customer_using_post" % key
408
+ )
409
+ params[key] = val
410
+ del params['kwargs']
411
+ # verify the required parameter 'dashboard_id' is set
412
+ if ('dashboard_id' not in params or
413
+ params['dashboard_id'] is None):
414
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `assign_dashboard_to_public_customer_using_post`") # noqa: E501
415
+
416
+ collection_formats = {}
417
+
418
+ path_params = {}
419
+ if 'dashboard_id' in params:
420
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
421
+
422
+ query_params = []
423
+
424
+ header_params = {}
425
+
426
+ form_params = []
427
+ local_var_files = {}
428
+
429
+ body_params = None
430
+ # HTTP header `Accept`
431
+ header_params['Accept'] = self.api_client.select_header_accept(
432
+ ['application/json']) # noqa: E501
433
+
434
+ # Authentication setting
435
+ auth_settings = ['X-Authorization'] # noqa: E501
436
+
437
+ return self.api_client.call_api(
438
+ '/api/customer/public/dashboard/{dashboardId}', 'POST',
439
+ path_params,
440
+ query_params,
441
+ header_params,
442
+ body=body_params,
443
+ post_params=form_params,
444
+ files=local_var_files,
445
+ response_type='Dashboard', # noqa: E501
446
+ auth_settings=auth_settings,
447
+ async_req=params.get('async_req'),
448
+ _return_http_data_only=params.get('_return_http_data_only'),
449
+ _preload_content=params.get('_preload_content', True),
450
+ _request_timeout=params.get('_request_timeout'),
451
+ collection_formats=collection_formats)
452
+
453
+ def delete_dashboard_using_delete(self, dashboard_id, **kwargs): # noqa: E501
454
+ """Delete the Dashboard (deleteDashboard) # noqa: E501
455
+
456
+ Delete the Dashboard. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
457
+ This method makes a synchronous HTTP request by default. To make an
458
+ asynchronous HTTP request, please pass async_req=True
459
+ >>> thread = api.delete_dashboard_using_delete(dashboard_id, async_req=True)
460
+ >>> result = thread.get()
461
+
462
+ :param async_req bool
463
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
464
+ :return: None
465
+ If the method is called asynchronously,
466
+ returns the request thread.
467
+ """
468
+ kwargs['_return_http_data_only'] = True
469
+ if kwargs.get('async_req'):
470
+ return self.delete_dashboard_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
471
+ else:
472
+ (data) = self.delete_dashboard_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
473
+ return data
474
+
475
+ def delete_dashboard_using_delete_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
476
+ """Delete the Dashboard (deleteDashboard) # noqa: E501
477
+
478
+ Delete the Dashboard. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
479
+ This method makes a synchronous HTTP request by default. To make an
480
+ asynchronous HTTP request, please pass async_req=True
481
+ >>> thread = api.delete_dashboard_using_delete_with_http_info(dashboard_id, async_req=True)
482
+ >>> result = thread.get()
483
+
484
+ :param async_req bool
485
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
486
+ :return: None
487
+ If the method is called asynchronously,
488
+ returns the request thread.
489
+ """
490
+
491
+ all_params = ['dashboard_id'] # noqa: E501
492
+ all_params.append('async_req')
493
+ all_params.append('_return_http_data_only')
494
+ all_params.append('_preload_content')
495
+ all_params.append('_request_timeout')
496
+
497
+ params = locals()
498
+ for key, val in six.iteritems(params['kwargs']):
499
+ if key not in all_params:
500
+ raise TypeError(
501
+ "Got an unexpected keyword argument '%s'"
502
+ " to method delete_dashboard_using_delete" % key
503
+ )
504
+ params[key] = val
505
+ del params['kwargs']
506
+ # verify the required parameter 'dashboard_id' is set
507
+ if ('dashboard_id' not in params or
508
+ params['dashboard_id'] is None):
509
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `delete_dashboard_using_delete`") # noqa: E501
510
+
511
+ collection_formats = {}
512
+
513
+ path_params = {}
514
+ if 'dashboard_id' in params:
515
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
516
+
517
+ query_params = []
518
+
519
+ header_params = {}
520
+
521
+ form_params = []
522
+ local_var_files = {}
523
+
524
+ body_params = None
525
+ # HTTP header `Accept`
526
+ header_params['Accept'] = self.api_client.select_header_accept(
527
+ ['application/json']) # noqa: E501
528
+
529
+ # Authentication setting
530
+ auth_settings = ['X-Authorization'] # noqa: E501
531
+
532
+ return self.api_client.call_api(
533
+ '/api/dashboard/{dashboardId}', 'DELETE',
534
+ path_params,
535
+ query_params,
536
+ header_params,
537
+ body=body_params,
538
+ post_params=form_params,
539
+ files=local_var_files,
540
+ response_type=None, # noqa: E501
541
+ auth_settings=auth_settings,
542
+ async_req=params.get('async_req'),
543
+ _return_http_data_only=params.get('_return_http_data_only'),
544
+ _preload_content=params.get('_preload_content', True),
545
+ _request_timeout=params.get('_request_timeout'),
546
+ collection_formats=collection_formats)
547
+
548
+ def get_customer_dashboards_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
549
+ """Get Customer Dashboards (getCustomerDashboards) # noqa: E501
550
+
551
+ 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. # noqa: E501
552
+ This method makes a synchronous HTTP request by default. To make an
553
+ asynchronous HTTP request, please pass async_req=True
554
+ >>> thread = api.get_customer_dashboards_using_get(customer_id, page_size, page, async_req=True)
555
+ >>> result = thread.get()
556
+
557
+ :param async_req bool
558
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
559
+ :param int page_size: Maximum amount of entities in a one page (required)
560
+ :param int page: Sequence number of page starting from 0 (required)
561
+ :param bool mobile: Exclude dashboards that are hidden for mobile
562
+ :param str text_search: The case insensitive 'substring' filter based on the dashboard title.
563
+ :param str sort_property: Property of entity to sort by
564
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
565
+ :return: PageDataDashboardInfo
566
+ If the method is called asynchronously,
567
+ returns the request thread.
568
+ """
569
+ kwargs['_return_http_data_only'] = True
570
+ if kwargs.get('async_req'):
571
+ return self.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
572
+ else:
573
+ (data) = self.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
574
+ return data
575
+
576
+ def get_customer_dashboards_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
577
+ """Get Customer Dashboards (getCustomerDashboards) # noqa: E501
578
+
579
+ 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. # noqa: E501
580
+ This method makes a synchronous HTTP request by default. To make an
581
+ asynchronous HTTP request, please pass async_req=True
582
+ >>> thread = api.get_customer_dashboards_using_get_with_http_info(customer_id, page_size, page, async_req=True)
583
+ >>> result = thread.get()
584
+
585
+ :param async_req bool
586
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
587
+ :param int page_size: Maximum amount of entities in a one page (required)
588
+ :param int page: Sequence number of page starting from 0 (required)
589
+ :param bool mobile: Exclude dashboards that are hidden for mobile
590
+ :param str text_search: The case insensitive 'substring' filter based on the dashboard title.
591
+ :param str sort_property: Property of entity to sort by
592
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
593
+ :return: PageDataDashboardInfo
594
+ If the method is called asynchronously,
595
+ returns the request thread.
596
+ """
597
+
598
+ all_params = ['customer_id', 'page_size', 'page', 'mobile', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
599
+ all_params.append('async_req')
600
+ all_params.append('_return_http_data_only')
601
+ all_params.append('_preload_content')
602
+ all_params.append('_request_timeout')
603
+
604
+ params = locals()
605
+ for key, val in six.iteritems(params['kwargs']):
606
+ if key not in all_params:
607
+ raise TypeError(
608
+ "Got an unexpected keyword argument '%s'"
609
+ " to method get_customer_dashboards_using_get" % key
610
+ )
611
+ params[key] = val
612
+ del params['kwargs']
613
+ # verify the required parameter 'customer_id' is set
614
+ if ('customer_id' not in params or
615
+ params['customer_id'] is None):
616
+ raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_dashboards_using_get`") # noqa: E501
617
+ # verify the required parameter 'page_size' is set
618
+ if ('page_size' not in params or
619
+ params['page_size'] is None):
620
+ raise ValueError("Missing the required parameter `page_size` when calling `get_customer_dashboards_using_get`") # noqa: E501
621
+ # verify the required parameter 'page' is set
622
+ if ('page' not in params or
623
+ params['page'] is None):
624
+ raise ValueError("Missing the required parameter `page` when calling `get_customer_dashboards_using_get`") # noqa: E501
625
+
626
+ collection_formats = {}
627
+
628
+ path_params = {}
629
+ if 'customer_id' in params:
630
+ path_params['customerId'] = params['customer_id'] # noqa: E501
631
+
632
+ query_params = []
633
+ if 'page_size' in params:
634
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
635
+ if 'page' in params:
636
+ query_params.append(('page', params['page'])) # noqa: E501
637
+ if 'mobile' in params:
638
+ query_params.append(('mobile', params['mobile'])) # noqa: E501
639
+ if 'text_search' in params:
640
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
641
+ if 'sort_property' in params:
642
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
643
+ if 'sort_order' in params:
644
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
645
+
646
+ header_params = {}
647
+
648
+ form_params = []
649
+ local_var_files = {}
650
+
651
+ body_params = None
652
+ # HTTP header `Accept`
653
+ header_params['Accept'] = self.api_client.select_header_accept(
654
+ ['application/json']) # noqa: E501
655
+
656
+ # Authentication setting
657
+ auth_settings = ['X-Authorization'] # noqa: E501
658
+
659
+ return self.api_client.call_api(
660
+ '/api/customer/{customerId}/dashboards{?mobile,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
661
+ path_params,
662
+ query_params,
663
+ header_params,
664
+ body=body_params,
665
+ post_params=form_params,
666
+ files=local_var_files,
667
+ response_type='PageDataDashboardInfo', # noqa: E501
668
+ auth_settings=auth_settings,
669
+ async_req=params.get('async_req'),
670
+ _return_http_data_only=params.get('_return_http_data_only'),
671
+ _preload_content=params.get('_preload_content', True),
672
+ _request_timeout=params.get('_request_timeout'),
673
+ collection_formats=collection_formats)
674
+
675
+ def get_dashboard_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501
676
+ """Get Dashboard (getDashboardById) # noqa: E501
677
+
678
+ 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
679
+ This method makes a synchronous HTTP request by default. To make an
680
+ asynchronous HTTP request, please pass async_req=True
681
+ >>> thread = api.get_dashboard_by_id_using_get(dashboard_id, async_req=True)
682
+ >>> result = thread.get()
683
+
684
+ :param async_req bool
685
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
686
+ :param bool inline_images: Inline images as a data URL (Base64)
687
+ :return: Dashboard
688
+ If the method is called asynchronously,
689
+ returns the request thread.
690
+ """
691
+ kwargs['_return_http_data_only'] = True
692
+ if kwargs.get('async_req'):
693
+ return self.get_dashboard_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
694
+ else:
695
+ (data) = self.get_dashboard_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
696
+ return data
697
+
698
+ def get_dashboard_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
699
+ """Get Dashboard (getDashboardById) # noqa: E501
700
+
701
+ 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
702
+ This method makes a synchronous HTTP request by default. To make an
703
+ asynchronous HTTP request, please pass async_req=True
704
+ >>> thread = api.get_dashboard_by_id_using_get_with_http_info(dashboard_id, async_req=True)
705
+ >>> result = thread.get()
706
+
707
+ :param async_req bool
708
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
709
+ :param bool inline_images: Inline images as a data URL (Base64)
710
+ :return: Dashboard
711
+ If the method is called asynchronously,
712
+ returns the request thread.
713
+ """
714
+
715
+ all_params = ['dashboard_id', 'inline_images'] # noqa: E501
716
+ all_params.append('async_req')
717
+ all_params.append('_return_http_data_only')
718
+ all_params.append('_preload_content')
719
+ all_params.append('_request_timeout')
720
+
721
+ params = locals()
722
+ for key, val in six.iteritems(params['kwargs']):
723
+ if key not in all_params:
724
+ raise TypeError(
725
+ "Got an unexpected keyword argument '%s'"
726
+ " to method get_dashboard_by_id_using_get" % key
727
+ )
728
+ params[key] = val
729
+ del params['kwargs']
730
+ # verify the required parameter 'dashboard_id' is set
731
+ if ('dashboard_id' not in params or
732
+ params['dashboard_id'] is None):
733
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `get_dashboard_by_id_using_get`") # noqa: E501
734
+
735
+ collection_formats = {}
736
+
737
+ path_params = {}
738
+ if 'dashboard_id' in params:
739
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
740
+
741
+ query_params = []
742
+ if 'inline_images' in params:
743
+ query_params.append(('inlineImages', params['inline_images'])) # noqa: E501
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/{dashboardId}{?inlineImages}', '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='Dashboard', # 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_dashboard_info_by_id_using_get(self, dashboard_id, **kwargs): # noqa: E501
775
+ """Get Dashboard Info (getDashboardInfoById) # noqa: E501
776
+
777
+ 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
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_dashboard_info_by_id_using_get(dashboard_id, async_req=True)
781
+ >>> result = thread.get()
782
+
783
+ :param async_req bool
784
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
785
+ :return: DashboardInfo
786
+ If the method is called asynchronously,
787
+ returns the request thread.
788
+ """
789
+ kwargs['_return_http_data_only'] = True
790
+ if kwargs.get('async_req'):
791
+ return self.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
792
+ else:
793
+ (data) = self.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, **kwargs) # noqa: E501
794
+ return data
795
+
796
+ def get_dashboard_info_by_id_using_get_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
797
+ """Get Dashboard Info (getDashboardInfoById) # noqa: E501
798
+
799
+ 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
800
+ This method makes a synchronous HTTP request by default. To make an
801
+ asynchronous HTTP request, please pass async_req=True
802
+ >>> thread = api.get_dashboard_info_by_id_using_get_with_http_info(dashboard_id, async_req=True)
803
+ >>> result = thread.get()
804
+
805
+ :param async_req bool
806
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
807
+ :return: DashboardInfo
808
+ If the method is called asynchronously,
809
+ returns the request thread.
810
+ """
811
+
812
+ all_params = ['dashboard_id'] # noqa: E501
813
+ all_params.append('async_req')
814
+ all_params.append('_return_http_data_only')
815
+ all_params.append('_preload_content')
816
+ all_params.append('_request_timeout')
817
+
818
+ params = locals()
819
+ for key, val in six.iteritems(params['kwargs']):
820
+ if key not in all_params:
821
+ raise TypeError(
822
+ "Got an unexpected keyword argument '%s'"
823
+ " to method get_dashboard_info_by_id_using_get" % key
824
+ )
825
+ params[key] = val
826
+ del params['kwargs']
827
+ # verify the required parameter 'dashboard_id' is set
828
+ if ('dashboard_id' not in params or
829
+ params['dashboard_id'] is None):
830
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `get_dashboard_info_by_id_using_get`") # noqa: E501
831
+
832
+ collection_formats = {}
833
+
834
+ path_params = {}
835
+ if 'dashboard_id' in params:
836
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
837
+
838
+ query_params = []
839
+
840
+ header_params = {}
841
+
842
+ form_params = []
843
+ local_var_files = {}
844
+
845
+ body_params = None
846
+ # HTTP header `Accept`
847
+ header_params['Accept'] = self.api_client.select_header_accept(
848
+ ['application/json']) # noqa: E501
849
+
850
+ # Authentication setting
851
+ auth_settings = ['X-Authorization'] # noqa: E501
852
+
853
+ return self.api_client.call_api(
854
+ '/api/dashboard/info/{dashboardId}', 'GET',
855
+ path_params,
856
+ query_params,
857
+ header_params,
858
+ body=body_params,
859
+ post_params=form_params,
860
+ files=local_var_files,
861
+ response_type='DashboardInfo', # noqa: E501
862
+ auth_settings=auth_settings,
863
+ async_req=params.get('async_req'),
864
+ _return_http_data_only=params.get('_return_http_data_only'),
865
+ _preload_content=params.get('_preload_content', True),
866
+ _request_timeout=params.get('_request_timeout'),
867
+ collection_formats=collection_formats)
868
+
869
+ def get_edge_dashboards_using_get(self, edge_id, page_size, page, **kwargs): # noqa: E501
870
+ """Get Edge Dashboards (getEdgeDashboards) # noqa: E501
871
+
872
+ Returns a page of dashboard info objects assigned to the specified edge. 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. # noqa: E501
873
+ This method makes a synchronous HTTP request by default. To make an
874
+ asynchronous HTTP request, please pass async_req=True
875
+ >>> thread = api.get_edge_dashboards_using_get(edge_id, page_size, page, async_req=True)
876
+ >>> result = thread.get()
877
+
878
+ :param async_req bool
879
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
880
+ :param int page_size: Maximum amount of entities in a one page (required)
881
+ :param int page: Sequence number of page starting from 0 (required)
882
+ :param str text_search: The case insensitive 'substring' filter based on the dashboard title.
883
+ :param str sort_property: Property of entity to sort by
884
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
885
+ :return: PageDataDashboardInfo
886
+ If the method is called asynchronously,
887
+ returns the request thread.
888
+ """
889
+ kwargs['_return_http_data_only'] = True
890
+ if kwargs.get('async_req'):
891
+ return self.get_edge_dashboards_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
892
+ else:
893
+ (data) = self.get_edge_dashboards_using_get_with_http_info(edge_id, page_size, page, **kwargs) # noqa: E501
894
+ return data
895
+
896
+ def get_edge_dashboards_using_get_with_http_info(self, edge_id, page_size, page, **kwargs): # noqa: E501
897
+ """Get Edge Dashboards (getEdgeDashboards) # noqa: E501
898
+
899
+ Returns a page of dashboard info objects assigned to the specified edge. 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. # noqa: E501
900
+ This method makes a synchronous HTTP request by default. To make an
901
+ asynchronous HTTP request, please pass async_req=True
902
+ >>> thread = api.get_edge_dashboards_using_get_with_http_info(edge_id, page_size, page, async_req=True)
903
+ >>> result = thread.get()
904
+
905
+ :param async_req bool
906
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
907
+ :param int page_size: Maximum amount of entities in a one page (required)
908
+ :param int page: Sequence number of page starting from 0 (required)
909
+ :param str text_search: The case insensitive 'substring' filter based on the dashboard title.
910
+ :param str sort_property: Property of entity to sort by
911
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
912
+ :return: PageDataDashboardInfo
913
+ If the method is called asynchronously,
914
+ returns the request thread.
915
+ """
916
+
917
+ all_params = ['edge_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
918
+ all_params.append('async_req')
919
+ all_params.append('_return_http_data_only')
920
+ all_params.append('_preload_content')
921
+ all_params.append('_request_timeout')
922
+
923
+ params = locals()
924
+ for key, val in six.iteritems(params['kwargs']):
925
+ if key not in all_params:
926
+ raise TypeError(
927
+ "Got an unexpected keyword argument '%s'"
928
+ " to method get_edge_dashboards_using_get" % key
929
+ )
930
+ params[key] = val
931
+ del params['kwargs']
932
+ # verify the required parameter 'edge_id' is set
933
+ if ('edge_id' not in params or
934
+ params['edge_id'] is None):
935
+ raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_dashboards_using_get`") # noqa: E501
936
+ # verify the required parameter 'page_size' is set
937
+ if ('page_size' not in params or
938
+ params['page_size'] is None):
939
+ raise ValueError("Missing the required parameter `page_size` when calling `get_edge_dashboards_using_get`") # noqa: E501
940
+ # verify the required parameter 'page' is set
941
+ if ('page' not in params or
942
+ params['page'] is None):
943
+ raise ValueError("Missing the required parameter `page` when calling `get_edge_dashboards_using_get`") # noqa: E501
944
+
945
+ collection_formats = {}
946
+
947
+ path_params = {}
948
+ if 'edge_id' in params:
949
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
950
+
951
+ query_params = []
952
+ if 'page_size' in params:
953
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
954
+ if 'page' in params:
955
+ query_params.append(('page', params['page'])) # noqa: E501
956
+ if 'text_search' in params:
957
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
958
+ if 'sort_property' in params:
959
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
960
+ if 'sort_order' in params:
961
+ query_params.append(('sortOrder', params['sort_order'])) # 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/edge/{edgeId}/dashboards{?page,pageSize,sortOrder,sortProperty,textSearch}', '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='PageDataDashboardInfo', # 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. # 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. # 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 remove_dashboard_customers_using_post(self, dashboard_id, **kwargs): # noqa: E501
1670
+ """Remove the Dashboard Customers (removeDashboardCustomers) # noqa: E501
1671
+
1672
+ Removes the list of Customers from the existing list of assignments for the Dashboard. Keeps other assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # 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.remove_dashboard_customers_using_post(dashboard_id, async_req=True)
1676
+ >>> result = thread.get()
1677
+
1678
+ :param async_req bool
1679
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1680
+ :param list[str] body:
1681
+ :return: Dashboard
1682
+ If the method is called asynchronously,
1683
+ returns the request thread.
1684
+ """
1685
+ kwargs['_return_http_data_only'] = True
1686
+ if kwargs.get('async_req'):
1687
+ return self.remove_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
1688
+ else:
1689
+ (data) = self.remove_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
1690
+ return data
1691
+
1692
+ def remove_dashboard_customers_using_post_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
1693
+ """Remove the Dashboard Customers (removeDashboardCustomers) # noqa: E501
1694
+
1695
+ Removes the list of Customers from the existing list of assignments for the Dashboard. Keeps other assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1696
+ This method makes a synchronous HTTP request by default. To make an
1697
+ asynchronous HTTP request, please pass async_req=True
1698
+ >>> thread = api.remove_dashboard_customers_using_post_with_http_info(dashboard_id, async_req=True)
1699
+ >>> result = thread.get()
1700
+
1701
+ :param async_req bool
1702
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1703
+ :param list[str] body:
1704
+ :return: Dashboard
1705
+ If the method is called asynchronously,
1706
+ returns the request thread.
1707
+ """
1708
+
1709
+ all_params = ['dashboard_id', 'body'] # noqa: E501
1710
+ all_params.append('async_req')
1711
+ all_params.append('_return_http_data_only')
1712
+ all_params.append('_preload_content')
1713
+ all_params.append('_request_timeout')
1714
+
1715
+ params = locals()
1716
+ for key, val in six.iteritems(params['kwargs']):
1717
+ if key not in all_params:
1718
+ raise TypeError(
1719
+ "Got an unexpected keyword argument '%s'"
1720
+ " to method remove_dashboard_customers_using_post" % key
1721
+ )
1722
+ params[key] = val
1723
+ del params['kwargs']
1724
+ # verify the required parameter 'dashboard_id' is set
1725
+ if ('dashboard_id' not in params or
1726
+ params['dashboard_id'] is None):
1727
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `remove_dashboard_customers_using_post`") # noqa: E501
1728
+
1729
+ collection_formats = {}
1730
+
1731
+ path_params = {}
1732
+ if 'dashboard_id' in params:
1733
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
1734
+
1735
+ query_params = []
1736
+
1737
+ header_params = {}
1738
+
1739
+ form_params = []
1740
+ local_var_files = {}
1741
+
1742
+ body_params = None
1743
+ if 'body' in params:
1744
+ body_params = params['body']
1745
+ # HTTP header `Accept`
1746
+ header_params['Accept'] = self.api_client.select_header_accept(
1747
+ ['application/json']) # noqa: E501
1748
+
1749
+ # HTTP header `Content-Type`
1750
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1751
+ ['application/json']) # noqa: E501
1752
+
1753
+ # Authentication setting
1754
+ auth_settings = ['X-Authorization'] # noqa: E501
1755
+
1756
+ return self.api_client.call_api(
1757
+ '/api/dashboard/{dashboardId}/customers/remove', 'POST',
1758
+ path_params,
1759
+ query_params,
1760
+ header_params,
1761
+ body=body_params,
1762
+ post_params=form_params,
1763
+ files=local_var_files,
1764
+ response_type='Dashboard', # noqa: E501
1765
+ auth_settings=auth_settings,
1766
+ async_req=params.get('async_req'),
1767
+ _return_http_data_only=params.get('_return_http_data_only'),
1768
+ _preload_content=params.get('_preload_content', True),
1769
+ _request_timeout=params.get('_request_timeout'),
1770
+ collection_formats=collection_formats)
1771
+
1772
+ def save_dashboard_using_post(self, **kwargs): # noqa: E501
1773
+ """Create Or Update Dashboard (saveDashboard) # noqa: E501
1774
+
1775
+ 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. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Dashboard entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1776
+ This method makes a synchronous HTTP request by default. To make an
1777
+ asynchronous HTTP request, please pass async_req=True
1778
+ >>> thread = api.save_dashboard_using_post(async_req=True)
1779
+ >>> result = thread.get()
1780
+
1781
+ :param async_req bool
1782
+ :param Dashboard body:
1783
+ :return: Dashboard
1784
+ If the method is called asynchronously,
1785
+ returns the request thread.
1786
+ """
1787
+ kwargs['_return_http_data_only'] = True
1788
+ if kwargs.get('async_req'):
1789
+ return self.save_dashboard_using_post_with_http_info(**kwargs) # noqa: E501
1790
+ else:
1791
+ (data) = self.save_dashboard_using_post_with_http_info(**kwargs) # noqa: E501
1792
+ return data
1793
+
1794
+ def save_dashboard_using_post_with_http_info(self, **kwargs): # noqa: E501
1795
+ """Create Or Update Dashboard (saveDashboard) # noqa: E501
1796
+
1797
+ 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. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Dashboard entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1798
+ This method makes a synchronous HTTP request by default. To make an
1799
+ asynchronous HTTP request, please pass async_req=True
1800
+ >>> thread = api.save_dashboard_using_post_with_http_info(async_req=True)
1801
+ >>> result = thread.get()
1802
+
1803
+ :param async_req bool
1804
+ :param Dashboard body:
1805
+ :return: Dashboard
1806
+ If the method is called asynchronously,
1807
+ returns the request thread.
1808
+ """
1809
+
1810
+ all_params = ['body'] # noqa: E501
1811
+ all_params.append('async_req')
1812
+ all_params.append('_return_http_data_only')
1813
+ all_params.append('_preload_content')
1814
+ all_params.append('_request_timeout')
1815
+
1816
+ params = locals()
1817
+ for key, val in six.iteritems(params['kwargs']):
1818
+ if key not in all_params:
1819
+ raise TypeError(
1820
+ "Got an unexpected keyword argument '%s'"
1821
+ " to method save_dashboard_using_post" % key
1822
+ )
1823
+ params[key] = val
1824
+ del params['kwargs']
1825
+
1826
+ collection_formats = {}
1827
+
1828
+ path_params = {}
1829
+
1830
+ query_params = []
1831
+
1832
+ header_params = {}
1833
+
1834
+ form_params = []
1835
+ local_var_files = {}
1836
+
1837
+ body_params = None
1838
+ if 'body' in params:
1839
+ body_params = params['body']
1840
+ # HTTP header `Accept`
1841
+ header_params['Accept'] = self.api_client.select_header_accept(
1842
+ ['application/json']) # noqa: E501
1843
+
1844
+ # HTTP header `Content-Type`
1845
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1846
+ ['application/json']) # noqa: E501
1847
+
1848
+ # Authentication setting
1849
+ auth_settings = ['X-Authorization'] # noqa: E501
1850
+
1851
+ return self.api_client.call_api(
1852
+ '/api/dashboard', 'POST',
1853
+ path_params,
1854
+ query_params,
1855
+ header_params,
1856
+ body=body_params,
1857
+ post_params=form_params,
1858
+ files=local_var_files,
1859
+ response_type='Dashboard', # noqa: E501
1860
+ auth_settings=auth_settings,
1861
+ async_req=params.get('async_req'),
1862
+ _return_http_data_only=params.get('_return_http_data_only'),
1863
+ _preload_content=params.get('_preload_content', True),
1864
+ _request_timeout=params.get('_request_timeout'),
1865
+ collection_formats=collection_formats)
1866
+
1867
+ def set_tenant_home_dashboard_info_using_post(self, **kwargs): # noqa: E501
1868
+ """Update Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
1869
+
1870
+ Update the home dashboard assignment for the current tenant. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1871
+ This method makes a synchronous HTTP request by default. To make an
1872
+ asynchronous HTTP request, please pass async_req=True
1873
+ >>> thread = api.set_tenant_home_dashboard_info_using_post(async_req=True)
1874
+ >>> result = thread.get()
1875
+
1876
+ :param async_req bool
1877
+ :param HomeDashboardInfo body:
1878
+ :return: None
1879
+ If the method is called asynchronously,
1880
+ returns the request thread.
1881
+ """
1882
+ kwargs['_return_http_data_only'] = True
1883
+ if kwargs.get('async_req'):
1884
+ return self.set_tenant_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
1885
+ else:
1886
+ (data) = self.set_tenant_home_dashboard_info_using_post_with_http_info(**kwargs) # noqa: E501
1887
+ return data
1888
+
1889
+ def set_tenant_home_dashboard_info_using_post_with_http_info(self, **kwargs): # noqa: E501
1890
+ """Update Tenant Home Dashboard Info (getTenantHomeDashboardInfo) # noqa: E501
1891
+
1892
+ Update the home dashboard assignment for the current tenant. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1893
+ This method makes a synchronous HTTP request by default. To make an
1894
+ asynchronous HTTP request, please pass async_req=True
1895
+ >>> thread = api.set_tenant_home_dashboard_info_using_post_with_http_info(async_req=True)
1896
+ >>> result = thread.get()
1897
+
1898
+ :param async_req bool
1899
+ :param HomeDashboardInfo body:
1900
+ :return: None
1901
+ If the method is called asynchronously,
1902
+ returns the request thread.
1903
+ """
1904
+
1905
+ all_params = ['body'] # noqa: E501
1906
+ all_params.append('async_req')
1907
+ all_params.append('_return_http_data_only')
1908
+ all_params.append('_preload_content')
1909
+ all_params.append('_request_timeout')
1910
+
1911
+ params = locals()
1912
+ for key, val in six.iteritems(params['kwargs']):
1913
+ if key not in all_params:
1914
+ raise TypeError(
1915
+ "Got an unexpected keyword argument '%s'"
1916
+ " to method set_tenant_home_dashboard_info_using_post" % key
1917
+ )
1918
+ params[key] = val
1919
+ del params['kwargs']
1920
+
1921
+ collection_formats = {}
1922
+
1923
+ path_params = {}
1924
+
1925
+ query_params = []
1926
+
1927
+ header_params = {}
1928
+
1929
+ form_params = []
1930
+ local_var_files = {}
1931
+
1932
+ body_params = None
1933
+ if 'body' in params:
1934
+ body_params = params['body']
1935
+ # HTTP header `Accept`
1936
+ header_params['Accept'] = self.api_client.select_header_accept(
1937
+ ['application/json']) # noqa: E501
1938
+
1939
+ # HTTP header `Content-Type`
1940
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1941
+ ['application/json']) # noqa: E501
1942
+
1943
+ # Authentication setting
1944
+ auth_settings = ['X-Authorization'] # noqa: E501
1945
+
1946
+ return self.api_client.call_api(
1947
+ '/api/tenant/dashboard/home/info', 'POST',
1948
+ path_params,
1949
+ query_params,
1950
+ header_params,
1951
+ body=body_params,
1952
+ post_params=form_params,
1953
+ files=local_var_files,
1954
+ response_type=None, # noqa: E501
1955
+ auth_settings=auth_settings,
1956
+ async_req=params.get('async_req'),
1957
+ _return_http_data_only=params.get('_return_http_data_only'),
1958
+ _preload_content=params.get('_preload_content', True),
1959
+ _request_timeout=params.get('_request_timeout'),
1960
+ collection_formats=collection_formats)
1961
+
1962
+ def unassign_dashboard_from_customer_using_delete(self, customer_id, dashboard_id, **kwargs): # noqa: E501
1963
+ """Unassign the Dashboard (unassignDashboardFromCustomer) # noqa: E501
1964
+
1965
+ Unassign the Dashboard from specified Customer or do nothing if the Dashboard is already assigned to that Customer. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1966
+ This method makes a synchronous HTTP request by default. To make an
1967
+ asynchronous HTTP request, please pass async_req=True
1968
+ >>> thread = api.unassign_dashboard_from_customer_using_delete(customer_id, dashboard_id, async_req=True)
1969
+ >>> result = thread.get()
1970
+
1971
+ :param async_req bool
1972
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1973
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1974
+ :return: Dashboard
1975
+ If the method is called asynchronously,
1976
+ returns the request thread.
1977
+ """
1978
+ kwargs['_return_http_data_only'] = True
1979
+ if kwargs.get('async_req'):
1980
+ return self.unassign_dashboard_from_customer_using_delete_with_http_info(customer_id, dashboard_id, **kwargs) # noqa: E501
1981
+ else:
1982
+ (data) = self.unassign_dashboard_from_customer_using_delete_with_http_info(customer_id, dashboard_id, **kwargs) # noqa: E501
1983
+ return data
1984
+
1985
+ def unassign_dashboard_from_customer_using_delete_with_http_info(self, customer_id, dashboard_id, **kwargs): # noqa: E501
1986
+ """Unassign the Dashboard (unassignDashboardFromCustomer) # noqa: E501
1987
+
1988
+ Unassign the Dashboard from specified Customer or do nothing if the Dashboard is already assigned to that Customer. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1989
+ This method makes a synchronous HTTP request by default. To make an
1990
+ asynchronous HTTP request, please pass async_req=True
1991
+ >>> thread = api.unassign_dashboard_from_customer_using_delete_with_http_info(customer_id, dashboard_id, async_req=True)
1992
+ >>> result = thread.get()
1993
+
1994
+ :param async_req bool
1995
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1996
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1997
+ :return: Dashboard
1998
+ If the method is called asynchronously,
1999
+ returns the request thread.
2000
+ """
2001
+
2002
+ all_params = ['customer_id', 'dashboard_id'] # noqa: E501
2003
+ all_params.append('async_req')
2004
+ all_params.append('_return_http_data_only')
2005
+ all_params.append('_preload_content')
2006
+ all_params.append('_request_timeout')
2007
+
2008
+ params = locals()
2009
+ for key, val in six.iteritems(params['kwargs']):
2010
+ if key not in all_params:
2011
+ raise TypeError(
2012
+ "Got an unexpected keyword argument '%s'"
2013
+ " to method unassign_dashboard_from_customer_using_delete" % key
2014
+ )
2015
+ params[key] = val
2016
+ del params['kwargs']
2017
+ # verify the required parameter 'customer_id' is set
2018
+ if ('customer_id' not in params or
2019
+ params['customer_id'] is None):
2020
+ raise ValueError("Missing the required parameter `customer_id` when calling `unassign_dashboard_from_customer_using_delete`") # noqa: E501
2021
+ # verify the required parameter 'dashboard_id' is set
2022
+ if ('dashboard_id' not in params or
2023
+ params['dashboard_id'] is None):
2024
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `unassign_dashboard_from_customer_using_delete`") # noqa: E501
2025
+
2026
+ collection_formats = {}
2027
+
2028
+ path_params = {}
2029
+ if 'customer_id' in params:
2030
+ path_params['customerId'] = params['customer_id'] # noqa: E501
2031
+ if 'dashboard_id' in params:
2032
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
2033
+
2034
+ query_params = []
2035
+
2036
+ header_params = {}
2037
+
2038
+ form_params = []
2039
+ local_var_files = {}
2040
+
2041
+ body_params = None
2042
+ # HTTP header `Accept`
2043
+ header_params['Accept'] = self.api_client.select_header_accept(
2044
+ ['application/json']) # noqa: E501
2045
+
2046
+ # Authentication setting
2047
+ auth_settings = ['X-Authorization'] # noqa: E501
2048
+
2049
+ return self.api_client.call_api(
2050
+ '/api/customer/{customerId}/dashboard/{dashboardId}', 'DELETE',
2051
+ path_params,
2052
+ query_params,
2053
+ header_params,
2054
+ body=body_params,
2055
+ post_params=form_params,
2056
+ files=local_var_files,
2057
+ response_type='Dashboard', # noqa: E501
2058
+ auth_settings=auth_settings,
2059
+ async_req=params.get('async_req'),
2060
+ _return_http_data_only=params.get('_return_http_data_only'),
2061
+ _preload_content=params.get('_preload_content', True),
2062
+ _request_timeout=params.get('_request_timeout'),
2063
+ collection_formats=collection_formats)
2064
+
2065
+ def unassign_dashboard_from_edge_using_delete(self, edge_id, dashboard_id, **kwargs): # noqa: E501
2066
+ """Unassign dashboard from edge (unassignDashboardFromEdge) # noqa: E501
2067
+
2068
+ Clears assignment of the dashboard to the edge. Unassignment works in async way - first, 'unassign' notification event pushed to edge queue on platform. Second, remote edge service will receive an 'unassign' command to remove dashboard (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once 'unassign' command will be delivered to edge service, it's going to remove dashboard locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2069
+ This method makes a synchronous HTTP request by default. To make an
2070
+ asynchronous HTTP request, please pass async_req=True
2071
+ >>> thread = api.unassign_dashboard_from_edge_using_delete(edge_id, dashboard_id, async_req=True)
2072
+ >>> result = thread.get()
2073
+
2074
+ :param async_req bool
2075
+ :param str edge_id: edgeId (required)
2076
+ :param str dashboard_id: dashboardId (required)
2077
+ :return: Dashboard
2078
+ If the method is called asynchronously,
2079
+ returns the request thread.
2080
+ """
2081
+ kwargs['_return_http_data_only'] = True
2082
+ if kwargs.get('async_req'):
2083
+ return self.unassign_dashboard_from_edge_using_delete_with_http_info(edge_id, dashboard_id, **kwargs) # noqa: E501
2084
+ else:
2085
+ (data) = self.unassign_dashboard_from_edge_using_delete_with_http_info(edge_id, dashboard_id, **kwargs) # noqa: E501
2086
+ return data
2087
+
2088
+ def unassign_dashboard_from_edge_using_delete_with_http_info(self, edge_id, dashboard_id, **kwargs): # noqa: E501
2089
+ """Unassign dashboard from edge (unassignDashboardFromEdge) # noqa: E501
2090
+
2091
+ Clears assignment of the dashboard to the edge. Unassignment works in async way - first, 'unassign' notification event pushed to edge queue on platform. Second, remote edge service will receive an 'unassign' command to remove dashboard (Edge will receive this instantly, if it's currently connected, or once it's going to be connected to platform). Third, once 'unassign' command will be delivered to edge service, it's going to remove dashboard locally. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2092
+ This method makes a synchronous HTTP request by default. To make an
2093
+ asynchronous HTTP request, please pass async_req=True
2094
+ >>> thread = api.unassign_dashboard_from_edge_using_delete_with_http_info(edge_id, dashboard_id, async_req=True)
2095
+ >>> result = thread.get()
2096
+
2097
+ :param async_req bool
2098
+ :param str edge_id: edgeId (required)
2099
+ :param str dashboard_id: dashboardId (required)
2100
+ :return: Dashboard
2101
+ If the method is called asynchronously,
2102
+ returns the request thread.
2103
+ """
2104
+
2105
+ all_params = ['edge_id', 'dashboard_id'] # noqa: E501
2106
+ all_params.append('async_req')
2107
+ all_params.append('_return_http_data_only')
2108
+ all_params.append('_preload_content')
2109
+ all_params.append('_request_timeout')
2110
+
2111
+ params = locals()
2112
+ for key, val in six.iteritems(params['kwargs']):
2113
+ if key not in all_params:
2114
+ raise TypeError(
2115
+ "Got an unexpected keyword argument '%s'"
2116
+ " to method unassign_dashboard_from_edge_using_delete" % key
2117
+ )
2118
+ params[key] = val
2119
+ del params['kwargs']
2120
+ # verify the required parameter 'edge_id' is set
2121
+ if ('edge_id' not in params or
2122
+ params['edge_id'] is None):
2123
+ raise ValueError("Missing the required parameter `edge_id` when calling `unassign_dashboard_from_edge_using_delete`") # noqa: E501
2124
+ # verify the required parameter 'dashboard_id' is set
2125
+ if ('dashboard_id' not in params or
2126
+ params['dashboard_id'] is None):
2127
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `unassign_dashboard_from_edge_using_delete`") # noqa: E501
2128
+
2129
+ collection_formats = {}
2130
+
2131
+ path_params = {}
2132
+ if 'edge_id' in params:
2133
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
2134
+ if 'dashboard_id' in params:
2135
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
2136
+
2137
+ query_params = []
2138
+
2139
+ header_params = {}
2140
+
2141
+ form_params = []
2142
+ local_var_files = {}
2143
+
2144
+ body_params = None
2145
+ # HTTP header `Accept`
2146
+ header_params['Accept'] = self.api_client.select_header_accept(
2147
+ ['application/json']) # noqa: E501
2148
+
2149
+ # Authentication setting
2150
+ auth_settings = ['X-Authorization'] # noqa: E501
2151
+
2152
+ return self.api_client.call_api(
2153
+ '/api/edge/{edgeId}/dashboard/{dashboardId}', 'DELETE',
2154
+ path_params,
2155
+ query_params,
2156
+ header_params,
2157
+ body=body_params,
2158
+ post_params=form_params,
2159
+ files=local_var_files,
2160
+ response_type='Dashboard', # noqa: E501
2161
+ auth_settings=auth_settings,
2162
+ async_req=params.get('async_req'),
2163
+ _return_http_data_only=params.get('_return_http_data_only'),
2164
+ _preload_content=params.get('_preload_content', True),
2165
+ _request_timeout=params.get('_request_timeout'),
2166
+ collection_formats=collection_formats)
2167
+
2168
+ def unassign_dashboard_from_public_customer_using_delete(self, dashboard_id, **kwargs): # noqa: E501
2169
+ """Unassign the Dashboard from Public Customer (unassignDashboardFromPublicCustomer) # noqa: E501
2170
+
2171
+ Unassigns the dashboard from a special, auto-generated 'Public' Customer. Once unassigned, unauthenticated users may no longer browse the dashboard. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2172
+ This method makes a synchronous HTTP request by default. To make an
2173
+ asynchronous HTTP request, please pass async_req=True
2174
+ >>> thread = api.unassign_dashboard_from_public_customer_using_delete(dashboard_id, async_req=True)
2175
+ >>> result = thread.get()
2176
+
2177
+ :param async_req bool
2178
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2179
+ :return: Dashboard
2180
+ If the method is called asynchronously,
2181
+ returns the request thread.
2182
+ """
2183
+ kwargs['_return_http_data_only'] = True
2184
+ if kwargs.get('async_req'):
2185
+ return self.unassign_dashboard_from_public_customer_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
2186
+ else:
2187
+ (data) = self.unassign_dashboard_from_public_customer_using_delete_with_http_info(dashboard_id, **kwargs) # noqa: E501
2188
+ return data
2189
+
2190
+ def unassign_dashboard_from_public_customer_using_delete_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
2191
+ """Unassign the Dashboard from Public Customer (unassignDashboardFromPublicCustomer) # noqa: E501
2192
+
2193
+ Unassigns the dashboard from a special, auto-generated 'Public' Customer. Once unassigned, unauthenticated users may no longer browse the dashboard. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2194
+ This method makes a synchronous HTTP request by default. To make an
2195
+ asynchronous HTTP request, please pass async_req=True
2196
+ >>> thread = api.unassign_dashboard_from_public_customer_using_delete_with_http_info(dashboard_id, async_req=True)
2197
+ >>> result = thread.get()
2198
+
2199
+ :param async_req bool
2200
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2201
+ :return: Dashboard
2202
+ If the method is called asynchronously,
2203
+ returns the request thread.
2204
+ """
2205
+
2206
+ all_params = ['dashboard_id'] # noqa: E501
2207
+ all_params.append('async_req')
2208
+ all_params.append('_return_http_data_only')
2209
+ all_params.append('_preload_content')
2210
+ all_params.append('_request_timeout')
2211
+
2212
+ params = locals()
2213
+ for key, val in six.iteritems(params['kwargs']):
2214
+ if key not in all_params:
2215
+ raise TypeError(
2216
+ "Got an unexpected keyword argument '%s'"
2217
+ " to method unassign_dashboard_from_public_customer_using_delete" % key
2218
+ )
2219
+ params[key] = val
2220
+ del params['kwargs']
2221
+ # verify the required parameter 'dashboard_id' is set
2222
+ if ('dashboard_id' not in params or
2223
+ params['dashboard_id'] is None):
2224
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `unassign_dashboard_from_public_customer_using_delete`") # noqa: E501
2225
+
2226
+ collection_formats = {}
2227
+
2228
+ path_params = {}
2229
+ if 'dashboard_id' in params:
2230
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
2231
+
2232
+ query_params = []
2233
+
2234
+ header_params = {}
2235
+
2236
+ form_params = []
2237
+ local_var_files = {}
2238
+
2239
+ body_params = None
2240
+ # HTTP header `Accept`
2241
+ header_params['Accept'] = self.api_client.select_header_accept(
2242
+ ['application/json']) # noqa: E501
2243
+
2244
+ # Authentication setting
2245
+ auth_settings = ['X-Authorization'] # noqa: E501
2246
+
2247
+ return self.api_client.call_api(
2248
+ '/api/customer/public/dashboard/{dashboardId}', 'DELETE',
2249
+ path_params,
2250
+ query_params,
2251
+ header_params,
2252
+ body=body_params,
2253
+ post_params=form_params,
2254
+ files=local_var_files,
2255
+ response_type='Dashboard', # noqa: E501
2256
+ auth_settings=auth_settings,
2257
+ async_req=params.get('async_req'),
2258
+ _return_http_data_only=params.get('_return_http_data_only'),
2259
+ _preload_content=params.get('_preload_content', True),
2260
+ _request_timeout=params.get('_request_timeout'),
2261
+ collection_formats=collection_formats)
2262
+
2263
+ def update_dashboard_customers_using_post(self, dashboard_id, **kwargs): # noqa: E501
2264
+ """Update the Dashboard Customers (updateDashboardCustomers) # noqa: E501
2265
+
2266
+ Updates the list of Customers that this Dashboard is assigned to. Removes previous assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2267
+ This method makes a synchronous HTTP request by default. To make an
2268
+ asynchronous HTTP request, please pass async_req=True
2269
+ >>> thread = api.update_dashboard_customers_using_post(dashboard_id, async_req=True)
2270
+ >>> result = thread.get()
2271
+
2272
+ :param async_req bool
2273
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2274
+ :param list[str] body:
2275
+ :return: Dashboard
2276
+ If the method is called asynchronously,
2277
+ returns the request thread.
2278
+ """
2279
+ kwargs['_return_http_data_only'] = True
2280
+ if kwargs.get('async_req'):
2281
+ return self.update_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
2282
+ else:
2283
+ (data) = self.update_dashboard_customers_using_post_with_http_info(dashboard_id, **kwargs) # noqa: E501
2284
+ return data
2285
+
2286
+ def update_dashboard_customers_using_post_with_http_info(self, dashboard_id, **kwargs): # noqa: E501
2287
+ """Update the Dashboard Customers (updateDashboardCustomers) # noqa: E501
2288
+
2289
+ Updates the list of Customers that this Dashboard is assigned to. Removes previous assignments to customers that are not in the provided list. Returns the Dashboard object. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2290
+ This method makes a synchronous HTTP request by default. To make an
2291
+ asynchronous HTTP request, please pass async_req=True
2292
+ >>> thread = api.update_dashboard_customers_using_post_with_http_info(dashboard_id, async_req=True)
2293
+ >>> result = thread.get()
2294
+
2295
+ :param async_req bool
2296
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2297
+ :param list[str] body:
2298
+ :return: Dashboard
2299
+ If the method is called asynchronously,
2300
+ returns the request thread.
2301
+ """
2302
+
2303
+ all_params = ['dashboard_id', 'body'] # noqa: E501
2304
+ all_params.append('async_req')
2305
+ all_params.append('_return_http_data_only')
2306
+ all_params.append('_preload_content')
2307
+ all_params.append('_request_timeout')
2308
+
2309
+ params = locals()
2310
+ for key, val in six.iteritems(params['kwargs']):
2311
+ if key not in all_params:
2312
+ raise TypeError(
2313
+ "Got an unexpected keyword argument '%s'"
2314
+ " to method update_dashboard_customers_using_post" % key
2315
+ )
2316
+ params[key] = val
2317
+ del params['kwargs']
2318
+ # verify the required parameter 'dashboard_id' is set
2319
+ if ('dashboard_id' not in params or
2320
+ params['dashboard_id'] is None):
2321
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `update_dashboard_customers_using_post`") # noqa: E501
2322
+
2323
+ collection_formats = {}
2324
+
2325
+ path_params = {}
2326
+ if 'dashboard_id' in params:
2327
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
2328
+
2329
+ query_params = []
2330
+
2331
+ header_params = {}
2332
+
2333
+ form_params = []
2334
+ local_var_files = {}
2335
+
2336
+ body_params = None
2337
+ if 'body' in params:
2338
+ body_params = params['body']
2339
+ # HTTP header `Accept`
2340
+ header_params['Accept'] = self.api_client.select_header_accept(
2341
+ ['application/json']) # noqa: E501
2342
+
2343
+ # HTTP header `Content-Type`
2344
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2345
+ ['application/json']) # noqa: E501
2346
+
2347
+ # Authentication setting
2348
+ auth_settings = ['X-Authorization'] # noqa: E501
2349
+
2350
+ return self.api_client.call_api(
2351
+ '/api/dashboard/{dashboardId}/customers', 'POST',
2352
+ path_params,
2353
+ query_params,
2354
+ header_params,
2355
+ body=body_params,
2356
+ post_params=form_params,
2357
+ files=local_var_files,
2358
+ response_type='Dashboard', # noqa: E501
2359
+ auth_settings=auth_settings,
2360
+ async_req=params.get('async_req'),
2361
+ _return_http_data_only=params.get('_return_http_data_only'),
2362
+ _preload_content=params.get('_preload_content', True),
2363
+ _request_timeout=params.get('_request_timeout'),
2364
+ collection_formats=collection_formats)