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

    :param id:
    :type id: str
    :param resource:
    :type resource: str
    :param change_type:
    :type change_type: str
    :param client_state:
    :type client_state: str
    :param notification_url:
    :type notification_url: str
    :param expiration_date_time:
    :type expiration_date_time: datetime
    :param application_id:
    :type application_id: str
    :param creator_id:
    :type creator_id: str
    :param include_properties:
    :type include_properties: bool
    :param include_resource_data:
    :type include_resource_data: bool
    :param lifecycle_notification_url:
    :type lifecycle_notification_url: str
    :param encryption_certificate:
    :type encryption_certificate: str
    :param encryption_certificate_id:
    :type encryption_certificate_id: str
    """

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'resource': {'key': 'resource', 'type': 'str'},
        'change_type': {'key': 'changeType', 'type': 'str'},
        'client_state': {'key': 'clientState', 'type': 'str'},
        'notification_url': {'key': 'notificationUrl', 'type': 'str'},
        'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'},
        'application_id': {'key': 'applicationId', 'type': 'str'},
        'creator_id': {'key': 'creatorId', 'type': 'str'},
        'include_properties': {'key': 'includeProperties', 'type': 'bool'},
        'include_resource_data': {'key': 'includeResourceData', 'type': 'bool'},
        'lifecycle_notification_url': {'key': 'lifecycleNotificationUrl', 'type': 'str'},
        'encryption_certificate': {'key': 'encryptionCertificate', 'type': 'str'},
        'encryption_certificate_id': {'key': 'encryptionCertificateId', 'type': 'str'},
    }

    def __init__(self, id=None, resource=None, change_type=None, client_state=None, notification_url=None, expiration_date_time=None, application_id=None, creator_id=None, include_properties=None, include_resource_data=None, lifecycle_notification_url=None, encryption_certificate=None, encryption_certificate_id=None):
        super(Microsoftgraphsubscription, self).__init__()
        self.id = id
        self.resource = resource
        self.change_type = change_type
        self.client_state = client_state
        self.notification_url = notification_url
        self.expiration_date_time = expiration_date_time
        self.application_id = application_id
        self.creator_id = creator_id
        self.include_properties = include_properties
        self.include_resource_data = include_resource_data
        self.lifecycle_notification_url = lifecycle_notification_url
        self.encryption_certificate = encryption_certificate
        self.encryption_certificate_id = encryption_certificate_id

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

    :param id:
    :type id: str
    :param resource:
    :type resource: str
    :param change_type:
    :type change_type: str
    :param client_state:
    :type client_state: str
    :param notification_url:
    :type notification_url: str
    :param expiration_date_time:
    :type expiration_date_time: datetime
    :param application_id:
    :type application_id: str
    :param creator_id:
    :type creator_id: str
    :param include_properties:
    :type include_properties: bool
    :param include_resource_data:
    :type include_resource_data: bool
    :param lifecycle_notification_url:
    :type lifecycle_notification_url: str
    :param encryption_certificate:
    :type encryption_certificate: str
    :param encryption_certificate_id:
    :type encryption_certificate_id: str
    """

    _attribute_map = {
        'id': {'key': 'id', 'type': 'str'},
        'resource': {'key': 'resource', 'type': 'str'},
        'change_type': {'key': 'changeType', 'type': 'str'},
        'client_state': {'key': 'clientState', 'type': 'str'},
        'notification_url': {'key': 'notificationUrl', 'type': 'str'},
        'expiration_date_time': {'key': 'expirationDateTime', 'type': 'iso-8601'},
        'application_id': {'key': 'applicationId', 'type': 'str'},
        'creator_id': {'key': 'creatorId', 'type': 'str'},
        'include_properties': {'key': 'includeProperties', 'type': 'bool'},
        'include_resource_data': {'key': 'includeResourceData', 'type': 'bool'},
        'lifecycle_notification_url': {'key': 'lifecycleNotificationUrl', 'type': 'str'},
        'encryption_certificate': {'key': 'encryptionCertificate', 'type': 'str'},
        'encryption_certificate_id': {'key': 'encryptionCertificateId', 'type': 'str'},
    }

    def __init__(self, id=None, resource=None, change_type=None, client_state=None, notification_url=None, expiration_date_time=None, application_id=None, creator_id=None, include_properties=None, include_resource_data=None, lifecycle_notification_url=None, encryption_certificate=None, encryption_certificate_id=None):
        super(Microsoftgraphsubscription, self).__init__()
        self.id = id
        self.resource = resource
        self.change_type = change_type
        self.client_state = client_state
        self.notification_url = notification_url
        self.expiration_date_time = expiration_date_time
        self.application_id = application_id
        self.creator_id = creator_id
        self.include_properties = include_properties
        self.include_resource_data = include_resource_data
        self.lifecycle_notification_url = lifecycle_notification_url
        self.encryption_certificate = encryption_certificate
        self.encryption_certificate_id = encryption_certificate_id

# 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. # -------------------------------------------------------------------------- Microsoftgraphsubscription.      :param id:     :type id: str     :param resource:     :type resource: str     :param change_type:     :type change_type: str     :param client_state:     :type client_state: str     :param notification_url:     :type notification_url: str     :param expiration_date_time:     :type expiration_date_time: datetime     :param application_id:     :type application_id: str     :param creator_id:     :type creator_id: str     :param include_properties:     :type include_properties: bool     :param include_resource_data:     :type include_resource_data: bool     :param lifecycle_notification_url:     :type lifecycle_notification_url: str     :param encryption_certificate:     :type encryption_certificate: str     :param encryption_certificate_id:     :type encryption_certificate_id: str