# coding: utf-8

"""
    Generated by: https://openapi-generator.tech
"""

from __future__ import annotations
import json
from enum import Enum
from typing_extensions import Self


class FilterOp(str, Enum):
    """
    The filter condition, determines the type of comparison to be performed on the `name` values of the Person entity. <br><br>When set to `in`, the `name` values of the Person should match any of the values specified in the `value` list. <br><br>When set to `nin`, the `name` values of the Person should not match any of the values specified in the `value` list.
    """

    """
    allowed enum values
    """
    IN = 'in'
    NOT_IN = 'nin'

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


