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,2645 @@
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 UserControllerApi(object):
38
+ """NOTE: This class is auto generated by the swagger code generator program.
39
+
40
+ Do not edit the class manually.
41
+ Ref: https://github.com/swagger-api/swagger-codegen
42
+ """
43
+
44
+ def __init__(self, api_client=None):
45
+ if api_client is None:
46
+ api_client = ApiClient()
47
+ self.api_client = api_client
48
+
49
+ def delete_user_settings_using_delete(self, paths, type, **kwargs): # noqa: E501
50
+ """Delete user settings (deleteUserSettings) # noqa: E501
51
+
52
+ Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
53
+ This method makes a synchronous HTTP request by default. To make an
54
+ asynchronous HTTP request, please pass async_req=True
55
+ >>> thread = api.delete_user_settings_using_delete(paths, type, async_req=True)
56
+ >>> result = thread.get()
57
+
58
+ :param async_req bool
59
+ :param str paths: paths (required)
60
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
61
+ :return: None
62
+ If the method is called asynchronously,
63
+ returns the request thread.
64
+ """
65
+ kwargs['_return_http_data_only'] = True
66
+ if kwargs.get('async_req'):
67
+ return self.delete_user_settings_using_delete_with_http_info(paths, type, **kwargs) # noqa: E501
68
+ else:
69
+ (data) = self.delete_user_settings_using_delete_with_http_info(paths, type, **kwargs) # noqa: E501
70
+ return data
71
+
72
+ def delete_user_settings_using_delete_with_http_info(self, paths, type, **kwargs): # noqa: E501
73
+ """Delete user settings (deleteUserSettings) # noqa: E501
74
+
75
+ Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
76
+ This method makes a synchronous HTTP request by default. To make an
77
+ asynchronous HTTP request, please pass async_req=True
78
+ >>> thread = api.delete_user_settings_using_delete_with_http_info(paths, type, async_req=True)
79
+ >>> result = thread.get()
80
+
81
+ :param async_req bool
82
+ :param str paths: paths (required)
83
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
84
+ :return: None
85
+ If the method is called asynchronously,
86
+ returns the request thread.
87
+ """
88
+
89
+ all_params = ['paths', 'type'] # noqa: E501
90
+ all_params.append('async_req')
91
+ all_params.append('_return_http_data_only')
92
+ all_params.append('_preload_content')
93
+ all_params.append('_request_timeout')
94
+
95
+ params = locals()
96
+ for key, val in six.iteritems(params['kwargs']):
97
+ if key not in all_params:
98
+ raise TypeError(
99
+ "Got an unexpected keyword argument '%s'"
100
+ " to method delete_user_settings_using_delete" % key
101
+ )
102
+ params[key] = val
103
+ del params['kwargs']
104
+ # verify the required parameter 'paths' is set
105
+ if ('paths' not in params or
106
+ params['paths'] is None):
107
+ raise ValueError("Missing the required parameter `paths` when calling `delete_user_settings_using_delete`") # noqa: E501
108
+ # verify the required parameter 'type' is set
109
+ if ('type' not in params or
110
+ params['type'] is None):
111
+ raise ValueError("Missing the required parameter `type` when calling `delete_user_settings_using_delete`") # noqa: E501
112
+
113
+ collection_formats = {}
114
+
115
+ path_params = {}
116
+ if 'paths' in params:
117
+ path_params['paths'] = params['paths'] # noqa: E501
118
+ if 'type' in params:
119
+ path_params['type'] = params['type'] # noqa: E501
120
+
121
+ query_params = []
122
+
123
+ header_params = {}
124
+
125
+ form_params = []
126
+ local_var_files = {}
127
+
128
+ body_params = None
129
+ # HTTP header `Accept`
130
+ header_params['Accept'] = self.api_client.select_header_accept(
131
+ ['application/json']) # noqa: E501
132
+
133
+ # Authentication setting
134
+ auth_settings = ['X-Authorization'] # noqa: E501
135
+
136
+ return self.api_client.call_api(
137
+ '/api/user/settings/{type}/{paths}', 'DELETE',
138
+ path_params,
139
+ query_params,
140
+ header_params,
141
+ body=body_params,
142
+ post_params=form_params,
143
+ files=local_var_files,
144
+ response_type=None, # noqa: E501
145
+ auth_settings=auth_settings,
146
+ async_req=params.get('async_req'),
147
+ _return_http_data_only=params.get('_return_http_data_only'),
148
+ _preload_content=params.get('_preload_content', True),
149
+ _request_timeout=params.get('_request_timeout'),
150
+ collection_formats=collection_formats)
151
+
152
+ def delete_user_settings_using_delete1(self, paths, **kwargs): # noqa: E501
153
+ """Delete user settings (deleteUserSettings) # noqa: E501
154
+
155
+ Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
156
+ This method makes a synchronous HTTP request by default. To make an
157
+ asynchronous HTTP request, please pass async_req=True
158
+ >>> thread = api.delete_user_settings_using_delete1(paths, async_req=True)
159
+ >>> result = thread.get()
160
+
161
+ :param async_req bool
162
+ :param str paths: paths (required)
163
+ :return: None
164
+ If the method is called asynchronously,
165
+ returns the request thread.
166
+ """
167
+ kwargs['_return_http_data_only'] = True
168
+ if kwargs.get('async_req'):
169
+ return self.delete_user_settings_using_delete1_with_http_info(paths, **kwargs) # noqa: E501
170
+ else:
171
+ (data) = self.delete_user_settings_using_delete1_with_http_info(paths, **kwargs) # noqa: E501
172
+ return data
173
+
174
+ def delete_user_settings_using_delete1_with_http_info(self, paths, **kwargs): # noqa: E501
175
+ """Delete user settings (deleteUserSettings) # noqa: E501
176
+
177
+ Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
178
+ This method makes a synchronous HTTP request by default. To make an
179
+ asynchronous HTTP request, please pass async_req=True
180
+ >>> thread = api.delete_user_settings_using_delete1_with_http_info(paths, async_req=True)
181
+ >>> result = thread.get()
182
+
183
+ :param async_req bool
184
+ :param str paths: paths (required)
185
+ :return: None
186
+ If the method is called asynchronously,
187
+ returns the request thread.
188
+ """
189
+
190
+ all_params = ['paths'] # noqa: E501
191
+ all_params.append('async_req')
192
+ all_params.append('_return_http_data_only')
193
+ all_params.append('_preload_content')
194
+ all_params.append('_request_timeout')
195
+
196
+ params = locals()
197
+ for key, val in six.iteritems(params['kwargs']):
198
+ if key not in all_params:
199
+ raise TypeError(
200
+ "Got an unexpected keyword argument '%s'"
201
+ " to method delete_user_settings_using_delete1" % key
202
+ )
203
+ params[key] = val
204
+ del params['kwargs']
205
+ # verify the required parameter 'paths' is set
206
+ if ('paths' not in params or
207
+ params['paths'] is None):
208
+ raise ValueError("Missing the required parameter `paths` when calling `delete_user_settings_using_delete1`") # noqa: E501
209
+
210
+ collection_formats = {}
211
+
212
+ path_params = {}
213
+ if 'paths' in params:
214
+ path_params['paths'] = params['paths'] # noqa: E501
215
+
216
+ query_params = []
217
+
218
+ header_params = {}
219
+
220
+ form_params = []
221
+ local_var_files = {}
222
+
223
+ body_params = None
224
+ # HTTP header `Accept`
225
+ header_params['Accept'] = self.api_client.select_header_accept(
226
+ ['application/json']) # noqa: E501
227
+
228
+ # Authentication setting
229
+ auth_settings = ['X-Authorization'] # noqa: E501
230
+
231
+ return self.api_client.call_api(
232
+ '/api/user/settings/{paths}', 'DELETE',
233
+ path_params,
234
+ query_params,
235
+ header_params,
236
+ body=body_params,
237
+ post_params=form_params,
238
+ files=local_var_files,
239
+ response_type=None, # noqa: E501
240
+ auth_settings=auth_settings,
241
+ async_req=params.get('async_req'),
242
+ _return_http_data_only=params.get('_return_http_data_only'),
243
+ _preload_content=params.get('_preload_content', True),
244
+ _request_timeout=params.get('_request_timeout'),
245
+ collection_formats=collection_formats)
246
+
247
+ def delete_user_using_delete(self, user_id, **kwargs): # noqa: E501
248
+ """Delete User (deleteUser) # noqa: E501
249
+
250
+ Deletes the User, it's credentials and all the relations (from and to the User). Referencing non-existing User Id will cause an error. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
251
+ This method makes a synchronous HTTP request by default. To make an
252
+ asynchronous HTTP request, please pass async_req=True
253
+ >>> thread = api.delete_user_using_delete(user_id, async_req=True)
254
+ >>> result = thread.get()
255
+
256
+ :param async_req bool
257
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
258
+ :return: None
259
+ If the method is called asynchronously,
260
+ returns the request thread.
261
+ """
262
+ kwargs['_return_http_data_only'] = True
263
+ if kwargs.get('async_req'):
264
+ return self.delete_user_using_delete_with_http_info(user_id, **kwargs) # noqa: E501
265
+ else:
266
+ (data) = self.delete_user_using_delete_with_http_info(user_id, **kwargs) # noqa: E501
267
+ return data
268
+
269
+ def delete_user_using_delete_with_http_info(self, user_id, **kwargs): # noqa: E501
270
+ """Delete User (deleteUser) # noqa: E501
271
+
272
+ Deletes the User, it's credentials and all the relations (from and to the User). Referencing non-existing User Id will cause an error. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
273
+ This method makes a synchronous HTTP request by default. To make an
274
+ asynchronous HTTP request, please pass async_req=True
275
+ >>> thread = api.delete_user_using_delete_with_http_info(user_id, async_req=True)
276
+ >>> result = thread.get()
277
+
278
+ :param async_req bool
279
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
280
+ :return: None
281
+ If the method is called asynchronously,
282
+ returns the request thread.
283
+ """
284
+
285
+ all_params = ['user_id'] # noqa: E501
286
+ all_params.append('async_req')
287
+ all_params.append('_return_http_data_only')
288
+ all_params.append('_preload_content')
289
+ all_params.append('_request_timeout')
290
+
291
+ params = locals()
292
+ for key, val in six.iteritems(params['kwargs']):
293
+ if key not in all_params:
294
+ raise TypeError(
295
+ "Got an unexpected keyword argument '%s'"
296
+ " to method delete_user_using_delete" % key
297
+ )
298
+ params[key] = val
299
+ del params['kwargs']
300
+ # verify the required parameter 'user_id' is set
301
+ if ('user_id' not in params or
302
+ params['user_id'] is None):
303
+ raise ValueError("Missing the required parameter `user_id` when calling `delete_user_using_delete`") # noqa: E501
304
+
305
+ collection_formats = {}
306
+
307
+ path_params = {}
308
+ if 'user_id' in params:
309
+ path_params['userId'] = params['user_id'] # noqa: E501
310
+
311
+ query_params = []
312
+
313
+ header_params = {}
314
+
315
+ form_params = []
316
+ local_var_files = {}
317
+
318
+ body_params = None
319
+ # HTTP header `Accept`
320
+ header_params['Accept'] = self.api_client.select_header_accept(
321
+ ['application/json']) # noqa: E501
322
+
323
+ # Authentication setting
324
+ auth_settings = ['X-Authorization'] # noqa: E501
325
+
326
+ return self.api_client.call_api(
327
+ '/api/user/{userId}', 'DELETE',
328
+ path_params,
329
+ query_params,
330
+ header_params,
331
+ body=body_params,
332
+ post_params=form_params,
333
+ files=local_var_files,
334
+ response_type=None, # noqa: E501
335
+ auth_settings=auth_settings,
336
+ async_req=params.get('async_req'),
337
+ _return_http_data_only=params.get('_return_http_data_only'),
338
+ _preload_content=params.get('_preload_content', True),
339
+ _request_timeout=params.get('_request_timeout'),
340
+ collection_formats=collection_formats)
341
+
342
+ def find_users_by_query_using_get(self, page_size, page, **kwargs): # noqa: E501
343
+ """Find users by query (findUsersByQuery) # noqa: E501
344
+
345
+ Returns page of user data objects. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
346
+ This method makes a synchronous HTTP request by default. To make an
347
+ asynchronous HTTP request, please pass async_req=True
348
+ >>> thread = api.find_users_by_query_using_get(page_size, page, async_req=True)
349
+ >>> result = thread.get()
350
+
351
+ :param async_req bool
352
+ :param int page_size: Maximum amount of entities in a one page (required)
353
+ :param int page: Sequence number of page starting from 0 (required)
354
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
355
+ :param str sort_property: Property of entity to sort by
356
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
357
+ :return: PageDataUserEmailInfo
358
+ If the method is called asynchronously,
359
+ returns the request thread.
360
+ """
361
+ kwargs['_return_http_data_only'] = True
362
+ if kwargs.get('async_req'):
363
+ return self.find_users_by_query_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
364
+ else:
365
+ (data) = self.find_users_by_query_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
366
+ return data
367
+
368
+ def find_users_by_query_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
369
+ """Find users by query (findUsersByQuery) # noqa: E501
370
+
371
+ Returns page of user data objects. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
372
+ This method makes a synchronous HTTP request by default. To make an
373
+ asynchronous HTTP request, please pass async_req=True
374
+ >>> thread = api.find_users_by_query_using_get_with_http_info(page_size, page, async_req=True)
375
+ >>> result = thread.get()
376
+
377
+ :param async_req bool
378
+ :param int page_size: Maximum amount of entities in a one page (required)
379
+ :param int page: Sequence number of page starting from 0 (required)
380
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
381
+ :param str sort_property: Property of entity to sort by
382
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
383
+ :return: PageDataUserEmailInfo
384
+ If the method is called asynchronously,
385
+ returns the request thread.
386
+ """
387
+
388
+ all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
389
+ all_params.append('async_req')
390
+ all_params.append('_return_http_data_only')
391
+ all_params.append('_preload_content')
392
+ all_params.append('_request_timeout')
393
+
394
+ params = locals()
395
+ for key, val in six.iteritems(params['kwargs']):
396
+ if key not in all_params:
397
+ raise TypeError(
398
+ "Got an unexpected keyword argument '%s'"
399
+ " to method find_users_by_query_using_get" % key
400
+ )
401
+ params[key] = val
402
+ del params['kwargs']
403
+ # verify the required parameter 'page_size' is set
404
+ if ('page_size' not in params or
405
+ params['page_size'] is None):
406
+ raise ValueError("Missing the required parameter `page_size` when calling `find_users_by_query_using_get`") # noqa: E501
407
+ # verify the required parameter 'page' is set
408
+ if ('page' not in params or
409
+ params['page'] is None):
410
+ raise ValueError("Missing the required parameter `page` when calling `find_users_by_query_using_get`") # noqa: E501
411
+
412
+ collection_formats = {}
413
+
414
+ path_params = {}
415
+
416
+ query_params = []
417
+ if 'page_size' in params:
418
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
419
+ if 'page' in params:
420
+ query_params.append(('page', params['page'])) # noqa: E501
421
+ if 'text_search' in params:
422
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
423
+ if 'sort_property' in params:
424
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
425
+ if 'sort_order' in params:
426
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
427
+
428
+ header_params = {}
429
+
430
+ form_params = []
431
+ local_var_files = {}
432
+
433
+ body_params = None
434
+ # HTTP header `Accept`
435
+ header_params['Accept'] = self.api_client.select_header_accept(
436
+ ['application/json']) # noqa: E501
437
+
438
+ # Authentication setting
439
+ auth_settings = ['X-Authorization'] # noqa: E501
440
+
441
+ return self.api_client.call_api(
442
+ '/api/users/info{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
443
+ path_params,
444
+ query_params,
445
+ header_params,
446
+ body=body_params,
447
+ post_params=form_params,
448
+ files=local_var_files,
449
+ response_type='PageDataUserEmailInfo', # noqa: E501
450
+ auth_settings=auth_settings,
451
+ async_req=params.get('async_req'),
452
+ _return_http_data_only=params.get('_return_http_data_only'),
453
+ _preload_content=params.get('_preload_content', True),
454
+ _request_timeout=params.get('_request_timeout'),
455
+ collection_formats=collection_formats)
456
+
457
+ def get_activation_link_using_get(self, user_id, **kwargs): # noqa: E501
458
+ """Get the activation link (getActivationLink) # noqa: E501
459
+
460
+ Get the activation link for the user. The base url for activation link is configurable in the general settings of system administrator. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
461
+ This method makes a synchronous HTTP request by default. To make an
462
+ asynchronous HTTP request, please pass async_req=True
463
+ >>> thread = api.get_activation_link_using_get(user_id, async_req=True)
464
+ >>> result = thread.get()
465
+
466
+ :param async_req bool
467
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
468
+ :return: str
469
+ If the method is called asynchronously,
470
+ returns the request thread.
471
+ """
472
+ kwargs['_return_http_data_only'] = True
473
+ if kwargs.get('async_req'):
474
+ return self.get_activation_link_using_get_with_http_info(user_id, **kwargs) # noqa: E501
475
+ else:
476
+ (data) = self.get_activation_link_using_get_with_http_info(user_id, **kwargs) # noqa: E501
477
+ return data
478
+
479
+ def get_activation_link_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
480
+ """Get the activation link (getActivationLink) # noqa: E501
481
+
482
+ Get the activation link for the user. The base url for activation link is configurable in the general settings of system administrator. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
483
+ This method makes a synchronous HTTP request by default. To make an
484
+ asynchronous HTTP request, please pass async_req=True
485
+ >>> thread = api.get_activation_link_using_get_with_http_info(user_id, async_req=True)
486
+ >>> result = thread.get()
487
+
488
+ :param async_req bool
489
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
490
+ :return: str
491
+ If the method is called asynchronously,
492
+ returns the request thread.
493
+ """
494
+
495
+ all_params = ['user_id'] # noqa: E501
496
+ all_params.append('async_req')
497
+ all_params.append('_return_http_data_only')
498
+ all_params.append('_preload_content')
499
+ all_params.append('_request_timeout')
500
+
501
+ params = locals()
502
+ for key, val in six.iteritems(params['kwargs']):
503
+ if key not in all_params:
504
+ raise TypeError(
505
+ "Got an unexpected keyword argument '%s'"
506
+ " to method get_activation_link_using_get" % key
507
+ )
508
+ params[key] = val
509
+ del params['kwargs']
510
+ # verify the required parameter 'user_id' is set
511
+ if ('user_id' not in params or
512
+ params['user_id'] is None):
513
+ raise ValueError("Missing the required parameter `user_id` when calling `get_activation_link_using_get`") # noqa: E501
514
+
515
+ collection_formats = {}
516
+
517
+ path_params = {}
518
+ if 'user_id' in params:
519
+ path_params['userId'] = params['user_id'] # noqa: E501
520
+
521
+ query_params = []
522
+
523
+ header_params = {}
524
+
525
+ form_params = []
526
+ local_var_files = {}
527
+
528
+ body_params = None
529
+ # HTTP header `Accept`
530
+ header_params['Accept'] = self.api_client.select_header_accept(
531
+ ['text/plain']) # noqa: E501
532
+
533
+ # Authentication setting
534
+ auth_settings = ['X-Authorization'] # noqa: E501
535
+
536
+ return self.api_client.call_api(
537
+ '/api/user/{userId}/activationLink', 'GET',
538
+ path_params,
539
+ query_params,
540
+ header_params,
541
+ body=body_params,
542
+ post_params=form_params,
543
+ files=local_var_files,
544
+ response_type='str', # noqa: E501
545
+ auth_settings=auth_settings,
546
+ async_req=params.get('async_req'),
547
+ _return_http_data_only=params.get('_return_http_data_only'),
548
+ _preload_content=params.get('_preload_content', True),
549
+ _request_timeout=params.get('_request_timeout'),
550
+ collection_formats=collection_formats)
551
+
552
+ def get_customer_users_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
553
+ """Get Customer Users (getCustomerUsers) # noqa: E501
554
+
555
+ Returns a page of users owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
556
+ This method makes a synchronous HTTP request by default. To make an
557
+ asynchronous HTTP request, please pass async_req=True
558
+ >>> thread = api.get_customer_users_using_get(customer_id, page_size, page, async_req=True)
559
+ >>> result = thread.get()
560
+
561
+ :param async_req bool
562
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
563
+ :param int page_size: Maximum amount of entities in a one page (required)
564
+ :param int page: Sequence number of page starting from 0 (required)
565
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
566
+ :param str sort_property: Property of entity to sort by
567
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
568
+ :return: PageDataUser
569
+ If the method is called asynchronously,
570
+ returns the request thread.
571
+ """
572
+ kwargs['_return_http_data_only'] = True
573
+ if kwargs.get('async_req'):
574
+ return self.get_customer_users_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
575
+ else:
576
+ (data) = self.get_customer_users_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
577
+ return data
578
+
579
+ def get_customer_users_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
580
+ """Get Customer Users (getCustomerUsers) # noqa: E501
581
+
582
+ Returns a page of users owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
583
+ This method makes a synchronous HTTP request by default. To make an
584
+ asynchronous HTTP request, please pass async_req=True
585
+ >>> thread = api.get_customer_users_using_get_with_http_info(customer_id, page_size, page, async_req=True)
586
+ >>> result = thread.get()
587
+
588
+ :param async_req bool
589
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
590
+ :param int page_size: Maximum amount of entities in a one page (required)
591
+ :param int page: Sequence number of page starting from 0 (required)
592
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
593
+ :param str sort_property: Property of entity to sort by
594
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
595
+ :return: PageDataUser
596
+ If the method is called asynchronously,
597
+ returns the request thread.
598
+ """
599
+
600
+ all_params = ['customer_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
601
+ all_params.append('async_req')
602
+ all_params.append('_return_http_data_only')
603
+ all_params.append('_preload_content')
604
+ all_params.append('_request_timeout')
605
+
606
+ params = locals()
607
+ for key, val in six.iteritems(params['kwargs']):
608
+ if key not in all_params:
609
+ raise TypeError(
610
+ "Got an unexpected keyword argument '%s'"
611
+ " to method get_customer_users_using_get" % key
612
+ )
613
+ params[key] = val
614
+ del params['kwargs']
615
+ # verify the required parameter 'customer_id' is set
616
+ if ('customer_id' not in params or
617
+ params['customer_id'] is None):
618
+ raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_users_using_get`") # noqa: E501
619
+ # verify the required parameter 'page_size' is set
620
+ if ('page_size' not in params or
621
+ params['page_size'] is None):
622
+ raise ValueError("Missing the required parameter `page_size` when calling `get_customer_users_using_get`") # noqa: E501
623
+ # verify the required parameter 'page' is set
624
+ if ('page' not in params or
625
+ params['page'] is None):
626
+ raise ValueError("Missing the required parameter `page` when calling `get_customer_users_using_get`") # noqa: E501
627
+
628
+ collection_formats = {}
629
+
630
+ path_params = {}
631
+ if 'customer_id' in params:
632
+ path_params['customerId'] = params['customer_id'] # noqa: E501
633
+
634
+ query_params = []
635
+ if 'page_size' in params:
636
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
637
+ if 'page' in params:
638
+ query_params.append(('page', params['page'])) # noqa: E501
639
+ if 'text_search' in params:
640
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
641
+ if 'sort_property' in params:
642
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
643
+ if 'sort_order' in params:
644
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
645
+
646
+ header_params = {}
647
+
648
+ form_params = []
649
+ local_var_files = {}
650
+
651
+ body_params = None
652
+ # HTTP header `Accept`
653
+ header_params['Accept'] = self.api_client.select_header_accept(
654
+ ['application/json']) # noqa: E501
655
+
656
+ # Authentication setting
657
+ auth_settings = ['X-Authorization'] # noqa: E501
658
+
659
+ return self.api_client.call_api(
660
+ '/api/customer/{customerId}/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
661
+ path_params,
662
+ query_params,
663
+ header_params,
664
+ body=body_params,
665
+ post_params=form_params,
666
+ files=local_var_files,
667
+ response_type='PageDataUser', # noqa: E501
668
+ auth_settings=auth_settings,
669
+ async_req=params.get('async_req'),
670
+ _return_http_data_only=params.get('_return_http_data_only'),
671
+ _preload_content=params.get('_preload_content', True),
672
+ _request_timeout=params.get('_request_timeout'),
673
+ collection_formats=collection_formats)
674
+
675
+ def get_mobile_session_using_get(self, x_mobile_token, **kwargs): # noqa: E501
676
+ """getMobileSession # noqa: E501
677
+
678
+ This method makes a synchronous HTTP request by default. To make an
679
+ asynchronous HTTP request, please pass async_req=True
680
+ >>> thread = api.get_mobile_session_using_get(x_mobile_token, async_req=True)
681
+ >>> result = thread.get()
682
+
683
+ :param async_req bool
684
+ :param str x_mobile_token: X-Mobile-Token (required)
685
+ :return: MobileSessionInfo
686
+ If the method is called asynchronously,
687
+ returns the request thread.
688
+ """
689
+ kwargs['_return_http_data_only'] = True
690
+ if kwargs.get('async_req'):
691
+ return self.get_mobile_session_using_get_with_http_info(x_mobile_token, **kwargs) # noqa: E501
692
+ else:
693
+ (data) = self.get_mobile_session_using_get_with_http_info(x_mobile_token, **kwargs) # noqa: E501
694
+ return data
695
+
696
+ def get_mobile_session_using_get_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
697
+ """getMobileSession # noqa: E501
698
+
699
+ This method makes a synchronous HTTP request by default. To make an
700
+ asynchronous HTTP request, please pass async_req=True
701
+ >>> thread = api.get_mobile_session_using_get_with_http_info(x_mobile_token, async_req=True)
702
+ >>> result = thread.get()
703
+
704
+ :param async_req bool
705
+ :param str x_mobile_token: X-Mobile-Token (required)
706
+ :return: MobileSessionInfo
707
+ If the method is called asynchronously,
708
+ returns the request thread.
709
+ """
710
+
711
+ all_params = ['x_mobile_token'] # noqa: E501
712
+ all_params.append('async_req')
713
+ all_params.append('_return_http_data_only')
714
+ all_params.append('_preload_content')
715
+ all_params.append('_request_timeout')
716
+
717
+ params = locals()
718
+ for key, val in six.iteritems(params['kwargs']):
719
+ if key not in all_params:
720
+ raise TypeError(
721
+ "Got an unexpected keyword argument '%s'"
722
+ " to method get_mobile_session_using_get" % key
723
+ )
724
+ params[key] = val
725
+ del params['kwargs']
726
+ # verify the required parameter 'x_mobile_token' is set
727
+ if ('x_mobile_token' not in params or
728
+ params['x_mobile_token'] is None):
729
+ raise ValueError("Missing the required parameter `x_mobile_token` when calling `get_mobile_session_using_get`") # noqa: E501
730
+
731
+ collection_formats = {}
732
+
733
+ path_params = {}
734
+
735
+ query_params = []
736
+
737
+ header_params = {}
738
+ if 'x_mobile_token' in params:
739
+ header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
740
+
741
+ form_params = []
742
+ local_var_files = {}
743
+
744
+ body_params = None
745
+ # HTTP header `Accept`
746
+ header_params['Accept'] = self.api_client.select_header_accept(
747
+ ['application/json']) # noqa: E501
748
+
749
+ # Authentication setting
750
+ auth_settings = ['X-Authorization'] # noqa: E501
751
+
752
+ return self.api_client.call_api(
753
+ '/api/user/mobile/session', 'GET',
754
+ path_params,
755
+ query_params,
756
+ header_params,
757
+ body=body_params,
758
+ post_params=form_params,
759
+ files=local_var_files,
760
+ response_type='MobileSessionInfo', # noqa: E501
761
+ auth_settings=auth_settings,
762
+ async_req=params.get('async_req'),
763
+ _return_http_data_only=params.get('_return_http_data_only'),
764
+ _preload_content=params.get('_preload_content', True),
765
+ _request_timeout=params.get('_request_timeout'),
766
+ collection_formats=collection_formats)
767
+
768
+ def get_tenant_admins_using_get(self, tenant_id, page_size, page, **kwargs): # noqa: E501
769
+ """Get Tenant Users (getTenantAdmins) # noqa: E501
770
+
771
+ Returns a page of users owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' authority. # noqa: E501
772
+ This method makes a synchronous HTTP request by default. To make an
773
+ asynchronous HTTP request, please pass async_req=True
774
+ >>> thread = api.get_tenant_admins_using_get(tenant_id, page_size, page, async_req=True)
775
+ >>> result = thread.get()
776
+
777
+ :param async_req bool
778
+ :param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
779
+ :param int page_size: Maximum amount of entities in a one page (required)
780
+ :param int page: Sequence number of page starting from 0 (required)
781
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
782
+ :param str sort_property: Property of entity to sort by
783
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
784
+ :return: PageDataUser
785
+ If the method is called asynchronously,
786
+ returns the request thread.
787
+ """
788
+ kwargs['_return_http_data_only'] = True
789
+ if kwargs.get('async_req'):
790
+ return self.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
791
+ else:
792
+ (data) = self.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
793
+ return data
794
+
795
+ def get_tenant_admins_using_get_with_http_info(self, tenant_id, page_size, page, **kwargs): # noqa: E501
796
+ """Get Tenant Users (getTenantAdmins) # noqa: E501
797
+
798
+ Returns a page of users owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' authority. # noqa: E501
799
+ This method makes a synchronous HTTP request by default. To make an
800
+ asynchronous HTTP request, please pass async_req=True
801
+ >>> thread = api.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, async_req=True)
802
+ >>> result = thread.get()
803
+
804
+ :param async_req bool
805
+ :param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
806
+ :param int page_size: Maximum amount of entities in a one page (required)
807
+ :param int page: Sequence number of page starting from 0 (required)
808
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
809
+ :param str sort_property: Property of entity to sort by
810
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
811
+ :return: PageDataUser
812
+ If the method is called asynchronously,
813
+ returns the request thread.
814
+ """
815
+
816
+ all_params = ['tenant_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
817
+ all_params.append('async_req')
818
+ all_params.append('_return_http_data_only')
819
+ all_params.append('_preload_content')
820
+ all_params.append('_request_timeout')
821
+
822
+ params = locals()
823
+ for key, val in six.iteritems(params['kwargs']):
824
+ if key not in all_params:
825
+ raise TypeError(
826
+ "Got an unexpected keyword argument '%s'"
827
+ " to method get_tenant_admins_using_get" % key
828
+ )
829
+ params[key] = val
830
+ del params['kwargs']
831
+ # verify the required parameter 'tenant_id' is set
832
+ if ('tenant_id' not in params or
833
+ params['tenant_id'] is None):
834
+ raise ValueError("Missing the required parameter `tenant_id` when calling `get_tenant_admins_using_get`") # noqa: E501
835
+ # verify the required parameter 'page_size' is set
836
+ if ('page_size' not in params or
837
+ params['page_size'] is None):
838
+ raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_admins_using_get`") # noqa: E501
839
+ # verify the required parameter 'page' is set
840
+ if ('page' not in params or
841
+ params['page'] is None):
842
+ raise ValueError("Missing the required parameter `page` when calling `get_tenant_admins_using_get`") # noqa: E501
843
+
844
+ collection_formats = {}
845
+
846
+ path_params = {}
847
+ if 'tenant_id' in params:
848
+ path_params['tenantId'] = params['tenant_id'] # noqa: E501
849
+
850
+ query_params = []
851
+ if 'page_size' in params:
852
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
853
+ if 'page' in params:
854
+ query_params.append(('page', params['page'])) # noqa: E501
855
+ if 'text_search' in params:
856
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
857
+ if 'sort_property' in params:
858
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
859
+ if 'sort_order' in params:
860
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
861
+
862
+ header_params = {}
863
+
864
+ form_params = []
865
+ local_var_files = {}
866
+
867
+ body_params = None
868
+ # HTTP header `Accept`
869
+ header_params['Accept'] = self.api_client.select_header_accept(
870
+ ['application/json']) # noqa: E501
871
+
872
+ # Authentication setting
873
+ auth_settings = ['X-Authorization'] # noqa: E501
874
+
875
+ return self.api_client.call_api(
876
+ '/api/tenant/{tenantId}/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
877
+ path_params,
878
+ query_params,
879
+ header_params,
880
+ body=body_params,
881
+ post_params=form_params,
882
+ files=local_var_files,
883
+ response_type='PageDataUser', # noqa: E501
884
+ auth_settings=auth_settings,
885
+ async_req=params.get('async_req'),
886
+ _return_http_data_only=params.get('_return_http_data_only'),
887
+ _preload_content=params.get('_preload_content', True),
888
+ _request_timeout=params.get('_request_timeout'),
889
+ collection_formats=collection_formats)
890
+
891
+ def get_user_by_id_using_get(self, user_id, **kwargs): # noqa: E501
892
+ """Get User (getUserById) # noqa: E501
893
+
894
+ Fetch the User object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. # noqa: E501
895
+ This method makes a synchronous HTTP request by default. To make an
896
+ asynchronous HTTP request, please pass async_req=True
897
+ >>> thread = api.get_user_by_id_using_get(user_id, async_req=True)
898
+ >>> result = thread.get()
899
+
900
+ :param async_req bool
901
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
902
+ :return: User
903
+ If the method is called asynchronously,
904
+ returns the request thread.
905
+ """
906
+ kwargs['_return_http_data_only'] = True
907
+ if kwargs.get('async_req'):
908
+ return self.get_user_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
909
+ else:
910
+ (data) = self.get_user_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
911
+ return data
912
+
913
+ def get_user_by_id_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
914
+ """Get User (getUserById) # noqa: E501
915
+
916
+ Fetch the User object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. # noqa: E501
917
+ This method makes a synchronous HTTP request by default. To make an
918
+ asynchronous HTTP request, please pass async_req=True
919
+ >>> thread = api.get_user_by_id_using_get_with_http_info(user_id, async_req=True)
920
+ >>> result = thread.get()
921
+
922
+ :param async_req bool
923
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
924
+ :return: User
925
+ If the method is called asynchronously,
926
+ returns the request thread.
927
+ """
928
+
929
+ all_params = ['user_id'] # noqa: E501
930
+ all_params.append('async_req')
931
+ all_params.append('_return_http_data_only')
932
+ all_params.append('_preload_content')
933
+ all_params.append('_request_timeout')
934
+
935
+ params = locals()
936
+ for key, val in six.iteritems(params['kwargs']):
937
+ if key not in all_params:
938
+ raise TypeError(
939
+ "Got an unexpected keyword argument '%s'"
940
+ " to method get_user_by_id_using_get" % key
941
+ )
942
+ params[key] = val
943
+ del params['kwargs']
944
+ # verify the required parameter 'user_id' is set
945
+ if ('user_id' not in params or
946
+ params['user_id'] is None):
947
+ raise ValueError("Missing the required parameter `user_id` when calling `get_user_by_id_using_get`") # noqa: E501
948
+
949
+ collection_formats = {}
950
+
951
+ path_params = {}
952
+ if 'user_id' in params:
953
+ path_params['userId'] = params['user_id'] # noqa: E501
954
+
955
+ query_params = []
956
+
957
+ header_params = {}
958
+
959
+ form_params = []
960
+ local_var_files = {}
961
+
962
+ body_params = None
963
+ # HTTP header `Accept`
964
+ header_params['Accept'] = self.api_client.select_header_accept(
965
+ ['application/json']) # noqa: E501
966
+
967
+ # Authentication setting
968
+ auth_settings = ['X-Authorization'] # noqa: E501
969
+
970
+ return self.api_client.call_api(
971
+ '/api/user/{userId}', 'GET',
972
+ path_params,
973
+ query_params,
974
+ header_params,
975
+ body=body_params,
976
+ post_params=form_params,
977
+ files=local_var_files,
978
+ response_type='User', # noqa: E501
979
+ auth_settings=auth_settings,
980
+ async_req=params.get('async_req'),
981
+ _return_http_data_only=params.get('_return_http_data_only'),
982
+ _preload_content=params.get('_preload_content', True),
983
+ _request_timeout=params.get('_request_timeout'),
984
+ collection_formats=collection_formats)
985
+
986
+ def get_user_dashboards_info_using_get(self, **kwargs): # noqa: E501
987
+ """Get information about last visited and starred dashboards (getLastVisitedDashboards) # noqa: E501
988
+
989
+ Fetch the list of last visited and starred dashboards. Both lists are limited to 10 items. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
990
+ This method makes a synchronous HTTP request by default. To make an
991
+ asynchronous HTTP request, please pass async_req=True
992
+ >>> thread = api.get_user_dashboards_info_using_get(async_req=True)
993
+ >>> result = thread.get()
994
+
995
+ :param async_req bool
996
+ :return: UserDashboardsInfo
997
+ If the method is called asynchronously,
998
+ returns the request thread.
999
+ """
1000
+ kwargs['_return_http_data_only'] = True
1001
+ if kwargs.get('async_req'):
1002
+ return self.get_user_dashboards_info_using_get_with_http_info(**kwargs) # noqa: E501
1003
+ else:
1004
+ (data) = self.get_user_dashboards_info_using_get_with_http_info(**kwargs) # noqa: E501
1005
+ return data
1006
+
1007
+ def get_user_dashboards_info_using_get_with_http_info(self, **kwargs): # noqa: E501
1008
+ """Get information about last visited and starred dashboards (getLastVisitedDashboards) # noqa: E501
1009
+
1010
+ Fetch the list of last visited and starred dashboards. Both lists are limited to 10 items. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1011
+ This method makes a synchronous HTTP request by default. To make an
1012
+ asynchronous HTTP request, please pass async_req=True
1013
+ >>> thread = api.get_user_dashboards_info_using_get_with_http_info(async_req=True)
1014
+ >>> result = thread.get()
1015
+
1016
+ :param async_req bool
1017
+ :return: UserDashboardsInfo
1018
+ If the method is called asynchronously,
1019
+ returns the request thread.
1020
+ """
1021
+
1022
+ all_params = [] # noqa: E501
1023
+ all_params.append('async_req')
1024
+ all_params.append('_return_http_data_only')
1025
+ all_params.append('_preload_content')
1026
+ all_params.append('_request_timeout')
1027
+
1028
+ params = locals()
1029
+ for key, val in six.iteritems(params['kwargs']):
1030
+ if key not in all_params:
1031
+ raise TypeError(
1032
+ "Got an unexpected keyword argument '%s'"
1033
+ " to method get_user_dashboards_info_using_get" % key
1034
+ )
1035
+ params[key] = val
1036
+ del params['kwargs']
1037
+
1038
+ collection_formats = {}
1039
+
1040
+ path_params = {}
1041
+
1042
+ query_params = []
1043
+
1044
+ header_params = {}
1045
+
1046
+ form_params = []
1047
+ local_var_files = {}
1048
+
1049
+ body_params = None
1050
+ # HTTP header `Accept`
1051
+ header_params['Accept'] = self.api_client.select_header_accept(
1052
+ ['application/json']) # noqa: E501
1053
+
1054
+ # Authentication setting
1055
+ auth_settings = ['X-Authorization'] # noqa: E501
1056
+
1057
+ return self.api_client.call_api(
1058
+ '/api/user/dashboards', 'GET',
1059
+ path_params,
1060
+ query_params,
1061
+ header_params,
1062
+ body=body_params,
1063
+ post_params=form_params,
1064
+ files=local_var_files,
1065
+ response_type='UserDashboardsInfo', # noqa: E501
1066
+ auth_settings=auth_settings,
1067
+ async_req=params.get('async_req'),
1068
+ _return_http_data_only=params.get('_return_http_data_only'),
1069
+ _preload_content=params.get('_preload_content', True),
1070
+ _request_timeout=params.get('_request_timeout'),
1071
+ collection_formats=collection_formats)
1072
+
1073
+ def get_user_settings_using_get(self, **kwargs): # noqa: E501
1074
+ """Get user settings (getUserSettings) # noqa: E501
1075
+
1076
+ Fetch the User settings based on authorized user. # noqa: E501
1077
+ This method makes a synchronous HTTP request by default. To make an
1078
+ asynchronous HTTP request, please pass async_req=True
1079
+ >>> thread = api.get_user_settings_using_get(async_req=True)
1080
+ >>> result = thread.get()
1081
+
1082
+ :param async_req bool
1083
+ :return: JsonNode
1084
+ If the method is called asynchronously,
1085
+ returns the request thread.
1086
+ """
1087
+ kwargs['_return_http_data_only'] = True
1088
+ if kwargs.get('async_req'):
1089
+ return self.get_user_settings_using_get_with_http_info(**kwargs) # noqa: E501
1090
+ else:
1091
+ (data) = self.get_user_settings_using_get_with_http_info(**kwargs) # noqa: E501
1092
+ return data
1093
+
1094
+ def get_user_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
1095
+ """Get user settings (getUserSettings) # noqa: E501
1096
+
1097
+ Fetch the User settings based on authorized user. # noqa: E501
1098
+ This method makes a synchronous HTTP request by default. To make an
1099
+ asynchronous HTTP request, please pass async_req=True
1100
+ >>> thread = api.get_user_settings_using_get_with_http_info(async_req=True)
1101
+ >>> result = thread.get()
1102
+
1103
+ :param async_req bool
1104
+ :return: JsonNode
1105
+ If the method is called asynchronously,
1106
+ returns the request thread.
1107
+ """
1108
+
1109
+ all_params = [] # noqa: E501
1110
+ all_params.append('async_req')
1111
+ all_params.append('_return_http_data_only')
1112
+ all_params.append('_preload_content')
1113
+ all_params.append('_request_timeout')
1114
+
1115
+ params = locals()
1116
+ for key, val in six.iteritems(params['kwargs']):
1117
+ if key not in all_params:
1118
+ raise TypeError(
1119
+ "Got an unexpected keyword argument '%s'"
1120
+ " to method get_user_settings_using_get" % key
1121
+ )
1122
+ params[key] = val
1123
+ del params['kwargs']
1124
+
1125
+ collection_formats = {}
1126
+
1127
+ path_params = {}
1128
+
1129
+ query_params = []
1130
+
1131
+ header_params = {}
1132
+
1133
+ form_params = []
1134
+ local_var_files = {}
1135
+
1136
+ body_params = None
1137
+ # HTTP header `Accept`
1138
+ header_params['Accept'] = self.api_client.select_header_accept(
1139
+ ['application/json']) # noqa: E501
1140
+
1141
+ # Authentication setting
1142
+ auth_settings = ['X-Authorization'] # noqa: E501
1143
+
1144
+ return self.api_client.call_api(
1145
+ '/api/user/settings', 'GET',
1146
+ path_params,
1147
+ query_params,
1148
+ header_params,
1149
+ body=body_params,
1150
+ post_params=form_params,
1151
+ files=local_var_files,
1152
+ response_type='JsonNode', # noqa: E501
1153
+ auth_settings=auth_settings,
1154
+ async_req=params.get('async_req'),
1155
+ _return_http_data_only=params.get('_return_http_data_only'),
1156
+ _preload_content=params.get('_preload_content', True),
1157
+ _request_timeout=params.get('_request_timeout'),
1158
+ collection_formats=collection_formats)
1159
+
1160
+ def get_user_settings_using_get1(self, type, **kwargs): # noqa: E501
1161
+ """Get user settings (getUserSettings) # noqa: E501
1162
+
1163
+ Fetch the User settings based on authorized user. # noqa: E501
1164
+ This method makes a synchronous HTTP request by default. To make an
1165
+ asynchronous HTTP request, please pass async_req=True
1166
+ >>> thread = api.get_user_settings_using_get1(type, async_req=True)
1167
+ >>> result = thread.get()
1168
+
1169
+ :param async_req bool
1170
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
1171
+ :return: JsonNode
1172
+ If the method is called asynchronously,
1173
+ returns the request thread.
1174
+ """
1175
+ kwargs['_return_http_data_only'] = True
1176
+ if kwargs.get('async_req'):
1177
+ return self.get_user_settings_using_get1_with_http_info(type, **kwargs) # noqa: E501
1178
+ else:
1179
+ (data) = self.get_user_settings_using_get1_with_http_info(type, **kwargs) # noqa: E501
1180
+ return data
1181
+
1182
+ def get_user_settings_using_get1_with_http_info(self, type, **kwargs): # noqa: E501
1183
+ """Get user settings (getUserSettings) # noqa: E501
1184
+
1185
+ Fetch the User settings based on authorized user. # noqa: E501
1186
+ This method makes a synchronous HTTP request by default. To make an
1187
+ asynchronous HTTP request, please pass async_req=True
1188
+ >>> thread = api.get_user_settings_using_get1_with_http_info(type, async_req=True)
1189
+ >>> result = thread.get()
1190
+
1191
+ :param async_req bool
1192
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
1193
+ :return: JsonNode
1194
+ If the method is called asynchronously,
1195
+ returns the request thread.
1196
+ """
1197
+
1198
+ all_params = ['type'] # noqa: E501
1199
+ all_params.append('async_req')
1200
+ all_params.append('_return_http_data_only')
1201
+ all_params.append('_preload_content')
1202
+ all_params.append('_request_timeout')
1203
+
1204
+ params = locals()
1205
+ for key, val in six.iteritems(params['kwargs']):
1206
+ if key not in all_params:
1207
+ raise TypeError(
1208
+ "Got an unexpected keyword argument '%s'"
1209
+ " to method get_user_settings_using_get1" % key
1210
+ )
1211
+ params[key] = val
1212
+ del params['kwargs']
1213
+ # verify the required parameter 'type' is set
1214
+ if ('type' not in params or
1215
+ params['type'] is None):
1216
+ raise ValueError("Missing the required parameter `type` when calling `get_user_settings_using_get1`") # noqa: E501
1217
+
1218
+ collection_formats = {}
1219
+
1220
+ path_params = {}
1221
+ if 'type' in params:
1222
+ path_params['type'] = params['type'] # noqa: E501
1223
+
1224
+ query_params = []
1225
+
1226
+ header_params = {}
1227
+
1228
+ form_params = []
1229
+ local_var_files = {}
1230
+
1231
+ body_params = None
1232
+ # HTTP header `Accept`
1233
+ header_params['Accept'] = self.api_client.select_header_accept(
1234
+ ['application/json']) # noqa: E501
1235
+
1236
+ # Authentication setting
1237
+ auth_settings = ['X-Authorization'] # noqa: E501
1238
+
1239
+ return self.api_client.call_api(
1240
+ '/api/user/settings/{type}', 'GET',
1241
+ path_params,
1242
+ query_params,
1243
+ header_params,
1244
+ body=body_params,
1245
+ post_params=form_params,
1246
+ files=local_var_files,
1247
+ response_type='JsonNode', # noqa: E501
1248
+ auth_settings=auth_settings,
1249
+ async_req=params.get('async_req'),
1250
+ _return_http_data_only=params.get('_return_http_data_only'),
1251
+ _preload_content=params.get('_preload_content', True),
1252
+ _request_timeout=params.get('_request_timeout'),
1253
+ collection_formats=collection_formats)
1254
+
1255
+ def get_user_token_using_get(self, user_id, **kwargs): # noqa: E501
1256
+ """Get User Token (getUserToken) # noqa: E501
1257
+
1258
+ Returns the token of the User based on the provided User Id. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to get the token of any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to get the token of any customer user that belongs to the same tenant. # noqa: E501
1259
+ This method makes a synchronous HTTP request by default. To make an
1260
+ asynchronous HTTP request, please pass async_req=True
1261
+ >>> thread = api.get_user_token_using_get(user_id, async_req=True)
1262
+ >>> result = thread.get()
1263
+
1264
+ :param async_req bool
1265
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1266
+ :return: JwtPair
1267
+ If the method is called asynchronously,
1268
+ returns the request thread.
1269
+ """
1270
+ kwargs['_return_http_data_only'] = True
1271
+ if kwargs.get('async_req'):
1272
+ return self.get_user_token_using_get_with_http_info(user_id, **kwargs) # noqa: E501
1273
+ else:
1274
+ (data) = self.get_user_token_using_get_with_http_info(user_id, **kwargs) # noqa: E501
1275
+ return data
1276
+
1277
+ def get_user_token_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
1278
+ """Get User Token (getUserToken) # noqa: E501
1279
+
1280
+ Returns the token of the User based on the provided User Id. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to get the token of any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to get the token of any customer user that belongs to the same tenant. # noqa: E501
1281
+ This method makes a synchronous HTTP request by default. To make an
1282
+ asynchronous HTTP request, please pass async_req=True
1283
+ >>> thread = api.get_user_token_using_get_with_http_info(user_id, async_req=True)
1284
+ >>> result = thread.get()
1285
+
1286
+ :param async_req bool
1287
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1288
+ :return: JwtPair
1289
+ If the method is called asynchronously,
1290
+ returns the request thread.
1291
+ """
1292
+
1293
+ all_params = ['user_id'] # noqa: E501
1294
+ all_params.append('async_req')
1295
+ all_params.append('_return_http_data_only')
1296
+ all_params.append('_preload_content')
1297
+ all_params.append('_request_timeout')
1298
+
1299
+ params = locals()
1300
+ for key, val in six.iteritems(params['kwargs']):
1301
+ if key not in all_params:
1302
+ raise TypeError(
1303
+ "Got an unexpected keyword argument '%s'"
1304
+ " to method get_user_token_using_get" % key
1305
+ )
1306
+ params[key] = val
1307
+ del params['kwargs']
1308
+ # verify the required parameter 'user_id' is set
1309
+ if ('user_id' not in params or
1310
+ params['user_id'] is None):
1311
+ raise ValueError("Missing the required parameter `user_id` when calling `get_user_token_using_get`") # noqa: E501
1312
+
1313
+ collection_formats = {}
1314
+
1315
+ path_params = {}
1316
+ if 'user_id' in params:
1317
+ path_params['userId'] = params['user_id'] # noqa: E501
1318
+
1319
+ query_params = []
1320
+
1321
+ header_params = {}
1322
+
1323
+ form_params = []
1324
+ local_var_files = {}
1325
+
1326
+ body_params = None
1327
+ # HTTP header `Accept`
1328
+ header_params['Accept'] = self.api_client.select_header_accept(
1329
+ ['application/json']) # noqa: E501
1330
+
1331
+ # Authentication setting
1332
+ auth_settings = ['X-Authorization'] # noqa: E501
1333
+
1334
+ return self.api_client.call_api(
1335
+ '/api/user/{userId}/token', 'GET',
1336
+ path_params,
1337
+ query_params,
1338
+ header_params,
1339
+ body=body_params,
1340
+ post_params=form_params,
1341
+ files=local_var_files,
1342
+ response_type='JwtPair', # noqa: E501
1343
+ auth_settings=auth_settings,
1344
+ async_req=params.get('async_req'),
1345
+ _return_http_data_only=params.get('_return_http_data_only'),
1346
+ _preload_content=params.get('_preload_content', True),
1347
+ _request_timeout=params.get('_request_timeout'),
1348
+ collection_formats=collection_formats)
1349
+
1350
+ def get_users_for_assign_using_get(self, alarm_id, page_size, page, **kwargs): # noqa: E501
1351
+ """Get usersForAssign (getUsersForAssign) # noqa: E501
1352
+
1353
+ Returns page of user data objects that can be assigned to provided alarmId. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1354
+ This method makes a synchronous HTTP request by default. To make an
1355
+ asynchronous HTTP request, please pass async_req=True
1356
+ >>> thread = api.get_users_for_assign_using_get(alarm_id, page_size, page, async_req=True)
1357
+ >>> result = thread.get()
1358
+
1359
+ :param async_req bool
1360
+ :param str alarm_id: A string value representing the alarm id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1361
+ :param int page_size: Maximum amount of entities in a one page (required)
1362
+ :param int page: Sequence number of page starting from 0 (required)
1363
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
1364
+ :param str sort_property: Property of entity to sort by
1365
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1366
+ :return: PageDataUserEmailInfo
1367
+ If the method is called asynchronously,
1368
+ returns the request thread.
1369
+ """
1370
+ kwargs['_return_http_data_only'] = True
1371
+ if kwargs.get('async_req'):
1372
+ return self.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, **kwargs) # noqa: E501
1373
+ else:
1374
+ (data) = self.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, **kwargs) # noqa: E501
1375
+ return data
1376
+
1377
+ def get_users_for_assign_using_get_with_http_info(self, alarm_id, page_size, page, **kwargs): # noqa: E501
1378
+ """Get usersForAssign (getUsersForAssign) # noqa: E501
1379
+
1380
+ Returns page of user data objects that can be assigned to provided alarmId. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1381
+ This method makes a synchronous HTTP request by default. To make an
1382
+ asynchronous HTTP request, please pass async_req=True
1383
+ >>> thread = api.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, async_req=True)
1384
+ >>> result = thread.get()
1385
+
1386
+ :param async_req bool
1387
+ :param str alarm_id: A string value representing the alarm id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1388
+ :param int page_size: Maximum amount of entities in a one page (required)
1389
+ :param int page: Sequence number of page starting from 0 (required)
1390
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
1391
+ :param str sort_property: Property of entity to sort by
1392
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1393
+ :return: PageDataUserEmailInfo
1394
+ If the method is called asynchronously,
1395
+ returns the request thread.
1396
+ """
1397
+
1398
+ all_params = ['alarm_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
1399
+ all_params.append('async_req')
1400
+ all_params.append('_return_http_data_only')
1401
+ all_params.append('_preload_content')
1402
+ all_params.append('_request_timeout')
1403
+
1404
+ params = locals()
1405
+ for key, val in six.iteritems(params['kwargs']):
1406
+ if key not in all_params:
1407
+ raise TypeError(
1408
+ "Got an unexpected keyword argument '%s'"
1409
+ " to method get_users_for_assign_using_get" % key
1410
+ )
1411
+ params[key] = val
1412
+ del params['kwargs']
1413
+ # verify the required parameter 'alarm_id' is set
1414
+ if ('alarm_id' not in params or
1415
+ params['alarm_id'] is None):
1416
+ raise ValueError("Missing the required parameter `alarm_id` when calling `get_users_for_assign_using_get`") # noqa: E501
1417
+ # verify the required parameter 'page_size' is set
1418
+ if ('page_size' not in params or
1419
+ params['page_size'] is None):
1420
+ raise ValueError("Missing the required parameter `page_size` when calling `get_users_for_assign_using_get`") # noqa: E501
1421
+ # verify the required parameter 'page' is set
1422
+ if ('page' not in params or
1423
+ params['page'] is None):
1424
+ raise ValueError("Missing the required parameter `page` when calling `get_users_for_assign_using_get`") # noqa: E501
1425
+
1426
+ collection_formats = {}
1427
+
1428
+ path_params = {}
1429
+ if 'alarm_id' in params:
1430
+ path_params['alarmId'] = params['alarm_id'] # noqa: E501
1431
+
1432
+ query_params = []
1433
+ if 'page_size' in params:
1434
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
1435
+ if 'page' in params:
1436
+ query_params.append(('page', params['page'])) # noqa: E501
1437
+ if 'text_search' in params:
1438
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
1439
+ if 'sort_property' in params:
1440
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
1441
+ if 'sort_order' in params:
1442
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
1443
+
1444
+ header_params = {}
1445
+
1446
+ form_params = []
1447
+ local_var_files = {}
1448
+
1449
+ body_params = None
1450
+ # HTTP header `Accept`
1451
+ header_params['Accept'] = self.api_client.select_header_accept(
1452
+ ['application/json']) # noqa: E501
1453
+
1454
+ # Authentication setting
1455
+ auth_settings = ['X-Authorization'] # noqa: E501
1456
+
1457
+ return self.api_client.call_api(
1458
+ '/api/users/assign/{alarmId}{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
1459
+ path_params,
1460
+ query_params,
1461
+ header_params,
1462
+ body=body_params,
1463
+ post_params=form_params,
1464
+ files=local_var_files,
1465
+ response_type='PageDataUserEmailInfo', # noqa: E501
1466
+ auth_settings=auth_settings,
1467
+ async_req=params.get('async_req'),
1468
+ _return_http_data_only=params.get('_return_http_data_only'),
1469
+ _preload_content=params.get('_preload_content', True),
1470
+ _request_timeout=params.get('_request_timeout'),
1471
+ collection_formats=collection_formats)
1472
+
1473
+ def get_users_using_get(self, page_size, page, **kwargs): # noqa: E501
1474
+ """Get Users (getUsers) # noqa: E501
1475
+
1476
+ Returns a page of users owned by tenant or customer. The scope depends on authority of the user that performs the request.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1477
+ This method makes a synchronous HTTP request by default. To make an
1478
+ asynchronous HTTP request, please pass async_req=True
1479
+ >>> thread = api.get_users_using_get(page_size, page, async_req=True)
1480
+ >>> result = thread.get()
1481
+
1482
+ :param async_req bool
1483
+ :param int page_size: Maximum amount of entities in a one page (required)
1484
+ :param int page: Sequence number of page starting from 0 (required)
1485
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
1486
+ :param str sort_property: Property of entity to sort by
1487
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1488
+ :return: PageDataUser
1489
+ If the method is called asynchronously,
1490
+ returns the request thread.
1491
+ """
1492
+ kwargs['_return_http_data_only'] = True
1493
+ if kwargs.get('async_req'):
1494
+ return self.get_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1495
+ else:
1496
+ (data) = self.get_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1497
+ return data
1498
+
1499
+ def get_users_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
1500
+ """Get Users (getUsers) # noqa: E501
1501
+
1502
+ Returns a page of users owned by tenant or customer. The scope depends on authority of the user that performs the request.You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1503
+ This method makes a synchronous HTTP request by default. To make an
1504
+ asynchronous HTTP request, please pass async_req=True
1505
+ >>> thread = api.get_users_using_get_with_http_info(page_size, page, async_req=True)
1506
+ >>> result = thread.get()
1507
+
1508
+ :param async_req bool
1509
+ :param int page_size: Maximum amount of entities in a one page (required)
1510
+ :param int page: Sequence number of page starting from 0 (required)
1511
+ :param str text_search: The case insensitive 'substring' filter based on the user email.
1512
+ :param str sort_property: Property of entity to sort by
1513
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1514
+ :return: PageDataUser
1515
+ If the method is called asynchronously,
1516
+ returns the request thread.
1517
+ """
1518
+
1519
+ all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
1520
+ all_params.append('async_req')
1521
+ all_params.append('_return_http_data_only')
1522
+ all_params.append('_preload_content')
1523
+ all_params.append('_request_timeout')
1524
+
1525
+ params = locals()
1526
+ for key, val in six.iteritems(params['kwargs']):
1527
+ if key not in all_params:
1528
+ raise TypeError(
1529
+ "Got an unexpected keyword argument '%s'"
1530
+ " to method get_users_using_get" % key
1531
+ )
1532
+ params[key] = val
1533
+ del params['kwargs']
1534
+ # verify the required parameter 'page_size' is set
1535
+ if ('page_size' not in params or
1536
+ params['page_size'] is None):
1537
+ raise ValueError("Missing the required parameter `page_size` when calling `get_users_using_get`") # noqa: E501
1538
+ # verify the required parameter 'page' is set
1539
+ if ('page' not in params or
1540
+ params['page'] is None):
1541
+ raise ValueError("Missing the required parameter `page` when calling `get_users_using_get`") # noqa: E501
1542
+
1543
+ collection_formats = {}
1544
+
1545
+ path_params = {}
1546
+
1547
+ query_params = []
1548
+ if 'page_size' in params:
1549
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
1550
+ if 'page' in params:
1551
+ query_params.append(('page', params['page'])) # noqa: E501
1552
+ if 'text_search' in params:
1553
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
1554
+ if 'sort_property' in params:
1555
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
1556
+ if 'sort_order' in params:
1557
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
1558
+
1559
+ header_params = {}
1560
+
1561
+ form_params = []
1562
+ local_var_files = {}
1563
+
1564
+ body_params = None
1565
+ # HTTP header `Accept`
1566
+ header_params['Accept'] = self.api_client.select_header_accept(
1567
+ ['application/json']) # noqa: E501
1568
+
1569
+ # Authentication setting
1570
+ auth_settings = ['X-Authorization'] # noqa: E501
1571
+
1572
+ return self.api_client.call_api(
1573
+ '/api/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
1574
+ path_params,
1575
+ query_params,
1576
+ header_params,
1577
+ body=body_params,
1578
+ post_params=form_params,
1579
+ files=local_var_files,
1580
+ response_type='PageDataUser', # noqa: E501
1581
+ auth_settings=auth_settings,
1582
+ async_req=params.get('async_req'),
1583
+ _return_http_data_only=params.get('_return_http_data_only'),
1584
+ _preload_content=params.get('_preload_content', True),
1585
+ _request_timeout=params.get('_request_timeout'),
1586
+ collection_formats=collection_formats)
1587
+
1588
+ def is_user_token_access_enabled_using_get(self, **kwargs): # noqa: E501
1589
+ """Check Token Access Enabled (isUserTokenAccessEnabled) # noqa: E501
1590
+
1591
+ Checks that the system is configured to allow administrators to impersonate themself as other users. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to login as any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to login as any customer user. # noqa: E501
1592
+ This method makes a synchronous HTTP request by default. To make an
1593
+ asynchronous HTTP request, please pass async_req=True
1594
+ >>> thread = api.is_user_token_access_enabled_using_get(async_req=True)
1595
+ >>> result = thread.get()
1596
+
1597
+ :param async_req bool
1598
+ :return: bool
1599
+ If the method is called asynchronously,
1600
+ returns the request thread.
1601
+ """
1602
+ kwargs['_return_http_data_only'] = True
1603
+ if kwargs.get('async_req'):
1604
+ return self.is_user_token_access_enabled_using_get_with_http_info(**kwargs) # noqa: E501
1605
+ else:
1606
+ (data) = self.is_user_token_access_enabled_using_get_with_http_info(**kwargs) # noqa: E501
1607
+ return data
1608
+
1609
+ def is_user_token_access_enabled_using_get_with_http_info(self, **kwargs): # noqa: E501
1610
+ """Check Token Access Enabled (isUserTokenAccessEnabled) # noqa: E501
1611
+
1612
+ Checks that the system is configured to allow administrators to impersonate themself as other users. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to login as any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to login as any customer user. # noqa: E501
1613
+ This method makes a synchronous HTTP request by default. To make an
1614
+ asynchronous HTTP request, please pass async_req=True
1615
+ >>> thread = api.is_user_token_access_enabled_using_get_with_http_info(async_req=True)
1616
+ >>> result = thread.get()
1617
+
1618
+ :param async_req bool
1619
+ :return: bool
1620
+ If the method is called asynchronously,
1621
+ returns the request thread.
1622
+ """
1623
+
1624
+ all_params = [] # noqa: E501
1625
+ all_params.append('async_req')
1626
+ all_params.append('_return_http_data_only')
1627
+ all_params.append('_preload_content')
1628
+ all_params.append('_request_timeout')
1629
+
1630
+ params = locals()
1631
+ for key, val in six.iteritems(params['kwargs']):
1632
+ if key not in all_params:
1633
+ raise TypeError(
1634
+ "Got an unexpected keyword argument '%s'"
1635
+ " to method is_user_token_access_enabled_using_get" % key
1636
+ )
1637
+ params[key] = val
1638
+ del params['kwargs']
1639
+
1640
+ collection_formats = {}
1641
+
1642
+ path_params = {}
1643
+
1644
+ query_params = []
1645
+
1646
+ header_params = {}
1647
+
1648
+ form_params = []
1649
+ local_var_files = {}
1650
+
1651
+ body_params = None
1652
+ # HTTP header `Accept`
1653
+ header_params['Accept'] = self.api_client.select_header_accept(
1654
+ ['application/json']) # noqa: E501
1655
+
1656
+ # Authentication setting
1657
+ auth_settings = ['X-Authorization'] # noqa: E501
1658
+
1659
+ return self.api_client.call_api(
1660
+ '/api/user/tokenAccessEnabled', 'GET',
1661
+ path_params,
1662
+ query_params,
1663
+ header_params,
1664
+ body=body_params,
1665
+ post_params=form_params,
1666
+ files=local_var_files,
1667
+ response_type='bool', # noqa: E501
1668
+ auth_settings=auth_settings,
1669
+ async_req=params.get('async_req'),
1670
+ _return_http_data_only=params.get('_return_http_data_only'),
1671
+ _preload_content=params.get('_preload_content', True),
1672
+ _request_timeout=params.get('_request_timeout'),
1673
+ collection_formats=collection_formats)
1674
+
1675
+ def put_user_settings_using_put(self, **kwargs): # noqa: E501
1676
+ """Update user settings (saveUserSettings) # noqa: E501
1677
+
1678
+ Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
1679
+ This method makes a synchronous HTTP request by default. To make an
1680
+ asynchronous HTTP request, please pass async_req=True
1681
+ >>> thread = api.put_user_settings_using_put(async_req=True)
1682
+ >>> result = thread.get()
1683
+
1684
+ :param async_req bool
1685
+ :param JsonNode body:
1686
+ :return: None
1687
+ If the method is called asynchronously,
1688
+ returns the request thread.
1689
+ """
1690
+ kwargs['_return_http_data_only'] = True
1691
+ if kwargs.get('async_req'):
1692
+ return self.put_user_settings_using_put_with_http_info(**kwargs) # noqa: E501
1693
+ else:
1694
+ (data) = self.put_user_settings_using_put_with_http_info(**kwargs) # noqa: E501
1695
+ return data
1696
+
1697
+ def put_user_settings_using_put_with_http_info(self, **kwargs): # noqa: E501
1698
+ """Update user settings (saveUserSettings) # noqa: E501
1699
+
1700
+ Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
1701
+ This method makes a synchronous HTTP request by default. To make an
1702
+ asynchronous HTTP request, please pass async_req=True
1703
+ >>> thread = api.put_user_settings_using_put_with_http_info(async_req=True)
1704
+ >>> result = thread.get()
1705
+
1706
+ :param async_req bool
1707
+ :param JsonNode body:
1708
+ :return: None
1709
+ If the method is called asynchronously,
1710
+ returns the request thread.
1711
+ """
1712
+
1713
+ all_params = ['body'] # noqa: E501
1714
+ all_params.append('async_req')
1715
+ all_params.append('_return_http_data_only')
1716
+ all_params.append('_preload_content')
1717
+ all_params.append('_request_timeout')
1718
+
1719
+ params = locals()
1720
+ for key, val in six.iteritems(params['kwargs']):
1721
+ if key not in all_params:
1722
+ raise TypeError(
1723
+ "Got an unexpected keyword argument '%s'"
1724
+ " to method put_user_settings_using_put" % key
1725
+ )
1726
+ params[key] = val
1727
+ del params['kwargs']
1728
+
1729
+ collection_formats = {}
1730
+
1731
+ path_params = {}
1732
+
1733
+ query_params = []
1734
+
1735
+ header_params = {}
1736
+
1737
+ form_params = []
1738
+ local_var_files = {}
1739
+
1740
+ body_params = None
1741
+ if 'body' in params:
1742
+ body_params = params['body']
1743
+ # HTTP header `Content-Type`
1744
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1745
+ ['application/json']) # noqa: E501
1746
+
1747
+ # Authentication setting
1748
+ auth_settings = ['X-Authorization'] # noqa: E501
1749
+
1750
+ return self.api_client.call_api(
1751
+ '/api/user/settings', 'PUT',
1752
+ path_params,
1753
+ query_params,
1754
+ header_params,
1755
+ body=body_params,
1756
+ post_params=form_params,
1757
+ files=local_var_files,
1758
+ response_type=None, # noqa: E501
1759
+ auth_settings=auth_settings,
1760
+ async_req=params.get('async_req'),
1761
+ _return_http_data_only=params.get('_return_http_data_only'),
1762
+ _preload_content=params.get('_preload_content', True),
1763
+ _request_timeout=params.get('_request_timeout'),
1764
+ collection_formats=collection_formats)
1765
+
1766
+ def put_user_settings_using_put1(self, type, **kwargs): # noqa: E501
1767
+ """Update user settings (saveUserSettings) # noqa: E501
1768
+
1769
+ Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
1770
+ This method makes a synchronous HTTP request by default. To make an
1771
+ asynchronous HTTP request, please pass async_req=True
1772
+ >>> thread = api.put_user_settings_using_put1(type, async_req=True)
1773
+ >>> result = thread.get()
1774
+
1775
+ :param async_req bool
1776
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
1777
+ :param JsonNode body:
1778
+ :return: None
1779
+ If the method is called asynchronously,
1780
+ returns the request thread.
1781
+ """
1782
+ kwargs['_return_http_data_only'] = True
1783
+ if kwargs.get('async_req'):
1784
+ return self.put_user_settings_using_put1_with_http_info(type, **kwargs) # noqa: E501
1785
+ else:
1786
+ (data) = self.put_user_settings_using_put1_with_http_info(type, **kwargs) # noqa: E501
1787
+ return data
1788
+
1789
+ def put_user_settings_using_put1_with_http_info(self, type, **kwargs): # noqa: E501
1790
+ """Update user settings (saveUserSettings) # noqa: E501
1791
+
1792
+ Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
1793
+ This method makes a synchronous HTTP request by default. To make an
1794
+ asynchronous HTTP request, please pass async_req=True
1795
+ >>> thread = api.put_user_settings_using_put1_with_http_info(type, async_req=True)
1796
+ >>> result = thread.get()
1797
+
1798
+ :param async_req bool
1799
+ :param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
1800
+ :param JsonNode body:
1801
+ :return: None
1802
+ If the method is called asynchronously,
1803
+ returns the request thread.
1804
+ """
1805
+
1806
+ all_params = ['type', 'body'] # noqa: E501
1807
+ all_params.append('async_req')
1808
+ all_params.append('_return_http_data_only')
1809
+ all_params.append('_preload_content')
1810
+ all_params.append('_request_timeout')
1811
+
1812
+ params = locals()
1813
+ for key, val in six.iteritems(params['kwargs']):
1814
+ if key not in all_params:
1815
+ raise TypeError(
1816
+ "Got an unexpected keyword argument '%s'"
1817
+ " to method put_user_settings_using_put1" % key
1818
+ )
1819
+ params[key] = val
1820
+ del params['kwargs']
1821
+ # verify the required parameter 'type' is set
1822
+ if ('type' not in params or
1823
+ params['type'] is None):
1824
+ raise ValueError("Missing the required parameter `type` when calling `put_user_settings_using_put1`") # noqa: E501
1825
+
1826
+ collection_formats = {}
1827
+
1828
+ path_params = {}
1829
+ if 'type' in params:
1830
+ path_params['type'] = params['type'] # noqa: E501
1831
+
1832
+ query_params = []
1833
+
1834
+ header_params = {}
1835
+
1836
+ form_params = []
1837
+ local_var_files = {}
1838
+
1839
+ body_params = None
1840
+ if 'body' in params:
1841
+ body_params = params['body']
1842
+ # HTTP header `Content-Type`
1843
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
1844
+ ['application/json']) # noqa: E501
1845
+
1846
+ # Authentication setting
1847
+ auth_settings = ['X-Authorization'] # noqa: E501
1848
+
1849
+ return self.api_client.call_api(
1850
+ '/api/user/settings/{type}', 'PUT',
1851
+ path_params,
1852
+ query_params,
1853
+ header_params,
1854
+ body=body_params,
1855
+ post_params=form_params,
1856
+ files=local_var_files,
1857
+ response_type=None, # noqa: E501
1858
+ auth_settings=auth_settings,
1859
+ async_req=params.get('async_req'),
1860
+ _return_http_data_only=params.get('_return_http_data_only'),
1861
+ _preload_content=params.get('_preload_content', True),
1862
+ _request_timeout=params.get('_request_timeout'),
1863
+ collection_formats=collection_formats)
1864
+
1865
+ def remove_mobile_session_using_delete(self, x_mobile_token, **kwargs): # noqa: E501
1866
+ """removeMobileSession # noqa: E501
1867
+
1868
+ This method makes a synchronous HTTP request by default. To make an
1869
+ asynchronous HTTP request, please pass async_req=True
1870
+ >>> thread = api.remove_mobile_session_using_delete(x_mobile_token, async_req=True)
1871
+ >>> result = thread.get()
1872
+
1873
+ :param async_req bool
1874
+ :param str x_mobile_token: X-Mobile-Token (required)
1875
+ :return: None
1876
+ If the method is called asynchronously,
1877
+ returns the request thread.
1878
+ """
1879
+ kwargs['_return_http_data_only'] = True
1880
+ if kwargs.get('async_req'):
1881
+ return self.remove_mobile_session_using_delete_with_http_info(x_mobile_token, **kwargs) # noqa: E501
1882
+ else:
1883
+ (data) = self.remove_mobile_session_using_delete_with_http_info(x_mobile_token, **kwargs) # noqa: E501
1884
+ return data
1885
+
1886
+ def remove_mobile_session_using_delete_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
1887
+ """removeMobileSession # noqa: E501
1888
+
1889
+ This method makes a synchronous HTTP request by default. To make an
1890
+ asynchronous HTTP request, please pass async_req=True
1891
+ >>> thread = api.remove_mobile_session_using_delete_with_http_info(x_mobile_token, async_req=True)
1892
+ >>> result = thread.get()
1893
+
1894
+ :param async_req bool
1895
+ :param str x_mobile_token: X-Mobile-Token (required)
1896
+ :return: None
1897
+ If the method is called asynchronously,
1898
+ returns the request thread.
1899
+ """
1900
+
1901
+ all_params = ['x_mobile_token'] # noqa: E501
1902
+ all_params.append('async_req')
1903
+ all_params.append('_return_http_data_only')
1904
+ all_params.append('_preload_content')
1905
+ all_params.append('_request_timeout')
1906
+
1907
+ params = locals()
1908
+ for key, val in six.iteritems(params['kwargs']):
1909
+ if key not in all_params:
1910
+ raise TypeError(
1911
+ "Got an unexpected keyword argument '%s'"
1912
+ " to method remove_mobile_session_using_delete" % key
1913
+ )
1914
+ params[key] = val
1915
+ del params['kwargs']
1916
+ # verify the required parameter 'x_mobile_token' is set
1917
+ if ('x_mobile_token' not in params or
1918
+ params['x_mobile_token'] is None):
1919
+ raise ValueError("Missing the required parameter `x_mobile_token` when calling `remove_mobile_session_using_delete`") # noqa: E501
1920
+
1921
+ collection_formats = {}
1922
+
1923
+ path_params = {}
1924
+
1925
+ query_params = []
1926
+
1927
+ header_params = {}
1928
+ if 'x_mobile_token' in params:
1929
+ header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
1930
+
1931
+ form_params = []
1932
+ local_var_files = {}
1933
+
1934
+ body_params = None
1935
+ # HTTP header `Accept`
1936
+ header_params['Accept'] = self.api_client.select_header_accept(
1937
+ ['application/json']) # noqa: E501
1938
+
1939
+ # Authentication setting
1940
+ auth_settings = ['X-Authorization'] # noqa: E501
1941
+
1942
+ return self.api_client.call_api(
1943
+ '/api/user/mobile/session', 'DELETE',
1944
+ path_params,
1945
+ query_params,
1946
+ header_params,
1947
+ body=body_params,
1948
+ post_params=form_params,
1949
+ files=local_var_files,
1950
+ response_type=None, # noqa: E501
1951
+ auth_settings=auth_settings,
1952
+ async_req=params.get('async_req'),
1953
+ _return_http_data_only=params.get('_return_http_data_only'),
1954
+ _preload_content=params.get('_preload_content', True),
1955
+ _request_timeout=params.get('_request_timeout'),
1956
+ collection_formats=collection_formats)
1957
+
1958
+ def report_user_dashboard_action_using_get(self, dashboard_id, action, **kwargs): # noqa: E501
1959
+ """Report action of User over the dashboard (reportUserDashboardAction) # noqa: E501
1960
+
1961
+ Report action of User over the dashboard. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1962
+ This method makes a synchronous HTTP request by default. To make an
1963
+ asynchronous HTTP request, please pass async_req=True
1964
+ >>> thread = api.report_user_dashboard_action_using_get(dashboard_id, action, async_req=True)
1965
+ >>> result = thread.get()
1966
+
1967
+ :param async_req bool
1968
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1969
+ :param str action: Dashboard action, one of: \"visit\", \"star\" or \"unstar\". (required)
1970
+ :return: UserDashboardsInfo
1971
+ If the method is called asynchronously,
1972
+ returns the request thread.
1973
+ """
1974
+ kwargs['_return_http_data_only'] = True
1975
+ if kwargs.get('async_req'):
1976
+ return self.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, **kwargs) # noqa: E501
1977
+ else:
1978
+ (data) = self.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, **kwargs) # noqa: E501
1979
+ return data
1980
+
1981
+ def report_user_dashboard_action_using_get_with_http_info(self, dashboard_id, action, **kwargs): # noqa: E501
1982
+ """Report action of User over the dashboard (reportUserDashboardAction) # noqa: E501
1983
+
1984
+ Report action of User over the dashboard. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1985
+ This method makes a synchronous HTTP request by default. To make an
1986
+ asynchronous HTTP request, please pass async_req=True
1987
+ >>> thread = api.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, async_req=True)
1988
+ >>> result = thread.get()
1989
+
1990
+ :param async_req bool
1991
+ :param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1992
+ :param str action: Dashboard action, one of: \"visit\", \"star\" or \"unstar\". (required)
1993
+ :return: UserDashboardsInfo
1994
+ If the method is called asynchronously,
1995
+ returns the request thread.
1996
+ """
1997
+
1998
+ all_params = ['dashboard_id', 'action'] # noqa: E501
1999
+ all_params.append('async_req')
2000
+ all_params.append('_return_http_data_only')
2001
+ all_params.append('_preload_content')
2002
+ all_params.append('_request_timeout')
2003
+
2004
+ params = locals()
2005
+ for key, val in six.iteritems(params['kwargs']):
2006
+ if key not in all_params:
2007
+ raise TypeError(
2008
+ "Got an unexpected keyword argument '%s'"
2009
+ " to method report_user_dashboard_action_using_get" % key
2010
+ )
2011
+ params[key] = val
2012
+ del params['kwargs']
2013
+ # verify the required parameter 'dashboard_id' is set
2014
+ if ('dashboard_id' not in params or
2015
+ params['dashboard_id'] is None):
2016
+ raise ValueError("Missing the required parameter `dashboard_id` when calling `report_user_dashboard_action_using_get`") # noqa: E501
2017
+ # verify the required parameter 'action' is set
2018
+ if ('action' not in params or
2019
+ params['action'] is None):
2020
+ raise ValueError("Missing the required parameter `action` when calling `report_user_dashboard_action_using_get`") # noqa: E501
2021
+
2022
+ collection_formats = {}
2023
+
2024
+ path_params = {}
2025
+ if 'dashboard_id' in params:
2026
+ path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
2027
+ if 'action' in params:
2028
+ path_params['action'] = params['action'] # noqa: E501
2029
+
2030
+ query_params = []
2031
+
2032
+ header_params = {}
2033
+
2034
+ form_params = []
2035
+ local_var_files = {}
2036
+
2037
+ body_params = None
2038
+ # HTTP header `Accept`
2039
+ header_params['Accept'] = self.api_client.select_header_accept(
2040
+ ['application/json']) # noqa: E501
2041
+
2042
+ # Authentication setting
2043
+ auth_settings = ['X-Authorization'] # noqa: E501
2044
+
2045
+ return self.api_client.call_api(
2046
+ '/api/user/dashboards/{dashboardId}/{action}', 'GET',
2047
+ path_params,
2048
+ query_params,
2049
+ header_params,
2050
+ body=body_params,
2051
+ post_params=form_params,
2052
+ files=local_var_files,
2053
+ response_type='UserDashboardsInfo', # noqa: E501
2054
+ auth_settings=auth_settings,
2055
+ async_req=params.get('async_req'),
2056
+ _return_http_data_only=params.get('_return_http_data_only'),
2057
+ _preload_content=params.get('_preload_content', True),
2058
+ _request_timeout=params.get('_request_timeout'),
2059
+ collection_formats=collection_formats)
2060
+
2061
+ def save_mobile_session_using_post(self, x_mobile_token, **kwargs): # noqa: E501
2062
+ """saveMobileSession # noqa: E501
2063
+
2064
+ This method makes a synchronous HTTP request by default. To make an
2065
+ asynchronous HTTP request, please pass async_req=True
2066
+ >>> thread = api.save_mobile_session_using_post(x_mobile_token, async_req=True)
2067
+ >>> result = thread.get()
2068
+
2069
+ :param async_req bool
2070
+ :param str x_mobile_token: X-Mobile-Token (required)
2071
+ :param MobileSessionInfo body:
2072
+ :return: None
2073
+ If the method is called asynchronously,
2074
+ returns the request thread.
2075
+ """
2076
+ kwargs['_return_http_data_only'] = True
2077
+ if kwargs.get('async_req'):
2078
+ return self.save_mobile_session_using_post_with_http_info(x_mobile_token, **kwargs) # noqa: E501
2079
+ else:
2080
+ (data) = self.save_mobile_session_using_post_with_http_info(x_mobile_token, **kwargs) # noqa: E501
2081
+ return data
2082
+
2083
+ def save_mobile_session_using_post_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
2084
+ """saveMobileSession # noqa: E501
2085
+
2086
+ This method makes a synchronous HTTP request by default. To make an
2087
+ asynchronous HTTP request, please pass async_req=True
2088
+ >>> thread = api.save_mobile_session_using_post_with_http_info(x_mobile_token, async_req=True)
2089
+ >>> result = thread.get()
2090
+
2091
+ :param async_req bool
2092
+ :param str x_mobile_token: X-Mobile-Token (required)
2093
+ :param MobileSessionInfo body:
2094
+ :return: None
2095
+ If the method is called asynchronously,
2096
+ returns the request thread.
2097
+ """
2098
+
2099
+ all_params = ['x_mobile_token', 'body'] # noqa: E501
2100
+ all_params.append('async_req')
2101
+ all_params.append('_return_http_data_only')
2102
+ all_params.append('_preload_content')
2103
+ all_params.append('_request_timeout')
2104
+
2105
+ params = locals()
2106
+ for key, val in six.iteritems(params['kwargs']):
2107
+ if key not in all_params:
2108
+ raise TypeError(
2109
+ "Got an unexpected keyword argument '%s'"
2110
+ " to method save_mobile_session_using_post" % key
2111
+ )
2112
+ params[key] = val
2113
+ del params['kwargs']
2114
+ # verify the required parameter 'x_mobile_token' is set
2115
+ if ('x_mobile_token' not in params or
2116
+ params['x_mobile_token'] is None):
2117
+ raise ValueError("Missing the required parameter `x_mobile_token` when calling `save_mobile_session_using_post`") # noqa: E501
2118
+
2119
+ collection_formats = {}
2120
+
2121
+ path_params = {}
2122
+
2123
+ query_params = []
2124
+
2125
+ header_params = {}
2126
+ if 'x_mobile_token' in params:
2127
+ header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
2128
+
2129
+ form_params = []
2130
+ local_var_files = {}
2131
+
2132
+ body_params = None
2133
+ if 'body' in params:
2134
+ body_params = params['body']
2135
+ # HTTP header `Accept`
2136
+ header_params['Accept'] = self.api_client.select_header_accept(
2137
+ ['application/json']) # noqa: E501
2138
+
2139
+ # HTTP header `Content-Type`
2140
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2141
+ ['application/json']) # noqa: E501
2142
+
2143
+ # Authentication setting
2144
+ auth_settings = ['X-Authorization'] # noqa: E501
2145
+
2146
+ return self.api_client.call_api(
2147
+ '/api/user/mobile/session', 'POST',
2148
+ path_params,
2149
+ query_params,
2150
+ header_params,
2151
+ body=body_params,
2152
+ post_params=form_params,
2153
+ files=local_var_files,
2154
+ response_type=None, # noqa: E501
2155
+ auth_settings=auth_settings,
2156
+ async_req=params.get('async_req'),
2157
+ _return_http_data_only=params.get('_return_http_data_only'),
2158
+ _preload_content=params.get('_preload_content', True),
2159
+ _request_timeout=params.get('_request_timeout'),
2160
+ collection_formats=collection_formats)
2161
+
2162
+ def save_user_settings_using_post(self, **kwargs): # noqa: E501
2163
+ """Save user settings (saveUserSettings) # noqa: E501
2164
+
2165
+ Save user settings represented in json format for authorized user. # noqa: E501
2166
+ This method makes a synchronous HTTP request by default. To make an
2167
+ asynchronous HTTP request, please pass async_req=True
2168
+ >>> thread = api.save_user_settings_using_post(async_req=True)
2169
+ >>> result = thread.get()
2170
+
2171
+ :param async_req bool
2172
+ :param JsonNode body:
2173
+ :return: JsonNode
2174
+ If the method is called asynchronously,
2175
+ returns the request thread.
2176
+ """
2177
+ kwargs['_return_http_data_only'] = True
2178
+ if kwargs.get('async_req'):
2179
+ return self.save_user_settings_using_post_with_http_info(**kwargs) # noqa: E501
2180
+ else:
2181
+ (data) = self.save_user_settings_using_post_with_http_info(**kwargs) # noqa: E501
2182
+ return data
2183
+
2184
+ def save_user_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
2185
+ """Save user settings (saveUserSettings) # noqa: E501
2186
+
2187
+ Save user settings represented in json format for authorized user. # noqa: E501
2188
+ This method makes a synchronous HTTP request by default. To make an
2189
+ asynchronous HTTP request, please pass async_req=True
2190
+ >>> thread = api.save_user_settings_using_post_with_http_info(async_req=True)
2191
+ >>> result = thread.get()
2192
+
2193
+ :param async_req bool
2194
+ :param JsonNode body:
2195
+ :return: JsonNode
2196
+ If the method is called asynchronously,
2197
+ returns the request thread.
2198
+ """
2199
+
2200
+ all_params = ['body'] # noqa: E501
2201
+ all_params.append('async_req')
2202
+ all_params.append('_return_http_data_only')
2203
+ all_params.append('_preload_content')
2204
+ all_params.append('_request_timeout')
2205
+
2206
+ params = locals()
2207
+ for key, val in six.iteritems(params['kwargs']):
2208
+ if key not in all_params:
2209
+ raise TypeError(
2210
+ "Got an unexpected keyword argument '%s'"
2211
+ " to method save_user_settings_using_post" % key
2212
+ )
2213
+ params[key] = val
2214
+ del params['kwargs']
2215
+
2216
+ collection_formats = {}
2217
+
2218
+ path_params = {}
2219
+
2220
+ query_params = []
2221
+
2222
+ header_params = {}
2223
+
2224
+ form_params = []
2225
+ local_var_files = {}
2226
+
2227
+ body_params = None
2228
+ if 'body' in params:
2229
+ body_params = params['body']
2230
+ # HTTP header `Accept`
2231
+ header_params['Accept'] = self.api_client.select_header_accept(
2232
+ ['application/json']) # noqa: E501
2233
+
2234
+ # HTTP header `Content-Type`
2235
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2236
+ ['application/json']) # noqa: E501
2237
+
2238
+ # Authentication setting
2239
+ auth_settings = ['X-Authorization'] # noqa: E501
2240
+
2241
+ return self.api_client.call_api(
2242
+ '/api/user/settings', 'POST',
2243
+ path_params,
2244
+ query_params,
2245
+ header_params,
2246
+ body=body_params,
2247
+ post_params=form_params,
2248
+ files=local_var_files,
2249
+ response_type='JsonNode', # noqa: E501
2250
+ auth_settings=auth_settings,
2251
+ async_req=params.get('async_req'),
2252
+ _return_http_data_only=params.get('_return_http_data_only'),
2253
+ _preload_content=params.get('_preload_content', True),
2254
+ _request_timeout=params.get('_request_timeout'),
2255
+ collection_formats=collection_formats)
2256
+
2257
+ def save_user_using_post(self, **kwargs): # noqa: E501
2258
+ """Save Or update User (saveUser) # noqa: E501
2259
+
2260
+ Create or update the User. When creating user, platform generates User Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created User Id will be present in the response. Specify existing User Id to update the device. Referencing non-existing User Id will cause 'Not Found' error. Device email is unique for entire platform setup.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new User entity. Available for users with 'SYS_ADMIN', 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
2261
+ This method makes a synchronous HTTP request by default. To make an
2262
+ asynchronous HTTP request, please pass async_req=True
2263
+ >>> thread = api.save_user_using_post(async_req=True)
2264
+ >>> result = thread.get()
2265
+
2266
+ :param async_req bool
2267
+ :param User body:
2268
+ :param bool send_activation_mail: Send activation email (or use activation link)
2269
+ :return: User
2270
+ If the method is called asynchronously,
2271
+ returns the request thread.
2272
+ """
2273
+ kwargs['_return_http_data_only'] = True
2274
+ if kwargs.get('async_req'):
2275
+ return self.save_user_using_post_with_http_info(**kwargs) # noqa: E501
2276
+ else:
2277
+ (data) = self.save_user_using_post_with_http_info(**kwargs) # noqa: E501
2278
+ return data
2279
+
2280
+ def save_user_using_post_with_http_info(self, **kwargs): # noqa: E501
2281
+ """Save Or update User (saveUser) # noqa: E501
2282
+
2283
+ Create or update the User. When creating user, platform generates User Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created User Id will be present in the response. Specify existing User Id to update the device. Referencing non-existing User Id will cause 'Not Found' error. Device email is unique for entire platform setup.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new User entity. Available for users with 'SYS_ADMIN', 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
2284
+ This method makes a synchronous HTTP request by default. To make an
2285
+ asynchronous HTTP request, please pass async_req=True
2286
+ >>> thread = api.save_user_using_post_with_http_info(async_req=True)
2287
+ >>> result = thread.get()
2288
+
2289
+ :param async_req bool
2290
+ :param User body:
2291
+ :param bool send_activation_mail: Send activation email (or use activation link)
2292
+ :return: User
2293
+ If the method is called asynchronously,
2294
+ returns the request thread.
2295
+ """
2296
+
2297
+ all_params = ['body', 'send_activation_mail'] # noqa: E501
2298
+ all_params.append('async_req')
2299
+ all_params.append('_return_http_data_only')
2300
+ all_params.append('_preload_content')
2301
+ all_params.append('_request_timeout')
2302
+
2303
+ params = locals()
2304
+ for key, val in six.iteritems(params['kwargs']):
2305
+ if key not in all_params:
2306
+ raise TypeError(
2307
+ "Got an unexpected keyword argument '%s'"
2308
+ " to method save_user_using_post" % key
2309
+ )
2310
+ params[key] = val
2311
+ del params['kwargs']
2312
+
2313
+ collection_formats = {}
2314
+
2315
+ path_params = {}
2316
+
2317
+ query_params = []
2318
+ if 'send_activation_mail' in params:
2319
+ query_params.append(('sendActivationMail', params['send_activation_mail'])) # noqa: E501
2320
+
2321
+ header_params = {}
2322
+
2323
+ form_params = []
2324
+ local_var_files = {}
2325
+
2326
+ body_params = None
2327
+ if 'body' in params:
2328
+ body_params = params['body']
2329
+ # HTTP header `Accept`
2330
+ header_params['Accept'] = self.api_client.select_header_accept(
2331
+ ['application/json']) # noqa: E501
2332
+
2333
+ # HTTP header `Content-Type`
2334
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2335
+ ['application/json']) # noqa: E501
2336
+
2337
+ # Authentication setting
2338
+ auth_settings = ['X-Authorization'] # noqa: E501
2339
+
2340
+ return self.api_client.call_api(
2341
+ '/api/user{?sendActivationMail}', 'POST',
2342
+ path_params,
2343
+ query_params,
2344
+ header_params,
2345
+ body=body_params,
2346
+ post_params=form_params,
2347
+ files=local_var_files,
2348
+ response_type='User', # noqa: E501
2349
+ auth_settings=auth_settings,
2350
+ async_req=params.get('async_req'),
2351
+ _return_http_data_only=params.get('_return_http_data_only'),
2352
+ _preload_content=params.get('_preload_content', True),
2353
+ _request_timeout=params.get('_request_timeout'),
2354
+ collection_formats=collection_formats)
2355
+
2356
+ def send_activation_email_using_post(self, email, **kwargs): # noqa: E501
2357
+ """Send or re-send the activation email # noqa: E501
2358
+
2359
+ Force send the activation email to the user. Useful to resend the email if user has accidentally deleted it. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
2360
+ This method makes a synchronous HTTP request by default. To make an
2361
+ asynchronous HTTP request, please pass async_req=True
2362
+ >>> thread = api.send_activation_email_using_post(email, async_req=True)
2363
+ >>> result = thread.get()
2364
+
2365
+ :param async_req bool
2366
+ :param str email: Email of the user (required)
2367
+ :return: None
2368
+ If the method is called asynchronously,
2369
+ returns the request thread.
2370
+ """
2371
+ kwargs['_return_http_data_only'] = True
2372
+ if kwargs.get('async_req'):
2373
+ return self.send_activation_email_using_post_with_http_info(email, **kwargs) # noqa: E501
2374
+ else:
2375
+ (data) = self.send_activation_email_using_post_with_http_info(email, **kwargs) # noqa: E501
2376
+ return data
2377
+
2378
+ def send_activation_email_using_post_with_http_info(self, email, **kwargs): # noqa: E501
2379
+ """Send or re-send the activation email # noqa: E501
2380
+
2381
+ Force send the activation email to the user. Useful to resend the email if user has accidentally deleted it. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
2382
+ This method makes a synchronous HTTP request by default. To make an
2383
+ asynchronous HTTP request, please pass async_req=True
2384
+ >>> thread = api.send_activation_email_using_post_with_http_info(email, async_req=True)
2385
+ >>> result = thread.get()
2386
+
2387
+ :param async_req bool
2388
+ :param str email: Email of the user (required)
2389
+ :return: None
2390
+ If the method is called asynchronously,
2391
+ returns the request thread.
2392
+ """
2393
+
2394
+ all_params = ['email'] # noqa: E501
2395
+ all_params.append('async_req')
2396
+ all_params.append('_return_http_data_only')
2397
+ all_params.append('_preload_content')
2398
+ all_params.append('_request_timeout')
2399
+
2400
+ params = locals()
2401
+ for key, val in six.iteritems(params['kwargs']):
2402
+ if key not in all_params:
2403
+ raise TypeError(
2404
+ "Got an unexpected keyword argument '%s'"
2405
+ " to method send_activation_email_using_post" % key
2406
+ )
2407
+ params[key] = val
2408
+ del params['kwargs']
2409
+ # verify the required parameter 'email' is set
2410
+ if ('email' not in params or
2411
+ params['email'] is None):
2412
+ raise ValueError("Missing the required parameter `email` when calling `send_activation_email_using_post`") # noqa: E501
2413
+
2414
+ collection_formats = {}
2415
+
2416
+ path_params = {}
2417
+
2418
+ query_params = []
2419
+ if 'email' in params:
2420
+ query_params.append(('email', params['email'])) # noqa: E501
2421
+
2422
+ header_params = {}
2423
+
2424
+ form_params = []
2425
+ local_var_files = {}
2426
+
2427
+ body_params = None
2428
+ # HTTP header `Accept`
2429
+ header_params['Accept'] = self.api_client.select_header_accept(
2430
+ ['application/json']) # noqa: E501
2431
+
2432
+ # Authentication setting
2433
+ auth_settings = ['X-Authorization'] # noqa: E501
2434
+
2435
+ return self.api_client.call_api(
2436
+ '/api/user/sendActivationMail{?email}', 'POST',
2437
+ path_params,
2438
+ query_params,
2439
+ header_params,
2440
+ body=body_params,
2441
+ post_params=form_params,
2442
+ files=local_var_files,
2443
+ response_type=None, # noqa: E501
2444
+ auth_settings=auth_settings,
2445
+ async_req=params.get('async_req'),
2446
+ _return_http_data_only=params.get('_return_http_data_only'),
2447
+ _preload_content=params.get('_preload_content', True),
2448
+ _request_timeout=params.get('_request_timeout'),
2449
+ collection_formats=collection_formats)
2450
+
2451
+ def set_user_credentials_enabled_using_post(self, user_id, **kwargs): # noqa: E501
2452
+ """Enable/Disable User credentials (setUserCredentialsEnabled) # noqa: E501
2453
+
2454
+ Enables or Disables user credentials. Useful when you would like to block user account without deleting it. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2455
+ This method makes a synchronous HTTP request by default. To make an
2456
+ asynchronous HTTP request, please pass async_req=True
2457
+ >>> thread = api.set_user_credentials_enabled_using_post(user_id, async_req=True)
2458
+ >>> result = thread.get()
2459
+
2460
+ :param async_req bool
2461
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2462
+ :param bool user_credentials_enabled: Enable (\"true\") or disable (\"false\") the credentials.
2463
+ :return: None
2464
+ If the method is called asynchronously,
2465
+ returns the request thread.
2466
+ """
2467
+ kwargs['_return_http_data_only'] = True
2468
+ if kwargs.get('async_req'):
2469
+ return self.set_user_credentials_enabled_using_post_with_http_info(user_id, **kwargs) # noqa: E501
2470
+ else:
2471
+ (data) = self.set_user_credentials_enabled_using_post_with_http_info(user_id, **kwargs) # noqa: E501
2472
+ return data
2473
+
2474
+ def set_user_credentials_enabled_using_post_with_http_info(self, user_id, **kwargs): # noqa: E501
2475
+ """Enable/Disable User credentials (setUserCredentialsEnabled) # noqa: E501
2476
+
2477
+ Enables or Disables user credentials. Useful when you would like to block user account without deleting it. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2478
+ This method makes a synchronous HTTP request by default. To make an
2479
+ asynchronous HTTP request, please pass async_req=True
2480
+ >>> thread = api.set_user_credentials_enabled_using_post_with_http_info(user_id, async_req=True)
2481
+ >>> result = thread.get()
2482
+
2483
+ :param async_req bool
2484
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2485
+ :param bool user_credentials_enabled: Enable (\"true\") or disable (\"false\") the credentials.
2486
+ :return: None
2487
+ If the method is called asynchronously,
2488
+ returns the request thread.
2489
+ """
2490
+
2491
+ all_params = ['user_id', 'user_credentials_enabled'] # noqa: E501
2492
+ all_params.append('async_req')
2493
+ all_params.append('_return_http_data_only')
2494
+ all_params.append('_preload_content')
2495
+ all_params.append('_request_timeout')
2496
+
2497
+ params = locals()
2498
+ for key, val in six.iteritems(params['kwargs']):
2499
+ if key not in all_params:
2500
+ raise TypeError(
2501
+ "Got an unexpected keyword argument '%s'"
2502
+ " to method set_user_credentials_enabled_using_post" % key
2503
+ )
2504
+ params[key] = val
2505
+ del params['kwargs']
2506
+ # verify the required parameter 'user_id' is set
2507
+ if ('user_id' not in params or
2508
+ params['user_id'] is None):
2509
+ raise ValueError("Missing the required parameter `user_id` when calling `set_user_credentials_enabled_using_post`") # noqa: E501
2510
+
2511
+ collection_formats = {}
2512
+
2513
+ path_params = {}
2514
+ if 'user_id' in params:
2515
+ path_params['userId'] = params['user_id'] # noqa: E501
2516
+
2517
+ query_params = []
2518
+ if 'user_credentials_enabled' in params:
2519
+ query_params.append(('userCredentialsEnabled', params['user_credentials_enabled'])) # noqa: E501
2520
+
2521
+ header_params = {}
2522
+
2523
+ form_params = []
2524
+ local_var_files = {}
2525
+
2526
+ body_params = None
2527
+ # HTTP header `Accept`
2528
+ header_params['Accept'] = self.api_client.select_header_accept(
2529
+ ['application/json']) # noqa: E501
2530
+
2531
+ # Authentication setting
2532
+ auth_settings = ['X-Authorization'] # noqa: E501
2533
+
2534
+ return self.api_client.call_api(
2535
+ '/api/user/{userId}/userCredentialsEnabled{?userCredentialsEnabled}', 'POST',
2536
+ path_params,
2537
+ query_params,
2538
+ header_params,
2539
+ body=body_params,
2540
+ post_params=form_params,
2541
+ files=local_var_files,
2542
+ response_type=None, # noqa: E501
2543
+ auth_settings=auth_settings,
2544
+ async_req=params.get('async_req'),
2545
+ _return_http_data_only=params.get('_return_http_data_only'),
2546
+ _preload_content=params.get('_preload_content', True),
2547
+ _request_timeout=params.get('_request_timeout'),
2548
+ collection_formats=collection_formats)
2549
+
2550
+ def get_activation_link_info(self, user_id, **kwargs): # noqa: E501
2551
+ """Get activation link info (getActivationLinkInfo) # noqa: E501
2552
+
2553
+ Get the activation link info for the user. The base url for activation link is configurable in the general settings of system administrator. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
2554
+ This method makes a synchronous HTTP request by default. To make an
2555
+ asynchronous HTTP request, please pass async_req=True
2556
+ >>> thread = api.get_activation_link_info(user_id, async_req=True)
2557
+ >>> result = thread.get()
2558
+
2559
+ :param async_req bool
2560
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2561
+ :return: UserActivationLink
2562
+ If the method is called asynchronously,
2563
+ returns the request thread.
2564
+ """
2565
+ kwargs['_return_http_data_only'] = True
2566
+ if kwargs.get('async_req'):
2567
+ return self.get_activation_link_info_with_http_info(user_id, **kwargs) # noqa: E501
2568
+ else:
2569
+ (data) = self.get_activation_link_info_with_http_info(user_id, **kwargs) # noqa: E501
2570
+ return data
2571
+
2572
+ def get_activation_link_info_with_http_info(self, user_id, **kwargs): # noqa: E501
2573
+ """Get activation link info (getActivationLinkInfo) # noqa: E501
2574
+
2575
+ Get the activation link info for the user. The base url for activation link is configurable in the general settings of system administrator. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' authority. # noqa: E501
2576
+ This method makes a synchronous HTTP request by default. To make an
2577
+ asynchronous HTTP request, please pass async_req=True
2578
+ >>> thread = api.get_activation_link_info_with_http_info(user_id, async_req=True)
2579
+ >>> result = thread.get()
2580
+
2581
+ :param async_req bool
2582
+ :param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2583
+ :return: UserActivationLink
2584
+ If the method is called asynchronously,
2585
+ returns the request thread.
2586
+ """
2587
+
2588
+ all_params = ['user_id'] # noqa: E501
2589
+ all_params.append('async_req')
2590
+ all_params.append('_return_http_data_only')
2591
+ all_params.append('_preload_content')
2592
+ all_params.append('_request_timeout')
2593
+
2594
+ params = locals()
2595
+ for key, val in six.iteritems(params['kwargs']):
2596
+ if key not in all_params:
2597
+ raise TypeError(
2598
+ "Got an unexpected keyword argument '%s'"
2599
+ " to method get_activation_link_info" % key
2600
+ )
2601
+ params[key] = val
2602
+ del params['kwargs']
2603
+ # verify the required parameter 'user_id' is set
2604
+ if ('user_id' not in params or
2605
+ params['user_id'] is None):
2606
+ raise ValueError(
2607
+ "Missing the required parameter `user_id` when calling `get_activation_link_info`") # noqa: E501
2608
+
2609
+ collection_formats = {}
2610
+
2611
+ path_params = {}
2612
+ if 'user_id' in params:
2613
+ path_params['userId'] = params['user_id'] # noqa: E501
2614
+
2615
+ query_params = []
2616
+
2617
+ header_params = {}
2618
+
2619
+ form_params = []
2620
+ local_var_files = {}
2621
+
2622
+ body_params = None
2623
+ # HTTP header `Accept`
2624
+ header_params['Accept'] = self.api_client.select_header_accept(
2625
+ ['application/json']) # noqa: E501
2626
+
2627
+ # Authentication setting
2628
+ auth_settings = ['X-Authorization'] # noqa: E501
2629
+
2630
+ return self.api_client.call_api(
2631
+ '/api/user/{userId}/activationLinkInfo', 'GET',
2632
+ path_params,
2633
+ query_params,
2634
+ header_params,
2635
+ body=body_params,
2636
+ post_params=form_params,
2637
+ files=local_var_files,
2638
+ response_type='UserActivationLink', # noqa: E501
2639
+ auth_settings=auth_settings,
2640
+ async_req=params.get('async_req'),
2641
+ _return_http_data_only=params.get('_return_http_data_only'),
2642
+ _preload_content=params.get('_preload_content', True),
2643
+ _request_timeout=params.get('_request_timeout'),
2644
+ collection_formats=collection_formats)
2645
+