# coding: utf-8

"""
Root Signals API

Root Signals JSON API provides a way to access Root Signals using provisioned API token

The version of the OpenAPI document: 1.0.0 (latest)
Generated by OpenAPI Generator (https://openapi-generator.tech)

Do not edit the class manually.
"""  # noqa: E501

from __future__ import annotations

import json
from enum import Enum

from typing_extensions import Self


class ResultPreferenceSignifierEvaluationApproachEnum(str, Enum):
    """
    * `pointwise_score` - pointwise_score * `pairwise_preference` - pairwise_preference * `meets_all_specified_policy_criteria` - meets_all_specified_policy_criteria * `classification` - classification
    """

    """
    allowed enum values
    """
    POINTWISE_SCORE = "pointwise_score"
    PAIRWISE_PREFERENCE = "pairwise_preference"
    MEETS_ALL_SPECIFIED_POLICY_CRITERIA = "meets_all_specified_policy_criteria"
    CLASSIFICATION = "classification"

    @classmethod
    def from_json(cls, json_str: str) -> Self:
        """Create an instance of ResultPreferenceSignifierEvaluationApproachEnum from a JSON string"""
        return cls(json.loads(json_str))
