#
# 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 PrimeModelCreatePayload(APIObject):
    """
    Attributes
    ----------
    parent_model_id:str
         the model being approximated
    ruleset_id:int
         the ID of the ruleset to use
    """
    _converter = t.Dict(
        {
            t.Key("parent_model_id"):  t.String(),
            t.Key("ruleset_id"):  t.Int(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        parent_model_id,
        ruleset_id,
    ):
        self.parent_model_id = parent_model_id
        self.ruleset_id = ruleset_id

    def __repr__(self):
        return (
            "PrimeModelCreatePayload("
            "parent_model_id={0.parent_model_id}, "
            "ruleset_id={0.ruleset_id}, "
        ).format(self)
