# 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 DigitalTwinInterfaces(Model):
    """DigitalTwinInterfaces.

    :param interfaces: Interface(s) data on the digital twin.
    :type interfaces: dict[str, ~protocol.models.Interface]
    :param version: Version of digital twin.
    :type version: long
    """

    _attribute_map = {
        "interfaces": {"key": "interfaces", "type": "{Interface}"},
        "version": {"key": "version", "type": "long"},
    }

    def __init__(self, **kwargs):
        super(DigitalTwinInterfaces, self).__init__(**kwargs)
        self.interfaces = kwargs.get("interfaces", None)
        self.version = kwargs.get("version", None)
