#
# 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 ModelRetrainResponse(APIObject):
    """
    Attributes
    ----------
    message:str
         any extended message to include about the result. For example, if a job is submitted that is a duplicate of a job that has already been added to the queue, the message will mention that no new job was created.
    """
    _converter = t.Dict(
        {
            t.Key("message"):  t.String(),
        }
    ).ignore_extra("*")

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

    def __repr__(self):
        return (
            "ModelRetrainResponse("
            "message={0.message}, "
        ).format(self)
