# coding=utf-8
# --------------------------------------------------------------------------
# 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


class Owner(Model):
    """Owner.

    :param owner_type: Possible values include: 'Undefined', 'User', 'Company'
    :type owner_type: str or ~designer.models.OwnerType
    :param id:
    :type id: str
    :param name:
    :type name: str
    :param avatar_url:
    :type avatar_url: str
    """

    _attribute_map = {
        'owner_type': {'key': 'owner_type', 'type': 'str'},
        'id': {'key': 'id', 'type': 'str'},
        'name': {'key': 'name', 'type': 'str'},
        'avatar_url': {'key': 'avatar_url', 'type': 'str'},
    }

    def __init__(self, *, owner_type=None, id: str=None, name: str=None, avatar_url: str=None, **kwargs) -> None:
        super(Owner, self).__init__(**kwargs)
        self.owner_type = owner_type
        self.id = id
        self.name = name
        self.avatar_url = avatar_url
