#
# 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 DeploymentDefaultPredictionServerResponse(APIObject):
    """
    Attributes
    ----------
    datarobot_key:str
         The `datarobot-key` header used in requests to this prediction server.
    id:str, none_type
         ID of the prediction server for the deployment.
    url:str
         URL of the prediction server.
    """
    _converter = t.Dict(
        {
            t.Key("datarobot_key"):  t.String(),
            t.Key("id"):  t.String(),
            t.Key("url"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        datarobot_key,
        id,
        url,
    ):
        self.datarobot_key = datarobot_key
        self.id = id
        self.url = url

    def __repr__(self):
        return (
            "DeploymentDefaultPredictionServerResponse("
            "datarobot_key={0.datarobot_key}, "
            "id={0.id}, "
            "url={0.url}, "
        ).format(self)
