How to use the azure-cognitiveservices-search-visualsearch.azure.cognitiveservices.search.visualsearch.models.action_py3.Action function in azure-cognitiveservices-search-visualsearch

To help you get started, we’ve selected a few azure-cognitiveservices-search-visualsearch examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Azure / azure-sdk-for-python / azure-cognitiveservices-search-visualsearch / azure / cognitiveservices / search / visualsearch / models / image_action_py3.py View on Github external
# 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 .action_py3 import Action


class ImageAction(Action):
    """Defines an image action.

    You probably want to use the sub-classes and not this class directly. Known
    sub-classes are: ImageEntityAction, ImageModuleAction, ImageRecipesAction,
    ImageRelatedSearchesAction, ImageShoppingSourcesAction

    Variables are only populated by the server, and will be ignored when
    sending a request.

    All required parameters must be populated in order to send to Azure.

    :param _type: Required. Constant filled by server.
    :type _type: str
    :ivar id: A String identifier.
    :vartype id: str
    :ivar read_link: The URL that returns this resource. To use the URL,
github Azure / azure-sdk-for-python / azure-cognitiveservices-search-visualsearch / azure / cognitiveservices / search / visualsearch / models / action_py3.py View on Github external
def __init__(self, **kwargs) -> None:
        super(Action, self).__init__(**kwargs)
        self.result = None
        self.display_name = None
        self.is_top_action = None
        self.service_url = None
        self._type = 'Action'

azure-cognitiveservices-search-visualsearch

Microsoft Azure Cognitive Services Visual Search Client Library for Python

MIT
Latest version published 6 years ago

Package Health Score

63 / 100
Full package analysis

Popular azure-cognitiveservices-search-visualsearch functions

Similar packages