# coding: utf-8

"""
    Jellyfin API

    No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

    The version of the OpenAPI document: 10.11.0
    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 PersonKind(str, Enum):
    """
    The person kind.
    """

    """
    allowed enum values
    """
    UNKNOWN = 'Unknown'
    ACTOR = 'Actor'
    DIRECTOR = 'Director'
    COMPOSER = 'Composer'
    WRITER = 'Writer'
    GUESTSTAR = 'GuestStar'
    PRODUCER = 'Producer'
    CONDUCTOR = 'Conductor'
    LYRICIST = 'Lyricist'
    ARRANGER = 'Arranger'
    ENGINEER = 'Engineer'
    MIXER = 'Mixer'
    REMIXER = 'Remixer'
    CREATOR = 'Creator'
    ARTIST = 'Artist'
    ALBUMARTIST = 'AlbumArtist'
    AUTHOR = 'Author'
    ILLUSTRATOR = 'Illustrator'
    PENCILLER = 'Penciller'
    INKER = 'Inker'
    COLORIST = 'Colorist'
    LETTERER = 'Letterer'
    COVERARTIST = 'CoverArtist'
    EDITOR = 'Editor'
    TRANSLATOR = 'Translator'

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


