#
# 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 ImageEmbeddingPrediction(APIObject):
    """
    Attributes
    ----------
    labels:[str], none_type
         List of predicted label names corresponding to values
    values:[bool, date, datetime, dict, float, int, list, str, none_type]
         Predicted value or probability of the class identified by the label
    """
    _converter = t.Dict(
        {
            t.Key("labels"):  t.List(t.Dict().allow_extra("*")),
            t.Key("values"):  t.List(t.Dict().allow_extra("*")),
        }
    ).ignore_extra("*")

    def __init__(
        self,
        labels,
        values,
    ):
        self.labels = labels
        self.values = values

    def __repr__(self):
        return (
            "ImageEmbeddingPrediction("
            "labels={0.labels}, "
            "values={0.values}, "
        ).format(self)
