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

    :param last_sent: The date that the report mailer was last processesd
    :type last_sent: datetime
    :param next_sent: The next time the report mailer will be processed
    :type next_sent: datetime
    :param recipients: The list of email recipients for the reports
    :type recipients: list[str]
    :param reports_sent: A list of reports successfully sent for this report
     mailer
    :type reports_sent: list[str]
    :param reports_not_sent: A list of reports which failed to execute and
     send for this report mailer
    :type reports_not_sent: list[str]
    :param report_batch: The report batch associated with this report mailer
    :type report_batch: ~energycap.sdk.models.ReportBatchChild
    """

    _attribute_map = {
        'last_sent': {'key': 'lastSent', 'type': 'iso-8601'},
        'next_sent': {'key': 'nextSent', 'type': 'iso-8601'},
        'recipients': {'key': 'recipients', 'type': '[str]'},
        'reports_sent': {'key': 'reportsSent', 'type': '[str]'},
        'reports_not_sent': {'key': 'reportsNotSent', 'type': '[str]'},
        'report_batch': {'key': 'reportBatch', 'type': 'ReportBatchChild'},
    }

    def __init__(self, last_sent=None, next_sent=None, recipients=None, reports_sent=None, reports_not_sent=None, report_batch=None):
        super(ReportMailerChild, self).__init__()
        self.last_sent = last_sent
        self.next_sent = next_sent
        self.recipients = recipients
        self.reports_sent = reports_sent
        self.reports_not_sent = reports_not_sent
        self.report_batch = report_batch
