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

    :param shared_by:
    :type shared_by: ~users.models.MicrosoftgraphinsightIdentity
    :param shared_date_time:
    :type shared_date_time: datetime
    :param sharing_subject:
    :type sharing_subject: str
    :param sharing_type:
    :type sharing_type: str
    :param sharing_reference:
    :type sharing_reference: ~users.models.MicrosoftgraphresourceReference
    """

    _attribute_map = {
        'shared_by': {'key': 'sharedBy', 'type': 'MicrosoftgraphinsightIdentity'},
        'shared_date_time': {'key': 'sharedDateTime', 'type': 'iso-8601'},
        'sharing_subject': {'key': 'sharingSubject', 'type': 'str'},
        'sharing_type': {'key': 'sharingType', 'type': 'str'},
        'sharing_reference': {'key': 'sharingReference', 'type': 'MicrosoftgraphresourceReference'},
    }

    def __init__(self, shared_by=None, shared_date_time=None, sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference

3ab81b3c24ad63f6f88006522f5c1e7544aabd91
<mask token>


class MicrosoftgraphsharingDetail(Model):
    <mask token>
    <mask token>

    def __init__(self, shared_by=None, shared_date_time=None,
        sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference

<mask token>


class MicrosoftgraphsharingDetail(Model):
    <mask token>
    _attribute_map = {'shared_by': {'key': 'sharedBy', 'type':
        'MicrosoftgraphinsightIdentity'}, 'shared_date_time': {'key':
        'sharedDateTime', 'type': 'iso-8601'}, 'sharing_subject': {'key':
        'sharingSubject', 'type': 'str'}, 'sharing_type': {'key':
        'sharingType', 'type': 'str'}, 'sharing_reference': {'key':
        'sharingReference', 'type': 'MicrosoftgraphresourceReference'}}

    def __init__(self, shared_by=None, shared_date_time=None,
        sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference

<mask token>


class MicrosoftgraphsharingDetail(Model):
    """sharingDetail.

    :param shared_by:
    :type shared_by: ~users.models.MicrosoftgraphinsightIdentity
    :param shared_date_time:
    :type shared_date_time: datetime
    :param sharing_subject:
    :type sharing_subject: str
    :param sharing_type:
    :type sharing_type: str
    :param sharing_reference:
    :type sharing_reference: ~users.models.MicrosoftgraphresourceReference
    """
    _attribute_map = {'shared_by': {'key': 'sharedBy', 'type':
        'MicrosoftgraphinsightIdentity'}, 'shared_date_time': {'key':
        'sharedDateTime', 'type': 'iso-8601'}, 'sharing_subject': {'key':
        'sharingSubject', 'type': 'str'}, 'sharing_type': {'key':
        'sharingType', 'type': 'str'}, 'sharing_reference': {'key':
        'sharingReference', 'type': 'MicrosoftgraphresourceReference'}}

    def __init__(self, shared_by=None, shared_date_time=None,
        sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference

from msrest.serialization import Model


class MicrosoftgraphsharingDetail(Model):
    """sharingDetail.

    :param shared_by:
    :type shared_by: ~users.models.MicrosoftgraphinsightIdentity
    :param shared_date_time:
    :type shared_date_time: datetime
    :param sharing_subject:
    :type sharing_subject: str
    :param sharing_type:
    :type sharing_type: str
    :param sharing_reference:
    :type sharing_reference: ~users.models.MicrosoftgraphresourceReference
    """
    _attribute_map = {'shared_by': {'key': 'sharedBy', 'type':
        'MicrosoftgraphinsightIdentity'}, 'shared_date_time': {'key':
        'sharedDateTime', 'type': 'iso-8601'}, 'sharing_subject': {'key':
        'sharingSubject', 'type': 'str'}, 'sharing_type': {'key':
        'sharingType', 'type': 'str'}, 'sharing_reference': {'key':
        'sharingReference', 'type': 'MicrosoftgraphresourceReference'}}

    def __init__(self, shared_by=None, shared_date_time=None,
        sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference

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

    :param shared_by:
    :type shared_by: ~users.models.MicrosoftgraphinsightIdentity
    :param shared_date_time:
    :type shared_date_time: datetime
    :param sharing_subject:
    :type sharing_subject: str
    :param sharing_type:
    :type sharing_type: str
    :param sharing_reference:
    :type sharing_reference: ~users.models.MicrosoftgraphresourceReference
    """

    _attribute_map = {
        'shared_by': {'key': 'sharedBy', 'type': 'MicrosoftgraphinsightIdentity'},
        'shared_date_time': {'key': 'sharedDateTime', 'type': 'iso-8601'},
        'sharing_subject': {'key': 'sharingSubject', 'type': 'str'},
        'sharing_type': {'key': 'sharingType', 'type': 'str'},
        'sharing_reference': {'key': 'sharingReference', 'type': 'MicrosoftgraphresourceReference'},
    }

    def __init__(self, shared_by=None, shared_date_time=None, sharing_subject=None, sharing_type=None, sharing_reference=None):
        super(MicrosoftgraphsharingDetail, self).__init__()
        self.shared_by = shared_by
        self.shared_date_time = shared_date_time
        self.sharing_subject = sharing_subject
        self.sharing_type = sharing_type
        self.sharing_reference = sharing_reference
