#
# 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 TimeSeriesProperties(APIObject):
    """
    Attributes
    ----------
    is_mostly_imputed:bool, none_type
         Whether more than half of the rows are imputed.
    """
    _converter = t.Dict(
        {
            t.Key("is_mostly_imputed"):  t.Bool(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        is_mostly_imputed,
    ):
        self.is_mostly_imputed = is_mostly_imputed

    def __repr__(self):
        return (
            "TimeSeriesProperties("
            "is_mostly_imputed={0.is_mostly_imputed}, "
        ).format(self)
