#
# 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 ImortedModelUpdatePayload(APIObject):
    """
    Attributes
    ----------
    display_name:str [optional]
         Human-readable name to use for the imported model. 
    note:str, none_type [optional]
         A text note to describe a model. 
    """
    _converter = t.Dict(
        {
            t.Key("display_name", optional=True):  t.String(),
            t.Key("note", optional=True):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        display_name=None,
        note=None,
    ):
        self.display_name = display_name
        self.note = note

    def __repr__(self):
        return (
            "ImortedModelUpdatePayload("
            "display_name={0.display_name}, "
            "note={0.note}, "
        ).format(self)
