#
# 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.cross_series_group_by_columns_list_item import CrossSeriesGroupByColumnsListItem

class CrossSeriesGroupByColumnRetrieveResponse(APIObject):
    """
    Attributes
    ----------
    cross_series_group_by_columns:[CrossSeriesGroupByColumnsListItem]
         A list of columns with information about each column's eligibility as a cross-series group-by column.
    multiseries_id:str
         The name of the multiseries ID column.
    """
    _converter = t.Dict(
        {
            t.Key("cross_series_group_by_columns"):  t.List(t.Dict().allow_extra("*")),
            t.Key("multiseries_id"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        cross_series_group_by_columns,
        multiseries_id,
    ):
        self.cross_series_group_by_columns = cross_series_group_by_columns
        self.multiseries_id = multiseries_id

    def __repr__(self):
        return (
            "CrossSeriesGroupByColumnRetrieveResponse("
            "cross_series_group_by_columns={0.cross_series_group_by_columns}, "
            "multiseries_id={0.multiseries_id}, "
        ).format(self)
