#
# 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 BatchPredictionCreatedBy(APIObject):
    """
    Attributes
    ----------
    full_name:str, none_type
         The full name of the user who created this job (if defined by the user)
    user_id:str
         The User ID of the user who created this job
    username:str
         The username (e-mail address) of the user who created this job
    """
    _converter = t.Dict(
        {
            t.Key("full_name"):  t.String(),
            t.Key("user_id"):  t.String(),
            t.Key("username"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        full_name,
        user_id,
        username,
    ):
        self.full_name = full_name
        self.user_id = user_id
        self.username = username

    def __repr__(self):
        return (
            "BatchPredictionCreatedBy("
            "full_name={0.full_name}, "
            "user_id={0.user_id}, "
            "username={0.username}, "
        ).format(self)
