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,1480 @@
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 NotificationControllerApi(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 create_notification_request_using_post(self, **kwargs): # noqa: E501
50
+ """Create notification request (createNotificationRequest) # noqa: E501
51
+
52
+ Processes notification request. Mandatory request properties are `targets` (list of targets ids to send notification to), and either `templateId` (existing notification template id) or `template` (to send notification without saving the template). Optionally, you can set `sendingDelayInSec` inside the `additionalConfig` field to schedule the notification. For each enabled delivery method in the notification template, there must be a target in the `targets` list that supports this delivery method: if you chose `WEB`, `EMAIL` or `SMS` - there must be at least one target in `targets` of `PLATFORM_USERS` type. For `SLACK` delivery method - you need to chose at least one `SLACK` notification target. Notification request object with `PROCESSING` status will be returned immediately, and the notification sending itself is done asynchronously. After all notifications are sent, the `status` of the request becomes `SENT`. Use `getNotificationRequestById` to see the notification request processing status and some sending stats. Here is an example of notification request to one target using saved template: ```json { \"templateId\": { \"entityType\": \"NOTIFICATION_TEMPLATE\", \"id\": \"6dbc3670-e4dd-11ed-9401-dbcc5dff78be\" }, \"targets\": [ \"320e3ed0-d785-11ed-a06c-21dd57dd88ca\" ], \"additionalConfig\": { \"sendingDelayInSec\": 0 } } ``` Available for users with 'SYS_ADMIN' or '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.create_notification_request_using_post(async_req=True)
56
+ >>> result = thread.get()
57
+
58
+ :param async_req bool
59
+ :param NotificationRequest body:
60
+ :return: NotificationRequest
61
+ If the method is called asynchronously,
62
+ returns the request thread.
63
+ """
64
+ kwargs['_return_http_data_only'] = True
65
+ if kwargs.get('async_req'):
66
+ return self.create_notification_request_using_post_with_http_info(**kwargs) # noqa: E501
67
+ else:
68
+ (data) = self.create_notification_request_using_post_with_http_info(**kwargs) # noqa: E501
69
+ return data
70
+
71
+ def create_notification_request_using_post_with_http_info(self, **kwargs): # noqa: E501
72
+ """Create notification request (createNotificationRequest) # noqa: E501
73
+
74
+ Processes notification request. Mandatory request properties are `targets` (list of targets ids to send notification to), and either `templateId` (existing notification template id) or `template` (to send notification without saving the template). Optionally, you can set `sendingDelayInSec` inside the `additionalConfig` field to schedule the notification. For each enabled delivery method in the notification template, there must be a target in the `targets` list that supports this delivery method: if you chose `WEB`, `EMAIL` or `SMS` - there must be at least one target in `targets` of `PLATFORM_USERS` type. For `SLACK` delivery method - you need to chose at least one `SLACK` notification target. Notification request object with `PROCESSING` status will be returned immediately, and the notification sending itself is done asynchronously. After all notifications are sent, the `status` of the request becomes `SENT`. Use `getNotificationRequestById` to see the notification request processing status and some sending stats. Here is an example of notification request to one target using saved template: ```json { \"templateId\": { \"entityType\": \"NOTIFICATION_TEMPLATE\", \"id\": \"6dbc3670-e4dd-11ed-9401-dbcc5dff78be\" }, \"targets\": [ \"320e3ed0-d785-11ed-a06c-21dd57dd88ca\" ], \"additionalConfig\": { \"sendingDelayInSec\": 0 } } ``` Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
75
+ This method makes a synchronous HTTP request by default. To make an
76
+ asynchronous HTTP request, please pass async_req=True
77
+ >>> thread = api.create_notification_request_using_post_with_http_info(async_req=True)
78
+ >>> result = thread.get()
79
+
80
+ :param async_req bool
81
+ :param NotificationRequest body:
82
+ :return: NotificationRequest
83
+ If the method is called asynchronously,
84
+ returns the request thread.
85
+ """
86
+
87
+ all_params = ['body'] # noqa: E501
88
+ all_params.append('async_req')
89
+ all_params.append('_return_http_data_only')
90
+ all_params.append('_preload_content')
91
+ all_params.append('_request_timeout')
92
+
93
+ params = locals()
94
+ for key, val in six.iteritems(params['kwargs']):
95
+ if key not in all_params:
96
+ raise TypeError(
97
+ "Got an unexpected keyword argument '%s'"
98
+ " to method create_notification_request_using_post" % key
99
+ )
100
+ params[key] = val
101
+ del params['kwargs']
102
+
103
+ collection_formats = {}
104
+
105
+ path_params = {}
106
+
107
+ query_params = []
108
+
109
+ header_params = {}
110
+
111
+ form_params = []
112
+ local_var_files = {}
113
+
114
+ body_params = None
115
+ if 'body' in params:
116
+ body_params = params['body']
117
+ # HTTP header `Accept`
118
+ header_params['Accept'] = self.api_client.select_header_accept(
119
+ ['application/json']) # noqa: E501
120
+
121
+ # HTTP header `Content-Type`
122
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
123
+ ['application/json']) # noqa: E501
124
+
125
+ # Authentication setting
126
+ auth_settings = ['X-Authorization'] # noqa: E501
127
+
128
+ return self.api_client.call_api(
129
+ '/api/notification/request', 'POST',
130
+ path_params,
131
+ query_params,
132
+ header_params,
133
+ body=body_params,
134
+ post_params=form_params,
135
+ files=local_var_files,
136
+ response_type='NotificationRequest', # noqa: E501
137
+ auth_settings=auth_settings,
138
+ async_req=params.get('async_req'),
139
+ _return_http_data_only=params.get('_return_http_data_only'),
140
+ _preload_content=params.get('_preload_content', True),
141
+ _request_timeout=params.get('_request_timeout'),
142
+ collection_formats=collection_formats)
143
+
144
+ def delete_notification_request_using_delete(self, id, **kwargs): # noqa: E501
145
+ """Delete notification request (deleteNotificationRequest) # noqa: E501
146
+
147
+ Deletes notification request by its id. If the request has status `SENT` - all sent notifications for this request will be deleted. If it is `SCHEDULED`, the request will be cancelled. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
148
+ This method makes a synchronous HTTP request by default. To make an
149
+ asynchronous HTTP request, please pass async_req=True
150
+ >>> thread = api.delete_notification_request_using_delete(id, async_req=True)
151
+ >>> result = thread.get()
152
+
153
+ :param async_req bool
154
+ :param str id: id (required)
155
+ :return: None
156
+ If the method is called asynchronously,
157
+ returns the request thread.
158
+ """
159
+ kwargs['_return_http_data_only'] = True
160
+ if kwargs.get('async_req'):
161
+ return self.delete_notification_request_using_delete_with_http_info(id, **kwargs) # noqa: E501
162
+ else:
163
+ (data) = self.delete_notification_request_using_delete_with_http_info(id, **kwargs) # noqa: E501
164
+ return data
165
+
166
+ def delete_notification_request_using_delete_with_http_info(self, id, **kwargs): # noqa: E501
167
+ """Delete notification request (deleteNotificationRequest) # noqa: E501
168
+
169
+ Deletes notification request by its id. If the request has status `SENT` - all sent notifications for this request will be deleted. If it is `SCHEDULED`, the request will be cancelled. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
170
+ This method makes a synchronous HTTP request by default. To make an
171
+ asynchronous HTTP request, please pass async_req=True
172
+ >>> thread = api.delete_notification_request_using_delete_with_http_info(id, async_req=True)
173
+ >>> result = thread.get()
174
+
175
+ :param async_req bool
176
+ :param str id: id (required)
177
+ :return: None
178
+ If the method is called asynchronously,
179
+ returns the request thread.
180
+ """
181
+
182
+ all_params = ['id'] # noqa: E501
183
+ all_params.append('async_req')
184
+ all_params.append('_return_http_data_only')
185
+ all_params.append('_preload_content')
186
+ all_params.append('_request_timeout')
187
+
188
+ params = locals()
189
+ for key, val in six.iteritems(params['kwargs']):
190
+ if key not in all_params:
191
+ raise TypeError(
192
+ "Got an unexpected keyword argument '%s'"
193
+ " to method delete_notification_request_using_delete" % key
194
+ )
195
+ params[key] = val
196
+ del params['kwargs']
197
+ # verify the required parameter 'id' is set
198
+ if ('id' not in params or
199
+ params['id'] is None):
200
+ raise ValueError("Missing the required parameter `id` when calling `delete_notification_request_using_delete`") # noqa: E501
201
+
202
+ collection_formats = {}
203
+
204
+ path_params = {}
205
+ if 'id' in params:
206
+ path_params['id'] = params['id'] # noqa: E501
207
+
208
+ query_params = []
209
+
210
+ header_params = {}
211
+
212
+ form_params = []
213
+ local_var_files = {}
214
+
215
+ body_params = None
216
+ # HTTP header `Accept`
217
+ header_params['Accept'] = self.api_client.select_header_accept(
218
+ ['application/json']) # noqa: E501
219
+
220
+ # Authentication setting
221
+ auth_settings = ['X-Authorization'] # noqa: E501
222
+
223
+ return self.api_client.call_api(
224
+ '/api/notification/request/{id}', 'DELETE',
225
+ path_params,
226
+ query_params,
227
+ header_params,
228
+ body=body_params,
229
+ post_params=form_params,
230
+ files=local_var_files,
231
+ response_type=None, # noqa: E501
232
+ auth_settings=auth_settings,
233
+ async_req=params.get('async_req'),
234
+ _return_http_data_only=params.get('_return_http_data_only'),
235
+ _preload_content=params.get('_preload_content', True),
236
+ _request_timeout=params.get('_request_timeout'),
237
+ collection_formats=collection_formats)
238
+
239
+ def delete_notification_using_delete(self, id, **kwargs): # noqa: E501
240
+ """Delete notification (deleteNotification) # noqa: E501
241
+
242
+ Deletes notification by its id. Available for any authorized user. # noqa: E501
243
+ This method makes a synchronous HTTP request by default. To make an
244
+ asynchronous HTTP request, please pass async_req=True
245
+ >>> thread = api.delete_notification_using_delete(id, async_req=True)
246
+ >>> result = thread.get()
247
+
248
+ :param async_req bool
249
+ :param str id: id (required)
250
+ :return: None
251
+ If the method is called asynchronously,
252
+ returns the request thread.
253
+ """
254
+ kwargs['_return_http_data_only'] = True
255
+ if kwargs.get('async_req'):
256
+ return self.delete_notification_using_delete_with_http_info(id, **kwargs) # noqa: E501
257
+ else:
258
+ (data) = self.delete_notification_using_delete_with_http_info(id, **kwargs) # noqa: E501
259
+ return data
260
+
261
+ def delete_notification_using_delete_with_http_info(self, id, **kwargs): # noqa: E501
262
+ """Delete notification (deleteNotification) # noqa: E501
263
+
264
+ Deletes notification by its id. Available for any authorized user. # noqa: E501
265
+ This method makes a synchronous HTTP request by default. To make an
266
+ asynchronous HTTP request, please pass async_req=True
267
+ >>> thread = api.delete_notification_using_delete_with_http_info(id, async_req=True)
268
+ >>> result = thread.get()
269
+
270
+ :param async_req bool
271
+ :param str id: id (required)
272
+ :return: None
273
+ If the method is called asynchronously,
274
+ returns the request thread.
275
+ """
276
+
277
+ all_params = ['id'] # noqa: E501
278
+ all_params.append('async_req')
279
+ all_params.append('_return_http_data_only')
280
+ all_params.append('_preload_content')
281
+ all_params.append('_request_timeout')
282
+
283
+ params = locals()
284
+ for key, val in six.iteritems(params['kwargs']):
285
+ if key not in all_params:
286
+ raise TypeError(
287
+ "Got an unexpected keyword argument '%s'"
288
+ " to method delete_notification_using_delete" % key
289
+ )
290
+ params[key] = val
291
+ del params['kwargs']
292
+ # verify the required parameter 'id' is set
293
+ if ('id' not in params or
294
+ params['id'] is None):
295
+ raise ValueError("Missing the required parameter `id` when calling `delete_notification_using_delete`") # noqa: E501
296
+
297
+ collection_formats = {}
298
+
299
+ path_params = {}
300
+ if 'id' in params:
301
+ path_params['id'] = params['id'] # noqa: E501
302
+
303
+ query_params = []
304
+
305
+ header_params = {}
306
+
307
+ form_params = []
308
+ local_var_files = {}
309
+
310
+ body_params = None
311
+ # HTTP header `Accept`
312
+ header_params['Accept'] = self.api_client.select_header_accept(
313
+ ['application/json']) # noqa: E501
314
+
315
+ # Authentication setting
316
+ auth_settings = ['X-Authorization'] # noqa: E501
317
+
318
+ return self.api_client.call_api(
319
+ '/api/notification/{id}', 'DELETE',
320
+ path_params,
321
+ query_params,
322
+ header_params,
323
+ body=body_params,
324
+ post_params=form_params,
325
+ files=local_var_files,
326
+ response_type=None, # noqa: E501
327
+ auth_settings=auth_settings,
328
+ async_req=params.get('async_req'),
329
+ _return_http_data_only=params.get('_return_http_data_only'),
330
+ _preload_content=params.get('_preload_content', True),
331
+ _request_timeout=params.get('_request_timeout'),
332
+ collection_formats=collection_formats)
333
+
334
+ def get_available_delivery_methods_using_get(self, **kwargs): # noqa: E501
335
+ """Get available delivery methods (getAvailableDeliveryMethods) # noqa: E501
336
+
337
+ Returns the list of delivery methods that are properly configured and are allowed to be used for sending notifications. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
338
+ This method makes a synchronous HTTP request by default. To make an
339
+ asynchronous HTTP request, please pass async_req=True
340
+ >>> thread = api.get_available_delivery_methods_using_get(async_req=True)
341
+ >>> result = thread.get()
342
+
343
+ :param async_req bool
344
+ :return: list[str]
345
+ If the method is called asynchronously,
346
+ returns the request thread.
347
+ """
348
+ kwargs['_return_http_data_only'] = True
349
+ if kwargs.get('async_req'):
350
+ return self.get_available_delivery_methods_using_get_with_http_info(**kwargs) # noqa: E501
351
+ else:
352
+ (data) = self.get_available_delivery_methods_using_get_with_http_info(**kwargs) # noqa: E501
353
+ return data
354
+
355
+ def get_available_delivery_methods_using_get_with_http_info(self, **kwargs): # noqa: E501
356
+ """Get available delivery methods (getAvailableDeliveryMethods) # noqa: E501
357
+
358
+ Returns the list of delivery methods that are properly configured and are allowed to be used for sending notifications. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
359
+ This method makes a synchronous HTTP request by default. To make an
360
+ asynchronous HTTP request, please pass async_req=True
361
+ >>> thread = api.get_available_delivery_methods_using_get_with_http_info(async_req=True)
362
+ >>> result = thread.get()
363
+
364
+ :param async_req bool
365
+ :return: list[str]
366
+ If the method is called asynchronously,
367
+ returns the request thread.
368
+ """
369
+
370
+ all_params = [] # noqa: E501
371
+ all_params.append('async_req')
372
+ all_params.append('_return_http_data_only')
373
+ all_params.append('_preload_content')
374
+ all_params.append('_request_timeout')
375
+
376
+ params = locals()
377
+ for key, val in six.iteritems(params['kwargs']):
378
+ if key not in all_params:
379
+ raise TypeError(
380
+ "Got an unexpected keyword argument '%s'"
381
+ " to method get_available_delivery_methods_using_get" % key
382
+ )
383
+ params[key] = val
384
+ del params['kwargs']
385
+
386
+ collection_formats = {}
387
+
388
+ path_params = {}
389
+
390
+ query_params = []
391
+
392
+ header_params = {}
393
+
394
+ form_params = []
395
+ local_var_files = {}
396
+
397
+ body_params = None
398
+ # HTTP header `Accept`
399
+ header_params['Accept'] = self.api_client.select_header_accept(
400
+ ['application/json']) # noqa: E501
401
+
402
+ # Authentication setting
403
+ auth_settings = ['X-Authorization'] # noqa: E501
404
+
405
+ return self.api_client.call_api(
406
+ '/api/notification/deliveryMethods', 'GET',
407
+ path_params,
408
+ query_params,
409
+ header_params,
410
+ body=body_params,
411
+ post_params=form_params,
412
+ files=local_var_files,
413
+ response_type='list[str]', # noqa: E501
414
+ auth_settings=auth_settings,
415
+ async_req=params.get('async_req'),
416
+ _return_http_data_only=params.get('_return_http_data_only'),
417
+ _preload_content=params.get('_preload_content', True),
418
+ _request_timeout=params.get('_request_timeout'),
419
+ collection_formats=collection_formats)
420
+
421
+ def get_notification_request_by_id_using_get(self, id, **kwargs): # noqa: E501
422
+ """Get notification request by id (getNotificationRequestById) # noqa: E501
423
+
424
+ Fetches notification request info by request id. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
425
+ This method makes a synchronous HTTP request by default. To make an
426
+ asynchronous HTTP request, please pass async_req=True
427
+ >>> thread = api.get_notification_request_by_id_using_get(id, async_req=True)
428
+ >>> result = thread.get()
429
+
430
+ :param async_req bool
431
+ :param str id: id (required)
432
+ :return: NotificationRequestInfo
433
+ If the method is called asynchronously,
434
+ returns the request thread.
435
+ """
436
+ kwargs['_return_http_data_only'] = True
437
+ if kwargs.get('async_req'):
438
+ return self.get_notification_request_by_id_using_get_with_http_info(id, **kwargs) # noqa: E501
439
+ else:
440
+ (data) = self.get_notification_request_by_id_using_get_with_http_info(id, **kwargs) # noqa: E501
441
+ return data
442
+
443
+ def get_notification_request_by_id_using_get_with_http_info(self, id, **kwargs): # noqa: E501
444
+ """Get notification request by id (getNotificationRequestById) # noqa: E501
445
+
446
+ Fetches notification request info by request id. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
447
+ This method makes a synchronous HTTP request by default. To make an
448
+ asynchronous HTTP request, please pass async_req=True
449
+ >>> thread = api.get_notification_request_by_id_using_get_with_http_info(id, async_req=True)
450
+ >>> result = thread.get()
451
+
452
+ :param async_req bool
453
+ :param str id: id (required)
454
+ :return: NotificationRequestInfo
455
+ If the method is called asynchronously,
456
+ returns the request thread.
457
+ """
458
+
459
+ all_params = ['id'] # noqa: E501
460
+ all_params.append('async_req')
461
+ all_params.append('_return_http_data_only')
462
+ all_params.append('_preload_content')
463
+ all_params.append('_request_timeout')
464
+
465
+ params = locals()
466
+ for key, val in six.iteritems(params['kwargs']):
467
+ if key not in all_params:
468
+ raise TypeError(
469
+ "Got an unexpected keyword argument '%s'"
470
+ " to method get_notification_request_by_id_using_get" % key
471
+ )
472
+ params[key] = val
473
+ del params['kwargs']
474
+ # verify the required parameter 'id' is set
475
+ if ('id' not in params or
476
+ params['id'] is None):
477
+ raise ValueError("Missing the required parameter `id` when calling `get_notification_request_by_id_using_get`") # noqa: E501
478
+
479
+ collection_formats = {}
480
+
481
+ path_params = {}
482
+ if 'id' in params:
483
+ path_params['id'] = params['id'] # noqa: E501
484
+
485
+ query_params = []
486
+
487
+ header_params = {}
488
+
489
+ form_params = []
490
+ local_var_files = {}
491
+
492
+ body_params = None
493
+ # HTTP header `Accept`
494
+ header_params['Accept'] = self.api_client.select_header_accept(
495
+ ['application/json']) # noqa: E501
496
+
497
+ # Authentication setting
498
+ auth_settings = ['X-Authorization'] # noqa: E501
499
+
500
+ return self.api_client.call_api(
501
+ '/api/notification/request/{id}', 'GET',
502
+ path_params,
503
+ query_params,
504
+ header_params,
505
+ body=body_params,
506
+ post_params=form_params,
507
+ files=local_var_files,
508
+ response_type='NotificationRequestInfo', # noqa: E501
509
+ auth_settings=auth_settings,
510
+ async_req=params.get('async_req'),
511
+ _return_http_data_only=params.get('_return_http_data_only'),
512
+ _preload_content=params.get('_preload_content', True),
513
+ _request_timeout=params.get('_request_timeout'),
514
+ collection_formats=collection_formats)
515
+
516
+ def get_notification_request_preview_using_post(self, **kwargs): # noqa: E501
517
+ """Get notification request preview (getNotificationRequestPreview) # noqa: E501
518
+
519
+ Returns preview for notification request. `processedTemplates` shows how the notifications for each delivery method will look like for the first recipient of the corresponding notification target. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
520
+ This method makes a synchronous HTTP request by default. To make an
521
+ asynchronous HTTP request, please pass async_req=True
522
+ >>> thread = api.get_notification_request_preview_using_post(async_req=True)
523
+ >>> result = thread.get()
524
+
525
+ :param async_req bool
526
+ :param NotificationRequest body:
527
+ :param int recipients_preview_size: Amount of the recipients to show in preview
528
+ :return: NotificationRequestPreview
529
+ If the method is called asynchronously,
530
+ returns the request thread.
531
+ """
532
+ kwargs['_return_http_data_only'] = True
533
+ if kwargs.get('async_req'):
534
+ return self.get_notification_request_preview_using_post_with_http_info(**kwargs) # noqa: E501
535
+ else:
536
+ (data) = self.get_notification_request_preview_using_post_with_http_info(**kwargs) # noqa: E501
537
+ return data
538
+
539
+ def get_notification_request_preview_using_post_with_http_info(self, **kwargs): # noqa: E501
540
+ """Get notification request preview (getNotificationRequestPreview) # noqa: E501
541
+
542
+ Returns preview for notification request. `processedTemplates` shows how the notifications for each delivery method will look like for the first recipient of the corresponding notification target. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
543
+ This method makes a synchronous HTTP request by default. To make an
544
+ asynchronous HTTP request, please pass async_req=True
545
+ >>> thread = api.get_notification_request_preview_using_post_with_http_info(async_req=True)
546
+ >>> result = thread.get()
547
+
548
+ :param async_req bool
549
+ :param NotificationRequest body:
550
+ :param int recipients_preview_size: Amount of the recipients to show in preview
551
+ :return: NotificationRequestPreview
552
+ If the method is called asynchronously,
553
+ returns the request thread.
554
+ """
555
+
556
+ all_params = ['body', 'recipients_preview_size'] # noqa: E501
557
+ all_params.append('async_req')
558
+ all_params.append('_return_http_data_only')
559
+ all_params.append('_preload_content')
560
+ all_params.append('_request_timeout')
561
+
562
+ params = locals()
563
+ for key, val in six.iteritems(params['kwargs']):
564
+ if key not in all_params:
565
+ raise TypeError(
566
+ "Got an unexpected keyword argument '%s'"
567
+ " to method get_notification_request_preview_using_post" % key
568
+ )
569
+ params[key] = val
570
+ del params['kwargs']
571
+
572
+ collection_formats = {}
573
+
574
+ path_params = {}
575
+
576
+ query_params = []
577
+ if 'recipients_preview_size' in params:
578
+ query_params.append(('recipientsPreviewSize', params['recipients_preview_size'])) # noqa: E501
579
+
580
+ header_params = {}
581
+
582
+ form_params = []
583
+ local_var_files = {}
584
+
585
+ body_params = None
586
+ if 'body' in params:
587
+ body_params = params['body']
588
+ # HTTP header `Accept`
589
+ header_params['Accept'] = self.api_client.select_header_accept(
590
+ ['application/json']) # noqa: E501
591
+
592
+ # HTTP header `Content-Type`
593
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
594
+ ['application/json']) # noqa: E501
595
+
596
+ # Authentication setting
597
+ auth_settings = ['X-Authorization'] # noqa: E501
598
+
599
+ return self.api_client.call_api(
600
+ '/api/notification/request/preview{?recipientsPreviewSize}', 'POST',
601
+ path_params,
602
+ query_params,
603
+ header_params,
604
+ body=body_params,
605
+ post_params=form_params,
606
+ files=local_var_files,
607
+ response_type='NotificationRequestPreview', # noqa: E501
608
+ auth_settings=auth_settings,
609
+ async_req=params.get('async_req'),
610
+ _return_http_data_only=params.get('_return_http_data_only'),
611
+ _preload_content=params.get('_preload_content', True),
612
+ _request_timeout=params.get('_request_timeout'),
613
+ collection_formats=collection_formats)
614
+
615
+ def get_notification_requests_using_get(self, page_size, page, **kwargs): # noqa: E501
616
+ """Get notification requests (getNotificationRequests) # noqa: E501
617
+
618
+ Returns the page of notification requests submitted by users of this tenant or sysadmins. 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' or 'TENANT_ADMIN' authority. # noqa: E501
619
+ This method makes a synchronous HTTP request by default. To make an
620
+ asynchronous HTTP request, please pass async_req=True
621
+ >>> thread = api.get_notification_requests_using_get(page_size, page, async_req=True)
622
+ >>> result = thread.get()
623
+
624
+ :param async_req bool
625
+ :param int page_size: Maximum amount of entities in a one page (required)
626
+ :param int page: Sequence number of page starting from 0 (required)
627
+ :param str text_search: Case-insensitive 'substring' filed based on the used template name
628
+ :param str sort_property: Property of entity to sort by
629
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
630
+ :return: PageDataNotificationRequestInfo
631
+ If the method is called asynchronously,
632
+ returns the request thread.
633
+ """
634
+ kwargs['_return_http_data_only'] = True
635
+ if kwargs.get('async_req'):
636
+ return self.get_notification_requests_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
637
+ else:
638
+ (data) = self.get_notification_requests_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
639
+ return data
640
+
641
+ def get_notification_requests_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
642
+ """Get notification requests (getNotificationRequests) # noqa: E501
643
+
644
+ Returns the page of notification requests submitted by users of this tenant or sysadmins. 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' or 'TENANT_ADMIN' authority. # noqa: E501
645
+ This method makes a synchronous HTTP request by default. To make an
646
+ asynchronous HTTP request, please pass async_req=True
647
+ >>> thread = api.get_notification_requests_using_get_with_http_info(page_size, page, async_req=True)
648
+ >>> result = thread.get()
649
+
650
+ :param async_req bool
651
+ :param int page_size: Maximum amount of entities in a one page (required)
652
+ :param int page: Sequence number of page starting from 0 (required)
653
+ :param str text_search: Case-insensitive 'substring' filed based on the used template name
654
+ :param str sort_property: Property of entity to sort by
655
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
656
+ :return: PageDataNotificationRequestInfo
657
+ If the method is called asynchronously,
658
+ returns the request thread.
659
+ """
660
+
661
+ all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
662
+ all_params.append('async_req')
663
+ all_params.append('_return_http_data_only')
664
+ all_params.append('_preload_content')
665
+ all_params.append('_request_timeout')
666
+
667
+ params = locals()
668
+ for key, val in six.iteritems(params['kwargs']):
669
+ if key not in all_params:
670
+ raise TypeError(
671
+ "Got an unexpected keyword argument '%s'"
672
+ " to method get_notification_requests_using_get" % key
673
+ )
674
+ params[key] = val
675
+ del params['kwargs']
676
+ # verify the required parameter 'page_size' is set
677
+ if ('page_size' not in params or
678
+ params['page_size'] is None):
679
+ raise ValueError("Missing the required parameter `page_size` when calling `get_notification_requests_using_get`") # noqa: E501
680
+ # verify the required parameter 'page' is set
681
+ if ('page' not in params or
682
+ params['page'] is None):
683
+ raise ValueError("Missing the required parameter `page` when calling `get_notification_requests_using_get`") # noqa: E501
684
+
685
+ collection_formats = {}
686
+
687
+ path_params = {}
688
+
689
+ query_params = []
690
+ if 'page_size' in params:
691
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
692
+ if 'page' in params:
693
+ query_params.append(('page', params['page'])) # noqa: E501
694
+ if 'text_search' in params:
695
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
696
+ if 'sort_property' in params:
697
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
698
+ if 'sort_order' in params:
699
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
700
+
701
+ header_params = {}
702
+
703
+ form_params = []
704
+ local_var_files = {}
705
+
706
+ body_params = None
707
+ # HTTP header `Accept`
708
+ header_params['Accept'] = self.api_client.select_header_accept(
709
+ ['application/json']) # noqa: E501
710
+
711
+ # Authentication setting
712
+ auth_settings = ['X-Authorization'] # noqa: E501
713
+
714
+ return self.api_client.call_api(
715
+ '/api/notification/requests{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
716
+ path_params,
717
+ query_params,
718
+ header_params,
719
+ body=body_params,
720
+ post_params=form_params,
721
+ files=local_var_files,
722
+ response_type='PageDataNotificationRequestInfo', # noqa: E501
723
+ auth_settings=auth_settings,
724
+ async_req=params.get('async_req'),
725
+ _return_http_data_only=params.get('_return_http_data_only'),
726
+ _preload_content=params.get('_preload_content', True),
727
+ _request_timeout=params.get('_request_timeout'),
728
+ collection_formats=collection_formats)
729
+
730
+ def get_notification_settings_using_get(self, **kwargs): # noqa: E501
731
+ """Get notification settings (getNotificationSettings) # noqa: E501
732
+
733
+ Retrieves notification settings for this tenant or sysadmin. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
734
+ This method makes a synchronous HTTP request by default. To make an
735
+ asynchronous HTTP request, please pass async_req=True
736
+ >>> thread = api.get_notification_settings_using_get(async_req=True)
737
+ >>> result = thread.get()
738
+
739
+ :param async_req bool
740
+ :return: NotificationSettings
741
+ If the method is called asynchronously,
742
+ returns the request thread.
743
+ """
744
+ kwargs['_return_http_data_only'] = True
745
+ if kwargs.get('async_req'):
746
+ return self.get_notification_settings_using_get_with_http_info(**kwargs) # noqa: E501
747
+ else:
748
+ (data) = self.get_notification_settings_using_get_with_http_info(**kwargs) # noqa: E501
749
+ return data
750
+
751
+ def get_notification_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
752
+ """Get notification settings (getNotificationSettings) # noqa: E501
753
+
754
+ Retrieves notification settings for this tenant or sysadmin. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
755
+ This method makes a synchronous HTTP request by default. To make an
756
+ asynchronous HTTP request, please pass async_req=True
757
+ >>> thread = api.get_notification_settings_using_get_with_http_info(async_req=True)
758
+ >>> result = thread.get()
759
+
760
+ :param async_req bool
761
+ :return: NotificationSettings
762
+ If the method is called asynchronously,
763
+ returns the request thread.
764
+ """
765
+
766
+ all_params = [] # noqa: E501
767
+ all_params.append('async_req')
768
+ all_params.append('_return_http_data_only')
769
+ all_params.append('_preload_content')
770
+ all_params.append('_request_timeout')
771
+
772
+ params = locals()
773
+ for key, val in six.iteritems(params['kwargs']):
774
+ if key not in all_params:
775
+ raise TypeError(
776
+ "Got an unexpected keyword argument '%s'"
777
+ " to method get_notification_settings_using_get" % key
778
+ )
779
+ params[key] = val
780
+ del params['kwargs']
781
+
782
+ collection_formats = {}
783
+
784
+ path_params = {}
785
+
786
+ query_params = []
787
+
788
+ header_params = {}
789
+
790
+ form_params = []
791
+ local_var_files = {}
792
+
793
+ body_params = None
794
+ # HTTP header `Accept`
795
+ header_params['Accept'] = self.api_client.select_header_accept(
796
+ ['application/json']) # noqa: E501
797
+
798
+ # Authentication setting
799
+ auth_settings = ['X-Authorization'] # noqa: E501
800
+
801
+ return self.api_client.call_api(
802
+ '/api/notification/settings', 'GET',
803
+ path_params,
804
+ query_params,
805
+ header_params,
806
+ body=body_params,
807
+ post_params=form_params,
808
+ files=local_var_files,
809
+ response_type='NotificationSettings', # noqa: E501
810
+ auth_settings=auth_settings,
811
+ async_req=params.get('async_req'),
812
+ _return_http_data_only=params.get('_return_http_data_only'),
813
+ _preload_content=params.get('_preload_content', True),
814
+ _request_timeout=params.get('_request_timeout'),
815
+ collection_formats=collection_formats)
816
+
817
+ def get_notifications_using_get(self, page_size, page, **kwargs): # noqa: E501
818
+ """Get notifications (getNotifications) # noqa: E501
819
+
820
+ Returns the page of notifications for current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for any authorized user. **WebSocket API**: There are 2 types of subscriptions: one for unread notifications count, another for unread notifications themselves. The URI for opening WS session for notifications: `/api/ws/plugins/notifications`. Subscription command for unread notifications count: ``` { \"unreadCountSubCmd\": { \"cmdId\": 1234 } } ``` To subscribe for latest unread notifications: ``` { \"unreadSubCmd\": { \"cmdId\": 1234, \"limit\": 10 } } ``` To unsubscribe from any subscription: ``` { \"unsubCmd\": { \"cmdId\": 1234 } } ``` To mark certain notifications as read, use following command: ``` { \"markAsReadCmd\": { \"cmdId\": 1234, \"notifications\": [ \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\", \"5b6dfee0-8d0d-11ed-b61f-35a57b03dade\" ] } } ``` To mark all notifications as read: ``` { \"markAllAsReadCmd\": { \"cmdId\": 1234 } } ``` Update structure for unread **notifications count subscription**: ``` { \"cmdId\": 1234, \"totalUnreadCount\": 55 } ``` For **notifications subscription**: - full update of latest unread notifications: ``` { \"cmdId\": 1234, \"notifications\": [ { \"id\": { \"entityType\": \"NOTIFICATION\", \"id\": \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\" }, ... } ], \"totalUnreadCount\": 1 } ``` - when new notification arrives or shown notification is updated: ``` { \"cmdId\": 1234, \"update\": { \"id\": { \"entityType\": \"NOTIFICATION\", \"id\": \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\" }, # updated notification info, text, subject etc. ... }, \"totalUnreadCount\": 2 } ``` - when unread notifications count changes: ``` { \"cmdId\": 1234, \"totalUnreadCount\": 5 } ``` # noqa: E501
821
+ This method makes a synchronous HTTP request by default. To make an
822
+ asynchronous HTTP request, please pass async_req=True
823
+ >>> thread = api.get_notifications_using_get(page_size, page, async_req=True)
824
+ >>> result = thread.get()
825
+
826
+ :param async_req bool
827
+ :param int page_size: Maximum amount of entities in a one page (required)
828
+ :param int page: Sequence number of page starting from 0 (required)
829
+ :param str text_search: Case-insensitive 'substring' filter based on notification subject or text
830
+ :param str sort_property: Property of entity to sort by
831
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
832
+ :param bool unread_only: To search for unread notifications only
833
+ :param str delivery_method: Delivery method
834
+ :return: PageDataNotification
835
+ If the method is called asynchronously,
836
+ returns the request thread.
837
+ """
838
+ kwargs['_return_http_data_only'] = True
839
+ if kwargs.get('async_req'):
840
+ return self.get_notifications_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
841
+ else:
842
+ (data) = self.get_notifications_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
843
+ return data
844
+
845
+ def get_notifications_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
846
+ """Get notifications (getNotifications) # noqa: E501
847
+
848
+ Returns the page of notifications for current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for any authorized user. **WebSocket API**: There are 2 types of subscriptions: one for unread notifications count, another for unread notifications themselves. The URI for opening WS session for notifications: `/api/ws/plugins/notifications`. Subscription command for unread notifications count: ``` { \"unreadCountSubCmd\": { \"cmdId\": 1234 } } ``` To subscribe for latest unread notifications: ``` { \"unreadSubCmd\": { \"cmdId\": 1234, \"limit\": 10 } } ``` To unsubscribe from any subscription: ``` { \"unsubCmd\": { \"cmdId\": 1234 } } ``` To mark certain notifications as read, use following command: ``` { \"markAsReadCmd\": { \"cmdId\": 1234, \"notifications\": [ \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\", \"5b6dfee0-8d0d-11ed-b61f-35a57b03dade\" ] } } ``` To mark all notifications as read: ``` { \"markAllAsReadCmd\": { \"cmdId\": 1234 } } ``` Update structure for unread **notifications count subscription**: ``` { \"cmdId\": 1234, \"totalUnreadCount\": 55 } ``` For **notifications subscription**: - full update of latest unread notifications: ``` { \"cmdId\": 1234, \"notifications\": [ { \"id\": { \"entityType\": \"NOTIFICATION\", \"id\": \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\" }, ... } ], \"totalUnreadCount\": 1 } ``` - when new notification arrives or shown notification is updated: ``` { \"cmdId\": 1234, \"update\": { \"id\": { \"entityType\": \"NOTIFICATION\", \"id\": \"6f860330-7fc2-11ed-b855-7dd3b7d2faa9\" }, # updated notification info, text, subject etc. ... }, \"totalUnreadCount\": 2 } ``` - when unread notifications count changes: ``` { \"cmdId\": 1234, \"totalUnreadCount\": 5 } ``` # noqa: E501
849
+ This method makes a synchronous HTTP request by default. To make an
850
+ asynchronous HTTP request, please pass async_req=True
851
+ >>> thread = api.get_notifications_using_get_with_http_info(page_size, page, async_req=True)
852
+ >>> result = thread.get()
853
+
854
+ :param async_req bool
855
+ :param int page_size: Maximum amount of entities in a one page (required)
856
+ :param int page: Sequence number of page starting from 0 (required)
857
+ :param str text_search: Case-insensitive 'substring' filter based on notification subject or text
858
+ :param str sort_property: Property of entity to sort by
859
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
860
+ :param bool unread_only: To search for unread notifications only
861
+ :param str delivery_method: Delivery method
862
+ :return: PageDataNotification
863
+ If the method is called asynchronously,
864
+ returns the request thread.
865
+ """
866
+
867
+ all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order', 'unread_only', 'delivery_method'] # noqa: E501
868
+ all_params.append('async_req')
869
+ all_params.append('_return_http_data_only')
870
+ all_params.append('_preload_content')
871
+ all_params.append('_request_timeout')
872
+
873
+ params = locals()
874
+ for key, val in six.iteritems(params['kwargs']):
875
+ if key not in all_params:
876
+ raise TypeError(
877
+ "Got an unexpected keyword argument '%s'"
878
+ " to method get_notifications_using_get" % key
879
+ )
880
+ params[key] = val
881
+ del params['kwargs']
882
+ # verify the required parameter 'page_size' is set
883
+ if ('page_size' not in params or
884
+ params['page_size'] is None):
885
+ raise ValueError("Missing the required parameter `page_size` when calling `get_notifications_using_get`") # noqa: E501
886
+ # verify the required parameter 'page' is set
887
+ if ('page' not in params or
888
+ params['page'] is None):
889
+ raise ValueError("Missing the required parameter `page` when calling `get_notifications_using_get`") # noqa: E501
890
+
891
+ collection_formats = {}
892
+
893
+ path_params = {}
894
+
895
+ query_params = []
896
+ if 'page_size' in params:
897
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
898
+ if 'page' in params:
899
+ query_params.append(('page', params['page'])) # noqa: E501
900
+ if 'text_search' in params:
901
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
902
+ if 'sort_property' in params:
903
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
904
+ if 'sort_order' in params:
905
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
906
+ if 'unread_only' in params:
907
+ query_params.append(('unreadOnly', params['unread_only'])) # noqa: E501
908
+ if 'delivery_method' in params:
909
+ query_params.append(('delivery_method', params['delivery_method'])) # noqa: E501
910
+
911
+ header_params = {}
912
+
913
+ form_params = []
914
+ local_var_files = {}
915
+
916
+ body_params = None
917
+ # HTTP header `Accept`
918
+ header_params['Accept'] = self.api_client.select_header_accept(
919
+ ['application/json']) # noqa: E501
920
+
921
+ # Authentication setting
922
+ auth_settings = ['X-Authorization'] # noqa: E501
923
+
924
+ return self.api_client.call_api(
925
+ '/api/notifications{?page,pageSize,sortOrder,sortProperty,textSearch,unreadOnly,deliveryMethod}', 'GET',
926
+ path_params,
927
+ query_params,
928
+ header_params,
929
+ body=body_params,
930
+ post_params=form_params,
931
+ files=local_var_files,
932
+ response_type='PageDataNotification', # noqa: E501
933
+ auth_settings=auth_settings,
934
+ async_req=params.get('async_req'),
935
+ _return_http_data_only=params.get('_return_http_data_only'),
936
+ _preload_content=params.get('_preload_content', True),
937
+ _request_timeout=params.get('_request_timeout'),
938
+ collection_formats=collection_formats)
939
+
940
+ def get_user_notification_settings_using_get(self, **kwargs): # noqa: E501
941
+ """getUserNotificationSettings # noqa: E501
942
+
943
+ This method makes a synchronous HTTP request by default. To make an
944
+ asynchronous HTTP request, please pass async_req=True
945
+ >>> thread = api.get_user_notification_settings_using_get(async_req=True)
946
+ >>> result = thread.get()
947
+
948
+ :param async_req bool
949
+ :return: UserNotificationSettings
950
+ If the method is called asynchronously,
951
+ returns the request thread.
952
+ """
953
+ kwargs['_return_http_data_only'] = True
954
+ if kwargs.get('async_req'):
955
+ return self.get_user_notification_settings_using_get_with_http_info(**kwargs) # noqa: E501
956
+ else:
957
+ (data) = self.get_user_notification_settings_using_get_with_http_info(**kwargs) # noqa: E501
958
+ return data
959
+
960
+ def get_user_notification_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
961
+ """getUserNotificationSettings # noqa: E501
962
+
963
+ This method makes a synchronous HTTP request by default. To make an
964
+ asynchronous HTTP request, please pass async_req=True
965
+ >>> thread = api.get_user_notification_settings_using_get_with_http_info(async_req=True)
966
+ >>> result = thread.get()
967
+
968
+ :param async_req bool
969
+ :return: UserNotificationSettings
970
+ If the method is called asynchronously,
971
+ returns the request thread.
972
+ """
973
+
974
+ all_params = [] # noqa: E501
975
+ all_params.append('async_req')
976
+ all_params.append('_return_http_data_only')
977
+ all_params.append('_preload_content')
978
+ all_params.append('_request_timeout')
979
+
980
+ params = locals()
981
+ for key, val in six.iteritems(params['kwargs']):
982
+ if key not in all_params:
983
+ raise TypeError(
984
+ "Got an unexpected keyword argument '%s'"
985
+ " to method get_user_notification_settings_using_get" % key
986
+ )
987
+ params[key] = val
988
+ del params['kwargs']
989
+
990
+ collection_formats = {}
991
+
992
+ path_params = {}
993
+
994
+ query_params = []
995
+
996
+ header_params = {}
997
+
998
+ form_params = []
999
+ local_var_files = {}
1000
+
1001
+ body_params = None
1002
+ # HTTP header `Accept`
1003
+ header_params['Accept'] = self.api_client.select_header_accept(
1004
+ ['application/json']) # noqa: E501
1005
+
1006
+ # Authentication setting
1007
+ auth_settings = ['X-Authorization'] # noqa: E501
1008
+
1009
+ return self.api_client.call_api(
1010
+ '/api/notification/settings/user', 'GET',
1011
+ path_params,
1012
+ query_params,
1013
+ header_params,
1014
+ body=body_params,
1015
+ post_params=form_params,
1016
+ files=local_var_files,
1017
+ response_type='UserNotificationSettings', # noqa: E501
1018
+ auth_settings=auth_settings,
1019
+ async_req=params.get('async_req'),
1020
+ _return_http_data_only=params.get('_return_http_data_only'),
1021
+ _preload_content=params.get('_preload_content', True),
1022
+ _request_timeout=params.get('_request_timeout'),
1023
+ collection_formats=collection_formats)
1024
+
1025
+ def mark_all_notifications_as_read_using_put(self, **kwargs): # noqa: E501
1026
+ """Mark all notifications as read (markAllNotificationsAsRead) # noqa: E501
1027
+
1028
+ Marks all unread notifications as read. Available for any authorized user. # noqa: E501
1029
+ This method makes a synchronous HTTP request by default. To make an
1030
+ asynchronous HTTP request, please pass async_req=True
1031
+ >>> thread = api.mark_all_notifications_as_read_using_put(async_req=True)
1032
+ >>> result = thread.get()
1033
+
1034
+ :param async_req bool
1035
+ :param str delivery_method: Delivery method
1036
+ :return: None
1037
+ If the method is called asynchronously,
1038
+ returns the request thread.
1039
+ """
1040
+ kwargs['_return_http_data_only'] = True
1041
+ if kwargs.get('async_req'):
1042
+ return self.mark_all_notifications_as_read_using_put_with_http_info(**kwargs) # noqa: E501
1043
+ else:
1044
+ (data) = self.mark_all_notifications_as_read_using_put_with_http_info(**kwargs) # noqa: E501
1045
+ return data
1046
+
1047
+ def mark_all_notifications_as_read_using_put_with_http_info(self, **kwargs): # noqa: E501
1048
+ """Mark all notifications as read (markAllNotificationsAsRead) # noqa: E501
1049
+
1050
+ Marks all unread notifications as read. Available for any authorized user. # noqa: E501
1051
+ This method makes a synchronous HTTP request by default. To make an
1052
+ asynchronous HTTP request, please pass async_req=True
1053
+ >>> thread = api.mark_all_notifications_as_read_using_put_with_http_info(async_req=True)
1054
+ >>> result = thread.get()
1055
+
1056
+ :param async_req bool
1057
+ :param str delivery_method: Delivery method
1058
+ :return: None
1059
+ If the method is called asynchronously,
1060
+ returns the request thread.
1061
+ """
1062
+
1063
+ all_params = ['delivery_method'] # noqa: E501
1064
+ all_params.append('async_req')
1065
+ all_params.append('_return_http_data_only')
1066
+ all_params.append('_preload_content')
1067
+ all_params.append('_request_timeout')
1068
+
1069
+ params = locals()
1070
+ for key, val in six.iteritems(params['kwargs']):
1071
+ if key not in all_params:
1072
+ raise TypeError(
1073
+ "Got an unexpected keyword argument '%s'"
1074
+ " to method mark_all_notifications_as_read_using_put" % key
1075
+ )
1076
+ params[key] = val
1077
+ del params['kwargs']
1078
+
1079
+ collection_formats = {}
1080
+
1081
+ path_params = {}
1082
+
1083
+ query_params = []
1084
+ if 'delivery_method' in params:
1085
+ query_params.append(('deliveryMethod', params['delivery_method'])) # noqa: E501
1086
+
1087
+ header_params = {}
1088
+
1089
+ form_params = []
1090
+ local_var_files = {}
1091
+
1092
+ body_params = None
1093
+ # Authentication setting
1094
+ auth_settings = ['X-Authorization'] # noqa: E501
1095
+
1096
+ return self.api_client.call_api(
1097
+ '/api/notifications/read{?deliveryMethod}', 'PUT',
1098
+ path_params,
1099
+ query_params,
1100
+ header_params,
1101
+ body=body_params,
1102
+ post_params=form_params,
1103
+ files=local_var_files,
1104
+ response_type=None, # noqa: E501
1105
+ auth_settings=auth_settings,
1106
+ async_req=params.get('async_req'),
1107
+ _return_http_data_only=params.get('_return_http_data_only'),
1108
+ _preload_content=params.get('_preload_content', True),
1109
+ _request_timeout=params.get('_request_timeout'),
1110
+ collection_formats=collection_formats)
1111
+
1112
+ def mark_notification_as_read_using_put(self, id, **kwargs): # noqa: E501
1113
+ """Mark notification as read (markNotificationAsRead) # noqa: E501
1114
+
1115
+ Marks notification as read by its id. Available for any authorized user. # noqa: E501
1116
+ This method makes a synchronous HTTP request by default. To make an
1117
+ asynchronous HTTP request, please pass async_req=True
1118
+ >>> thread = api.mark_notification_as_read_using_put(id, async_req=True)
1119
+ >>> result = thread.get()
1120
+
1121
+ :param async_req bool
1122
+ :param str id: id (required)
1123
+ :return: None
1124
+ If the method is called asynchronously,
1125
+ returns the request thread.
1126
+ """
1127
+ kwargs['_return_http_data_only'] = True
1128
+ if kwargs.get('async_req'):
1129
+ return self.mark_notification_as_read_using_put_with_http_info(id, **kwargs) # noqa: E501
1130
+ else:
1131
+ (data) = self.mark_notification_as_read_using_put_with_http_info(id, **kwargs) # noqa: E501
1132
+ return data
1133
+
1134
+ def mark_notification_as_read_using_put_with_http_info(self, id, **kwargs): # noqa: E501
1135
+ """Mark notification as read (markNotificationAsRead) # noqa: E501
1136
+
1137
+ Marks notification as read by its id. Available for any authorized user. # noqa: E501
1138
+ This method makes a synchronous HTTP request by default. To make an
1139
+ asynchronous HTTP request, please pass async_req=True
1140
+ >>> thread = api.mark_notification_as_read_using_put_with_http_info(id, async_req=True)
1141
+ >>> result = thread.get()
1142
+
1143
+ :param async_req bool
1144
+ :param str id: id (required)
1145
+ :return: None
1146
+ If the method is called asynchronously,
1147
+ returns the request thread.
1148
+ """
1149
+
1150
+ all_params = ['id'] # noqa: E501
1151
+ all_params.append('async_req')
1152
+ all_params.append('_return_http_data_only')
1153
+ all_params.append('_preload_content')
1154
+ all_params.append('_request_timeout')
1155
+
1156
+ params = locals()
1157
+ for key, val in six.iteritems(params['kwargs']):
1158
+ if key not in all_params:
1159
+ raise TypeError(
1160
+ "Got an unexpected keyword argument '%s'"
1161
+ " to method mark_notification_as_read_using_put" % key
1162
+ )
1163
+ params[key] = val
1164
+ del params['kwargs']
1165
+ # verify the required parameter 'id' is set
1166
+ if ('id' not in params or
1167
+ params['id'] is None):
1168
+ raise ValueError("Missing the required parameter `id` when calling `mark_notification_as_read_using_put`") # noqa: E501
1169
+
1170
+ collection_formats = {}
1171
+
1172
+ path_params = {}
1173
+ if 'id' in params:
1174
+ path_params['id'] = params['id'] # noqa: E501
1175
+
1176
+ query_params = []
1177
+
1178
+ header_params = {}
1179
+
1180
+ form_params = []
1181
+ local_var_files = {}
1182
+
1183
+ body_params = None
1184
+ # Authentication setting
1185
+ auth_settings = ['X-Authorization'] # noqa: E501
1186
+
1187
+ return self.api_client.call_api(
1188
+ '/api/notification/{id}/read', 'PUT',
1189
+ path_params,
1190
+ query_params,
1191
+ header_params,
1192
+ body=body_params,
1193
+ post_params=form_params,
1194
+ files=local_var_files,
1195
+ response_type=None, # noqa: E501
1196
+ auth_settings=auth_settings,
1197
+ async_req=params.get('async_req'),
1198
+ _return_http_data_only=params.get('_return_http_data_only'),
1199
+ _preload_content=params.get('_preload_content', True),
1200
+ _request_timeout=params.get('_request_timeout'),
1201
+ collection_formats=collection_formats)
1202
+
1203
+ def save_notification_settings_using_post(self, **kwargs): # noqa: E501
1204
+ """Save notification settings (saveNotificationSettings) # noqa: E501
1205
+
1206
+ Saves notification settings for this tenant or sysadmin. `deliveryMethodsConfigs` of the settings must be specified. Here is an example of the notification settings with Slack configuration: ```json { \"deliveryMethodsConfigs\": { \"SLACK\": { \"method\": \"SLACK\", \"botToken\": \"xoxb-....\" } } } ``` Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
1207
+ This method makes a synchronous HTTP request by default. To make an
1208
+ asynchronous HTTP request, please pass async_req=True
1209
+ >>> thread = api.save_notification_settings_using_post(async_req=True)
1210
+ >>> result = thread.get()
1211
+
1212
+ :param async_req bool
1213
+ :param NotificationSettings body:
1214
+ :return: NotificationSettings
1215
+ If the method is called asynchronously,
1216
+ returns the request thread.
1217
+ """
1218
+ kwargs['_return_http_data_only'] = True
1219
+ if kwargs.get('async_req'):
1220
+ return self.save_notification_settings_using_post_with_http_info(**kwargs) # noqa: E501
1221
+ else:
1222
+ (data) = self.save_notification_settings_using_post_with_http_info(**kwargs) # noqa: E501
1223
+ return data
1224
+
1225
+ def save_notification_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
1226
+ """Save notification settings (saveNotificationSettings) # noqa: E501
1227
+
1228
+ Saves notification settings for this tenant or sysadmin. `deliveryMethodsConfigs` of the settings must be specified. Here is an example of the notification settings with Slack configuration: ```json { \"deliveryMethodsConfigs\": { \"SLACK\": { \"method\": \"SLACK\", \"botToken\": \"xoxb-....\" } } } ``` Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
1229
+ This method makes a synchronous HTTP request by default. To make an
1230
+ asynchronous HTTP request, please pass async_req=True
1231
+ >>> thread = api.save_notification_settings_using_post_with_http_info(async_req=True)
1232
+ >>> result = thread.get()
1233
+
1234
+ :param async_req bool
1235
+ :param NotificationSettings body:
1236
+ :return: NotificationSettings
1237
+ If the method is called asynchronously,
1238
+ returns the request thread.
1239
+ """
1240
+
1241
+ all_params = ['body'] # noqa: E501
1242
+ all_params.append('async_req')
1243
+ all_params.append('_return_http_data_only')
1244
+ all_params.append('_preload_content')
1245
+ all_params.append('_request_timeout')
1246
+
1247
+ params = locals()
1248
+ for key, val in six.iteritems(params['kwargs']):
1249
+ if key not in all_params:
1250
+ raise TypeError(
1251
+ "Got an unexpected keyword argument '%s'"
1252
+ " to method save_notification_settings_using_post" % key
1253
+ )
1254
+ params[key] = val
1255
+ del params['kwargs']
1256
+
1257
+ collection_formats = {}
1258
+
1259
+ path_params = {}
1260
+
1261
+ query_params = []
1262
+
1263
+ header_params = {}
1264
+
1265
+ form_params = []
1266
+ local_var_files = {}
1267
+
1268
+ body_params = None
1269
+ if 'body' in params:
1270
+ body_params = params['body']
1271
+ # HTTP header `Accept`
1272
+ header_params['Accept'] = self.api_client.select_header_accept(
1273
+ ['application/json']) # noqa: E501
1274
+
1275
+ # HTTP header `Content-Type`
1276
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1277
+ ['application/json']) # noqa: E501
1278
+
1279
+ # Authentication setting
1280
+ auth_settings = ['X-Authorization'] # noqa: E501
1281
+
1282
+ return self.api_client.call_api(
1283
+ '/api/notification/settings', 'POST',
1284
+ path_params,
1285
+ query_params,
1286
+ header_params,
1287
+ body=body_params,
1288
+ post_params=form_params,
1289
+ files=local_var_files,
1290
+ response_type='NotificationSettings', # noqa: E501
1291
+ auth_settings=auth_settings,
1292
+ async_req=params.get('async_req'),
1293
+ _return_http_data_only=params.get('_return_http_data_only'),
1294
+ _preload_content=params.get('_preload_content', True),
1295
+ _request_timeout=params.get('_request_timeout'),
1296
+ collection_formats=collection_formats)
1297
+
1298
+ def save_user_notification_settings_using_post(self, **kwargs): # noqa: E501
1299
+ """saveUserNotificationSettings # noqa: E501
1300
+
1301
+ This method makes a synchronous HTTP request by default. To make an
1302
+ asynchronous HTTP request, please pass async_req=True
1303
+ >>> thread = api.save_user_notification_settings_using_post(async_req=True)
1304
+ >>> result = thread.get()
1305
+
1306
+ :param async_req bool
1307
+ :param UserNotificationSettings body:
1308
+ :return: UserNotificationSettings
1309
+ If the method is called asynchronously,
1310
+ returns the request thread.
1311
+ """
1312
+ kwargs['_return_http_data_only'] = True
1313
+ if kwargs.get('async_req'):
1314
+ return self.save_user_notification_settings_using_post_with_http_info(**kwargs) # noqa: E501
1315
+ else:
1316
+ (data) = self.save_user_notification_settings_using_post_with_http_info(**kwargs) # noqa: E501
1317
+ return data
1318
+
1319
+ def save_user_notification_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
1320
+ """saveUserNotificationSettings # noqa: E501
1321
+
1322
+ This method makes a synchronous HTTP request by default. To make an
1323
+ asynchronous HTTP request, please pass async_req=True
1324
+ >>> thread = api.save_user_notification_settings_using_post_with_http_info(async_req=True)
1325
+ >>> result = thread.get()
1326
+
1327
+ :param async_req bool
1328
+ :param UserNotificationSettings body:
1329
+ :return: UserNotificationSettings
1330
+ If the method is called asynchronously,
1331
+ returns the request thread.
1332
+ """
1333
+
1334
+ all_params = ['body'] # noqa: E501
1335
+ all_params.append('async_req')
1336
+ all_params.append('_return_http_data_only')
1337
+ all_params.append('_preload_content')
1338
+ all_params.append('_request_timeout')
1339
+
1340
+ params = locals()
1341
+ for key, val in six.iteritems(params['kwargs']):
1342
+ if key not in all_params:
1343
+ raise TypeError(
1344
+ "Got an unexpected keyword argument '%s'"
1345
+ " to method save_user_notification_settings_using_post" % key
1346
+ )
1347
+ params[key] = val
1348
+ del params['kwargs']
1349
+
1350
+ collection_formats = {}
1351
+
1352
+ path_params = {}
1353
+
1354
+ query_params = []
1355
+
1356
+ header_params = {}
1357
+
1358
+ form_params = []
1359
+ local_var_files = {}
1360
+
1361
+ body_params = None
1362
+ if 'body' in params:
1363
+ body_params = params['body']
1364
+ # HTTP header `Accept`
1365
+ header_params['Accept'] = self.api_client.select_header_accept(
1366
+ ['application/json']) # noqa: E501
1367
+
1368
+ # HTTP header `Content-Type`
1369
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1370
+ ['application/json']) # noqa: E501
1371
+
1372
+ # Authentication setting
1373
+ auth_settings = ['X-Authorization'] # noqa: E501
1374
+
1375
+ return self.api_client.call_api(
1376
+ '/api/notification/settings/user', 'POST',
1377
+ path_params,
1378
+ query_params,
1379
+ header_params,
1380
+ body=body_params,
1381
+ post_params=form_params,
1382
+ files=local_var_files,
1383
+ response_type='UserNotificationSettings', # noqa: E501
1384
+ auth_settings=auth_settings,
1385
+ async_req=params.get('async_req'),
1386
+ _return_http_data_only=params.get('_return_http_data_only'),
1387
+ _preload_content=params.get('_preload_content', True),
1388
+ _request_timeout=params.get('_request_timeout'),
1389
+ collection_formats=collection_formats)
1390
+
1391
+ def get_unread_notifications_count(self, **kwargs): # noqa: E501
1392
+ """Get unread notifications count (getUnreadNotificationsCount) # noqa: E501
1393
+
1394
+ Returns unread notifications count for chosen delivery method. Available for any authorized user. # noqa: E501
1395
+ This method makes a synchronous HTTP request by default. To make an
1396
+ asynchronous HTTP request, please pass async_req=True
1397
+ >>> thread = api.get_unread_notifications_count(async_req=True)
1398
+ >>> result = thread.get()
1399
+
1400
+ :param async_req bool
1401
+ :param str delivery_method: Delivery method
1402
+ :return: int
1403
+ If the method is called asynchronously,
1404
+ returns the request thread.
1405
+ """
1406
+ kwargs['_return_http_data_only'] = True
1407
+ if kwargs.get('async_req'):
1408
+ return self.get_unread_notifications_count_with_http_info(**kwargs) # noqa: E501
1409
+ else:
1410
+ (data) = self.get_unread_notifications_count_with_http_info(**kwargs) # noqa: E501
1411
+ return data
1412
+
1413
+ def get_unread_notifications_count_with_http_info(self, **kwargs): # noqa: E501
1414
+ """Get unread notifications count (getUnreadNotificationsCount) # noqa: E501
1415
+
1416
+ Returns unread notifications count for chosen delivery method. Available for any authorized user. # noqa: E501
1417
+ This method makes a synchronous HTTP request by default. To make an
1418
+ asynchronous HTTP request, please pass async_req=True
1419
+ >>> thread = api.get_unread_notifications_count_with_http_info(async_req=True)
1420
+ >>> result = thread.get()
1421
+
1422
+ :param async_req bool
1423
+ :param str delivery_method: Delivery method
1424
+ :return: int
1425
+ If the method is called asynchronously,
1426
+ returns the request thread.
1427
+ """
1428
+
1429
+ all_params = ['delivery_method'] # noqa: E501
1430
+ all_params.append('async_req')
1431
+ all_params.append('_return_http_data_only')
1432
+ all_params.append('_preload_content')
1433
+ all_params.append('_request_timeout')
1434
+
1435
+ params = locals()
1436
+ for key, val in six.iteritems(params['kwargs']):
1437
+ if key not in all_params:
1438
+ raise TypeError(
1439
+ "Got an unexpected keyword argument '%s'"
1440
+ " to method get_unread_notifications_count" % key
1441
+ )
1442
+ params[key] = val
1443
+ del params['kwargs']
1444
+
1445
+ collection_formats = {}
1446
+
1447
+ path_params = {}
1448
+
1449
+ query_params = []
1450
+ if 'delivery_method' in params:
1451
+ query_params.append(('deliveryMethod', params['delivery_method'])) # noqa: E501
1452
+
1453
+ header_params = {}
1454
+
1455
+ form_params = []
1456
+ local_var_files = {}
1457
+
1458
+ body_params = None
1459
+ # HTTP header `Accept`
1460
+ header_params['Accept'] = self.api_client.select_header_accept(
1461
+ ['application/json']) # noqa: E501
1462
+
1463
+ # Authentication setting
1464
+ auth_settings = ['X-Authorization'] # noqa: E501
1465
+
1466
+ return self.api_client.call_api(
1467
+ '/api/notifications/unread/count{?deliveryMethod}', 'GET',
1468
+ path_params,
1469
+ query_params,
1470
+ header_params,
1471
+ body=body_params,
1472
+ post_params=form_params,
1473
+ files=local_var_files,
1474
+ response_type='int', # noqa: E501
1475
+ auth_settings=auth_settings,
1476
+ async_req=params.get('async_req'),
1477
+ _return_http_data_only=params.get('_return_http_data_only'),
1478
+ _preload_content=params.get('_preload_content', True),
1479
+ _request_timeout=params.get('_request_timeout'),
1480
+ collection_formats=collection_formats)