#
# 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 ProjectRecommenderResponse(APIObject):
    """
    Attributes
    ----------
    is_recommender:bool, none_type
         Whether the project is a recommender or not.
    recommender_item_id:str, none_type
         The recommender item ID.
    recommender_user_id:str, none_type
         The recommender user ID.
    """
    _converter = t.Dict(
        {
            t.Key("is_recommender"):  t.Bool(),
            t.Key("recommender_item_id"):  t.String(),
            t.Key("recommender_user_id"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        is_recommender,
        recommender_item_id,
        recommender_user_id,
    ):
        self.is_recommender = is_recommender
        self.recommender_item_id = recommender_item_id
        self.recommender_user_id = recommender_user_id

    def __repr__(self):
        return (
            "ProjectRecommenderResponse("
            "is_recommender={0.is_recommender}, "
            "recommender_item_id={0.recommender_item_id}, "
            "recommender_user_id={0.recommender_user_id}, "
        ).format(self)
