# 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 TenantContract(Model):
    """Tenant info.

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

    :ivar name: The tenant name
    :vartype name: str
    :param image_url: The image URL
    :type image_url: str
    :param network:
    :type network: ~provider.models.NetworkContract
    :ivar tenant_id: The tenant identifier
    :vartype tenant_id: str
    :param extended_information:
    :type extended_information:
     ~provider.models.TenantExtendedInformationContract
    """

    _validation = {
        'name': {'readonly': True},
        'tenant_id': {'readonly': True},
    }

    _attribute_map = {
        'name': {'key': 'name', 'type': 'str'},
        'image_url': {'key': 'imageUrl', 'type': 'str'},
        'network': {'key': 'network', 'type': 'NetworkContract'},
        'tenant_id': {'key': 'tenantId', 'type': 'str'},
        'extended_information': {'key': 'extendedInformation', 'type': 'TenantExtendedInformationContract'},
    }

    def __init__(self, *, image_url: str=None, network=None, extended_information=None, **kwargs) -> None:
        super(TenantContract, self).__init__(**kwargs)
        self.name = None
        self.image_url = image_url
        self.network = network
        self.tenant_id = None
        self.extended_information = extended_information
