Source code for azure.cognitiveservices.search.autosuggest.models._auto_suggest_client_enums

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from enum import Enum


[docs]class ScenarioType(str, Enum): unknown = "Unknown" web = "Web" store_apps = "StoreApps" search_history = "SearchHistory" personal_search_documents = "PersonalSearchDocuments" personal_search_tags = "PersonalSearchTags" custom = "Custom"
[docs]class SearchKind(str, Enum): web_search = "WebSearch" history_search = "HistorySearch" document_search = "DocumentSearch" tag_search = "TagSearch" location_search = "LocationSearch" custom_search = "CustomSearch"
[docs]class ErrorCode(str, Enum): none = "None" server_error = "ServerError" invalid_request = "InvalidRequest" rate_limit_exceeded = "RateLimitExceeded" invalid_authorization = "InvalidAuthorization" insufficient_authorization = "InsufficientAuthorization"
[docs]class SafeSearch(str, Enum): off = "Off" moderate = "Moderate" strict = "Strict"
[docs]class ResponseFormat(str, Enum): json = "Json" json_ld = "JsonLd"