Source code for azure.cognitiveservices.search.visualsearch.models.related_searches_module_py3

# 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 msrest.serialization import Model


[docs]class RelatedSearchesModule(Model): """Defines a list of related searches. Variables are only populated by the server, and will be ignored when sending a request. :ivar value: A list of related searches. :vartype value: list[~azure.cognitiveservices.search.visualsearch.models.Query] """ _validation = { 'value': {'readonly': True}, } _attribute_map = { 'value': {'key': 'value', 'type': '[Query]'}, } def __init__(self, **kwargs) -> None: super(RelatedSearchesModule, self).__init__(**kwargs) self.value = None