# coding: utf-8

"""
    OpenAI Connector server

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

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

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


import json
import pprint
import re  # noqa: F401
from aenum import Enum, no_arg





class ChatRole(str, Enum):
    """
    ChatRole
    """

    """
    allowed enum values
    """
    USER = 'user'
    ASSISTANT = 'assistant'
    SYSTEM = 'system'

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


