#
# 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 ModelPacakgeScoringCodeMeta(APIObject):
    """
    Attributes
    ----------
    data_robot_prediction_version:str, none_type
         DataRobot prediction API version for the scoring code
    location:str, none_type
         Location of the scoring code
    """
    _converter = t.Dict(
        {
            t.Key("data_robot_prediction_version"):  t.String(),
            t.Key("location"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        data_robot_prediction_version,
        location,
    ):
        self.data_robot_prediction_version = data_robot_prediction_version
        self.location = location

    def __repr__(self):
        return (
            "ModelPacakgeScoringCodeMeta("
            "data_robot_prediction_version={0.data_robot_prediction_version}, "
            "location={0.location}, "
        ).format(self)
