Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Action(CreativeWork):
"""Action.
"""Defines an action.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: ImageAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .creative_work import CreativeWork
from .creative_work_py3 import CreativeWork


class Action(CreativeWork):
"""Action.
"""Defines an action.

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: ImageAction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .offer import Offer
from .offer_py3 import Offer


class AggregateOffer(Offer):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .rating import Rating
from .rating_py3 import Rating


class AggregateRating(Rating):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class CreativeWork(Thing):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .response import Response
from .response_py3 import Response
from msrest.exceptions import HttpOperationError


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .response_base import ResponseBase
from .response_base_py3 import ResponseBase


class Identifiable(ResponseBase):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


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

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: ImageEntityAction, ImageModuleAction, ImageRecipesAction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .action import Action
from .action_py3 import Action


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

You probably want to use the sub-classes and not this class directly. Known
sub-classes are: ImageEntityAction, ImageModuleAction, ImageRecipesAction,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageEntityAction(ImageAction):
"""ImageEntityAction.
"""Defines an entity action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -67,8 +67,6 @@ class ImageEntityAction(ImageAction):
:vartype service_url: str
:ivar action_type: A string representing the type of action.
:vartype action_type: str
:ivar data: Information about the entity.
:vartype data: ~azure.cognitiveservices.search.visualsearch.models.Thing
"""

_validation = {
Expand All @@ -91,7 +89,6 @@ class ImageEntityAction(ImageAction):
'is_top_action': {'readonly': True},
'service_url': {'readonly': True},
'action_type': {'readonly': True},
'data': {'readonly': True},
}

_attribute_map = {
Expand All @@ -114,10 +111,8 @@ class ImageEntityAction(ImageAction):
'is_top_action': {'key': 'isTopAction', 'type': 'bool'},
'service_url': {'key': 'serviceUrl', 'type': 'str'},
'action_type': {'key': 'actionType', 'type': 'str'},
'data': {'key': 'data', 'type': 'Thing'},
}

def __init__(self, **kwargs):
super(ImageEntityAction, self).__init__(**kwargs)
self.data = None
self._type = 'ImageEntityAction'
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .image_action import ImageAction
from .image_action_py3 import ImageAction


class ImageEntityAction(ImageAction):
"""ImageEntityAction.
"""Defines an entity action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down Expand Up @@ -67,8 +67,6 @@ class ImageEntityAction(ImageAction):
:vartype service_url: str
:ivar action_type: A string representing the type of action.
:vartype action_type: str
:ivar data: Information about the entity.
:vartype data: ~azure.cognitiveservices.search.visualsearch.models.Thing
"""

_validation = {
Expand All @@ -91,7 +89,6 @@ class ImageEntityAction(ImageAction):
'is_top_action': {'readonly': True},
'service_url': {'readonly': True},
'action_type': {'readonly': True},
'data': {'readonly': True},
}

_attribute_map = {
Expand All @@ -114,10 +111,8 @@ class ImageEntityAction(ImageAction):
'is_top_action': {'key': 'isTopAction', 'type': 'bool'},
'service_url': {'key': 'serviceUrl', 'type': 'str'},
'action_type': {'key': 'actionType', 'type': 'str'},
'data': {'key': 'data', 'type': 'Thing'},
}

def __init__(self, **kwargs) -> None:
super(ImageEntityAction, self).__init__(**kwargs)
self.data = None
self._type = 'ImageEntityAction'
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageKnowledge(Response):
"""ImageKnowledge.
"""Defines a visual search API response.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .response import Response
from .response_py3 import Response


class ImageKnowledge(Response):
"""ImageKnowledge.
"""Defines a visual search API response.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageModuleAction(ImageAction):
"""ImageModuleAction.
"""Defines an image list action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .image_action import ImageAction
from .image_action_py3 import ImageAction


class ImageModuleAction(ImageAction):
"""ImageModuleAction.
"""Defines an image list action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .media_object import MediaObject
from .media_object_py3 import MediaObject


class ImageObject(MediaObject):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageRecipesAction(ImageAction):
"""ImageRecipesAction.
"""Defines an recipe action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .image_action import ImageAction
from .image_action_py3 import ImageAction


class ImageRecipesAction(ImageAction):
"""ImageRecipesAction.
"""Defines an recipe action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageRelatedSearchesAction(ImageAction):
"""ImageRelatedSearchesAction.
"""Defines an related search action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .image_action import ImageAction
from .image_action_py3 import ImageAction


class ImageRelatedSearchesAction(ImageAction):
"""ImageRelatedSearchesAction.
"""Defines an related search action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageShoppingSourcesAction(ImageAction):
"""ImageShoppingSourcesAction.
"""Defines a shopping sources action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .image_action import ImageAction
from .image_action_py3 import ImageAction


class ImageShoppingSourcesAction(ImageAction):
"""ImageShoppingSourcesAction.
"""Defines a shopping sources action.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageTag(Thing):
"""ImageTag.
"""A visual search tag.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class ImageTag(Thing):
"""ImageTag.
"""A visual search tag.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageTagRegion(Model):
"""ImageTagRegion.
"""Defines an image region relevant to the ImageTag.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class ImageTagRegion(Model):
"""ImageTagRegion.
"""Defines an image region relevant to the ImageTag.

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class Intangible(Thing):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .creative_work import CreativeWork
from .creative_work_py3 import CreativeWork


class MediaObject(CreativeWork):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .structured_value import StructuredValue
from .structured_value_py3 import StructuredValue


class NormalizedQuadrilateral(StructuredValue):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class Offer(Thing):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class Organization(Thing):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .thing import Thing
from .thing_py3 import Thing


class Person(Thing):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@


class Point2D(StructuredValue):
"""Point2D.
"""Defines a 2D point with X and Y coordinates.

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