#
# 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.testing_status import TestingStatus

class CustomModelTesting(APIObject):
    """
    Attributes
    ----------
    error_check:TestingStatus [optional]
         
    long_running_service:TestingStatus [optional]
         
    null_value_imputation:TestingStatus [optional]
         
    side_effects:TestingStatus [optional]
         
    """
    _converter = t.Dict(
        {
            t.Key("error_check", optional=True):  t.Any(),
            t.Key("long_running_service", optional=True):  t.Any(),
            t.Key("null_value_imputation", optional=True):  t.Any(),
            t.Key("side_effects", optional=True):  t.Any(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        error_check=None,
        long_running_service=None,
        null_value_imputation=None,
        side_effects=None,
    ):
        self.error_check = error_check
        self.long_running_service = long_running_service
        self.null_value_imputation = null_value_imputation
        self.side_effects = side_effects

    def __repr__(self):
        return (
            "CustomModelTesting("
            "error_check={0.error_check}, "
            "long_running_service={0.long_running_service}, "
            "null_value_imputation={0.null_value_imputation}, "
            "side_effects={0.side_effects}, "
        ).format(self)
