#
# 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 ScoringCodeBuildPayload(APIObject):
    """
    Attributes
    ----------
    include_agent:bool [optional]
         Whether the Scoring Code built will include tracking agent. 
    include_pe:bool [optional]
         Whether the Scoring Code built will include prediction explanations. 
    """
    _converter = t.Dict(
        {
            t.Key("include_agent", optional=True):  t.Bool(),
            t.Key("include_pe", optional=True):  t.Bool(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        include_agent=None,
        include_pe=None,
    ):
        self.include_agent = include_agent
        self.include_pe = include_pe

    def __repr__(self):
        return (
            "ScoringCodeBuildPayload("
            "include_agent={0.include_agent}, "
            "include_pe={0.include_pe}, "
        ).format(self)
