#
# Copyright 2021 DataRobot, Inc. and its affiliates.
#
# All rights reserved.
#
# DataRobot, Inc.
#
# This is proprietary source code of DataRobot, Inc. and its
# affiliates.
#
# Released under the terms of DataRobot Tool and Utility Agreement.
"""
Autogenerated DataRobot python client file.  Please don't modify.
"""

import trafaret as t
from datarobot.models.api_object import APIObject
from datarobot.models.full_api.generated.model.datetime_trend_plots_metadata_start_end_dates import DatetimeTrendPlotsMetadataStartEndDates

class DatetimeTrendPlotsBacktestMetadata(APIObject):
    """
    Attributes
    ----------
    training:DatetimeTrendPlotsMetadataStartEndDates
        
    validation:DatetimeTrendPlotsMetadataStartEndDates
        
    """
    _converter = t.Dict(
        {
            t.Key("training"):  t.Any(),
            t.Key("validation"):  t.Any(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        training,
        validation,
    ):
        self.training = training
        self.validation = validation

    def __repr__(self):
        return (
            "DatetimeTrendPlotsBacktestMetadata("
            "training={0.training}, "
            "validation={0.validation}, "
        ).format(self)
