tb-rest-client 3.9.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +16 -0
- tb_rest_client/api/__init__.py +14 -0
- tb_rest_client/api/api_ce/__init__.py +66 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2250 -0
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +376 -0
- tb_rest_client/api/api_ce/alarm_controller_api.py +1639 -0
- tb_rest_client/api/api_ce/asset_controller_api.py +2040 -0
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +934 -0
- tb_rest_client/api/api_ce/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_ce/auth_controller_api.py +882 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_ce/customer_controller_api.py +731 -0
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2364 -0
- tb_rest_client/api/api_ce/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_ce/device_controller_api.py +2737 -0
- tb_rest_client/api/api_ce/device_profile_controller_api.py +1120 -0
- tb_rest_client/api/api_ce/domain_controller_api.py +563 -0
- tb_rest_client/api/api_ce/edge_controller_api.py +2475 -0
- tb_rest_client/api/api_ce/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +1327 -0
- tb_rest_client/api/api_ce/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_ce/entity_view_controller_api.py +1828 -0
- tb_rest_client/api/api_ce/event_controller_api.py +623 -0
- tb_rest_client/api/api_ce/image_controller_api.py +1295 -0
- tb_rest_client/api/api_ce/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_ce/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +563 -0
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +508 -0
- tb_rest_client/api/api_ce/notification_controller_api.py +1480 -0
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_ce/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_ce/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +915 -0
- tb_rest_client/api/api_ce/ota_package_controller_api.py +879 -0
- tb_rest_client/api/api_ce/qr_code_settings_controller_api.py +508 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +558 -0
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +352 -0
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_ce/rule_engine_controller_api.py +515 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_ce/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_ce/tenant_controller_api.py +657 -0
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_ce/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_ce/user_controller_api.py +2645 -0
- tb_rest_client/api/api_ce/widget_type_controller_api.py +1505 -0
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +752 -0
- tb_rest_client/api/api_pe/__init__.py +67 -0
- tb_rest_client/api/api_pe/admin_controller_api.py +2310 -0
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +372 -0
- tb_rest_client/api/api_pe/alarm_controller_api.py +1629 -0
- tb_rest_client/api/api_pe/asset_controller_api.py +1648 -0
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +1029 -0
- tb_rest_client/api/api_pe/audit_log_controller_api.py +587 -0
- tb_rest_client/api/api_pe/auth_controller_api.py +882 -0
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +868 -0
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +554 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +298 -0
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +340 -0
- tb_rest_client/api/api_pe/converter_controller_api.py +851 -0
- tb_rest_client/api/api_pe/converter_library_controller_api.py +915 -0
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +1090 -0
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +757 -0
- tb_rest_client/api/api_pe/customer_controller_api.py +1413 -0
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2194 -0
- tb_rest_client/api/api_pe/device_api_controller_api.py +1212 -0
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +332 -0
- tb_rest_client/api/api_pe/device_controller_api.py +2468 -0
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +334 -0
- tb_rest_client/api/api_pe/device_profile_controller_api.py +1215 -0
- tb_rest_client/api/api_pe/domain_controller_api.py +549 -0
- tb_rest_client/api/api_pe/edge_controller_api.py +2638 -0
- tb_rest_client/api/api_pe/edge_event_controller_api.py +178 -0
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +1335 -0
- tb_rest_client/api/api_pe/entity_group_controller_api.py +3936 -0
- tb_rest_client/api/api_pe/entity_query_controller_api.py +542 -0
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +1355 -0
- tb_rest_client/api/api_pe/entity_view_controller_api.py +1549 -0
- tb_rest_client/api/api_pe/event_controller_api.py +623 -0
- tb_rest_client/api/api_pe/group_permission_controller_api.py +720 -0
- tb_rest_client/api/api_pe/http_integration_controller_api.py +358 -0
- tb_rest_client/api/api_pe/image_controller_api.py +1505 -0
- tb_rest_client/api/api_pe/integration_controller_api.py +1592 -0
- tb_rest_client/api/api_pe/login_endpoint_api.py +142 -0
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +142 -0
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +134 -0
- tb_rest_client/api/api_pe/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +549 -0
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +581 -0
- tb_rest_client/api/api_pe/notification_controller_api.py +1476 -0
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +447 -0
- tb_rest_client/api/api_pe/notification_target_controller_api.py +776 -0
- tb_rest_client/api/api_pe/notification_template_controller_api.py +550 -0
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +324 -0
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +816 -0
- tb_rest_client/api/api_pe/ota_package_controller_api.py +1010 -0
- tb_rest_client/api/api_pe/owner_controller_api.py +285 -0
- tb_rest_client/api/api_pe/qr_code_settings_controller_api.py +595 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +558 -0
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +339 -0
- tb_rest_client/api/api_pe/report_controller_api.py +245 -0
- tb_rest_client/api/api_pe/role_controller_api.py +546 -0
- tb_rest_client/api/api_pe/rpc_controller_api.py +257 -0
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +253 -0
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +570 -0
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2201 -0
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +499 -0
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +1140 -0
- tb_rest_client/api/api_pe/self_registration_controller_api.py +587 -0
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/sign_up_controller_api.py +882 -0
- tb_rest_client/api/api_pe/solution_controller_api.py +514 -0
- tb_rest_client/api/api_pe/subscription_controller_api.py +310 -0
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +838 -0
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +1379 -0
- tb_rest_client/api/api_pe/telemetry_controller_api.py +1808 -0
- tb_rest_client/api/api_pe/tenant_controller_api.py +750 -0
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +932 -0
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1741 -0
- tb_rest_client/api/api_pe/translation_controller_api.py +690 -0
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +890 -0
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +332 -0
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +134 -0
- tb_rest_client/api/api_pe/usage_info_controller_api.py +132 -0
- tb_rest_client/api/api_pe/user_controller_api.py +3328 -0
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +134 -0
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +1056 -0
- tb_rest_client/api/api_pe/widget_type_controller_api.py +1410 -0
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +847 -0
- tb_rest_client/api_client.py +705 -0
- tb_rest_client/configuration.py +234 -0
- tb_rest_client/models/__init__.py +14 -0
- tb_rest_client/models/models_ce/__init__.py +493 -0
- tb_rest_client/models/models_ce/account_configverification_code_body.py +98 -0
- tb_rest_client/models/models_ce/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_ce/activate_user_request.py +154 -0
- tb_rest_client/models/models_ce/admin_settings.py +232 -0
- tb_rest_client/models/models_ce/admin_settings_id.py +127 -0
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/affected_user_filter.py +104 -0
- tb_rest_client/models/models_ce/alarm.py +707 -0
- tb_rest_client/models/models_ce/alarm_assignee.py +202 -0
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +216 -0
- tb_rest_client/models/models_ce/alarm_comment.py +292 -0
- tb_rest_client/models/models_ce/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_ce/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_ce/alarm_condition.py +154 -0
- tb_rest_client/models/models_ce/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_ce/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_ce/alarm_count_query.py +372 -0
- tb_rest_client/models/models_ce/alarm_data.py +855 -0
- tb_rest_client/models/models_ce/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_ce/alarm_data_query.py +254 -0
- tb_rest_client/models/models_ce/alarm_id.py +162 -0
- tb_rest_client/models/models_ce/alarm_info.py +803 -0
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_ce/alarm_rule.py +206 -0
- tb_rest_client/models/models_ce/alarm_schedule.py +166 -0
- tb_rest_client/models/models_ce/all_users_filter.py +104 -0
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/android_config.py +202 -0
- tb_rest_client/models/models_ce/any_time_schedule.py +104 -0
- tb_rest_client/models/models_ce/api_image_body.py +177 -0
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_ce/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_ce/asset.py +367 -0
- tb_rest_client/models/models_ce/asset_id.py +162 -0
- tb_rest_client/models/models_ce/asset_info.py +451 -0
- tb_rest_client/models/models_ce/asset_profile.py +422 -0
- tb_rest_client/models/models_ce/asset_profile_id.py +162 -0
- tb_rest_client/models/models_ce/asset_profile_info.py +232 -0
- tb_rest_client/models/models_ce/asset_search_query.py +180 -0
- tb_rest_client/models/models_ce/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/asset_type_filter.py +182 -0
- tb_rest_client/models/models_ce/atomic_integer.py +228 -0
- tb_rest_client/models/models_ce/attribute_export_data.py +280 -0
- tb_rest_client/models/models_ce/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_ce/audit_log.py +434 -0
- tb_rest_client/models/models_ce/audit_log_id.py +127 -0
- tb_rest_client/models/models_ce/auto_commit_settings.py +103 -0
- tb_rest_client/models/models_ce/auto_version_create_config.py +202 -0
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/branch_info.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_request.py +150 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +254 -0
- tb_rest_client/models/models_ce/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_ce/button.py +286 -0
- tb_rest_client/models/models_ce/byte_array_resource.py +332 -0
- tb_rest_client/models/models_ce/byte_buffer.py +306 -0
- tb_rest_client/models/models_ce/change_password_request.py +154 -0
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/claim_request.py +124 -0
- tb_rest_client/models/models_ce/clear_rule.py +131 -0
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/column_mapping.py +156 -0
- tb_rest_client/models/models_ce/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_ce/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_ce/component_descriptor.py +420 -0
- tb_rest_client/models/models_ce/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_ce/config_submit_body.py +98 -0
- tb_rest_client/models/models_ce/custom_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_ce/customer.py +510 -0
- tb_rest_client/models/models_ce/customer_id.py +162 -0
- tb_rest_client/models/models_ce/customer_users_filter.py +131 -0
- tb_rest_client/models/models_ce/dashboard.py +399 -0
- tb_rest_client/models/models_ce/dashboard_id.py +162 -0
- tb_rest_client/models/models_ce/dashboard_info.py +373 -0
- tb_rest_client/models/models_ce/dashboard_page.py +98 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +351 -0
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +325 -0
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +429 -0
- tb_rest_client/models/models_ce/debug_settings.py +182 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_ce/default_device_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/default_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +1638 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +150 -0
- tb_rest_client/models/models_ce/deferred_result_void.py +150 -0
- tb_rest_client/models/models_ce/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_ce/device.py +446 -0
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_ce/device_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_credentials.py +293 -0
- tb_rest_client/models/models_ce/device_credentials_id.py +127 -0
- tb_rest_client/models/models_ce/device_data.py +154 -0
- tb_rest_client/models/models_ce/device_export_data.py +156 -0
- tb_rest_client/models/models_ce/device_id.py +162 -0
- tb_rest_client/models/models_ce/device_info.py +558 -0
- tb_rest_client/models/models_ce/device_profile.py +630 -0
- tb_rest_client/models/models_ce/device_profile_alarm.py +320 -0
- tb_rest_client/models/models_ce/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/device_profile_data.py +210 -0
- tb_rest_client/models/models_ce/device_profile_id.py +162 -0
- tb_rest_client/models/models_ce/device_profile_info.py +300 -0
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_search_query.py +180 -0
- tb_rest_client/models/models_ce/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_ce/device_type_filter.py +182 -0
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_ce/domain.py +247 -0
- tb_rest_client/models/models_ce/domain_id.py +146 -0
- tb_rest_client/models/models_ce/domain_info.py +275 -0
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_double.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_integer.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_long.py +182 -0
- tb_rest_client/models/models_ce/dynamic_value_string.py +182 -0
- tb_rest_client/models/models_ce/edge.py +426 -0
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/edge_event.py +370 -0
- tb_rest_client/models/models_ce/edge_event_id.py +127 -0
- tb_rest_client/models/models_ce/edge_id.py +162 -0
- tb_rest_client/models/models_ce/edge_info.py +478 -0
- tb_rest_client/models/models_ce/edge_install_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_instructions.py +126 -0
- tb_rest_client/models/models_ce/edge_search_query.py +180 -0
- tb_rest_client/models/models_ce/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/edge_type_filter.py +182 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_ce/entity_count_query.py +150 -0
- tb_rest_client/models/models_ce/entity_data.py +202 -0
- tb_rest_client/models/models_ce/entity_data_diff.py +150 -0
- tb_rest_client/models/models_ce/entity_data_info.py +176 -0
- tb_rest_client/models/models_ce/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_ce/entity_data_query.py +228 -0
- tb_rest_client/models/models_ce/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_ce/entity_export_data_object.py +219 -0
- tb_rest_client/models/models_ce/entity_filter.py +134 -0
- tb_rest_client/models/models_ce/entity_id.py +160 -0
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_info.py +152 -0
- tb_rest_client/models/models_ce/entity_key.py +156 -0
- tb_rest_client/models/models_ce/entity_list_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_load_error.py +202 -0
- tb_rest_client/models/models_ce/entity_name_filter.py +162 -0
- tb_rest_client/models/models_ce/entity_relation.py +264 -0
- tb_rest_client/models/models_ce/entity_relation_info.py +320 -0
- tb_rest_client/models/models_ce/entity_relations_query.py +152 -0
- tb_rest_client/models/models_ce/entity_subtype.py +182 -0
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +98 -0
- tb_rest_client/models/models_ce/entity_type_filter.py +136 -0
- tb_rest_client/models/models_ce/entity_type_load_result.py +208 -0
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +260 -0
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +228 -0
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/entity_version.py +202 -0
- tb_rest_client/models/models_ce/entity_view.py +423 -0
- tb_rest_client/models/models_ce/entity_view_id.py +162 -0
- tb_rest_client/models/models_ce/entity_view_info.py +479 -0
- tb_rest_client/models/models_ce/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_ce/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_ce/error_event_filter.py +188 -0
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_ce/event.py +286 -0
- tb_rest_client/models/models_ce/event_filter.py +171 -0
- tb_rest_client/models/models_ce/event_id.py +127 -0
- tb_rest_client/models/models_ce/event_info.py +286 -0
- tb_rest_client/models/models_ce/features_info.py +228 -0
- tb_rest_client/models/models_ce/file.py +488 -0
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +176 -0
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +176 -0
- tb_rest_client/models/models_ce/has_id_object.py +124 -0
- tb_rest_client/models/models_ce/home_dashboard.py +427 -0
- tb_rest_client/models/models_ce/home_dashboard_info.py +152 -0
- tb_rest_client/models/models_ce/image_export_data.py +332 -0
- tb_rest_client/models/models_ce/inline_response200.py +99 -0
- tb_rest_client/models/models_ce/input_stream.py +98 -0
- tb_rest_client/models/models_ce/ios_config.py +176 -0
- tb_rest_client/models/models_ce/json_node.py +98 -0
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_ce/jwt_pair.py +186 -0
- tb_rest_client/models/models_ce/jwt_settings.py +210 -0
- tb_rest_client/models/models_ce/key_filter.py +182 -0
- tb_rest_client/models/models_ce/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_ce/login_mobile_info.py +176 -0
- tb_rest_client/models/models_ce/login_request.py +156 -0
- tb_rest_client/models/models_ce/login_response.py +156 -0
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_ce/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_ce/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_ce/lw_m2m_version.py +124 -0
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_ce/mapping.py +202 -0
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +182 -0
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +314 -0
- tb_rest_client/models/models_ce/mobile_app.py +290 -0
- tb_rest_client/models/models_ce/mobile_app_bundle.py +375 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_id.py +154 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_info.py +487 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_id.py +160 -0
- tb_rest_client/models/models_ce/mobile_app_info.py +318 -0
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +157 -0
- tb_rest_client/models/models_ce/mobile_app_settings.py +352 -0
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +127 -0
- tb_rest_client/models/models_ce/mobile_app_version_info.py +210 -0
- tb_rest_client/models/models_ce/mobile_layout_config.py +126 -0
- tb_rest_client/models/models_ce/mobile_page.py +158 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +124 -0
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/node_connection_info.py +185 -0
- tb_rest_client/models/models_ce/notification.py +402 -0
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_ce/notification_id.py +162 -0
- tb_rest_client/models/models_ce/notification_info.py +185 -0
- tb_rest_client/models/models_ce/notification_pref.py +151 -0
- tb_rest_client/models/models_ce/notification_request.py +417 -0
- tb_rest_client/models/models_ce/notification_request_config.py +124 -0
- tb_rest_client/models/models_ce/notification_request_id.py +162 -0
- tb_rest_client/models/models_ce/notification_request_info.py +476 -0
- tb_rest_client/models/models_ce/notification_request_preview.py +202 -0
- tb_rest_client/models/models_ce/notification_request_stats.py +202 -0
- tb_rest_client/models/models_ce/notification_rule.py +369 -0
- tb_rest_client/models/models_ce/notification_rule_config.py +124 -0
- tb_rest_client/models/models_ce/notification_rule_id.py +162 -0
- tb_rest_client/models/models_ce/notification_rule_info.py +428 -0
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +178 -0
- tb_rest_client/models/models_ce/notification_settings.py +125 -0
- tb_rest_client/models/models_ce/notification_target.py +230 -0
- tb_rest_client/models/models_ce/notification_target_config.py +148 -0
- tb_rest_client/models/models_ce/notification_target_id.py +162 -0
- tb_rest_client/models/models_ce/notification_template.py +263 -0
- tb_rest_client/models/models_ce/notification_template_config.py +125 -0
- tb_rest_client/models/models_ce/notification_template_id.py +162 -0
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +329 -0
- tb_rest_client/models/models_ce/o_auth2_client.py +636 -0
- tb_rest_client/models/models_ce/o_auth2_client_id.py +160 -0
- tb_rest_client/models/models_ce/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +182 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_ce/o_auth2_info.py +183 -0
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_ce/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_ce/object_attributes.py +410 -0
- tb_rest_client/models/models_ce/object_node.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +98 -0
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +98 -0
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +98 -0
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +98 -0
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +98 -0
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_ce/ota_package.py +576 -0
- tb_rest_client/models/models_ce/ota_package_data.py +306 -0
- tb_rest_client/models/models_ce/ota_package_id.py +162 -0
- tb_rest_client/models/models_ce/ota_package_info.py +550 -0
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +127 -0
- tb_rest_client/models/models_ce/other_configuration.py +364 -0
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_alarm_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_audit_log.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +210 -0
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_domain_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_data.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view.py +210 -0
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_event.py +210 -0
- tb_rest_client/models/models_ce/page_data_event_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_bundle_info.py +196 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_target.py +210 -0
- tb_rest_client/models/models_ce/page_data_notification_template.py +210 -0
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue.py +210 -0
- tb_rest_client/models/models_ce/page_data_queue_stats.py +210 -0
- tb_rest_client/models/models_ce/page_data_rpc.py +202 -0
- tb_rest_client/models/models_ce/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +210 -0
- tb_rest_client/models/models_ce/page_data_user.py +210 -0
- tb_rest_client/models/models_ce/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +210 -0
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +210 -0
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +231 -0
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_ce/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_ce/processing_strategy.py +234 -0
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/qr_code_config.py +234 -0
- tb_rest_client/models/models_ce/qr_code_settings.py +399 -0
- tb_rest_client/models/models_ce/qr_code_settings_id.py +127 -0
- tb_rest_client/models/models_ce/queue.py +410 -0
- tb_rest_client/models/models_ce/queue_id.py +162 -0
- tb_rest_client/models/models_ce/queue_stats.py +228 -0
- tb_rest_client/models/models_ce/queue_stats_id.py +162 -0
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +137 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_ce/relations_query_filter.py +350 -0
- tb_rest_client/models/models_ce/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_ce/repository_settings.py +390 -0
- tb_rest_client/models/models_ce/repository_settings_info.py +150 -0
- tb_rest_client/models/models_ce/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_ce/reset_password_request.py +154 -0
- tb_rest_client/models/models_ce/resource.py +306 -0
- tb_rest_client/models/models_ce/resource_export_data.py +384 -0
- tb_rest_client/models/models_ce/response_entity.py +182 -0
- tb_rest_client/models/models_ce/rpc.py +344 -0
- tb_rest_client/models/models_ce/rpc_id.py +162 -0
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_ce/rule_chain.py +402 -0
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_ce/rule_chain_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_ce/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_ce/rule_chain_id.py +162 -0
- tb_rest_client/models/models_ce/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_ce/rule_node.py +424 -0
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_ce/rule_node_id.py +162 -0
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_ce/security_settings.py +266 -0
- tb_rest_client/models/models_ce/server_security_config.py +332 -0
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/short_customer_info.py +204 -0
- tb_rest_client/models/models_ce/sign_up_request.py +294 -0
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_ce/single_entity_filter.py +130 -0
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +156 -0
- tb_rest_client/models/models_ce/slack_conversation.py +263 -0
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_ce/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_ce/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_ce/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_ce/snmp_mapping.py +182 -0
- tb_rest_client/models/models_ce/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_ce/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_ce/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_ce/store_info.py +176 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_ce/submit_strategy.py +156 -0
- tb_rest_client/models/models_ce/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_ce/system_info.py +152 -0
- tb_rest_client/models/models_ce/system_info_data.py +322 -0
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_ce/tb_image_delete_result.py +150 -0
- tb_rest_client/models/models_ce/tb_resource.py +568 -0
- tb_rest_client/models/models_ce/tb_resource_id.py +162 -0
- tb_rest_client/models/models_ce/tb_resource_info.py +514 -0
- tb_rest_client/models/models_ce/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_ce/tenant.py +539 -0
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_ce/tenant_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_info.py +567 -0
- tb_rest_client/models/models_ce/tenant_profile.py +288 -0
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_ce/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_ce/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_ce/test_sms_request.py +182 -0
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_ce/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_ce/ts_value.py +176 -0
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_ce/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_ce/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_ce/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_ce/type_key_body.py +125 -0
- tb_rest_client/models/models_ce/update_message.py +266 -0
- tb_rest_client/models/models_ce/usage_info.py +696 -0
- tb_rest_client/models/models_ce/user.py +432 -0
- tb_rest_client/models/models_ce/user_activation_link.py +150 -0
- tb_rest_client/models/models_ce/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_ce/user_email_info.py +208 -0
- tb_rest_client/models/models_ce/user_id.py +162 -0
- tb_rest_client/models/models_ce/user_list_filter.py +131 -0
- tb_rest_client/models/models_ce/user_mobile_info.py +228 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +125 -0
- tb_rest_client/models/models_ce/user_password_policy.py +378 -0
- tb_rest_client/models/models_ce/users_filter.py +140 -0
- tb_rest_client/models/models_ce/vc_entity_body.py +98 -0
- tb_rest_client/models/models_ce/vc_version_body.py +98 -0
- tb_rest_client/models/models_ce/version.py +98 -0
- tb_rest_client/models/models_ce/version_create_config.py +176 -0
- tb_rest_client/models/models_ce/version_create_request.py +191 -0
- tb_rest_client/models/models_ce/version_creation_result.py +254 -0
- tb_rest_client/models/models_ce/version_load_config.py +176 -0
- tb_rest_client/models/models_ce/version_load_request.py +165 -0
- tb_rest_client/models/models_ce/version_load_result.py +176 -0
- tb_rest_client/models/models_ce/versioned_entity_info.py +124 -0
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_ce/web_view_page.py +98 -0
- tb_rest_client/models/models_ce/widget_type.py +342 -0
- tb_rest_client/models/models_ce/widget_type_details.py +426 -0
- tb_rest_client/models/models_ce/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_ce/widget_type_id.py +162 -0
- tb_rest_client/models/models_ce/widget_type_info.py +428 -0
- tb_rest_client/models/models_ce/widgets_bundle.py +400 -0
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_ce/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/__init__.py +413 -0
- tb_rest_client/models/models_pe/account_two_fa_settings.py +124 -0
- tb_rest_client/models/models_pe/activate_user_request.py +154 -0
- tb_rest_client/models/models_pe/admin_settings.py +232 -0
- tb_rest_client/models/models_pe/admin_settings_id.py +127 -0
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/affected_user_filter.py +104 -0
- tb_rest_client/models/models_pe/alarm.py +749 -0
- tb_rest_client/models/models_pe/alarm_assignee.py +202 -0
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +230 -0
- tb_rest_client/models/models_pe/alarm_comment.py +292 -0
- tb_rest_client/models/models_pe/alarm_comment_id.py +127 -0
- tb_rest_client/models/models_pe/alarm_comment_info.py +376 -0
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +248 -0
- tb_rest_client/models/models_pe/alarm_condition.py +154 -0
- tb_rest_client/models/models_pe/alarm_condition_filter.py +214 -0
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +160 -0
- tb_rest_client/models/models_pe/alarm_condition_spec.py +135 -0
- tb_rest_client/models/models_pe/alarm_count_query.py +372 -0
- tb_rest_client/models/models_pe/alarm_data.py +883 -0
- tb_rest_client/models/models_pe/alarm_data_page_link.py +450 -0
- tb_rest_client/models/models_pe/alarm_data_query.py +254 -0
- tb_rest_client/models/models_pe/alarm_id.py +162 -0
- tb_rest_client/models/models_pe/alarm_info.py +831 -0
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +223 -0
- tb_rest_client/models/models_pe/alarm_rule.py +206 -0
- tb_rest_client/models/models_pe/alarm_schedule.py +152 -0
- tb_rest_client/models/models_pe/all_users_filter.py +104 -0
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/allowed_permissions_info.py +318 -0
- tb_rest_client/models/models_pe/any_time_schedule.py +104 -0
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +170 -0
- tb_rest_client/models/models_pe/api_usage_state_filter.py +130 -0
- tb_rest_client/models/models_pe/array_node.py +98 -0
- tb_rest_client/models/models_pe/asset.py +393 -0
- tb_rest_client/models/models_pe/asset_id.py +162 -0
- tb_rest_client/models/models_pe/asset_info.py +449 -0
- tb_rest_client/models/models_pe/asset_profile_id.py +162 -0
- tb_rest_client/models/models_pe/asset_search_query.py +180 -0
- tb_rest_client/models/models_pe/asset_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/asset_type_filter.py +182 -0
- tb_rest_client/models/models_pe/atomic_integer.py +228 -0
- tb_rest_client/models/models_pe/attribute_export_data.py +280 -0
- tb_rest_client/models/models_pe/attributes_entity_view.py +185 -0
- tb_rest_client/models/models_pe/audit_log.py +434 -0
- tb_rest_client/models/models_pe/audit_log_id.py +127 -0
- tb_rest_client/models/models_pe/auto_version_create_config.py +254 -0
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +157 -0
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/blob_entity_id.py +162 -0
- tb_rest_client/models/models_pe/blob_entity_info.py +346 -0
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +402 -0
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/branch_info.py +150 -0
- tb_rest_client/models/models_pe/bulk_import_request.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_device.py +202 -0
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +202 -0
- tb_rest_client/models/models_pe/byte_buffer.py +306 -0
- tb_rest_client/models/models_pe/captcha_params.py +132 -0
- tb_rest_client/models/models_pe/change_password_request.py +154 -0
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/claim_request.py +124 -0
- tb_rest_client/models/models_pe/clear_rule.py +131 -0
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +156 -0
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/column_mapping.py +156 -0
- tb_rest_client/models/models_pe/comparison_ts_value.py +150 -0
- tb_rest_client/models/models_pe/complex_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/complex_version_create_request.py +162 -0
- tb_rest_client/models/models_pe/component_descriptor.py +420 -0
- tb_rest_client/models/models_pe/component_descriptor_id.py +127 -0
- tb_rest_client/models/models_pe/contact_based_object.py +410 -0
- tb_rest_client/models/models_pe/converter.py +376 -0
- tb_rest_client/models/models_pe/converter_id.py +162 -0
- tb_rest_client/models/models_pe/converters_info.py +136 -0
- tb_rest_client/models/models_pe/custom_menu.py +327 -0
- tb_rest_client/models/models_pe/custom_menu_config.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +168 -0
- tb_rest_client/models/models_pe/custom_menu_id.py +113 -0
- tb_rest_client/models/models_pe/custom_menu_info.py +287 -0
- tb_rest_client/models/models_pe/custom_menu_item.py +398 -0
- tb_rest_client/models/models_pe/custom_time_schedule.py +156 -0
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +202 -0
- tb_rest_client/models/models_pe/custom_translation.py +127 -0
- tb_rest_client/models/models_pe/customer_id.py +162 -0
- tb_rest_client/models/models_pe/customer_info.py +672 -0
- tb_rest_client/models/models_pe/customer_users_filter.py +131 -0
- tb_rest_client/models/models_pe/dashboard_id.py +162 -0
- tb_rest_client/models/models_pe/dashboard_info.py +506 -0
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +316 -0
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +290 -0
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +130 -0
- tb_rest_client/models/models_pe/default_dashboard_params.py +154 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/default_menu_item.py +230 -0
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +127 -0
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +1794 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +150 -0
- tb_rest_client/models/models_pe/deferred_result_void.py +150 -0
- tb_rest_client/models/models_pe/deferred_resultuuid.py +150 -0
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +191 -0
- tb_rest_client/models/models_pe/device.py +471 -0
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +190 -0
- tb_rest_client/models/models_pe/device_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_credentials_id.py +127 -0
- tb_rest_client/models/models_pe/device_data.py +154 -0
- tb_rest_client/models/models_pe/device_export_data.py +156 -0
- tb_rest_client/models/models_pe/device_group_ota_package.py +234 -0
- tb_rest_client/models/models_pe/device_id.py +162 -0
- tb_rest_client/models/models_pe/device_info.py +555 -0
- tb_rest_client/models/models_pe/device_profile_alarm.py +348 -0
- tb_rest_client/models/models_pe/device_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/device_profile_data.py +210 -0
- tb_rest_client/models/models_pe/device_profile_id.py +162 -0
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +162 -0
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_search_query.py +180 -0
- tb_rest_client/models/models_pe/device_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/device_transport_configuration.py +137 -0
- tb_rest_client/models/models_pe/device_type_filter.py +182 -0
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +104 -0
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +162 -0
- tb_rest_client/models/models_pe/edge.py +510 -0
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +130 -0
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/edge_event.py +396 -0
- tb_rest_client/models/models_pe/edge_event_id.py +127 -0
- tb_rest_client/models/models_pe/edge_id.py +162 -0
- tb_rest_client/models/models_pe/edge_info.py +566 -0
- tb_rest_client/models/models_pe/edge_instructions.py +126 -0
- tb_rest_client/models/models_pe/edge_search_query.py +180 -0
- tb_rest_client/models/models_pe/edge_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/edge_type_filter.py +168 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +104 -0
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +130 -0
- tb_rest_client/models/models_pe/enterprise_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +188 -0
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +163 -0
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +215 -0
- tb_rest_client/models/models_pe/entity_count_query.py +150 -0
- tb_rest_client/models/models_pe/entity_data.py +254 -0
- tb_rest_client/models/models_pe/entity_data_diff.py +150 -0
- tb_rest_client/models/models_pe/entity_data_info.py +228 -0
- tb_rest_client/models/models_pe/entity_data_page_link.py +228 -0
- tb_rest_client/models/models_pe/entity_data_query.py +228 -0
- tb_rest_client/models/models_pe/entity_data_sort_order.py +156 -0
- tb_rest_client/models/models_pe/entity_export_data_object.py +210 -0
- tb_rest_client/models/models_pe/entity_filter.py +152 -0
- tb_rest_client/models/models_pe/entity_group.py +400 -0
- tb_rest_client/models/models_pe/entity_group_export_data.py +182 -0
- tb_rest_client/models/models_pe/entity_group_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_id.py +162 -0
- tb_rest_client/models/models_pe/entity_group_info.py +429 -0
- tb_rest_client/models/models_pe/entity_group_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_group_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_id.py +160 -0
- tb_rest_client/models/models_pe/entity_key.py +156 -0
- tb_rest_client/models/models_pe/entity_list_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_load_error.py +202 -0
- tb_rest_client/models/models_pe/entity_name_filter.py +162 -0
- tb_rest_client/models/models_pe/entity_relation_info.py +320 -0
- tb_rest_client/models/models_pe/entity_relations_query.py +152 -0
- tb_rest_client/models/models_pe/entity_subtype.py +182 -0
- tb_rest_client/models/models_pe/entity_type_filter.py +136 -0
- tb_rest_client/models/models_pe/entity_type_load_result.py +286 -0
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +312 -0
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +306 -0
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +156 -0
- tb_rest_client/models/models_pe/entity_version.py +202 -0
- tb_rest_client/models/models_pe/entity_view.py +449 -0
- tb_rest_client/models/models_pe/entity_view_id.py +162 -0
- tb_rest_client/models/models_pe/entity_view_info.py +505 -0
- tb_rest_client/models/models_pe/entity_view_search_query.py +180 -0
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +266 -0
- tb_rest_client/models/models_pe/entity_view_type_filter.py +182 -0
- tb_rest_client/models/models_pe/error_event_filter.py +188 -0
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +131 -0
- tb_rest_client/models/models_pe/event_filter.py +174 -0
- tb_rest_client/models/models_pe/event_id.py +127 -0
- tb_rest_client/models/models_pe/event_info.py +286 -0
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +150 -0
- tb_rest_client/models/models_pe/favicon.py +124 -0
- tb_rest_client/models/models_pe/features_info.py +254 -0
- tb_rest_client/models/models_pe/group_entity_export_data.py +130 -0
- tb_rest_client/models/models_pe/group_permission.py +370 -0
- tb_rest_client/models/models_pe/group_permission_id.py +162 -0
- tb_rest_client/models/models_pe/group_permission_info.py +560 -0
- tb_rest_client/models/models_pe/home_dashboard.py +478 -0
- tb_rest_client/models/models_pe/home_menu_item.py +320 -0
- tb_rest_client/models/models_pe/input_stream.py +98 -0
- tb_rest_client/models/models_pe/integration.py +571 -0
- tb_rest_client/models/models_pe/integration_converters_info.py +136 -0
- tb_rest_client/models/models_pe/integration_id.py +162 -0
- tb_rest_client/models/models_pe/integration_info.py +460 -0
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +222 -0
- tb_rest_client/models/models_pe/json_node.py +98 -0
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +104 -0
- tb_rest_client/models/models_pe/key_filter.py +182 -0
- tb_rest_client/models/models_pe/key_filter_predicate.py +136 -0
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +210 -0
- tb_rest_client/models/models_pe/license_usage_info.py +332 -0
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +222 -0
- tb_rest_client/models/models_pe/locale_code_upload_body.py +125 -0
- tb_rest_client/models/models_pe/login_request.py +156 -0
- tb_rest_client/models/models_pe/login_response.py +156 -0
- tb_rest_client/models/models_pe/login_white_labeling_params.py +682 -0
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +136 -0
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +490 -0
- tb_rest_client/models/models_pe/lw_m2m_instance.py +154 -0
- tb_rest_client/models/models_pe/lw_m2m_object.py +266 -0
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +266 -0
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +208 -0
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +214 -0
- tb_rest_client/models/models_pe/mapping.py +202 -0
- tb_rest_client/models/models_pe/menu_item.py +152 -0
- tb_rest_client/models/models_pe/merged_group_permission_info.py +163 -0
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +154 -0
- tb_rest_client/models/models_pe/merged_user_permissions.py +273 -0
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +182 -0
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +113 -0
- tb_rest_client/models/models_pe/mobile_redirect_params.py +154 -0
- tb_rest_client/models/models_pe/mobile_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +124 -0
- tb_rest_client/models/models_pe/model.py +162 -0
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +286 -0
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +104 -0
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +104 -0
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/node_connection_info.py +185 -0
- tb_rest_client/models/models_pe/notification.py +402 -0
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +134 -0
- tb_rest_client/models/models_pe/notification_id.py +162 -0
- tb_rest_client/models/models_pe/notification_info.py +185 -0
- tb_rest_client/models/models_pe/notification_request.py +417 -0
- tb_rest_client/models/models_pe/notification_request_config.py +124 -0
- tb_rest_client/models/models_pe/notification_request_id.py +162 -0
- tb_rest_client/models/models_pe/notification_request_preview.py +202 -0
- tb_rest_client/models/models_pe/notification_request_stats.py +202 -0
- tb_rest_client/models/models_pe/notification_rule_config.py +124 -0
- tb_rest_client/models/models_pe/notification_rule_id.py +162 -0
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +139 -0
- tb_rest_client/models/models_pe/notification_rule_trigger_config.py +135 -0
- tb_rest_client/models/models_pe/notification_template_config.py +125 -0
- tb_rest_client/models/models_pe/notification_template_id.py +162 -0
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +381 -0
- tb_rest_client/models/models_pe/o_auth2_client_info.py +267 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +565 -0
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +127 -0
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +202 -0
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +162 -0
- tb_rest_client/models/models_pe/o_auth2_info.py +183 -0
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +241 -0
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +156 -0
- tb_rest_client/models/models_pe/o_auth2_params_info.py +185 -0
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +502 -0
- tb_rest_client/models/models_pe/object_attributes.py +410 -0
- tb_rest_client/models/models_pe/object_node.py +98 -0
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +104 -0
- tb_rest_client/models/models_pe/ota_package.py +576 -0
- tb_rest_client/models/models_pe/ota_package_id.py +162 -0
- tb_rest_client/models/models_pe/ota_package_info.py +550 -0
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +184 -0
- tb_rest_client/models/models_pe/other_configuration.py +364 -0
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +210 -0
- tb_rest_client/models/models_pe/page_data_converter.py +210 -0
- tb_rest_client/models/models_pe/page_data_customer_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_event.py +210 -0
- tb_rest_client/models/models_pe/page_data_edge_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_version.py +210 -0
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration.py +210 -0
- tb_rest_client/models/models_pe/page_data_integration_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_queue.py +210 -0
- tb_rest_client/models/models_pe/page_data_role.py +210 -0
- tb_rest_client/models/models_pe/page_data_rule_chain.py +210 -0
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_email_info.py +210 -0
- tb_rest_client/models/models_pe/page_data_user_info.py +210 -0
- tb_rest_client/models/models_pe/palette.py +183 -0
- tb_rest_client/models/models_pe/palette_settings.py +152 -0
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +257 -0
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +131 -0
- tb_rest_client/models/models_pe/power_saving_configuration.py +208 -0
- tb_rest_client/models/models_pe/processing_strategy.py +234 -0
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +260 -0
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/queue.py +410 -0
- tb_rest_client/models/models_pe/raw_data_event_filter.py +216 -0
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +189 -0
- tb_rest_client/models/models_pe/relations_query_filter.py +350 -0
- tb_rest_client/models/models_pe/relations_search_parameters.py +284 -0
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +130 -0
- tb_rest_client/models/models_pe/report_config.py +381 -0
- tb_rest_client/models/models_pe/repository_settings.py +390 -0
- tb_rest_client/models/models_pe/repository_settings_info.py +150 -0
- tb_rest_client/models/models_pe/reset_password_email_request.py +126 -0
- tb_rest_client/models/models_pe/reset_password_request.py +154 -0
- tb_rest_client/models/models_pe/resource.py +306 -0
- tb_rest_client/models/models_pe/response_entity.py +182 -0
- tb_rest_client/models/models_pe/role.py +371 -0
- tb_rest_client/models/models_pe/role_id.py +162 -0
- tb_rest_client/models/models_pe/rpc.py +344 -0
- tb_rest_client/models/models_pe/rpc_id.py +162 -0
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/models/models_pe/rule_chain.py +402 -0
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +210 -0
- tb_rest_client/models/models_pe/rule_chain_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +240 -0
- tb_rest_client/models/models_pe/rule_chain_export_data.py +156 -0
- tb_rest_client/models/models_pe/rule_chain_id.py +162 -0
- tb_rest_client/models/models_pe/rule_chain_import_result.py +202 -0
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +269 -0
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +239 -0
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +274 -0
- tb_rest_client/models/models_pe/rule_node.py +424 -0
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +448 -0
- tb_rest_client/models/models_pe/rule_node_id.py +162 -0
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +152 -0
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +578 -0
- tb_rest_client/models/models_pe/scheduler_event.py +444 -0
- tb_rest_client/models/models_pe/scheduler_event_filter.py +156 -0
- tb_rest_client/models/models_pe/scheduler_event_id.py +162 -0
- tb_rest_client/models/models_pe/scheduler_event_info.py +418 -0
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +474 -0
- tb_rest_client/models/models_pe/security_settings.py +266 -0
- tb_rest_client/models/models_pe/self_registration_params.py +630 -0
- tb_rest_client/models/models_pe/share_group_request.py +235 -0
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/short_customer_info.py +204 -0
- tb_rest_client/models/models_pe/short_entity_view.py +154 -0
- tb_rest_client/models/models_pe/sign_up_field.py +184 -0
- tb_rest_client/models/models_pe/sign_up_request.py +294 -0
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +266 -0
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +104 -0
- tb_rest_client/models/models_pe/single_entity_filter.py +130 -0
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +156 -0
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +182 -0
- tb_rest_client/models/models_pe/slack_conversation.py +263 -0
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +131 -0
- tb_rest_client/models/models_pe/slack_notification_target_config.py +163 -0
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +541 -0
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +104 -0
- tb_rest_client/models/models_pe/sms_provider_configuration.py +135 -0
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +157 -0
- tb_rest_client/models/models_pe/snmp_communication_config.py +142 -0
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +182 -0
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +434 -0
- tb_rest_client/models/models_pe/snmp_mapping.py +182 -0
- tb_rest_client/models/models_pe/solution_install_response.py +260 -0
- tb_rest_client/models/models_pe/specific_time_schedule.py +208 -0
- tb_rest_client/models/models_pe/starred_dashboard_info.py +182 -0
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +130 -0
- tb_rest_client/models/models_pe/statistics_event_filter.py +244 -0
- tb_rest_client/models/models_pe/string_filter_predicate.py +188 -0
- tb_rest_client/models/models_pe/submit_strategy.py +156 -0
- tb_rest_client/models/models_pe/subscription_usage.py +540 -0
- tb_rest_client/models/models_pe/system_administrators_filter.py +104 -0
- tb_rest_client/models/models_pe/system_info.py +152 -0
- tb_rest_client/models/models_pe/system_info_data.py +322 -0
- tb_rest_client/models/models_pe/task_processing_failure_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +176 -0
- tb_rest_client/models/models_pe/tb_resource.py +594 -0
- tb_rest_client/models/models_pe/tb_resource_id.py +162 -0
- tb_rest_client/models/models_pe/tb_resource_info.py +540 -0
- tb_rest_client/models/models_pe/telemetry_entity_view.py +154 -0
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +228 -0
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +156 -0
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +156 -0
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +133 -0
- tb_rest_client/models/models_pe/tenant_profile_data.py +154 -0
- tb_rest_client/models/models_pe/tenant_profile_id.py +162 -0
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +332 -0
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +376 -0
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +440 -0
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +232 -0
- tb_rest_client/models/models_pe/test_sms_request.py +182 -0
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +238 -0
- tb_rest_client/models/models_pe/thingsboard_error_response.py +210 -0
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +130 -0
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +131 -0
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +131 -0
- tb_rest_client/models/models_pe/translation_info.py +238 -0
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +134 -0
- tb_rest_client/models/models_pe/ts_value.py +176 -0
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +188 -0
- tb_rest_client/models/models_pe/two_fa_account_config.py +162 -0
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +124 -0
- tb_rest_client/models/models_pe/two_fa_provider_config.py +136 -0
- tb_rest_client/models/models_pe/two_fa_provider_info.py +234 -0
- tb_rest_client/models/models_pe/update_message.py +266 -0
- tb_rest_client/models/models_pe/user.py +484 -0
- tb_rest_client/models/models_pe/user_dashboards_info.py +154 -0
- tb_rest_client/models/models_pe/user_email_info.py +208 -0
- tb_rest_client/models/models_pe/user_group_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_id.py +162 -0
- tb_rest_client/models/models_pe/user_info.py +540 -0
- tb_rest_client/models/models_pe/user_list_filter.py +131 -0
- tb_rest_client/models/models_pe/user_password_policy.py +378 -0
- tb_rest_client/models/models_pe/user_role_filter.py +131 -0
- tb_rest_client/models/models_pe/users_filter.py +142 -0
- tb_rest_client/models/models_pe/v2_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/v3_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/vendor.py +150 -0
- tb_rest_client/models/models_pe/version_create_config.py +228 -0
- tb_rest_client/models/models_pe/version_create_request.py +191 -0
- tb_rest_client/models/models_pe/version_creation_result.py +254 -0
- tb_rest_client/models/models_pe/version_load_config.py +254 -0
- tb_rest_client/models/models_pe/version_load_request.py +165 -0
- tb_rest_client/models/models_pe/version_load_result.py +176 -0
- tb_rest_client/models/models_pe/versioned_entity_info.py +150 -0
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +157 -0
- tb_rest_client/models/models_pe/web_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/white_labeling.py +234 -0
- tb_rest_client/models/models_pe/white_labeling_params.py +486 -0
- tb_rest_client/models/models_pe/widget_type.py +342 -0
- tb_rest_client/models/models_pe/widget_type_details.py +426 -0
- tb_rest_client/models/models_pe/widget_type_export_data.py +130 -0
- tb_rest_client/models/models_pe/widget_type_id.py +162 -0
- tb_rest_client/models/models_pe/widget_type_info.py +428 -0
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +182 -0
- tb_rest_client/models/models_pe/widgets_bundle_id.py +162 -0
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +156 -0
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +440 -0
- tb_rest_client/rest.py +342 -0
- tb_rest_client/rest_client_base.py +2193 -0
- tb_rest_client/rest_client_ce.py +1284 -0
- tb_rest_client/rest_client_pe.py +1910 -0
- tb_rest_client-3.9.0.dist-info/LICENSE +201 -0
- tb_rest_client-3.9.0.dist-info/METADATA +80 -0
- tb_rest_client-3.9.0.dist-info/RECORD +1111 -0
- tb_rest_client-3.9.0.dist-info/WHEEL +4 -0
|
@@ -0,0 +1,3328 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard Professional Edition IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 3.9.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2025. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class UserControllerApi(object):
|
|
38
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None):
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
def delete_user_settings_using_delete(self, paths, type, **kwargs): # noqa: E501
|
|
50
|
+
"""Delete user settings (deleteUserSettings) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.delete_user_settings_using_delete(paths, type, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param str paths: paths (required)
|
|
60
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
61
|
+
:return: None
|
|
62
|
+
If the method is called asynchronously,
|
|
63
|
+
returns the request thread.
|
|
64
|
+
"""
|
|
65
|
+
kwargs['_return_http_data_only'] = True
|
|
66
|
+
if kwargs.get('async_req'):
|
|
67
|
+
return self.delete_user_settings_using_delete_with_http_info(paths, type, **kwargs) # noqa: E501
|
|
68
|
+
else:
|
|
69
|
+
(data) = self.delete_user_settings_using_delete_with_http_info(paths, type, **kwargs) # noqa: E501
|
|
70
|
+
return data
|
|
71
|
+
|
|
72
|
+
def delete_user_settings_using_delete_with_http_info(self, paths, type, **kwargs): # noqa: E501
|
|
73
|
+
"""Delete user settings (deleteUserSettings) # noqa: E501
|
|
74
|
+
|
|
75
|
+
Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
|
|
76
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
77
|
+
asynchronous HTTP request, please pass async_req=True
|
|
78
|
+
>>> thread = api.delete_user_settings_using_delete_with_http_info(paths, type, async_req=True)
|
|
79
|
+
>>> result = thread.get()
|
|
80
|
+
|
|
81
|
+
:param async_req bool
|
|
82
|
+
:param str paths: paths (required)
|
|
83
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
84
|
+
:return: None
|
|
85
|
+
If the method is called asynchronously,
|
|
86
|
+
returns the request thread.
|
|
87
|
+
"""
|
|
88
|
+
|
|
89
|
+
all_params = ['paths', 'type'] # noqa: E501
|
|
90
|
+
all_params.append('async_req')
|
|
91
|
+
all_params.append('_return_http_data_only')
|
|
92
|
+
all_params.append('_preload_content')
|
|
93
|
+
all_params.append('_request_timeout')
|
|
94
|
+
|
|
95
|
+
params = locals()
|
|
96
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
97
|
+
if key not in all_params:
|
|
98
|
+
raise TypeError(
|
|
99
|
+
"Got an unexpected keyword argument '%s'"
|
|
100
|
+
" to method delete_user_settings_using_delete" % key
|
|
101
|
+
)
|
|
102
|
+
params[key] = val
|
|
103
|
+
del params['kwargs']
|
|
104
|
+
# verify the required parameter 'paths' is set
|
|
105
|
+
if ('paths' not in params or
|
|
106
|
+
params['paths'] is None):
|
|
107
|
+
raise ValueError("Missing the required parameter `paths` when calling `delete_user_settings_using_delete`") # noqa: E501
|
|
108
|
+
# verify the required parameter 'type' is set
|
|
109
|
+
if ('type' not in params or
|
|
110
|
+
params['type'] is None):
|
|
111
|
+
raise ValueError("Missing the required parameter `type` when calling `delete_user_settings_using_delete`") # noqa: E501
|
|
112
|
+
|
|
113
|
+
collection_formats = {}
|
|
114
|
+
|
|
115
|
+
path_params = {}
|
|
116
|
+
if 'paths' in params:
|
|
117
|
+
path_params['paths'] = params['paths'] # noqa: E501
|
|
118
|
+
if 'type' in params:
|
|
119
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
120
|
+
|
|
121
|
+
query_params = []
|
|
122
|
+
|
|
123
|
+
header_params = {}
|
|
124
|
+
|
|
125
|
+
form_params = []
|
|
126
|
+
local_var_files = {}
|
|
127
|
+
|
|
128
|
+
body_params = None
|
|
129
|
+
# HTTP header `Accept`
|
|
130
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
131
|
+
['application/json']) # noqa: E501
|
|
132
|
+
|
|
133
|
+
# Authentication setting
|
|
134
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
135
|
+
|
|
136
|
+
return self.api_client.call_api(
|
|
137
|
+
'/api/user/settings/{type}/{paths}', 'DELETE',
|
|
138
|
+
path_params,
|
|
139
|
+
query_params,
|
|
140
|
+
header_params,
|
|
141
|
+
body=body_params,
|
|
142
|
+
post_params=form_params,
|
|
143
|
+
files=local_var_files,
|
|
144
|
+
response_type=None, # noqa: E501
|
|
145
|
+
auth_settings=auth_settings,
|
|
146
|
+
async_req=params.get('async_req'),
|
|
147
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
148
|
+
_preload_content=params.get('_preload_content', True),
|
|
149
|
+
_request_timeout=params.get('_request_timeout'),
|
|
150
|
+
collection_formats=collection_formats)
|
|
151
|
+
|
|
152
|
+
def delete_user_settings_using_delete1(self, paths, **kwargs): # noqa: E501
|
|
153
|
+
"""Delete user settings (deleteUserSettings) # noqa: E501
|
|
154
|
+
|
|
155
|
+
Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
|
|
156
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
157
|
+
asynchronous HTTP request, please pass async_req=True
|
|
158
|
+
>>> thread = api.delete_user_settings_using_delete1(paths, async_req=True)
|
|
159
|
+
>>> result = thread.get()
|
|
160
|
+
|
|
161
|
+
:param async_req bool
|
|
162
|
+
:param str paths: paths (required)
|
|
163
|
+
:return: None
|
|
164
|
+
If the method is called asynchronously,
|
|
165
|
+
returns the request thread.
|
|
166
|
+
"""
|
|
167
|
+
kwargs['_return_http_data_only'] = True
|
|
168
|
+
if kwargs.get('async_req'):
|
|
169
|
+
return self.delete_user_settings_using_delete1_with_http_info(paths, **kwargs) # noqa: E501
|
|
170
|
+
else:
|
|
171
|
+
(data) = self.delete_user_settings_using_delete1_with_http_info(paths, **kwargs) # noqa: E501
|
|
172
|
+
return data
|
|
173
|
+
|
|
174
|
+
def delete_user_settings_using_delete1_with_http_info(self, paths, **kwargs): # noqa: E501
|
|
175
|
+
"""Delete user settings (deleteUserSettings) # noqa: E501
|
|
176
|
+
|
|
177
|
+
Delete user settings by specifying list of json element xpaths. Example: to delete B and C element in { \"A\": {\"B\": 5}, \"C\": 15} send A.B,C in jsonPaths request parameter # noqa: E501
|
|
178
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
179
|
+
asynchronous HTTP request, please pass async_req=True
|
|
180
|
+
>>> thread = api.delete_user_settings_using_delete1_with_http_info(paths, async_req=True)
|
|
181
|
+
>>> result = thread.get()
|
|
182
|
+
|
|
183
|
+
:param async_req bool
|
|
184
|
+
:param str paths: paths (required)
|
|
185
|
+
:return: None
|
|
186
|
+
If the method is called asynchronously,
|
|
187
|
+
returns the request thread.
|
|
188
|
+
"""
|
|
189
|
+
|
|
190
|
+
all_params = ['paths'] # noqa: E501
|
|
191
|
+
all_params.append('async_req')
|
|
192
|
+
all_params.append('_return_http_data_only')
|
|
193
|
+
all_params.append('_preload_content')
|
|
194
|
+
all_params.append('_request_timeout')
|
|
195
|
+
|
|
196
|
+
params = locals()
|
|
197
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
198
|
+
if key not in all_params:
|
|
199
|
+
raise TypeError(
|
|
200
|
+
"Got an unexpected keyword argument '%s'"
|
|
201
|
+
" to method delete_user_settings_using_delete1" % key
|
|
202
|
+
)
|
|
203
|
+
params[key] = val
|
|
204
|
+
del params['kwargs']
|
|
205
|
+
# verify the required parameter 'paths' is set
|
|
206
|
+
if ('paths' not in params or
|
|
207
|
+
params['paths'] is None):
|
|
208
|
+
raise ValueError("Missing the required parameter `paths` when calling `delete_user_settings_using_delete1`") # noqa: E501
|
|
209
|
+
|
|
210
|
+
collection_formats = {}
|
|
211
|
+
|
|
212
|
+
path_params = {}
|
|
213
|
+
if 'paths' in params:
|
|
214
|
+
path_params['paths'] = params['paths'] # noqa: E501
|
|
215
|
+
|
|
216
|
+
query_params = []
|
|
217
|
+
|
|
218
|
+
header_params = {}
|
|
219
|
+
|
|
220
|
+
form_params = []
|
|
221
|
+
local_var_files = {}
|
|
222
|
+
|
|
223
|
+
body_params = None
|
|
224
|
+
# HTTP header `Accept`
|
|
225
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
226
|
+
['application/json']) # noqa: E501
|
|
227
|
+
|
|
228
|
+
# Authentication setting
|
|
229
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
230
|
+
|
|
231
|
+
return self.api_client.call_api(
|
|
232
|
+
'/api/user/settings/{paths}', 'DELETE',
|
|
233
|
+
path_params,
|
|
234
|
+
query_params,
|
|
235
|
+
header_params,
|
|
236
|
+
body=body_params,
|
|
237
|
+
post_params=form_params,
|
|
238
|
+
files=local_var_files,
|
|
239
|
+
response_type=None, # noqa: E501
|
|
240
|
+
auth_settings=auth_settings,
|
|
241
|
+
async_req=params.get('async_req'),
|
|
242
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
243
|
+
_preload_content=params.get('_preload_content', True),
|
|
244
|
+
_request_timeout=params.get('_request_timeout'),
|
|
245
|
+
collection_formats=collection_formats)
|
|
246
|
+
|
|
247
|
+
def delete_user_using_delete(self, user_id, **kwargs): # noqa: E501
|
|
248
|
+
"""Delete User (deleteUser) # noqa: E501
|
|
249
|
+
|
|
250
|
+
Deletes the User, it's credentials and all the relations (from and to the User). Referencing non-existing User Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
251
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
252
|
+
asynchronous HTTP request, please pass async_req=True
|
|
253
|
+
>>> thread = api.delete_user_using_delete(user_id, async_req=True)
|
|
254
|
+
>>> result = thread.get()
|
|
255
|
+
|
|
256
|
+
:param async_req bool
|
|
257
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
258
|
+
:return: None
|
|
259
|
+
If the method is called asynchronously,
|
|
260
|
+
returns the request thread.
|
|
261
|
+
"""
|
|
262
|
+
kwargs['_return_http_data_only'] = True
|
|
263
|
+
if kwargs.get('async_req'):
|
|
264
|
+
return self.delete_user_using_delete_with_http_info(user_id, **kwargs) # noqa: E501
|
|
265
|
+
else:
|
|
266
|
+
(data) = self.delete_user_using_delete_with_http_info(user_id, **kwargs) # noqa: E501
|
|
267
|
+
return data
|
|
268
|
+
|
|
269
|
+
def delete_user_using_delete_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
270
|
+
"""Delete User (deleteUser) # noqa: E501
|
|
271
|
+
|
|
272
|
+
Deletes the User, it's credentials and all the relations (from and to the User). Referencing non-existing User Id will cause an error. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
273
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
274
|
+
asynchronous HTTP request, please pass async_req=True
|
|
275
|
+
>>> thread = api.delete_user_using_delete_with_http_info(user_id, async_req=True)
|
|
276
|
+
>>> result = thread.get()
|
|
277
|
+
|
|
278
|
+
:param async_req bool
|
|
279
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
280
|
+
:return: None
|
|
281
|
+
If the method is called asynchronously,
|
|
282
|
+
returns the request thread.
|
|
283
|
+
"""
|
|
284
|
+
|
|
285
|
+
all_params = ['user_id'] # noqa: E501
|
|
286
|
+
all_params.append('async_req')
|
|
287
|
+
all_params.append('_return_http_data_only')
|
|
288
|
+
all_params.append('_preload_content')
|
|
289
|
+
all_params.append('_request_timeout')
|
|
290
|
+
|
|
291
|
+
params = locals()
|
|
292
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
293
|
+
if key not in all_params:
|
|
294
|
+
raise TypeError(
|
|
295
|
+
"Got an unexpected keyword argument '%s'"
|
|
296
|
+
" to method delete_user_using_delete" % key
|
|
297
|
+
)
|
|
298
|
+
params[key] = val
|
|
299
|
+
del params['kwargs']
|
|
300
|
+
# verify the required parameter 'user_id' is set
|
|
301
|
+
if ('user_id' not in params or
|
|
302
|
+
params['user_id'] is None):
|
|
303
|
+
raise ValueError("Missing the required parameter `user_id` when calling `delete_user_using_delete`") # noqa: E501
|
|
304
|
+
|
|
305
|
+
collection_formats = {}
|
|
306
|
+
|
|
307
|
+
path_params = {}
|
|
308
|
+
if 'user_id' in params:
|
|
309
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
310
|
+
|
|
311
|
+
query_params = []
|
|
312
|
+
|
|
313
|
+
header_params = {}
|
|
314
|
+
|
|
315
|
+
form_params = []
|
|
316
|
+
local_var_files = {}
|
|
317
|
+
|
|
318
|
+
body_params = None
|
|
319
|
+
# HTTP header `Accept`
|
|
320
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
321
|
+
['application/json']) # noqa: E501
|
|
322
|
+
|
|
323
|
+
# Authentication setting
|
|
324
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
325
|
+
|
|
326
|
+
return self.api_client.call_api(
|
|
327
|
+
'/api/user/{userId}', 'DELETE',
|
|
328
|
+
path_params,
|
|
329
|
+
query_params,
|
|
330
|
+
header_params,
|
|
331
|
+
body=body_params,
|
|
332
|
+
post_params=form_params,
|
|
333
|
+
files=local_var_files,
|
|
334
|
+
response_type=None, # noqa: E501
|
|
335
|
+
auth_settings=auth_settings,
|
|
336
|
+
async_req=params.get('async_req'),
|
|
337
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
338
|
+
_preload_content=params.get('_preload_content', True),
|
|
339
|
+
_request_timeout=params.get('_request_timeout'),
|
|
340
|
+
collection_formats=collection_formats)
|
|
341
|
+
|
|
342
|
+
def find_users_by_query_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
343
|
+
"""Find users by query (findUsersByQuery) # noqa: E501
|
|
344
|
+
|
|
345
|
+
Returns page of user data objects. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
346
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
347
|
+
asynchronous HTTP request, please pass async_req=True
|
|
348
|
+
>>> thread = api.find_users_by_query_using_get(page_size, page, async_req=True)
|
|
349
|
+
>>> result = thread.get()
|
|
350
|
+
|
|
351
|
+
:param async_req bool
|
|
352
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
353
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
354
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
355
|
+
:param str sort_property: Property of entity to sort by
|
|
356
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
357
|
+
:return: PageDataUserEmailInfo
|
|
358
|
+
If the method is called asynchronously,
|
|
359
|
+
returns the request thread.
|
|
360
|
+
"""
|
|
361
|
+
kwargs['_return_http_data_only'] = True
|
|
362
|
+
if kwargs.get('async_req'):
|
|
363
|
+
return self.find_users_by_query_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
364
|
+
else:
|
|
365
|
+
(data) = self.find_users_by_query_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
366
|
+
return data
|
|
367
|
+
|
|
368
|
+
def find_users_by_query_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
369
|
+
"""Find users by query (findUsersByQuery) # noqa: E501
|
|
370
|
+
|
|
371
|
+
Returns page of user data objects. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
372
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
373
|
+
asynchronous HTTP request, please pass async_req=True
|
|
374
|
+
>>> thread = api.find_users_by_query_using_get_with_http_info(page_size, page, async_req=True)
|
|
375
|
+
>>> result = thread.get()
|
|
376
|
+
|
|
377
|
+
:param async_req bool
|
|
378
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
379
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
380
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
381
|
+
:param str sort_property: Property of entity to sort by
|
|
382
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
383
|
+
:return: PageDataUserEmailInfo
|
|
384
|
+
If the method is called asynchronously,
|
|
385
|
+
returns the request thread.
|
|
386
|
+
"""
|
|
387
|
+
|
|
388
|
+
all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
389
|
+
all_params.append('async_req')
|
|
390
|
+
all_params.append('_return_http_data_only')
|
|
391
|
+
all_params.append('_preload_content')
|
|
392
|
+
all_params.append('_request_timeout')
|
|
393
|
+
|
|
394
|
+
params = locals()
|
|
395
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
396
|
+
if key not in all_params:
|
|
397
|
+
raise TypeError(
|
|
398
|
+
"Got an unexpected keyword argument '%s'"
|
|
399
|
+
" to method find_users_by_query_using_get" % key
|
|
400
|
+
)
|
|
401
|
+
params[key] = val
|
|
402
|
+
del params['kwargs']
|
|
403
|
+
# verify the required parameter 'page_size' is set
|
|
404
|
+
if ('page_size' not in params or
|
|
405
|
+
params['page_size'] is None):
|
|
406
|
+
raise ValueError("Missing the required parameter `page_size` when calling `find_users_by_query_using_get`") # noqa: E501
|
|
407
|
+
# verify the required parameter 'page' is set
|
|
408
|
+
if ('page' not in params or
|
|
409
|
+
params['page'] is None):
|
|
410
|
+
raise ValueError("Missing the required parameter `page` when calling `find_users_by_query_using_get`") # noqa: E501
|
|
411
|
+
|
|
412
|
+
collection_formats = {}
|
|
413
|
+
|
|
414
|
+
path_params = {}
|
|
415
|
+
|
|
416
|
+
query_params = []
|
|
417
|
+
if 'page_size' in params:
|
|
418
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
419
|
+
if 'page' in params:
|
|
420
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
421
|
+
if 'text_search' in params:
|
|
422
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
423
|
+
if 'sort_property' in params:
|
|
424
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
425
|
+
if 'sort_order' in params:
|
|
426
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
427
|
+
|
|
428
|
+
header_params = {}
|
|
429
|
+
|
|
430
|
+
form_params = []
|
|
431
|
+
local_var_files = {}
|
|
432
|
+
|
|
433
|
+
body_params = None
|
|
434
|
+
# HTTP header `Accept`
|
|
435
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
436
|
+
['application/json']) # noqa: E501
|
|
437
|
+
|
|
438
|
+
# Authentication setting
|
|
439
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
440
|
+
|
|
441
|
+
return self.api_client.call_api(
|
|
442
|
+
'/api/users/info{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
443
|
+
path_params,
|
|
444
|
+
query_params,
|
|
445
|
+
header_params,
|
|
446
|
+
body=body_params,
|
|
447
|
+
post_params=form_params,
|
|
448
|
+
files=local_var_files,
|
|
449
|
+
response_type='PageDataUserEmailInfo', # noqa: E501
|
|
450
|
+
auth_settings=auth_settings,
|
|
451
|
+
async_req=params.get('async_req'),
|
|
452
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
453
|
+
_preload_content=params.get('_preload_content', True),
|
|
454
|
+
_request_timeout=params.get('_request_timeout'),
|
|
455
|
+
collection_formats=collection_formats)
|
|
456
|
+
|
|
457
|
+
def get_activation_link_using_get(self, user_id, **kwargs): # noqa: E501
|
|
458
|
+
"""Get the activation link (getActivationLink) # noqa: E501
|
|
459
|
+
|
|
460
|
+
Get the activation link for the user. The base url for activation link is configurable in the general settings of system administrator. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
461
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
462
|
+
asynchronous HTTP request, please pass async_req=True
|
|
463
|
+
>>> thread = api.get_activation_link_using_get(user_id, async_req=True)
|
|
464
|
+
>>> result = thread.get()
|
|
465
|
+
|
|
466
|
+
:param async_req bool
|
|
467
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
468
|
+
:return: str
|
|
469
|
+
If the method is called asynchronously,
|
|
470
|
+
returns the request thread.
|
|
471
|
+
"""
|
|
472
|
+
kwargs['_return_http_data_only'] = True
|
|
473
|
+
if kwargs.get('async_req'):
|
|
474
|
+
return self.get_activation_link_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
475
|
+
else:
|
|
476
|
+
(data) = self.get_activation_link_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
477
|
+
return data
|
|
478
|
+
|
|
479
|
+
def get_activation_link_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
480
|
+
"""Get the activation link (getActivationLink) # noqa: E501
|
|
481
|
+
|
|
482
|
+
Get the activation link for the user. The base url for activation link is configurable in the general settings of system administrator. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
483
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
484
|
+
asynchronous HTTP request, please pass async_req=True
|
|
485
|
+
>>> thread = api.get_activation_link_using_get_with_http_info(user_id, async_req=True)
|
|
486
|
+
>>> result = thread.get()
|
|
487
|
+
|
|
488
|
+
:param async_req bool
|
|
489
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
490
|
+
:return: str
|
|
491
|
+
If the method is called asynchronously,
|
|
492
|
+
returns the request thread.
|
|
493
|
+
"""
|
|
494
|
+
|
|
495
|
+
all_params = ['user_id'] # noqa: E501
|
|
496
|
+
all_params.append('async_req')
|
|
497
|
+
all_params.append('_return_http_data_only')
|
|
498
|
+
all_params.append('_preload_content')
|
|
499
|
+
all_params.append('_request_timeout')
|
|
500
|
+
|
|
501
|
+
params = locals()
|
|
502
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
503
|
+
if key not in all_params:
|
|
504
|
+
raise TypeError(
|
|
505
|
+
"Got an unexpected keyword argument '%s'"
|
|
506
|
+
" to method get_activation_link_using_get" % key
|
|
507
|
+
)
|
|
508
|
+
params[key] = val
|
|
509
|
+
del params['kwargs']
|
|
510
|
+
# verify the required parameter 'user_id' is set
|
|
511
|
+
if ('user_id' not in params or
|
|
512
|
+
params['user_id'] is None):
|
|
513
|
+
raise ValueError("Missing the required parameter `user_id` when calling `get_activation_link_using_get`") # noqa: E501
|
|
514
|
+
|
|
515
|
+
collection_formats = {}
|
|
516
|
+
|
|
517
|
+
path_params = {}
|
|
518
|
+
if 'user_id' in params:
|
|
519
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
520
|
+
|
|
521
|
+
query_params = []
|
|
522
|
+
|
|
523
|
+
header_params = {}
|
|
524
|
+
|
|
525
|
+
form_params = []
|
|
526
|
+
local_var_files = {}
|
|
527
|
+
|
|
528
|
+
body_params = None
|
|
529
|
+
# HTTP header `Accept`
|
|
530
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
531
|
+
['text/plain']) # noqa: E501
|
|
532
|
+
|
|
533
|
+
# Authentication setting
|
|
534
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
535
|
+
|
|
536
|
+
return self.api_client.call_api(
|
|
537
|
+
'/api/user/{userId}/activationLink', 'GET',
|
|
538
|
+
path_params,
|
|
539
|
+
query_params,
|
|
540
|
+
header_params,
|
|
541
|
+
body=body_params,
|
|
542
|
+
post_params=form_params,
|
|
543
|
+
files=local_var_files,
|
|
544
|
+
response_type='str', # noqa: E501
|
|
545
|
+
auth_settings=auth_settings,
|
|
546
|
+
async_req=params.get('async_req'),
|
|
547
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
548
|
+
_preload_content=params.get('_preload_content', True),
|
|
549
|
+
_request_timeout=params.get('_request_timeout'),
|
|
550
|
+
collection_formats=collection_formats)
|
|
551
|
+
|
|
552
|
+
def get_all_customer_users_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
553
|
+
"""Get Customer Users (getCustomerUsers) # noqa: E501
|
|
554
|
+
|
|
555
|
+
Returns a page of users for the current tenant with authority 'CUSTOMER_USER'. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
556
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
557
|
+
asynchronous HTTP request, please pass async_req=True
|
|
558
|
+
>>> thread = api.get_all_customer_users_using_get(page_size, page, async_req=True)
|
|
559
|
+
>>> result = thread.get()
|
|
560
|
+
|
|
561
|
+
:param async_req bool
|
|
562
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
563
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
564
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
565
|
+
:param str sort_property: Property of entity to sort by
|
|
566
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
567
|
+
:return: PageDataUser
|
|
568
|
+
If the method is called asynchronously,
|
|
569
|
+
returns the request thread.
|
|
570
|
+
"""
|
|
571
|
+
kwargs['_return_http_data_only'] = True
|
|
572
|
+
if kwargs.get('async_req'):
|
|
573
|
+
return self.get_all_customer_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
574
|
+
else:
|
|
575
|
+
(data) = self.get_all_customer_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
576
|
+
return data
|
|
577
|
+
|
|
578
|
+
def get_all_customer_users_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
579
|
+
"""Get Customer Users (getCustomerUsers) # noqa: E501
|
|
580
|
+
|
|
581
|
+
Returns a page of users for the current tenant with authority 'CUSTOMER_USER'. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
582
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
583
|
+
asynchronous HTTP request, please pass async_req=True
|
|
584
|
+
>>> thread = api.get_all_customer_users_using_get_with_http_info(page_size, page, async_req=True)
|
|
585
|
+
>>> result = thread.get()
|
|
586
|
+
|
|
587
|
+
:param async_req bool
|
|
588
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
589
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
590
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
591
|
+
:param str sort_property: Property of entity to sort by
|
|
592
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
593
|
+
:return: PageDataUser
|
|
594
|
+
If the method is called asynchronously,
|
|
595
|
+
returns the request thread.
|
|
596
|
+
"""
|
|
597
|
+
|
|
598
|
+
all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
599
|
+
all_params.append('async_req')
|
|
600
|
+
all_params.append('_return_http_data_only')
|
|
601
|
+
all_params.append('_preload_content')
|
|
602
|
+
all_params.append('_request_timeout')
|
|
603
|
+
|
|
604
|
+
params = locals()
|
|
605
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
606
|
+
if key not in all_params:
|
|
607
|
+
raise TypeError(
|
|
608
|
+
"Got an unexpected keyword argument '%s'"
|
|
609
|
+
" to method get_all_customer_users_using_get" % key
|
|
610
|
+
)
|
|
611
|
+
params[key] = val
|
|
612
|
+
del params['kwargs']
|
|
613
|
+
# verify the required parameter 'page_size' is set
|
|
614
|
+
if ('page_size' not in params or
|
|
615
|
+
params['page_size'] is None):
|
|
616
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_all_customer_users_using_get`") # noqa: E501
|
|
617
|
+
# verify the required parameter 'page' is set
|
|
618
|
+
if ('page' not in params or
|
|
619
|
+
params['page'] is None):
|
|
620
|
+
raise ValueError("Missing the required parameter `page` when calling `get_all_customer_users_using_get`") # noqa: E501
|
|
621
|
+
|
|
622
|
+
collection_formats = {}
|
|
623
|
+
|
|
624
|
+
path_params = {}
|
|
625
|
+
|
|
626
|
+
query_params = []
|
|
627
|
+
if 'page_size' in params:
|
|
628
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
629
|
+
if 'page' in params:
|
|
630
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
631
|
+
if 'text_search' in params:
|
|
632
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
633
|
+
if 'sort_property' in params:
|
|
634
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
635
|
+
if 'sort_order' in params:
|
|
636
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
637
|
+
|
|
638
|
+
header_params = {}
|
|
639
|
+
|
|
640
|
+
form_params = []
|
|
641
|
+
local_var_files = {}
|
|
642
|
+
|
|
643
|
+
body_params = None
|
|
644
|
+
# HTTP header `Accept`
|
|
645
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
646
|
+
['application/json']) # noqa: E501
|
|
647
|
+
|
|
648
|
+
# Authentication setting
|
|
649
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
650
|
+
|
|
651
|
+
return self.api_client.call_api(
|
|
652
|
+
'/api/customer/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
653
|
+
path_params,
|
|
654
|
+
query_params,
|
|
655
|
+
header_params,
|
|
656
|
+
body=body_params,
|
|
657
|
+
post_params=form_params,
|
|
658
|
+
files=local_var_files,
|
|
659
|
+
response_type='PageDataUser', # noqa: E501
|
|
660
|
+
auth_settings=auth_settings,
|
|
661
|
+
async_req=params.get('async_req'),
|
|
662
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
663
|
+
_preload_content=params.get('_preload_content', True),
|
|
664
|
+
_request_timeout=params.get('_request_timeout'),
|
|
665
|
+
collection_formats=collection_formats)
|
|
666
|
+
|
|
667
|
+
def get_all_user_infos_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
668
|
+
"""Get All User Infos for current user (getAllUserInfos) # noqa: E501
|
|
669
|
+
|
|
670
|
+
Returns a page of user info objects owned by the tenant or the customer of a current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
671
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
672
|
+
asynchronous HTTP request, please pass async_req=True
|
|
673
|
+
>>> thread = api.get_all_user_infos_using_get(page_size, page, async_req=True)
|
|
674
|
+
>>> result = thread.get()
|
|
675
|
+
|
|
676
|
+
:param async_req bool
|
|
677
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
678
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
679
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
680
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
681
|
+
:param str sort_property: Property of entity to sort by
|
|
682
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
683
|
+
:return: PageDataUserInfo
|
|
684
|
+
If the method is called asynchronously,
|
|
685
|
+
returns the request thread.
|
|
686
|
+
"""
|
|
687
|
+
kwargs['_return_http_data_only'] = True
|
|
688
|
+
if kwargs.get('async_req'):
|
|
689
|
+
return self.get_all_user_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
690
|
+
else:
|
|
691
|
+
(data) = self.get_all_user_infos_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
692
|
+
return data
|
|
693
|
+
|
|
694
|
+
def get_all_user_infos_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
695
|
+
"""Get All User Infos for current user (getAllUserInfos) # noqa: E501
|
|
696
|
+
|
|
697
|
+
Returns a page of user info objects owned by the tenant or the customer of a current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
698
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
699
|
+
asynchronous HTTP request, please pass async_req=True
|
|
700
|
+
>>> thread = api.get_all_user_infos_using_get_with_http_info(page_size, page, async_req=True)
|
|
701
|
+
>>> result = thread.get()
|
|
702
|
+
|
|
703
|
+
:param async_req bool
|
|
704
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
705
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
706
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
707
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
708
|
+
:param str sort_property: Property of entity to sort by
|
|
709
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
710
|
+
:return: PageDataUserInfo
|
|
711
|
+
If the method is called asynchronously,
|
|
712
|
+
returns the request thread.
|
|
713
|
+
"""
|
|
714
|
+
|
|
715
|
+
all_params = ['page_size', 'page', 'include_customers', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
716
|
+
all_params.append('async_req')
|
|
717
|
+
all_params.append('_return_http_data_only')
|
|
718
|
+
all_params.append('_preload_content')
|
|
719
|
+
all_params.append('_request_timeout')
|
|
720
|
+
|
|
721
|
+
params = locals()
|
|
722
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
723
|
+
if key not in all_params:
|
|
724
|
+
raise TypeError(
|
|
725
|
+
"Got an unexpected keyword argument '%s'"
|
|
726
|
+
" to method get_all_user_infos_using_get" % key
|
|
727
|
+
)
|
|
728
|
+
params[key] = val
|
|
729
|
+
del params['kwargs']
|
|
730
|
+
# verify the required parameter 'page_size' is set
|
|
731
|
+
if ('page_size' not in params or
|
|
732
|
+
params['page_size'] is None):
|
|
733
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_all_user_infos_using_get`") # noqa: E501
|
|
734
|
+
# verify the required parameter 'page' is set
|
|
735
|
+
if ('page' not in params or
|
|
736
|
+
params['page'] is None):
|
|
737
|
+
raise ValueError("Missing the required parameter `page` when calling `get_all_user_infos_using_get`") # noqa: E501
|
|
738
|
+
|
|
739
|
+
collection_formats = {}
|
|
740
|
+
|
|
741
|
+
path_params = {}
|
|
742
|
+
|
|
743
|
+
query_params = []
|
|
744
|
+
if 'page_size' in params:
|
|
745
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
746
|
+
if 'page' in params:
|
|
747
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
748
|
+
if 'include_customers' in params:
|
|
749
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
750
|
+
if 'text_search' in params:
|
|
751
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
752
|
+
if 'sort_property' in params:
|
|
753
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
754
|
+
if 'sort_order' in params:
|
|
755
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
756
|
+
|
|
757
|
+
header_params = {}
|
|
758
|
+
|
|
759
|
+
form_params = []
|
|
760
|
+
local_var_files = {}
|
|
761
|
+
|
|
762
|
+
body_params = None
|
|
763
|
+
# HTTP header `Accept`
|
|
764
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
765
|
+
['application/json']) # noqa: E501
|
|
766
|
+
|
|
767
|
+
# Authentication setting
|
|
768
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
769
|
+
|
|
770
|
+
return self.api_client.call_api(
|
|
771
|
+
'/api/userInfos/all{?includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
772
|
+
path_params,
|
|
773
|
+
query_params,
|
|
774
|
+
header_params,
|
|
775
|
+
body=body_params,
|
|
776
|
+
post_params=form_params,
|
|
777
|
+
files=local_var_files,
|
|
778
|
+
response_type='PageDataUserInfo', # noqa: E501
|
|
779
|
+
auth_settings=auth_settings,
|
|
780
|
+
async_req=params.get('async_req'),
|
|
781
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
782
|
+
_preload_content=params.get('_preload_content', True),
|
|
783
|
+
_request_timeout=params.get('_request_timeout'),
|
|
784
|
+
collection_formats=collection_formats)
|
|
785
|
+
|
|
786
|
+
def get_customer_user_infos_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
787
|
+
"""Get Customer user Infos (getCustomerUserInfos) # noqa: E501
|
|
788
|
+
|
|
789
|
+
Returns a page of user info objects owned by the specified customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
790
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
791
|
+
asynchronous HTTP request, please pass async_req=True
|
|
792
|
+
>>> thread = api.get_customer_user_infos_using_get(customer_id, page_size, page, async_req=True)
|
|
793
|
+
>>> result = thread.get()
|
|
794
|
+
|
|
795
|
+
:param async_req bool
|
|
796
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
797
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
798
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
799
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
800
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
801
|
+
:param str sort_property: Property of entity to sort by
|
|
802
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
803
|
+
:return: PageDataUserInfo
|
|
804
|
+
If the method is called asynchronously,
|
|
805
|
+
returns the request thread.
|
|
806
|
+
"""
|
|
807
|
+
kwargs['_return_http_data_only'] = True
|
|
808
|
+
if kwargs.get('async_req'):
|
|
809
|
+
return self.get_customer_user_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
810
|
+
else:
|
|
811
|
+
(data) = self.get_customer_user_infos_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
812
|
+
return data
|
|
813
|
+
|
|
814
|
+
def get_customer_user_infos_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
815
|
+
"""Get Customer user Infos (getCustomerUserInfos) # noqa: E501
|
|
816
|
+
|
|
817
|
+
Returns a page of user info objects owned by the specified customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
818
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
819
|
+
asynchronous HTTP request, please pass async_req=True
|
|
820
|
+
>>> thread = api.get_customer_user_infos_using_get_with_http_info(customer_id, page_size, page, async_req=True)
|
|
821
|
+
>>> result = thread.get()
|
|
822
|
+
|
|
823
|
+
:param async_req bool
|
|
824
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
825
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
826
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
827
|
+
:param bool include_customers: Include customer or sub-customer entities
|
|
828
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
829
|
+
:param str sort_property: Property of entity to sort by
|
|
830
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
831
|
+
:return: PageDataUserInfo
|
|
832
|
+
If the method is called asynchronously,
|
|
833
|
+
returns the request thread.
|
|
834
|
+
"""
|
|
835
|
+
|
|
836
|
+
all_params = ['customer_id', 'page_size', 'page', 'include_customers', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
837
|
+
all_params.append('async_req')
|
|
838
|
+
all_params.append('_return_http_data_only')
|
|
839
|
+
all_params.append('_preload_content')
|
|
840
|
+
all_params.append('_request_timeout')
|
|
841
|
+
|
|
842
|
+
params = locals()
|
|
843
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
844
|
+
if key not in all_params:
|
|
845
|
+
raise TypeError(
|
|
846
|
+
"Got an unexpected keyword argument '%s'"
|
|
847
|
+
" to method get_customer_user_infos_using_get" % key
|
|
848
|
+
)
|
|
849
|
+
params[key] = val
|
|
850
|
+
del params['kwargs']
|
|
851
|
+
# verify the required parameter 'customer_id' is set
|
|
852
|
+
if ('customer_id' not in params or
|
|
853
|
+
params['customer_id'] is None):
|
|
854
|
+
raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_user_infos_using_get`") # noqa: E501
|
|
855
|
+
# verify the required parameter 'page_size' is set
|
|
856
|
+
if ('page_size' not in params or
|
|
857
|
+
params['page_size'] is None):
|
|
858
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_customer_user_infos_using_get`") # noqa: E501
|
|
859
|
+
# verify the required parameter 'page' is set
|
|
860
|
+
if ('page' not in params or
|
|
861
|
+
params['page'] is None):
|
|
862
|
+
raise ValueError("Missing the required parameter `page` when calling `get_customer_user_infos_using_get`") # noqa: E501
|
|
863
|
+
|
|
864
|
+
collection_formats = {}
|
|
865
|
+
|
|
866
|
+
path_params = {}
|
|
867
|
+
if 'customer_id' in params:
|
|
868
|
+
path_params['customerId'] = params['customer_id'] # noqa: E501
|
|
869
|
+
|
|
870
|
+
query_params = []
|
|
871
|
+
if 'page_size' in params:
|
|
872
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
873
|
+
if 'page' in params:
|
|
874
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
875
|
+
if 'include_customers' in params:
|
|
876
|
+
query_params.append(('includeCustomers', params['include_customers'])) # noqa: E501
|
|
877
|
+
if 'text_search' in params:
|
|
878
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
879
|
+
if 'sort_property' in params:
|
|
880
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
881
|
+
if 'sort_order' in params:
|
|
882
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
883
|
+
|
|
884
|
+
header_params = {}
|
|
885
|
+
|
|
886
|
+
form_params = []
|
|
887
|
+
local_var_files = {}
|
|
888
|
+
|
|
889
|
+
body_params = None
|
|
890
|
+
# HTTP header `Accept`
|
|
891
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
892
|
+
['application/json']) # noqa: E501
|
|
893
|
+
|
|
894
|
+
# Authentication setting
|
|
895
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
896
|
+
|
|
897
|
+
return self.api_client.call_api(
|
|
898
|
+
'/api/customer/{customerId}/userInfos{?includeCustomers,page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
899
|
+
path_params,
|
|
900
|
+
query_params,
|
|
901
|
+
header_params,
|
|
902
|
+
body=body_params,
|
|
903
|
+
post_params=form_params,
|
|
904
|
+
files=local_var_files,
|
|
905
|
+
response_type='PageDataUserInfo', # noqa: E501
|
|
906
|
+
auth_settings=auth_settings,
|
|
907
|
+
async_req=params.get('async_req'),
|
|
908
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
909
|
+
_preload_content=params.get('_preload_content', True),
|
|
910
|
+
_request_timeout=params.get('_request_timeout'),
|
|
911
|
+
collection_formats=collection_formats)
|
|
912
|
+
|
|
913
|
+
def get_customer_users_using_get(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
914
|
+
"""Get Customer Users (getCustomerUsers) # noqa: E501
|
|
915
|
+
|
|
916
|
+
Returns a page of users owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
917
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
918
|
+
asynchronous HTTP request, please pass async_req=True
|
|
919
|
+
>>> thread = api.get_customer_users_using_get(customer_id, page_size, page, async_req=True)
|
|
920
|
+
>>> result = thread.get()
|
|
921
|
+
|
|
922
|
+
:param async_req bool
|
|
923
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
924
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
925
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
926
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
927
|
+
:param str sort_property: Property of entity to sort by
|
|
928
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
929
|
+
:return: PageDataUser
|
|
930
|
+
If the method is called asynchronously,
|
|
931
|
+
returns the request thread.
|
|
932
|
+
"""
|
|
933
|
+
kwargs['_return_http_data_only'] = True
|
|
934
|
+
if kwargs.get('async_req'):
|
|
935
|
+
return self.get_customer_users_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
936
|
+
else:
|
|
937
|
+
(data) = self.get_customer_users_using_get_with_http_info(customer_id, page_size, page, **kwargs) # noqa: E501
|
|
938
|
+
return data
|
|
939
|
+
|
|
940
|
+
def get_customer_users_using_get_with_http_info(self, customer_id, page_size, page, **kwargs): # noqa: E501
|
|
941
|
+
"""Get Customer Users (getCustomerUsers) # noqa: E501
|
|
942
|
+
|
|
943
|
+
Returns a page of users owned by customer. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
944
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
945
|
+
asynchronous HTTP request, please pass async_req=True
|
|
946
|
+
>>> thread = api.get_customer_users_using_get_with_http_info(customer_id, page_size, page, async_req=True)
|
|
947
|
+
>>> result = thread.get()
|
|
948
|
+
|
|
949
|
+
:param async_req bool
|
|
950
|
+
:param str customer_id: A string value representing the customer id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
951
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
952
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
953
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
954
|
+
:param str sort_property: Property of entity to sort by
|
|
955
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
956
|
+
:return: PageDataUser
|
|
957
|
+
If the method is called asynchronously,
|
|
958
|
+
returns the request thread.
|
|
959
|
+
"""
|
|
960
|
+
|
|
961
|
+
all_params = ['customer_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
962
|
+
all_params.append('async_req')
|
|
963
|
+
all_params.append('_return_http_data_only')
|
|
964
|
+
all_params.append('_preload_content')
|
|
965
|
+
all_params.append('_request_timeout')
|
|
966
|
+
|
|
967
|
+
params = locals()
|
|
968
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
969
|
+
if key not in all_params:
|
|
970
|
+
raise TypeError(
|
|
971
|
+
"Got an unexpected keyword argument '%s'"
|
|
972
|
+
" to method get_customer_users_using_get" % key
|
|
973
|
+
)
|
|
974
|
+
params[key] = val
|
|
975
|
+
del params['kwargs']
|
|
976
|
+
# verify the required parameter 'customer_id' is set
|
|
977
|
+
if ('customer_id' not in params or
|
|
978
|
+
params['customer_id'] is None):
|
|
979
|
+
raise ValueError("Missing the required parameter `customer_id` when calling `get_customer_users_using_get`") # noqa: E501
|
|
980
|
+
# verify the required parameter 'page_size' is set
|
|
981
|
+
if ('page_size' not in params or
|
|
982
|
+
params['page_size'] is None):
|
|
983
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_customer_users_using_get`") # noqa: E501
|
|
984
|
+
# verify the required parameter 'page' is set
|
|
985
|
+
if ('page' not in params or
|
|
986
|
+
params['page'] is None):
|
|
987
|
+
raise ValueError("Missing the required parameter `page` when calling `get_customer_users_using_get`") # noqa: E501
|
|
988
|
+
|
|
989
|
+
collection_formats = {}
|
|
990
|
+
|
|
991
|
+
path_params = {}
|
|
992
|
+
if 'customer_id' in params:
|
|
993
|
+
path_params['customerId'] = params['customer_id'] # noqa: E501
|
|
994
|
+
|
|
995
|
+
query_params = []
|
|
996
|
+
if 'page_size' in params:
|
|
997
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
998
|
+
if 'page' in params:
|
|
999
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1000
|
+
if 'text_search' in params:
|
|
1001
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1002
|
+
if 'sort_property' in params:
|
|
1003
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1004
|
+
if 'sort_order' in params:
|
|
1005
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1006
|
+
|
|
1007
|
+
header_params = {}
|
|
1008
|
+
|
|
1009
|
+
form_params = []
|
|
1010
|
+
local_var_files = {}
|
|
1011
|
+
|
|
1012
|
+
body_params = None
|
|
1013
|
+
# HTTP header `Accept`
|
|
1014
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1015
|
+
['application/json']) # noqa: E501
|
|
1016
|
+
|
|
1017
|
+
# Authentication setting
|
|
1018
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1019
|
+
|
|
1020
|
+
return self.api_client.call_api(
|
|
1021
|
+
'/api/customer/{customerId}/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1022
|
+
path_params,
|
|
1023
|
+
query_params,
|
|
1024
|
+
header_params,
|
|
1025
|
+
body=body_params,
|
|
1026
|
+
post_params=form_params,
|
|
1027
|
+
files=local_var_files,
|
|
1028
|
+
response_type='PageDataUser', # noqa: E501
|
|
1029
|
+
auth_settings=auth_settings,
|
|
1030
|
+
async_req=params.get('async_req'),
|
|
1031
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1032
|
+
_preload_content=params.get('_preload_content', True),
|
|
1033
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1034
|
+
collection_formats=collection_formats)
|
|
1035
|
+
|
|
1036
|
+
def get_mobile_session_using_get(self, x_mobile_token, **kwargs): # noqa: E501
|
|
1037
|
+
"""getMobileSession # noqa: E501
|
|
1038
|
+
|
|
1039
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1040
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1041
|
+
>>> thread = api.get_mobile_session_using_get(x_mobile_token, async_req=True)
|
|
1042
|
+
>>> result = thread.get()
|
|
1043
|
+
|
|
1044
|
+
:param async_req bool
|
|
1045
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
1046
|
+
:return: MobileSessionInfo
|
|
1047
|
+
If the method is called asynchronously,
|
|
1048
|
+
returns the request thread.
|
|
1049
|
+
"""
|
|
1050
|
+
kwargs['_return_http_data_only'] = True
|
|
1051
|
+
if kwargs.get('async_req'):
|
|
1052
|
+
return self.get_mobile_session_using_get_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
1053
|
+
else:
|
|
1054
|
+
(data) = self.get_mobile_session_using_get_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
1055
|
+
return data
|
|
1056
|
+
|
|
1057
|
+
def get_mobile_session_using_get_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
|
|
1058
|
+
"""getMobileSession # noqa: E501
|
|
1059
|
+
|
|
1060
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1061
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1062
|
+
>>> thread = api.get_mobile_session_using_get_with_http_info(x_mobile_token, async_req=True)
|
|
1063
|
+
>>> result = thread.get()
|
|
1064
|
+
|
|
1065
|
+
:param async_req bool
|
|
1066
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
1067
|
+
:return: MobileSessionInfo
|
|
1068
|
+
If the method is called asynchronously,
|
|
1069
|
+
returns the request thread.
|
|
1070
|
+
"""
|
|
1071
|
+
|
|
1072
|
+
all_params = ['x_mobile_token'] # noqa: E501
|
|
1073
|
+
all_params.append('async_req')
|
|
1074
|
+
all_params.append('_return_http_data_only')
|
|
1075
|
+
all_params.append('_preload_content')
|
|
1076
|
+
all_params.append('_request_timeout')
|
|
1077
|
+
|
|
1078
|
+
params = locals()
|
|
1079
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1080
|
+
if key not in all_params:
|
|
1081
|
+
raise TypeError(
|
|
1082
|
+
"Got an unexpected keyword argument '%s'"
|
|
1083
|
+
" to method get_mobile_session_using_get" % key
|
|
1084
|
+
)
|
|
1085
|
+
params[key] = val
|
|
1086
|
+
del params['kwargs']
|
|
1087
|
+
# verify the required parameter 'x_mobile_token' is set
|
|
1088
|
+
if ('x_mobile_token' not in params or
|
|
1089
|
+
params['x_mobile_token'] is None):
|
|
1090
|
+
raise ValueError("Missing the required parameter `x_mobile_token` when calling `get_mobile_session_using_get`") # noqa: E501
|
|
1091
|
+
|
|
1092
|
+
collection_formats = {}
|
|
1093
|
+
|
|
1094
|
+
path_params = {}
|
|
1095
|
+
|
|
1096
|
+
query_params = []
|
|
1097
|
+
|
|
1098
|
+
header_params = {}
|
|
1099
|
+
if 'x_mobile_token' in params:
|
|
1100
|
+
header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
|
|
1101
|
+
|
|
1102
|
+
form_params = []
|
|
1103
|
+
local_var_files = {}
|
|
1104
|
+
|
|
1105
|
+
body_params = None
|
|
1106
|
+
# HTTP header `Accept`
|
|
1107
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1108
|
+
['application/json']) # noqa: E501
|
|
1109
|
+
|
|
1110
|
+
# Authentication setting
|
|
1111
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1112
|
+
|
|
1113
|
+
return self.api_client.call_api(
|
|
1114
|
+
'/api/user/mobile/session', 'GET',
|
|
1115
|
+
path_params,
|
|
1116
|
+
query_params,
|
|
1117
|
+
header_params,
|
|
1118
|
+
body=body_params,
|
|
1119
|
+
post_params=form_params,
|
|
1120
|
+
files=local_var_files,
|
|
1121
|
+
response_type='MobileSessionInfo', # noqa: E501
|
|
1122
|
+
auth_settings=auth_settings,
|
|
1123
|
+
async_req=params.get('async_req'),
|
|
1124
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1125
|
+
_preload_content=params.get('_preload_content', True),
|
|
1126
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1127
|
+
collection_formats=collection_formats)
|
|
1128
|
+
|
|
1129
|
+
def get_tenant_admins_using_get(self, tenant_id, page_size, page, **kwargs): # noqa: E501
|
|
1130
|
+
"""Get Tenant Users (getTenantAdmins) # noqa: E501
|
|
1131
|
+
|
|
1132
|
+
Returns a page of users owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1133
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1134
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1135
|
+
>>> thread = api.get_tenant_admins_using_get(tenant_id, page_size, page, async_req=True)
|
|
1136
|
+
>>> result = thread.get()
|
|
1137
|
+
|
|
1138
|
+
:param async_req bool
|
|
1139
|
+
:param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1140
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1141
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1142
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1143
|
+
:param str sort_property: Property of entity to sort by
|
|
1144
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1145
|
+
:return: PageDataUser
|
|
1146
|
+
If the method is called asynchronously,
|
|
1147
|
+
returns the request thread.
|
|
1148
|
+
"""
|
|
1149
|
+
kwargs['_return_http_data_only'] = True
|
|
1150
|
+
if kwargs.get('async_req'):
|
|
1151
|
+
return self.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
|
|
1152
|
+
else:
|
|
1153
|
+
(data) = self.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, **kwargs) # noqa: E501
|
|
1154
|
+
return data
|
|
1155
|
+
|
|
1156
|
+
def get_tenant_admins_using_get_with_http_info(self, tenant_id, page_size, page, **kwargs): # noqa: E501
|
|
1157
|
+
"""Get Tenant Users (getTenantAdmins) # noqa: E501
|
|
1158
|
+
|
|
1159
|
+
Returns a page of users owned by tenant. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1160
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1161
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1162
|
+
>>> thread = api.get_tenant_admins_using_get_with_http_info(tenant_id, page_size, page, async_req=True)
|
|
1163
|
+
>>> result = thread.get()
|
|
1164
|
+
|
|
1165
|
+
:param async_req bool
|
|
1166
|
+
:param str tenant_id: A string value representing the tenant id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1167
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1168
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1169
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1170
|
+
:param str sort_property: Property of entity to sort by
|
|
1171
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1172
|
+
:return: PageDataUser
|
|
1173
|
+
If the method is called asynchronously,
|
|
1174
|
+
returns the request thread.
|
|
1175
|
+
"""
|
|
1176
|
+
|
|
1177
|
+
all_params = ['tenant_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1178
|
+
all_params.append('async_req')
|
|
1179
|
+
all_params.append('_return_http_data_only')
|
|
1180
|
+
all_params.append('_preload_content')
|
|
1181
|
+
all_params.append('_request_timeout')
|
|
1182
|
+
|
|
1183
|
+
params = locals()
|
|
1184
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1185
|
+
if key not in all_params:
|
|
1186
|
+
raise TypeError(
|
|
1187
|
+
"Got an unexpected keyword argument '%s'"
|
|
1188
|
+
" to method get_tenant_admins_using_get" % key
|
|
1189
|
+
)
|
|
1190
|
+
params[key] = val
|
|
1191
|
+
del params['kwargs']
|
|
1192
|
+
# verify the required parameter 'tenant_id' is set
|
|
1193
|
+
if ('tenant_id' not in params or
|
|
1194
|
+
params['tenant_id'] is None):
|
|
1195
|
+
raise ValueError("Missing the required parameter `tenant_id` when calling `get_tenant_admins_using_get`") # noqa: E501
|
|
1196
|
+
# verify the required parameter 'page_size' is set
|
|
1197
|
+
if ('page_size' not in params or
|
|
1198
|
+
params['page_size'] is None):
|
|
1199
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_tenant_admins_using_get`") # noqa: E501
|
|
1200
|
+
# verify the required parameter 'page' is set
|
|
1201
|
+
if ('page' not in params or
|
|
1202
|
+
params['page'] is None):
|
|
1203
|
+
raise ValueError("Missing the required parameter `page` when calling `get_tenant_admins_using_get`") # noqa: E501
|
|
1204
|
+
|
|
1205
|
+
collection_formats = {}
|
|
1206
|
+
|
|
1207
|
+
path_params = {}
|
|
1208
|
+
if 'tenant_id' in params:
|
|
1209
|
+
path_params['tenantId'] = params['tenant_id'] # noqa: E501
|
|
1210
|
+
|
|
1211
|
+
query_params = []
|
|
1212
|
+
if 'page_size' in params:
|
|
1213
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1214
|
+
if 'page' in params:
|
|
1215
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1216
|
+
if 'text_search' in params:
|
|
1217
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1218
|
+
if 'sort_property' in params:
|
|
1219
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1220
|
+
if 'sort_order' in params:
|
|
1221
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1222
|
+
|
|
1223
|
+
header_params = {}
|
|
1224
|
+
|
|
1225
|
+
form_params = []
|
|
1226
|
+
local_var_files = {}
|
|
1227
|
+
|
|
1228
|
+
body_params = None
|
|
1229
|
+
# HTTP header `Accept`
|
|
1230
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1231
|
+
['application/json']) # noqa: E501
|
|
1232
|
+
|
|
1233
|
+
# Authentication setting
|
|
1234
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1235
|
+
|
|
1236
|
+
return self.api_client.call_api(
|
|
1237
|
+
'/api/tenant/{tenantId}/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1238
|
+
path_params,
|
|
1239
|
+
query_params,
|
|
1240
|
+
header_params,
|
|
1241
|
+
body=body_params,
|
|
1242
|
+
post_params=form_params,
|
|
1243
|
+
files=local_var_files,
|
|
1244
|
+
response_type='PageDataUser', # noqa: E501
|
|
1245
|
+
auth_settings=auth_settings,
|
|
1246
|
+
async_req=params.get('async_req'),
|
|
1247
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1248
|
+
_preload_content=params.get('_preload_content', True),
|
|
1249
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1250
|
+
collection_formats=collection_formats)
|
|
1251
|
+
|
|
1252
|
+
def get_user_by_id_using_get(self, user_id, **kwargs): # noqa: E501
|
|
1253
|
+
"""Get User (getUserById) # noqa: E501
|
|
1254
|
+
|
|
1255
|
+
Fetch the User object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1256
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1257
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1258
|
+
>>> thread = api.get_user_by_id_using_get(user_id, async_req=True)
|
|
1259
|
+
>>> result = thread.get()
|
|
1260
|
+
|
|
1261
|
+
:param async_req bool
|
|
1262
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1263
|
+
:return: User
|
|
1264
|
+
If the method is called asynchronously,
|
|
1265
|
+
returns the request thread.
|
|
1266
|
+
"""
|
|
1267
|
+
kwargs['_return_http_data_only'] = True
|
|
1268
|
+
if kwargs.get('async_req'):
|
|
1269
|
+
return self.get_user_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1270
|
+
else:
|
|
1271
|
+
(data) = self.get_user_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1272
|
+
return data
|
|
1273
|
+
|
|
1274
|
+
def get_user_by_id_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
1275
|
+
"""Get User (getUserById) # noqa: E501
|
|
1276
|
+
|
|
1277
|
+
Fetch the User object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1278
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1279
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1280
|
+
>>> thread = api.get_user_by_id_using_get_with_http_info(user_id, async_req=True)
|
|
1281
|
+
>>> result = thread.get()
|
|
1282
|
+
|
|
1283
|
+
:param async_req bool
|
|
1284
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1285
|
+
:return: User
|
|
1286
|
+
If the method is called asynchronously,
|
|
1287
|
+
returns the request thread.
|
|
1288
|
+
"""
|
|
1289
|
+
|
|
1290
|
+
all_params = ['user_id'] # noqa: E501
|
|
1291
|
+
all_params.append('async_req')
|
|
1292
|
+
all_params.append('_return_http_data_only')
|
|
1293
|
+
all_params.append('_preload_content')
|
|
1294
|
+
all_params.append('_request_timeout')
|
|
1295
|
+
|
|
1296
|
+
params = locals()
|
|
1297
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1298
|
+
if key not in all_params:
|
|
1299
|
+
raise TypeError(
|
|
1300
|
+
"Got an unexpected keyword argument '%s'"
|
|
1301
|
+
" to method get_user_by_id_using_get" % key
|
|
1302
|
+
)
|
|
1303
|
+
params[key] = val
|
|
1304
|
+
del params['kwargs']
|
|
1305
|
+
# verify the required parameter 'user_id' is set
|
|
1306
|
+
if ('user_id' not in params or
|
|
1307
|
+
params['user_id'] is None):
|
|
1308
|
+
raise ValueError("Missing the required parameter `user_id` when calling `get_user_by_id_using_get`") # noqa: E501
|
|
1309
|
+
|
|
1310
|
+
collection_formats = {}
|
|
1311
|
+
|
|
1312
|
+
path_params = {}
|
|
1313
|
+
if 'user_id' in params:
|
|
1314
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
1315
|
+
|
|
1316
|
+
query_params = []
|
|
1317
|
+
|
|
1318
|
+
header_params = {}
|
|
1319
|
+
|
|
1320
|
+
form_params = []
|
|
1321
|
+
local_var_files = {}
|
|
1322
|
+
|
|
1323
|
+
body_params = None
|
|
1324
|
+
# HTTP header `Accept`
|
|
1325
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1326
|
+
['application/json']) # noqa: E501
|
|
1327
|
+
|
|
1328
|
+
# Authentication setting
|
|
1329
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1330
|
+
|
|
1331
|
+
return self.api_client.call_api(
|
|
1332
|
+
'/api/user/{userId}', 'GET',
|
|
1333
|
+
path_params,
|
|
1334
|
+
query_params,
|
|
1335
|
+
header_params,
|
|
1336
|
+
body=body_params,
|
|
1337
|
+
post_params=form_params,
|
|
1338
|
+
files=local_var_files,
|
|
1339
|
+
response_type='User', # noqa: E501
|
|
1340
|
+
auth_settings=auth_settings,
|
|
1341
|
+
async_req=params.get('async_req'),
|
|
1342
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1343
|
+
_preload_content=params.get('_preload_content', True),
|
|
1344
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1345
|
+
collection_formats=collection_formats)
|
|
1346
|
+
|
|
1347
|
+
def get_user_dashboards_info_using_get(self, **kwargs): # noqa: E501
|
|
1348
|
+
"""Get information about last visited and starred dashboards (getLastVisitedDashboards) # noqa: E501
|
|
1349
|
+
|
|
1350
|
+
Fetch the list of last visited and starred dashboards. Both lists are limited to 10 items. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1351
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1352
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1353
|
+
>>> thread = api.get_user_dashboards_info_using_get(async_req=True)
|
|
1354
|
+
>>> result = thread.get()
|
|
1355
|
+
|
|
1356
|
+
:param async_req bool
|
|
1357
|
+
:return: UserDashboardsInfo
|
|
1358
|
+
If the method is called asynchronously,
|
|
1359
|
+
returns the request thread.
|
|
1360
|
+
"""
|
|
1361
|
+
kwargs['_return_http_data_only'] = True
|
|
1362
|
+
if kwargs.get('async_req'):
|
|
1363
|
+
return self.get_user_dashboards_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1364
|
+
else:
|
|
1365
|
+
(data) = self.get_user_dashboards_info_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1366
|
+
return data
|
|
1367
|
+
|
|
1368
|
+
def get_user_dashboards_info_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1369
|
+
"""Get information about last visited and starred dashboards (getLastVisitedDashboards) # noqa: E501
|
|
1370
|
+
|
|
1371
|
+
Fetch the list of last visited and starred dashboards. Both lists are limited to 10 items. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
1372
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1373
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1374
|
+
>>> thread = api.get_user_dashboards_info_using_get_with_http_info(async_req=True)
|
|
1375
|
+
>>> result = thread.get()
|
|
1376
|
+
|
|
1377
|
+
:param async_req bool
|
|
1378
|
+
:return: UserDashboardsInfo
|
|
1379
|
+
If the method is called asynchronously,
|
|
1380
|
+
returns the request thread.
|
|
1381
|
+
"""
|
|
1382
|
+
|
|
1383
|
+
all_params = [] # noqa: E501
|
|
1384
|
+
all_params.append('async_req')
|
|
1385
|
+
all_params.append('_return_http_data_only')
|
|
1386
|
+
all_params.append('_preload_content')
|
|
1387
|
+
all_params.append('_request_timeout')
|
|
1388
|
+
|
|
1389
|
+
params = locals()
|
|
1390
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1391
|
+
if key not in all_params:
|
|
1392
|
+
raise TypeError(
|
|
1393
|
+
"Got an unexpected keyword argument '%s'"
|
|
1394
|
+
" to method get_user_dashboards_info_using_get" % key
|
|
1395
|
+
)
|
|
1396
|
+
params[key] = val
|
|
1397
|
+
del params['kwargs']
|
|
1398
|
+
|
|
1399
|
+
collection_formats = {}
|
|
1400
|
+
|
|
1401
|
+
path_params = {}
|
|
1402
|
+
|
|
1403
|
+
query_params = []
|
|
1404
|
+
|
|
1405
|
+
header_params = {}
|
|
1406
|
+
|
|
1407
|
+
form_params = []
|
|
1408
|
+
local_var_files = {}
|
|
1409
|
+
|
|
1410
|
+
body_params = None
|
|
1411
|
+
# HTTP header `Accept`
|
|
1412
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1413
|
+
['application/json']) # noqa: E501
|
|
1414
|
+
|
|
1415
|
+
# Authentication setting
|
|
1416
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1417
|
+
|
|
1418
|
+
return self.api_client.call_api(
|
|
1419
|
+
'/api/user/dashboards', 'GET',
|
|
1420
|
+
path_params,
|
|
1421
|
+
query_params,
|
|
1422
|
+
header_params,
|
|
1423
|
+
body=body_params,
|
|
1424
|
+
post_params=form_params,
|
|
1425
|
+
files=local_var_files,
|
|
1426
|
+
response_type='UserDashboardsInfo', # noqa: E501
|
|
1427
|
+
auth_settings=auth_settings,
|
|
1428
|
+
async_req=params.get('async_req'),
|
|
1429
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1430
|
+
_preload_content=params.get('_preload_content', True),
|
|
1431
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1432
|
+
collection_formats=collection_formats)
|
|
1433
|
+
|
|
1434
|
+
def get_user_info_by_id_using_get(self, user_id, **kwargs): # noqa: E501
|
|
1435
|
+
"""Get User info (getUserInfoById) # noqa: E501
|
|
1436
|
+
|
|
1437
|
+
Fetch the User info object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1438
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1439
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1440
|
+
>>> thread = api.get_user_info_by_id_using_get(user_id, async_req=True)
|
|
1441
|
+
>>> result = thread.get()
|
|
1442
|
+
|
|
1443
|
+
:param async_req bool
|
|
1444
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1445
|
+
:return: UserInfo
|
|
1446
|
+
If the method is called asynchronously,
|
|
1447
|
+
returns the request thread.
|
|
1448
|
+
"""
|
|
1449
|
+
kwargs['_return_http_data_only'] = True
|
|
1450
|
+
if kwargs.get('async_req'):
|
|
1451
|
+
return self.get_user_info_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1452
|
+
else:
|
|
1453
|
+
(data) = self.get_user_info_by_id_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1454
|
+
return data
|
|
1455
|
+
|
|
1456
|
+
def get_user_info_by_id_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
1457
|
+
"""Get User info (getUserInfoById) # noqa: E501
|
|
1458
|
+
|
|
1459
|
+
Fetch the User info object based on the provided User Id. If the user has the authority of 'SYS_ADMIN', the server does not perform additional checks. If the user has the authority of 'TENANT_ADMIN', the server checks that the requested user is owned by the same tenant. If the user has the authority of 'CUSTOMER_USER', the server checks that the requested user is owned by the same customer. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1460
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1461
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1462
|
+
>>> thread = api.get_user_info_by_id_using_get_with_http_info(user_id, async_req=True)
|
|
1463
|
+
>>> thread = api.get_user_info_by_id_using_get_with_http_info(user_id, async_req=True)
|
|
1464
|
+
>>> result = thread.get()
|
|
1465
|
+
|
|
1466
|
+
:param async_req bool
|
|
1467
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1468
|
+
:return: UserInfo
|
|
1469
|
+
If the method is called asynchronously,
|
|
1470
|
+
returns the request thread.
|
|
1471
|
+
"""
|
|
1472
|
+
|
|
1473
|
+
all_params = ['user_id'] # noqa: E501
|
|
1474
|
+
all_params.append('async_req')
|
|
1475
|
+
all_params.append('_return_http_data_only')
|
|
1476
|
+
all_params.append('_preload_content')
|
|
1477
|
+
all_params.append('_request_timeout')
|
|
1478
|
+
|
|
1479
|
+
params = locals()
|
|
1480
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1481
|
+
if key not in all_params:
|
|
1482
|
+
raise TypeError(
|
|
1483
|
+
"Got an unexpected keyword argument '%s'"
|
|
1484
|
+
" to method get_user_info_by_id_using_get" % key
|
|
1485
|
+
)
|
|
1486
|
+
params[key] = val
|
|
1487
|
+
del params['kwargs']
|
|
1488
|
+
# verify the required parameter 'user_id' is set
|
|
1489
|
+
if ('user_id' not in params or
|
|
1490
|
+
params['user_id'] is None):
|
|
1491
|
+
raise ValueError("Missing the required parameter `user_id` when calling `get_user_info_by_id_using_get`") # noqa: E501
|
|
1492
|
+
|
|
1493
|
+
collection_formats = {}
|
|
1494
|
+
|
|
1495
|
+
path_params = {}
|
|
1496
|
+
if 'user_id' in params:
|
|
1497
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
1498
|
+
|
|
1499
|
+
query_params = []
|
|
1500
|
+
|
|
1501
|
+
header_params = {}
|
|
1502
|
+
|
|
1503
|
+
form_params = []
|
|
1504
|
+
local_var_files = {}
|
|
1505
|
+
|
|
1506
|
+
body_params = None
|
|
1507
|
+
# HTTP header `Accept`
|
|
1508
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1509
|
+
['application/json']) # noqa: E501
|
|
1510
|
+
|
|
1511
|
+
# Authentication setting
|
|
1512
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1513
|
+
|
|
1514
|
+
return self.api_client.call_api(
|
|
1515
|
+
'/api/user/info/{userId}', 'GET',
|
|
1516
|
+
path_params,
|
|
1517
|
+
query_params,
|
|
1518
|
+
header_params,
|
|
1519
|
+
body=body_params,
|
|
1520
|
+
post_params=form_params,
|
|
1521
|
+
files=local_var_files,
|
|
1522
|
+
response_type='UserInfo', # noqa: E501
|
|
1523
|
+
auth_settings=auth_settings,
|
|
1524
|
+
async_req=params.get('async_req'),
|
|
1525
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1526
|
+
_preload_content=params.get('_preload_content', True),
|
|
1527
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1528
|
+
collection_formats=collection_formats)
|
|
1529
|
+
|
|
1530
|
+
def get_user_settings_using_get(self, **kwargs): # noqa: E501
|
|
1531
|
+
"""Get user settings (getUserSettings) # noqa: E501
|
|
1532
|
+
|
|
1533
|
+
Fetch the User settings based on authorized user. # noqa: E501
|
|
1534
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1535
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1536
|
+
>>> thread = api.get_user_settings_using_get(async_req=True)
|
|
1537
|
+
>>> result = thread.get()
|
|
1538
|
+
|
|
1539
|
+
:param async_req bool
|
|
1540
|
+
:return: JsonNode
|
|
1541
|
+
If the method is called asynchronously,
|
|
1542
|
+
returns the request thread.
|
|
1543
|
+
"""
|
|
1544
|
+
kwargs['_return_http_data_only'] = True
|
|
1545
|
+
if kwargs.get('async_req'):
|
|
1546
|
+
return self.get_user_settings_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1547
|
+
else:
|
|
1548
|
+
(data) = self.get_user_settings_using_get_with_http_info(**kwargs) # noqa: E501
|
|
1549
|
+
return data
|
|
1550
|
+
|
|
1551
|
+
def get_user_settings_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
1552
|
+
"""Get user settings (getUserSettings) # noqa: E501
|
|
1553
|
+
|
|
1554
|
+
Fetch the User settings based on authorized user. # noqa: E501
|
|
1555
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1556
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1557
|
+
>>> thread = api.get_user_settings_using_get_with_http_info(async_req=True)
|
|
1558
|
+
>>> result = thread.get()
|
|
1559
|
+
|
|
1560
|
+
:param async_req bool
|
|
1561
|
+
:return: JsonNode
|
|
1562
|
+
If the method is called asynchronously,
|
|
1563
|
+
returns the request thread.
|
|
1564
|
+
"""
|
|
1565
|
+
|
|
1566
|
+
all_params = [] # noqa: E501
|
|
1567
|
+
all_params.append('async_req')
|
|
1568
|
+
all_params.append('_return_http_data_only')
|
|
1569
|
+
all_params.append('_preload_content')
|
|
1570
|
+
all_params.append('_request_timeout')
|
|
1571
|
+
|
|
1572
|
+
params = locals()
|
|
1573
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1574
|
+
if key not in all_params:
|
|
1575
|
+
raise TypeError(
|
|
1576
|
+
"Got an unexpected keyword argument '%s'"
|
|
1577
|
+
" to method get_user_settings_using_get" % key
|
|
1578
|
+
)
|
|
1579
|
+
params[key] = val
|
|
1580
|
+
del params['kwargs']
|
|
1581
|
+
|
|
1582
|
+
collection_formats = {}
|
|
1583
|
+
|
|
1584
|
+
path_params = {}
|
|
1585
|
+
|
|
1586
|
+
query_params = []
|
|
1587
|
+
|
|
1588
|
+
header_params = {}
|
|
1589
|
+
|
|
1590
|
+
form_params = []
|
|
1591
|
+
local_var_files = {}
|
|
1592
|
+
|
|
1593
|
+
body_params = None
|
|
1594
|
+
# HTTP header `Accept`
|
|
1595
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1596
|
+
['application/json']) # noqa: E501
|
|
1597
|
+
|
|
1598
|
+
# Authentication setting
|
|
1599
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1600
|
+
|
|
1601
|
+
return self.api_client.call_api(
|
|
1602
|
+
'/api/user/settings', 'GET',
|
|
1603
|
+
path_params,
|
|
1604
|
+
query_params,
|
|
1605
|
+
header_params,
|
|
1606
|
+
body=body_params,
|
|
1607
|
+
post_params=form_params,
|
|
1608
|
+
files=local_var_files,
|
|
1609
|
+
response_type='JsonNode', # noqa: E501
|
|
1610
|
+
auth_settings=auth_settings,
|
|
1611
|
+
async_req=params.get('async_req'),
|
|
1612
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1613
|
+
_preload_content=params.get('_preload_content', True),
|
|
1614
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1615
|
+
collection_formats=collection_formats)
|
|
1616
|
+
|
|
1617
|
+
def get_user_settings_using_get1(self, type, **kwargs): # noqa: E501
|
|
1618
|
+
"""Get user settings (getUserSettings) # noqa: E501
|
|
1619
|
+
|
|
1620
|
+
Fetch the User settings based on authorized user. # noqa: E501
|
|
1621
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1622
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1623
|
+
>>> thread = api.get_user_settings_using_get1(type, async_req=True)
|
|
1624
|
+
>>> result = thread.get()
|
|
1625
|
+
|
|
1626
|
+
:param async_req bool
|
|
1627
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
1628
|
+
:return: JsonNode
|
|
1629
|
+
If the method is called asynchronously,
|
|
1630
|
+
returns the request thread.
|
|
1631
|
+
"""
|
|
1632
|
+
kwargs['_return_http_data_only'] = True
|
|
1633
|
+
if kwargs.get('async_req'):
|
|
1634
|
+
return self.get_user_settings_using_get1_with_http_info(type, **kwargs) # noqa: E501
|
|
1635
|
+
else:
|
|
1636
|
+
(data) = self.get_user_settings_using_get1_with_http_info(type, **kwargs) # noqa: E501
|
|
1637
|
+
return data
|
|
1638
|
+
|
|
1639
|
+
def get_user_settings_using_get1_with_http_info(self, type, **kwargs): # noqa: E501
|
|
1640
|
+
"""Get user settings (getUserSettings) # noqa: E501
|
|
1641
|
+
|
|
1642
|
+
Fetch the User settings based on authorized user. # noqa: E501
|
|
1643
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1644
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1645
|
+
>>> thread = api.get_user_settings_using_get1_with_http_info(type, async_req=True)
|
|
1646
|
+
>>> result = thread.get()
|
|
1647
|
+
|
|
1648
|
+
:param async_req bool
|
|
1649
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
1650
|
+
:return: JsonNode
|
|
1651
|
+
If the method is called asynchronously,
|
|
1652
|
+
returns the request thread.
|
|
1653
|
+
"""
|
|
1654
|
+
|
|
1655
|
+
all_params = ['type'] # noqa: E501
|
|
1656
|
+
all_params.append('async_req')
|
|
1657
|
+
all_params.append('_return_http_data_only')
|
|
1658
|
+
all_params.append('_preload_content')
|
|
1659
|
+
all_params.append('_request_timeout')
|
|
1660
|
+
|
|
1661
|
+
params = locals()
|
|
1662
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1663
|
+
if key not in all_params:
|
|
1664
|
+
raise TypeError(
|
|
1665
|
+
"Got an unexpected keyword argument '%s'"
|
|
1666
|
+
" to method get_user_settings_using_get1" % key
|
|
1667
|
+
)
|
|
1668
|
+
params[key] = val
|
|
1669
|
+
del params['kwargs']
|
|
1670
|
+
# verify the required parameter 'type' is set
|
|
1671
|
+
if ('type' not in params or
|
|
1672
|
+
params['type'] is None):
|
|
1673
|
+
raise ValueError("Missing the required parameter `type` when calling `get_user_settings_using_get1`") # noqa: E501
|
|
1674
|
+
|
|
1675
|
+
collection_formats = {}
|
|
1676
|
+
|
|
1677
|
+
path_params = {}
|
|
1678
|
+
if 'type' in params:
|
|
1679
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
1680
|
+
|
|
1681
|
+
query_params = []
|
|
1682
|
+
|
|
1683
|
+
header_params = {}
|
|
1684
|
+
|
|
1685
|
+
form_params = []
|
|
1686
|
+
local_var_files = {}
|
|
1687
|
+
|
|
1688
|
+
body_params = None
|
|
1689
|
+
# HTTP header `Accept`
|
|
1690
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1691
|
+
['application/json']) # noqa: E501
|
|
1692
|
+
|
|
1693
|
+
# Authentication setting
|
|
1694
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1695
|
+
|
|
1696
|
+
return self.api_client.call_api(
|
|
1697
|
+
'/api/user/settings/{type}', 'GET',
|
|
1698
|
+
path_params,
|
|
1699
|
+
query_params,
|
|
1700
|
+
header_params,
|
|
1701
|
+
body=body_params,
|
|
1702
|
+
post_params=form_params,
|
|
1703
|
+
files=local_var_files,
|
|
1704
|
+
response_type='JsonNode', # noqa: E501
|
|
1705
|
+
auth_settings=auth_settings,
|
|
1706
|
+
async_req=params.get('async_req'),
|
|
1707
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1708
|
+
_preload_content=params.get('_preload_content', True),
|
|
1709
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1710
|
+
collection_formats=collection_formats)
|
|
1711
|
+
|
|
1712
|
+
def get_user_token_using_get(self, user_id, **kwargs): # noqa: E501
|
|
1713
|
+
"""Get User Token (getUserToken) # noqa: E501
|
|
1714
|
+
|
|
1715
|
+
Returns the token of the User based on the provided User Id. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to get the token of any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to get the token of any customer user that belongs to the same tenant. # noqa: E501
|
|
1716
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1717
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1718
|
+
>>> thread = api.get_user_token_using_get(user_id, async_req=True)
|
|
1719
|
+
>>> result = thread.get()
|
|
1720
|
+
|
|
1721
|
+
:param async_req bool
|
|
1722
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1723
|
+
:return: JwtPair
|
|
1724
|
+
If the method is called asynchronously,
|
|
1725
|
+
returns the request thread.
|
|
1726
|
+
"""
|
|
1727
|
+
kwargs['_return_http_data_only'] = True
|
|
1728
|
+
if kwargs.get('async_req'):
|
|
1729
|
+
return self.get_user_token_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1730
|
+
else:
|
|
1731
|
+
(data) = self.get_user_token_using_get_with_http_info(user_id, **kwargs) # noqa: E501
|
|
1732
|
+
return data
|
|
1733
|
+
|
|
1734
|
+
def get_user_token_using_get_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
1735
|
+
"""Get User Token (getUserToken) # noqa: E501
|
|
1736
|
+
|
|
1737
|
+
Returns the token of the User based on the provided User Id. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to get the token of any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to get the token of any customer user that belongs to the same tenant. # noqa: E501
|
|
1738
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1739
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1740
|
+
>>> thread = api.get_user_token_using_get_with_http_info(user_id, async_req=True)
|
|
1741
|
+
>>> result = thread.get()
|
|
1742
|
+
|
|
1743
|
+
:param async_req bool
|
|
1744
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1745
|
+
:return: JwtPair
|
|
1746
|
+
If the method is called asynchronously,
|
|
1747
|
+
returns the request thread.
|
|
1748
|
+
"""
|
|
1749
|
+
|
|
1750
|
+
all_params = ['user_id'] # noqa: E501
|
|
1751
|
+
all_params.append('async_req')
|
|
1752
|
+
all_params.append('_return_http_data_only')
|
|
1753
|
+
all_params.append('_preload_content')
|
|
1754
|
+
all_params.append('_request_timeout')
|
|
1755
|
+
|
|
1756
|
+
params = locals()
|
|
1757
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1758
|
+
if key not in all_params:
|
|
1759
|
+
raise TypeError(
|
|
1760
|
+
"Got an unexpected keyword argument '%s'"
|
|
1761
|
+
" to method get_user_token_using_get" % key
|
|
1762
|
+
)
|
|
1763
|
+
params[key] = val
|
|
1764
|
+
del params['kwargs']
|
|
1765
|
+
# verify the required parameter 'user_id' is set
|
|
1766
|
+
if ('user_id' not in params or
|
|
1767
|
+
params['user_id'] is None):
|
|
1768
|
+
raise ValueError("Missing the required parameter `user_id` when calling `get_user_token_using_get`") # noqa: E501
|
|
1769
|
+
|
|
1770
|
+
collection_formats = {}
|
|
1771
|
+
|
|
1772
|
+
path_params = {}
|
|
1773
|
+
if 'user_id' in params:
|
|
1774
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
1775
|
+
|
|
1776
|
+
query_params = []
|
|
1777
|
+
|
|
1778
|
+
header_params = {}
|
|
1779
|
+
|
|
1780
|
+
form_params = []
|
|
1781
|
+
local_var_files = {}
|
|
1782
|
+
|
|
1783
|
+
body_params = None
|
|
1784
|
+
# HTTP header `Accept`
|
|
1785
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1786
|
+
['application/json']) # noqa: E501
|
|
1787
|
+
|
|
1788
|
+
# Authentication setting
|
|
1789
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1790
|
+
|
|
1791
|
+
return self.api_client.call_api(
|
|
1792
|
+
'/api/user/{userId}/token', 'GET',
|
|
1793
|
+
path_params,
|
|
1794
|
+
query_params,
|
|
1795
|
+
header_params,
|
|
1796
|
+
body=body_params,
|
|
1797
|
+
post_params=form_params,
|
|
1798
|
+
files=local_var_files,
|
|
1799
|
+
response_type='JwtPair', # noqa: E501
|
|
1800
|
+
auth_settings=auth_settings,
|
|
1801
|
+
async_req=params.get('async_req'),
|
|
1802
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1803
|
+
_preload_content=params.get('_preload_content', True),
|
|
1804
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1805
|
+
collection_formats=collection_formats)
|
|
1806
|
+
|
|
1807
|
+
def get_user_users_using_get(self, page_size, page, **kwargs): # noqa: E501
|
|
1808
|
+
"""Get Users (getUsers) # noqa: E501
|
|
1809
|
+
|
|
1810
|
+
Returns a page of user objects available for the current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1811
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1812
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1813
|
+
>>> thread = api.get_user_users_using_get(page_size, page, async_req=True)
|
|
1814
|
+
>>> result = thread.get()
|
|
1815
|
+
|
|
1816
|
+
:param async_req bool
|
|
1817
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1818
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1819
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1820
|
+
:param str sort_property: Property of entity to sort by
|
|
1821
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1822
|
+
:return: PageDataUser
|
|
1823
|
+
If the method is called asynchronously,
|
|
1824
|
+
returns the request thread.
|
|
1825
|
+
"""
|
|
1826
|
+
kwargs['_return_http_data_only'] = True
|
|
1827
|
+
if kwargs.get('async_req'):
|
|
1828
|
+
return self.get_user_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1829
|
+
else:
|
|
1830
|
+
(data) = self.get_user_users_using_get_with_http_info(page_size, page, **kwargs) # noqa: E501
|
|
1831
|
+
return data
|
|
1832
|
+
|
|
1833
|
+
def get_user_users_using_get_with_http_info(self, page_size, page, **kwargs): # noqa: E501
|
|
1834
|
+
"""Get Users (getUsers) # noqa: E501
|
|
1835
|
+
|
|
1836
|
+
Returns a page of user objects available for the current user. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
1837
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1838
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1839
|
+
>>> thread = api.get_user_users_using_get_with_http_info(page_size, page, async_req=True)
|
|
1840
|
+
>>> result = thread.get()
|
|
1841
|
+
|
|
1842
|
+
:param async_req bool
|
|
1843
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1844
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1845
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1846
|
+
:param str sort_property: Property of entity to sort by
|
|
1847
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1848
|
+
:return: PageDataUser
|
|
1849
|
+
If the method is called asynchronously,
|
|
1850
|
+
returns the request thread.
|
|
1851
|
+
"""
|
|
1852
|
+
|
|
1853
|
+
all_params = ['page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1854
|
+
all_params.append('async_req')
|
|
1855
|
+
all_params.append('_return_http_data_only')
|
|
1856
|
+
all_params.append('_preload_content')
|
|
1857
|
+
all_params.append('_request_timeout')
|
|
1858
|
+
|
|
1859
|
+
params = locals()
|
|
1860
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1861
|
+
if key not in all_params:
|
|
1862
|
+
raise TypeError(
|
|
1863
|
+
"Got an unexpected keyword argument '%s'"
|
|
1864
|
+
" to method get_user_users_using_get" % key
|
|
1865
|
+
)
|
|
1866
|
+
params[key] = val
|
|
1867
|
+
del params['kwargs']
|
|
1868
|
+
# verify the required parameter 'page_size' is set
|
|
1869
|
+
if ('page_size' not in params or
|
|
1870
|
+
params['page_size'] is None):
|
|
1871
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_user_users_using_get`") # noqa: E501
|
|
1872
|
+
# verify the required parameter 'page' is set
|
|
1873
|
+
if ('page' not in params or
|
|
1874
|
+
params['page'] is None):
|
|
1875
|
+
raise ValueError("Missing the required parameter `page` when calling `get_user_users_using_get`") # noqa: E501
|
|
1876
|
+
|
|
1877
|
+
collection_formats = {}
|
|
1878
|
+
|
|
1879
|
+
path_params = {}
|
|
1880
|
+
|
|
1881
|
+
query_params = []
|
|
1882
|
+
if 'page_size' in params:
|
|
1883
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
1884
|
+
if 'page' in params:
|
|
1885
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
1886
|
+
if 'text_search' in params:
|
|
1887
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
1888
|
+
if 'sort_property' in params:
|
|
1889
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
1890
|
+
if 'sort_order' in params:
|
|
1891
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
1892
|
+
|
|
1893
|
+
header_params = {}
|
|
1894
|
+
|
|
1895
|
+
form_params = []
|
|
1896
|
+
local_var_files = {}
|
|
1897
|
+
|
|
1898
|
+
body_params = None
|
|
1899
|
+
# HTTP header `Accept`
|
|
1900
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1901
|
+
['application/json']) # noqa: E501
|
|
1902
|
+
|
|
1903
|
+
# Authentication setting
|
|
1904
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
1905
|
+
|
|
1906
|
+
return self.api_client.call_api(
|
|
1907
|
+
'/api/user/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
1908
|
+
path_params,
|
|
1909
|
+
query_params,
|
|
1910
|
+
header_params,
|
|
1911
|
+
body=body_params,
|
|
1912
|
+
post_params=form_params,
|
|
1913
|
+
files=local_var_files,
|
|
1914
|
+
response_type='PageDataUser', # noqa: E501
|
|
1915
|
+
auth_settings=auth_settings,
|
|
1916
|
+
async_req=params.get('async_req'),
|
|
1917
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1918
|
+
_preload_content=params.get('_preload_content', True),
|
|
1919
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1920
|
+
collection_formats=collection_formats)
|
|
1921
|
+
|
|
1922
|
+
def get_users_by_entity_group_id_using_get(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
1923
|
+
"""Get users by Entity Group Id (getUsersByEntityGroupId) # noqa: E501
|
|
1924
|
+
|
|
1925
|
+
Returns a page of user objects that belongs to specified Entity Group Id. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
1926
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1927
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1928
|
+
>>> thread = api.get_users_by_entity_group_id_using_get(entity_group_id, page_size, page, async_req=True)
|
|
1929
|
+
>>> result = thread.get()
|
|
1930
|
+
|
|
1931
|
+
:param async_req bool
|
|
1932
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1933
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1934
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1935
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1936
|
+
:param str sort_property: Property of entity to sort by
|
|
1937
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1938
|
+
:return: PageDataUser
|
|
1939
|
+
If the method is called asynchronously,
|
|
1940
|
+
returns the request thread.
|
|
1941
|
+
"""
|
|
1942
|
+
kwargs['_return_http_data_only'] = True
|
|
1943
|
+
if kwargs.get('async_req'):
|
|
1944
|
+
return self.get_users_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
1945
|
+
else:
|
|
1946
|
+
(data) = self.get_users_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, **kwargs) # noqa: E501
|
|
1947
|
+
return data
|
|
1948
|
+
|
|
1949
|
+
def get_users_by_entity_group_id_using_get_with_http_info(self, entity_group_id, page_size, page, **kwargs): # noqa: E501
|
|
1950
|
+
"""Get users by Entity Group Id (getUsersByEntityGroupId) # noqa: E501
|
|
1951
|
+
|
|
1952
|
+
Returns a page of user objects that belongs to specified Entity Group Id. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Security check is performed to verify that the user has 'READ' permission for specified group. # noqa: E501
|
|
1953
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1954
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1955
|
+
>>> thread = api.get_users_by_entity_group_id_using_get_with_http_info(entity_group_id, page_size, page, async_req=True)
|
|
1956
|
+
>>> result = thread.get()
|
|
1957
|
+
|
|
1958
|
+
:param async_req bool
|
|
1959
|
+
:param str entity_group_id: A string value representing the Entity Group Id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
1960
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
1961
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
1962
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
1963
|
+
:param str sort_property: Property of entity to sort by
|
|
1964
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
1965
|
+
:return: PageDataUser
|
|
1966
|
+
If the method is called asynchronously,
|
|
1967
|
+
returns the request thread.
|
|
1968
|
+
"""
|
|
1969
|
+
|
|
1970
|
+
all_params = ['entity_group_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
1971
|
+
all_params.append('async_req')
|
|
1972
|
+
all_params.append('_return_http_data_only')
|
|
1973
|
+
all_params.append('_preload_content')
|
|
1974
|
+
all_params.append('_request_timeout')
|
|
1975
|
+
|
|
1976
|
+
params = locals()
|
|
1977
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1978
|
+
if key not in all_params:
|
|
1979
|
+
raise TypeError(
|
|
1980
|
+
"Got an unexpected keyword argument '%s'"
|
|
1981
|
+
" to method get_users_by_entity_group_id_using_get" % key
|
|
1982
|
+
)
|
|
1983
|
+
params[key] = val
|
|
1984
|
+
del params['kwargs']
|
|
1985
|
+
# verify the required parameter 'entity_group_id' is set
|
|
1986
|
+
if ('entity_group_id' not in params or
|
|
1987
|
+
params['entity_group_id'] is None):
|
|
1988
|
+
raise ValueError("Missing the required parameter `entity_group_id` when calling `get_users_by_entity_group_id_using_get`") # noqa: E501
|
|
1989
|
+
# verify the required parameter 'page_size' is set
|
|
1990
|
+
if ('page_size' not in params or
|
|
1991
|
+
params['page_size'] is None):
|
|
1992
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_users_by_entity_group_id_using_get`") # noqa: E501
|
|
1993
|
+
# verify the required parameter 'page' is set
|
|
1994
|
+
if ('page' not in params or
|
|
1995
|
+
params['page'] is None):
|
|
1996
|
+
raise ValueError("Missing the required parameter `page` when calling `get_users_by_entity_group_id_using_get`") # noqa: E501
|
|
1997
|
+
|
|
1998
|
+
collection_formats = {}
|
|
1999
|
+
|
|
2000
|
+
path_params = {}
|
|
2001
|
+
if 'entity_group_id' in params:
|
|
2002
|
+
path_params['entityGroupId'] = params['entity_group_id'] # noqa: E501
|
|
2003
|
+
|
|
2004
|
+
query_params = []
|
|
2005
|
+
if 'page_size' in params:
|
|
2006
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
2007
|
+
if 'page' in params:
|
|
2008
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
2009
|
+
if 'text_search' in params:
|
|
2010
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
2011
|
+
if 'sort_property' in params:
|
|
2012
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
2013
|
+
if 'sort_order' in params:
|
|
2014
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
2015
|
+
|
|
2016
|
+
header_params = {}
|
|
2017
|
+
|
|
2018
|
+
form_params = []
|
|
2019
|
+
local_var_files = {}
|
|
2020
|
+
|
|
2021
|
+
body_params = None
|
|
2022
|
+
# HTTP header `Accept`
|
|
2023
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2024
|
+
['application/json']) # noqa: E501
|
|
2025
|
+
|
|
2026
|
+
# Authentication setting
|
|
2027
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2028
|
+
|
|
2029
|
+
return self.api_client.call_api(
|
|
2030
|
+
'/api/entityGroup/{entityGroupId}/users{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
2031
|
+
path_params,
|
|
2032
|
+
query_params,
|
|
2033
|
+
header_params,
|
|
2034
|
+
body=body_params,
|
|
2035
|
+
post_params=form_params,
|
|
2036
|
+
files=local_var_files,
|
|
2037
|
+
response_type='PageDataUser', # noqa: E501
|
|
2038
|
+
auth_settings=auth_settings,
|
|
2039
|
+
async_req=params.get('async_req'),
|
|
2040
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2041
|
+
_preload_content=params.get('_preload_content', True),
|
|
2042
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2043
|
+
collection_formats=collection_formats)
|
|
2044
|
+
|
|
2045
|
+
def get_users_by_ids_using_get(self, user_ids, **kwargs): # noqa: E501
|
|
2046
|
+
"""Get Users By Ids (getUsersByIds) # noqa: E501
|
|
2047
|
+
|
|
2048
|
+
Requested users must be owned by tenant or assigned to customer which user is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
2049
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2050
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2051
|
+
>>> thread = api.get_users_by_ids_using_get(user_ids, async_req=True)
|
|
2052
|
+
>>> result = thread.get()
|
|
2053
|
+
|
|
2054
|
+
:param async_req bool
|
|
2055
|
+
:param str user_ids: A list of user ids, separated by comma ',' (required)
|
|
2056
|
+
:return: list[User]
|
|
2057
|
+
If the method is called asynchronously,
|
|
2058
|
+
returns the request thread.
|
|
2059
|
+
"""
|
|
2060
|
+
kwargs['_return_http_data_only'] = True
|
|
2061
|
+
if kwargs.get('async_req'):
|
|
2062
|
+
return self.get_users_by_ids_using_get_with_http_info(user_ids, **kwargs) # noqa: E501
|
|
2063
|
+
else:
|
|
2064
|
+
(data) = self.get_users_by_ids_using_get_with_http_info(user_ids, **kwargs) # noqa: E501
|
|
2065
|
+
return data
|
|
2066
|
+
|
|
2067
|
+
def get_users_by_ids_using_get_with_http_info(self, user_ids, **kwargs): # noqa: E501
|
|
2068
|
+
"""Get Users By Ids (getUsersByIds) # noqa: E501
|
|
2069
|
+
|
|
2070
|
+
Requested users must be owned by tenant or assigned to customer which user is performing the request. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
2071
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2072
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2073
|
+
>>> thread = api.get_users_by_ids_using_get_with_http_info(user_ids, async_req=True)
|
|
2074
|
+
>>> result = thread.get()
|
|
2075
|
+
|
|
2076
|
+
:param async_req bool
|
|
2077
|
+
:param str user_ids: A list of user ids, separated by comma ',' (required)
|
|
2078
|
+
:return: list[User]
|
|
2079
|
+
If the method is called asynchronously,
|
|
2080
|
+
returns the request thread.
|
|
2081
|
+
"""
|
|
2082
|
+
|
|
2083
|
+
all_params = ['user_ids'] # noqa: E501
|
|
2084
|
+
all_params.append('async_req')
|
|
2085
|
+
all_params.append('_return_http_data_only')
|
|
2086
|
+
all_params.append('_preload_content')
|
|
2087
|
+
all_params.append('_request_timeout')
|
|
2088
|
+
|
|
2089
|
+
params = locals()
|
|
2090
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2091
|
+
if key not in all_params:
|
|
2092
|
+
raise TypeError(
|
|
2093
|
+
"Got an unexpected keyword argument '%s'"
|
|
2094
|
+
" to method get_users_by_ids_using_get" % key
|
|
2095
|
+
)
|
|
2096
|
+
params[key] = val
|
|
2097
|
+
del params['kwargs']
|
|
2098
|
+
# verify the required parameter 'user_ids' is set
|
|
2099
|
+
if ('user_ids' not in params or
|
|
2100
|
+
params['user_ids'] is None):
|
|
2101
|
+
raise ValueError("Missing the required parameter `user_ids` when calling `get_users_by_ids_using_get`") # noqa: E501
|
|
2102
|
+
|
|
2103
|
+
collection_formats = {}
|
|
2104
|
+
|
|
2105
|
+
path_params = {}
|
|
2106
|
+
|
|
2107
|
+
query_params = []
|
|
2108
|
+
if 'user_ids' in params:
|
|
2109
|
+
query_params.append(('userIds', params['user_ids'])) # noqa: E501
|
|
2110
|
+
|
|
2111
|
+
header_params = {}
|
|
2112
|
+
|
|
2113
|
+
form_params = []
|
|
2114
|
+
local_var_files = {}
|
|
2115
|
+
|
|
2116
|
+
body_params = None
|
|
2117
|
+
# HTTP header `Accept`
|
|
2118
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2119
|
+
['application/json']) # noqa: E501
|
|
2120
|
+
|
|
2121
|
+
# Authentication setting
|
|
2122
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2123
|
+
|
|
2124
|
+
return self.api_client.call_api(
|
|
2125
|
+
'/api/users{?userIds}', 'GET',
|
|
2126
|
+
path_params,
|
|
2127
|
+
query_params,
|
|
2128
|
+
header_params,
|
|
2129
|
+
body=body_params,
|
|
2130
|
+
post_params=form_params,
|
|
2131
|
+
files=local_var_files,
|
|
2132
|
+
response_type='list[User]', # noqa: E501
|
|
2133
|
+
auth_settings=auth_settings,
|
|
2134
|
+
async_req=params.get('async_req'),
|
|
2135
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2136
|
+
_preload_content=params.get('_preload_content', True),
|
|
2137
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2138
|
+
collection_formats=collection_formats)
|
|
2139
|
+
|
|
2140
|
+
def get_users_for_assign_using_get(self, alarm_id, page_size, page, **kwargs): # noqa: E501
|
|
2141
|
+
"""Get usersForAssign (getUsersForAssign) # noqa: E501
|
|
2142
|
+
|
|
2143
|
+
Returns page of user data objects that can be assigned to provided alarmId. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
2144
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2145
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2146
|
+
>>> thread = api.get_users_for_assign_using_get(alarm_id, page_size, page, async_req=True)
|
|
2147
|
+
>>> result = thread.get()
|
|
2148
|
+
|
|
2149
|
+
:param async_req bool
|
|
2150
|
+
:param str alarm_id: A string value representing the alarm id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2151
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
2152
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
2153
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
2154
|
+
:param str sort_property: Property of entity to sort by
|
|
2155
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
2156
|
+
:return: PageDataUserEmailInfo
|
|
2157
|
+
If the method is called asynchronously,
|
|
2158
|
+
returns the request thread.
|
|
2159
|
+
"""
|
|
2160
|
+
kwargs['_return_http_data_only'] = True
|
|
2161
|
+
if kwargs.get('async_req'):
|
|
2162
|
+
return self.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, **kwargs) # noqa: E501
|
|
2163
|
+
else:
|
|
2164
|
+
(data) = self.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, **kwargs) # noqa: E501
|
|
2165
|
+
return data
|
|
2166
|
+
|
|
2167
|
+
def get_users_for_assign_using_get_with_http_info(self, alarm_id, page_size, page, **kwargs): # noqa: E501
|
|
2168
|
+
"""Get usersForAssign (getUsersForAssign) # noqa: E501
|
|
2169
|
+
|
|
2170
|
+
Returns page of user data objects that can be assigned to provided alarmId. Search is been executed by email, firstName and lastName fields. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
2171
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2172
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2173
|
+
>>> thread = api.get_users_for_assign_using_get_with_http_info(alarm_id, page_size, page, async_req=True)
|
|
2174
|
+
>>> result = thread.get()
|
|
2175
|
+
|
|
2176
|
+
:param async_req bool
|
|
2177
|
+
:param str alarm_id: A string value representing the alarm id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2178
|
+
:param int page_size: Maximum amount of entities in a one page (required)
|
|
2179
|
+
:param int page: Sequence number of page starting from 0 (required)
|
|
2180
|
+
:param str text_search: The case insensitive 'substring' filter based on the user email.
|
|
2181
|
+
:param str sort_property: Property of entity to sort by
|
|
2182
|
+
:param str sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
2183
|
+
:return: PageDataUserEmailInfo
|
|
2184
|
+
If the method is called asynchronously,
|
|
2185
|
+
returns the request thread.
|
|
2186
|
+
"""
|
|
2187
|
+
|
|
2188
|
+
all_params = ['alarm_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
2189
|
+
all_params.append('async_req')
|
|
2190
|
+
all_params.append('_return_http_data_only')
|
|
2191
|
+
all_params.append('_preload_content')
|
|
2192
|
+
all_params.append('_request_timeout')
|
|
2193
|
+
|
|
2194
|
+
params = locals()
|
|
2195
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2196
|
+
if key not in all_params:
|
|
2197
|
+
raise TypeError(
|
|
2198
|
+
"Got an unexpected keyword argument '%s'"
|
|
2199
|
+
" to method get_users_for_assign_using_get" % key
|
|
2200
|
+
)
|
|
2201
|
+
params[key] = val
|
|
2202
|
+
del params['kwargs']
|
|
2203
|
+
# verify the required parameter 'alarm_id' is set
|
|
2204
|
+
if ('alarm_id' not in params or
|
|
2205
|
+
params['alarm_id'] is None):
|
|
2206
|
+
raise ValueError("Missing the required parameter `alarm_id` when calling `get_users_for_assign_using_get`") # noqa: E501
|
|
2207
|
+
# verify the required parameter 'page_size' is set
|
|
2208
|
+
if ('page_size' not in params or
|
|
2209
|
+
params['page_size'] is None):
|
|
2210
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_users_for_assign_using_get`") # noqa: E501
|
|
2211
|
+
# verify the required parameter 'page' is set
|
|
2212
|
+
if ('page' not in params or
|
|
2213
|
+
params['page'] is None):
|
|
2214
|
+
raise ValueError("Missing the required parameter `page` when calling `get_users_for_assign_using_get`") # noqa: E501
|
|
2215
|
+
|
|
2216
|
+
collection_formats = {}
|
|
2217
|
+
|
|
2218
|
+
path_params = {}
|
|
2219
|
+
if 'alarm_id' in params:
|
|
2220
|
+
path_params['alarmId'] = params['alarm_id'] # noqa: E501
|
|
2221
|
+
|
|
2222
|
+
query_params = []
|
|
2223
|
+
if 'page_size' in params:
|
|
2224
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
2225
|
+
if 'page' in params:
|
|
2226
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
2227
|
+
if 'text_search' in params:
|
|
2228
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
2229
|
+
if 'sort_property' in params:
|
|
2230
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
2231
|
+
if 'sort_order' in params:
|
|
2232
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
2233
|
+
|
|
2234
|
+
header_params = {}
|
|
2235
|
+
|
|
2236
|
+
form_params = []
|
|
2237
|
+
local_var_files = {}
|
|
2238
|
+
|
|
2239
|
+
body_params = None
|
|
2240
|
+
# HTTP header `Accept`
|
|
2241
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2242
|
+
['application/json']) # noqa: E501
|
|
2243
|
+
|
|
2244
|
+
# Authentication setting
|
|
2245
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2246
|
+
|
|
2247
|
+
return self.api_client.call_api(
|
|
2248
|
+
'/api/users/assign/{alarmId}{?page,pageSize,sortOrder,sortProperty,textSearch}', 'GET',
|
|
2249
|
+
path_params,
|
|
2250
|
+
query_params,
|
|
2251
|
+
header_params,
|
|
2252
|
+
body=body_params,
|
|
2253
|
+
post_params=form_params,
|
|
2254
|
+
files=local_var_files,
|
|
2255
|
+
response_type='PageDataUserEmailInfo', # noqa: E501
|
|
2256
|
+
auth_settings=auth_settings,
|
|
2257
|
+
async_req=params.get('async_req'),
|
|
2258
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2259
|
+
_preload_content=params.get('_preload_content', True),
|
|
2260
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2261
|
+
collection_formats=collection_formats)
|
|
2262
|
+
|
|
2263
|
+
def is_user_token_access_enabled_using_get(self, **kwargs): # noqa: E501
|
|
2264
|
+
"""Check Token Access Enabled (isUserTokenAccessEnabled) # noqa: E501
|
|
2265
|
+
|
|
2266
|
+
Checks that the system is configured to allow administrators to impersonate themself as other users. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to login as any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to login as any customer user. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
2267
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2268
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2269
|
+
>>> thread = api.is_user_token_access_enabled_using_get(async_req=True)
|
|
2270
|
+
>>> result = thread.get()
|
|
2271
|
+
|
|
2272
|
+
:param async_req bool
|
|
2273
|
+
:return: bool
|
|
2274
|
+
If the method is called asynchronously,
|
|
2275
|
+
returns the request thread.
|
|
2276
|
+
"""
|
|
2277
|
+
kwargs['_return_http_data_only'] = True
|
|
2278
|
+
if kwargs.get('async_req'):
|
|
2279
|
+
return self.is_user_token_access_enabled_using_get_with_http_info(**kwargs) # noqa: E501
|
|
2280
|
+
else:
|
|
2281
|
+
(data) = self.is_user_token_access_enabled_using_get_with_http_info(**kwargs) # noqa: E501
|
|
2282
|
+
return data
|
|
2283
|
+
|
|
2284
|
+
def is_user_token_access_enabled_using_get_with_http_info(self, **kwargs): # noqa: E501
|
|
2285
|
+
"""Check Token Access Enabled (isUserTokenAccessEnabled) # noqa: E501
|
|
2286
|
+
|
|
2287
|
+
Checks that the system is configured to allow administrators to impersonate themself as other users. If the user who performs the request has the authority of 'SYS_ADMIN', it is possible to login as any tenant administrator. If the user who performs the request has the authority of 'TENANT_ADMIN', it is possible to login as any customer user. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
2288
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2289
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2290
|
+
>>> thread = api.is_user_token_access_enabled_using_get_with_http_info(async_req=True)
|
|
2291
|
+
>>> result = thread.get()
|
|
2292
|
+
|
|
2293
|
+
:param async_req bool
|
|
2294
|
+
:return: bool
|
|
2295
|
+
If the method is called asynchronously,
|
|
2296
|
+
returns the request thread.
|
|
2297
|
+
"""
|
|
2298
|
+
|
|
2299
|
+
all_params = [] # noqa: E501
|
|
2300
|
+
all_params.append('async_req')
|
|
2301
|
+
all_params.append('_return_http_data_only')
|
|
2302
|
+
all_params.append('_preload_content')
|
|
2303
|
+
all_params.append('_request_timeout')
|
|
2304
|
+
|
|
2305
|
+
params = locals()
|
|
2306
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2307
|
+
if key not in all_params:
|
|
2308
|
+
raise TypeError(
|
|
2309
|
+
"Got an unexpected keyword argument '%s'"
|
|
2310
|
+
" to method is_user_token_access_enabled_using_get" % key
|
|
2311
|
+
)
|
|
2312
|
+
params[key] = val
|
|
2313
|
+
del params['kwargs']
|
|
2314
|
+
|
|
2315
|
+
collection_formats = {}
|
|
2316
|
+
|
|
2317
|
+
path_params = {}
|
|
2318
|
+
|
|
2319
|
+
query_params = []
|
|
2320
|
+
|
|
2321
|
+
header_params = {}
|
|
2322
|
+
|
|
2323
|
+
form_params = []
|
|
2324
|
+
local_var_files = {}
|
|
2325
|
+
|
|
2326
|
+
body_params = None
|
|
2327
|
+
# HTTP header `Accept`
|
|
2328
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2329
|
+
['application/json']) # noqa: E501
|
|
2330
|
+
|
|
2331
|
+
# Authentication setting
|
|
2332
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2333
|
+
|
|
2334
|
+
return self.api_client.call_api(
|
|
2335
|
+
'/api/user/tokenAccessEnabled', 'GET',
|
|
2336
|
+
path_params,
|
|
2337
|
+
query_params,
|
|
2338
|
+
header_params,
|
|
2339
|
+
body=body_params,
|
|
2340
|
+
post_params=form_params,
|
|
2341
|
+
files=local_var_files,
|
|
2342
|
+
response_type='bool', # noqa: E501
|
|
2343
|
+
auth_settings=auth_settings,
|
|
2344
|
+
async_req=params.get('async_req'),
|
|
2345
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2346
|
+
_preload_content=params.get('_preload_content', True),
|
|
2347
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2348
|
+
collection_formats=collection_formats)
|
|
2349
|
+
|
|
2350
|
+
def put_user_settings_using_put(self, **kwargs): # noqa: E501
|
|
2351
|
+
"""Update user settings (saveUserSettings) # noqa: E501
|
|
2352
|
+
|
|
2353
|
+
Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
|
|
2354
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2355
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2356
|
+
>>> thread = api.put_user_settings_using_put(async_req=True)
|
|
2357
|
+
>>> result = thread.get()
|
|
2358
|
+
|
|
2359
|
+
:param async_req bool
|
|
2360
|
+
:param JsonNode body:
|
|
2361
|
+
:return: None
|
|
2362
|
+
If the method is called asynchronously,
|
|
2363
|
+
returns the request thread.
|
|
2364
|
+
"""
|
|
2365
|
+
kwargs['_return_http_data_only'] = True
|
|
2366
|
+
if kwargs.get('async_req'):
|
|
2367
|
+
return self.put_user_settings_using_put_with_http_info(**kwargs) # noqa: E501
|
|
2368
|
+
else:
|
|
2369
|
+
(data) = self.put_user_settings_using_put_with_http_info(**kwargs) # noqa: E501
|
|
2370
|
+
return data
|
|
2371
|
+
|
|
2372
|
+
def put_user_settings_using_put_with_http_info(self, **kwargs): # noqa: E501
|
|
2373
|
+
"""Update user settings (saveUserSettings) # noqa: E501
|
|
2374
|
+
|
|
2375
|
+
Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
|
|
2376
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2377
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2378
|
+
>>> thread = api.put_user_settings_using_put_with_http_info(async_req=True)
|
|
2379
|
+
>>> result = thread.get()
|
|
2380
|
+
|
|
2381
|
+
:param async_req bool
|
|
2382
|
+
:param JsonNode body:
|
|
2383
|
+
:return: None
|
|
2384
|
+
If the method is called asynchronously,
|
|
2385
|
+
returns the request thread.
|
|
2386
|
+
"""
|
|
2387
|
+
|
|
2388
|
+
all_params = ['body'] # noqa: E501
|
|
2389
|
+
all_params.append('async_req')
|
|
2390
|
+
all_params.append('_return_http_data_only')
|
|
2391
|
+
all_params.append('_preload_content')
|
|
2392
|
+
all_params.append('_request_timeout')
|
|
2393
|
+
|
|
2394
|
+
params = locals()
|
|
2395
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2396
|
+
if key not in all_params:
|
|
2397
|
+
raise TypeError(
|
|
2398
|
+
"Got an unexpected keyword argument '%s'"
|
|
2399
|
+
" to method put_user_settings_using_put" % key
|
|
2400
|
+
)
|
|
2401
|
+
params[key] = val
|
|
2402
|
+
del params['kwargs']
|
|
2403
|
+
|
|
2404
|
+
collection_formats = {}
|
|
2405
|
+
|
|
2406
|
+
path_params = {}
|
|
2407
|
+
|
|
2408
|
+
query_params = []
|
|
2409
|
+
|
|
2410
|
+
header_params = {}
|
|
2411
|
+
|
|
2412
|
+
form_params = []
|
|
2413
|
+
local_var_files = {}
|
|
2414
|
+
|
|
2415
|
+
body_params = None
|
|
2416
|
+
if 'body' in params:
|
|
2417
|
+
body_params = params['body']
|
|
2418
|
+
# HTTP header `Content-Type`
|
|
2419
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2420
|
+
['application/json']) # noqa: E501
|
|
2421
|
+
|
|
2422
|
+
# Authentication setting
|
|
2423
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2424
|
+
|
|
2425
|
+
return self.api_client.call_api(
|
|
2426
|
+
'/api/user/settings', 'PUT',
|
|
2427
|
+
path_params,
|
|
2428
|
+
query_params,
|
|
2429
|
+
header_params,
|
|
2430
|
+
body=body_params,
|
|
2431
|
+
post_params=form_params,
|
|
2432
|
+
files=local_var_files,
|
|
2433
|
+
response_type=None, # noqa: E501
|
|
2434
|
+
auth_settings=auth_settings,
|
|
2435
|
+
async_req=params.get('async_req'),
|
|
2436
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2437
|
+
_preload_content=params.get('_preload_content', True),
|
|
2438
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2439
|
+
collection_formats=collection_formats)
|
|
2440
|
+
|
|
2441
|
+
def put_user_settings_using_put1(self, type, **kwargs): # noqa: E501
|
|
2442
|
+
"""Update user settings (saveUserSettings) # noqa: E501
|
|
2443
|
+
|
|
2444
|
+
Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
|
|
2445
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2446
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2447
|
+
>>> thread = api.put_user_settings_using_put1(type, async_req=True)
|
|
2448
|
+
>>> result = thread.get()
|
|
2449
|
+
|
|
2450
|
+
:param async_req bool
|
|
2451
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
2452
|
+
:param JsonNode body:
|
|
2453
|
+
:return: None
|
|
2454
|
+
If the method is called asynchronously,
|
|
2455
|
+
returns the request thread.
|
|
2456
|
+
"""
|
|
2457
|
+
kwargs['_return_http_data_only'] = True
|
|
2458
|
+
if kwargs.get('async_req'):
|
|
2459
|
+
return self.put_user_settings_using_put1_with_http_info(type, **kwargs) # noqa: E501
|
|
2460
|
+
else:
|
|
2461
|
+
(data) = self.put_user_settings_using_put1_with_http_info(type, **kwargs) # noqa: E501
|
|
2462
|
+
return data
|
|
2463
|
+
|
|
2464
|
+
def put_user_settings_using_put1_with_http_info(self, type, **kwargs): # noqa: E501
|
|
2465
|
+
"""Update user settings (saveUserSettings) # noqa: E501
|
|
2466
|
+
|
|
2467
|
+
Update user settings for authorized user. Only specified json elements will be updated.Example: you have such settings: {A:5, B:{C:10, D:20}}. Updating it with {B:{C:10, D:30}} will result in{A:5, B:{C:10, D:30}}. The same could be achieved by putting {B.D:30} # noqa: E501
|
|
2468
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2469
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2470
|
+
>>> thread = api.put_user_settings_using_put1_with_http_info(type, async_req=True)
|
|
2471
|
+
>>> result = thread.get()
|
|
2472
|
+
|
|
2473
|
+
:param async_req bool
|
|
2474
|
+
:param str type: Settings type, case insensitive, one of: \"general\", \"quick_links\", \"doc_links\" or \"dashboards\". (required)
|
|
2475
|
+
:param JsonNode body:
|
|
2476
|
+
:return: None
|
|
2477
|
+
If the method is called asynchronously,
|
|
2478
|
+
returns the request thread.
|
|
2479
|
+
"""
|
|
2480
|
+
|
|
2481
|
+
all_params = ['type', 'body'] # noqa: E501
|
|
2482
|
+
all_params.append('async_req')
|
|
2483
|
+
all_params.append('_return_http_data_only')
|
|
2484
|
+
all_params.append('_preload_content')
|
|
2485
|
+
all_params.append('_request_timeout')
|
|
2486
|
+
|
|
2487
|
+
params = locals()
|
|
2488
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2489
|
+
if key not in all_params:
|
|
2490
|
+
raise TypeError(
|
|
2491
|
+
"Got an unexpected keyword argument '%s'"
|
|
2492
|
+
" to method put_user_settings_using_put1" % key
|
|
2493
|
+
)
|
|
2494
|
+
params[key] = val
|
|
2495
|
+
del params['kwargs']
|
|
2496
|
+
# verify the required parameter 'type' is set
|
|
2497
|
+
if ('type' not in params or
|
|
2498
|
+
params['type'] is None):
|
|
2499
|
+
raise ValueError("Missing the required parameter `type` when calling `put_user_settings_using_put1`") # noqa: E501
|
|
2500
|
+
|
|
2501
|
+
collection_formats = {}
|
|
2502
|
+
|
|
2503
|
+
path_params = {}
|
|
2504
|
+
if 'type' in params:
|
|
2505
|
+
path_params['type'] = params['type'] # noqa: E501
|
|
2506
|
+
|
|
2507
|
+
query_params = []
|
|
2508
|
+
|
|
2509
|
+
header_params = {}
|
|
2510
|
+
|
|
2511
|
+
form_params = []
|
|
2512
|
+
local_var_files = {}
|
|
2513
|
+
|
|
2514
|
+
body_params = None
|
|
2515
|
+
if 'body' in params:
|
|
2516
|
+
body_params = params['body']
|
|
2517
|
+
# HTTP header `Content-Type`
|
|
2518
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2519
|
+
['application/json']) # noqa: E501
|
|
2520
|
+
|
|
2521
|
+
# Authentication setting
|
|
2522
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2523
|
+
|
|
2524
|
+
return self.api_client.call_api(
|
|
2525
|
+
'/api/user/settings/{type}', 'PUT',
|
|
2526
|
+
path_params,
|
|
2527
|
+
query_params,
|
|
2528
|
+
header_params,
|
|
2529
|
+
body=body_params,
|
|
2530
|
+
post_params=form_params,
|
|
2531
|
+
files=local_var_files,
|
|
2532
|
+
response_type=None, # noqa: E501
|
|
2533
|
+
auth_settings=auth_settings,
|
|
2534
|
+
async_req=params.get('async_req'),
|
|
2535
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2536
|
+
_preload_content=params.get('_preload_content', True),
|
|
2537
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2538
|
+
collection_formats=collection_formats)
|
|
2539
|
+
|
|
2540
|
+
def remove_mobile_session_using_delete(self, x_mobile_token, **kwargs): # noqa: E501
|
|
2541
|
+
"""removeMobileSession # noqa: E501
|
|
2542
|
+
|
|
2543
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2544
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2545
|
+
>>> thread = api.remove_mobile_session_using_delete(x_mobile_token, async_req=True)
|
|
2546
|
+
>>> result = thread.get()
|
|
2547
|
+
|
|
2548
|
+
:param async_req bool
|
|
2549
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
2550
|
+
:return: None
|
|
2551
|
+
If the method is called asynchronously,
|
|
2552
|
+
returns the request thread.
|
|
2553
|
+
"""
|
|
2554
|
+
kwargs['_return_http_data_only'] = True
|
|
2555
|
+
if kwargs.get('async_req'):
|
|
2556
|
+
return self.remove_mobile_session_using_delete_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
2557
|
+
else:
|
|
2558
|
+
(data) = self.remove_mobile_session_using_delete_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
2559
|
+
return data
|
|
2560
|
+
|
|
2561
|
+
def remove_mobile_session_using_delete_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
|
|
2562
|
+
"""removeMobileSession # noqa: E501
|
|
2563
|
+
|
|
2564
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2565
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2566
|
+
>>> thread = api.remove_mobile_session_using_delete_with_http_info(x_mobile_token, async_req=True)
|
|
2567
|
+
>>> result = thread.get()
|
|
2568
|
+
|
|
2569
|
+
:param async_req bool
|
|
2570
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
2571
|
+
:return: None
|
|
2572
|
+
If the method is called asynchronously,
|
|
2573
|
+
returns the request thread.
|
|
2574
|
+
"""
|
|
2575
|
+
|
|
2576
|
+
all_params = ['x_mobile_token'] # noqa: E501
|
|
2577
|
+
all_params.append('async_req')
|
|
2578
|
+
all_params.append('_return_http_data_only')
|
|
2579
|
+
all_params.append('_preload_content')
|
|
2580
|
+
all_params.append('_request_timeout')
|
|
2581
|
+
|
|
2582
|
+
params = locals()
|
|
2583
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2584
|
+
if key not in all_params:
|
|
2585
|
+
raise TypeError(
|
|
2586
|
+
"Got an unexpected keyword argument '%s'"
|
|
2587
|
+
" to method remove_mobile_session_using_delete" % key
|
|
2588
|
+
)
|
|
2589
|
+
params[key] = val
|
|
2590
|
+
del params['kwargs']
|
|
2591
|
+
# verify the required parameter 'x_mobile_token' is set
|
|
2592
|
+
if ('x_mobile_token' not in params or
|
|
2593
|
+
params['x_mobile_token'] is None):
|
|
2594
|
+
raise ValueError("Missing the required parameter `x_mobile_token` when calling `remove_mobile_session_using_delete`") # noqa: E501
|
|
2595
|
+
|
|
2596
|
+
collection_formats = {}
|
|
2597
|
+
|
|
2598
|
+
path_params = {}
|
|
2599
|
+
|
|
2600
|
+
query_params = []
|
|
2601
|
+
|
|
2602
|
+
header_params = {}
|
|
2603
|
+
if 'x_mobile_token' in params:
|
|
2604
|
+
header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
|
|
2605
|
+
|
|
2606
|
+
form_params = []
|
|
2607
|
+
local_var_files = {}
|
|
2608
|
+
|
|
2609
|
+
body_params = None
|
|
2610
|
+
# HTTP header `Accept`
|
|
2611
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2612
|
+
['application/json']) # noqa: E501
|
|
2613
|
+
|
|
2614
|
+
# Authentication setting
|
|
2615
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2616
|
+
|
|
2617
|
+
return self.api_client.call_api(
|
|
2618
|
+
'/api/user/mobile/session', 'DELETE',
|
|
2619
|
+
path_params,
|
|
2620
|
+
query_params,
|
|
2621
|
+
header_params,
|
|
2622
|
+
body=body_params,
|
|
2623
|
+
post_params=form_params,
|
|
2624
|
+
files=local_var_files,
|
|
2625
|
+
response_type=None, # noqa: E501
|
|
2626
|
+
auth_settings=auth_settings,
|
|
2627
|
+
async_req=params.get('async_req'),
|
|
2628
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2629
|
+
_preload_content=params.get('_preload_content', True),
|
|
2630
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2631
|
+
collection_formats=collection_formats)
|
|
2632
|
+
|
|
2633
|
+
def report_user_dashboard_action_using_get(self, dashboard_id, action, **kwargs): # noqa: E501
|
|
2634
|
+
"""Report action of User over the dashboard (reportUserDashboardAction) # noqa: E501
|
|
2635
|
+
|
|
2636
|
+
Report action of User over the dashboard. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
2637
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2638
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2639
|
+
>>> thread = api.report_user_dashboard_action_using_get(dashboard_id, action, async_req=True)
|
|
2640
|
+
>>> result = thread.get()
|
|
2641
|
+
|
|
2642
|
+
:param async_req bool
|
|
2643
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2644
|
+
:param str action: Dashboard action, one of: \"visit\", \"star\" or \"unstar\". (required)
|
|
2645
|
+
:return: UserDashboardsInfo
|
|
2646
|
+
If the method is called asynchronously,
|
|
2647
|
+
returns the request thread.
|
|
2648
|
+
"""
|
|
2649
|
+
kwargs['_return_http_data_only'] = True
|
|
2650
|
+
if kwargs.get('async_req'):
|
|
2651
|
+
return self.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, **kwargs) # noqa: E501
|
|
2652
|
+
else:
|
|
2653
|
+
(data) = self.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, **kwargs) # noqa: E501
|
|
2654
|
+
return data
|
|
2655
|
+
|
|
2656
|
+
def report_user_dashboard_action_using_get_with_http_info(self, dashboard_id, action, **kwargs): # noqa: E501
|
|
2657
|
+
"""Report action of User over the dashboard (reportUserDashboardAction) # noqa: E501
|
|
2658
|
+
|
|
2659
|
+
Report action of User over the dashboard. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
2660
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2661
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2662
|
+
>>> thread = api.report_user_dashboard_action_using_get_with_http_info(dashboard_id, action, async_req=True)
|
|
2663
|
+
>>> result = thread.get()
|
|
2664
|
+
|
|
2665
|
+
:param async_req bool
|
|
2666
|
+
:param str dashboard_id: A string value representing the dashboard id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
2667
|
+
:param str action: Dashboard action, one of: \"visit\", \"star\" or \"unstar\". (required)
|
|
2668
|
+
:return: UserDashboardsInfo
|
|
2669
|
+
If the method is called asynchronously,
|
|
2670
|
+
returns the request thread.
|
|
2671
|
+
"""
|
|
2672
|
+
|
|
2673
|
+
all_params = ['dashboard_id', 'action'] # noqa: E501
|
|
2674
|
+
all_params.append('async_req')
|
|
2675
|
+
all_params.append('_return_http_data_only')
|
|
2676
|
+
all_params.append('_preload_content')
|
|
2677
|
+
all_params.append('_request_timeout')
|
|
2678
|
+
|
|
2679
|
+
params = locals()
|
|
2680
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2681
|
+
if key not in all_params:
|
|
2682
|
+
raise TypeError(
|
|
2683
|
+
"Got an unexpected keyword argument '%s'"
|
|
2684
|
+
" to method report_user_dashboard_action_using_get" % key
|
|
2685
|
+
)
|
|
2686
|
+
params[key] = val
|
|
2687
|
+
del params['kwargs']
|
|
2688
|
+
# verify the required parameter 'dashboard_id' is set
|
|
2689
|
+
if ('dashboard_id' not in params or
|
|
2690
|
+
params['dashboard_id'] is None):
|
|
2691
|
+
raise ValueError("Missing the required parameter `dashboard_id` when calling `report_user_dashboard_action_using_get`") # noqa: E501
|
|
2692
|
+
# verify the required parameter 'action' is set
|
|
2693
|
+
if ('action' not in params or
|
|
2694
|
+
params['action'] is None):
|
|
2695
|
+
raise ValueError("Missing the required parameter `action` when calling `report_user_dashboard_action_using_get`") # noqa: E501
|
|
2696
|
+
|
|
2697
|
+
collection_formats = {}
|
|
2698
|
+
|
|
2699
|
+
path_params = {}
|
|
2700
|
+
if 'dashboard_id' in params:
|
|
2701
|
+
path_params['dashboardId'] = params['dashboard_id'] # noqa: E501
|
|
2702
|
+
if 'action' in params:
|
|
2703
|
+
path_params['action'] = params['action'] # noqa: E501
|
|
2704
|
+
|
|
2705
|
+
query_params = []
|
|
2706
|
+
|
|
2707
|
+
header_params = {}
|
|
2708
|
+
|
|
2709
|
+
form_params = []
|
|
2710
|
+
local_var_files = {}
|
|
2711
|
+
|
|
2712
|
+
body_params = None
|
|
2713
|
+
# HTTP header `Accept`
|
|
2714
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2715
|
+
['application/json']) # noqa: E501
|
|
2716
|
+
|
|
2717
|
+
# Authentication setting
|
|
2718
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2719
|
+
|
|
2720
|
+
return self.api_client.call_api(
|
|
2721
|
+
'/api/user/dashboards/{dashboardId}/{action}', 'GET',
|
|
2722
|
+
path_params,
|
|
2723
|
+
query_params,
|
|
2724
|
+
header_params,
|
|
2725
|
+
body=body_params,
|
|
2726
|
+
post_params=form_params,
|
|
2727
|
+
files=local_var_files,
|
|
2728
|
+
response_type='UserDashboardsInfo', # noqa: E501
|
|
2729
|
+
auth_settings=auth_settings,
|
|
2730
|
+
async_req=params.get('async_req'),
|
|
2731
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2732
|
+
_preload_content=params.get('_preload_content', True),
|
|
2733
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2734
|
+
collection_formats=collection_formats)
|
|
2735
|
+
|
|
2736
|
+
def save_mobile_session_using_post(self, x_mobile_token, **kwargs): # noqa: E501
|
|
2737
|
+
"""saveMobileSession # noqa: E501
|
|
2738
|
+
|
|
2739
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2740
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2741
|
+
>>> thread = api.save_mobile_session_using_post(x_mobile_token, async_req=True)
|
|
2742
|
+
>>> result = thread.get()
|
|
2743
|
+
|
|
2744
|
+
:param async_req bool
|
|
2745
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
2746
|
+
:param MobileSessionInfo body:
|
|
2747
|
+
:return: None
|
|
2748
|
+
If the method is called asynchronously,
|
|
2749
|
+
returns the request thread.
|
|
2750
|
+
"""
|
|
2751
|
+
kwargs['_return_http_data_only'] = True
|
|
2752
|
+
if kwargs.get('async_req'):
|
|
2753
|
+
return self.save_mobile_session_using_post_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
2754
|
+
else:
|
|
2755
|
+
(data) = self.save_mobile_session_using_post_with_http_info(x_mobile_token, **kwargs) # noqa: E501
|
|
2756
|
+
return data
|
|
2757
|
+
|
|
2758
|
+
def save_mobile_session_using_post_with_http_info(self, x_mobile_token, **kwargs): # noqa: E501
|
|
2759
|
+
"""saveMobileSession # noqa: E501
|
|
2760
|
+
|
|
2761
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2762
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2763
|
+
>>> thread = api.save_mobile_session_using_post_with_http_info(x_mobile_token, async_req=True)
|
|
2764
|
+
>>> result = thread.get()
|
|
2765
|
+
|
|
2766
|
+
:param async_req bool
|
|
2767
|
+
:param str x_mobile_token: X-Mobile-Token (required)
|
|
2768
|
+
:param MobileSessionInfo body:
|
|
2769
|
+
:return: None
|
|
2770
|
+
If the method is called asynchronously,
|
|
2771
|
+
returns the request thread.
|
|
2772
|
+
"""
|
|
2773
|
+
|
|
2774
|
+
all_params = ['x_mobile_token', 'body'] # noqa: E501
|
|
2775
|
+
all_params.append('async_req')
|
|
2776
|
+
all_params.append('_return_http_data_only')
|
|
2777
|
+
all_params.append('_preload_content')
|
|
2778
|
+
all_params.append('_request_timeout')
|
|
2779
|
+
|
|
2780
|
+
params = locals()
|
|
2781
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2782
|
+
if key not in all_params:
|
|
2783
|
+
raise TypeError(
|
|
2784
|
+
"Got an unexpected keyword argument '%s'"
|
|
2785
|
+
" to method save_mobile_session_using_post" % key
|
|
2786
|
+
)
|
|
2787
|
+
params[key] = val
|
|
2788
|
+
del params['kwargs']
|
|
2789
|
+
# verify the required parameter 'x_mobile_token' is set
|
|
2790
|
+
if ('x_mobile_token' not in params or
|
|
2791
|
+
params['x_mobile_token'] is None):
|
|
2792
|
+
raise ValueError("Missing the required parameter `x_mobile_token` when calling `save_mobile_session_using_post`") # noqa: E501
|
|
2793
|
+
|
|
2794
|
+
collection_formats = {}
|
|
2795
|
+
|
|
2796
|
+
path_params = {}
|
|
2797
|
+
|
|
2798
|
+
query_params = []
|
|
2799
|
+
|
|
2800
|
+
header_params = {}
|
|
2801
|
+
if 'x_mobile_token' in params:
|
|
2802
|
+
header_params['X-Mobile-Token'] = params['x_mobile_token'] # noqa: E501
|
|
2803
|
+
|
|
2804
|
+
form_params = []
|
|
2805
|
+
local_var_files = {}
|
|
2806
|
+
|
|
2807
|
+
body_params = None
|
|
2808
|
+
if 'body' in params:
|
|
2809
|
+
body_params = params['body']
|
|
2810
|
+
# HTTP header `Accept`
|
|
2811
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2812
|
+
['application/json']) # noqa: E501
|
|
2813
|
+
|
|
2814
|
+
# HTTP header `Content-Type`
|
|
2815
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2816
|
+
['application/json']) # noqa: E501
|
|
2817
|
+
|
|
2818
|
+
# Authentication setting
|
|
2819
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2820
|
+
|
|
2821
|
+
return self.api_client.call_api(
|
|
2822
|
+
'/api/user/mobile/session', 'POST',
|
|
2823
|
+
path_params,
|
|
2824
|
+
query_params,
|
|
2825
|
+
header_params,
|
|
2826
|
+
body=body_params,
|
|
2827
|
+
post_params=form_params,
|
|
2828
|
+
files=local_var_files,
|
|
2829
|
+
response_type=None, # noqa: E501
|
|
2830
|
+
auth_settings=auth_settings,
|
|
2831
|
+
async_req=params.get('async_req'),
|
|
2832
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2833
|
+
_preload_content=params.get('_preload_content', True),
|
|
2834
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2835
|
+
collection_formats=collection_formats)
|
|
2836
|
+
|
|
2837
|
+
def save_user_settings_using_post(self, **kwargs): # noqa: E501
|
|
2838
|
+
"""Save user settings (saveUserSettings) # noqa: E501
|
|
2839
|
+
|
|
2840
|
+
Save user settings represented in json format for authorized user. # noqa: E501
|
|
2841
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2842
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2843
|
+
>>> thread = api.save_user_settings_using_post(async_req=True)
|
|
2844
|
+
>>> result = thread.get()
|
|
2845
|
+
|
|
2846
|
+
:param async_req bool
|
|
2847
|
+
:param JsonNode body:
|
|
2848
|
+
:return: JsonNode
|
|
2849
|
+
If the method is called asynchronously,
|
|
2850
|
+
returns the request thread.
|
|
2851
|
+
"""
|
|
2852
|
+
kwargs['_return_http_data_only'] = True
|
|
2853
|
+
if kwargs.get('async_req'):
|
|
2854
|
+
return self.save_user_settings_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2855
|
+
else:
|
|
2856
|
+
(data) = self.save_user_settings_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2857
|
+
return data
|
|
2858
|
+
|
|
2859
|
+
def save_user_settings_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
2860
|
+
"""Save user settings (saveUserSettings) # noqa: E501
|
|
2861
|
+
|
|
2862
|
+
Save user settings represented in json format for authorized user. # noqa: E501
|
|
2863
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2864
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2865
|
+
>>> thread = api.save_user_settings_using_post_with_http_info(async_req=True)
|
|
2866
|
+
>>> result = thread.get()
|
|
2867
|
+
|
|
2868
|
+
:param async_req bool
|
|
2869
|
+
:param JsonNode body:
|
|
2870
|
+
:return: JsonNode
|
|
2871
|
+
If the method is called asynchronously,
|
|
2872
|
+
returns the request thread.
|
|
2873
|
+
"""
|
|
2874
|
+
|
|
2875
|
+
all_params = ['body'] # noqa: E501
|
|
2876
|
+
all_params.append('async_req')
|
|
2877
|
+
all_params.append('_return_http_data_only')
|
|
2878
|
+
all_params.append('_preload_content')
|
|
2879
|
+
all_params.append('_request_timeout')
|
|
2880
|
+
|
|
2881
|
+
params = locals()
|
|
2882
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2883
|
+
if key not in all_params:
|
|
2884
|
+
raise TypeError(
|
|
2885
|
+
"Got an unexpected keyword argument '%s'"
|
|
2886
|
+
" to method save_user_settings_using_post" % key
|
|
2887
|
+
)
|
|
2888
|
+
params[key] = val
|
|
2889
|
+
del params['kwargs']
|
|
2890
|
+
|
|
2891
|
+
collection_formats = {}
|
|
2892
|
+
|
|
2893
|
+
path_params = {}
|
|
2894
|
+
|
|
2895
|
+
query_params = []
|
|
2896
|
+
|
|
2897
|
+
header_params = {}
|
|
2898
|
+
|
|
2899
|
+
form_params = []
|
|
2900
|
+
local_var_files = {}
|
|
2901
|
+
|
|
2902
|
+
body_params = None
|
|
2903
|
+
if 'body' in params:
|
|
2904
|
+
body_params = params['body']
|
|
2905
|
+
# HTTP header `Accept`
|
|
2906
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
2907
|
+
['application/json']) # noqa: E501
|
|
2908
|
+
|
|
2909
|
+
# HTTP header `Content-Type`
|
|
2910
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
2911
|
+
['application/json']) # noqa: E501
|
|
2912
|
+
|
|
2913
|
+
# Authentication setting
|
|
2914
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
2915
|
+
|
|
2916
|
+
return self.api_client.call_api(
|
|
2917
|
+
'/api/user/settings', 'POST',
|
|
2918
|
+
path_params,
|
|
2919
|
+
query_params,
|
|
2920
|
+
header_params,
|
|
2921
|
+
body=body_params,
|
|
2922
|
+
post_params=form_params,
|
|
2923
|
+
files=local_var_files,
|
|
2924
|
+
response_type='JsonNode', # noqa: E501
|
|
2925
|
+
auth_settings=auth_settings,
|
|
2926
|
+
async_req=params.get('async_req'),
|
|
2927
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
2928
|
+
_preload_content=params.get('_preload_content', True),
|
|
2929
|
+
_request_timeout=params.get('_request_timeout'),
|
|
2930
|
+
collection_formats=collection_formats)
|
|
2931
|
+
|
|
2932
|
+
def save_user_using_post(self, **kwargs): # noqa: E501
|
|
2933
|
+
"""Save Or update User (saveUser) # noqa: E501
|
|
2934
|
+
|
|
2935
|
+
Create or update the User. When creating user, platform generates User Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created User Id will be present in the response. Specify existing User Id to update the device. Referencing non-existing User Id will cause 'Not Found' error. Device email is unique for entire platform setup. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new User entity. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
2936
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2937
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2938
|
+
>>> thread = api.save_user_using_post(async_req=True)
|
|
2939
|
+
>>> result = thread.get()
|
|
2940
|
+
|
|
2941
|
+
:param async_req bool
|
|
2942
|
+
:param User body:
|
|
2943
|
+
:param bool send_activation_mail: Send activation email (or use activation link)
|
|
2944
|
+
:param str entity_group_id: entityGroupId
|
|
2945
|
+
:param str entity_group_ids: entityGroupIds
|
|
2946
|
+
:return: User
|
|
2947
|
+
If the method is called asynchronously,
|
|
2948
|
+
returns the request thread.
|
|
2949
|
+
"""
|
|
2950
|
+
kwargs['_return_http_data_only'] = True
|
|
2951
|
+
if kwargs.get('async_req'):
|
|
2952
|
+
return self.save_user_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2953
|
+
else:
|
|
2954
|
+
(data) = self.save_user_using_post_with_http_info(**kwargs) # noqa: E501
|
|
2955
|
+
return data
|
|
2956
|
+
|
|
2957
|
+
def save_user_using_post_with_http_info(self, **kwargs): # noqa: E501
|
|
2958
|
+
"""Save Or update User (saveUser) # noqa: E501
|
|
2959
|
+
|
|
2960
|
+
Create or update the User. When creating user, platform generates User Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created User Id will be present in the response. Specify existing User Id to update the device. Referencing non-existing User Id will cause 'Not Found' error. Device email is unique for entire platform setup. Remove 'id', 'tenantId' and optionally 'customerId' from the request body example (below) to create new User entity. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
2961
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
2962
|
+
asynchronous HTTP request, please pass async_req=True
|
|
2963
|
+
>>> thread = api.save_user_using_post_with_http_info(async_req=True)
|
|
2964
|
+
>>> result = thread.get()
|
|
2965
|
+
|
|
2966
|
+
:param async_req bool
|
|
2967
|
+
:param User body:
|
|
2968
|
+
:param bool send_activation_mail: Send activation email (or use activation link)
|
|
2969
|
+
:param str entity_group_id: entityGroupId
|
|
2970
|
+
:param str entity_group_ids: entityGroupIds
|
|
2971
|
+
:return: User
|
|
2972
|
+
If the method is called asynchronously,
|
|
2973
|
+
returns the request thread.
|
|
2974
|
+
"""
|
|
2975
|
+
|
|
2976
|
+
all_params = ['body', 'send_activation_mail', 'entity_group_id', 'entity_group_ids'] # noqa: E501
|
|
2977
|
+
all_params.append('async_req')
|
|
2978
|
+
all_params.append('_return_http_data_only')
|
|
2979
|
+
all_params.append('_preload_content')
|
|
2980
|
+
all_params.append('_request_timeout')
|
|
2981
|
+
|
|
2982
|
+
params = locals()
|
|
2983
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
2984
|
+
if key not in all_params:
|
|
2985
|
+
raise TypeError(
|
|
2986
|
+
"Got an unexpected keyword argument '%s'"
|
|
2987
|
+
" to method save_user_using_post" % key
|
|
2988
|
+
)
|
|
2989
|
+
params[key] = val
|
|
2990
|
+
del params['kwargs']
|
|
2991
|
+
|
|
2992
|
+
collection_formats = {}
|
|
2993
|
+
|
|
2994
|
+
path_params = {}
|
|
2995
|
+
|
|
2996
|
+
query_params = []
|
|
2997
|
+
if 'send_activation_mail' in params:
|
|
2998
|
+
query_params.append(('sendActivationMail', params['send_activation_mail'])) # noqa: E501
|
|
2999
|
+
if 'entity_group_id' in params:
|
|
3000
|
+
query_params.append(('entityGroupId', params['entity_group_id'])) # noqa: E501
|
|
3001
|
+
if 'entity_group_ids' in params:
|
|
3002
|
+
query_params.append(('entityGroupIds', params['entity_group_ids'])) # noqa: E501
|
|
3003
|
+
|
|
3004
|
+
header_params = {}
|
|
3005
|
+
|
|
3006
|
+
form_params = []
|
|
3007
|
+
local_var_files = {}
|
|
3008
|
+
|
|
3009
|
+
body_params = None
|
|
3010
|
+
if 'body' in params:
|
|
3011
|
+
body_params = params['body']
|
|
3012
|
+
# HTTP header `Accept`
|
|
3013
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3014
|
+
['application/json']) # noqa: E501
|
|
3015
|
+
|
|
3016
|
+
# HTTP header `Content-Type`
|
|
3017
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
3018
|
+
['application/json']) # noqa: E501
|
|
3019
|
+
|
|
3020
|
+
# Authentication setting
|
|
3021
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
3022
|
+
|
|
3023
|
+
return self.api_client.call_api(
|
|
3024
|
+
'/api/user{?entityGroupId,entityGroupIds,sendActivationMail}', 'POST',
|
|
3025
|
+
path_params,
|
|
3026
|
+
query_params,
|
|
3027
|
+
header_params,
|
|
3028
|
+
body=body_params,
|
|
3029
|
+
post_params=form_params,
|
|
3030
|
+
files=local_var_files,
|
|
3031
|
+
response_type='User', # noqa: E501
|
|
3032
|
+
auth_settings=auth_settings,
|
|
3033
|
+
async_req=params.get('async_req'),
|
|
3034
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3035
|
+
_preload_content=params.get('_preload_content', True),
|
|
3036
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3037
|
+
collection_formats=collection_formats)
|
|
3038
|
+
|
|
3039
|
+
def send_activation_email_using_post(self, email, **kwargs): # noqa: E501
|
|
3040
|
+
"""Send or re-send the activation email # noqa: E501
|
|
3041
|
+
|
|
3042
|
+
Force send the activation email to the user. Useful to resend the email if user has accidentally deleted it. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
3043
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3044
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3045
|
+
>>> thread = api.send_activation_email_using_post(email, async_req=True)
|
|
3046
|
+
>>> result = thread.get()
|
|
3047
|
+
|
|
3048
|
+
:param async_req bool
|
|
3049
|
+
:param str email: Email of the user (required)
|
|
3050
|
+
:return: None
|
|
3051
|
+
If the method is called asynchronously,
|
|
3052
|
+
returns the request thread.
|
|
3053
|
+
"""
|
|
3054
|
+
kwargs['_return_http_data_only'] = True
|
|
3055
|
+
if kwargs.get('async_req'):
|
|
3056
|
+
return self.send_activation_email_using_post_with_http_info(email, **kwargs) # noqa: E501
|
|
3057
|
+
else:
|
|
3058
|
+
(data) = self.send_activation_email_using_post_with_http_info(email, **kwargs) # noqa: E501
|
|
3059
|
+
return data
|
|
3060
|
+
|
|
3061
|
+
def send_activation_email_using_post_with_http_info(self, email, **kwargs): # noqa: E501
|
|
3062
|
+
"""Send or re-send the activation email # noqa: E501
|
|
3063
|
+
|
|
3064
|
+
Force send the activation email to the user. Useful to resend the email if user has accidentally deleted it. Security check is performed to verify that the user has 'DELETE' permission for the entity (entities). # noqa: E501
|
|
3065
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3066
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3067
|
+
>>> thread = api.send_activation_email_using_post_with_http_info(email, async_req=True)
|
|
3068
|
+
>>> result = thread.get()
|
|
3069
|
+
|
|
3070
|
+
:param async_req bool
|
|
3071
|
+
:param str email: Email of the user (required)
|
|
3072
|
+
:return: None
|
|
3073
|
+
If the method is called asynchronously,
|
|
3074
|
+
returns the request thread.
|
|
3075
|
+
"""
|
|
3076
|
+
|
|
3077
|
+
all_params = ['email'] # noqa: E501
|
|
3078
|
+
all_params.append('async_req')
|
|
3079
|
+
all_params.append('_return_http_data_only')
|
|
3080
|
+
all_params.append('_preload_content')
|
|
3081
|
+
all_params.append('_request_timeout')
|
|
3082
|
+
|
|
3083
|
+
params = locals()
|
|
3084
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3085
|
+
if key not in all_params:
|
|
3086
|
+
raise TypeError(
|
|
3087
|
+
"Got an unexpected keyword argument '%s'"
|
|
3088
|
+
" to method send_activation_email_using_post" % key
|
|
3089
|
+
)
|
|
3090
|
+
params[key] = val
|
|
3091
|
+
del params['kwargs']
|
|
3092
|
+
# verify the required parameter 'email' is set
|
|
3093
|
+
if ('email' not in params or
|
|
3094
|
+
params['email'] is None):
|
|
3095
|
+
raise ValueError("Missing the required parameter `email` when calling `send_activation_email_using_post`") # noqa: E501
|
|
3096
|
+
|
|
3097
|
+
collection_formats = {}
|
|
3098
|
+
|
|
3099
|
+
path_params = {}
|
|
3100
|
+
|
|
3101
|
+
query_params = []
|
|
3102
|
+
if 'email' in params:
|
|
3103
|
+
query_params.append(('email', params['email'])) # noqa: E501
|
|
3104
|
+
|
|
3105
|
+
header_params = {}
|
|
3106
|
+
|
|
3107
|
+
form_params = []
|
|
3108
|
+
local_var_files = {}
|
|
3109
|
+
|
|
3110
|
+
body_params = None
|
|
3111
|
+
# HTTP header `Accept`
|
|
3112
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3113
|
+
['application/json']) # noqa: E501
|
|
3114
|
+
|
|
3115
|
+
# Authentication setting
|
|
3116
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
3117
|
+
|
|
3118
|
+
return self.api_client.call_api(
|
|
3119
|
+
'/api/user/sendActivationMail{?email}', 'POST',
|
|
3120
|
+
path_params,
|
|
3121
|
+
query_params,
|
|
3122
|
+
header_params,
|
|
3123
|
+
body=body_params,
|
|
3124
|
+
post_params=form_params,
|
|
3125
|
+
files=local_var_files,
|
|
3126
|
+
response_type=None, # noqa: E501
|
|
3127
|
+
auth_settings=auth_settings,
|
|
3128
|
+
async_req=params.get('async_req'),
|
|
3129
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3130
|
+
_preload_content=params.get('_preload_content', True),
|
|
3131
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3132
|
+
collection_formats=collection_formats)
|
|
3133
|
+
|
|
3134
|
+
def set_user_credentials_enabled_using_post(self, user_id, **kwargs): # noqa: E501
|
|
3135
|
+
"""Enable/Disable User credentials (setUserCredentialsEnabled) # noqa: E501
|
|
3136
|
+
|
|
3137
|
+
Enables or Disables user credentials. Useful when you would like to block user account without deleting it. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
3138
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3139
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3140
|
+
>>> thread = api.set_user_credentials_enabled_using_post(user_id, async_req=True)
|
|
3141
|
+
>>> result = thread.get()
|
|
3142
|
+
|
|
3143
|
+
:param async_req bool
|
|
3144
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
3145
|
+
:param bool user_credentials_enabled: Enable (\"true\") or disable (\"false\") the credentials.
|
|
3146
|
+
:return: None
|
|
3147
|
+
If the method is called asynchronously,
|
|
3148
|
+
returns the request thread.
|
|
3149
|
+
"""
|
|
3150
|
+
kwargs['_return_http_data_only'] = True
|
|
3151
|
+
if kwargs.get('async_req'):
|
|
3152
|
+
return self.set_user_credentials_enabled_using_post_with_http_info(user_id, **kwargs) # noqa: E501
|
|
3153
|
+
else:
|
|
3154
|
+
(data) = self.set_user_credentials_enabled_using_post_with_http_info(user_id, **kwargs) # noqa: E501
|
|
3155
|
+
return data
|
|
3156
|
+
|
|
3157
|
+
def set_user_credentials_enabled_using_post_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
3158
|
+
"""Enable/Disable User credentials (setUserCredentialsEnabled) # noqa: E501
|
|
3159
|
+
|
|
3160
|
+
Enables or Disables user credentials. Useful when you would like to block user account without deleting it. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See the 'Model' tab of the Response Class for more details. Available for users with 'SYS_ADMIN' or 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. Security check is performed to verify that the user has 'WRITE' permission for the entity (entities). # noqa: E501
|
|
3161
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3162
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3163
|
+
>>> thread = api.set_user_credentials_enabled_using_post_with_http_info(user_id, async_req=True)
|
|
3164
|
+
>>> result = thread.get()
|
|
3165
|
+
|
|
3166
|
+
:param async_req bool
|
|
3167
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
3168
|
+
:param bool user_credentials_enabled: Enable (\"true\") or disable (\"false\") the credentials.
|
|
3169
|
+
:return: None
|
|
3170
|
+
If the method is called asynchronously,
|
|
3171
|
+
returns the request thread.
|
|
3172
|
+
"""
|
|
3173
|
+
|
|
3174
|
+
all_params = ['user_id', 'user_credentials_enabled'] # noqa: E501
|
|
3175
|
+
all_params.append('async_req')
|
|
3176
|
+
all_params.append('_return_http_data_only')
|
|
3177
|
+
all_params.append('_preload_content')
|
|
3178
|
+
all_params.append('_request_timeout')
|
|
3179
|
+
|
|
3180
|
+
params = locals()
|
|
3181
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3182
|
+
if key not in all_params:
|
|
3183
|
+
raise TypeError(
|
|
3184
|
+
"Got an unexpected keyword argument '%s'"
|
|
3185
|
+
" to method set_user_credentials_enabled_using_post" % key
|
|
3186
|
+
)
|
|
3187
|
+
params[key] = val
|
|
3188
|
+
del params['kwargs']
|
|
3189
|
+
# verify the required parameter 'user_id' is set
|
|
3190
|
+
if ('user_id' not in params or
|
|
3191
|
+
params['user_id'] is None):
|
|
3192
|
+
raise ValueError("Missing the required parameter `user_id` when calling `set_user_credentials_enabled_using_post`") # noqa: E501
|
|
3193
|
+
|
|
3194
|
+
collection_formats = {}
|
|
3195
|
+
|
|
3196
|
+
path_params = {}
|
|
3197
|
+
if 'user_id' in params:
|
|
3198
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
3199
|
+
|
|
3200
|
+
query_params = []
|
|
3201
|
+
if 'user_credentials_enabled' in params:
|
|
3202
|
+
query_params.append(('userCredentialsEnabled', params['user_credentials_enabled'])) # noqa: E501
|
|
3203
|
+
|
|
3204
|
+
header_params = {}
|
|
3205
|
+
|
|
3206
|
+
form_params = []
|
|
3207
|
+
local_var_files = {}
|
|
3208
|
+
|
|
3209
|
+
body_params = None
|
|
3210
|
+
# HTTP header `Accept`
|
|
3211
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3212
|
+
['application/json']) # noqa: E501
|
|
3213
|
+
|
|
3214
|
+
# Authentication setting
|
|
3215
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
3216
|
+
|
|
3217
|
+
return self.api_client.call_api(
|
|
3218
|
+
'/api/user/{userId}/userCredentialsEnabled{?userCredentialsEnabled}', 'POST',
|
|
3219
|
+
path_params,
|
|
3220
|
+
query_params,
|
|
3221
|
+
header_params,
|
|
3222
|
+
body=body_params,
|
|
3223
|
+
post_params=form_params,
|
|
3224
|
+
files=local_var_files,
|
|
3225
|
+
response_type=None, # noqa: E501
|
|
3226
|
+
auth_settings=auth_settings,
|
|
3227
|
+
async_req=params.get('async_req'),
|
|
3228
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3229
|
+
_preload_content=params.get('_preload_content', True),
|
|
3230
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3231
|
+
collection_formats=collection_formats)
|
|
3232
|
+
|
|
3233
|
+
def get_activation_link_info(self, user_id, **kwargs): # noqa: E501
|
|
3234
|
+
"""Get activation link info (getActivationLinkInfo) # noqa: E501
|
|
3235
|
+
|
|
3236
|
+
Get the activation link info for the user. The base url for activation link is configurable in the general settings of system administrator. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
3237
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3238
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3239
|
+
>>> thread = api.get_activation_link_info(user_id, async_req=True)
|
|
3240
|
+
>>> result = thread.get()
|
|
3241
|
+
|
|
3242
|
+
:param async_req bool
|
|
3243
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
3244
|
+
:return: UserActivationLink
|
|
3245
|
+
If the method is called asynchronously,
|
|
3246
|
+
returns the request thread.
|
|
3247
|
+
"""
|
|
3248
|
+
kwargs['_return_http_data_only'] = True
|
|
3249
|
+
if kwargs.get('async_req'):
|
|
3250
|
+
return self.get_activation_link_info_with_http_info(user_id, **kwargs) # noqa: E501
|
|
3251
|
+
else:
|
|
3252
|
+
(data) = self.get_activation_link_info_with_http_info(user_id, **kwargs) # noqa: E501
|
|
3253
|
+
return data
|
|
3254
|
+
|
|
3255
|
+
def get_activation_link_info_with_http_info(self, user_id, **kwargs): # noqa: E501
|
|
3256
|
+
"""Get activation link info (getActivationLinkInfo) # noqa: E501
|
|
3257
|
+
|
|
3258
|
+
Get the activation link info for the user. The base url for activation link is configurable in the general settings of system administrator. Security check is performed to verify that the user has 'READ' permission for the entity (entities). # noqa: E501
|
|
3259
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
3260
|
+
asynchronous HTTP request, please pass async_req=True
|
|
3261
|
+
>>> thread = api.get_activation_link_info_with_http_info(user_id, async_req=True)
|
|
3262
|
+
>>> result = thread.get()
|
|
3263
|
+
|
|
3264
|
+
:param async_req bool
|
|
3265
|
+
:param str user_id: A string value representing the user id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
3266
|
+
:return: UserActivationLink
|
|
3267
|
+
If the method is called asynchronously,
|
|
3268
|
+
returns the request thread.
|
|
3269
|
+
"""
|
|
3270
|
+
|
|
3271
|
+
all_params = ['user_id'] # noqa: E501
|
|
3272
|
+
all_params.append('async_req')
|
|
3273
|
+
all_params.append('_return_http_data_only')
|
|
3274
|
+
all_params.append('_preload_content')
|
|
3275
|
+
all_params.append('_request_timeout')
|
|
3276
|
+
|
|
3277
|
+
params = locals()
|
|
3278
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
3279
|
+
if key not in all_params:
|
|
3280
|
+
raise TypeError(
|
|
3281
|
+
"Got an unexpected keyword argument '%s'"
|
|
3282
|
+
" to method get_activation_link_info" % key
|
|
3283
|
+
)
|
|
3284
|
+
params[key] = val
|
|
3285
|
+
del params['kwargs']
|
|
3286
|
+
# verify the required parameter 'user_id' is set
|
|
3287
|
+
if ('user_id' not in params or
|
|
3288
|
+
params['user_id'] is None):
|
|
3289
|
+
raise ValueError(
|
|
3290
|
+
"Missing the required parameter `user_id` when calling `get_activation_link_info`") # noqa: E501
|
|
3291
|
+
|
|
3292
|
+
collection_formats = {}
|
|
3293
|
+
|
|
3294
|
+
path_params = {}
|
|
3295
|
+
if 'user_id' in params:
|
|
3296
|
+
path_params['userId'] = params['user_id'] # noqa: E501
|
|
3297
|
+
|
|
3298
|
+
query_params = []
|
|
3299
|
+
|
|
3300
|
+
header_params = {}
|
|
3301
|
+
|
|
3302
|
+
form_params = []
|
|
3303
|
+
local_var_files = {}
|
|
3304
|
+
|
|
3305
|
+
body_params = None
|
|
3306
|
+
# HTTP header `Accept`
|
|
3307
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
3308
|
+
['application/json']) # noqa: E501
|
|
3309
|
+
|
|
3310
|
+
# Authentication setting
|
|
3311
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
3312
|
+
|
|
3313
|
+
return self.api_client.call_api(
|
|
3314
|
+
'/api/user/{userId}/activationLinkInfo', 'GET',
|
|
3315
|
+
path_params,
|
|
3316
|
+
query_params,
|
|
3317
|
+
header_params,
|
|
3318
|
+
body=body_params,
|
|
3319
|
+
post_params=form_params,
|
|
3320
|
+
files=local_var_files,
|
|
3321
|
+
response_type='UserActivationLink', # noqa: E501
|
|
3322
|
+
auth_settings=auth_settings,
|
|
3323
|
+
async_req=params.get('async_req'),
|
|
3324
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
3325
|
+
_preload_content=params.get('_preload_content', True),
|
|
3326
|
+
_request_timeout=params.get('_request_timeout'),
|
|
3327
|
+
collection_formats=collection_formats)
|
|
3328
|
+
|