# 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 ImageFileCreateEntry(Model):
"""ImageFileCreateEntry.
:param name:
:type name: str
:param contents:
:type contents: bytearray
:param tag_ids:
:type tag_ids: list[str]
:param regions:
:type regions:
list[~azure.cognitiveservices.vision.customvision.training.models.Region]
"""
_attribute_map = {
'name': {'key': 'name', 'type': 'str'},
'contents': {'key': 'contents', 'type': 'bytearray'},
'tag_ids': {'key': 'tagIds', 'type': '[str]'},
'regions': {'key': 'regions', 'type': '[Region]'},
}
def __init__(self, *, name: str=None, contents: bytearray=None, tag_ids=None, regions=None, **kwargs) -> None:
super(ImageFileCreateEntry, self).__init__(**kwargs)
self.name = name
self.contents = contents
self.tag_ids = tag_ids
self.regions = regions