# 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 FaceImageQualityAlignType(int, Enum):
    """
    The aspect ratio according to which face alignment is performed. See the [FaceImageQualityAlignType enum](https://docs.regulaforensics.com/develop/face-sdk/web-service/development/enums/face-image-quality-align-type/). To get a thumbnail with aspect ratio 3:4, set `0`.
    """

    """
    allowed enum values
    """
    ALIGN_3x4 = 0
    ALIGN_4x5 = 1
    ALIGN_2x3 = 2
    ALIGN_1x1 = 3
    ALIGN_7x9 = 4

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


