#
# 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 CustomTaskUpdate(APIObject):
    """
    Attributes
    ----------
    description:str [optional]
         The user-friendly description of the task.. 
    language:str [optional]
         Programming language name in which task is written.. 
    name:str [optional]
         The user-friendly name for the task.. 
    """
    _converter = t.Dict(
        {
            t.Key("description", optional=True):  t.String(),
            t.Key("language", optional=True):  t.String(),
            t.Key("name", optional=True):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        description=None,
        language=None,
        name=None,
    ):
        self.description = description
        self.language = language
        self.name = name

    def __repr__(self):
        return (
            "CustomTaskUpdate("
            "description={0.description}, "
            "language={0.language}, "
            "name={0.name}, "
        ).format(self)
