#
# 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
from datarobot.models.full_api.generated.model.use_case_value_template_schema import UseCaseValueTemplateSchema

class UseCaseValueTemplateParameterWithSchema(APIObject):
    """
    Attributes
    ----------
    parameter_name:str
         Name of the parameter
    schema:UseCaseValueTemplateSchema
        
    """
    _converter = t.Dict(
        {
            t.Key("parameter_name"):  t.String(),
            t.Key("schema"):  t.Any(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        parameter_name,
        schema,
    ):
        self.parameter_name = parameter_name
        self.schema = schema

    def __repr__(self):
        return (
            "UseCaseValueTemplateParameterWithSchema("
            "parameter_name={0.parameter_name}, "
            "schema={0.schema}, "
        ).format(self)
