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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1074) 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 +49 -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 +549 -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 +1281 -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_controller_api.py +549 -0
  31. tb_rest_client/api/api_ce/mobile_application_controller_api.py +494 -0
  32. tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
  33. tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
  34. tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
  35. tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
  36. tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
  37. tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
  38. tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
  39. tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
  40. tb_rest_client/api/api_ce/queue_stats_controller_api.py +338 -0
  41. tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
  42. tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
  43. tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
  44. tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
  45. tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
  46. tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
  47. tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
  48. tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
  49. tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
  50. tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
  51. tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
  52. tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
  53. tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
  54. tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
  55. tb_rest_client/api/api_pe/__init__.py +63 -0
  56. tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
  57. tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
  58. tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
  59. tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
  60. tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
  61. tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
  62. tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
  63. tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
  64. tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
  65. tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
  66. tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
  67. tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
  68. tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
  69. tb_rest_client/api/api_pe/converter_library_controller_api.py +901 -0
  70. tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
  71. tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
  72. tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
  73. tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
  74. tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
  75. tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
  76. tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
  77. tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
  78. tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
  79. tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
  80. tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
  81. tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
  82. tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
  83. tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
  84. tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
  85. tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
  86. tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
  87. tb_rest_client/api/api_pe/event_controller_api.py +623 -0
  88. tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
  89. tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
  90. tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
  91. tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
  92. tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
  93. tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
  94. tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
  95. tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
  96. tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
  97. tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
  98. tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
  99. tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
  100. tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
  101. tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
  102. tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
  103. tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
  104. tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
  105. tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
  106. tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
  107. tb_rest_client/api/api_pe/report_controller_api.py +245 -0
  108. tb_rest_client/api/api_pe/role_controller_api.py +546 -0
  109. tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
  110. tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
  111. tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
  112. tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
  113. tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
  114. tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
  115. tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
  116. tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
  117. tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
  118. tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
  119. tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
  120. tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
  121. tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
  122. tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
  123. tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
  124. tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
  125. tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
  126. tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
  127. tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
  128. tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
  129. tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
  130. tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
  131. tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
  132. tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
  133. tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
  134. tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
  135. tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
  136. tb_rest_client/api_client.py +705 -0
  137. tb_rest_client/configuration.py +234 -0
  138. tb_rest_client/models/__init__.py +14 -0
  139. tb_rest_client/models/models_ce/__init__.py +474 -0
  140. tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
  141. tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
  142. tb_rest_client/models/models_ce/activate_user_request.py +154 -0
  143. tb_rest_client/models/models_ce/admin_settings.py +232 -0
  144. tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
  145. tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
  146. tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
  147. tb_rest_client/models/models_ce/alarm.py +707 -0
  148. tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
  149. tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
  150. tb_rest_client/models/models_ce/alarm_comment.py +292 -0
  151. tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
  152. tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
  153. tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
  154. tb_rest_client/models/models_ce/alarm_condition.py +154 -0
  155. tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
  156. tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
  157. tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
  158. tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
  159. tb_rest_client/models/models_ce/alarm_data.py +855 -0
  160. tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
  161. tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
  162. tb_rest_client/models/models_ce/alarm_id.py +162 -0
  163. tb_rest_client/models/models_ce/alarm_info.py +803 -0
  164. tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
  165. tb_rest_client/models/models_ce/alarm_rule.py +206 -0
  166. tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
  167. tb_rest_client/models/models_ce/all_users_filter.py +104 -0
  168. tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
  169. tb_rest_client/models/models_ce/android_config.py +202 -0
  170. tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
  171. tb_rest_client/models/models_ce/api_image_body.py +177 -0
  172. tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
  173. tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
  174. tb_rest_client/models/models_ce/asset.py +367 -0
  175. tb_rest_client/models/models_ce/asset_id.py +162 -0
  176. tb_rest_client/models/models_ce/asset_info.py +451 -0
  177. tb_rest_client/models/models_ce/asset_profile.py +422 -0
  178. tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
  179. tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
  180. tb_rest_client/models/models_ce/asset_search_query.py +180 -0
  181. tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
  182. tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
  183. tb_rest_client/models/models_ce/atomic_integer.py +228 -0
  184. tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
  185. tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
  186. tb_rest_client/models/models_ce/audit_log.py +434 -0
  187. tb_rest_client/models/models_ce/audit_log_id.py +127 -0
  188. tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
  189. tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
  190. tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
  191. tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
  192. tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
  193. tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
  194. tb_rest_client/models/models_ce/branch_info.py +150 -0
  195. tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
  196. tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
  197. tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
  198. tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
  199. tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
  200. tb_rest_client/models/models_ce/button.py +286 -0
  201. tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
  202. tb_rest_client/models/models_ce/byte_buffer.py +306 -0
  203. tb_rest_client/models/models_ce/change_password_request.py +154 -0
  204. tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
  205. tb_rest_client/models/models_ce/claim_request.py +124 -0
  206. tb_rest_client/models/models_ce/clear_rule.py +131 -0
  207. tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
  208. tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
  209. tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
  210. tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
  211. tb_rest_client/models/models_ce/column_mapping.py +156 -0
  212. tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
  213. tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
  214. tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
  215. tb_rest_client/models/models_ce/component_descriptor.py +420 -0
  216. tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
  217. tb_rest_client/models/models_ce/config_submit_body.py +98 -0
  218. tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
  219. tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
  220. tb_rest_client/models/models_ce/customer.py +510 -0
  221. tb_rest_client/models/models_ce/customer_id.py +162 -0
  222. tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
  223. tb_rest_client/models/models_ce/dashboard.py +399 -0
  224. tb_rest_client/models/models_ce/dashboard_id.py +162 -0
  225. tb_rest_client/models/models_ce/dashboard_info.py +373 -0
  226. tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
  227. tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
  228. tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
  229. tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
  230. tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
  231. tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
  232. tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
  233. tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
  234. tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
  235. tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
  236. tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
  237. tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
  238. tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
  239. tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
  240. tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
  241. tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
  242. tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
  243. tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
  244. tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
  245. tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
  246. tb_rest_client/models/models_ce/device.py +446 -0
  247. tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
  248. tb_rest_client/models/models_ce/device_configuration.py +133 -0
  249. tb_rest_client/models/models_ce/device_credentials.py +293 -0
  250. tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
  251. tb_rest_client/models/models_ce/device_data.py +154 -0
  252. tb_rest_client/models/models_ce/device_export_data.py +156 -0
  253. tb_rest_client/models/models_ce/device_id.py +162 -0
  254. tb_rest_client/models/models_ce/device_info.py +558 -0
  255. tb_rest_client/models/models_ce/device_profile.py +630 -0
  256. tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
  257. tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
  258. tb_rest_client/models/models_ce/device_profile_data.py +210 -0
  259. tb_rest_client/models/models_ce/device_profile_id.py +162 -0
  260. tb_rest_client/models/models_ce/device_profile_info.py +300 -0
  261. tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
  262. tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
  263. tb_rest_client/models/models_ce/device_search_query.py +180 -0
  264. tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
  265. tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
  266. tb_rest_client/models/models_ce/device_type_filter.py +182 -0
  267. tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
  268. tb_rest_client/models/models_ce/domain.py +247 -0
  269. tb_rest_client/models/models_ce/domain_id.py +146 -0
  270. tb_rest_client/models/models_ce/domain_info.py +275 -0
  271. tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
  272. tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
  273. tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
  274. tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
  275. tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
  276. tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
  277. tb_rest_client/models/models_ce/edge.py +426 -0
  278. tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
  279. tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
  280. tb_rest_client/models/models_ce/edge_event.py +370 -0
  281. tb_rest_client/models/models_ce/edge_event_id.py +127 -0
  282. tb_rest_client/models/models_ce/edge_id.py +162 -0
  283. tb_rest_client/models/models_ce/edge_info.py +478 -0
  284. tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
  285. tb_rest_client/models/models_ce/edge_instructions.py +126 -0
  286. tb_rest_client/models/models_ce/edge_search_query.py +180 -0
  287. tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
  288. tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
  289. tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
  290. tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
  291. tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
  292. tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
  293. tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
  294. tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
  295. tb_rest_client/models/models_ce/entity_count_query.py +150 -0
  296. tb_rest_client/models/models_ce/entity_data.py +202 -0
  297. tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
  298. tb_rest_client/models/models_ce/entity_data_info.py +176 -0
  299. tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
  300. tb_rest_client/models/models_ce/entity_data_query.py +228 -0
  301. tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
  302. tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
  303. tb_rest_client/models/models_ce/entity_filter.py +134 -0
  304. tb_rest_client/models/models_ce/entity_id.py +160 -0
  305. tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
  306. tb_rest_client/models/models_ce/entity_info.py +152 -0
  307. tb_rest_client/models/models_ce/entity_key.py +156 -0
  308. tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
  309. tb_rest_client/models/models_ce/entity_load_error.py +202 -0
  310. tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
  311. tb_rest_client/models/models_ce/entity_relation.py +264 -0
  312. tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
  313. tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
  314. tb_rest_client/models/models_ce/entity_subtype.py +182 -0
  315. tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
  316. tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
  317. tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
  318. tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
  319. tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
  320. tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
  321. tb_rest_client/models/models_ce/entity_version.py +202 -0
  322. tb_rest_client/models/models_ce/entity_view.py +423 -0
  323. tb_rest_client/models/models_ce/entity_view_id.py +162 -0
  324. tb_rest_client/models/models_ce/entity_view_info.py +479 -0
  325. tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
  326. tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
  327. tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
  328. tb_rest_client/models/models_ce/error_event_filter.py +188 -0
  329. tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
  330. tb_rest_client/models/models_ce/event.py +286 -0
  331. tb_rest_client/models/models_ce/event_filter.py +171 -0
  332. tb_rest_client/models/models_ce/event_id.py +127 -0
  333. tb_rest_client/models/models_ce/event_info.py +286 -0
  334. tb_rest_client/models/models_ce/features_info.py +228 -0
  335. tb_rest_client/models/models_ce/file.py +488 -0
  336. tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
  337. tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
  338. tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
  339. tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
  340. tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
  341. tb_rest_client/models/models_ce/has_id_object.py +124 -0
  342. tb_rest_client/models/models_ce/home_dashboard.py +427 -0
  343. tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
  344. tb_rest_client/models/models_ce/image_export_data.py +332 -0
  345. tb_rest_client/models/models_ce/inline_response200.py +99 -0
  346. tb_rest_client/models/models_ce/input_stream.py +98 -0
  347. tb_rest_client/models/models_ce/ios_config.py +176 -0
  348. tb_rest_client/models/models_ce/json_node.py +98 -0
  349. tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
  350. tb_rest_client/models/models_ce/jwt_pair.py +186 -0
  351. tb_rest_client/models/models_ce/jwt_settings.py +210 -0
  352. tb_rest_client/models/models_ce/key_filter.py +182 -0
  353. tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
  354. tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
  355. tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
  356. tb_rest_client/models/models_ce/login_request.py +156 -0
  357. tb_rest_client/models/models_ce/login_response.py +156 -0
  358. tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
  359. tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
  360. tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
  361. tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
  362. tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
  363. tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
  364. tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
  365. tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
  366. tb_rest_client/models/models_ce/mapping.py +202 -0
  367. tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
  368. tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
  369. tb_rest_client/models/models_ce/mobile_app.py +290 -0
  370. tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
  371. tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
  372. tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
  373. tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
  374. tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
  375. tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
  376. tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
  377. tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
  378. tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
  379. tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
  380. tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
  381. tb_rest_client/models/models_ce/node_connection_info.py +185 -0
  382. tb_rest_client/models/models_ce/notification.py +402 -0
  383. tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
  384. tb_rest_client/models/models_ce/notification_id.py +162 -0
  385. tb_rest_client/models/models_ce/notification_info.py +185 -0
  386. tb_rest_client/models/models_ce/notification_pref.py +151 -0
  387. tb_rest_client/models/models_ce/notification_request.py +417 -0
  388. tb_rest_client/models/models_ce/notification_request_config.py +124 -0
  389. tb_rest_client/models/models_ce/notification_request_id.py +162 -0
  390. tb_rest_client/models/models_ce/notification_request_info.py +476 -0
  391. tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
  392. tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
  393. tb_rest_client/models/models_ce/notification_rule.py +369 -0
  394. tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
  395. tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
  396. tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
  397. tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
  398. tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
  399. tb_rest_client/models/models_ce/notification_settings.py +125 -0
  400. tb_rest_client/models/models_ce/notification_target.py +230 -0
  401. tb_rest_client/models/models_ce/notification_target_config.py +148 -0
  402. tb_rest_client/models/models_ce/notification_target_id.py +162 -0
  403. tb_rest_client/models/models_ce/notification_template.py +263 -0
  404. tb_rest_client/models/models_ce/notification_template_config.py +125 -0
  405. tb_rest_client/models/models_ce/notification_template_id.py +162 -0
  406. tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
  407. tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
  408. tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
  409. tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
  410. tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
  411. tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
  412. tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
  413. tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
  414. tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
  415. tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
  416. tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
  417. tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
  418. tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
  419. tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
  420. tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
  421. tb_rest_client/models/models_ce/object_attributes.py +410 -0
  422. tb_rest_client/models/models_ce/object_node.py +98 -0
  423. tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
  424. tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
  425. tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
  426. tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
  427. tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
  428. tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
  429. tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
  430. tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
  431. tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
  432. tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
  433. tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
  434. tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
  435. tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
  436. tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
  437. tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
  438. tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
  439. tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
  440. tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
  441. tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
  442. tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
  443. tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
  444. tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
  445. tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
  446. tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
  447. tb_rest_client/models/models_ce/ota_package.py +576 -0
  448. tb_rest_client/models/models_ce/ota_package_data.py +306 -0
  449. tb_rest_client/models/models_ce/ota_package_id.py +162 -0
  450. tb_rest_client/models/models_ce/ota_package_info.py +550 -0
  451. tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
  452. tb_rest_client/models/models_ce/other_configuration.py +364 -0
  453. tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
  454. tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
  455. tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
  456. tb_rest_client/models/models_ce/page_data_asset.py +210 -0
  457. tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
  458. tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
  459. tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
  460. tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
  461. tb_rest_client/models/models_ce/page_data_customer.py +210 -0
  462. tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
  463. tb_rest_client/models/models_ce/page_data_device.py +210 -0
  464. tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
  465. tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
  466. tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
  467. tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
  468. tb_rest_client/models/models_ce/page_data_edge.py +210 -0
  469. tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
  470. tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
  471. tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
  472. tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
  473. tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
  474. tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
  475. tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
  476. tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
  477. tb_rest_client/models/models_ce/page_data_event.py +210 -0
  478. tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
  479. tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
  480. tb_rest_client/models/models_ce/page_data_notification.py +210 -0
  481. tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
  482. tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
  483. tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
  484. tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
  485. tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
  486. tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
  487. tb_rest_client/models/models_ce/page_data_queue.py +210 -0
  488. tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
  489. tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
  490. tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
  491. tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
  492. tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
  493. tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
  494. tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
  495. tb_rest_client/models/models_ce/page_data_user.py +210 -0
  496. tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
  497. tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
  498. tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
  499. tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
  500. tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
  501. tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
  502. tb_rest_client/models/models_ce/processing_strategy.py +234 -0
  503. tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
  504. tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
  505. tb_rest_client/models/models_ce/qr_code_config.py +234 -0
  506. tb_rest_client/models/models_ce/queue.py +410 -0
  507. tb_rest_client/models/models_ce/queue_id.py +162 -0
  508. tb_rest_client/models/models_ce/queue_stats.py +228 -0
  509. tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
  510. tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
  511. tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
  512. tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
  513. tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
  514. tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
  515. tb_rest_client/models/models_ce/repository_settings.py +390 -0
  516. tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
  517. tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
  518. tb_rest_client/models/models_ce/reset_password_request.py +154 -0
  519. tb_rest_client/models/models_ce/resource.py +306 -0
  520. tb_rest_client/models/models_ce/response_entity.py +182 -0
  521. tb_rest_client/models/models_ce/rpc.py +344 -0
  522. tb_rest_client/models/models_ce/rpc_id.py +162 -0
  523. tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
  524. tb_rest_client/models/models_ce/rule_chain.py +402 -0
  525. tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
  526. tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
  527. tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
  528. tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
  529. tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
  530. tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
  531. tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
  532. tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
  533. tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
  534. tb_rest_client/models/models_ce/rule_node.py +424 -0
  535. tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
  536. tb_rest_client/models/models_ce/rule_node_id.py +162 -0
  537. tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
  538. tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
  539. tb_rest_client/models/models_ce/security_settings.py +266 -0
  540. tb_rest_client/models/models_ce/server_security_config.py +332 -0
  541. tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
  542. tb_rest_client/models/models_ce/short_customer_info.py +204 -0
  543. tb_rest_client/models/models_ce/sign_up_request.py +294 -0
  544. tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
  545. tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
  546. tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
  547. tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
  548. tb_rest_client/models/models_ce/slack_conversation.py +263 -0
  549. tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
  550. tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
  551. tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
  552. tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
  553. tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
  554. tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
  555. tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
  556. tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
  557. tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
  558. tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
  559. tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
  560. tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
  561. tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
  562. tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
  563. tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
  564. tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
  565. tb_rest_client/models/models_ce/submit_strategy.py +156 -0
  566. tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
  567. tb_rest_client/models/models_ce/system_info.py +152 -0
  568. tb_rest_client/models/models_ce/system_info_data.py +322 -0
  569. tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
  570. tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
  571. tb_rest_client/models/models_ce/tb_resource.py +568 -0
  572. tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
  573. tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
  574. tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
  575. tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
  576. tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
  577. tb_rest_client/models/models_ce/tenant.py +539 -0
  578. tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
  579. tb_rest_client/models/models_ce/tenant_id.py +162 -0
  580. tb_rest_client/models/models_ce/tenant_info.py +567 -0
  581. tb_rest_client/models/models_ce/tenant_profile.py +288 -0
  582. tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
  583. tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
  584. tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
  585. tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
  586. tb_rest_client/models/models_ce/test_sms_request.py +182 -0
  587. tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
  588. tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
  589. tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
  590. tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
  591. tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
  592. tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
  593. tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
  594. tb_rest_client/models/models_ce/ts_value.py +176 -0
  595. tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
  596. tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
  597. tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
  598. tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
  599. tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
  600. tb_rest_client/models/models_ce/type_key_body.py +125 -0
  601. tb_rest_client/models/models_ce/update_message.py +266 -0
  602. tb_rest_client/models/models_ce/usage_info.py +696 -0
  603. tb_rest_client/models/models_ce/user.py +432 -0
  604. tb_rest_client/models/models_ce/user_activation_link.py +150 -0
  605. tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
  606. tb_rest_client/models/models_ce/user_email_info.py +208 -0
  607. tb_rest_client/models/models_ce/user_id.py +162 -0
  608. tb_rest_client/models/models_ce/user_list_filter.py +131 -0
  609. tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
  610. tb_rest_client/models/models_ce/user_password_policy.py +378 -0
  611. tb_rest_client/models/models_ce/users_filter.py +140 -0
  612. tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
  613. tb_rest_client/models/models_ce/vc_version_body.py +98 -0
  614. tb_rest_client/models/models_ce/version.py +98 -0
  615. tb_rest_client/models/models_ce/version_create_config.py +176 -0
  616. tb_rest_client/models/models_ce/version_create_request.py +191 -0
  617. tb_rest_client/models/models_ce/version_creation_result.py +254 -0
  618. tb_rest_client/models/models_ce/version_load_config.py +176 -0
  619. tb_rest_client/models/models_ce/version_load_request.py +165 -0
  620. tb_rest_client/models/models_ce/version_load_result.py +176 -0
  621. tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
  622. tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
  623. tb_rest_client/models/models_ce/widget_type.py +342 -0
  624. tb_rest_client/models/models_ce/widget_type_details.py +426 -0
  625. tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
  626. tb_rest_client/models/models_ce/widget_type_id.py +162 -0
  627. tb_rest_client/models/models_ce/widget_type_info.py +428 -0
  628. tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
  629. tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
  630. tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
  631. tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
  632. tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
  633. tb_rest_client/models/models_pe/__init__.py +401 -0
  634. tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
  635. tb_rest_client/models/models_pe/activate_user_request.py +154 -0
  636. tb_rest_client/models/models_pe/admin_settings.py +232 -0
  637. tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
  638. tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
  639. tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
  640. tb_rest_client/models/models_pe/alarm.py +749 -0
  641. tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
  642. tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
  643. tb_rest_client/models/models_pe/alarm_comment.py +292 -0
  644. tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
  645. tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
  646. tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
  647. tb_rest_client/models/models_pe/alarm_condition.py +154 -0
  648. tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
  649. tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
  650. tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
  651. tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
  652. tb_rest_client/models/models_pe/alarm_data.py +883 -0
  653. tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
  654. tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
  655. tb_rest_client/models/models_pe/alarm_id.py +162 -0
  656. tb_rest_client/models/models_pe/alarm_info.py +831 -0
  657. tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
  658. tb_rest_client/models/models_pe/alarm_rule.py +206 -0
  659. tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
  660. tb_rest_client/models/models_pe/all_users_filter.py +104 -0
  661. tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
  662. tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
  663. tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
  664. tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
  665. tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
  666. tb_rest_client/models/models_pe/array_node.py +98 -0
  667. tb_rest_client/models/models_pe/asset.py +393 -0
  668. tb_rest_client/models/models_pe/asset_id.py +162 -0
  669. tb_rest_client/models/models_pe/asset_info.py +449 -0
  670. tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
  671. tb_rest_client/models/models_pe/asset_search_query.py +180 -0
  672. tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
  673. tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
  674. tb_rest_client/models/models_pe/atomic_integer.py +228 -0
  675. tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
  676. tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
  677. tb_rest_client/models/models_pe/audit_log.py +434 -0
  678. tb_rest_client/models/models_pe/audit_log_id.py +127 -0
  679. tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
  680. tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
  681. tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
  682. tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
  683. tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
  684. tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
  685. tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
  686. tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
  687. tb_rest_client/models/models_pe/branch_info.py +150 -0
  688. tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
  689. tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
  690. tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
  691. tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
  692. tb_rest_client/models/models_pe/byte_buffer.py +306 -0
  693. tb_rest_client/models/models_pe/change_password_request.py +154 -0
  694. tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
  695. tb_rest_client/models/models_pe/claim_request.py +124 -0
  696. tb_rest_client/models/models_pe/clear_rule.py +131 -0
  697. tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
  698. tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
  699. tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
  700. tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
  701. tb_rest_client/models/models_pe/column_mapping.py +156 -0
  702. tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
  703. tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
  704. tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
  705. tb_rest_client/models/models_pe/component_descriptor.py +420 -0
  706. tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
  707. tb_rest_client/models/models_pe/contact_based_object.py +410 -0
  708. tb_rest_client/models/models_pe/converter.py +376 -0
  709. tb_rest_client/models/models_pe/converter_id.py +162 -0
  710. tb_rest_client/models/models_pe/converters_info.py +136 -0
  711. tb_rest_client/models/models_pe/custom_menu.py +327 -0
  712. tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
  713. tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
  714. tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
  715. tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
  716. tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
  717. tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
  718. tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
  719. tb_rest_client/models/models_pe/custom_translation.py +127 -0
  720. tb_rest_client/models/models_pe/customer_id.py +162 -0
  721. tb_rest_client/models/models_pe/customer_info.py +672 -0
  722. tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
  723. tb_rest_client/models/models_pe/dashboard_id.py +162 -0
  724. tb_rest_client/models/models_pe/dashboard_info.py +506 -0
  725. tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
  726. tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
  727. tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
  728. tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
  729. tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
  730. tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
  731. tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
  732. tb_rest_client/models/models_pe/default_menu_item.py +230 -0
  733. tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
  734. tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
  735. tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
  736. tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
  737. tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
  738. tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
  739. tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
  740. tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
  741. tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
  742. tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
  743. tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
  744. tb_rest_client/models/models_pe/device.py +471 -0
  745. tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
  746. tb_rest_client/models/models_pe/device_configuration.py +133 -0
  747. tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
  748. tb_rest_client/models/models_pe/device_data.py +154 -0
  749. tb_rest_client/models/models_pe/device_export_data.py +156 -0
  750. tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
  751. tb_rest_client/models/models_pe/device_id.py +162 -0
  752. tb_rest_client/models/models_pe/device_info.py +555 -0
  753. tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
  754. tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
  755. tb_rest_client/models/models_pe/device_profile_data.py +210 -0
  756. tb_rest_client/models/models_pe/device_profile_id.py +162 -0
  757. tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
  758. tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
  759. tb_rest_client/models/models_pe/device_search_query.py +180 -0
  760. tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
  761. tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
  762. tb_rest_client/models/models_pe/device_type_filter.py +182 -0
  763. tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
  764. tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
  765. tb_rest_client/models/models_pe/edge.py +510 -0
  766. tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
  767. tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
  768. tb_rest_client/models/models_pe/edge_event.py +396 -0
  769. tb_rest_client/models/models_pe/edge_event_id.py +127 -0
  770. tb_rest_client/models/models_pe/edge_id.py +162 -0
  771. tb_rest_client/models/models_pe/edge_info.py +566 -0
  772. tb_rest_client/models/models_pe/edge_instructions.py +126 -0
  773. tb_rest_client/models/models_pe/edge_search_query.py +180 -0
  774. tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
  775. tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
  776. tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
  777. tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
  778. tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
  779. tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
  780. tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
  781. tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
  782. tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
  783. tb_rest_client/models/models_pe/entity_count_query.py +150 -0
  784. tb_rest_client/models/models_pe/entity_data.py +254 -0
  785. tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
  786. tb_rest_client/models/models_pe/entity_data_info.py +228 -0
  787. tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
  788. tb_rest_client/models/models_pe/entity_data_query.py +228 -0
  789. tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
  790. tb_rest_client/models/models_pe/entity_filter.py +152 -0
  791. tb_rest_client/models/models_pe/entity_group.py +400 -0
  792. tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
  793. tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
  794. tb_rest_client/models/models_pe/entity_group_id.py +162 -0
  795. tb_rest_client/models/models_pe/entity_group_info.py +429 -0
  796. tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
  797. tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
  798. tb_rest_client/models/models_pe/entity_id.py +160 -0
  799. tb_rest_client/models/models_pe/entity_key.py +156 -0
  800. tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
  801. tb_rest_client/models/models_pe/entity_load_error.py +202 -0
  802. tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
  803. tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
  804. tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
  805. tb_rest_client/models/models_pe/entity_subtype.py +182 -0
  806. tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
  807. tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
  808. tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
  809. tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
  810. tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
  811. tb_rest_client/models/models_pe/entity_version.py +202 -0
  812. tb_rest_client/models/models_pe/entity_view.py +449 -0
  813. tb_rest_client/models/models_pe/entity_view_id.py +162 -0
  814. tb_rest_client/models/models_pe/entity_view_info.py +505 -0
  815. tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
  816. tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
  817. tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
  818. tb_rest_client/models/models_pe/error_event_filter.py +188 -0
  819. tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
  820. tb_rest_client/models/models_pe/event_filter.py +174 -0
  821. tb_rest_client/models/models_pe/event_id.py +127 -0
  822. tb_rest_client/models/models_pe/event_info.py +286 -0
  823. tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
  824. tb_rest_client/models/models_pe/favicon.py +124 -0
  825. tb_rest_client/models/models_pe/features_info.py +254 -0
  826. tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
  827. tb_rest_client/models/models_pe/group_permission.py +370 -0
  828. tb_rest_client/models/models_pe/group_permission_id.py +162 -0
  829. tb_rest_client/models/models_pe/group_permission_info.py +560 -0
  830. tb_rest_client/models/models_pe/home_dashboard.py +478 -0
  831. tb_rest_client/models/models_pe/home_menu_item.py +320 -0
  832. tb_rest_client/models/models_pe/input_stream.py +98 -0
  833. tb_rest_client/models/models_pe/integration.py +571 -0
  834. tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
  835. tb_rest_client/models/models_pe/integration_id.py +162 -0
  836. tb_rest_client/models/models_pe/integration_info.py +460 -0
  837. tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
  838. tb_rest_client/models/models_pe/json_node.py +98 -0
  839. tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
  840. tb_rest_client/models/models_pe/key_filter.py +182 -0
  841. tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
  842. tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
  843. tb_rest_client/models/models_pe/license_usage_info.py +332 -0
  844. tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
  845. tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
  846. tb_rest_client/models/models_pe/login_request.py +156 -0
  847. tb_rest_client/models/models_pe/login_response.py +156 -0
  848. tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
  849. tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
  850. tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
  851. tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
  852. tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
  853. tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
  854. tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
  855. tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
  856. tb_rest_client/models/models_pe/mapping.py +202 -0
  857. tb_rest_client/models/models_pe/menu_item.py +152 -0
  858. tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
  859. tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
  860. tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
  861. tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
  862. tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
  863. tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
  864. tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
  865. tb_rest_client/models/models_pe/model.py +162 -0
  866. tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
  867. tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
  868. tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
  869. tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
  870. tb_rest_client/models/models_pe/node_connection_info.py +185 -0
  871. tb_rest_client/models/models_pe/notification.py +402 -0
  872. tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
  873. tb_rest_client/models/models_pe/notification_id.py +162 -0
  874. tb_rest_client/models/models_pe/notification_info.py +185 -0
  875. tb_rest_client/models/models_pe/notification_request.py +417 -0
  876. tb_rest_client/models/models_pe/notification_request_config.py +124 -0
  877. tb_rest_client/models/models_pe/notification_request_id.py +162 -0
  878. tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
  879. tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
  880. tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
  881. tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
  882. tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
  883. tb_rest_client/models/models_pe/notification_template_config.py +125 -0
  884. tb_rest_client/models/models_pe/notification_template_id.py +162 -0
  885. tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
  886. tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
  887. tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
  888. tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
  889. tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
  890. tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
  891. tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
  892. tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
  893. tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
  894. tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
  895. tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
  896. tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
  897. tb_rest_client/models/models_pe/object_attributes.py +410 -0
  898. tb_rest_client/models/models_pe/object_node.py +98 -0
  899. tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
  900. tb_rest_client/models/models_pe/ota_package.py +576 -0
  901. tb_rest_client/models/models_pe/ota_package_id.py +162 -0
  902. tb_rest_client/models/models_pe/ota_package_info.py +550 -0
  903. tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
  904. tb_rest_client/models/models_pe/other_configuration.py +364 -0
  905. tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
  906. tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
  907. tb_rest_client/models/models_pe/page_data_converter.py +210 -0
  908. tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
  909. tb_rest_client/models/models_pe/page_data_edge.py +210 -0
  910. tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
  911. tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
  912. tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
  913. tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
  914. tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
  915. tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
  916. tb_rest_client/models/models_pe/page_data_integration.py +210 -0
  917. tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
  918. tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
  919. tb_rest_client/models/models_pe/page_data_queue.py +210 -0
  920. tb_rest_client/models/models_pe/page_data_role.py +210 -0
  921. tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
  922. tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
  923. tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
  924. tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
  925. tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
  926. tb_rest_client/models/models_pe/palette.py +183 -0
  927. tb_rest_client/models/models_pe/palette_settings.py +152 -0
  928. tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
  929. tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
  930. tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
  931. tb_rest_client/models/models_pe/processing_strategy.py +234 -0
  932. tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
  933. tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
  934. tb_rest_client/models/models_pe/queue.py +410 -0
  935. tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
  936. tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
  937. tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
  938. tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
  939. tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
  940. tb_rest_client/models/models_pe/report_config.py +381 -0
  941. tb_rest_client/models/models_pe/repository_settings.py +390 -0
  942. tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
  943. tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
  944. tb_rest_client/models/models_pe/reset_password_request.py +154 -0
  945. tb_rest_client/models/models_pe/resource.py +306 -0
  946. tb_rest_client/models/models_pe/response_entity.py +182 -0
  947. tb_rest_client/models/models_pe/role.py +371 -0
  948. tb_rest_client/models/models_pe/role_id.py +162 -0
  949. tb_rest_client/models/models_pe/rpc.py +344 -0
  950. tb_rest_client/models/models_pe/rpc_id.py +162 -0
  951. tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
  952. tb_rest_client/models/models_pe/rule_chain.py +402 -0
  953. tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
  954. tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
  955. tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
  956. tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
  957. tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
  958. tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
  959. tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
  960. tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
  961. tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
  962. tb_rest_client/models/models_pe/rule_node.py +424 -0
  963. tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
  964. tb_rest_client/models/models_pe/rule_node_id.py +162 -0
  965. tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
  966. tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
  967. tb_rest_client/models/models_pe/scheduler_event.py +444 -0
  968. tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
  969. tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
  970. tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
  971. tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
  972. tb_rest_client/models/models_pe/security_settings.py +266 -0
  973. tb_rest_client/models/models_pe/self_registration_params.py +630 -0
  974. tb_rest_client/models/models_pe/share_group_request.py +235 -0
  975. tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
  976. tb_rest_client/models/models_pe/short_customer_info.py +204 -0
  977. tb_rest_client/models/models_pe/short_entity_view.py +154 -0
  978. tb_rest_client/models/models_pe/sign_up_request.py +294 -0
  979. tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
  980. tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
  981. tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
  982. tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
  983. tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
  984. tb_rest_client/models/models_pe/slack_conversation.py +263 -0
  985. tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
  986. tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
  987. tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
  988. tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
  989. tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
  990. tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
  991. tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
  992. tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
  993. tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
  994. tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
  995. tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
  996. tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
  997. tb_rest_client/models/models_pe/solution_install_response.py +260 -0
  998. tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
  999. tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
  1000. tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
  1001. tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
  1002. tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
  1003. tb_rest_client/models/models_pe/submit_strategy.py +156 -0
  1004. tb_rest_client/models/models_pe/subscription_usage.py +540 -0
  1005. tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
  1006. tb_rest_client/models/models_pe/system_info.py +152 -0
  1007. tb_rest_client/models/models_pe/system_info_data.py +322 -0
  1008. tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
  1009. tb_rest_client/models/models_pe/tb_resource.py +594 -0
  1010. tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
  1011. tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
  1012. tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
  1013. tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
  1014. tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
  1015. tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
  1016. tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
  1017. tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
  1018. tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
  1019. tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
  1020. tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
  1021. tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
  1022. tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
  1023. tb_rest_client/models/models_pe/test_sms_request.py +182 -0
  1024. tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
  1025. tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
  1026. tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
  1027. tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
  1028. tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
  1029. tb_rest_client/models/models_pe/translation_info.py +238 -0
  1030. tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
  1031. tb_rest_client/models/models_pe/ts_value.py +176 -0
  1032. tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
  1033. tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
  1034. tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
  1035. tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
  1036. tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
  1037. tb_rest_client/models/models_pe/update_message.py +266 -0
  1038. tb_rest_client/models/models_pe/user.py +484 -0
  1039. tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
  1040. tb_rest_client/models/models_pe/user_email_info.py +208 -0
  1041. tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
  1042. tb_rest_client/models/models_pe/user_id.py +162 -0
  1043. tb_rest_client/models/models_pe/user_info.py +540 -0
  1044. tb_rest_client/models/models_pe/user_list_filter.py +131 -0
  1045. tb_rest_client/models/models_pe/user_password_policy.py +378 -0
  1046. tb_rest_client/models/models_pe/user_role_filter.py +131 -0
  1047. tb_rest_client/models/models_pe/users_filter.py +142 -0
  1048. tb_rest_client/models/models_pe/version_create_config.py +228 -0
  1049. tb_rest_client/models/models_pe/version_create_request.py +191 -0
  1050. tb_rest_client/models/models_pe/version_creation_result.py +254 -0
  1051. tb_rest_client/models/models_pe/version_load_config.py +254 -0
  1052. tb_rest_client/models/models_pe/version_load_request.py +165 -0
  1053. tb_rest_client/models/models_pe/version_load_result.py +176 -0
  1054. tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
  1055. tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
  1056. tb_rest_client/models/models_pe/white_labeling.py +234 -0
  1057. tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
  1058. tb_rest_client/models/models_pe/widget_type.py +342 -0
  1059. tb_rest_client/models/models_pe/widget_type_details.py +426 -0
  1060. tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
  1061. tb_rest_client/models/models_pe/widget_type_id.py +162 -0
  1062. tb_rest_client/models/models_pe/widget_type_info.py +428 -0
  1063. tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
  1064. tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
  1065. tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
  1066. tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
  1067. tb_rest_client/rest.py +342 -0
  1068. tb_rest_client/rest_client_base.py +2159 -0
  1069. tb_rest_client/rest_client_ce.py +1260 -0
  1070. tb_rest_client/rest_client_pe.py +1856 -0
  1071. tb_rest_client-3.8.0.dist-info/LICENSE +201 -0
  1072. tb_rest_client-3.8.0.dist-info/METADATA +80 -0
  1073. tb_rest_client-3.8.0.dist-info/RECORD +1074 -0
  1074. tb_rest_client-3.8.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,2475 @@
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.7.0
9
+ Contact: info@thingsboard.io
10
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
11
+ """
12
+
13
+ # Copyright 2024. ThingsBoard
14
+ #
15
+ # Licensed under the Apache License, Version 2.0 (the "License");
16
+ # you may not use this file except in compliance with the License.
17
+ # You may obtain a copy of the License at
18
+ #
19
+ # http://www.apache.org/licenses/LICENSE-2.0
20
+ #
21
+ # Unless required by applicable law or agreed to in writing, software
22
+ # distributed under the License is distributed on an "AS IS" BASIS,
23
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
24
+ # See the License for the specific language governing permissions and
25
+ # limitations under the License.
26
+
27
+ from __future__ import absolute_import
28
+
29
+ import re # noqa: F401
30
+
31
+ # python 2 and python 3 compatibility library
32
+ import six
33
+
34
+ from tb_rest_client.api_client import ApiClient
35
+
36
+
37
+ class EdgeControllerApi(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 assign_edge_to_customer_using_post(self, customer_id, edge_id, **kwargs): # noqa: E501
50
+ """Assign edge to customer (assignEdgeToCustomer) # noqa: E501
51
+
52
+ Creates assignment of the edge to customer. Customer will be able to query edge afterwards. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
53
+ This method makes a synchronous HTTP request by default. To make an
54
+ asynchronous HTTP request, please pass async_req=True
55
+ >>> thread = api.assign_edge_to_customer_using_post(customer_id, edge_id, async_req=True)
56
+ >>> result = thread.get()
57
+
58
+ :param async_req bool
59
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
60
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
61
+ :return: Edge
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.assign_edge_to_customer_using_post_with_http_info(customer_id, edge_id, **kwargs) # noqa: E501
68
+ else:
69
+ (data) = self.assign_edge_to_customer_using_post_with_http_info(customer_id, edge_id, **kwargs) # noqa: E501
70
+ return data
71
+
72
+ def assign_edge_to_customer_using_post_with_http_info(self, customer_id, edge_id, **kwargs): # noqa: E501
73
+ """Assign edge to customer (assignEdgeToCustomer) # noqa: E501
74
+
75
+ Creates assignment of the edge to customer. Customer will be able to query edge afterwards. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
76
+ This method makes a synchronous HTTP request by default. To make an
77
+ asynchronous HTTP request, please pass async_req=True
78
+ >>> thread = api.assign_edge_to_customer_using_post_with_http_info(customer_id, edge_id, async_req=True)
79
+ >>> result = thread.get()
80
+
81
+ :param async_req bool
82
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
83
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
84
+ :return: Edge
85
+ If the method is called asynchronously,
86
+ returns the request thread.
87
+ """
88
+
89
+ all_params = ['customer_id', 'edge_id'] # 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 assign_edge_to_customer_using_post" % key
101
+ )
102
+ params[key] = val
103
+ del params['kwargs']
104
+ # verify the required parameter 'customer_id' is set
105
+ if ('customer_id' not in params or
106
+ params['customer_id'] is None):
107
+ raise ValueError("Missing the required parameter `customer_id` when calling `assign_edge_to_customer_using_post`") # noqa: E501
108
+ # verify the required parameter 'edge_id' is set
109
+ if ('edge_id' not in params or
110
+ params['edge_id'] is None):
111
+ raise ValueError("Missing the required parameter `edge_id` when calling `assign_edge_to_customer_using_post`") # noqa: E501
112
+
113
+ collection_formats = {}
114
+
115
+ path_params = {}
116
+ if 'customer_id' in params:
117
+ path_params['customerId'] = params['customer_id'] # noqa: E501
118
+ if 'edge_id' in params:
119
+ path_params['edgeId'] = params['edge_id'] # 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/customer/{customerId}/edge/{edgeId}', 'POST',
138
+ path_params,
139
+ query_params,
140
+ header_params,
141
+ body=body_params,
142
+ post_params=form_params,
143
+ files=local_var_files,
144
+ response_type='Edge', # noqa: E501
145
+ auth_settings=auth_settings,
146
+ async_req=params.get('async_req'),
147
+ _return_http_data_only=params.get('_return_http_data_only'),
148
+ _preload_content=params.get('_preload_content', True),
149
+ _request_timeout=params.get('_request_timeout'),
150
+ collection_formats=collection_formats)
151
+
152
+ def assign_edge_to_public_customer_using_post(self, edge_id, **kwargs): # noqa: E501
153
+ """Make edge publicly available (assignEdgeToPublicCustomer) # noqa: E501
154
+
155
+ Edge will be available for non-authorized (not logged-in) users. This is useful to create dashboards that you plan to share/embed on a publicly available website. However, users that are logged-in and belong to different tenant will not be able to access the edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
156
+ This method makes a synchronous HTTP request by default. To make an
157
+ asynchronous HTTP request, please pass async_req=True
158
+ >>> thread = api.assign_edge_to_public_customer_using_post(edge_id, async_req=True)
159
+ >>> result = thread.get()
160
+
161
+ :param async_req bool
162
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
163
+ :return: Edge
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.assign_edge_to_public_customer_using_post_with_http_info(edge_id, **kwargs) # noqa: E501
170
+ else:
171
+ (data) = self.assign_edge_to_public_customer_using_post_with_http_info(edge_id, **kwargs) # noqa: E501
172
+ return data
173
+
174
+ def assign_edge_to_public_customer_using_post_with_http_info(self, edge_id, **kwargs): # noqa: E501
175
+ """Make edge publicly available (assignEdgeToPublicCustomer) # noqa: E501
176
+
177
+ Edge will be available for non-authorized (not logged-in) users. This is useful to create dashboards that you plan to share/embed on a publicly available website. However, users that are logged-in and belong to different tenant will not be able to access the edge. Available for users with 'TENANT_ADMIN' authority. # 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.assign_edge_to_public_customer_using_post_with_http_info(edge_id, async_req=True)
181
+ >>> result = thread.get()
182
+
183
+ :param async_req bool
184
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
185
+ :return: Edge
186
+ If the method is called asynchronously,
187
+ returns the request thread.
188
+ """
189
+
190
+ all_params = ['edge_id'] # 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 assign_edge_to_public_customer_using_post" % key
202
+ )
203
+ params[key] = val
204
+ del params['kwargs']
205
+ # verify the required parameter 'edge_id' is set
206
+ if ('edge_id' not in params or
207
+ params['edge_id'] is None):
208
+ raise ValueError("Missing the required parameter `edge_id` when calling `assign_edge_to_public_customer_using_post`") # noqa: E501
209
+
210
+ collection_formats = {}
211
+
212
+ path_params = {}
213
+ if 'edge_id' in params:
214
+ path_params['edgeId'] = params['edge_id'] # 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/customer/public/edge/{edgeId}', 'POST',
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='Edge', # 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_edge_using_delete(self, edge_id, **kwargs): # noqa: E501
248
+ """Delete edge (deleteEdge) # noqa: E501
249
+
250
+ Deletes the edge. Referencing non-existing edge Id will cause an error. Available for users with '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_edge_using_delete(edge_id, async_req=True)
254
+ >>> result = thread.get()
255
+
256
+ :param async_req bool
257
+ :param str edge_id: A string value representing the edge 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_edge_using_delete_with_http_info(edge_id, **kwargs) # noqa: E501
265
+ else:
266
+ (data) = self.delete_edge_using_delete_with_http_info(edge_id, **kwargs) # noqa: E501
267
+ return data
268
+
269
+ def delete_edge_using_delete_with_http_info(self, edge_id, **kwargs): # noqa: E501
270
+ """Delete edge (deleteEdge) # noqa: E501
271
+
272
+ Deletes the edge. Referencing non-existing edge Id will cause an error. Available for users with '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_edge_using_delete_with_http_info(edge_id, async_req=True)
276
+ >>> result = thread.get()
277
+
278
+ :param async_req bool
279
+ :param str edge_id: A string value representing the edge 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 = ['edge_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_edge_using_delete" % key
297
+ )
298
+ params[key] = val
299
+ del params['kwargs']
300
+ # verify the required parameter 'edge_id' is set
301
+ if ('edge_id' not in params or
302
+ params['edge_id'] is None):
303
+ raise ValueError("Missing the required parameter `edge_id` when calling `delete_edge_using_delete`") # noqa: E501
304
+
305
+ collection_formats = {}
306
+
307
+ path_params = {}
308
+ if 'edge_id' in params:
309
+ path_params['edgeId'] = params['edge_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/edge/{edgeId}', '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_by_query_using_post2(self, **kwargs): # noqa: E501
343
+ """Find related edges (findByQuery) # noqa: E501
344
+
345
+ Returns all edges that are related to the specific entity. The entity id, relation type, edge types, depth of the search, and other query parameters defined using complex 'EdgeSearchQuery' object. See 'Model' tab of the Parameters for more info. 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_by_query_using_post2(async_req=True)
349
+ >>> result = thread.get()
350
+
351
+ :param async_req bool
352
+ :param EdgeSearchQuery body:
353
+ :return: list[Edge]
354
+ If the method is called asynchronously,
355
+ returns the request thread.
356
+ """
357
+ kwargs['_return_http_data_only'] = True
358
+ if kwargs.get('async_req'):
359
+ return self.find_by_query_using_post2_with_http_info(**kwargs) # noqa: E501
360
+ else:
361
+ (data) = self.find_by_query_using_post2_with_http_info(**kwargs) # noqa: E501
362
+ return data
363
+
364
+ def find_by_query_using_post2_with_http_info(self, **kwargs): # noqa: E501
365
+ """Find related edges (findByQuery) # noqa: E501
366
+
367
+ Returns all edges that are related to the specific entity. The entity id, relation type, edge types, depth of the search, and other query parameters defined using complex 'EdgeSearchQuery' object. See 'Model' tab of the Parameters for more info. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
368
+ This method makes a synchronous HTTP request by default. To make an
369
+ asynchronous HTTP request, please pass async_req=True
370
+ >>> thread = api.find_by_query_using_post2_with_http_info(async_req=True)
371
+ >>> result = thread.get()
372
+
373
+ :param async_req bool
374
+ :param EdgeSearchQuery body:
375
+ :return: list[Edge]
376
+ If the method is called asynchronously,
377
+ returns the request thread.
378
+ """
379
+
380
+ all_params = ['body'] # noqa: E501
381
+ all_params.append('async_req')
382
+ all_params.append('_return_http_data_only')
383
+ all_params.append('_preload_content')
384
+ all_params.append('_request_timeout')
385
+
386
+ params = locals()
387
+ for key, val in six.iteritems(params['kwargs']):
388
+ if key not in all_params:
389
+ raise TypeError(
390
+ "Got an unexpected keyword argument '%s'"
391
+ " to method find_by_query_using_post2" % key
392
+ )
393
+ params[key] = val
394
+ del params['kwargs']
395
+
396
+ collection_formats = {}
397
+
398
+ path_params = {}
399
+
400
+ query_params = []
401
+
402
+ header_params = {}
403
+
404
+ form_params = []
405
+ local_var_files = {}
406
+
407
+ body_params = None
408
+ if 'body' in params:
409
+ body_params = params['body']
410
+ # HTTP header `Accept`
411
+ header_params['Accept'] = self.api_client.select_header_accept(
412
+ ['application/json']) # noqa: E501
413
+
414
+ # HTTP header `Content-Type`
415
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
416
+ ['application/json']) # noqa: E501
417
+
418
+ # Authentication setting
419
+ auth_settings = ['X-Authorization'] # noqa: E501
420
+
421
+ return self.api_client.call_api(
422
+ '/api/edges', 'POST',
423
+ path_params,
424
+ query_params,
425
+ header_params,
426
+ body=body_params,
427
+ post_params=form_params,
428
+ files=local_var_files,
429
+ response_type='list[Edge]', # noqa: E501
430
+ auth_settings=auth_settings,
431
+ async_req=params.get('async_req'),
432
+ _return_http_data_only=params.get('_return_http_data_only'),
433
+ _preload_content=params.get('_preload_content', True),
434
+ _request_timeout=params.get('_request_timeout'),
435
+ collection_formats=collection_formats)
436
+
437
+ def find_missing_to_related_rule_chains_using_get(self, edge_id, **kwargs): # noqa: E501
438
+ """Find missing rule chains (findMissingToRelatedRuleChains) # noqa: E501
439
+
440
+ Returns list of rule chains ids that are not assigned to particular edge, but these rule chains are present in the already assigned rule chains to edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
441
+ This method makes a synchronous HTTP request by default. To make an
442
+ asynchronous HTTP request, please pass async_req=True
443
+ >>> thread = api.find_missing_to_related_rule_chains_using_get(edge_id, async_req=True)
444
+ >>> result = thread.get()
445
+
446
+ :param async_req bool
447
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
448
+ :return: str
449
+ If the method is called asynchronously,
450
+ returns the request thread.
451
+ """
452
+ kwargs['_return_http_data_only'] = True
453
+ if kwargs.get('async_req'):
454
+ return self.find_missing_to_related_rule_chains_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
455
+ else:
456
+ (data) = self.find_missing_to_related_rule_chains_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
457
+ return data
458
+
459
+ def find_missing_to_related_rule_chains_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501
460
+ """Find missing rule chains (findMissingToRelatedRuleChains) # noqa: E501
461
+
462
+ Returns list of rule chains ids that are not assigned to particular edge, but these rule chains are present in the already assigned rule chains to edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
463
+ This method makes a synchronous HTTP request by default. To make an
464
+ asynchronous HTTP request, please pass async_req=True
465
+ >>> thread = api.find_missing_to_related_rule_chains_using_get_with_http_info(edge_id, async_req=True)
466
+ >>> result = thread.get()
467
+
468
+ :param async_req bool
469
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
470
+ :return: str
471
+ If the method is called asynchronously,
472
+ returns the request thread.
473
+ """
474
+
475
+ all_params = ['edge_id'] # noqa: E501
476
+ all_params.append('async_req')
477
+ all_params.append('_return_http_data_only')
478
+ all_params.append('_preload_content')
479
+ all_params.append('_request_timeout')
480
+
481
+ params = locals()
482
+ for key, val in six.iteritems(params['kwargs']):
483
+ if key not in all_params:
484
+ raise TypeError(
485
+ "Got an unexpected keyword argument '%s'"
486
+ " to method find_missing_to_related_rule_chains_using_get" % key
487
+ )
488
+ params[key] = val
489
+ del params['kwargs']
490
+ # verify the required parameter 'edge_id' is set
491
+ if ('edge_id' not in params or
492
+ params['edge_id'] is None):
493
+ raise ValueError("Missing the required parameter `edge_id` when calling `find_missing_to_related_rule_chains_using_get`") # noqa: E501
494
+
495
+ collection_formats = {}
496
+
497
+ path_params = {}
498
+ if 'edge_id' in params:
499
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
500
+
501
+ query_params = []
502
+
503
+ header_params = {}
504
+
505
+ form_params = []
506
+ local_var_files = {}
507
+
508
+ body_params = None
509
+ # HTTP header `Accept`
510
+ header_params['Accept'] = self.api_client.select_header_accept(
511
+ ['application/json']) # noqa: E501
512
+
513
+ # Authentication setting
514
+ auth_settings = ['X-Authorization'] # noqa: E501
515
+
516
+ return self.api_client.call_api(
517
+ '/api/edge/missingToRelatedRuleChains/{edgeId}', 'GET',
518
+ path_params,
519
+ query_params,
520
+ header_params,
521
+ body=body_params,
522
+ post_params=form_params,
523
+ files=local_var_files,
524
+ response_type='str', # noqa: E501
525
+ auth_settings=auth_settings,
526
+ async_req=params.get('async_req'),
527
+ _return_http_data_only=params.get('_return_http_data_only'),
528
+ _preload_content=params.get('_preload_content', True),
529
+ _request_timeout=params.get('_request_timeout'),
530
+ collection_formats=collection_formats)
531
+
532
+ def get_customer_edge_infos_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
533
+ """Get Customer Edge Infos (getCustomerEdgeInfos) # noqa: E501
534
+
535
+ Returns a page of edges info objects assigned to 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. Edge Info is an extension of the default Edge object that contains information about the assigned customer name. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
536
+ This method makes a synchronous HTTP request by default. To make an
537
+ asynchronous HTTP request, please pass async_req=True
538
+ >>> thread = api.get_customer_edge_infos_using_get(customer_id, page_size, page, async_req=True)
539
+ >>> result = thread.get()
540
+
541
+ :param async_req bool
542
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
543
+ :param int page_size: Maximum amount of entities in a one page (required)
544
+ :param int page: Sequence number of page starting from 0 (required)
545
+ :param str type: A string value representing the edge type. For example, 'default'
546
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
547
+ :param str sort_property: Property of entity to sort by
548
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
549
+ :return: PageDataEdgeInfo
550
+ If the method is called asynchronously,
551
+ returns the request thread.
552
+ """
553
+ kwargs['_return_http_data_only'] = True
554
+ if kwargs.get('async_req'):
555
+ return self.get_customer_edge_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
556
+ else:
557
+ (data) = self.get_customer_edge_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
558
+ return data
559
+
560
+ def get_customer_edge_infos_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
561
+ """Get Customer Edge Infos (getCustomerEdgeInfos) # noqa: E501
562
+
563
+ Returns a page of edges info objects assigned to 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. Edge Info is an extension of the default Edge object that contains information about the assigned customer name. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
564
+ This method makes a synchronous HTTP request by default. To make an
565
+ asynchronous HTTP request, please pass async_req=True
566
+ >>> thread = api.get_customer_edge_infos_using_get_with_http_info(customer_id, page_size, page, async_req=True)
567
+ >>> result = thread.get()
568
+
569
+ :param async_req bool
570
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
571
+ :param int page_size: Maximum amount of entities in a one page (required)
572
+ :param int page: Sequence number of page starting from 0 (required)
573
+ :param str type: A string value representing the edge type. For example, 'default'
574
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
575
+ :param str sort_property: Property of entity to sort by
576
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
577
+ :return: PageDataEdgeInfo
578
+ If the method is called asynchronously,
579
+ returns the request thread.
580
+ """
581
+
582
+ all_params = ['customer_id', 'page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
583
+ all_params.append('async_req')
584
+ all_params.append('_return_http_data_only')
585
+ all_params.append('_preload_content')
586
+ all_params.append('_request_timeout')
587
+
588
+ params = locals()
589
+ for key, val in six.iteritems(params['kwargs']):
590
+ if key not in all_params:
591
+ raise TypeError(
592
+ "Got an unexpected keyword argument '%s'"
593
+ " to method get_customer_edge_infos_using_get" % key
594
+ )
595
+ params[key] = val
596
+ del params['kwargs']
597
+ # verify the required parameter 'customer_id' is set
598
+ if ('customer_id' not in params or
599
+ params['customer_id'] is None):
600
+ raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_edge_infos_using_get`") # noqa: E501
601
+ # verify the required parameter 'page_size' is set
602
+ if ('page_size' not in params or
603
+ params['page_size'] is None):
604
+ raise ValueError("Missing the required parameter `page_size` when calling `get_customer_edge_infos_using_get`") # noqa: E501
605
+ # verify the required parameter 'page' is set
606
+ if ('page' not in params or
607
+ params['page'] is None):
608
+ raise ValueError("Missing the required parameter `page` when calling `get_customer_edge_infos_using_get`") # noqa: E501
609
+
610
+ collection_formats = {}
611
+
612
+ path_params = {}
613
+ if 'customer_id' in params:
614
+ path_params['customerId'] = params['customer_id'] # noqa: E501
615
+
616
+ query_params = []
617
+ if 'page_size' in params:
618
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
619
+ if 'page' in params:
620
+ query_params.append(('page', params['page'])) # noqa: E501
621
+ if 'type' in params:
622
+ query_params.append(('type', params['type'])) # noqa: E501
623
+ if 'text_search' in params:
624
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
625
+ if 'sort_property' in params:
626
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
627
+ if 'sort_order' in params:
628
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
629
+
630
+ header_params = {}
631
+
632
+ form_params = []
633
+ local_var_files = {}
634
+
635
+ body_params = None
636
+ # HTTP header `Accept`
637
+ header_params['Accept'] = self.api_client.select_header_accept(
638
+ ['application/json']) # noqa: E501
639
+
640
+ # Authentication setting
641
+ auth_settings = ['X-Authorization'] # noqa: E501
642
+
643
+ return self.api_client.call_api(
644
+ '/api/customer/{customerId}/edgeInfos{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
645
+ path_params,
646
+ query_params,
647
+ header_params,
648
+ body=body_params,
649
+ post_params=form_params,
650
+ files=local_var_files,
651
+ response_type='PageDataEdgeInfo', # noqa: E501
652
+ auth_settings=auth_settings,
653
+ async_req=params.get('async_req'),
654
+ _return_http_data_only=params.get('_return_http_data_only'),
655
+ _preload_content=params.get('_preload_content', True),
656
+ _request_timeout=params.get('_request_timeout'),
657
+ collection_formats=collection_formats)
658
+
659
+ def get_customer_edges_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
660
+ """Get Customer Edges (getCustomerEdges) # noqa: E501
661
+
662
+ Returns a page of edges objects assigned to 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' or 'CUSTOMER_USER' authority. # noqa: E501
663
+ This method makes a synchronous HTTP request by default. To make an
664
+ asynchronous HTTP request, please pass async_req=True
665
+ >>> thread = api.get_customer_edges_using_get(customer_id, page_size, page, async_req=True)
666
+ >>> result = thread.get()
667
+
668
+ :param async_req bool
669
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
670
+ :param int page_size: Maximum amount of entities in a one page (required)
671
+ :param int page: Sequence number of page starting from 0 (required)
672
+ :param str type: A string value representing the edge type. For example, 'default'
673
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
674
+ :param str sort_property: Property of entity to sort by
675
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
676
+ :return: PageDataEdge
677
+ If the method is called asynchronously,
678
+ returns the request thread.
679
+ """
680
+ kwargs['_return_http_data_only'] = True
681
+ if kwargs.get('async_req'):
682
+ return self.get_customer_edges_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
683
+ else:
684
+ (data) = self.get_customer_edges_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
685
+ return data
686
+
687
+ def get_customer_edges_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
688
+ """Get Customer Edges (getCustomerEdges) # noqa: E501
689
+
690
+ Returns a page of edges objects assigned to 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' or 'CUSTOMER_USER' authority. # noqa: E501
691
+ This method makes a synchronous HTTP request by default. To make an
692
+ asynchronous HTTP request, please pass async_req=True
693
+ >>> thread = api.get_customer_edges_using_get_with_http_info(customer_id, page_size, page, async_req=True)
694
+ >>> result = thread.get()
695
+
696
+ :param async_req bool
697
+ :param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
698
+ :param int page_size: Maximum amount of entities in a one page (required)
699
+ :param int page: Sequence number of page starting from 0 (required)
700
+ :param str type: A string value representing the edge type. For example, 'default'
701
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
702
+ :param str sort_property: Property of entity to sort by
703
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
704
+ :return: PageDataEdge
705
+ If the method is called asynchronously,
706
+ returns the request thread.
707
+ """
708
+
709
+ all_params = ['customer_id', 'page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
710
+ all_params.append('async_req')
711
+ all_params.append('_return_http_data_only')
712
+ all_params.append('_preload_content')
713
+ all_params.append('_request_timeout')
714
+
715
+ params = locals()
716
+ for key, val in six.iteritems(params['kwargs']):
717
+ if key not in all_params:
718
+ raise TypeError(
719
+ "Got an unexpected keyword argument '%s'"
720
+ " to method get_customer_edges_using_get" % key
721
+ )
722
+ params[key] = val
723
+ del params['kwargs']
724
+ # verify the required parameter 'customer_id' is set
725
+ if ('customer_id' not in params or
726
+ params['customer_id'] is None):
727
+ raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_edges_using_get`") # noqa: E501
728
+ # verify the required parameter 'page_size' is set
729
+ if ('page_size' not in params or
730
+ params['page_size'] is None):
731
+ raise ValueError("Missing the required parameter `page_size` when calling `get_customer_edges_using_get`") # noqa: E501
732
+ # verify the required parameter 'page' is set
733
+ if ('page' not in params or
734
+ params['page'] is None):
735
+ raise ValueError("Missing the required parameter `page` when calling `get_customer_edges_using_get`") # noqa: E501
736
+
737
+ collection_formats = {}
738
+
739
+ path_params = {}
740
+ if 'customer_id' in params:
741
+ path_params['customerId'] = params['customer_id'] # noqa: E501
742
+
743
+ query_params = []
744
+ if 'page_size' in params:
745
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
746
+ if 'page' in params:
747
+ query_params.append(('page', params['page'])) # noqa: E501
748
+ if 'type' in params:
749
+ query_params.append(('type', params['type'])) # noqa: E501
750
+ if 'text_search' in params:
751
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
752
+ if 'sort_property' in params:
753
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
754
+ if 'sort_order' in params:
755
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
756
+
757
+ header_params = {}
758
+
759
+ form_params = []
760
+ local_var_files = {}
761
+
762
+ body_params = None
763
+ # HTTP header `Accept`
764
+ header_params['Accept'] = self.api_client.select_header_accept(
765
+ ['application/json']) # noqa: E501
766
+
767
+ # Authentication setting
768
+ auth_settings = ['X-Authorization'] # noqa: E501
769
+
770
+ return self.api_client.call_api(
771
+ '/api/customer/{customerId}/edges{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
772
+ path_params,
773
+ query_params,
774
+ header_params,
775
+ body=body_params,
776
+ post_params=form_params,
777
+ files=local_var_files,
778
+ response_type='PageDataEdge', # noqa: E501
779
+ auth_settings=auth_settings,
780
+ async_req=params.get('async_req'),
781
+ _return_http_data_only=params.get('_return_http_data_only'),
782
+ _preload_content=params.get('_preload_content', True),
783
+ _request_timeout=params.get('_request_timeout'),
784
+ collection_formats=collection_formats)
785
+
786
+ def get_edge_by_id_using_get(self, edge_id, **kwargs): # noqa: E501
787
+ """Get Edge (getEdgeById) # noqa: E501
788
+
789
+ Get the Edge object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
790
+ This method makes a synchronous HTTP request by default. To make an
791
+ asynchronous HTTP request, please pass async_req=True
792
+ >>> thread = api.get_edge_by_id_using_get(edge_id, async_req=True)
793
+ >>> result = thread.get()
794
+
795
+ :param async_req bool
796
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
797
+ :return: Edge
798
+ If the method is called asynchronously,
799
+ returns the request thread.
800
+ """
801
+ kwargs['_return_http_data_only'] = True
802
+ if kwargs.get('async_req'):
803
+ return self.get_edge_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
804
+ else:
805
+ (data) = self.get_edge_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
806
+ return data
807
+
808
+ def get_edge_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501
809
+ """Get Edge (getEdgeById) # noqa: E501
810
+
811
+ Get the Edge object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
812
+ This method makes a synchronous HTTP request by default. To make an
813
+ asynchronous HTTP request, please pass async_req=True
814
+ >>> thread = api.get_edge_by_id_using_get_with_http_info(edge_id, async_req=True)
815
+ >>> result = thread.get()
816
+
817
+ :param async_req bool
818
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
819
+ :return: Edge
820
+ If the method is called asynchronously,
821
+ returns the request thread.
822
+ """
823
+
824
+ all_params = ['edge_id'] # noqa: E501
825
+ all_params.append('async_req')
826
+ all_params.append('_return_http_data_only')
827
+ all_params.append('_preload_content')
828
+ all_params.append('_request_timeout')
829
+
830
+ params = locals()
831
+ for key, val in six.iteritems(params['kwargs']):
832
+ if key not in all_params:
833
+ raise TypeError(
834
+ "Got an unexpected keyword argument '%s'"
835
+ " to method get_edge_by_id_using_get" % key
836
+ )
837
+ params[key] = val
838
+ del params['kwargs']
839
+ # verify the required parameter 'edge_id' is set
840
+ if ('edge_id' not in params or
841
+ params['edge_id'] is None):
842
+ raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_by_id_using_get`") # noqa: E501
843
+
844
+ collection_formats = {}
845
+
846
+ path_params = {}
847
+ if 'edge_id' in params:
848
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
849
+
850
+ query_params = []
851
+
852
+ header_params = {}
853
+
854
+ form_params = []
855
+ local_var_files = {}
856
+
857
+ body_params = None
858
+ # HTTP header `Accept`
859
+ header_params['Accept'] = self.api_client.select_header_accept(
860
+ ['application/json']) # noqa: E501
861
+
862
+ # Authentication setting
863
+ auth_settings = ['X-Authorization'] # noqa: E501
864
+
865
+ return self.api_client.call_api(
866
+ '/api/edge/{edgeId}', 'GET',
867
+ path_params,
868
+ query_params,
869
+ header_params,
870
+ body=body_params,
871
+ post_params=form_params,
872
+ files=local_var_files,
873
+ response_type='Edge', # noqa: E501
874
+ auth_settings=auth_settings,
875
+ async_req=params.get('async_req'),
876
+ _return_http_data_only=params.get('_return_http_data_only'),
877
+ _preload_content=params.get('_preload_content', True),
878
+ _request_timeout=params.get('_request_timeout'),
879
+ collection_formats=collection_formats)
880
+
881
+ def get_edge_info_by_id_using_get(self, edge_id, **kwargs): # noqa: E501
882
+ """Get Edge Info (getEdgeInfoById) # noqa: E501
883
+
884
+ Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
885
+ This method makes a synchronous HTTP request by default. To make an
886
+ asynchronous HTTP request, please pass async_req=True
887
+ >>> thread = api.get_edge_info_by_id_using_get(edge_id, async_req=True)
888
+ >>> result = thread.get()
889
+
890
+ :param async_req bool
891
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
892
+ :return: EdgeInfo
893
+ If the method is called asynchronously,
894
+ returns the request thread.
895
+ """
896
+ kwargs['_return_http_data_only'] = True
897
+ if kwargs.get('async_req'):
898
+ return self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
899
+ else:
900
+ (data) = self.get_edge_info_by_id_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
901
+ return data
902
+
903
+ def get_edge_info_by_id_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501
904
+ """Get Edge Info (getEdgeInfoById) # noqa: E501
905
+
906
+ Get the Edge Info object based on the provided Edge Id. If the user has the authority of 'Tenant Administrator', the server checks that the edge is owned by the same tenant. If the user has the authority of 'Customer User', the server checks that the edge is assigned to the same customer. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
907
+ This method makes a synchronous HTTP request by default. To make an
908
+ asynchronous HTTP request, please pass async_req=True
909
+ >>> thread = api.get_edge_info_by_id_using_get_with_http_info(edge_id, async_req=True)
910
+ >>> result = thread.get()
911
+
912
+ :param async_req bool
913
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
914
+ :return: EdgeInfo
915
+ If the method is called asynchronously,
916
+ returns the request thread.
917
+ """
918
+
919
+ all_params = ['edge_id'] # noqa: E501
920
+ all_params.append('async_req')
921
+ all_params.append('_return_http_data_only')
922
+ all_params.append('_preload_content')
923
+ all_params.append('_request_timeout')
924
+
925
+ params = locals()
926
+ for key, val in six.iteritems(params['kwargs']):
927
+ if key not in all_params:
928
+ raise TypeError(
929
+ "Got an unexpected keyword argument '%s'"
930
+ " to method get_edge_info_by_id_using_get" % key
931
+ )
932
+ params[key] = val
933
+ del params['kwargs']
934
+ # verify the required parameter 'edge_id' is set
935
+ if ('edge_id' not in params or
936
+ params['edge_id'] is None):
937
+ raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_info_by_id_using_get`") # noqa: E501
938
+
939
+ collection_formats = {}
940
+
941
+ path_params = {}
942
+ if 'edge_id' in params:
943
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
944
+
945
+ query_params = []
946
+
947
+ header_params = {}
948
+
949
+ form_params = []
950
+ local_var_files = {}
951
+
952
+ body_params = None
953
+ # HTTP header `Accept`
954
+ header_params['Accept'] = self.api_client.select_header_accept(
955
+ ['application/json']) # noqa: E501
956
+
957
+ # Authentication setting
958
+ auth_settings = ['X-Authorization'] # noqa: E501
959
+
960
+ return self.api_client.call_api(
961
+ '/api/edge/info/{edgeId}', 'GET',
962
+ path_params,
963
+ query_params,
964
+ header_params,
965
+ body=body_params,
966
+ post_params=form_params,
967
+ files=local_var_files,
968
+ response_type='EdgeInfo', # noqa: E501
969
+ auth_settings=auth_settings,
970
+ async_req=params.get('async_req'),
971
+ _return_http_data_only=params.get('_return_http_data_only'),
972
+ _preload_content=params.get('_preload_content', True),
973
+ _request_timeout=params.get('_request_timeout'),
974
+ collection_formats=collection_formats)
975
+
976
+ def get_edge_install_instructions_using_get(self, edge_id, method, **kwargs): # noqa: E501
977
+ """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501
978
+
979
+ Get an install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
980
+ This method makes a synchronous HTTP request by default. To make an
981
+ asynchronous HTTP request, please pass async_req=True
982
+ >>> thread = api.get_edge_install_instructions_using_get(edge_id, method, async_req=True)
983
+ >>> result = thread.get()
984
+
985
+ :param async_req bool
986
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
987
+ :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required)
988
+ :return: EdgeInstructions
989
+ If the method is called asynchronously,
990
+ returns the request thread.
991
+ """
992
+ kwargs['_return_http_data_only'] = True
993
+ if kwargs.get('async_req'):
994
+ return self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501
995
+ else:
996
+ (data) = self.get_edge_install_instructions_using_get_with_http_info(edge_id, method, **kwargs) # noqa: E501
997
+ return data
998
+
999
+ def get_edge_install_instructions_using_get_with_http_info(self, edge_id, method, **kwargs): # noqa: E501
1000
+ """Get Edge Install Instructions (getEdgeInstallInstructions) # noqa: E501
1001
+
1002
+ Get an install instructions for provided edge id. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1003
+ This method makes a synchronous HTTP request by default. To make an
1004
+ asynchronous HTTP request, please pass async_req=True
1005
+ >>> thread = api.get_edge_install_instructions_using_get_with_http_info(edge_id, method, async_req=True)
1006
+ >>> result = thread.get()
1007
+
1008
+ :param async_req bool
1009
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1010
+ :param str method: Installation method ('docker', 'ubuntu' or 'centos') (required)
1011
+ :return: EdgeInstructions
1012
+ If the method is called asynchronously,
1013
+ returns the request thread.
1014
+ """
1015
+
1016
+ all_params = ['edge_id', 'method'] # noqa: E501
1017
+ all_params.append('async_req')
1018
+ all_params.append('_return_http_data_only')
1019
+ all_params.append('_preload_content')
1020
+ all_params.append('_request_timeout')
1021
+
1022
+ params = locals()
1023
+ for key, val in six.iteritems(params['kwargs']):
1024
+ if key not in all_params:
1025
+ raise TypeError(
1026
+ "Got an unexpected keyword argument '%s'"
1027
+ " to method get_edge_install_instructions_using_get" % key
1028
+ )
1029
+ params[key] = val
1030
+ del params['kwargs']
1031
+ # verify the required parameter 'edge_id' is set
1032
+ if ('edge_id' not in params or
1033
+ params['edge_id'] is None):
1034
+ raise ValueError("Missing the required parameter `edge_id` when calling `get_edge_install_instructions_using_get`") # noqa: E501
1035
+ # verify the required parameter 'method' is set
1036
+ if ('method' not in params or
1037
+ params['method'] is None):
1038
+ raise ValueError("Missing the required parameter `method` when calling `get_edge_install_instructions_using_get`") # noqa: E501
1039
+
1040
+ collection_formats = {}
1041
+
1042
+ path_params = {}
1043
+ if 'edge_id' in params:
1044
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
1045
+ if 'method' in params:
1046
+ path_params['method'] = params['method'] # noqa: E501
1047
+
1048
+ query_params = []
1049
+
1050
+ header_params = {}
1051
+
1052
+ form_params = []
1053
+ local_var_files = {}
1054
+
1055
+ body_params = None
1056
+ # HTTP header `Accept`
1057
+ header_params['Accept'] = self.api_client.select_header_accept(
1058
+ ['application/json']) # noqa: E501
1059
+
1060
+ # Authentication setting
1061
+ auth_settings = ['X-Authorization'] # noqa: E501
1062
+
1063
+ return self.api_client.call_api(
1064
+ '/api/edge/instructions/install/{edgeId}/{method}', 'GET',
1065
+ path_params,
1066
+ query_params,
1067
+ header_params,
1068
+ body=body_params,
1069
+ post_params=form_params,
1070
+ files=local_var_files,
1071
+ response_type='EdgeInstructions', # noqa: E501
1072
+ auth_settings=auth_settings,
1073
+ async_req=params.get('async_req'),
1074
+ _return_http_data_only=params.get('_return_http_data_only'),
1075
+ _preload_content=params.get('_preload_content', True),
1076
+ _request_timeout=params.get('_request_timeout'),
1077
+ collection_formats=collection_formats)
1078
+
1079
+ def get_edge_types_using_get(self, **kwargs): # noqa: E501
1080
+ """Get Edge Types (getEdgeTypes) # noqa: E501
1081
+
1082
+ Returns a set of unique edge types based on edges that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1083
+ This method makes a synchronous HTTP request by default. To make an
1084
+ asynchronous HTTP request, please pass async_req=True
1085
+ >>> thread = api.get_edge_types_using_get(async_req=True)
1086
+ >>> result = thread.get()
1087
+
1088
+ :param async_req bool
1089
+ :return: list[EntitySubtype]
1090
+ If the method is called asynchronously,
1091
+ returns the request thread.
1092
+ """
1093
+ kwargs['_return_http_data_only'] = True
1094
+ if kwargs.get('async_req'):
1095
+ return self.get_edge_types_using_get_with_http_info(**kwargs) # noqa: E501
1096
+ else:
1097
+ (data) = self.get_edge_types_using_get_with_http_info(**kwargs) # noqa: E501
1098
+ return data
1099
+
1100
+ def get_edge_types_using_get_with_http_info(self, **kwargs): # noqa: E501
1101
+ """Get Edge Types (getEdgeTypes) # noqa: E501
1102
+
1103
+ Returns a set of unique edge types based on edges that are either owned by the tenant or assigned to the customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1104
+ This method makes a synchronous HTTP request by default. To make an
1105
+ asynchronous HTTP request, please pass async_req=True
1106
+ >>> thread = api.get_edge_types_using_get_with_http_info(async_req=True)
1107
+ >>> result = thread.get()
1108
+
1109
+ :param async_req bool
1110
+ :return: list[EntitySubtype]
1111
+ If the method is called asynchronously,
1112
+ returns the request thread.
1113
+ """
1114
+
1115
+ all_params = [] # noqa: E501
1116
+ all_params.append('async_req')
1117
+ all_params.append('_return_http_data_only')
1118
+ all_params.append('_preload_content')
1119
+ all_params.append('_request_timeout')
1120
+
1121
+ params = locals()
1122
+ for key, val in six.iteritems(params['kwargs']):
1123
+ if key not in all_params:
1124
+ raise TypeError(
1125
+ "Got an unexpected keyword argument '%s'"
1126
+ " to method get_edge_types_using_get" % key
1127
+ )
1128
+ params[key] = val
1129
+ del params['kwargs']
1130
+
1131
+ collection_formats = {}
1132
+
1133
+ path_params = {}
1134
+
1135
+ query_params = []
1136
+
1137
+ header_params = {}
1138
+
1139
+ form_params = []
1140
+ local_var_files = {}
1141
+
1142
+ body_params = None
1143
+ # HTTP header `Accept`
1144
+ header_params['Accept'] = self.api_client.select_header_accept(
1145
+ ['application/json']) # noqa: E501
1146
+
1147
+ # Authentication setting
1148
+ auth_settings = ['X-Authorization'] # noqa: E501
1149
+
1150
+ return self.api_client.call_api(
1151
+ '/api/edge/types', 'GET',
1152
+ path_params,
1153
+ query_params,
1154
+ header_params,
1155
+ body=body_params,
1156
+ post_params=form_params,
1157
+ files=local_var_files,
1158
+ response_type='list[EntitySubtype]', # noqa: E501
1159
+ auth_settings=auth_settings,
1160
+ async_req=params.get('async_req'),
1161
+ _return_http_data_only=params.get('_return_http_data_only'),
1162
+ _preload_content=params.get('_preload_content', True),
1163
+ _request_timeout=params.get('_request_timeout'),
1164
+ collection_formats=collection_formats)
1165
+
1166
+ def get_edge_upgrade_instructions_using_get(self, edge_version, method, **kwargs): # noqa: E501
1167
+ """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501
1168
+
1169
+ Get an upgrade instructions for provided edge version. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1170
+ This method makes a synchronous HTTP request by default. To make an
1171
+ asynchronous HTTP request, please pass async_req=True
1172
+ >>> thread = api.get_edge_upgrade_instructions_using_get(edge_version, method, async_req=True)
1173
+ >>> result = thread.get()
1174
+
1175
+ :param async_req bool
1176
+ :param str edge_version: Edge version (required)
1177
+ :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required)
1178
+ :return: EdgeInstructions
1179
+ If the method is called asynchronously,
1180
+ returns the request thread.
1181
+ """
1182
+ kwargs['_return_http_data_only'] = True
1183
+ if kwargs.get('async_req'):
1184
+ return self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501
1185
+ else:
1186
+ (data) = self.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, **kwargs) # noqa: E501
1187
+ return data
1188
+
1189
+ def get_edge_upgrade_instructions_using_get_with_http_info(self, edge_version, method, **kwargs): # noqa: E501
1190
+ """Get Edge Upgrade Instructions (getEdgeUpgradeInstructions) # noqa: E501
1191
+
1192
+ Get an upgrade instructions for provided edge version. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1193
+ This method makes a synchronous HTTP request by default. To make an
1194
+ asynchronous HTTP request, please pass async_req=True
1195
+ >>> thread = api.get_edge_upgrade_instructions_using_get_with_http_info(edge_version, method, async_req=True)
1196
+ >>> result = thread.get()
1197
+
1198
+ :param async_req bool
1199
+ :param str edge_version: Edge version (required)
1200
+ :param str method: Upgrade method ('docker', 'ubuntu' or 'centos') (required)
1201
+ :return: EdgeInstructions
1202
+ If the method is called asynchronously,
1203
+ returns the request thread.
1204
+ """
1205
+
1206
+ all_params = ['edge_version', 'method'] # noqa: E501
1207
+ all_params.append('async_req')
1208
+ all_params.append('_return_http_data_only')
1209
+ all_params.append('_preload_content')
1210
+ all_params.append('_request_timeout')
1211
+
1212
+ params = locals()
1213
+ for key, val in six.iteritems(params['kwargs']):
1214
+ if key not in all_params:
1215
+ raise TypeError(
1216
+ "Got an unexpected keyword argument '%s'"
1217
+ " to method get_edge_upgrade_instructions_using_get" % key
1218
+ )
1219
+ params[key] = val
1220
+ del params['kwargs']
1221
+ # verify the required parameter 'edge_version' is set
1222
+ if ('edge_version' not in params or
1223
+ params['edge_version'] is None):
1224
+ raise ValueError("Missing the required parameter `edge_version` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501
1225
+ # verify the required parameter 'method' is set
1226
+ if ('method' not in params or
1227
+ params['method'] is None):
1228
+ raise ValueError("Missing the required parameter `method` when calling `get_edge_upgrade_instructions_using_get`") # noqa: E501
1229
+
1230
+ collection_formats = {}
1231
+
1232
+ path_params = {}
1233
+ if 'edge_version' in params:
1234
+ path_params['edgeVersion'] = params['edge_version'] # noqa: E501
1235
+ if 'method' in params:
1236
+ path_params['method'] = params['method'] # noqa: E501
1237
+
1238
+ query_params = []
1239
+
1240
+ header_params = {}
1241
+
1242
+ form_params = []
1243
+ local_var_files = {}
1244
+
1245
+ body_params = None
1246
+ # HTTP header `Accept`
1247
+ header_params['Accept'] = self.api_client.select_header_accept(
1248
+ ['application/json']) # noqa: E501
1249
+
1250
+ # Authentication setting
1251
+ auth_settings = ['X-Authorization'] # noqa: E501
1252
+
1253
+ return self.api_client.call_api(
1254
+ '/api/edge/instructions/upgrade/{edgeVersion}/{method}', 'GET',
1255
+ path_params,
1256
+ query_params,
1257
+ header_params,
1258
+ body=body_params,
1259
+ post_params=form_params,
1260
+ files=local_var_files,
1261
+ response_type='EdgeInstructions', # noqa: E501
1262
+ auth_settings=auth_settings,
1263
+ async_req=params.get('async_req'),
1264
+ _return_http_data_only=params.get('_return_http_data_only'),
1265
+ _preload_content=params.get('_preload_content', True),
1266
+ _request_timeout=params.get('_request_timeout'),
1267
+ collection_formats=collection_formats)
1268
+
1269
+ def get_edges_by_ids_using_get(self, edge_ids, **kwargs): # noqa: E501
1270
+ """Get Edges By Ids (getEdgesByIds) # noqa: E501
1271
+
1272
+ Requested edges must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1273
+ This method makes a synchronous HTTP request by default. To make an
1274
+ asynchronous HTTP request, please pass async_req=True
1275
+ >>> thread = api.get_edges_by_ids_using_get(edge_ids, async_req=True)
1276
+ >>> result = thread.get()
1277
+
1278
+ :param async_req bool
1279
+ :param str edge_ids: A list of edges ids, separated by comma ',' (required)
1280
+ :return: list[Edge]
1281
+ If the method is called asynchronously,
1282
+ returns the request thread.
1283
+ """
1284
+ kwargs['_return_http_data_only'] = True
1285
+ if kwargs.get('async_req'):
1286
+ return self.get_edges_by_ids_using_get_with_http_info(edge_ids, **kwargs) # noqa: E501
1287
+ else:
1288
+ (data) = self.get_edges_by_ids_using_get_with_http_info(edge_ids, **kwargs) # noqa: E501
1289
+ return data
1290
+
1291
+ def get_edges_by_ids_using_get_with_http_info(self, edge_ids, **kwargs): # noqa: E501
1292
+ """Get Edges By Ids (getEdgesByIds) # noqa: E501
1293
+
1294
+ Requested edges must be owned by tenant or assigned to customer which user is performing the request. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
1295
+ This method makes a synchronous HTTP request by default. To make an
1296
+ asynchronous HTTP request, please pass async_req=True
1297
+ >>> thread = api.get_edges_by_ids_using_get_with_http_info(edge_ids, async_req=True)
1298
+ >>> result = thread.get()
1299
+
1300
+ :param async_req bool
1301
+ :param str edge_ids: A list of edges ids, separated by comma ',' (required)
1302
+ :return: list[Edge]
1303
+ If the method is called asynchronously,
1304
+ returns the request thread.
1305
+ """
1306
+
1307
+ all_params = ['edge_ids'] # noqa: E501
1308
+ all_params.append('async_req')
1309
+ all_params.append('_return_http_data_only')
1310
+ all_params.append('_preload_content')
1311
+ all_params.append('_request_timeout')
1312
+
1313
+ params = locals()
1314
+ for key, val in six.iteritems(params['kwargs']):
1315
+ if key not in all_params:
1316
+ raise TypeError(
1317
+ "Got an unexpected keyword argument '%s'"
1318
+ " to method get_edges_by_ids_using_get" % key
1319
+ )
1320
+ params[key] = val
1321
+ del params['kwargs']
1322
+ # verify the required parameter 'edge_ids' is set
1323
+ if ('edge_ids' not in params or
1324
+ params['edge_ids'] is None):
1325
+ raise ValueError("Missing the required parameter `edge_ids` when calling `get_edges_by_ids_using_get`") # noqa: E501
1326
+
1327
+ collection_formats = {}
1328
+
1329
+ path_params = {}
1330
+
1331
+ query_params = []
1332
+ if 'edge_ids' in params:
1333
+ query_params.append(('edgeIds', params['edge_ids'])) # noqa: E501
1334
+
1335
+ header_params = {}
1336
+
1337
+ form_params = []
1338
+ local_var_files = {}
1339
+
1340
+ body_params = None
1341
+ # HTTP header `Accept`
1342
+ header_params['Accept'] = self.api_client.select_header_accept(
1343
+ ['application/json']) # noqa: E501
1344
+
1345
+ # Authentication setting
1346
+ auth_settings = ['X-Authorization'] # noqa: E501
1347
+
1348
+ return self.api_client.call_api(
1349
+ '/api/edges{?edgeIds}', 'GET',
1350
+ path_params,
1351
+ query_params,
1352
+ header_params,
1353
+ body=body_params,
1354
+ post_params=form_params,
1355
+ files=local_var_files,
1356
+ response_type='list[Edge]', # noqa: E501
1357
+ auth_settings=auth_settings,
1358
+ async_req=params.get('async_req'),
1359
+ _return_http_data_only=params.get('_return_http_data_only'),
1360
+ _preload_content=params.get('_preload_content', True),
1361
+ _request_timeout=params.get('_request_timeout'),
1362
+ collection_formats=collection_formats)
1363
+
1364
+ def get_edges_using_get(self, page_size, page, **kwargs): # noqa: E501
1365
+ """Get Tenant Edges (getEdges) # noqa: E501
1366
+
1367
+ Returns a page of edges 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 'TENANT_ADMIN' authority. # noqa: E501
1368
+ This method makes a synchronous HTTP request by default. To make an
1369
+ asynchronous HTTP request, please pass async_req=True
1370
+ >>> thread = api.get_edges_using_get(page_size, page, async_req=True)
1371
+ >>> result = thread.get()
1372
+
1373
+ :param async_req bool
1374
+ :param int page_size: Maximum amount of entities in a one page (required)
1375
+ :param int page: Sequence number of page starting from 0 (required)
1376
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1377
+ :param str sort_property: Property of entity to sort by
1378
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1379
+ :return: PageDataEdge
1380
+ If the method is called asynchronously,
1381
+ returns the request thread.
1382
+ """
1383
+ kwargs['_return_http_data_only'] = True
1384
+ if kwargs.get('async_req'):
1385
+ return self.get_edges_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1386
+ else:
1387
+ (data) = self.get_edges_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1388
+ return data
1389
+
1390
+ def get_edges_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
1391
+ """Get Tenant Edges (getEdges) # noqa: E501
1392
+
1393
+ Returns a page of edges 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 'TENANT_ADMIN' authority. # noqa: E501
1394
+ This method makes a synchronous HTTP request by default. To make an
1395
+ asynchronous HTTP request, please pass async_req=True
1396
+ >>> thread = api.get_edges_using_get_with_http_info(page_size, page, async_req=True)
1397
+ >>> result = thread.get()
1398
+
1399
+ :param async_req bool
1400
+ :param int page_size: Maximum amount of entities in a one page (required)
1401
+ :param int page: Sequence number of page starting from 0 (required)
1402
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1403
+ :param str sort_property: Property of entity to sort by
1404
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1405
+ :return: PageDataEdge
1406
+ If the method is called asynchronously,
1407
+ returns the request thread.
1408
+ """
1409
+
1410
+ all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
1411
+ all_params.append('async_req')
1412
+ all_params.append('_return_http_data_only')
1413
+ all_params.append('_preload_content')
1414
+ all_params.append('_request_timeout')
1415
+
1416
+ params = locals()
1417
+ for key, val in six.iteritems(params['kwargs']):
1418
+ if key not in all_params:
1419
+ raise TypeError(
1420
+ "Got an unexpected keyword argument '%s'"
1421
+ " to method get_edges_using_get" % key
1422
+ )
1423
+ params[key] = val
1424
+ del params['kwargs']
1425
+ # verify the required parameter 'page_size' is set
1426
+ if ('page_size' not in params or
1427
+ params['page_size'] is None):
1428
+ raise ValueError("Missing the required parameter `page_size` when calling `get_edges_using_get`") # noqa: E501
1429
+ # verify the required parameter 'page' is set
1430
+ if ('page' not in params or
1431
+ params['page'] is None):
1432
+ raise ValueError("Missing the required parameter `page` when calling `get_edges_using_get`") # noqa: E501
1433
+
1434
+ collection_formats = {}
1435
+
1436
+ path_params = {}
1437
+
1438
+ query_params = []
1439
+ if 'page_size' in params:
1440
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
1441
+ if 'page' in params:
1442
+ query_params.append(('page', params['page'])) # noqa: E501
1443
+ if 'text_search' in params:
1444
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
1445
+ if 'sort_property' in params:
1446
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
1447
+ if 'sort_order' in params:
1448
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
1449
+
1450
+ header_params = {}
1451
+
1452
+ form_params = []
1453
+ local_var_files = {}
1454
+
1455
+ body_params = None
1456
+ # HTTP header `Accept`
1457
+ header_params['Accept'] = self.api_client.select_header_accept(
1458
+ ['application/json']) # noqa: E501
1459
+
1460
+ # Authentication setting
1461
+ auth_settings = ['X-Authorization'] # noqa: E501
1462
+
1463
+ return self.api_client.call_api(
1464
+ '/api/edges{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
1465
+ path_params,
1466
+ query_params,
1467
+ header_params,
1468
+ body=body_params,
1469
+ post_params=form_params,
1470
+ files=local_var_files,
1471
+ response_type='PageDataEdge', # noqa: E501
1472
+ auth_settings=auth_settings,
1473
+ async_req=params.get('async_req'),
1474
+ _return_http_data_only=params.get('_return_http_data_only'),
1475
+ _preload_content=params.get('_preload_content', True),
1476
+ _request_timeout=params.get('_request_timeout'),
1477
+ collection_formats=collection_formats)
1478
+
1479
+ def get_tenant_edge_infos_using_get(self, page_size, page, **kwargs): # noqa: E501
1480
+ """Get Tenant Edge Infos (getTenantEdgeInfos) # noqa: E501
1481
+
1482
+ Returns a page of edges info objects 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. Edge Info is an extension of the default Edge object that contains information about the assigned customer name. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1483
+ This method makes a synchronous HTTP request by default. To make an
1484
+ asynchronous HTTP request, please pass async_req=True
1485
+ >>> thread = api.get_tenant_edge_infos_using_get(page_size, page, async_req=True)
1486
+ >>> result = thread.get()
1487
+
1488
+ :param async_req bool
1489
+ :param int page_size: Maximum amount of entities in a one page (required)
1490
+ :param int page: Sequence number of page starting from 0 (required)
1491
+ :param str type: A string value representing the edge type. For example, 'default'
1492
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1493
+ :param str sort_property: Property of entity to sort by
1494
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1495
+ :return: PageDataEdgeInfo
1496
+ If the method is called asynchronously,
1497
+ returns the request thread.
1498
+ """
1499
+ kwargs['_return_http_data_only'] = True
1500
+ if kwargs.get('async_req'):
1501
+ return self.get_tenant_edge_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1502
+ else:
1503
+ (data) = self.get_tenant_edge_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1504
+ return data
1505
+
1506
+ def get_tenant_edge_infos_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
1507
+ """Get Tenant Edge Infos (getTenantEdgeInfos) # noqa: E501
1508
+
1509
+ Returns a page of edges info objects 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. Edge Info is an extension of the default Edge object that contains information about the assigned customer name. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1510
+ This method makes a synchronous HTTP request by default. To make an
1511
+ asynchronous HTTP request, please pass async_req=True
1512
+ >>> thread = api.get_tenant_edge_infos_using_get_with_http_info(page_size, page, async_req=True)
1513
+ >>> result = thread.get()
1514
+
1515
+ :param async_req bool
1516
+ :param int page_size: Maximum amount of entities in a one page (required)
1517
+ :param int page: Sequence number of page starting from 0 (required)
1518
+ :param str type: A string value representing the edge type. For example, 'default'
1519
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1520
+ :param str sort_property: Property of entity to sort by
1521
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1522
+ :return: PageDataEdgeInfo
1523
+ If the method is called asynchronously,
1524
+ returns the request thread.
1525
+ """
1526
+
1527
+ all_params = ['page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
1528
+ all_params.append('async_req')
1529
+ all_params.append('_return_http_data_only')
1530
+ all_params.append('_preload_content')
1531
+ all_params.append('_request_timeout')
1532
+
1533
+ params = locals()
1534
+ for key, val in six.iteritems(params['kwargs']):
1535
+ if key not in all_params:
1536
+ raise TypeError(
1537
+ "Got an unexpected keyword argument '%s'"
1538
+ " to method get_tenant_edge_infos_using_get" % key
1539
+ )
1540
+ params[key] = val
1541
+ del params['kwargs']
1542
+ # verify the required parameter 'page_size' is set
1543
+ if ('page_size' not in params or
1544
+ params['page_size'] is None):
1545
+ raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_edge_infos_using_get`") # noqa: E501
1546
+ # verify the required parameter 'page' is set
1547
+ if ('page' not in params or
1548
+ params['page'] is None):
1549
+ raise ValueError("Missing the required parameter `page` when calling `get_tenant_edge_infos_using_get`") # noqa: E501
1550
+
1551
+ collection_formats = {}
1552
+
1553
+ path_params = {}
1554
+
1555
+ query_params = []
1556
+ if 'page_size' in params:
1557
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
1558
+ if 'page' in params:
1559
+ query_params.append(('page', params['page'])) # noqa: E501
1560
+ if 'type' in params:
1561
+ query_params.append(('type', params['type'])) # noqa: E501
1562
+ if 'text_search' in params:
1563
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
1564
+ if 'sort_property' in params:
1565
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
1566
+ if 'sort_order' in params:
1567
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
1568
+
1569
+ header_params = {}
1570
+
1571
+ form_params = []
1572
+ local_var_files = {}
1573
+
1574
+ body_params = None
1575
+ # HTTP header `Accept`
1576
+ header_params['Accept'] = self.api_client.select_header_accept(
1577
+ ['application/json']) # noqa: E501
1578
+
1579
+ # Authentication setting
1580
+ auth_settings = ['X-Authorization'] # noqa: E501
1581
+
1582
+ return self.api_client.call_api(
1583
+ '/api/tenant/edgeInfos{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
1584
+ path_params,
1585
+ query_params,
1586
+ header_params,
1587
+ body=body_params,
1588
+ post_params=form_params,
1589
+ files=local_var_files,
1590
+ response_type='PageDataEdgeInfo', # noqa: E501
1591
+ auth_settings=auth_settings,
1592
+ async_req=params.get('async_req'),
1593
+ _return_http_data_only=params.get('_return_http_data_only'),
1594
+ _preload_content=params.get('_preload_content', True),
1595
+ _request_timeout=params.get('_request_timeout'),
1596
+ collection_formats=collection_formats)
1597
+
1598
+ def get_tenant_edge_using_get(self, edge_name, **kwargs): # noqa: E501
1599
+ """Get Tenant Edge (getTenantEdge) # noqa: E501
1600
+
1601
+ Requested edge must be owned by tenant or customer that the user belongs to. Edge name is an unique property of edge. So it can be used to identify the edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1602
+ This method makes a synchronous HTTP request by default. To make an
1603
+ asynchronous HTTP request, please pass async_req=True
1604
+ >>> thread = api.get_tenant_edge_using_get(edge_name, async_req=True)
1605
+ >>> result = thread.get()
1606
+
1607
+ :param async_req bool
1608
+ :param str edge_name: Unique name of the edge (required)
1609
+ :return: Edge
1610
+ If the method is called asynchronously,
1611
+ returns the request thread.
1612
+ """
1613
+ kwargs['_return_http_data_only'] = True
1614
+ if kwargs.get('async_req'):
1615
+ return self.get_tenant_edge_using_get_with_http_info(edge_name, **kwargs) # noqa: E501
1616
+ else:
1617
+ (data) = self.get_tenant_edge_using_get_with_http_info(edge_name, **kwargs) # noqa: E501
1618
+ return data
1619
+
1620
+ def get_tenant_edge_using_get_with_http_info(self, edge_name, **kwargs): # noqa: E501
1621
+ """Get Tenant Edge (getTenantEdge) # noqa: E501
1622
+
1623
+ Requested edge must be owned by tenant or customer that the user belongs to. Edge name is an unique property of edge. So it can be used to identify the edge. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1624
+ This method makes a synchronous HTTP request by default. To make an
1625
+ asynchronous HTTP request, please pass async_req=True
1626
+ >>> thread = api.get_tenant_edge_using_get_with_http_info(edge_name, async_req=True)
1627
+ >>> result = thread.get()
1628
+
1629
+ :param async_req bool
1630
+ :param str edge_name: Unique name of the edge (required)
1631
+ :return: Edge
1632
+ If the method is called asynchronously,
1633
+ returns the request thread.
1634
+ """
1635
+
1636
+ all_params = ['edge_name'] # noqa: E501
1637
+ all_params.append('async_req')
1638
+ all_params.append('_return_http_data_only')
1639
+ all_params.append('_preload_content')
1640
+ all_params.append('_request_timeout')
1641
+
1642
+ params = locals()
1643
+ for key, val in six.iteritems(params['kwargs']):
1644
+ if key not in all_params:
1645
+ raise TypeError(
1646
+ "Got an unexpected keyword argument '%s'"
1647
+ " to method get_tenant_edge_using_get" % key
1648
+ )
1649
+ params[key] = val
1650
+ del params['kwargs']
1651
+ # verify the required parameter 'edge_name' is set
1652
+ if ('edge_name' not in params or
1653
+ params['edge_name'] is None):
1654
+ raise ValueError("Missing the required parameter `edge_name` when calling `get_tenant_edge_using_get`") # noqa: E501
1655
+
1656
+ collection_formats = {}
1657
+
1658
+ path_params = {}
1659
+
1660
+ query_params = []
1661
+ if 'edge_name' in params:
1662
+ query_params.append(('edgeName', params['edge_name'])) # noqa: E501
1663
+
1664
+ header_params = {}
1665
+
1666
+ form_params = []
1667
+ local_var_files = {}
1668
+
1669
+ body_params = None
1670
+ # HTTP header `Accept`
1671
+ header_params['Accept'] = self.api_client.select_header_accept(
1672
+ ['application/json']) # noqa: E501
1673
+
1674
+ # Authentication setting
1675
+ auth_settings = ['X-Authorization'] # noqa: E501
1676
+
1677
+ return self.api_client.call_api(
1678
+ '/api/tenant/edges{?edgeName}', 'GET',
1679
+ path_params,
1680
+ query_params,
1681
+ header_params,
1682
+ body=body_params,
1683
+ post_params=form_params,
1684
+ files=local_var_files,
1685
+ response_type='Edge', # noqa: E501
1686
+ auth_settings=auth_settings,
1687
+ async_req=params.get('async_req'),
1688
+ _return_http_data_only=params.get('_return_http_data_only'),
1689
+ _preload_content=params.get('_preload_content', True),
1690
+ _request_timeout=params.get('_request_timeout'),
1691
+ collection_formats=collection_formats)
1692
+
1693
+ def get_tenant_edges_using_get(self, page_size, page, **kwargs): # noqa: E501
1694
+ """Get Tenant Edges (getTenantEdges) # noqa: E501
1695
+
1696
+ Returns a page of edges 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 'TENANT_ADMIN' authority. # noqa: E501
1697
+ This method makes a synchronous HTTP request by default. To make an
1698
+ asynchronous HTTP request, please pass async_req=True
1699
+ >>> thread = api.get_tenant_edges_using_get(page_size, page, async_req=True)
1700
+ >>> result = thread.get()
1701
+
1702
+ :param async_req bool
1703
+ :param int page_size: Maximum amount of entities in a one page (required)
1704
+ :param int page: Sequence number of page starting from 0 (required)
1705
+ :param str type: A string value representing the edge type. For example, 'default'
1706
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1707
+ :param str sort_property: Property of entity to sort by
1708
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1709
+ :return: PageDataEdge
1710
+ If the method is called asynchronously,
1711
+ returns the request thread.
1712
+ """
1713
+ kwargs['_return_http_data_only'] = True
1714
+ if kwargs.get('async_req'):
1715
+ return self.get_tenant_edges_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1716
+ else:
1717
+ (data) = self.get_tenant_edges_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
1718
+ return data
1719
+
1720
+ def get_tenant_edges_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
1721
+ """Get Tenant Edges (getTenantEdges) # noqa: E501
1722
+
1723
+ Returns a page of edges 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 'TENANT_ADMIN' authority. # noqa: E501
1724
+ This method makes a synchronous HTTP request by default. To make an
1725
+ asynchronous HTTP request, please pass async_req=True
1726
+ >>> thread = api.get_tenant_edges_using_get_with_http_info(page_size, page, async_req=True)
1727
+ >>> result = thread.get()
1728
+
1729
+ :param async_req bool
1730
+ :param int page_size: Maximum amount of entities in a one page (required)
1731
+ :param int page: Sequence number of page starting from 0 (required)
1732
+ :param str type: A string value representing the edge type. For example, 'default'
1733
+ :param str text_search: The case insensitive 'substring' filter based on the edge name.
1734
+ :param str sort_property: Property of entity to sort by
1735
+ :param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
1736
+ :return: PageDataEdge
1737
+ If the method is called asynchronously,
1738
+ returns the request thread.
1739
+ """
1740
+
1741
+ all_params = ['page_size', 'page', 'type', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
1742
+ all_params.append('async_req')
1743
+ all_params.append('_return_http_data_only')
1744
+ all_params.append('_preload_content')
1745
+ all_params.append('_request_timeout')
1746
+
1747
+ params = locals()
1748
+ for key, val in six.iteritems(params['kwargs']):
1749
+ if key not in all_params:
1750
+ raise TypeError(
1751
+ "Got an unexpected keyword argument '%s'"
1752
+ " to method get_tenant_edges_using_get" % key
1753
+ )
1754
+ params[key] = val
1755
+ del params['kwargs']
1756
+ # verify the required parameter 'page_size' is set
1757
+ if ('page_size' not in params or
1758
+ params['page_size'] is None):
1759
+ raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_edges_using_get`") # noqa: E501
1760
+ # verify the required parameter 'page' is set
1761
+ if ('page' not in params or
1762
+ params['page'] is None):
1763
+ raise ValueError("Missing the required parameter `page` when calling `get_tenant_edges_using_get`") # noqa: E501
1764
+
1765
+ collection_formats = {}
1766
+
1767
+ path_params = {}
1768
+
1769
+ query_params = []
1770
+ if 'page_size' in params:
1771
+ query_params.append(('pageSize', params['page_size'])) # noqa: E501
1772
+ if 'page' in params:
1773
+ query_params.append(('page', params['page'])) # noqa: E501
1774
+ if 'type' in params:
1775
+ query_params.append(('type', params['type'])) # noqa: E501
1776
+ if 'text_search' in params:
1777
+ query_params.append(('textSearch', params['text_search'])) # noqa: E501
1778
+ if 'sort_property' in params:
1779
+ query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
1780
+ if 'sort_order' in params:
1781
+ query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
1782
+
1783
+ header_params = {}
1784
+
1785
+ form_params = []
1786
+ local_var_files = {}
1787
+
1788
+ body_params = None
1789
+ # HTTP header `Accept`
1790
+ header_params['Accept'] = self.api_client.select_header_accept(
1791
+ ['application/json']) # noqa: E501
1792
+
1793
+ # Authentication setting
1794
+ auth_settings = ['X-Authorization'] # noqa: E501
1795
+
1796
+ return self.api_client.call_api(
1797
+ '/api/tenant/edges{?page,pageSize,sortOrder,sortProperty,textSearch,type}', 'GET',
1798
+ path_params,
1799
+ query_params,
1800
+ header_params,
1801
+ body=body_params,
1802
+ post_params=form_params,
1803
+ files=local_var_files,
1804
+ response_type='PageDataEdge', # noqa: E501
1805
+ auth_settings=auth_settings,
1806
+ async_req=params.get('async_req'),
1807
+ _return_http_data_only=params.get('_return_http_data_only'),
1808
+ _preload_content=params.get('_preload_content', True),
1809
+ _request_timeout=params.get('_request_timeout'),
1810
+ collection_formats=collection_formats)
1811
+
1812
+ def is_edge_upgrade_available_using_get(self, edge_id, **kwargs): # noqa: E501
1813
+ """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501
1814
+
1815
+ Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501
1816
+ This method makes a synchronous HTTP request by default. To make an
1817
+ asynchronous HTTP request, please pass async_req=True
1818
+ >>> thread = api.is_edge_upgrade_available_using_get(edge_id, async_req=True)
1819
+ >>> result = thread.get()
1820
+
1821
+ :param async_req bool
1822
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1823
+ :return: bool
1824
+ If the method is called asynchronously,
1825
+ returns the request thread.
1826
+ """
1827
+ kwargs['_return_http_data_only'] = True
1828
+ if kwargs.get('async_req'):
1829
+ return self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
1830
+ else:
1831
+ (data) = self.is_edge_upgrade_available_using_get_with_http_info(edge_id, **kwargs) # noqa: E501
1832
+ return data
1833
+
1834
+ def is_edge_upgrade_available_using_get_with_http_info(self, edge_id, **kwargs): # noqa: E501
1835
+ """Is edge upgrade enabled (isEdgeUpgradeAvailable) # noqa: E501
1836
+
1837
+ Returns 'true' if upgrade available for connected edge, 'false' - otherwise. # noqa: E501
1838
+ This method makes a synchronous HTTP request by default. To make an
1839
+ asynchronous HTTP request, please pass async_req=True
1840
+ >>> thread = api.is_edge_upgrade_available_using_get_with_http_info(edge_id, async_req=True)
1841
+ >>> result = thread.get()
1842
+
1843
+ :param async_req bool
1844
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
1845
+ :return: bool
1846
+ If the method is called asynchronously,
1847
+ returns the request thread.
1848
+ """
1849
+
1850
+ all_params = ['edge_id'] # noqa: E501
1851
+ all_params.append('async_req')
1852
+ all_params.append('_return_http_data_only')
1853
+ all_params.append('_preload_content')
1854
+ all_params.append('_request_timeout')
1855
+
1856
+ params = locals()
1857
+ for key, val in six.iteritems(params['kwargs']):
1858
+ if key not in all_params:
1859
+ raise TypeError(
1860
+ "Got an unexpected keyword argument '%s'"
1861
+ " to method is_edge_upgrade_available_using_get" % key
1862
+ )
1863
+ params[key] = val
1864
+ del params['kwargs']
1865
+ # verify the required parameter 'edge_id' is set
1866
+ if ('edge_id' not in params or
1867
+ params['edge_id'] is None):
1868
+ raise ValueError("Missing the required parameter `edge_id` when calling `is_edge_upgrade_available_using_get`") # noqa: E501
1869
+
1870
+ collection_formats = {}
1871
+
1872
+ path_params = {}
1873
+ if 'edge_id' in params:
1874
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
1875
+
1876
+ query_params = []
1877
+
1878
+ header_params = {}
1879
+
1880
+ form_params = []
1881
+ local_var_files = {}
1882
+
1883
+ body_params = None
1884
+ # HTTP header `Accept`
1885
+ header_params['Accept'] = self.api_client.select_header_accept(
1886
+ ['application/json']) # noqa: E501
1887
+
1888
+ # Authentication setting
1889
+ auth_settings = ['X-Authorization'] # noqa: E501
1890
+
1891
+ return self.api_client.call_api(
1892
+ '/api/edge/{edgeId}/upgrade/available', 'GET',
1893
+ path_params,
1894
+ query_params,
1895
+ header_params,
1896
+ body=body_params,
1897
+ post_params=form_params,
1898
+ files=local_var_files,
1899
+ response_type='bool', # noqa: E501
1900
+ auth_settings=auth_settings,
1901
+ async_req=params.get('async_req'),
1902
+ _return_http_data_only=params.get('_return_http_data_only'),
1903
+ _preload_content=params.get('_preload_content', True),
1904
+ _request_timeout=params.get('_request_timeout'),
1905
+ collection_formats=collection_formats)
1906
+
1907
+ def is_edges_support_enabled_using_get(self, **kwargs): # noqa: E501
1908
+ """Is edges support enabled (isEdgesSupportEnabled) # noqa: E501
1909
+
1910
+ Returns 'true' if edges support enabled on server, 'false' - otherwise. # noqa: E501
1911
+ This method makes a synchronous HTTP request by default. To make an
1912
+ asynchronous HTTP request, please pass async_req=True
1913
+ >>> thread = api.is_edges_support_enabled_using_get(async_req=True)
1914
+ >>> result = thread.get()
1915
+
1916
+ :param async_req bool
1917
+ :return: bool
1918
+ If the method is called asynchronously,
1919
+ returns the request thread.
1920
+ """
1921
+ kwargs['_return_http_data_only'] = True
1922
+ if kwargs.get('async_req'):
1923
+ return self.is_edges_support_enabled_using_get_with_http_info(**kwargs) # noqa: E501
1924
+ else:
1925
+ (data) = self.is_edges_support_enabled_using_get_with_http_info(**kwargs) # noqa: E501
1926
+ return data
1927
+
1928
+ def is_edges_support_enabled_using_get_with_http_info(self, **kwargs): # noqa: E501
1929
+ """Is edges support enabled (isEdgesSupportEnabled) # noqa: E501
1930
+
1931
+ Returns 'true' if edges support enabled on server, 'false' - otherwise. # noqa: E501
1932
+ This method makes a synchronous HTTP request by default. To make an
1933
+ asynchronous HTTP request, please pass async_req=True
1934
+ >>> thread = api.is_edges_support_enabled_using_get_with_http_info(async_req=True)
1935
+ >>> result = thread.get()
1936
+
1937
+ :param async_req bool
1938
+ :return: bool
1939
+ If the method is called asynchronously,
1940
+ returns the request thread.
1941
+ """
1942
+
1943
+ all_params = [] # noqa: E501
1944
+ all_params.append('async_req')
1945
+ all_params.append('_return_http_data_only')
1946
+ all_params.append('_preload_content')
1947
+ all_params.append('_request_timeout')
1948
+
1949
+ params = locals()
1950
+ for key, val in six.iteritems(params['kwargs']):
1951
+ if key not in all_params:
1952
+ raise TypeError(
1953
+ "Got an unexpected keyword argument '%s'"
1954
+ " to method is_edges_support_enabled_using_get" % key
1955
+ )
1956
+ params[key] = val
1957
+ del params['kwargs']
1958
+
1959
+ collection_formats = {}
1960
+
1961
+ path_params = {}
1962
+
1963
+ query_params = []
1964
+
1965
+ header_params = {}
1966
+
1967
+ form_params = []
1968
+ local_var_files = {}
1969
+
1970
+ body_params = None
1971
+ # HTTP header `Accept`
1972
+ header_params['Accept'] = self.api_client.select_header_accept(
1973
+ ['application/json']) # noqa: E501
1974
+
1975
+ # Authentication setting
1976
+ auth_settings = ['X-Authorization'] # noqa: E501
1977
+
1978
+ return self.api_client.call_api(
1979
+ '/api/edges/enabled', 'GET',
1980
+ path_params,
1981
+ query_params,
1982
+ header_params,
1983
+ body=body_params,
1984
+ post_params=form_params,
1985
+ files=local_var_files,
1986
+ response_type='bool', # noqa: E501
1987
+ auth_settings=auth_settings,
1988
+ async_req=params.get('async_req'),
1989
+ _return_http_data_only=params.get('_return_http_data_only'),
1990
+ _preload_content=params.get('_preload_content', True),
1991
+ _request_timeout=params.get('_request_timeout'),
1992
+ collection_formats=collection_formats)
1993
+
1994
+ def process_edges_bulk_import_using_post(self, **kwargs): # noqa: E501
1995
+ """Import the bulk of edges (processEdgesBulkImport) # noqa: E501
1996
+
1997
+ There's an ability to import the bulk of edges using the only .csv file. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
1998
+ This method makes a synchronous HTTP request by default. To make an
1999
+ asynchronous HTTP request, please pass async_req=True
2000
+ >>> thread = api.process_edges_bulk_import_using_post(async_req=True)
2001
+ >>> result = thread.get()
2002
+
2003
+ :param async_req bool
2004
+ :param BulkImportRequest body:
2005
+ :return: BulkImportResultEdge
2006
+ If the method is called asynchronously,
2007
+ returns the request thread.
2008
+ """
2009
+ kwargs['_return_http_data_only'] = True
2010
+ if kwargs.get('async_req'):
2011
+ return self.process_edges_bulk_import_using_post_with_http_info(**kwargs) # noqa: E501
2012
+ else:
2013
+ (data) = self.process_edges_bulk_import_using_post_with_http_info(**kwargs) # noqa: E501
2014
+ return data
2015
+
2016
+ def process_edges_bulk_import_using_post_with_http_info(self, **kwargs): # noqa: E501
2017
+ """Import the bulk of edges (processEdgesBulkImport) # noqa: E501
2018
+
2019
+ There's an ability to import the bulk of edges using the only .csv file. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2020
+ This method makes a synchronous HTTP request by default. To make an
2021
+ asynchronous HTTP request, please pass async_req=True
2022
+ >>> thread = api.process_edges_bulk_import_using_post_with_http_info(async_req=True)
2023
+ >>> result = thread.get()
2024
+
2025
+ :param async_req bool
2026
+ :param BulkImportRequest body:
2027
+ :return: BulkImportResultEdge
2028
+ If the method is called asynchronously,
2029
+ returns the request thread.
2030
+ """
2031
+
2032
+ all_params = ['body'] # noqa: E501
2033
+ all_params.append('async_req')
2034
+ all_params.append('_return_http_data_only')
2035
+ all_params.append('_preload_content')
2036
+ all_params.append('_request_timeout')
2037
+
2038
+ params = locals()
2039
+ for key, val in six.iteritems(params['kwargs']):
2040
+ if key not in all_params:
2041
+ raise TypeError(
2042
+ "Got an unexpected keyword argument '%s'"
2043
+ " to method process_edges_bulk_import_using_post" % key
2044
+ )
2045
+ params[key] = val
2046
+ del params['kwargs']
2047
+
2048
+ collection_formats = {}
2049
+
2050
+ path_params = {}
2051
+
2052
+ query_params = []
2053
+
2054
+ header_params = {}
2055
+
2056
+ form_params = []
2057
+ local_var_files = {}
2058
+
2059
+ body_params = None
2060
+ if 'body' in params:
2061
+ body_params = params['body']
2062
+ # HTTP header `Accept`
2063
+ header_params['Accept'] = self.api_client.select_header_accept(
2064
+ ['application/json']) # noqa: E501
2065
+
2066
+ # HTTP header `Content-Type`
2067
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2068
+ ['application/json']) # noqa: E501
2069
+
2070
+ # Authentication setting
2071
+ auth_settings = ['X-Authorization'] # noqa: E501
2072
+
2073
+ return self.api_client.call_api(
2074
+ '/api/edge/bulk_import', 'POST',
2075
+ path_params,
2076
+ query_params,
2077
+ header_params,
2078
+ body=body_params,
2079
+ post_params=form_params,
2080
+ files=local_var_files,
2081
+ response_type='BulkImportResultEdge', # noqa: E501
2082
+ auth_settings=auth_settings,
2083
+ async_req=params.get('async_req'),
2084
+ _return_http_data_only=params.get('_return_http_data_only'),
2085
+ _preload_content=params.get('_preload_content', True),
2086
+ _request_timeout=params.get('_request_timeout'),
2087
+ collection_formats=collection_formats)
2088
+
2089
+ def save_edge_using_post(self, **kwargs): # noqa: E501
2090
+ """Create Or Update Edge (saveEdge) # noqa: E501
2091
+
2092
+ Create or update the Edge. When creating edge, platform generates Edge Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created edge id will be present in the response. Specify existing Edge id to update the edge. Referencing non-existing Edge Id will cause 'Not Found' error. Edge name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the edge names and non-unique 'label' field for user-friendly visualization purposes.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Edge entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2093
+ This method makes a synchronous HTTP request by default. To make an
2094
+ asynchronous HTTP request, please pass async_req=True
2095
+ >>> thread = api.save_edge_using_post(async_req=True)
2096
+ >>> result = thread.get()
2097
+
2098
+ :param async_req bool
2099
+ :param Edge body:
2100
+ :return: Edge
2101
+ If the method is called asynchronously,
2102
+ returns the request thread.
2103
+ """
2104
+ kwargs['_return_http_data_only'] = True
2105
+ if kwargs.get('async_req'):
2106
+ return self.save_edge_using_post_with_http_info(**kwargs) # noqa: E501
2107
+ else:
2108
+ (data) = self.save_edge_using_post_with_http_info(**kwargs) # noqa: E501
2109
+ return data
2110
+
2111
+ def save_edge_using_post_with_http_info(self, **kwargs): # noqa: E501
2112
+ """Create Or Update Edge (saveEdge) # noqa: E501
2113
+
2114
+ Create or update the Edge. When creating edge, platform generates Edge Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created edge id will be present in the response. Specify existing Edge id to update the edge. Referencing non-existing Edge Id will cause 'Not Found' error. Edge name is unique in the scope of tenant. Use unique identifiers like MAC or IMEI for the edge names and non-unique 'label' field for user-friendly visualization purposes.Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new Edge entity. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2115
+ This method makes a synchronous HTTP request by default. To make an
2116
+ asynchronous HTTP request, please pass async_req=True
2117
+ >>> thread = api.save_edge_using_post_with_http_info(async_req=True)
2118
+ >>> result = thread.get()
2119
+
2120
+ :param async_req bool
2121
+ :param Edge body:
2122
+ :return: Edge
2123
+ If the method is called asynchronously,
2124
+ returns the request thread.
2125
+ """
2126
+
2127
+ all_params = ['body'] # noqa: E501
2128
+ all_params.append('async_req')
2129
+ all_params.append('_return_http_data_only')
2130
+ all_params.append('_preload_content')
2131
+ all_params.append('_request_timeout')
2132
+
2133
+ params = locals()
2134
+ for key, val in six.iteritems(params['kwargs']):
2135
+ if key not in all_params:
2136
+ raise TypeError(
2137
+ "Got an unexpected keyword argument '%s'"
2138
+ " to method save_edge_using_post" % key
2139
+ )
2140
+ params[key] = val
2141
+ del params['kwargs']
2142
+
2143
+ collection_formats = {}
2144
+
2145
+ path_params = {}
2146
+
2147
+ query_params = []
2148
+
2149
+ header_params = {}
2150
+
2151
+ form_params = []
2152
+ local_var_files = {}
2153
+
2154
+ body_params = None
2155
+ if 'body' in params:
2156
+ body_params = params['body']
2157
+ # HTTP header `Accept`
2158
+ header_params['Accept'] = self.api_client.select_header_accept(
2159
+ ['application/json']) # noqa: E501
2160
+
2161
+ # HTTP header `Content-Type`
2162
+ header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
2163
+ ['application/json']) # noqa: E501
2164
+
2165
+ # Authentication setting
2166
+ auth_settings = ['X-Authorization'] # noqa: E501
2167
+
2168
+ return self.api_client.call_api(
2169
+ '/api/edge', 'POST',
2170
+ path_params,
2171
+ query_params,
2172
+ header_params,
2173
+ body=body_params,
2174
+ post_params=form_params,
2175
+ files=local_var_files,
2176
+ response_type='Edge', # noqa: E501
2177
+ auth_settings=auth_settings,
2178
+ async_req=params.get('async_req'),
2179
+ _return_http_data_only=params.get('_return_http_data_only'),
2180
+ _preload_content=params.get('_preload_content', True),
2181
+ _request_timeout=params.get('_request_timeout'),
2182
+ collection_formats=collection_formats)
2183
+
2184
+ def set_edge_root_rule_chain_using_post(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
2185
+ """Set root rule chain for provided edge (setEdgeRootRuleChain) # noqa: E501
2186
+
2187
+ Change root rule chain of the edge to the new provided rule chain. This operation will send a notification to update root rule chain on remote edge service. Available for users with 'TENANT_ADMIN' authority. # 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.set_edge_root_rule_chain_using_post(edge_id, rule_chain_id, async_req=True)
2191
+ >>> result = thread.get()
2192
+
2193
+ :param async_req bool
2194
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2195
+ :param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2196
+ :return: Edge
2197
+ If the method is called asynchronously,
2198
+ returns the request thread.
2199
+ """
2200
+ kwargs['_return_http_data_only'] = True
2201
+ if kwargs.get('async_req'):
2202
+ return self.set_edge_root_rule_chain_using_post_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
2203
+ else:
2204
+ (data) = self.set_edge_root_rule_chain_using_post_with_http_info(edge_id, rule_chain_id, **kwargs) # noqa: E501
2205
+ return data
2206
+
2207
+ def set_edge_root_rule_chain_using_post_with_http_info(self, edge_id, rule_chain_id, **kwargs): # noqa: E501
2208
+ """Set root rule chain for provided edge (setEdgeRootRuleChain) # noqa: E501
2209
+
2210
+ Change root rule chain of the edge to the new provided rule chain. This operation will send a notification to update root rule chain on remote edge service. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2211
+ This method makes a synchronous HTTP request by default. To make an
2212
+ asynchronous HTTP request, please pass async_req=True
2213
+ >>> thread = api.set_edge_root_rule_chain_using_post_with_http_info(edge_id, rule_chain_id, async_req=True)
2214
+ >>> result = thread.get()
2215
+
2216
+ :param async_req bool
2217
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2218
+ :param str rule_chain_id: A string value representing the rule chain id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2219
+ :return: Edge
2220
+ If the method is called asynchronously,
2221
+ returns the request thread.
2222
+ """
2223
+
2224
+ all_params = ['edge_id', 'rule_chain_id'] # noqa: E501
2225
+ all_params.append('async_req')
2226
+ all_params.append('_return_http_data_only')
2227
+ all_params.append('_preload_content')
2228
+ all_params.append('_request_timeout')
2229
+
2230
+ params = locals()
2231
+ for key, val in six.iteritems(params['kwargs']):
2232
+ if key not in all_params:
2233
+ raise TypeError(
2234
+ "Got an unexpected keyword argument '%s'"
2235
+ " to method set_edge_root_rule_chain_using_post" % key
2236
+ )
2237
+ params[key] = val
2238
+ del params['kwargs']
2239
+ # verify the required parameter 'edge_id' is set
2240
+ if ('edge_id' not in params or
2241
+ params['edge_id'] is None):
2242
+ raise ValueError("Missing the required parameter `edge_id` when calling `set_edge_root_rule_chain_using_post`") # noqa: E501
2243
+ # verify the required parameter 'rule_chain_id' is set
2244
+ if ('rule_chain_id' not in params or
2245
+ params['rule_chain_id'] is None):
2246
+ raise ValueError("Missing the required parameter `rule_chain_id` when calling `set_edge_root_rule_chain_using_post`") # noqa: E501
2247
+
2248
+ collection_formats = {}
2249
+
2250
+ path_params = {}
2251
+ if 'edge_id' in params:
2252
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
2253
+ if 'rule_chain_id' in params:
2254
+ path_params['ruleChainId'] = params['rule_chain_id'] # noqa: E501
2255
+
2256
+ query_params = []
2257
+
2258
+ header_params = {}
2259
+
2260
+ form_params = []
2261
+ local_var_files = {}
2262
+
2263
+ body_params = None
2264
+ # HTTP header `Accept`
2265
+ header_params['Accept'] = self.api_client.select_header_accept(
2266
+ ['application/json']) # noqa: E501
2267
+
2268
+ # Authentication setting
2269
+ auth_settings = ['X-Authorization'] # noqa: E501
2270
+
2271
+ return self.api_client.call_api(
2272
+ '/api/edge/{edgeId}/{ruleChainId}/root', 'POST',
2273
+ path_params,
2274
+ query_params,
2275
+ header_params,
2276
+ body=body_params,
2277
+ post_params=form_params,
2278
+ files=local_var_files,
2279
+ response_type='Edge', # noqa: E501
2280
+ auth_settings=auth_settings,
2281
+ async_req=params.get('async_req'),
2282
+ _return_http_data_only=params.get('_return_http_data_only'),
2283
+ _preload_content=params.get('_preload_content', True),
2284
+ _request_timeout=params.get('_request_timeout'),
2285
+ collection_formats=collection_formats)
2286
+
2287
+ def sync_edge_using_post(self, edge_id, **kwargs): # noqa: E501
2288
+ """Sync edge (syncEdge) # noqa: E501
2289
+
2290
+ Starts synchronization process between edge and cloud. All entities that are assigned to particular edge are going to be send to remote edge service. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2291
+ This method makes a synchronous HTTP request by default. To make an
2292
+ asynchronous HTTP request, please pass async_req=True
2293
+ >>> thread = api.sync_edge_using_post(edge_id, async_req=True)
2294
+ >>> result = thread.get()
2295
+
2296
+ :param async_req bool
2297
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2298
+ :return: DeferredResultResponseEntity
2299
+ If the method is called asynchronously,
2300
+ returns the request thread.
2301
+ """
2302
+ kwargs['_return_http_data_only'] = True
2303
+ if kwargs.get('async_req'):
2304
+ return self.sync_edge_using_post_with_http_info(edge_id, **kwargs) # noqa: E501
2305
+ else:
2306
+ (data) = self.sync_edge_using_post_with_http_info(edge_id, **kwargs) # noqa: E501
2307
+ return data
2308
+
2309
+ def sync_edge_using_post_with_http_info(self, edge_id, **kwargs): # noqa: E501
2310
+ """Sync edge (syncEdge) # noqa: E501
2311
+
2312
+ Starts synchronization process between edge and cloud. All entities that are assigned to particular edge are going to be send to remote edge service. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2313
+ This method makes a synchronous HTTP request by default. To make an
2314
+ asynchronous HTTP request, please pass async_req=True
2315
+ >>> thread = api.sync_edge_using_post_with_http_info(edge_id, async_req=True)
2316
+ >>> result = thread.get()
2317
+
2318
+ :param async_req bool
2319
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2320
+ :return: DeferredResultResponseEntity
2321
+ If the method is called asynchronously,
2322
+ returns the request thread.
2323
+ """
2324
+
2325
+ all_params = ['edge_id'] # noqa: E501
2326
+ all_params.append('async_req')
2327
+ all_params.append('_return_http_data_only')
2328
+ all_params.append('_preload_content')
2329
+ all_params.append('_request_timeout')
2330
+
2331
+ params = locals()
2332
+ for key, val in six.iteritems(params['kwargs']):
2333
+ if key not in all_params:
2334
+ raise TypeError(
2335
+ "Got an unexpected keyword argument '%s'"
2336
+ " to method sync_edge_using_post" % key
2337
+ )
2338
+ params[key] = val
2339
+ del params['kwargs']
2340
+ # verify the required parameter 'edge_id' is set
2341
+ if ('edge_id' not in params or
2342
+ params['edge_id'] is None):
2343
+ raise ValueError("Missing the required parameter `edge_id` when calling `sync_edge_using_post`") # noqa: E501
2344
+
2345
+ collection_formats = {}
2346
+
2347
+ path_params = {}
2348
+ if 'edge_id' in params:
2349
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
2350
+
2351
+ query_params = []
2352
+
2353
+ header_params = {}
2354
+
2355
+ form_params = []
2356
+ local_var_files = {}
2357
+
2358
+ body_params = None
2359
+ # HTTP header `Accept`
2360
+ header_params['Accept'] = self.api_client.select_header_accept(
2361
+ ['application/json']) # noqa: E501
2362
+
2363
+ # Authentication setting
2364
+ auth_settings = ['X-Authorization'] # noqa: E501
2365
+
2366
+ return self.api_client.call_api(
2367
+ '/api/edge/sync/{edgeId}', 'POST',
2368
+ path_params,
2369
+ query_params,
2370
+ header_params,
2371
+ body=body_params,
2372
+ post_params=form_params,
2373
+ files=local_var_files,
2374
+ response_type='DeferredResultResponseEntity', # noqa: E501
2375
+ auth_settings=auth_settings,
2376
+ async_req=params.get('async_req'),
2377
+ _return_http_data_only=params.get('_return_http_data_only'),
2378
+ _preload_content=params.get('_preload_content', True),
2379
+ _request_timeout=params.get('_request_timeout'),
2380
+ collection_formats=collection_formats)
2381
+
2382
+ def unassign_edge_from_customer_using_delete(self, edge_id, **kwargs): # noqa: E501
2383
+ """Unassign edge from customer (unassignEdgeFromCustomer) # noqa: E501
2384
+
2385
+ Clears assignment of the edge to customer. Customer will not be able to query edge afterwards. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2386
+ This method makes a synchronous HTTP request by default. To make an
2387
+ asynchronous HTTP request, please pass async_req=True
2388
+ >>> thread = api.unassign_edge_from_customer_using_delete(edge_id, async_req=True)
2389
+ >>> result = thread.get()
2390
+
2391
+ :param async_req bool
2392
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2393
+ :return: Edge
2394
+ If the method is called asynchronously,
2395
+ returns the request thread.
2396
+ """
2397
+ kwargs['_return_http_data_only'] = True
2398
+ if kwargs.get('async_req'):
2399
+ return self.unassign_edge_from_customer_using_delete_with_http_info(edge_id, **kwargs) # noqa: E501
2400
+ else:
2401
+ (data) = self.unassign_edge_from_customer_using_delete_with_http_info(edge_id, **kwargs) # noqa: E501
2402
+ return data
2403
+
2404
+ def unassign_edge_from_customer_using_delete_with_http_info(self, edge_id, **kwargs): # noqa: E501
2405
+ """Unassign edge from customer (unassignEdgeFromCustomer) # noqa: E501
2406
+
2407
+ Clears assignment of the edge to customer. Customer will not be able to query edge afterwards. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
2408
+ This method makes a synchronous HTTP request by default. To make an
2409
+ asynchronous HTTP request, please pass async_req=True
2410
+ >>> thread = api.unassign_edge_from_customer_using_delete_with_http_info(edge_id, async_req=True)
2411
+ >>> result = thread.get()
2412
+
2413
+ :param async_req bool
2414
+ :param str edge_id: A string value representing the edge id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
2415
+ :return: Edge
2416
+ If the method is called asynchronously,
2417
+ returns the request thread.
2418
+ """
2419
+
2420
+ all_params = ['edge_id'] # noqa: E501
2421
+ all_params.append('async_req')
2422
+ all_params.append('_return_http_data_only')
2423
+ all_params.append('_preload_content')
2424
+ all_params.append('_request_timeout')
2425
+
2426
+ params = locals()
2427
+ for key, val in six.iteritems(params['kwargs']):
2428
+ if key not in all_params:
2429
+ raise TypeError(
2430
+ "Got an unexpected keyword argument '%s'"
2431
+ " to method unassign_edge_from_customer_using_delete" % key
2432
+ )
2433
+ params[key] = val
2434
+ del params['kwargs']
2435
+ # verify the required parameter 'edge_id' is set
2436
+ if ('edge_id' not in params or
2437
+ params['edge_id'] is None):
2438
+ raise ValueError("Missing the required parameter `edge_id` when calling `unassign_edge_from_customer_using_delete`") # noqa: E501
2439
+
2440
+ collection_formats = {}
2441
+
2442
+ path_params = {}
2443
+ if 'edge_id' in params:
2444
+ path_params['edgeId'] = params['edge_id'] # noqa: E501
2445
+
2446
+ query_params = []
2447
+
2448
+ header_params = {}
2449
+
2450
+ form_params = []
2451
+ local_var_files = {}
2452
+
2453
+ body_params = None
2454
+ # HTTP header `Accept`
2455
+ header_params['Accept'] = self.api_client.select_header_accept(
2456
+ ['application/json']) # noqa: E501
2457
+
2458
+ # Authentication setting
2459
+ auth_settings = ['X-Authorization'] # noqa: E501
2460
+
2461
+ return self.api_client.call_api(
2462
+ '/api/customer/edge/{edgeId}', 'DELETE',
2463
+ path_params,
2464
+ query_params,
2465
+ header_params,
2466
+ body=body_params,
2467
+ post_params=form_params,
2468
+ files=local_var_files,
2469
+ response_type='Edge', # noqa: E501
2470
+ auth_settings=auth_settings,
2471
+ async_req=params.get('async_req'),
2472
+ _return_http_data_only=params.get('_return_http_data_only'),
2473
+ _preload_content=params.get('_preload_content', True),
2474
+ _request_timeout=params.get('_request_timeout'),
2475
+ collection_formats=collection_formats)