tb-rest-client 3.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +49 -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 +549 -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 +1281 -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_controller_api.py +549 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +494 -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/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +338 -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/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 +63 -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 +901 -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_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/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 +474 -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_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/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/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_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_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_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_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_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/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/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/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_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/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 +401 -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/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_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/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_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_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_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_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/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/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/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 +2159 -0
- tb_rest_client/rest_client_ce.py +1260 -0
- tb_rest_client/rest_client_pe.py +1856 -0
- tb_rest_client-3.8.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.8.0.dist-info/METADATA +80 -0
- tb_rest_client-3.8.0.dist-info/RECORD +1074 -0
- tb_rest_client-3.8.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,1212 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.7.0
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2024. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class DeviceApiControllerApi(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 claim_device_using_post(self, device_token, **kwargs): # noqa: E501
|
|
50
|
+
"""Save claiming information (claimDevice) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Saves the information required for user to claim the device. See more info about claiming in the corresponding 'Claiming devices' platform documentation. Example of the request payload: ```json {\"secretKey\":\"value\", \"durationMs\":60000} ``` Note: both 'secretKey' and 'durationMs' is optional parameters. In case the secretKey is not specified, the empty string as a default value is used. In case the durationMs is not specified, the system parameter device.claim.duration is used. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.claim_device_using_post(device_token, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str device_token: Your device access token. (required)
|
|
60
|
+
:param str body:
|
|
61
|
+
:return: DeferredResultResponseEntity
|
|
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.claim_device_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
68
|
+
else:
|
|
69
|
+
(data) = self.claim_device_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
70
|
+
return data
|
|
71
|
+
|
|
72
|
+
def claim_device_using_post_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
73
|
+
"""Save claiming information (claimDevice) # noqa: E501
|
|
74
|
+
|
|
75
|
+
Saves the information required for user to claim the device. See more info about claiming in the corresponding 'Claiming devices' platform documentation. Example of the request payload: ```json {\"secretKey\":\"value\", \"durationMs\":60000} ``` Note: both 'secretKey' and 'durationMs' is optional parameters. In case the secretKey is not specified, the empty string as a default value is used. In case the durationMs is not specified, the system parameter device.claim.duration is used. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
76
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
77
|
+
asynchronous HTTP request, please pass async_req=True
|
|
78
|
+
>>> thread = api.claim_device_using_post_with_http_info(device_token, async_req=True)
|
|
79
|
+
>>> result = thread.get()
|
|
80
|
+
|
|
81
|
+
:param async_req bool
|
|
82
|
+
:param str device_token: Your device access token. (required)
|
|
83
|
+
:param str body:
|
|
84
|
+
:return: DeferredResultResponseEntity
|
|
85
|
+
If the method is called asynchronously,
|
|
86
|
+
returns the request thread.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
all_params = ['device_token', 'body'] # noqa: E501
|
|
90
|
+
all_params.append('async_req')
|
|
91
|
+
all_params.append('_return_http_data_only')
|
|
92
|
+
all_params.append('_preload_content')
|
|
93
|
+
all_params.append('_request_timeout')
|
|
94
|
+
|
|
95
|
+
params = locals()
|
|
96
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
97
|
+
if key not in all_params:
|
|
98
|
+
raise TypeError(
|
|
99
|
+
"Got an unexpected keyword argument '%s'"
|
|
100
|
+
" to method claim_device_using_post" % key
|
|
101
|
+
)
|
|
102
|
+
params[key] = val
|
|
103
|
+
del params['kwargs']
|
|
104
|
+
# verify the required parameter 'device_token' is set
|
|
105
|
+
if ('device_token' not in params or
|
|
106
|
+
params['device_token'] is None):
|
|
107
|
+
raise ValueError("Missing the required parameter `device_token` when calling `claim_device_using_post`") # noqa: E501
|
|
108
|
+
|
|
109
|
+
collection_formats = {}
|
|
110
|
+
|
|
111
|
+
path_params = {}
|
|
112
|
+
if 'device_token' in params:
|
|
113
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
114
|
+
|
|
115
|
+
query_params = []
|
|
116
|
+
|
|
117
|
+
header_params = {}
|
|
118
|
+
|
|
119
|
+
form_params = []
|
|
120
|
+
local_var_files = {}
|
|
121
|
+
|
|
122
|
+
body_params = None
|
|
123
|
+
if 'body' in params:
|
|
124
|
+
body_params = params['body']
|
|
125
|
+
# HTTP header `Accept`
|
|
126
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
127
|
+
['application/json']) # noqa: E501
|
|
128
|
+
|
|
129
|
+
# HTTP header `Content-Type`
|
|
130
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
131
|
+
['application/json']) # noqa: E501
|
|
132
|
+
|
|
133
|
+
# Authentication setting
|
|
134
|
+
auth_settings = [] # noqa: E501
|
|
135
|
+
|
|
136
|
+
return self.api_client.call_api(
|
|
137
|
+
'/api/v1/{deviceToken}/claim', 'POST',
|
|
138
|
+
path_params,
|
|
139
|
+
query_params,
|
|
140
|
+
header_params,
|
|
141
|
+
body=body_params,
|
|
142
|
+
post_params=form_params,
|
|
143
|
+
files=local_var_files,
|
|
144
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
145
|
+
auth_settings=auth_settings,
|
|
146
|
+
async_req=params.get('async_req'),
|
|
147
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
148
|
+
_preload_content=params.get('_preload_content', True),
|
|
149
|
+
_request_timeout=params.get('_request_timeout'),
|
|
150
|
+
collection_formats=collection_formats)
|
|
151
|
+
|
|
152
|
+
def get_device_attributes_using_get(self, device_token, client_keys, shared_keys, **kwargs): # noqa: E501
|
|
153
|
+
"""Get attributes (getDeviceAttributes) # noqa: E501
|
|
154
|
+
|
|
155
|
+
Returns all attributes that belong to device. Use optional 'clientKeys' and/or 'sharedKeys' parameter to return specific attributes. Example of the result: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
156
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
157
|
+
asynchronous HTTP request, please pass async_req=True
|
|
158
|
+
>>> thread = api.get_device_attributes_using_get(device_token, client_keys, shared_keys, async_req=True)
|
|
159
|
+
>>> result = thread.get()
|
|
160
|
+
|
|
161
|
+
:param async_req bool
|
|
162
|
+
:param str device_token: Your device access token. (required)
|
|
163
|
+
:param str client_keys: Comma separated key names for attribute with client scope (required)
|
|
164
|
+
:param str shared_keys: Comma separated key names for attribute with shared scope (required)
|
|
165
|
+
:return: DeferredResultResponseEntity
|
|
166
|
+
If the method is called asynchronously,
|
|
167
|
+
returns the request thread.
|
|
168
|
+
"""
|
|
169
|
+
kwargs['_return_http_data_only'] = True
|
|
170
|
+
if kwargs.get('async_req'):
|
|
171
|
+
return self.get_device_attributes_using_get_with_http_info(device_token, client_keys, shared_keys, **kwargs) # noqa: E501
|
|
172
|
+
else:
|
|
173
|
+
(data) = self.get_device_attributes_using_get_with_http_info(device_token, client_keys, shared_keys, **kwargs) # noqa: E501
|
|
174
|
+
return data
|
|
175
|
+
|
|
176
|
+
def get_device_attributes_using_get_with_http_info(self, device_token, client_keys, shared_keys, **kwargs): # noqa: E501
|
|
177
|
+
"""Get attributes (getDeviceAttributes) # noqa: E501
|
|
178
|
+
|
|
179
|
+
Returns all attributes that belong to device. Use optional 'clientKeys' and/or 'sharedKeys' parameter to return specific attributes. Example of the result: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
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.get_device_attributes_using_get_with_http_info(device_token, client_keys, shared_keys, async_req=True)
|
|
183
|
+
>>> result = thread.get()
|
|
184
|
+
|
|
185
|
+
:param async_req bool
|
|
186
|
+
:param str device_token: Your device access token. (required)
|
|
187
|
+
:param str client_keys: Comma separated key names for attribute with client scope (required)
|
|
188
|
+
:param str shared_keys: Comma separated key names for attribute with shared scope (required)
|
|
189
|
+
:return: DeferredResultResponseEntity
|
|
190
|
+
If the method is called asynchronously,
|
|
191
|
+
returns the request thread.
|
|
192
|
+
"""
|
|
193
|
+
|
|
194
|
+
all_params = ['device_token', 'client_keys', 'shared_keys'] # 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 get_device_attributes_using_get" % key
|
|
206
|
+
)
|
|
207
|
+
params[key] = val
|
|
208
|
+
del params['kwargs']
|
|
209
|
+
# verify the required parameter 'device_token' is set
|
|
210
|
+
if ('device_token' not in params or
|
|
211
|
+
params['device_token'] is None):
|
|
212
|
+
raise ValueError("Missing the required parameter `device_token` when calling `get_device_attributes_using_get`") # noqa: E501
|
|
213
|
+
# verify the required parameter 'client_keys' is set
|
|
214
|
+
if ('client_keys' not in params or
|
|
215
|
+
params['client_keys'] is None):
|
|
216
|
+
raise ValueError("Missing the required parameter `client_keys` when calling `get_device_attributes_using_get`") # noqa: E501
|
|
217
|
+
# verify the required parameter 'shared_keys' is set
|
|
218
|
+
if ('shared_keys' not in params or
|
|
219
|
+
params['shared_keys'] is None):
|
|
220
|
+
raise ValueError("Missing the required parameter `shared_keys` when calling `get_device_attributes_using_get`") # noqa: E501
|
|
221
|
+
|
|
222
|
+
collection_formats = {}
|
|
223
|
+
|
|
224
|
+
path_params = {}
|
|
225
|
+
if 'device_token' in params:
|
|
226
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
227
|
+
|
|
228
|
+
query_params = []
|
|
229
|
+
if 'client_keys' in params:
|
|
230
|
+
query_params.append(('clientKeys', params['client_keys'])) # noqa: E501
|
|
231
|
+
if 'shared_keys' in params:
|
|
232
|
+
query_params.append(('sharedKeys', params['shared_keys'])) # noqa: E501
|
|
233
|
+
|
|
234
|
+
header_params = {}
|
|
235
|
+
|
|
236
|
+
form_params = []
|
|
237
|
+
local_var_files = {}
|
|
238
|
+
|
|
239
|
+
body_params = None
|
|
240
|
+
# HTTP header `Accept`
|
|
241
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
242
|
+
['application/json']) # noqa: E501
|
|
243
|
+
|
|
244
|
+
# Authentication setting
|
|
245
|
+
auth_settings = [] # noqa: E501
|
|
246
|
+
|
|
247
|
+
return self.api_client.call_api(
|
|
248
|
+
'/api/v1/{deviceToken}/attributes{?clientKeys,sharedKeys}', 'GET',
|
|
249
|
+
path_params,
|
|
250
|
+
query_params,
|
|
251
|
+
header_params,
|
|
252
|
+
body=body_params,
|
|
253
|
+
post_params=form_params,
|
|
254
|
+
files=local_var_files,
|
|
255
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
256
|
+
auth_settings=auth_settings,
|
|
257
|
+
async_req=params.get('async_req'),
|
|
258
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
259
|
+
_preload_content=params.get('_preload_content', True),
|
|
260
|
+
_request_timeout=params.get('_request_timeout'),
|
|
261
|
+
collection_formats=collection_formats)
|
|
262
|
+
|
|
263
|
+
def get_firmware_using_get(self, device_token, title, version, **kwargs): # noqa: E501
|
|
264
|
+
"""Get Device Firmware (getFirmware) # noqa: E501
|
|
265
|
+
|
|
266
|
+
Downloads the current firmware package.When the platform initiates firmware update, it informs the device by updating the 'fw_title', 'fw_version', 'fw_checksum' and 'fw_checksum_algorithm' shared attributes.The 'fw_title' and 'fw_version' parameters must be supplied in this request to double-check that the firmware that device is downloading matches the firmware it expects to download. This is important, since the administrator may change the firmware assignment while device is downloading the firmware. Optional 'chunk' and 'size' parameters may be used to download the firmware in chunks. For example, device may request first 16 KB of firmware using 'chunk'=0 and 'size'=16384. Next 16KB using 'chunk'=1 and 'size'=16384. The last chunk should have less bytes then requested using 'size' parameter. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
267
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
268
|
+
asynchronous HTTP request, please pass async_req=True
|
|
269
|
+
>>> thread = api.get_firmware_using_get(device_token, title, version, async_req=True)
|
|
270
|
+
>>> result = thread.get()
|
|
271
|
+
|
|
272
|
+
:param async_req bool
|
|
273
|
+
:param str device_token: Your device access token. (required)
|
|
274
|
+
:param str title: Title of the firmware, corresponds to the value of 'fw_title' attribute. (required)
|
|
275
|
+
:param str version: Version of the firmware, corresponds to the value of 'fw_version' attribute. (required)
|
|
276
|
+
:param int size: Size of the chunk. Optional. Omit to download the entire file without chunks.
|
|
277
|
+
:param int chunk: Index of the chunk. Optional. Omit to download the entire file without chunks.
|
|
278
|
+
:return: DeferredResultResponseEntity
|
|
279
|
+
If the method is called asynchronously,
|
|
280
|
+
returns the request thread.
|
|
281
|
+
"""
|
|
282
|
+
kwargs['_return_http_data_only'] = True
|
|
283
|
+
if kwargs.get('async_req'):
|
|
284
|
+
return self.get_firmware_using_get_with_http_info(device_token, title, version, **kwargs) # noqa: E501
|
|
285
|
+
else:
|
|
286
|
+
(data) = self.get_firmware_using_get_with_http_info(device_token, title, version, **kwargs) # noqa: E501
|
|
287
|
+
return data
|
|
288
|
+
|
|
289
|
+
def get_firmware_using_get_with_http_info(self, device_token, title, version, **kwargs): # noqa: E501
|
|
290
|
+
"""Get Device Firmware (getFirmware) # noqa: E501
|
|
291
|
+
|
|
292
|
+
Downloads the current firmware package.When the platform initiates firmware update, it informs the device by updating the 'fw_title', 'fw_version', 'fw_checksum' and 'fw_checksum_algorithm' shared attributes.The 'fw_title' and 'fw_version' parameters must be supplied in this request to double-check that the firmware that device is downloading matches the firmware it expects to download. This is important, since the administrator may change the firmware assignment while device is downloading the firmware. Optional 'chunk' and 'size' parameters may be used to download the firmware in chunks. For example, device may request first 16 KB of firmware using 'chunk'=0 and 'size'=16384. Next 16KB using 'chunk'=1 and 'size'=16384. The last chunk should have less bytes then requested using 'size' parameter. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
293
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
294
|
+
asynchronous HTTP request, please pass async_req=True
|
|
295
|
+
>>> thread = api.get_firmware_using_get_with_http_info(device_token, title, version, async_req=True)
|
|
296
|
+
>>> result = thread.get()
|
|
297
|
+
|
|
298
|
+
:param async_req bool
|
|
299
|
+
:param str device_token: Your device access token. (required)
|
|
300
|
+
:param str title: Title of the firmware, corresponds to the value of 'fw_title' attribute. (required)
|
|
301
|
+
:param str version: Version of the firmware, corresponds to the value of 'fw_version' attribute. (required)
|
|
302
|
+
:param int size: Size of the chunk. Optional. Omit to download the entire file without chunks.
|
|
303
|
+
:param int chunk: Index of the chunk. Optional. Omit to download the entire file without chunks.
|
|
304
|
+
:return: DeferredResultResponseEntity
|
|
305
|
+
If the method is called asynchronously,
|
|
306
|
+
returns the request thread.
|
|
307
|
+
"""
|
|
308
|
+
|
|
309
|
+
all_params = ['device_token', 'title', 'version', 'size', 'chunk'] # noqa: E501
|
|
310
|
+
all_params.append('async_req')
|
|
311
|
+
all_params.append('_return_http_data_only')
|
|
312
|
+
all_params.append('_preload_content')
|
|
313
|
+
all_params.append('_request_timeout')
|
|
314
|
+
|
|
315
|
+
params = locals()
|
|
316
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
317
|
+
if key not in all_params:
|
|
318
|
+
raise TypeError(
|
|
319
|
+
"Got an unexpected keyword argument '%s'"
|
|
320
|
+
" to method get_firmware_using_get" % key
|
|
321
|
+
)
|
|
322
|
+
params[key] = val
|
|
323
|
+
del params['kwargs']
|
|
324
|
+
# verify the required parameter 'device_token' is set
|
|
325
|
+
if ('device_token' not in params or
|
|
326
|
+
params['device_token'] is None):
|
|
327
|
+
raise ValueError("Missing the required parameter `device_token` when calling `get_firmware_using_get`") # noqa: E501
|
|
328
|
+
# verify the required parameter 'title' is set
|
|
329
|
+
if ('title' not in params or
|
|
330
|
+
params['title'] is None):
|
|
331
|
+
raise ValueError("Missing the required parameter `title` when calling `get_firmware_using_get`") # noqa: E501
|
|
332
|
+
# verify the required parameter 'version' is set
|
|
333
|
+
if ('version' not in params or
|
|
334
|
+
params['version'] is None):
|
|
335
|
+
raise ValueError("Missing the required parameter `version` when calling `get_firmware_using_get`") # noqa: E501
|
|
336
|
+
|
|
337
|
+
collection_formats = {}
|
|
338
|
+
|
|
339
|
+
path_params = {}
|
|
340
|
+
if 'device_token' in params:
|
|
341
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
342
|
+
|
|
343
|
+
query_params = []
|
|
344
|
+
if 'title' in params:
|
|
345
|
+
query_params.append(('title', params['title'])) # noqa: E501
|
|
346
|
+
if 'version' in params:
|
|
347
|
+
query_params.append(('version', params['version'])) # noqa: E501
|
|
348
|
+
if 'size' in params:
|
|
349
|
+
query_params.append(('size', params['size'])) # noqa: E501
|
|
350
|
+
if 'chunk' in params:
|
|
351
|
+
query_params.append(('chunk', params['chunk'])) # noqa: E501
|
|
352
|
+
|
|
353
|
+
header_params = {}
|
|
354
|
+
|
|
355
|
+
form_params = []
|
|
356
|
+
local_var_files = {}
|
|
357
|
+
|
|
358
|
+
body_params = None
|
|
359
|
+
# HTTP header `Accept`
|
|
360
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
361
|
+
['application/json']) # noqa: E501
|
|
362
|
+
|
|
363
|
+
# Authentication setting
|
|
364
|
+
auth_settings = [] # noqa: E501
|
|
365
|
+
|
|
366
|
+
return self.api_client.call_api(
|
|
367
|
+
'/api/v1/{deviceToken}/firmware{?chunk,size,title,version}', 'GET',
|
|
368
|
+
path_params,
|
|
369
|
+
query_params,
|
|
370
|
+
header_params,
|
|
371
|
+
body=body_params,
|
|
372
|
+
post_params=form_params,
|
|
373
|
+
files=local_var_files,
|
|
374
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
375
|
+
auth_settings=auth_settings,
|
|
376
|
+
async_req=params.get('async_req'),
|
|
377
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
378
|
+
_preload_content=params.get('_preload_content', True),
|
|
379
|
+
_request_timeout=params.get('_request_timeout'),
|
|
380
|
+
collection_formats=collection_formats)
|
|
381
|
+
|
|
382
|
+
def get_software_using_get(self, device_token, title, version, **kwargs): # noqa: E501
|
|
383
|
+
"""Get Device Software (getSoftware) # noqa: E501
|
|
384
|
+
|
|
385
|
+
Downloads the current software package.When the platform initiates software update, it informs the device by updating the 'sw_title', 'sw_version', 'sw_checksum' and 'sw_checksum_algorithm' shared attributes.The 'sw_title' and 'sw_version' parameters must be supplied in this request to double-check that the software that device is downloading matches the software it expects to download. This is important, since the administrator may change the software assignment while device is downloading the software. Optional 'chunk' and 'size' parameters may be used to download the software in chunks. For example, device may request first 16 KB of software using 'chunk'=0 and 'size'=16384. Next 16KB using 'chunk'=1 and 'size'=16384. The last chunk should have less bytes then requested using 'size' parameter. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
386
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
387
|
+
asynchronous HTTP request, please pass async_req=True
|
|
388
|
+
>>> thread = api.get_software_using_get(device_token, title, version, async_req=True)
|
|
389
|
+
>>> result = thread.get()
|
|
390
|
+
|
|
391
|
+
:param async_req bool
|
|
392
|
+
:param str device_token: Your device access token. (required)
|
|
393
|
+
:param str title: Title of the software, corresponds to the value of 'sw_title' attribute. (required)
|
|
394
|
+
:param str version: Version of the software, corresponds to the value of 'sw_version' attribute. (required)
|
|
395
|
+
:param int size: Size of the chunk. Optional. Omit to download the entire file without using chunks.
|
|
396
|
+
:param int chunk: Index of the chunk. Optional. Omit to download the entire file without using chunks.
|
|
397
|
+
:return: DeferredResultResponseEntity
|
|
398
|
+
If the method is called asynchronously,
|
|
399
|
+
returns the request thread.
|
|
400
|
+
"""
|
|
401
|
+
kwargs['_return_http_data_only'] = True
|
|
402
|
+
if kwargs.get('async_req'):
|
|
403
|
+
return self.get_software_using_get_with_http_info(device_token, title, version, **kwargs) # noqa: E501
|
|
404
|
+
else:
|
|
405
|
+
(data) = self.get_software_using_get_with_http_info(device_token, title, version, **kwargs) # noqa: E501
|
|
406
|
+
return data
|
|
407
|
+
|
|
408
|
+
def get_software_using_get_with_http_info(self, device_token, title, version, **kwargs): # noqa: E501
|
|
409
|
+
"""Get Device Software (getSoftware) # noqa: E501
|
|
410
|
+
|
|
411
|
+
Downloads the current software package.When the platform initiates software update, it informs the device by updating the 'sw_title', 'sw_version', 'sw_checksum' and 'sw_checksum_algorithm' shared attributes.The 'sw_title' and 'sw_version' parameters must be supplied in this request to double-check that the software that device is downloading matches the software it expects to download. This is important, since the administrator may change the software assignment while device is downloading the software. Optional 'chunk' and 'size' parameters may be used to download the software in chunks. For example, device may request first 16 KB of software using 'chunk'=0 and 'size'=16384. Next 16KB using 'chunk'=1 and 'size'=16384. The last chunk should have less bytes then requested using 'size' parameter. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
412
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
413
|
+
asynchronous HTTP request, please pass async_req=True
|
|
414
|
+
>>> thread = api.get_software_using_get_with_http_info(device_token, title, version, async_req=True)
|
|
415
|
+
>>> result = thread.get()
|
|
416
|
+
|
|
417
|
+
:param async_req bool
|
|
418
|
+
:param str device_token: Your device access token. (required)
|
|
419
|
+
:param str title: Title of the software, corresponds to the value of 'sw_title' attribute. (required)
|
|
420
|
+
:param str version: Version of the software, corresponds to the value of 'sw_version' attribute. (required)
|
|
421
|
+
:param int size: Size of the chunk. Optional. Omit to download the entire file without using chunks.
|
|
422
|
+
:param int chunk: Index of the chunk. Optional. Omit to download the entire file without using chunks.
|
|
423
|
+
:return: DeferredResultResponseEntity
|
|
424
|
+
If the method is called asynchronously,
|
|
425
|
+
returns the request thread.
|
|
426
|
+
"""
|
|
427
|
+
|
|
428
|
+
all_params = ['device_token', 'title', 'version', 'size', 'chunk'] # noqa: E501
|
|
429
|
+
all_params.append('async_req')
|
|
430
|
+
all_params.append('_return_http_data_only')
|
|
431
|
+
all_params.append('_preload_content')
|
|
432
|
+
all_params.append('_request_timeout')
|
|
433
|
+
|
|
434
|
+
params = locals()
|
|
435
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
436
|
+
if key not in all_params:
|
|
437
|
+
raise TypeError(
|
|
438
|
+
"Got an unexpected keyword argument '%s'"
|
|
439
|
+
" to method get_software_using_get" % key
|
|
440
|
+
)
|
|
441
|
+
params[key] = val
|
|
442
|
+
del params['kwargs']
|
|
443
|
+
# verify the required parameter 'device_token' is set
|
|
444
|
+
if ('device_token' not in params or
|
|
445
|
+
params['device_token'] is None):
|
|
446
|
+
raise ValueError("Missing the required parameter `device_token` when calling `get_software_using_get`") # noqa: E501
|
|
447
|
+
# verify the required parameter 'title' is set
|
|
448
|
+
if ('title' not in params or
|
|
449
|
+
params['title'] is None):
|
|
450
|
+
raise ValueError("Missing the required parameter `title` when calling `get_software_using_get`") # noqa: E501
|
|
451
|
+
# verify the required parameter 'version' is set
|
|
452
|
+
if ('version' not in params or
|
|
453
|
+
params['version'] is None):
|
|
454
|
+
raise ValueError("Missing the required parameter `version` when calling `get_software_using_get`") # noqa: E501
|
|
455
|
+
|
|
456
|
+
collection_formats = {}
|
|
457
|
+
|
|
458
|
+
path_params = {}
|
|
459
|
+
if 'device_token' in params:
|
|
460
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
461
|
+
|
|
462
|
+
query_params = []
|
|
463
|
+
if 'title' in params:
|
|
464
|
+
query_params.append(('title', params['title'])) # noqa: E501
|
|
465
|
+
if 'version' in params:
|
|
466
|
+
query_params.append(('version', params['version'])) # noqa: E501
|
|
467
|
+
if 'size' in params:
|
|
468
|
+
query_params.append(('size', params['size'])) # noqa: E501
|
|
469
|
+
if 'chunk' in params:
|
|
470
|
+
query_params.append(('chunk', params['chunk'])) # noqa: E501
|
|
471
|
+
|
|
472
|
+
header_params = {}
|
|
473
|
+
|
|
474
|
+
form_params = []
|
|
475
|
+
local_var_files = {}
|
|
476
|
+
|
|
477
|
+
body_params = None
|
|
478
|
+
# HTTP header `Accept`
|
|
479
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
480
|
+
['application/json']) # noqa: E501
|
|
481
|
+
|
|
482
|
+
# Authentication setting
|
|
483
|
+
auth_settings = [] # noqa: E501
|
|
484
|
+
|
|
485
|
+
return self.api_client.call_api(
|
|
486
|
+
'/api/v1/{deviceToken}/software{?chunk,size,title,version}', 'GET',
|
|
487
|
+
path_params,
|
|
488
|
+
query_params,
|
|
489
|
+
header_params,
|
|
490
|
+
body=body_params,
|
|
491
|
+
post_params=form_params,
|
|
492
|
+
files=local_var_files,
|
|
493
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
494
|
+
auth_settings=auth_settings,
|
|
495
|
+
async_req=params.get('async_req'),
|
|
496
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
497
|
+
_preload_content=params.get('_preload_content', True),
|
|
498
|
+
_request_timeout=params.get('_request_timeout'),
|
|
499
|
+
collection_formats=collection_formats)
|
|
500
|
+
|
|
501
|
+
def post_device_attributes_using_post(self, device_token, **kwargs): # noqa: E501
|
|
502
|
+
"""Post attributes (postDeviceAttributes) # noqa: E501
|
|
503
|
+
|
|
504
|
+
Post client attribute updates on behalf of device. Example of the request: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
505
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
506
|
+
asynchronous HTTP request, please pass async_req=True
|
|
507
|
+
>>> thread = api.post_device_attributes_using_post(device_token, async_req=True)
|
|
508
|
+
>>> result = thread.get()
|
|
509
|
+
|
|
510
|
+
:param async_req bool
|
|
511
|
+
:param str device_token: Your device access token. (required)
|
|
512
|
+
:param str body:
|
|
513
|
+
:return: DeferredResultResponseEntity
|
|
514
|
+
If the method is called asynchronously,
|
|
515
|
+
returns the request thread.
|
|
516
|
+
"""
|
|
517
|
+
kwargs['_return_http_data_only'] = True
|
|
518
|
+
if kwargs.get('async_req'):
|
|
519
|
+
return self.post_device_attributes_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
520
|
+
else:
|
|
521
|
+
(data) = self.post_device_attributes_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
522
|
+
return data
|
|
523
|
+
|
|
524
|
+
def post_device_attributes_using_post_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
525
|
+
"""Post attributes (postDeviceAttributes) # noqa: E501
|
|
526
|
+
|
|
527
|
+
Post client attribute updates on behalf of device. Example of the request: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
528
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
529
|
+
asynchronous HTTP request, please pass async_req=True
|
|
530
|
+
>>> thread = api.post_device_attributes_using_post_with_http_info(device_token, async_req=True)
|
|
531
|
+
>>> result = thread.get()
|
|
532
|
+
|
|
533
|
+
:param async_req bool
|
|
534
|
+
:param str device_token: Your device access token. (required)
|
|
535
|
+
:param str body:
|
|
536
|
+
:return: DeferredResultResponseEntity
|
|
537
|
+
If the method is called asynchronously,
|
|
538
|
+
returns the request thread.
|
|
539
|
+
"""
|
|
540
|
+
|
|
541
|
+
all_params = ['device_token', 'body'] # noqa: E501
|
|
542
|
+
all_params.append('async_req')
|
|
543
|
+
all_params.append('_return_http_data_only')
|
|
544
|
+
all_params.append('_preload_content')
|
|
545
|
+
all_params.append('_request_timeout')
|
|
546
|
+
|
|
547
|
+
params = locals()
|
|
548
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
549
|
+
if key not in all_params:
|
|
550
|
+
raise TypeError(
|
|
551
|
+
"Got an unexpected keyword argument '%s'"
|
|
552
|
+
" to method post_device_attributes_using_post" % key
|
|
553
|
+
)
|
|
554
|
+
params[key] = val
|
|
555
|
+
del params['kwargs']
|
|
556
|
+
# verify the required parameter 'device_token' is set
|
|
557
|
+
if ('device_token' not in params or
|
|
558
|
+
params['device_token'] is None):
|
|
559
|
+
raise ValueError("Missing the required parameter `device_token` when calling `post_device_attributes_using_post`") # noqa: E501
|
|
560
|
+
|
|
561
|
+
collection_formats = {}
|
|
562
|
+
|
|
563
|
+
path_params = {}
|
|
564
|
+
if 'device_token' in params:
|
|
565
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
566
|
+
|
|
567
|
+
query_params = []
|
|
568
|
+
|
|
569
|
+
header_params = {}
|
|
570
|
+
|
|
571
|
+
form_params = []
|
|
572
|
+
local_var_files = {}
|
|
573
|
+
|
|
574
|
+
body_params = None
|
|
575
|
+
if 'body' in params:
|
|
576
|
+
body_params = params['body']
|
|
577
|
+
# HTTP header `Accept`
|
|
578
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
579
|
+
['application/json']) # noqa: E501
|
|
580
|
+
|
|
581
|
+
# HTTP header `Content-Type`
|
|
582
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
583
|
+
['application/json']) # noqa: E501
|
|
584
|
+
|
|
585
|
+
# Authentication setting
|
|
586
|
+
auth_settings = [] # noqa: E501
|
|
587
|
+
|
|
588
|
+
return self.api_client.call_api(
|
|
589
|
+
'/api/v1/{deviceToken}/attributes', 'POST',
|
|
590
|
+
path_params,
|
|
591
|
+
query_params,
|
|
592
|
+
header_params,
|
|
593
|
+
body=body_params,
|
|
594
|
+
post_params=form_params,
|
|
595
|
+
files=local_var_files,
|
|
596
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
597
|
+
auth_settings=auth_settings,
|
|
598
|
+
async_req=params.get('async_req'),
|
|
599
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
600
|
+
_preload_content=params.get('_preload_content', True),
|
|
601
|
+
_request_timeout=params.get('_request_timeout'),
|
|
602
|
+
collection_formats=collection_formats)
|
|
603
|
+
|
|
604
|
+
def post_rpc_request_using_post(self, device_token, **kwargs): # noqa: E501
|
|
605
|
+
"""Send the RPC command (postRpcRequest) # noqa: E501
|
|
606
|
+
|
|
607
|
+
Send the RPC request to server. The request payload is a JSON document that contains 'method' and 'params'. For example: ```json {\"method\": \"sumOnServer\", \"params\":{\"a\":2, \"b\":2}} ``` The response contains arbitrary JSON with the RPC reply. For example: ```json {\"result\": 4} ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
608
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
609
|
+
asynchronous HTTP request, please pass async_req=True
|
|
610
|
+
>>> thread = api.post_rpc_request_using_post(device_token, async_req=True)
|
|
611
|
+
>>> result = thread.get()
|
|
612
|
+
|
|
613
|
+
:param async_req bool
|
|
614
|
+
:param str device_token: Your device access token. (required)
|
|
615
|
+
:param str body:
|
|
616
|
+
:return: DeferredResultResponseEntity
|
|
617
|
+
If the method is called asynchronously,
|
|
618
|
+
returns the request thread.
|
|
619
|
+
"""
|
|
620
|
+
kwargs['_return_http_data_only'] = True
|
|
621
|
+
if kwargs.get('async_req'):
|
|
622
|
+
return self.post_rpc_request_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
623
|
+
else:
|
|
624
|
+
(data) = self.post_rpc_request_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
625
|
+
return data
|
|
626
|
+
|
|
627
|
+
def post_rpc_request_using_post_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
628
|
+
"""Send the RPC command (postRpcRequest) # noqa: E501
|
|
629
|
+
|
|
630
|
+
Send the RPC request to server. The request payload is a JSON document that contains 'method' and 'params'. For example: ```json {\"method\": \"sumOnServer\", \"params\":{\"a\":2, \"b\":2}} ``` The response contains arbitrary JSON with the RPC reply. For example: ```json {\"result\": 4} ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
631
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
632
|
+
asynchronous HTTP request, please pass async_req=True
|
|
633
|
+
>>> thread = api.post_rpc_request_using_post_with_http_info(device_token, async_req=True)
|
|
634
|
+
>>> result = thread.get()
|
|
635
|
+
|
|
636
|
+
:param async_req bool
|
|
637
|
+
:param str device_token: Your device access token. (required)
|
|
638
|
+
:param str body:
|
|
639
|
+
:return: DeferredResultResponseEntity
|
|
640
|
+
If the method is called asynchronously,
|
|
641
|
+
returns the request thread.
|
|
642
|
+
"""
|
|
643
|
+
|
|
644
|
+
all_params = ['device_token', 'body'] # noqa: E501
|
|
645
|
+
all_params.append('async_req')
|
|
646
|
+
all_params.append('_return_http_data_only')
|
|
647
|
+
all_params.append('_preload_content')
|
|
648
|
+
all_params.append('_request_timeout')
|
|
649
|
+
|
|
650
|
+
params = locals()
|
|
651
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
652
|
+
if key not in all_params:
|
|
653
|
+
raise TypeError(
|
|
654
|
+
"Got an unexpected keyword argument '%s'"
|
|
655
|
+
" to method post_rpc_request_using_post" % key
|
|
656
|
+
)
|
|
657
|
+
params[key] = val
|
|
658
|
+
del params['kwargs']
|
|
659
|
+
# verify the required parameter 'device_token' is set
|
|
660
|
+
if ('device_token' not in params or
|
|
661
|
+
params['device_token'] is None):
|
|
662
|
+
raise ValueError("Missing the required parameter `device_token` when calling `post_rpc_request_using_post`") # noqa: E501
|
|
663
|
+
|
|
664
|
+
collection_formats = {}
|
|
665
|
+
|
|
666
|
+
path_params = {}
|
|
667
|
+
if 'device_token' in params:
|
|
668
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
669
|
+
|
|
670
|
+
query_params = []
|
|
671
|
+
|
|
672
|
+
header_params = {}
|
|
673
|
+
|
|
674
|
+
form_params = []
|
|
675
|
+
local_var_files = {}
|
|
676
|
+
|
|
677
|
+
body_params = None
|
|
678
|
+
if 'body' in params:
|
|
679
|
+
body_params = params['body']
|
|
680
|
+
# HTTP header `Accept`
|
|
681
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
682
|
+
['application/json']) # noqa: E501
|
|
683
|
+
|
|
684
|
+
# HTTP header `Content-Type`
|
|
685
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
686
|
+
['application/json']) # noqa: E501
|
|
687
|
+
|
|
688
|
+
# Authentication setting
|
|
689
|
+
auth_settings = [] # noqa: E501
|
|
690
|
+
|
|
691
|
+
return self.api_client.call_api(
|
|
692
|
+
'/api/v1/{deviceToken}/rpc', 'POST',
|
|
693
|
+
path_params,
|
|
694
|
+
query_params,
|
|
695
|
+
header_params,
|
|
696
|
+
body=body_params,
|
|
697
|
+
post_params=form_params,
|
|
698
|
+
files=local_var_files,
|
|
699
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
700
|
+
auth_settings=auth_settings,
|
|
701
|
+
async_req=params.get('async_req'),
|
|
702
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
703
|
+
_preload_content=params.get('_preload_content', True),
|
|
704
|
+
_request_timeout=params.get('_request_timeout'),
|
|
705
|
+
collection_formats=collection_formats)
|
|
706
|
+
|
|
707
|
+
def post_telemetry_using_post(self, device_token, **kwargs): # noqa: E501
|
|
708
|
+
"""Post time-series data (postTelemetry) # noqa: E501
|
|
709
|
+
|
|
710
|
+
Post time-series data on behalf of device. Example of the request: The request payload is a JSON document with three possible formats: Simple format without timestamp. In such a case, current server time will be used: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` Single JSON object with timestamp: ```json {\"ts\":1634712287000,\"values\":{\"temperature\":26, \"humidity\":87}} ``` JSON array with timestamps: ```json [ {\"ts\":1634712287000,\"values\":{\"temperature\":26, \"humidity\":87}}, {\"ts\":1634712588000,\"values\":{\"temperature\":25, \"humidity\":88}} ] ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
711
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
712
|
+
asynchronous HTTP request, please pass async_req=True
|
|
713
|
+
>>> thread = api.post_telemetry_using_post(device_token, async_req=True)
|
|
714
|
+
>>> result = thread.get()
|
|
715
|
+
|
|
716
|
+
:param async_req bool
|
|
717
|
+
:param str device_token: Your device access token. (required)
|
|
718
|
+
:param str body:
|
|
719
|
+
:return: DeferredResultResponseEntity
|
|
720
|
+
If the method is called asynchronously,
|
|
721
|
+
returns the request thread.
|
|
722
|
+
"""
|
|
723
|
+
kwargs['_return_http_data_only'] = True
|
|
724
|
+
if kwargs.get('async_req'):
|
|
725
|
+
return self.post_telemetry_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
726
|
+
else:
|
|
727
|
+
(data) = self.post_telemetry_using_post_with_http_info(device_token, **kwargs) # noqa: E501
|
|
728
|
+
return data
|
|
729
|
+
|
|
730
|
+
def post_telemetry_using_post_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
731
|
+
"""Post time-series data (postTelemetry) # noqa: E501
|
|
732
|
+
|
|
733
|
+
Post time-series data on behalf of device. Example of the request: The request payload is a JSON document with three possible formats: Simple format without timestamp. In such a case, current server time will be used: ```json { \"stringKey\":\"value1\", \"booleanKey\":true, \"doubleKey\":42.0, \"longKey\":73, \"jsonKey\": { \"someNumber\": 42, \"someArray\": [1,2,3], \"someNestedObject\": {\"key\": \"value\"} } } ``` Single JSON object with timestamp: ```json {\"ts\":1634712287000,\"values\":{\"temperature\":26, \"humidity\":87}} ``` JSON array with timestamps: ```json [ {\"ts\":1634712287000,\"values\":{\"temperature\":26, \"humidity\":87}}, {\"ts\":1634712588000,\"values\":{\"temperature\":25, \"humidity\":88}} ] ``` The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
734
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
735
|
+
asynchronous HTTP request, please pass async_req=True
|
|
736
|
+
>>> thread = api.post_telemetry_using_post_with_http_info(device_token, async_req=True)
|
|
737
|
+
>>> result = thread.get()
|
|
738
|
+
|
|
739
|
+
:param async_req bool
|
|
740
|
+
:param str device_token: Your device access token. (required)
|
|
741
|
+
:param str body:
|
|
742
|
+
:return: DeferredResultResponseEntity
|
|
743
|
+
If the method is called asynchronously,
|
|
744
|
+
returns the request thread.
|
|
745
|
+
"""
|
|
746
|
+
|
|
747
|
+
all_params = ['device_token', 'body'] # noqa: E501
|
|
748
|
+
all_params.append('async_req')
|
|
749
|
+
all_params.append('_return_http_data_only')
|
|
750
|
+
all_params.append('_preload_content')
|
|
751
|
+
all_params.append('_request_timeout')
|
|
752
|
+
|
|
753
|
+
params = locals()
|
|
754
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
755
|
+
if key not in all_params:
|
|
756
|
+
raise TypeError(
|
|
757
|
+
"Got an unexpected keyword argument '%s'"
|
|
758
|
+
" to method post_telemetry_using_post" % key
|
|
759
|
+
)
|
|
760
|
+
params[key] = val
|
|
761
|
+
del params['kwargs']
|
|
762
|
+
# verify the required parameter 'device_token' is set
|
|
763
|
+
if ('device_token' not in params or
|
|
764
|
+
params['device_token'] is None):
|
|
765
|
+
raise ValueError("Missing the required parameter `device_token` when calling `post_telemetry_using_post`") # noqa: E501
|
|
766
|
+
|
|
767
|
+
collection_formats = {}
|
|
768
|
+
|
|
769
|
+
path_params = {}
|
|
770
|
+
if 'device_token' in params:
|
|
771
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
772
|
+
|
|
773
|
+
query_params = []
|
|
774
|
+
|
|
775
|
+
header_params = {}
|
|
776
|
+
|
|
777
|
+
form_params = []
|
|
778
|
+
local_var_files = {}
|
|
779
|
+
|
|
780
|
+
body_params = None
|
|
781
|
+
if 'body' in params:
|
|
782
|
+
body_params = params['body']
|
|
783
|
+
# HTTP header `Accept`
|
|
784
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
785
|
+
['application/json']) # noqa: E501
|
|
786
|
+
|
|
787
|
+
# HTTP header `Content-Type`
|
|
788
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
789
|
+
['application/json']) # noqa: E501
|
|
790
|
+
|
|
791
|
+
# Authentication setting
|
|
792
|
+
auth_settings = [] # noqa: E501
|
|
793
|
+
|
|
794
|
+
return self.api_client.call_api(
|
|
795
|
+
'/api/v1/{deviceToken}/telemetry', 'POST',
|
|
796
|
+
path_params,
|
|
797
|
+
query_params,
|
|
798
|
+
header_params,
|
|
799
|
+
body=body_params,
|
|
800
|
+
post_params=form_params,
|
|
801
|
+
files=local_var_files,
|
|
802
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
803
|
+
auth_settings=auth_settings,
|
|
804
|
+
async_req=params.get('async_req'),
|
|
805
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
806
|
+
_preload_content=params.get('_preload_content', True),
|
|
807
|
+
_request_timeout=params.get('_request_timeout'),
|
|
808
|
+
collection_formats=collection_formats)
|
|
809
|
+
|
|
810
|
+
def provision_device_using_post(self, **kwargs): # noqa: E501
|
|
811
|
+
"""Provision new device (provisionDevice) # noqa: E501
|
|
812
|
+
|
|
813
|
+
Exchange the provision request to the device credentials. See more info about provisioning in the corresponding 'Device provisioning' platform documentation.Requires valid JSON request with the following format: ```json { \"deviceName\": \"NEW_DEVICE_NAME\", \"provisionDeviceKey\": \"u7piawkboq8v32dmcmpp\", \"provisionDeviceSecret\": \"jpmwdn8ptlswmf4m29bw\" } ``` Where 'deviceName' is the name of enw or existing device which depends on the provisioning strategy. The 'provisionDeviceKey' and 'provisionDeviceSecret' matches info configured in one of the existing device profiles. The result of the successful call is the JSON object that contains new credentials: ```json { \"credentialsType\":\"ACCESS_TOKEN\", \"credentialsValue\":\"DEVICE_ACCESS_TOKEN\", \"status\":\"SUCCESS\" } ``` # noqa: E501
|
|
814
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
815
|
+
asynchronous HTTP request, please pass async_req=True
|
|
816
|
+
>>> thread = api.provision_device_using_post(async_req=True)
|
|
817
|
+
>>> result = thread.get()
|
|
818
|
+
|
|
819
|
+
:param async_req bool
|
|
820
|
+
:param str body:
|
|
821
|
+
:return: DeferredResultResponseEntity
|
|
822
|
+
If the method is called asynchronously,
|
|
823
|
+
returns the request thread.
|
|
824
|
+
"""
|
|
825
|
+
kwargs['_return_http_data_only'] = True
|
|
826
|
+
if kwargs.get('async_req'):
|
|
827
|
+
return self.provision_device_using_post_with_http_info(**kwargs) # noqa: E501
|
|
828
|
+
else:
|
|
829
|
+
(data) = self.provision_device_using_post_with_http_info(**kwargs) # noqa: E501
|
|
830
|
+
return data
|
|
831
|
+
|
|
832
|
+
def provision_device_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
833
|
+
"""Provision new device (provisionDevice) # noqa: E501
|
|
834
|
+
|
|
835
|
+
Exchange the provision request to the device credentials. See more info about provisioning in the corresponding 'Device provisioning' platform documentation.Requires valid JSON request with the following format: ```json { \"deviceName\": \"NEW_DEVICE_NAME\", \"provisionDeviceKey\": \"u7piawkboq8v32dmcmpp\", \"provisionDeviceSecret\": \"jpmwdn8ptlswmf4m29bw\" } ``` Where 'deviceName' is the name of enw or existing device which depends on the provisioning strategy. The 'provisionDeviceKey' and 'provisionDeviceSecret' matches info configured in one of the existing device profiles. The result of the successful call is the JSON object that contains new credentials: ```json { \"credentialsType\":\"ACCESS_TOKEN\", \"credentialsValue\":\"DEVICE_ACCESS_TOKEN\", \"status\":\"SUCCESS\" } ``` # noqa: E501
|
|
836
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
837
|
+
asynchronous HTTP request, please pass async_req=True
|
|
838
|
+
>>> thread = api.provision_device_using_post_with_http_info(async_req=True)
|
|
839
|
+
>>> result = thread.get()
|
|
840
|
+
|
|
841
|
+
:param async_req bool
|
|
842
|
+
:param str body:
|
|
843
|
+
:return: DeferredResultResponseEntity
|
|
844
|
+
If the method is called asynchronously,
|
|
845
|
+
returns the request thread.
|
|
846
|
+
"""
|
|
847
|
+
|
|
848
|
+
all_params = ['body'] # noqa: E501
|
|
849
|
+
all_params.append('async_req')
|
|
850
|
+
all_params.append('_return_http_data_only')
|
|
851
|
+
all_params.append('_preload_content')
|
|
852
|
+
all_params.append('_request_timeout')
|
|
853
|
+
|
|
854
|
+
params = locals()
|
|
855
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
856
|
+
if key not in all_params:
|
|
857
|
+
raise TypeError(
|
|
858
|
+
"Got an unexpected keyword argument '%s'"
|
|
859
|
+
" to method provision_device_using_post" % key
|
|
860
|
+
)
|
|
861
|
+
params[key] = val
|
|
862
|
+
del params['kwargs']
|
|
863
|
+
|
|
864
|
+
collection_formats = {}
|
|
865
|
+
|
|
866
|
+
path_params = {}
|
|
867
|
+
|
|
868
|
+
query_params = []
|
|
869
|
+
|
|
870
|
+
header_params = {}
|
|
871
|
+
|
|
872
|
+
form_params = []
|
|
873
|
+
local_var_files = {}
|
|
874
|
+
|
|
875
|
+
body_params = None
|
|
876
|
+
if 'body' in params:
|
|
877
|
+
body_params = params['body']
|
|
878
|
+
# HTTP header `Accept`
|
|
879
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
880
|
+
['application/json']) # noqa: E501
|
|
881
|
+
|
|
882
|
+
# HTTP header `Content-Type`
|
|
883
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
884
|
+
['application/json']) # noqa: E501
|
|
885
|
+
|
|
886
|
+
# Authentication setting
|
|
887
|
+
auth_settings = [] # noqa: E501
|
|
888
|
+
|
|
889
|
+
return self.api_client.call_api(
|
|
890
|
+
'/api/v1/provision', 'POST',
|
|
891
|
+
path_params,
|
|
892
|
+
query_params,
|
|
893
|
+
header_params,
|
|
894
|
+
body=body_params,
|
|
895
|
+
post_params=form_params,
|
|
896
|
+
files=local_var_files,
|
|
897
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
898
|
+
auth_settings=auth_settings,
|
|
899
|
+
async_req=params.get('async_req'),
|
|
900
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
901
|
+
_preload_content=params.get('_preload_content', True),
|
|
902
|
+
_request_timeout=params.get('_request_timeout'),
|
|
903
|
+
collection_formats=collection_formats)
|
|
904
|
+
|
|
905
|
+
def reply_to_command_using_post(self, device_token, request_id, **kwargs): # noqa: E501
|
|
906
|
+
"""Reply to RPC commands (replyToCommand) # noqa: E501
|
|
907
|
+
|
|
908
|
+
Replies to server originated RPC command identified by 'requestId' parameter. The response is arbitrary JSON. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
909
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
910
|
+
asynchronous HTTP request, please pass async_req=True
|
|
911
|
+
>>> thread = api.reply_to_command_using_post(device_token, request_id, async_req=True)
|
|
912
|
+
>>> result = thread.get()
|
|
913
|
+
|
|
914
|
+
:param async_req bool
|
|
915
|
+
:param str device_token: Your device access token. (required)
|
|
916
|
+
:param int request_id: RPC request id from the incoming RPC request (required)
|
|
917
|
+
:param str body:
|
|
918
|
+
:return: DeferredResultResponseEntity
|
|
919
|
+
If the method is called asynchronously,
|
|
920
|
+
returns the request thread.
|
|
921
|
+
"""
|
|
922
|
+
kwargs['_return_http_data_only'] = True
|
|
923
|
+
if kwargs.get('async_req'):
|
|
924
|
+
return self.reply_to_command_using_post_with_http_info(device_token, request_id, **kwargs) # noqa: E501
|
|
925
|
+
else:
|
|
926
|
+
(data) = self.reply_to_command_using_post_with_http_info(device_token, request_id, **kwargs) # noqa: E501
|
|
927
|
+
return data
|
|
928
|
+
|
|
929
|
+
def reply_to_command_using_post_with_http_info(self, device_token, request_id, **kwargs): # noqa: E501
|
|
930
|
+
"""Reply to RPC commands (replyToCommand) # noqa: E501
|
|
931
|
+
|
|
932
|
+
Replies to server originated RPC command identified by 'requestId' parameter. The response is arbitrary JSON. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
933
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
934
|
+
asynchronous HTTP request, please pass async_req=True
|
|
935
|
+
>>> thread = api.reply_to_command_using_post_with_http_info(device_token, request_id, async_req=True)
|
|
936
|
+
>>> result = thread.get()
|
|
937
|
+
|
|
938
|
+
:param async_req bool
|
|
939
|
+
:param str device_token: Your device access token. (required)
|
|
940
|
+
:param int request_id: RPC request id from the incoming RPC request (required)
|
|
941
|
+
:param str body:
|
|
942
|
+
:return: DeferredResultResponseEntity
|
|
943
|
+
If the method is called asynchronously,
|
|
944
|
+
returns the request thread.
|
|
945
|
+
"""
|
|
946
|
+
|
|
947
|
+
all_params = ['device_token', 'request_id', 'body'] # noqa: E501
|
|
948
|
+
all_params.append('async_req')
|
|
949
|
+
all_params.append('_return_http_data_only')
|
|
950
|
+
all_params.append('_preload_content')
|
|
951
|
+
all_params.append('_request_timeout')
|
|
952
|
+
|
|
953
|
+
params = locals()
|
|
954
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
955
|
+
if key not in all_params:
|
|
956
|
+
raise TypeError(
|
|
957
|
+
"Got an unexpected keyword argument '%s'"
|
|
958
|
+
" to method reply_to_command_using_post" % key
|
|
959
|
+
)
|
|
960
|
+
params[key] = val
|
|
961
|
+
del params['kwargs']
|
|
962
|
+
# verify the required parameter 'device_token' is set
|
|
963
|
+
if ('device_token' not in params or
|
|
964
|
+
params['device_token'] is None):
|
|
965
|
+
raise ValueError("Missing the required parameter `device_token` when calling `reply_to_command_using_post`") # noqa: E501
|
|
966
|
+
# verify the required parameter 'request_id' is set
|
|
967
|
+
if ('request_id' not in params or
|
|
968
|
+
params['request_id'] is None):
|
|
969
|
+
raise ValueError("Missing the required parameter `request_id` when calling `reply_to_command_using_post`") # noqa: E501
|
|
970
|
+
|
|
971
|
+
collection_formats = {}
|
|
972
|
+
|
|
973
|
+
path_params = {}
|
|
974
|
+
if 'device_token' in params:
|
|
975
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
976
|
+
if 'request_id' in params:
|
|
977
|
+
path_params['requestId'] = params['request_id'] # noqa: E501
|
|
978
|
+
|
|
979
|
+
query_params = []
|
|
980
|
+
|
|
981
|
+
header_params = {}
|
|
982
|
+
|
|
983
|
+
form_params = []
|
|
984
|
+
local_var_files = {}
|
|
985
|
+
|
|
986
|
+
body_params = None
|
|
987
|
+
if 'body' in params:
|
|
988
|
+
body_params = params['body']
|
|
989
|
+
# HTTP header `Accept`
|
|
990
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
991
|
+
['application/json']) # noqa: E501
|
|
992
|
+
|
|
993
|
+
# HTTP header `Content-Type`
|
|
994
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
995
|
+
['application/json']) # noqa: E501
|
|
996
|
+
|
|
997
|
+
# Authentication setting
|
|
998
|
+
auth_settings = [] # noqa: E501
|
|
999
|
+
|
|
1000
|
+
return self.api_client.call_api(
|
|
1001
|
+
'/api/v1/{deviceToken}/rpc/{requestId}', 'POST',
|
|
1002
|
+
path_params,
|
|
1003
|
+
query_params,
|
|
1004
|
+
header_params,
|
|
1005
|
+
body=body_params,
|
|
1006
|
+
post_params=form_params,
|
|
1007
|
+
files=local_var_files,
|
|
1008
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
1009
|
+
auth_settings=auth_settings,
|
|
1010
|
+
async_req=params.get('async_req'),
|
|
1011
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1012
|
+
_preload_content=params.get('_preload_content', True),
|
|
1013
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1014
|
+
collection_formats=collection_formats)
|
|
1015
|
+
|
|
1016
|
+
def subscribe_to_attributes_using_get(self, device_token, **kwargs): # noqa: E501
|
|
1017
|
+
"""Subscribe to attribute updates (subscribeToAttributes) (Deprecated) # noqa: E501
|
|
1018
|
+
|
|
1019
|
+
Subscribes to client and shared scope attribute updates using http long polling. Deprecated, since long polling is resource and network consuming. Consider using MQTT or CoAP protocol for light-weight real-time updates. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
1020
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1021
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1022
|
+
>>> thread = api.subscribe_to_attributes_using_get(device_token, async_req=True)
|
|
1023
|
+
>>> result = thread.get()
|
|
1024
|
+
|
|
1025
|
+
:param async_req bool
|
|
1026
|
+
:param str device_token: Your device access token. (required)
|
|
1027
|
+
:param int timeout: Optional timeout of the long poll. Typically less then 60 seconds, since limited on the server side.
|
|
1028
|
+
:return: DeferredResultResponseEntity
|
|
1029
|
+
If the method is called asynchronously,
|
|
1030
|
+
returns the request thread.
|
|
1031
|
+
"""
|
|
1032
|
+
kwargs['_return_http_data_only'] = True
|
|
1033
|
+
if kwargs.get('async_req'):
|
|
1034
|
+
return self.subscribe_to_attributes_using_get_with_http_info(device_token, **kwargs) # noqa: E501
|
|
1035
|
+
else:
|
|
1036
|
+
(data) = self.subscribe_to_attributes_using_get_with_http_info(device_token, **kwargs) # noqa: E501
|
|
1037
|
+
return data
|
|
1038
|
+
|
|
1039
|
+
def subscribe_to_attributes_using_get_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
1040
|
+
"""Subscribe to attribute updates (subscribeToAttributes) (Deprecated) # noqa: E501
|
|
1041
|
+
|
|
1042
|
+
Subscribes to client and shared scope attribute updates using http long polling. Deprecated, since long polling is resource and network consuming. Consider using MQTT or CoAP protocol for light-weight real-time updates. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
1043
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1044
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1045
|
+
>>> thread = api.subscribe_to_attributes_using_get_with_http_info(device_token, async_req=True)
|
|
1046
|
+
>>> result = thread.get()
|
|
1047
|
+
|
|
1048
|
+
:param async_req bool
|
|
1049
|
+
:param str device_token: Your device access token. (required)
|
|
1050
|
+
:param int timeout: Optional timeout of the long poll. Typically less then 60 seconds, since limited on the server side.
|
|
1051
|
+
:return: DeferredResultResponseEntity
|
|
1052
|
+
If the method is called asynchronously,
|
|
1053
|
+
returns the request thread.
|
|
1054
|
+
"""
|
|
1055
|
+
|
|
1056
|
+
all_params = ['device_token', 'timeout'] # noqa: E501
|
|
1057
|
+
all_params.append('async_req')
|
|
1058
|
+
all_params.append('_return_http_data_only')
|
|
1059
|
+
all_params.append('_preload_content')
|
|
1060
|
+
all_params.append('_request_timeout')
|
|
1061
|
+
|
|
1062
|
+
params = locals()
|
|
1063
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1064
|
+
if key not in all_params:
|
|
1065
|
+
raise TypeError(
|
|
1066
|
+
"Got an unexpected keyword argument '%s'"
|
|
1067
|
+
" to method subscribe_to_attributes_using_get" % key
|
|
1068
|
+
)
|
|
1069
|
+
params[key] = val
|
|
1070
|
+
del params['kwargs']
|
|
1071
|
+
# verify the required parameter 'device_token' is set
|
|
1072
|
+
if ('device_token' not in params or
|
|
1073
|
+
params['device_token'] is None):
|
|
1074
|
+
raise ValueError("Missing the required parameter `device_token` when calling `subscribe_to_attributes_using_get`") # noqa: E501
|
|
1075
|
+
|
|
1076
|
+
collection_formats = {}
|
|
1077
|
+
|
|
1078
|
+
path_params = {}
|
|
1079
|
+
if 'device_token' in params:
|
|
1080
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
1081
|
+
|
|
1082
|
+
query_params = []
|
|
1083
|
+
if 'timeout' in params:
|
|
1084
|
+
query_params.append(('timeout', params['timeout'])) # noqa: E501
|
|
1085
|
+
|
|
1086
|
+
header_params = {}
|
|
1087
|
+
|
|
1088
|
+
form_params = []
|
|
1089
|
+
local_var_files = {}
|
|
1090
|
+
|
|
1091
|
+
body_params = None
|
|
1092
|
+
# HTTP header `Accept`
|
|
1093
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1094
|
+
['application/json']) # noqa: E501
|
|
1095
|
+
|
|
1096
|
+
# Authentication setting
|
|
1097
|
+
auth_settings = [] # noqa: E501
|
|
1098
|
+
|
|
1099
|
+
return self.api_client.call_api(
|
|
1100
|
+
'/api/v1/{deviceToken}/attributes/updates{?timeout}', 'GET',
|
|
1101
|
+
path_params,
|
|
1102
|
+
query_params,
|
|
1103
|
+
header_params,
|
|
1104
|
+
body=body_params,
|
|
1105
|
+
post_params=form_params,
|
|
1106
|
+
files=local_var_files,
|
|
1107
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
1108
|
+
auth_settings=auth_settings,
|
|
1109
|
+
async_req=params.get('async_req'),
|
|
1110
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1111
|
+
_preload_content=params.get('_preload_content', True),
|
|
1112
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1113
|
+
collection_formats=collection_formats)
|
|
1114
|
+
|
|
1115
|
+
def subscribe_to_commands_using_get(self, device_token, **kwargs): # noqa: E501
|
|
1116
|
+
"""Subscribe to RPC commands (subscribeToCommands) (Deprecated) # noqa: E501
|
|
1117
|
+
|
|
1118
|
+
Subscribes to RPC commands using http long polling. Deprecated, since long polling is resource and network consuming. Consider using MQTT or CoAP protocol for light-weight real-time updates. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
1119
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1120
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1121
|
+
>>> thread = api.subscribe_to_commands_using_get(device_token, async_req=True)
|
|
1122
|
+
>>> result = thread.get()
|
|
1123
|
+
|
|
1124
|
+
:param async_req bool
|
|
1125
|
+
:param str device_token: Your device access token. (required)
|
|
1126
|
+
:param int timeout: Optional timeout of the long poll. Typically less then 60 seconds, since limited on the server side.
|
|
1127
|
+
:return: DeferredResultResponseEntity
|
|
1128
|
+
If the method is called asynchronously,
|
|
1129
|
+
returns the request thread.
|
|
1130
|
+
"""
|
|
1131
|
+
kwargs['_return_http_data_only'] = True
|
|
1132
|
+
if kwargs.get('async_req'):
|
|
1133
|
+
return self.subscribe_to_commands_using_get_with_http_info(device_token, **kwargs) # noqa: E501
|
|
1134
|
+
else:
|
|
1135
|
+
(data) = self.subscribe_to_commands_using_get_with_http_info(device_token, **kwargs) # noqa: E501
|
|
1136
|
+
return data
|
|
1137
|
+
|
|
1138
|
+
def subscribe_to_commands_using_get_with_http_info(self, device_token, **kwargs): # noqa: E501
|
|
1139
|
+
"""Subscribe to RPC commands (subscribeToCommands) (Deprecated) # noqa: E501
|
|
1140
|
+
|
|
1141
|
+
Subscribes to RPC commands using http long polling. Deprecated, since long polling is resource and network consuming. Consider using MQTT or CoAP protocol for light-weight real-time updates. The API call is designed to be used by device firmware and requires device access token ('deviceToken'). It is not recommended to use this API call by third-party scripts, rule-engine or platform widgets (use 'Telemetry Controller' instead). # noqa: E501
|
|
1142
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1143
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1144
|
+
>>> thread = api.subscribe_to_commands_using_get_with_http_info(device_token, async_req=True)
|
|
1145
|
+
>>> result = thread.get()
|
|
1146
|
+
|
|
1147
|
+
:param async_req bool
|
|
1148
|
+
:param str device_token: Your device access token. (required)
|
|
1149
|
+
:param int timeout: Optional timeout of the long poll. Typically less then 60 seconds, since limited on the server side.
|
|
1150
|
+
:return: DeferredResultResponseEntity
|
|
1151
|
+
If the method is called asynchronously,
|
|
1152
|
+
returns the request thread.
|
|
1153
|
+
"""
|
|
1154
|
+
|
|
1155
|
+
all_params = ['device_token', 'timeout'] # noqa: E501
|
|
1156
|
+
all_params.append('async_req')
|
|
1157
|
+
all_params.append('_return_http_data_only')
|
|
1158
|
+
all_params.append('_preload_content')
|
|
1159
|
+
all_params.append('_request_timeout')
|
|
1160
|
+
|
|
1161
|
+
params = locals()
|
|
1162
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1163
|
+
if key not in all_params:
|
|
1164
|
+
raise TypeError(
|
|
1165
|
+
"Got an unexpected keyword argument '%s'"
|
|
1166
|
+
" to method subscribe_to_commands_using_get" % key
|
|
1167
|
+
)
|
|
1168
|
+
params[key] = val
|
|
1169
|
+
del params['kwargs']
|
|
1170
|
+
# verify the required parameter 'device_token' is set
|
|
1171
|
+
if ('device_token' not in params or
|
|
1172
|
+
params['device_token'] is None):
|
|
1173
|
+
raise ValueError("Missing the required parameter `device_token` when calling `subscribe_to_commands_using_get`") # noqa: E501
|
|
1174
|
+
|
|
1175
|
+
collection_formats = {}
|
|
1176
|
+
|
|
1177
|
+
path_params = {}
|
|
1178
|
+
if 'device_token' in params:
|
|
1179
|
+
path_params['deviceToken'] = params['device_token'] # noqa: E501
|
|
1180
|
+
|
|
1181
|
+
query_params = []
|
|
1182
|
+
if 'timeout' in params:
|
|
1183
|
+
query_params.append(('timeout', params['timeout'])) # noqa: E501
|
|
1184
|
+
|
|
1185
|
+
header_params = {}
|
|
1186
|
+
|
|
1187
|
+
form_params = []
|
|
1188
|
+
local_var_files = {}
|
|
1189
|
+
|
|
1190
|
+
body_params = None
|
|
1191
|
+
# HTTP header `Accept`
|
|
1192
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1193
|
+
['application/json']) # noqa: E501
|
|
1194
|
+
|
|
1195
|
+
# Authentication setting
|
|
1196
|
+
auth_settings = [] # noqa: E501
|
|
1197
|
+
|
|
1198
|
+
return self.api_client.call_api(
|
|
1199
|
+
'/api/v1/{deviceToken}/rpc{?timeout}', 'GET',
|
|
1200
|
+
path_params,
|
|
1201
|
+
query_params,
|
|
1202
|
+
header_params,
|
|
1203
|
+
body=body_params,
|
|
1204
|
+
post_params=form_params,
|
|
1205
|
+
files=local_var_files,
|
|
1206
|
+
response_type='DeferredResultResponseEntity', # noqa: E501
|
|
1207
|
+
auth_settings=auth_settings,
|
|
1208
|
+
async_req=params.get('async_req'),
|
|
1209
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1210
|
+
_preload_content=params.get('_preload_content', True),
|
|
1211
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1212
|
+
collection_formats=collection_formats)
|