diff --git a/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag.py b/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag.py index 93f349e9d4c0..8e981d8e6121 100644 --- a/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag.py +++ b/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag.py @@ -19,14 +19,18 @@ class ImageTag(Model): :type name: str :param confidence: The level of confidence the service has in the caption :type confidence: float + :param hint: Optional categorization for the tag + :type hint: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'confidence': {'key': 'confidence', 'type': 'float'}, + 'hint': {'key': 'hint', 'type': 'str'}, } def __init__(self, **kwargs): super(ImageTag, self).__init__(**kwargs) self.name = kwargs.get('name', None) self.confidence = kwargs.get('confidence', None) + self.hint = kwargs.get('hint', None) diff --git a/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag_py3.py b/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag_py3.py index ed598af42843..62ba57b775b2 100644 --- a/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag_py3.py +++ b/azure-cognitiveservices-vision-computervision/azure/cognitiveservices/vision/computervision/models/image_tag_py3.py @@ -19,14 +19,18 @@ class ImageTag(Model): :type name: str :param confidence: The level of confidence the service has in the caption :type confidence: float + :param hint: Optional categorization for the tag + :type hint: str """ _attribute_map = { 'name': {'key': 'name', 'type': 'str'}, 'confidence': {'key': 'confidence', 'type': 'float'}, + 'hint': {'key': 'hint', 'type': 'str'}, } - def __init__(self, *, name: str=None, confidence: float=None, **kwargs) -> None: + def __init__(self, *, name: str=None, confidence: float=None, hint: str=None, **kwargs) -> None: super(ImageTag, self).__init__(**kwargs) self.name = name self.confidence = confidence + self.hint = hint