Source code for azure.cognitiveservices.vision.customvision.training.models.image_tag_create_entry_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 ImageTagCreateEntry(Model): """Entry associating a tag to an image. :param image_id: Id of the image. :type image_id: str :param tag_id: Id of the tag. :type tag_id: str """ _attribute_map = { 'image_id': {'key': 'imageId', 'type': 'str'}, 'tag_id': {'key': 'tagId', 'type': 'str'}, } def __init__(self, *, image_id: str=None, tag_id: str=None, **kwargs) -> None: super(ImageTagCreateEntry, self).__init__(**kwargs) self.image_id = image_id self.tag_id = tag_id