#
# 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_calculate_template import UseCaseValueCalculateTemplate

class UseCaseValueTemplateCalculateResponse(APIObject):
    """
    Attributes
    ----------
    average_value_per_decision:float
         Estimated average value per decision
    saved_annually:float
         Estimated amount saved annually
    template:UseCaseValueCalculateTemplate
        
    """
    _converter = t.Dict(
        {
            t.Key("average_value_per_decision"):  t.Float(),
            t.Key("saved_annually"):  t.Float(),
            t.Key("template"):  t.Any(),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        average_value_per_decision,
        saved_annually,
        template,
    ):
        self.average_value_per_decision = average_value_per_decision
        self.saved_annually = saved_annually
        self.template = template

    def __repr__(self):
        return (
            "UseCaseValueTemplateCalculateResponse("
            "average_value_per_decision={0.average_value_per_decision}, "
            "saved_annually={0.saved_annually}, "
            "template={0.template}, "
        ).format(self)
