tb-rest-client 3.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +66 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
- tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
- tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
- tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
- tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
- tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
- tb_rest_client/api/api_ce/domain_controller_api.py +563 -0
- tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
- tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
- tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
- tb_rest_client/api/api_ce/event_controller_api.py +623 -0
- tb_rest_client/api/api_ce/image_controller_api.py +1295 -0
- tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_ce/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +563 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +508 -0
- tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
- tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
- tb_rest_client/api/api_ce/qr_code_settings_controller_api.py +508 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +352 -0
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_ce/rule_engine_controller_api.py +515 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
- tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
- tb_rest_client/api/api_pe/__init__.py +67 -0
- tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
- tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
- tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
- tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
- tb_rest_client/api/api_pe/converter_library_controller_api.py +915 -0
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
- tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
- tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
- tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
- tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
- tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
- tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
- tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
- tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
- tb_rest_client/api/api_pe/event_controller_api.py +623 -0
- tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
- tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
- tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
- tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
- tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_pe/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
- tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
- tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
- tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
- tb_rest_client/api/api_pe/qr_code_settings_controller_api.py +595 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
- tb_rest_client/api/api_pe/report_controller_api.py +245 -0
- tb_rest_client/api/api_pe/role_controller_api.py +546 -0
- tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
- tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
- tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
- tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
- tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
- tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
- tb_rest_client/api_client.py +705 -0
- tb_rest_client/configuration.py +234 -0
- tb_rest_client/models/__init__.py +14 -0
- tb_rest_client/models/models_ce/__init__.py +493 -0
- tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
- tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_ce/activate_user_request.py +154 -0
- tb_rest_client/models/models_ce/admin_settings.py +232 -0
- tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
- tb_rest_client/models/models_ce/alarm.py +707 -0
- tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
- tb_rest_client/models/models_ce/alarm_comment.py +292 -0
- tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_ce/alarm_condition.py +154 -0
- tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
- tb_rest_client/models/models_ce/alarm_data.py +855 -0
- tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
- tb_rest_client/models/models_ce/alarm_id.py +162 -0
- tb_rest_client/models/models_ce/alarm_info.py +803 -0
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_ce/alarm_rule.py +206 -0
- tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
- tb_rest_client/models/models_ce/all_users_filter.py +104 -0
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/android_config.py +202 -0
- tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
- tb_rest_client/models/models_ce/api_image_body.py +177 -0
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_ce/asset.py +367 -0
- tb_rest_client/models/models_ce/asset_id.py +162 -0
- tb_rest_client/models/models_ce/asset_info.py +451 -0
- tb_rest_client/models/models_ce/asset_profile.py +422 -0
- tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
- tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
- tb_rest_client/models/models_ce/asset_search_query.py +180 -0
- tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
- tb_rest_client/models/models_ce/atomic_integer.py +228 -0
- tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
- tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_ce/audit_log.py +434 -0
- tb_rest_client/models/models_ce/audit_log_id.py +127 -0
- tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
- tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/branch_info.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
- tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_ce/button.py +286 -0
- tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
- tb_rest_client/models/models_ce/byte_buffer.py +306 -0
- tb_rest_client/models/models_ce/change_password_request.py +154 -0
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/claim_request.py +124 -0
- tb_rest_client/models/models_ce/clear_rule.py +131 -0
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/column_mapping.py +156 -0
- tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_ce/component_descriptor.py +420 -0
- tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_ce/config_submit_body.py +98 -0
- tb_rest_client/models/models_ce/custom_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_ce/customer.py +510 -0
- tb_rest_client/models/models_ce/customer_id.py +162 -0
- tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
- tb_rest_client/models/models_ce/dashboard.py +399 -0
- tb_rest_client/models/models_ce/dashboard_id.py +162 -0
- tb_rest_client/models/models_ce/dashboard_info.py +373 -0
- tb_rest_client/models/models_ce/dashboard_page.py +98 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
- tb_rest_client/models/models_ce/debug_settings.py +182 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
- tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_ce/device.py +446 -0
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_ce/device_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_credentials.py +293 -0
- tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
- tb_rest_client/models/models_ce/device_data.py +154 -0
- tb_rest_client/models/models_ce/device_export_data.py +156 -0
- tb_rest_client/models/models_ce/device_id.py +162 -0
- tb_rest_client/models/models_ce/device_info.py +558 -0
- tb_rest_client/models/models_ce/device_profile.py +630 -0
- tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
- tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_profile_data.py +210 -0
- tb_rest_client/models/models_ce/device_profile_id.py +162 -0
- tb_rest_client/models/models_ce/device_profile_info.py +300 -0
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_search_query.py +180 -0
- tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_type_filter.py +182 -0
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/domain.py +247 -0
- tb_rest_client/models/models_ce/domain_id.py +146 -0
- tb_rest_client/models/models_ce/domain_info.py +275 -0
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
- tb_rest_client/models/models_ce/edge.py +426 -0
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/edge_event.py +370 -0
- tb_rest_client/models/models_ce/edge_event_id.py +127 -0
- tb_rest_client/models/models_ce/edge_id.py +162 -0
- tb_rest_client/models/models_ce/edge_info.py +478 -0
- tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_search_query.py +180 -0
- tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_ce/entity_count_query.py +150 -0
- tb_rest_client/models/models_ce/entity_data.py +202 -0
- tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/entity_data_info.py +176 -0
- tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_ce/entity_data_query.py +228 -0
- tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
- tb_rest_client/models/models_ce/entity_filter.py +134 -0
- tb_rest_client/models/models_ce/entity_id.py +160 -0
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_info.py +152 -0
- tb_rest_client/models/models_ce/entity_key.py +156 -0
- tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_load_error.py +202 -0
- tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_relation.py +264 -0
- tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
- tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
- tb_rest_client/models/models_ce/entity_subtype.py +182 -0
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
- tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/entity_version.py +202 -0
- tb_rest_client/models/models_ce/entity_view.py +423 -0
- tb_rest_client/models/models_ce/entity_view_id.py +162 -0
- tb_rest_client/models/models_ce/entity_view_info.py +479 -0
- tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_ce/error_event_filter.py +188 -0
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_ce/event.py +286 -0
- tb_rest_client/models/models_ce/event_filter.py +171 -0
- tb_rest_client/models/models_ce/event_id.py +127 -0
- tb_rest_client/models/models_ce/event_info.py +286 -0
- tb_rest_client/models/models_ce/features_info.py +228 -0
- tb_rest_client/models/models_ce/file.py +488 -0
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
- tb_rest_client/models/models_ce/has_id_object.py +124 -0
- tb_rest_client/models/models_ce/home_dashboard.py +427 -0
- tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
- tb_rest_client/models/models_ce/image_export_data.py +332 -0
- tb_rest_client/models/models_ce/inline_response200.py +99 -0
- tb_rest_client/models/models_ce/input_stream.py +98 -0
- tb_rest_client/models/models_ce/ios_config.py +176 -0
- tb_rest_client/models/models_ce/json_node.py +98 -0
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_ce/jwt_pair.py +186 -0
- tb_rest_client/models/models_ce/jwt_settings.py +210 -0
- tb_rest_client/models/models_ce/key_filter.py +182 -0
- tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_ce/login_mobile_info.py +176 -0
- tb_rest_client/models/models_ce/login_request.py +156 -0
- tb_rest_client/models/models_ce/login_response.py +156 -0
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/mapping.py +202 -0
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
- tb_rest_client/models/models_ce/mobile_app.py +290 -0
- tb_rest_client/models/models_ce/mobile_app_bundle.py +375 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_id.py +154 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_info.py +487 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
- tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
- tb_rest_client/models/models_ce/mobile_app_version_info.py +210 -0
- tb_rest_client/models/models_ce/mobile_layout_config.py +126 -0
- tb_rest_client/models/models_ce/mobile_page.py +158 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/node_connection_info.py +185 -0
- tb_rest_client/models/models_ce/notification.py +402 -0
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_ce/notification_id.py +162 -0
- tb_rest_client/models/models_ce/notification_info.py +185 -0
- tb_rest_client/models/models_ce/notification_pref.py +151 -0
- tb_rest_client/models/models_ce/notification_request.py +417 -0
- tb_rest_client/models/models_ce/notification_request_config.py +124 -0
- tb_rest_client/models/models_ce/notification_request_id.py +162 -0
- tb_rest_client/models/models_ce/notification_request_info.py +476 -0
- tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
- tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
- tb_rest_client/models/models_ce/notification_rule.py +369 -0
- tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
- tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
- tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
- tb_rest_client/models/models_ce/notification_settings.py +125 -0
- tb_rest_client/models/models_ce/notification_target.py +230 -0
- tb_rest_client/models/models_ce/notification_target_config.py +148 -0
- tb_rest_client/models/models_ce/notification_target_id.py +162 -0
- tb_rest_client/models/models_ce/notification_template.py +263 -0
- tb_rest_client/models/models_ce/notification_template_config.py +125 -0
- tb_rest_client/models/models_ce/notification_template_id.py +162 -0
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
- tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
- tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
- tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_ce/object_attributes.py +410 -0
- tb_rest_client/models/models_ce/object_node.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_ce/ota_package.py +576 -0
- tb_rest_client/models/models_ce/ota_package_data.py +306 -0
- tb_rest_client/models/models_ce/ota_package_id.py +162 -0
- tb_rest_client/models/models_ce/ota_package_info.py +550 -0
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
- tb_rest_client/models/models_ce/other_configuration.py +364 -0
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +210 -0
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_bundle_info.py +196 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
- tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
- tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_user.py +210 -0
- tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_ce/processing_strategy.py +234 -0
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/qr_code_config.py +234 -0
- tb_rest_client/models/models_ce/qr_code_settings.py +399 -0
- tb_rest_client/models/models_ce/qr_code_settings_id.py +127 -0
- tb_rest_client/models/models_ce/queue.py +410 -0
- tb_rest_client/models/models_ce/queue_id.py +162 -0
- tb_rest_client/models/models_ce/queue_stats.py +228 -0
- tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
- tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_ce/repository_settings.py +390 -0
- tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
- tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_ce/reset_password_request.py +154 -0
- tb_rest_client/models/models_ce/resource.py +306 -0
- tb_rest_client/models/models_ce/resource_export_data.py +384 -0
- tb_rest_client/models/models_ce/response_entity.py +182 -0
- tb_rest_client/models/models_ce/rpc.py +344 -0
- tb_rest_client/models/models_ce/rpc_id.py +162 -0
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/rule_chain.py +402 -0
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
- tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_ce/rule_node.py +424 -0
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_ce/rule_node_id.py +162 -0
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_ce/security_settings.py +266 -0
- tb_rest_client/models/models_ce/server_security_config.py +332 -0
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/short_customer_info.py +204 -0
- tb_rest_client/models/models_ce/sign_up_request.py +294 -0
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/slack_conversation.py +263 -0
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
- tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_ce/store_info.py +176 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_ce/submit_strategy.py +156 -0
- tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/system_info.py +152 -0
- tb_rest_client/models/models_ce/system_info_data.py +322 -0
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
- tb_rest_client/models/models_ce/tb_resource.py +568 -0
- tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
- tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
- tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/tenant.py +539 -0
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_ce/tenant_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_info.py +567 -0
- tb_rest_client/models/models_ce/tenant_profile.py +288 -0
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_ce/test_sms_request.py +182 -0
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/ts_value.py +176 -0
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_ce/type_key_body.py +125 -0
- tb_rest_client/models/models_ce/update_message.py +266 -0
- tb_rest_client/models/models_ce/usage_info.py +696 -0
- tb_rest_client/models/models_ce/user.py +432 -0
- tb_rest_client/models/models_ce/user_activation_link.py +150 -0
- tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_ce/user_email_info.py +208 -0
- tb_rest_client/models/models_ce/user_id.py +162 -0
- tb_rest_client/models/models_ce/user_list_filter.py +131 -0
- tb_rest_client/models/models_ce/user_mobile_info.py +228 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
- tb_rest_client/models/models_ce/user_password_policy.py +378 -0
- tb_rest_client/models/models_ce/users_filter.py +140 -0
- tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
- tb_rest_client/models/models_ce/vc_version_body.py +98 -0
- tb_rest_client/models/models_ce/version.py +98 -0
- tb_rest_client/models/models_ce/version_create_config.py +176 -0
- tb_rest_client/models/models_ce/version_create_request.py +191 -0
- tb_rest_client/models/models_ce/version_creation_result.py +254 -0
- tb_rest_client/models/models_ce/version_load_config.py +176 -0
- tb_rest_client/models/models_ce/version_load_request.py +165 -0
- tb_rest_client/models/models_ce/version_load_result.py +176 -0
- tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/web_view_page.py +98 -0
- tb_rest_client/models/models_ce/widget_type.py +342 -0
- tb_rest_client/models/models_ce/widget_type_details.py +426 -0
- tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_ce/widget_type_id.py +162 -0
- tb_rest_client/models/models_ce/widget_type_info.py +428 -0
- tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/__init__.py +413 -0
- tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_pe/activate_user_request.py +154 -0
- tb_rest_client/models/models_pe/admin_settings.py +232 -0
- tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
- tb_rest_client/models/models_pe/alarm.py +749 -0
- tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
- tb_rest_client/models/models_pe/alarm_comment.py +292 -0
- tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_pe/alarm_condition.py +154 -0
- tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
- tb_rest_client/models/models_pe/alarm_data.py +883 -0
- tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
- tb_rest_client/models/models_pe/alarm_id.py +162 -0
- tb_rest_client/models/models_pe/alarm_info.py +831 -0
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_pe/alarm_rule.py +206 -0
- tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
- tb_rest_client/models/models_pe/all_users_filter.py +104 -0
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
- tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_pe/array_node.py +98 -0
- tb_rest_client/models/models_pe/asset.py +393 -0
- tb_rest_client/models/models_pe/asset_id.py +162 -0
- tb_rest_client/models/models_pe/asset_info.py +449 -0
- tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
- tb_rest_client/models/models_pe/asset_search_query.py +180 -0
- tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
- tb_rest_client/models/models_pe/atomic_integer.py +228 -0
- tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
- tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_pe/audit_log.py +434 -0
- tb_rest_client/models/models_pe/audit_log_id.py +127 -0
- tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
- tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/branch_info.py +150 -0
- tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_pe/byte_buffer.py +306 -0
- tb_rest_client/models/models_pe/captcha_params.py +132 -0
- tb_rest_client/models/models_pe/change_password_request.py +154 -0
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/claim_request.py +124 -0
- tb_rest_client/models/models_pe/clear_rule.py +131 -0
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/column_mapping.py +156 -0
- tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_pe/component_descriptor.py +420 -0
- tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_pe/contact_based_object.py +410 -0
- tb_rest_client/models/models_pe/converter.py +376 -0
- tb_rest_client/models/models_pe/converter_id.py +162 -0
- tb_rest_client/models/models_pe/converters_info.py +136 -0
- tb_rest_client/models/models_pe/custom_menu.py +327 -0
- tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
- tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
- tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
- tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_pe/custom_translation.py +127 -0
- tb_rest_client/models/models_pe/customer_id.py +162 -0
- tb_rest_client/models/models_pe/customer_info.py +672 -0
- tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
- tb_rest_client/models/models_pe/dashboard_id.py +162 -0
- tb_rest_client/models/models_pe/dashboard_info.py +506 -0
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_pe/default_dashboard_params.py +154 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_menu_item.py +230 -0
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
- tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_pe/device.py +471 -0
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_pe/device_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
- tb_rest_client/models/models_pe/device_data.py +154 -0
- tb_rest_client/models/models_pe/device_export_data.py +156 -0
- tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
- tb_rest_client/models/models_pe/device_id.py +162 -0
- tb_rest_client/models/models_pe/device_info.py +555 -0
- tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
- tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_profile_data.py +210 -0
- tb_rest_client/models/models_pe/device_profile_id.py +162 -0
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_search_query.py +180 -0
- tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_type_filter.py +182 -0
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_pe/edge.py +510 -0
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/edge_event.py +396 -0
- tb_rest_client/models/models_pe/edge_event_id.py +127 -0
- tb_rest_client/models/models_pe/edge_id.py +162 -0
- tb_rest_client/models/models_pe/edge_info.py +566 -0
- tb_rest_client/models/models_pe/edge_instructions.py +126 -0
- tb_rest_client/models/models_pe/edge_search_query.py +180 -0
- tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/enterprise_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_pe/entity_count_query.py +150 -0
- tb_rest_client/models/models_pe/entity_data.py +254 -0
- tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/entity_data_info.py +228 -0
- tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_pe/entity_data_query.py +228 -0
- tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_pe/entity_export_data_object.py +210 -0
- tb_rest_client/models/models_pe/entity_filter.py +152 -0
- tb_rest_client/models/models_pe/entity_group.py +400 -0
- tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
- tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_id.py +162 -0
- tb_rest_client/models/models_pe/entity_group_info.py +429 -0
- tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_id.py +160 -0
- tb_rest_client/models/models_pe/entity_key.py +156 -0
- tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_load_error.py +202 -0
- tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
- tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
- tb_rest_client/models/models_pe/entity_subtype.py +182 -0
- tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
- tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_pe/entity_version.py +202 -0
- tb_rest_client/models/models_pe/entity_view.py +449 -0
- tb_rest_client/models/models_pe/entity_view_id.py +162 -0
- tb_rest_client/models/models_pe/entity_view_info.py +505 -0
- tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_pe/error_event_filter.py +188 -0
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_pe/event_filter.py +174 -0
- tb_rest_client/models/models_pe/event_id.py +127 -0
- tb_rest_client/models/models_pe/event_info.py +286 -0
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
- tb_rest_client/models/models_pe/favicon.py +124 -0
- tb_rest_client/models/models_pe/features_info.py +254 -0
- tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
- tb_rest_client/models/models_pe/group_permission.py +370 -0
- tb_rest_client/models/models_pe/group_permission_id.py +162 -0
- tb_rest_client/models/models_pe/group_permission_info.py +560 -0
- tb_rest_client/models/models_pe/home_dashboard.py +478 -0
- tb_rest_client/models/models_pe/home_menu_item.py +320 -0
- tb_rest_client/models/models_pe/input_stream.py +98 -0
- tb_rest_client/models/models_pe/integration.py +571 -0
- tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
- tb_rest_client/models/models_pe/integration_id.py +162 -0
- tb_rest_client/models/models_pe/integration_info.py +460 -0
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
- tb_rest_client/models/models_pe/json_node.py +98 -0
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_pe/key_filter.py +182 -0
- tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_pe/license_usage_info.py +332 -0
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
- tb_rest_client/models/models_pe/login_request.py +156 -0
- tb_rest_client/models/models_pe/login_response.py +156 -0
- tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/mapping.py +202 -0
- tb_rest_client/models/models_pe/menu_item.py +152 -0
- tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
- tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
- tb_rest_client/models/models_pe/mobile_redirect_params.py +154 -0
- tb_rest_client/models/models_pe/mobile_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
- tb_rest_client/models/models_pe/model.py +162 -0
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/node_connection_info.py +185 -0
- tb_rest_client/models/models_pe/notification.py +402 -0
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_pe/notification_id.py +162 -0
- tb_rest_client/models/models_pe/notification_info.py +185 -0
- tb_rest_client/models/models_pe/notification_request.py +417 -0
- tb_rest_client/models/models_pe/notification_request_config.py +124 -0
- tb_rest_client/models/models_pe/notification_request_id.py +162 -0
- tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
- tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
- tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
- tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_pe/notification_rule_trigger_config.py +135 -0
- tb_rest_client/models/models_pe/notification_template_config.py +125 -0
- tb_rest_client/models/models_pe/notification_template_id.py +162 -0
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
- tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_pe/object_attributes.py +410 -0
- tb_rest_client/models/models_pe/object_node.py +98 -0
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_pe/ota_package.py +576 -0
- tb_rest_client/models/models_pe/ota_package_id.py +162 -0
- tb_rest_client/models/models_pe/ota_package_info.py +550 -0
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
- tb_rest_client/models/models_pe/other_configuration.py +364 -0
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
- tb_rest_client/models/models_pe/page_data_converter.py +210 -0
- tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_queue.py +210 -0
- tb_rest_client/models/models_pe/page_data_role.py +210 -0
- tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
- tb_rest_client/models/models_pe/palette.py +183 -0
- tb_rest_client/models/models_pe/palette_settings.py +152 -0
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_pe/processing_strategy.py +234 -0
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/queue.py +410 -0
- tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
- tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_pe/report_config.py +381 -0
- tb_rest_client/models/models_pe/repository_settings.py +390 -0
- tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
- tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_pe/reset_password_request.py +154 -0
- tb_rest_client/models/models_pe/resource.py +306 -0
- tb_rest_client/models/models_pe/response_entity.py +182 -0
- tb_rest_client/models/models_pe/role.py +371 -0
- tb_rest_client/models/models_pe/role_id.py +162 -0
- tb_rest_client/models/models_pe/rpc.py +344 -0
- tb_rest_client/models/models_pe/rpc_id.py +162 -0
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/rule_chain.py +402 -0
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
- tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_pe/rule_node.py +424 -0
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_pe/rule_node_id.py +162 -0
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_pe/scheduler_event.py +444 -0
- tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
- tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
- tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
- tb_rest_client/models/models_pe/security_settings.py +266 -0
- tb_rest_client/models/models_pe/self_registration_params.py +630 -0
- tb_rest_client/models/models_pe/share_group_request.py +235 -0
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/short_customer_info.py +204 -0
- tb_rest_client/models/models_pe/short_entity_view.py +154 -0
- tb_rest_client/models/models_pe/sign_up_field.py +184 -0
- tb_rest_client/models/models_pe/sign_up_request.py +294 -0
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
- tb_rest_client/models/models_pe/slack_conversation.py +263 -0
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
- tb_rest_client/models/models_pe/solution_install_response.py +260 -0
- tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
- tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_pe/submit_strategy.py +156 -0
- tb_rest_client/models/models_pe/subscription_usage.py +540 -0
- tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/system_info.py +152 -0
- tb_rest_client/models/models_pe/system_info_data.py +322 -0
- tb_rest_client/models/models_pe/task_processing_failure_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
- tb_rest_client/models/models_pe/tb_resource.py +594 -0
- tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
- tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
- tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
- tb_rest_client/models/models_pe/test_sms_request.py +182 -0
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_pe/translation_info.py +238 -0
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/ts_value.py +176 -0
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_pe/update_message.py +266 -0
- tb_rest_client/models/models_pe/user.py +484 -0
- tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_pe/user_email_info.py +208 -0
- tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_id.py +162 -0
- tb_rest_client/models/models_pe/user_info.py +540 -0
- tb_rest_client/models/models_pe/user_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_password_policy.py +378 -0
- tb_rest_client/models/models_pe/user_role_filter.py +131 -0
- tb_rest_client/models/models_pe/users_filter.py +142 -0
- tb_rest_client/models/models_pe/v2_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/v3_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/vendor.py +150 -0
- tb_rest_client/models/models_pe/version_create_config.py +228 -0
- tb_rest_client/models/models_pe/version_create_request.py +191 -0
- tb_rest_client/models/models_pe/version_creation_result.py +254 -0
- tb_rest_client/models/models_pe/version_load_config.py +254 -0
- tb_rest_client/models/models_pe/version_load_request.py +165 -0
- tb_rest_client/models/models_pe/version_load_result.py +176 -0
- tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/web_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/white_labeling.py +234 -0
- tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
- tb_rest_client/models/models_pe/widget_type.py +342 -0
- tb_rest_client/models/models_pe/widget_type_details.py +426 -0
- tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_pe/widget_type_id.py +162 -0
- tb_rest_client/models/models_pe/widget_type_info.py +428 -0
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/rest.py +342 -0
- tb_rest_client/rest_client_base.py +2193 -0
- tb_rest_client/rest_client_ce.py +1284 -0
- tb_rest_client/rest_client_pe.py +1910 -0
- tb_rest_client-3.9.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.9.0.dist-info/METADATA +80 -0
- tb_rest_client-3.9.0.dist-info/RECORD +1111 -0
- tb_rest_client-3.9.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1295 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.9.0
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2025. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class ImageControllerApi(object):
|
|
38
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None):
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
def delete_image_using_delete(self, type, key, **kwargs): # noqa: E501
|
|
50
|
+
"""deleteImage # noqa: E501
|
|
51
|
+
|
|
52
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
53
|
+
asynchronous HTTP request, please pass async_req=True
|
|
54
|
+
>>> thread = api.delete_image_using_delete(type, key, async_req=True)
|
|
55
|
+
>>> result = thread.get()
|
|
56
|
+
|
|
57
|
+
:param async_req bool
|
|
58
|
+
:param str type: Type of the image: tenant or system (required)
|
|
59
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
60
|
+
:param bool force: force
|
|
61
|
+
:return: TbImageDeleteResult
|
|
62
|
+
If the method is called asynchronously,
|
|
63
|
+
returns the request thread.
|
|
64
|
+
"""
|
|
65
|
+
kwargs['_return_http_data_only'] = True
|
|
66
|
+
if kwargs.get('async_req'):
|
|
67
|
+
return self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501
|
|
68
|
+
else:
|
|
69
|
+
(data) = self.delete_image_using_delete_with_http_info(type, key, **kwargs) # noqa: E501
|
|
70
|
+
return data
|
|
71
|
+
|
|
72
|
+
def delete_image_using_delete_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
73
|
+
"""deleteImage # noqa: E501
|
|
74
|
+
|
|
75
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
76
|
+
asynchronous HTTP request, please pass async_req=True
|
|
77
|
+
>>> thread = api.delete_image_using_delete_with_http_info(type, key, async_req=True)
|
|
78
|
+
>>> result = thread.get()
|
|
79
|
+
|
|
80
|
+
:param async_req bool
|
|
81
|
+
:param str type: Type of the image: tenant or system (required)
|
|
82
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
83
|
+
:param bool force: force
|
|
84
|
+
:return: TbImageDeleteResult
|
|
85
|
+
If the method is called asynchronously,
|
|
86
|
+
returns the request thread.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
all_params = ['type', 'key', 'force'] # noqa: E501
|
|
90
|
+
all_params.append('async_req')
|
|
91
|
+
all_params.append('_return_http_data_only')
|
|
92
|
+
all_params.append('_preload_content')
|
|
93
|
+
all_params.append('_request_timeout')
|
|
94
|
+
|
|
95
|
+
params = locals()
|
|
96
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
97
|
+
if key not in all_params:
|
|
98
|
+
raise TypeError(
|
|
99
|
+
"Got an unexpected keyword argument '%s'"
|
|
100
|
+
" to method delete_image_using_delete" % key
|
|
101
|
+
)
|
|
102
|
+
params[key] = val
|
|
103
|
+
del params['kwargs']
|
|
104
|
+
# verify the required parameter 'type' is set
|
|
105
|
+
if ('type' not in params or
|
|
106
|
+
params['type'] is None):
|
|
107
|
+
raise ValueError("Missing the required parameter `type` when calling `delete_image_using_delete`") # noqa: E501
|
|
108
|
+
# verify the required parameter 'key' is set
|
|
109
|
+
if ('key' not in params or
|
|
110
|
+
params['key'] is None):
|
|
111
|
+
raise ValueError("Missing the required parameter `key` when calling `delete_image_using_delete`") # noqa: E501
|
|
112
|
+
|
|
113
|
+
collection_formats = {}
|
|
114
|
+
|
|
115
|
+
path_params = {}
|
|
116
|
+
if 'type' in params:
|
|
117
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
118
|
+
if 'key' in params:
|
|
119
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
120
|
+
|
|
121
|
+
query_params = []
|
|
122
|
+
if 'force' in params:
|
|
123
|
+
query_params.append(('force', params['force'])) # noqa: E501
|
|
124
|
+
|
|
125
|
+
header_params = {}
|
|
126
|
+
|
|
127
|
+
form_params = []
|
|
128
|
+
local_var_files = {}
|
|
129
|
+
|
|
130
|
+
body_params = None
|
|
131
|
+
# HTTP header `Accept`
|
|
132
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
133
|
+
['application/json']) # noqa: E501
|
|
134
|
+
|
|
135
|
+
# Authentication setting
|
|
136
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
137
|
+
|
|
138
|
+
return self.api_client.call_api(
|
|
139
|
+
'/api/images/{type}/{key}{?force}', 'DELETE',
|
|
140
|
+
path_params,
|
|
141
|
+
query_params,
|
|
142
|
+
header_params,
|
|
143
|
+
body=body_params,
|
|
144
|
+
post_params=form_params,
|
|
145
|
+
files=local_var_files,
|
|
146
|
+
response_type='TbImageDeleteResult', # noqa: E501
|
|
147
|
+
auth_settings=auth_settings,
|
|
148
|
+
async_req=params.get('async_req'),
|
|
149
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
150
|
+
_preload_content=params.get('_preload_content', True),
|
|
151
|
+
_request_timeout=params.get('_request_timeout'),
|
|
152
|
+
collection_formats=collection_formats)
|
|
153
|
+
|
|
154
|
+
def download_image_preview_using_get(self, type, key, **kwargs): # noqa: E501
|
|
155
|
+
"""downloadImagePreview # noqa: E501
|
|
156
|
+
|
|
157
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
158
|
+
asynchronous HTTP request, please pass async_req=True
|
|
159
|
+
>>> thread = api.download_image_preview_using_get(type, key, async_req=True)
|
|
160
|
+
>>> result = thread.get()
|
|
161
|
+
|
|
162
|
+
:param async_req bool
|
|
163
|
+
:param str type: Type of the image: tenant or system (required)
|
|
164
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
165
|
+
:param str if_none_match: If-None-Match
|
|
166
|
+
:return: ByteArrayResource
|
|
167
|
+
If the method is called asynchronously,
|
|
168
|
+
returns the request thread.
|
|
169
|
+
"""
|
|
170
|
+
kwargs['_return_http_data_only'] = True
|
|
171
|
+
if kwargs.get('async_req'):
|
|
172
|
+
return self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
173
|
+
else:
|
|
174
|
+
(data) = self.download_image_preview_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
175
|
+
return data
|
|
176
|
+
|
|
177
|
+
def download_image_preview_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
178
|
+
"""downloadImagePreview # noqa: E501
|
|
179
|
+
|
|
180
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
181
|
+
asynchronous HTTP request, please pass async_req=True
|
|
182
|
+
>>> thread = api.download_image_preview_using_get_with_http_info(type, key, async_req=True)
|
|
183
|
+
>>> result = thread.get()
|
|
184
|
+
|
|
185
|
+
:param async_req bool
|
|
186
|
+
:param str type: Type of the image: tenant or system (required)
|
|
187
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
188
|
+
:param str if_none_match: If-None-Match
|
|
189
|
+
:return: ByteArrayResource
|
|
190
|
+
If the method is called asynchronously,
|
|
191
|
+
returns the request thread.
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
all_params = ['type', 'key', 'if_none_match'] # noqa: E501
|
|
195
|
+
all_params.append('async_req')
|
|
196
|
+
all_params.append('_return_http_data_only')
|
|
197
|
+
all_params.append('_preload_content')
|
|
198
|
+
all_params.append('_request_timeout')
|
|
199
|
+
|
|
200
|
+
params = locals()
|
|
201
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
202
|
+
if key not in all_params:
|
|
203
|
+
raise TypeError(
|
|
204
|
+
"Got an unexpected keyword argument '%s'"
|
|
205
|
+
" to method download_image_preview_using_get" % key
|
|
206
|
+
)
|
|
207
|
+
params[key] = val
|
|
208
|
+
del params['kwargs']
|
|
209
|
+
# verify the required parameter 'type' is set
|
|
210
|
+
if ('type' not in params or
|
|
211
|
+
params['type'] is None):
|
|
212
|
+
raise ValueError("Missing the required parameter `type` when calling `download_image_preview_using_get`") # noqa: E501
|
|
213
|
+
# verify the required parameter 'key' is set
|
|
214
|
+
if ('key' not in params or
|
|
215
|
+
params['key'] is None):
|
|
216
|
+
raise ValueError("Missing the required parameter `key` when calling `download_image_preview_using_get`") # noqa: E501
|
|
217
|
+
|
|
218
|
+
collection_formats = {}
|
|
219
|
+
|
|
220
|
+
path_params = {}
|
|
221
|
+
if 'type' in params:
|
|
222
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
223
|
+
if 'key' in params:
|
|
224
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
225
|
+
|
|
226
|
+
query_params = []
|
|
227
|
+
|
|
228
|
+
header_params = {}
|
|
229
|
+
if 'if_none_match' in params:
|
|
230
|
+
header_params['If-None-Match'] = params['if_none_match'] # noqa: E501
|
|
231
|
+
|
|
232
|
+
form_params = []
|
|
233
|
+
local_var_files = {}
|
|
234
|
+
|
|
235
|
+
body_params = None
|
|
236
|
+
# HTTP header `Accept`
|
|
237
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
238
|
+
['image/png']) # noqa: E501
|
|
239
|
+
|
|
240
|
+
# Authentication setting
|
|
241
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
242
|
+
|
|
243
|
+
return self.api_client.call_api(
|
|
244
|
+
'/api/images/{type}/{key}/preview', 'GET',
|
|
245
|
+
path_params,
|
|
246
|
+
query_params,
|
|
247
|
+
header_params,
|
|
248
|
+
body=body_params,
|
|
249
|
+
post_params=form_params,
|
|
250
|
+
files=local_var_files,
|
|
251
|
+
response_type='str', # noqa: E501
|
|
252
|
+
auth_settings=auth_settings,
|
|
253
|
+
async_req=params.get('async_req'),
|
|
254
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
255
|
+
_preload_content=params.get('_preload_content', True),
|
|
256
|
+
_request_timeout=params.get('_request_timeout'),
|
|
257
|
+
collection_formats=collection_formats)
|
|
258
|
+
|
|
259
|
+
def download_image_using_get(self, type, key, **kwargs): # noqa: E501
|
|
260
|
+
"""downloadImage # noqa: E501
|
|
261
|
+
|
|
262
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
263
|
+
asynchronous HTTP request, please pass async_req=True
|
|
264
|
+
>>> thread = api.download_image_using_get(type, key, async_req=True)
|
|
265
|
+
>>> result = thread.get()
|
|
266
|
+
|
|
267
|
+
:param async_req bool
|
|
268
|
+
:param str type: Type of the image: tenant or system (required)
|
|
269
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
270
|
+
:param str if_none_match: If-None-Match
|
|
271
|
+
:return: ByteArrayResource
|
|
272
|
+
If the method is called asynchronously,
|
|
273
|
+
returns the request thread.
|
|
274
|
+
"""
|
|
275
|
+
kwargs['_return_http_data_only'] = True
|
|
276
|
+
if kwargs.get('async_req'):
|
|
277
|
+
return self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
278
|
+
else:
|
|
279
|
+
(data) = self.download_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
280
|
+
return data
|
|
281
|
+
|
|
282
|
+
def download_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
283
|
+
"""downloadImage # noqa: E501
|
|
284
|
+
|
|
285
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
286
|
+
asynchronous HTTP request, please pass async_req=True
|
|
287
|
+
>>> thread = api.download_image_using_get_with_http_info(type, key, async_req=True)
|
|
288
|
+
>>> result = thread.get()
|
|
289
|
+
|
|
290
|
+
:param async_req bool
|
|
291
|
+
:param str type: Type of the image: tenant or system (required)
|
|
292
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
293
|
+
:param str if_none_match: If-None-Match
|
|
294
|
+
:return: ByteArrayResource
|
|
295
|
+
If the method is called asynchronously,
|
|
296
|
+
returns the request thread.
|
|
297
|
+
"""
|
|
298
|
+
|
|
299
|
+
all_params = ['type', 'key', 'if_none_match'] # noqa: E501
|
|
300
|
+
all_params.append('async_req')
|
|
301
|
+
all_params.append('_return_http_data_only')
|
|
302
|
+
all_params.append('_preload_content')
|
|
303
|
+
all_params.append('_request_timeout')
|
|
304
|
+
|
|
305
|
+
params = locals()
|
|
306
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
307
|
+
if key not in all_params:
|
|
308
|
+
raise TypeError(
|
|
309
|
+
"Got an unexpected keyword argument '%s'"
|
|
310
|
+
" to method download_image_using_get" % key
|
|
311
|
+
)
|
|
312
|
+
params[key] = val
|
|
313
|
+
del params['kwargs']
|
|
314
|
+
# verify the required parameter 'type' is set
|
|
315
|
+
if ('type' not in params or
|
|
316
|
+
params['type'] is None):
|
|
317
|
+
raise ValueError("Missing the required parameter `type` when calling `download_image_using_get`") # noqa: E501
|
|
318
|
+
# verify the required parameter 'key' is set
|
|
319
|
+
if ('key' not in params or
|
|
320
|
+
params['key'] is None):
|
|
321
|
+
raise ValueError("Missing the required parameter `key` when calling `download_image_using_get`") # noqa: E501
|
|
322
|
+
|
|
323
|
+
collection_formats = {}
|
|
324
|
+
|
|
325
|
+
path_params = {}
|
|
326
|
+
if 'type' in params:
|
|
327
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
328
|
+
if 'key' in params:
|
|
329
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
330
|
+
|
|
331
|
+
query_params = []
|
|
332
|
+
|
|
333
|
+
header_params = {}
|
|
334
|
+
if 'if_none_match' in params:
|
|
335
|
+
header_params['If-None-Match'] = params['if_none_match'] # noqa: E501
|
|
336
|
+
|
|
337
|
+
form_params = []
|
|
338
|
+
local_var_files = {}
|
|
339
|
+
|
|
340
|
+
body_params = None
|
|
341
|
+
# HTTP header `Accept`
|
|
342
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
343
|
+
['image/*']) # noqa: E501
|
|
344
|
+
|
|
345
|
+
# Authentication setting
|
|
346
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
347
|
+
|
|
348
|
+
return self.api_client.call_api(
|
|
349
|
+
'/api/images/{type}/{key}', 'GET',
|
|
350
|
+
path_params,
|
|
351
|
+
query_params,
|
|
352
|
+
header_params,
|
|
353
|
+
body=body_params,
|
|
354
|
+
post_params=form_params,
|
|
355
|
+
files=local_var_files,
|
|
356
|
+
response_type='str', # noqa: E501
|
|
357
|
+
auth_settings=auth_settings,
|
|
358
|
+
async_req=params.get('async_req'),
|
|
359
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
360
|
+
_preload_content=params.get('_preload_content', True),
|
|
361
|
+
_request_timeout=params.get('_request_timeout'),
|
|
362
|
+
collection_formats=collection_formats)
|
|
363
|
+
|
|
364
|
+
def download_public_image_using_get(self, public_resource_key, **kwargs): # noqa: E501
|
|
365
|
+
"""downloadPublicImage # noqa: E501
|
|
366
|
+
|
|
367
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
368
|
+
asynchronous HTTP request, please pass async_req=True
|
|
369
|
+
>>> thread = api.download_public_image_using_get(public_resource_key, async_req=True)
|
|
370
|
+
>>> result = thread.get()
|
|
371
|
+
|
|
372
|
+
:param async_req bool
|
|
373
|
+
:param str public_resource_key: publicResourceKey (required)
|
|
374
|
+
:param str if_none_match: If-None-Match
|
|
375
|
+
:return: ByteArrayResource
|
|
376
|
+
If the method is called asynchronously,
|
|
377
|
+
returns the request thread.
|
|
378
|
+
"""
|
|
379
|
+
kwargs['_return_http_data_only'] = True
|
|
380
|
+
if kwargs.get('async_req'):
|
|
381
|
+
return self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501
|
|
382
|
+
else:
|
|
383
|
+
(data) = self.download_public_image_using_get_with_http_info(public_resource_key, **kwargs) # noqa: E501
|
|
384
|
+
return data
|
|
385
|
+
|
|
386
|
+
def download_public_image_using_get_with_http_info(self, public_resource_key, **kwargs): # noqa: E501
|
|
387
|
+
"""downloadPublicImage # noqa: E501
|
|
388
|
+
|
|
389
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
390
|
+
asynchronous HTTP request, please pass async_req=True
|
|
391
|
+
>>> thread = api.download_public_image_using_get_with_http_info(public_resource_key, async_req=True)
|
|
392
|
+
>>> result = thread.get()
|
|
393
|
+
|
|
394
|
+
:param async_req bool
|
|
395
|
+
:param str public_resource_key: publicResourceKey (required)
|
|
396
|
+
:param str if_none_match: If-None-Match
|
|
397
|
+
:return: ByteArrayResource
|
|
398
|
+
If the method is called asynchronously,
|
|
399
|
+
returns the request thread.
|
|
400
|
+
"""
|
|
401
|
+
|
|
402
|
+
all_params = ['public_resource_key', 'if_none_match'] # noqa: E501
|
|
403
|
+
all_params.append('async_req')
|
|
404
|
+
all_params.append('_return_http_data_only')
|
|
405
|
+
all_params.append('_preload_content')
|
|
406
|
+
all_params.append('_request_timeout')
|
|
407
|
+
|
|
408
|
+
params = locals()
|
|
409
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
410
|
+
if key not in all_params:
|
|
411
|
+
raise TypeError(
|
|
412
|
+
"Got an unexpected keyword argument '%s'"
|
|
413
|
+
" to method download_public_image_using_get" % key
|
|
414
|
+
)
|
|
415
|
+
params[key] = val
|
|
416
|
+
del params['kwargs']
|
|
417
|
+
# verify the required parameter 'public_resource_key' is set
|
|
418
|
+
if ('public_resource_key' not in params or
|
|
419
|
+
params['public_resource_key'] is None):
|
|
420
|
+
raise ValueError("Missing the required parameter `public_resource_key` when calling `download_public_image_using_get`") # noqa: E501
|
|
421
|
+
|
|
422
|
+
collection_formats = {}
|
|
423
|
+
|
|
424
|
+
path_params = {}
|
|
425
|
+
if 'public_resource_key' in params:
|
|
426
|
+
path_params['publicResourceKey'] = params['public_resource_key'] # noqa: E501
|
|
427
|
+
|
|
428
|
+
query_params = []
|
|
429
|
+
|
|
430
|
+
header_params = {}
|
|
431
|
+
if 'if_none_match' in params:
|
|
432
|
+
header_params['If-None-Match'] = params['if_none_match'] # noqa: E501
|
|
433
|
+
|
|
434
|
+
form_params = []
|
|
435
|
+
local_var_files = {}
|
|
436
|
+
|
|
437
|
+
body_params = None
|
|
438
|
+
# HTTP header `Accept`
|
|
439
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
440
|
+
['image/*']) # noqa: E501
|
|
441
|
+
|
|
442
|
+
# Authentication setting
|
|
443
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
444
|
+
|
|
445
|
+
return self.api_client.call_api(
|
|
446
|
+
'/api/images/public/{publicResourceKey}', 'GET',
|
|
447
|
+
path_params,
|
|
448
|
+
query_params,
|
|
449
|
+
header_params,
|
|
450
|
+
body=body_params,
|
|
451
|
+
post_params=form_params,
|
|
452
|
+
files=local_var_files,
|
|
453
|
+
response_type='str', # noqa: E501
|
|
454
|
+
auth_settings=auth_settings,
|
|
455
|
+
async_req=params.get('async_req'),
|
|
456
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
457
|
+
_preload_content=params.get('_preload_content', True),
|
|
458
|
+
_request_timeout=params.get('_request_timeout'),
|
|
459
|
+
collection_formats=collection_formats)
|
|
460
|
+
|
|
461
|
+
def export_image_using_get(self, type, key, **kwargs): # noqa: E501
|
|
462
|
+
"""exportImage # noqa: E501
|
|
463
|
+
|
|
464
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
465
|
+
asynchronous HTTP request, please pass async_req=True
|
|
466
|
+
>>> thread = api.export_image_using_get(type, key, async_req=True)
|
|
467
|
+
>>> result = thread.get()
|
|
468
|
+
|
|
469
|
+
:param async_req bool
|
|
470
|
+
:param str type: Type of the image: tenant or system (required)
|
|
471
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
472
|
+
:return: ImageExportData
|
|
473
|
+
If the method is called asynchronously,
|
|
474
|
+
returns the request thread.
|
|
475
|
+
"""
|
|
476
|
+
kwargs['_return_http_data_only'] = True
|
|
477
|
+
if kwargs.get('async_req'):
|
|
478
|
+
return self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
479
|
+
else:
|
|
480
|
+
(data) = self.export_image_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
481
|
+
return data
|
|
482
|
+
|
|
483
|
+
def export_image_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
484
|
+
"""exportImage # noqa: E501
|
|
485
|
+
|
|
486
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
487
|
+
asynchronous HTTP request, please pass async_req=True
|
|
488
|
+
>>> thread = api.export_image_using_get_with_http_info(type, key, async_req=True)
|
|
489
|
+
>>> result = thread.get()
|
|
490
|
+
|
|
491
|
+
:param async_req bool
|
|
492
|
+
:param str type: Type of the image: tenant or system (required)
|
|
493
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
494
|
+
:return: ImageExportData
|
|
495
|
+
If the method is called asynchronously,
|
|
496
|
+
returns the request thread.
|
|
497
|
+
"""
|
|
498
|
+
|
|
499
|
+
all_params = ['type', 'key'] # noqa: E501
|
|
500
|
+
all_params.append('async_req')
|
|
501
|
+
all_params.append('_return_http_data_only')
|
|
502
|
+
all_params.append('_preload_content')
|
|
503
|
+
all_params.append('_request_timeout')
|
|
504
|
+
|
|
505
|
+
params = locals()
|
|
506
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
507
|
+
if key not in all_params:
|
|
508
|
+
raise TypeError(
|
|
509
|
+
"Got an unexpected keyword argument '%s'"
|
|
510
|
+
" to method export_image_using_get" % key
|
|
511
|
+
)
|
|
512
|
+
params[key] = val
|
|
513
|
+
del params['kwargs']
|
|
514
|
+
# verify the required parameter 'type' is set
|
|
515
|
+
if ('type' not in params or
|
|
516
|
+
params['type'] is None):
|
|
517
|
+
raise ValueError("Missing the required parameter `type` when calling `export_image_using_get`") # noqa: E501
|
|
518
|
+
# verify the required parameter 'key' is set
|
|
519
|
+
if ('key' not in params or
|
|
520
|
+
params['key'] is None):
|
|
521
|
+
raise ValueError("Missing the required parameter `key` when calling `export_image_using_get`") # noqa: E501
|
|
522
|
+
|
|
523
|
+
collection_formats = {}
|
|
524
|
+
|
|
525
|
+
path_params = {}
|
|
526
|
+
if 'type' in params:
|
|
527
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
528
|
+
if 'key' in params:
|
|
529
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
530
|
+
|
|
531
|
+
query_params = []
|
|
532
|
+
|
|
533
|
+
header_params = {}
|
|
534
|
+
|
|
535
|
+
form_params = []
|
|
536
|
+
local_var_files = {}
|
|
537
|
+
|
|
538
|
+
body_params = None
|
|
539
|
+
# HTTP header `Accept`
|
|
540
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
541
|
+
['application/json']) # noqa: E501
|
|
542
|
+
|
|
543
|
+
# Authentication setting
|
|
544
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
545
|
+
|
|
546
|
+
return self.api_client.call_api(
|
|
547
|
+
'/api/images/{type}/{key}/export', 'GET',
|
|
548
|
+
path_params,
|
|
549
|
+
query_params,
|
|
550
|
+
header_params,
|
|
551
|
+
body=body_params,
|
|
552
|
+
post_params=form_params,
|
|
553
|
+
files=local_var_files,
|
|
554
|
+
response_type='ImageExportData', # noqa: E501
|
|
555
|
+
auth_settings=auth_settings,
|
|
556
|
+
async_req=params.get('async_req'),
|
|
557
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
558
|
+
_preload_content=params.get('_preload_content', True),
|
|
559
|
+
_request_timeout=params.get('_request_timeout'),
|
|
560
|
+
collection_formats=collection_formats)
|
|
561
|
+
|
|
562
|
+
def get_image_info_using_get(self, type, key, **kwargs): # noqa: E501
|
|
563
|
+
"""getImageInfo # noqa: E501
|
|
564
|
+
|
|
565
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
566
|
+
asynchronous HTTP request, please pass async_req=True
|
|
567
|
+
>>> thread = api.get_image_info_using_get(type, key, async_req=True)
|
|
568
|
+
>>> result = thread.get()
|
|
569
|
+
|
|
570
|
+
:param async_req bool
|
|
571
|
+
:param str type: Type of the image: tenant or system (required)
|
|
572
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
573
|
+
:return: TbResourceInfo
|
|
574
|
+
If the method is called asynchronously,
|
|
575
|
+
returns the request thread.
|
|
576
|
+
"""
|
|
577
|
+
kwargs['_return_http_data_only'] = True
|
|
578
|
+
if kwargs.get('async_req'):
|
|
579
|
+
return self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
580
|
+
else:
|
|
581
|
+
(data) = self.get_image_info_using_get_with_http_info(type, key, **kwargs) # noqa: E501
|
|
582
|
+
return data
|
|
583
|
+
|
|
584
|
+
def get_image_info_using_get_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
585
|
+
"""getImageInfo # noqa: E501
|
|
586
|
+
|
|
587
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
588
|
+
asynchronous HTTP request, please pass async_req=True
|
|
589
|
+
>>> thread = api.get_image_info_using_get_with_http_info(type, key, async_req=True)
|
|
590
|
+
>>> result = thread.get()
|
|
591
|
+
|
|
592
|
+
:param async_req bool
|
|
593
|
+
:param str type: Type of the image: tenant or system (required)
|
|
594
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
595
|
+
:return: TbResourceInfo
|
|
596
|
+
If the method is called asynchronously,
|
|
597
|
+
returns the request thread.
|
|
598
|
+
"""
|
|
599
|
+
|
|
600
|
+
all_params = ['type', 'key'] # noqa: E501
|
|
601
|
+
all_params.append('async_req')
|
|
602
|
+
all_params.append('_return_http_data_only')
|
|
603
|
+
all_params.append('_preload_content')
|
|
604
|
+
all_params.append('_request_timeout')
|
|
605
|
+
|
|
606
|
+
params = locals()
|
|
607
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
608
|
+
if key not in all_params:
|
|
609
|
+
raise TypeError(
|
|
610
|
+
"Got an unexpected keyword argument '%s'"
|
|
611
|
+
" to method get_image_info_using_get" % key
|
|
612
|
+
)
|
|
613
|
+
params[key] = val
|
|
614
|
+
del params['kwargs']
|
|
615
|
+
# verify the required parameter 'type' is set
|
|
616
|
+
if ('type' not in params or
|
|
617
|
+
params['type'] is None):
|
|
618
|
+
raise ValueError("Missing the required parameter `type` when calling `get_image_info_using_get`") # noqa: E501
|
|
619
|
+
# verify the required parameter 'key' is set
|
|
620
|
+
if ('key' not in params or
|
|
621
|
+
params['key'] is None):
|
|
622
|
+
raise ValueError("Missing the required parameter `key` when calling `get_image_info_using_get`") # noqa: E501
|
|
623
|
+
|
|
624
|
+
collection_formats = {}
|
|
625
|
+
|
|
626
|
+
path_params = {}
|
|
627
|
+
if 'type' in params:
|
|
628
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
629
|
+
if 'key' in params:
|
|
630
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
631
|
+
|
|
632
|
+
query_params = []
|
|
633
|
+
|
|
634
|
+
header_params = {}
|
|
635
|
+
|
|
636
|
+
form_params = []
|
|
637
|
+
local_var_files = {}
|
|
638
|
+
|
|
639
|
+
body_params = None
|
|
640
|
+
# HTTP header `Accept`
|
|
641
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
642
|
+
['application/json']) # noqa: E501
|
|
643
|
+
|
|
644
|
+
# Authentication setting
|
|
645
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
646
|
+
|
|
647
|
+
return self.api_client.call_api(
|
|
648
|
+
'/api/images/{type}/{key}/info', 'GET',
|
|
649
|
+
path_params,
|
|
650
|
+
query_params,
|
|
651
|
+
header_params,
|
|
652
|
+
body=body_params,
|
|
653
|
+
post_params=form_params,
|
|
654
|
+
files=local_var_files,
|
|
655
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
656
|
+
auth_settings=auth_settings,
|
|
657
|
+
async_req=params.get('async_req'),
|
|
658
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
659
|
+
_preload_content=params.get('_preload_content', True),
|
|
660
|
+
_request_timeout=params.get('_request_timeout'),
|
|
661
|
+
collection_formats=collection_formats)
|
|
662
|
+
|
|
663
|
+
def get_images_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
664
|
+
"""getImages # noqa: E501
|
|
665
|
+
|
|
666
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
667
|
+
asynchronous HTTP request, please pass async_req=True
|
|
668
|
+
>>> thread = api.get_images_using_get(page_size, page, async_req=True)
|
|
669
|
+
>>> result = thread.get()
|
|
670
|
+
|
|
671
|
+
:param async_req bool
|
|
672
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
673
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
674
|
+
:param bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority.
|
|
675
|
+
:param str text_search: The case insensitive 'substring' filter based on the resource title.
|
|
676
|
+
:param str sort_property: Property of entity to sort by
|
|
677
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
678
|
+
:return: PageDataTbResourceInfo
|
|
679
|
+
If the method is called asynchronously,
|
|
680
|
+
returns the request thread.
|
|
681
|
+
"""
|
|
682
|
+
kwargs['_return_http_data_only'] = True
|
|
683
|
+
if kwargs.get('async_req'):
|
|
684
|
+
return self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
685
|
+
else:
|
|
686
|
+
(data) = self.get_images_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
687
|
+
return data
|
|
688
|
+
|
|
689
|
+
def get_images_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
690
|
+
"""getImages # noqa: E501
|
|
691
|
+
|
|
692
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
693
|
+
asynchronous HTTP request, please pass async_req=True
|
|
694
|
+
>>> thread = api.get_images_using_get_with_http_info(page_size, page, async_req=True)
|
|
695
|
+
>>> result = thread.get()
|
|
696
|
+
|
|
697
|
+
:param async_req bool
|
|
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 bool include_system_images: Use 'true' to include system images. Disabled by default. Ignored for requests by users with system administrator authority.
|
|
701
|
+
:param str text_search: The case insensitive 'substring' filter based on the resource title.
|
|
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: PageDataTbResourceInfo
|
|
705
|
+
If the method is called asynchronously,
|
|
706
|
+
returns the request thread.
|
|
707
|
+
"""
|
|
708
|
+
|
|
709
|
+
all_params = ['page_size', 'page', 'include_system_images', '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_images_using_get" % key
|
|
721
|
+
)
|
|
722
|
+
params[key] = val
|
|
723
|
+
del params['kwargs']
|
|
724
|
+
# verify the required parameter 'page_size' is set
|
|
725
|
+
if ('page_size' not in params or
|
|
726
|
+
params['page_size'] is None):
|
|
727
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_images_using_get`") # noqa: E501
|
|
728
|
+
# verify the required parameter 'page' is set
|
|
729
|
+
if ('page' not in params or
|
|
730
|
+
params['page'] is None):
|
|
731
|
+
raise ValueError("Missing the required parameter `page` when calling `get_images_using_get`") # noqa: E501
|
|
732
|
+
|
|
733
|
+
collection_formats = {}
|
|
734
|
+
|
|
735
|
+
path_params = {}
|
|
736
|
+
|
|
737
|
+
query_params = []
|
|
738
|
+
if 'page_size' in params:
|
|
739
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
740
|
+
if 'page' in params:
|
|
741
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
742
|
+
if 'include_system_images' in params:
|
|
743
|
+
query_params.append(('includeSystemImages', params['include_system_images'])) # noqa: E501
|
|
744
|
+
if 'text_search' in params:
|
|
745
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
746
|
+
if 'sort_property' in params:
|
|
747
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
748
|
+
if 'sort_order' in params:
|
|
749
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
750
|
+
|
|
751
|
+
header_params = {}
|
|
752
|
+
|
|
753
|
+
form_params = []
|
|
754
|
+
local_var_files = {}
|
|
755
|
+
|
|
756
|
+
body_params = None
|
|
757
|
+
# HTTP header `Accept`
|
|
758
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
759
|
+
['application/json']) # noqa: E501
|
|
760
|
+
|
|
761
|
+
# Authentication setting
|
|
762
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
763
|
+
|
|
764
|
+
return self.api_client.call_api(
|
|
765
|
+
'/api/images{?includeSystemImages,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
766
|
+
path_params,
|
|
767
|
+
query_params,
|
|
768
|
+
header_params,
|
|
769
|
+
body=body_params,
|
|
770
|
+
post_params=form_params,
|
|
771
|
+
files=local_var_files,
|
|
772
|
+
response_type='PageDataTbResourceInfo', # noqa: E501
|
|
773
|
+
auth_settings=auth_settings,
|
|
774
|
+
async_req=params.get('async_req'),
|
|
775
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
776
|
+
_preload_content=params.get('_preload_content', True),
|
|
777
|
+
_request_timeout=params.get('_request_timeout'),
|
|
778
|
+
collection_formats=collection_formats)
|
|
779
|
+
|
|
780
|
+
def import_image_using_put(self, **kwargs): # noqa: E501
|
|
781
|
+
"""importImage # noqa: E501
|
|
782
|
+
|
|
783
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
784
|
+
asynchronous HTTP request, please pass async_req=True
|
|
785
|
+
>>> thread = api.import_image_using_put(async_req=True)
|
|
786
|
+
>>> result = thread.get()
|
|
787
|
+
|
|
788
|
+
:param async_req bool
|
|
789
|
+
:param ImageExportData body:
|
|
790
|
+
:return: TbResourceInfo
|
|
791
|
+
If the method is called asynchronously,
|
|
792
|
+
returns the request thread.
|
|
793
|
+
"""
|
|
794
|
+
kwargs['_return_http_data_only'] = True
|
|
795
|
+
if kwargs.get('async_req'):
|
|
796
|
+
return self.import_image_using_put_with_http_info(**kwargs) # noqa: E501
|
|
797
|
+
else:
|
|
798
|
+
(data) = self.import_image_using_put_with_http_info(**kwargs) # noqa: E501
|
|
799
|
+
return data
|
|
800
|
+
|
|
801
|
+
def import_image_using_put_with_http_info(self, **kwargs): # noqa: E501
|
|
802
|
+
"""importImage # noqa: E501
|
|
803
|
+
|
|
804
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
805
|
+
asynchronous HTTP request, please pass async_req=True
|
|
806
|
+
>>> thread = api.import_image_using_put_with_http_info(async_req=True)
|
|
807
|
+
>>> result = thread.get()
|
|
808
|
+
|
|
809
|
+
:param async_req bool
|
|
810
|
+
:param ImageExportData body:
|
|
811
|
+
:return: TbResourceInfo
|
|
812
|
+
If the method is called asynchronously,
|
|
813
|
+
returns the request thread.
|
|
814
|
+
"""
|
|
815
|
+
|
|
816
|
+
all_params = ['body'] # noqa: E501
|
|
817
|
+
all_params.append('async_req')
|
|
818
|
+
all_params.append('_return_http_data_only')
|
|
819
|
+
all_params.append('_preload_content')
|
|
820
|
+
all_params.append('_request_timeout')
|
|
821
|
+
|
|
822
|
+
params = locals()
|
|
823
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
824
|
+
if key not in all_params:
|
|
825
|
+
raise TypeError(
|
|
826
|
+
"Got an unexpected keyword argument '%s'"
|
|
827
|
+
" to method import_image_using_put" % key
|
|
828
|
+
)
|
|
829
|
+
params[key] = val
|
|
830
|
+
del params['kwargs']
|
|
831
|
+
|
|
832
|
+
collection_formats = {}
|
|
833
|
+
|
|
834
|
+
path_params = {}
|
|
835
|
+
|
|
836
|
+
query_params = []
|
|
837
|
+
|
|
838
|
+
header_params = {}
|
|
839
|
+
|
|
840
|
+
form_params = []
|
|
841
|
+
local_var_files = {}
|
|
842
|
+
|
|
843
|
+
body_params = None
|
|
844
|
+
if 'body' in params:
|
|
845
|
+
body_params = params['body']
|
|
846
|
+
# HTTP header `Accept`
|
|
847
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
848
|
+
['application/json']) # noqa: E501
|
|
849
|
+
|
|
850
|
+
# HTTP header `Content-Type`
|
|
851
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
852
|
+
['application/json']) # noqa: E501
|
|
853
|
+
|
|
854
|
+
# Authentication setting
|
|
855
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
856
|
+
|
|
857
|
+
return self.api_client.call_api(
|
|
858
|
+
'/api/image/import', 'PUT',
|
|
859
|
+
path_params,
|
|
860
|
+
query_params,
|
|
861
|
+
header_params,
|
|
862
|
+
body=body_params,
|
|
863
|
+
post_params=form_params,
|
|
864
|
+
files=local_var_files,
|
|
865
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
866
|
+
auth_settings=auth_settings,
|
|
867
|
+
async_req=params.get('async_req'),
|
|
868
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
869
|
+
_preload_content=params.get('_preload_content', True),
|
|
870
|
+
_request_timeout=params.get('_request_timeout'),
|
|
871
|
+
collection_formats=collection_formats)
|
|
872
|
+
|
|
873
|
+
def update_image_info_using_put(self, type, key, **kwargs): # noqa: E501
|
|
874
|
+
"""updateImageInfo # noqa: E501
|
|
875
|
+
|
|
876
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
877
|
+
asynchronous HTTP request, please pass async_req=True
|
|
878
|
+
>>> thread = api.update_image_info_using_put(type, key, async_req=True)
|
|
879
|
+
>>> result = thread.get()
|
|
880
|
+
|
|
881
|
+
:param async_req bool
|
|
882
|
+
:param str type: Type of the image: tenant or system (required)
|
|
883
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
884
|
+
:param TbResourceInfo body:
|
|
885
|
+
:return: TbResourceInfo
|
|
886
|
+
If the method is called asynchronously,
|
|
887
|
+
returns the request thread.
|
|
888
|
+
"""
|
|
889
|
+
kwargs['_return_http_data_only'] = True
|
|
890
|
+
if kwargs.get('async_req'):
|
|
891
|
+
return self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501
|
|
892
|
+
else:
|
|
893
|
+
(data) = self.update_image_info_using_put_with_http_info(type, key, **kwargs) # noqa: E501
|
|
894
|
+
return data
|
|
895
|
+
|
|
896
|
+
def update_image_info_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
897
|
+
"""updateImageInfo # noqa: E501
|
|
898
|
+
|
|
899
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
900
|
+
asynchronous HTTP request, please pass async_req=True
|
|
901
|
+
>>> thread = api.update_image_info_using_put_with_http_info(type, key, async_req=True)
|
|
902
|
+
>>> result = thread.get()
|
|
903
|
+
|
|
904
|
+
:param async_req bool
|
|
905
|
+
:param str type: Type of the image: tenant or system (required)
|
|
906
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
907
|
+
:param TbResourceInfo body:
|
|
908
|
+
:return: TbResourceInfo
|
|
909
|
+
If the method is called asynchronously,
|
|
910
|
+
returns the request thread.
|
|
911
|
+
"""
|
|
912
|
+
|
|
913
|
+
all_params = ['type', 'key', 'body'] # noqa: E501
|
|
914
|
+
all_params.append('async_req')
|
|
915
|
+
all_params.append('_return_http_data_only')
|
|
916
|
+
all_params.append('_preload_content')
|
|
917
|
+
all_params.append('_request_timeout')
|
|
918
|
+
|
|
919
|
+
params = locals()
|
|
920
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
921
|
+
if key not in all_params:
|
|
922
|
+
raise TypeError(
|
|
923
|
+
"Got an unexpected keyword argument '%s'"
|
|
924
|
+
" to method update_image_info_using_put" % key
|
|
925
|
+
)
|
|
926
|
+
params[key] = val
|
|
927
|
+
del params['kwargs']
|
|
928
|
+
# verify the required parameter 'type' is set
|
|
929
|
+
if ('type' not in params or
|
|
930
|
+
params['type'] is None):
|
|
931
|
+
raise ValueError("Missing the required parameter `type` when calling `update_image_info_using_put`") # noqa: E501
|
|
932
|
+
# verify the required parameter 'key' is set
|
|
933
|
+
if ('key' not in params or
|
|
934
|
+
params['key'] is None):
|
|
935
|
+
raise ValueError("Missing the required parameter `key` when calling `update_image_info_using_put`") # noqa: E501
|
|
936
|
+
|
|
937
|
+
collection_formats = {}
|
|
938
|
+
|
|
939
|
+
path_params = {}
|
|
940
|
+
if 'type' in params:
|
|
941
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
942
|
+
if 'key' in params:
|
|
943
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
944
|
+
|
|
945
|
+
query_params = []
|
|
946
|
+
|
|
947
|
+
header_params = {}
|
|
948
|
+
|
|
949
|
+
form_params = []
|
|
950
|
+
local_var_files = {}
|
|
951
|
+
|
|
952
|
+
body_params = None
|
|
953
|
+
if 'body' in params:
|
|
954
|
+
body_params = params['body']
|
|
955
|
+
# HTTP header `Accept`
|
|
956
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
957
|
+
['application/json']) # noqa: E501
|
|
958
|
+
|
|
959
|
+
# HTTP header `Content-Type`
|
|
960
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
961
|
+
['application/json']) # noqa: E501
|
|
962
|
+
|
|
963
|
+
# Authentication setting
|
|
964
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
965
|
+
|
|
966
|
+
return self.api_client.call_api(
|
|
967
|
+
'/api/images/{type}/{key}/info', 'PUT',
|
|
968
|
+
path_params,
|
|
969
|
+
query_params,
|
|
970
|
+
header_params,
|
|
971
|
+
body=body_params,
|
|
972
|
+
post_params=form_params,
|
|
973
|
+
files=local_var_files,
|
|
974
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
975
|
+
auth_settings=auth_settings,
|
|
976
|
+
async_req=params.get('async_req'),
|
|
977
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
978
|
+
_preload_content=params.get('_preload_content', True),
|
|
979
|
+
_request_timeout=params.get('_request_timeout'),
|
|
980
|
+
collection_formats=collection_formats)
|
|
981
|
+
|
|
982
|
+
def update_image_public_status_using_put(self, type, key, is_public, **kwargs): # noqa: E501
|
|
983
|
+
"""updateImagePublicStatus # noqa: E501
|
|
984
|
+
|
|
985
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
986
|
+
asynchronous HTTP request, please pass async_req=True
|
|
987
|
+
>>> thread = api.update_image_public_status_using_put(type, key, is_public, async_req=True)
|
|
988
|
+
>>> result = thread.get()
|
|
989
|
+
|
|
990
|
+
:param async_req bool
|
|
991
|
+
:param str type: Type of the image: tenant or system (required)
|
|
992
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
993
|
+
:param bool is_public: isPublic (required)
|
|
994
|
+
:return: TbResourceInfo
|
|
995
|
+
If the method is called asynchronously,
|
|
996
|
+
returns the request thread.
|
|
997
|
+
"""
|
|
998
|
+
kwargs['_return_http_data_only'] = True
|
|
999
|
+
if kwargs.get('async_req'):
|
|
1000
|
+
return self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501
|
|
1001
|
+
else:
|
|
1002
|
+
(data) = self.update_image_public_status_using_put_with_http_info(type, key, is_public, **kwargs) # noqa: E501
|
|
1003
|
+
return data
|
|
1004
|
+
|
|
1005
|
+
def update_image_public_status_using_put_with_http_info(self, type, key, is_public, **kwargs): # noqa: E501
|
|
1006
|
+
"""updateImagePublicStatus # noqa: E501
|
|
1007
|
+
|
|
1008
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1009
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1010
|
+
>>> thread = api.update_image_public_status_using_put_with_http_info(type, key, is_public, async_req=True)
|
|
1011
|
+
>>> result = thread.get()
|
|
1012
|
+
|
|
1013
|
+
:param async_req bool
|
|
1014
|
+
:param str type: Type of the image: tenant or system (required)
|
|
1015
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
1016
|
+
:param bool is_public: isPublic (required)
|
|
1017
|
+
:return: TbResourceInfo
|
|
1018
|
+
If the method is called asynchronously,
|
|
1019
|
+
returns the request thread.
|
|
1020
|
+
"""
|
|
1021
|
+
|
|
1022
|
+
all_params = ['type', 'key', 'is_public'] # noqa: E501
|
|
1023
|
+
all_params.append('async_req')
|
|
1024
|
+
all_params.append('_return_http_data_only')
|
|
1025
|
+
all_params.append('_preload_content')
|
|
1026
|
+
all_params.append('_request_timeout')
|
|
1027
|
+
|
|
1028
|
+
params = locals()
|
|
1029
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1030
|
+
if key not in all_params:
|
|
1031
|
+
raise TypeError(
|
|
1032
|
+
"Got an unexpected keyword argument '%s'"
|
|
1033
|
+
" to method update_image_public_status_using_put" % key
|
|
1034
|
+
)
|
|
1035
|
+
params[key] = val
|
|
1036
|
+
del params['kwargs']
|
|
1037
|
+
# verify the required parameter 'type' is set
|
|
1038
|
+
if ('type' not in params or
|
|
1039
|
+
params['type'] is None):
|
|
1040
|
+
raise ValueError("Missing the required parameter `type` when calling `update_image_public_status_using_put`") # noqa: E501
|
|
1041
|
+
# verify the required parameter 'key' is set
|
|
1042
|
+
if ('key' not in params or
|
|
1043
|
+
params['key'] is None):
|
|
1044
|
+
raise ValueError("Missing the required parameter `key` when calling `update_image_public_status_using_put`") # noqa: E501
|
|
1045
|
+
# verify the required parameter 'is_public' is set
|
|
1046
|
+
if ('is_public' not in params or
|
|
1047
|
+
params['is_public'] is None):
|
|
1048
|
+
raise ValueError("Missing the required parameter `is_public` when calling `update_image_public_status_using_put`") # noqa: E501
|
|
1049
|
+
|
|
1050
|
+
collection_formats = {}
|
|
1051
|
+
|
|
1052
|
+
path_params = {}
|
|
1053
|
+
if 'type' in params:
|
|
1054
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
1055
|
+
if 'key' in params:
|
|
1056
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
1057
|
+
if 'is_public' in params:
|
|
1058
|
+
path_params['isPublic'] = params['is_public'] # noqa: E501
|
|
1059
|
+
|
|
1060
|
+
query_params = []
|
|
1061
|
+
|
|
1062
|
+
header_params = {}
|
|
1063
|
+
|
|
1064
|
+
form_params = []
|
|
1065
|
+
local_var_files = {}
|
|
1066
|
+
|
|
1067
|
+
body_params = None
|
|
1068
|
+
# HTTP header `Accept`
|
|
1069
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1070
|
+
['application/json']) # noqa: E501
|
|
1071
|
+
|
|
1072
|
+
# Authentication setting
|
|
1073
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1074
|
+
|
|
1075
|
+
return self.api_client.call_api(
|
|
1076
|
+
'/api/images/{type}/{key}/public/{isPublic}', 'PUT',
|
|
1077
|
+
path_params,
|
|
1078
|
+
query_params,
|
|
1079
|
+
header_params,
|
|
1080
|
+
body=body_params,
|
|
1081
|
+
post_params=form_params,
|
|
1082
|
+
files=local_var_files,
|
|
1083
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
1084
|
+
auth_settings=auth_settings,
|
|
1085
|
+
async_req=params.get('async_req'),
|
|
1086
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1087
|
+
_preload_content=params.get('_preload_content', True),
|
|
1088
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1089
|
+
collection_formats=collection_formats)
|
|
1090
|
+
|
|
1091
|
+
def update_image_using_put(self, type, key, **kwargs): # noqa: E501
|
|
1092
|
+
"""updateImage # noqa: E501
|
|
1093
|
+
|
|
1094
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1095
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1096
|
+
>>> thread = api.update_image_using_put(type, key, async_req=True)
|
|
1097
|
+
>>> result = thread.get()
|
|
1098
|
+
|
|
1099
|
+
:param async_req bool
|
|
1100
|
+
:param str type: Type of the image: tenant or system (required)
|
|
1101
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
1102
|
+
:param str file:
|
|
1103
|
+
:return: TbResourceInfo
|
|
1104
|
+
If the method is called asynchronously,
|
|
1105
|
+
returns the request thread.
|
|
1106
|
+
"""
|
|
1107
|
+
kwargs['_return_http_data_only'] = True
|
|
1108
|
+
if kwargs.get('async_req'):
|
|
1109
|
+
return self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501
|
|
1110
|
+
else:
|
|
1111
|
+
(data) = self.update_image_using_put_with_http_info(type, key, **kwargs) # noqa: E501
|
|
1112
|
+
return data
|
|
1113
|
+
|
|
1114
|
+
def update_image_using_put_with_http_info(self, type, key, **kwargs): # noqa: E501
|
|
1115
|
+
"""updateImage # noqa: E501
|
|
1116
|
+
|
|
1117
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1118
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1119
|
+
>>> thread = api.update_image_using_put_with_http_info(type, key, async_req=True)
|
|
1120
|
+
>>> result = thread.get()
|
|
1121
|
+
|
|
1122
|
+
:param async_req bool
|
|
1123
|
+
:param str type: Type of the image: tenant or system (required)
|
|
1124
|
+
:param str key: Image resource key, for example thermostats_dashboard_background.jpeg (required)
|
|
1125
|
+
:param str file:
|
|
1126
|
+
:return: TbResourceInfo
|
|
1127
|
+
If the method is called asynchronously,
|
|
1128
|
+
returns the request thread.
|
|
1129
|
+
"""
|
|
1130
|
+
|
|
1131
|
+
all_params = ['type', 'key', 'file'] # noqa: E501
|
|
1132
|
+
all_params.append('async_req')
|
|
1133
|
+
all_params.append('_return_http_data_only')
|
|
1134
|
+
all_params.append('_preload_content')
|
|
1135
|
+
all_params.append('_request_timeout')
|
|
1136
|
+
|
|
1137
|
+
params = locals()
|
|
1138
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1139
|
+
if key not in all_params:
|
|
1140
|
+
raise TypeError(
|
|
1141
|
+
"Got an unexpected keyword argument '%s'"
|
|
1142
|
+
" to method update_image_using_put" % key
|
|
1143
|
+
)
|
|
1144
|
+
params[key] = val
|
|
1145
|
+
del params['kwargs']
|
|
1146
|
+
# verify the required parameter 'type' is set
|
|
1147
|
+
if ('type' not in params or
|
|
1148
|
+
params['type'] is None):
|
|
1149
|
+
raise ValueError("Missing the required parameter `type` when calling `update_image_using_put`") # noqa: E501
|
|
1150
|
+
# verify the required parameter 'key' is set
|
|
1151
|
+
if ('key' not in params or
|
|
1152
|
+
params['key'] is None):
|
|
1153
|
+
raise ValueError("Missing the required parameter `key` when calling `update_image_using_put`") # noqa: E501
|
|
1154
|
+
|
|
1155
|
+
collection_formats = {}
|
|
1156
|
+
|
|
1157
|
+
path_params = {}
|
|
1158
|
+
if 'type' in params:
|
|
1159
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
1160
|
+
if 'key' in params:
|
|
1161
|
+
path_params['key'] = params['key'] # noqa: E501
|
|
1162
|
+
|
|
1163
|
+
query_params = []
|
|
1164
|
+
|
|
1165
|
+
header_params = {}
|
|
1166
|
+
|
|
1167
|
+
form_params = []
|
|
1168
|
+
local_var_files = {}
|
|
1169
|
+
if 'file' in params:
|
|
1170
|
+
local_var_files['file'] = params['file'] # noqa: E501
|
|
1171
|
+
|
|
1172
|
+
body_params = None
|
|
1173
|
+
# HTTP header `Accept`
|
|
1174
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1175
|
+
['application/json']) # noqa: E501
|
|
1176
|
+
|
|
1177
|
+
# HTTP header `Content-Type`
|
|
1178
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1179
|
+
['multipart/form-data']) # noqa: E501
|
|
1180
|
+
|
|
1181
|
+
# Authentication setting
|
|
1182
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1183
|
+
|
|
1184
|
+
return self.api_client.call_api(
|
|
1185
|
+
'/api/images/{type}/{key}', 'PUT',
|
|
1186
|
+
path_params,
|
|
1187
|
+
query_params,
|
|
1188
|
+
header_params,
|
|
1189
|
+
body=body_params,
|
|
1190
|
+
post_params=form_params,
|
|
1191
|
+
files=local_var_files,
|
|
1192
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
1193
|
+
auth_settings=auth_settings,
|
|
1194
|
+
async_req=params.get('async_req'),
|
|
1195
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1196
|
+
_preload_content=params.get('_preload_content', True),
|
|
1197
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1198
|
+
collection_formats=collection_formats)
|
|
1199
|
+
|
|
1200
|
+
def upload_image_using_post(self, **kwargs): # noqa: E501
|
|
1201
|
+
"""uploadImage # noqa: E501
|
|
1202
|
+
|
|
1203
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1204
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1205
|
+
>>> thread = api.upload_image_using_post(async_req=True)
|
|
1206
|
+
>>> result = thread.get()
|
|
1207
|
+
|
|
1208
|
+
:param async_req bool
|
|
1209
|
+
:param str file:
|
|
1210
|
+
:param str title:
|
|
1211
|
+
:return: TbResourceInfo
|
|
1212
|
+
If the method is called asynchronously,
|
|
1213
|
+
returns the request thread.
|
|
1214
|
+
"""
|
|
1215
|
+
kwargs['_return_http_data_only'] = True
|
|
1216
|
+
if kwargs.get('async_req'):
|
|
1217
|
+
return self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1218
|
+
else:
|
|
1219
|
+
(data) = self.upload_image_using_post_with_http_info(**kwargs) # noqa: E501
|
|
1220
|
+
return data
|
|
1221
|
+
|
|
1222
|
+
def upload_image_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
1223
|
+
"""uploadImage # noqa: E501
|
|
1224
|
+
|
|
1225
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1226
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1227
|
+
>>> thread = api.upload_image_using_post_with_http_info(async_req=True)
|
|
1228
|
+
>>> result = thread.get()
|
|
1229
|
+
|
|
1230
|
+
:param async_req bool
|
|
1231
|
+
:param str file:
|
|
1232
|
+
:param str title:
|
|
1233
|
+
:return: TbResourceInfo
|
|
1234
|
+
If the method is called asynchronously,
|
|
1235
|
+
returns the request thread.
|
|
1236
|
+
"""
|
|
1237
|
+
|
|
1238
|
+
all_params = ['file', 'title'] # noqa: E501
|
|
1239
|
+
all_params.append('async_req')
|
|
1240
|
+
all_params.append('_return_http_data_only')
|
|
1241
|
+
all_params.append('_preload_content')
|
|
1242
|
+
all_params.append('_request_timeout')
|
|
1243
|
+
|
|
1244
|
+
params = locals()
|
|
1245
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1246
|
+
if key not in all_params:
|
|
1247
|
+
raise TypeError(
|
|
1248
|
+
"Got an unexpected keyword argument '%s'"
|
|
1249
|
+
" to method upload_image_using_post" % key
|
|
1250
|
+
)
|
|
1251
|
+
params[key] = val
|
|
1252
|
+
del params['kwargs']
|
|
1253
|
+
|
|
1254
|
+
collection_formats = {}
|
|
1255
|
+
|
|
1256
|
+
path_params = {}
|
|
1257
|
+
|
|
1258
|
+
query_params = []
|
|
1259
|
+
|
|
1260
|
+
header_params = {}
|
|
1261
|
+
|
|
1262
|
+
form_params = []
|
|
1263
|
+
local_var_files = {}
|
|
1264
|
+
if 'file' in params:
|
|
1265
|
+
local_var_files['file'] = params['file'] # noqa: E501
|
|
1266
|
+
if 'title' in params:
|
|
1267
|
+
form_params.append(('title', params['title'])) # noqa: E501
|
|
1268
|
+
|
|
1269
|
+
body_params = None
|
|
1270
|
+
# HTTP header `Accept`
|
|
1271
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1272
|
+
['application/json']) # noqa: E501
|
|
1273
|
+
|
|
1274
|
+
# HTTP header `Content-Type`
|
|
1275
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
1276
|
+
['multipart/form-data']) # noqa: E501
|
|
1277
|
+
|
|
1278
|
+
# Authentication setting
|
|
1279
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1280
|
+
|
|
1281
|
+
return self.api_client.call_api(
|
|
1282
|
+
'/api/image', 'POST',
|
|
1283
|
+
path_params,
|
|
1284
|
+
query_params,
|
|
1285
|
+
header_params,
|
|
1286
|
+
body=body_params,
|
|
1287
|
+
post_params=form_params,
|
|
1288
|
+
files=local_var_files,
|
|
1289
|
+
response_type='TbResourceInfo', # noqa: E501
|
|
1290
|
+
auth_settings=auth_settings,
|
|
1291
|
+
async_req=params.get('async_req'),
|
|
1292
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1293
|
+
_preload_content=params.get('_preload_content', True),
|
|
1294
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1295
|
+
collection_formats=collection_formats)
|