#
# 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 DeploymentSettingsInfo(APIObject):
    """
    Attributes
    ----------
    humble_ai_enabled:bool [optional]
         if humble ai is enabled.. 
    prediction_intervals_enabled:bool [optional]
         If  prediction intervals are enabled.. 
    prediction_warning_enabled:bool [optional]
         If prediction warning is enabled.. 
    """
    _converter = t.Dict(
        {
            t.Key("humble_ai_enabled", optional=True):  t.Bool(),
            t.Key("prediction_intervals_enabled", optional=True):  t.Bool(),
            t.Key("prediction_warning_enabled", optional=True):  t.Bool(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        humble_ai_enabled=None,
        prediction_intervals_enabled=None,
        prediction_warning_enabled=None,
    ):
        self.humble_ai_enabled = humble_ai_enabled
        self.prediction_intervals_enabled = prediction_intervals_enabled
        self.prediction_warning_enabled = prediction_warning_enabled

    def __repr__(self):
        return (
            "DeploymentSettingsInfo("
            "humble_ai_enabled={0.humble_ai_enabled}, "
            "prediction_intervals_enabled={0.prediction_intervals_enabled}, "
            "prediction_warning_enabled={0.prediction_warning_enabled}, "
        ).format(self)
