# 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 FaceAttribute(str, Enum):
    """
    The name of the attribute. For definitions, see the [FaceAttribute enum](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-attribute/).
    """

    """
    allowed enum values
    """
    AGE = 'Age'
    EMOTION = 'Emotion'
    EYE_LEFT = 'EyeLeft'
    EYE_RIGHT = 'EyeRight'
    SMILE = 'Smile'
    GLASSES = 'Glasses'
    HEAD_COVERING = 'HeadCovering'
    FOREHEAD_COVERING = 'ForeheadCovering'
    MOUTH = 'Mouth'
    MEDICAL_MASK = 'MedicalMask'
    OCCLUSION = 'Occlusion'
    STRONG_MAKEUP = 'StrongMakeup'
    HEADPHONES = 'Headphones'

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


