#
# 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

class SeriesAccuracyCompute(APIObject):
    """
    Attributes
    ----------
    compute_all_series:bool [optional]
         Indicates whether to calculate accuracy for all series or only first 1000 (sorted by name)..  if omitted the server will use the default value of False
    """
    _converter = t.Dict(
        {
            t.Key("compute_all_series", optional=True):  t.Bool(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        compute_all_series=None,
    ):
        self.compute_all_series = compute_all_series

    def __repr__(self):
        return (
            "SeriesAccuracyCompute("
            "compute_all_series={0.compute_all_series}, "
        ).format(self)
