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

    :param start_date:
    :type start_date: datetime
    :param end_date:
    :type end_date: datetime
    :param start_x:
    :type start_x: datetime
    :param end_x:
    :type end_x: datetime
    """

    _attribute_map = {
        'start_date': {'key': 'StartDate', 'type': 'iso-8601'},
        'end_date': {'key': 'EndDate', 'type': 'iso-8601'},
        'start_x': {'key': 'StartX', 'type': 'iso-8601'},
        'end_x': {'key': 'EndX', 'type': 'iso-8601'},
    }

    def __init__(self, **kwargs):
        super(SessionTimeRangeChild, self).__init__(**kwargs)
        self.start_date = kwargs.get('start_date', None)
        self.end_date = kwargs.get('end_date', None)
        self.start_x = kwargs.get('start_x', None)
        self.end_x = kwargs.get('end_x', None)
