#
# 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 BatchPredictionJobRemapping(APIObject):
    """
    Attributes
    ----------
    input_name:str
         Rename column with this name
    output_name:str, none_type
         Rename column to this name (leave as null to remove from the output)
    """
    _converter = t.Dict(
        {
            t.Key("input_name"):  t.String(),
            t.Key("output_name"):  t.String(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        input_name,
        output_name,
    ):
        self.input_name = input_name
        self.output_name = output_name

    def __repr__(self):
        return (
            "BatchPredictionJobRemapping("
            "input_name={0.input_name}, "
            "output_name={0.output_name}, "
        ).format(self)
