# coding: utf-8

"""
    Empire - Platform API

    OpenAPI specification for the Platform REST API of Empire  **System Time:** Europe/Amsterdam  **General data formats:**   * _capacity values_ => kW (integers)   * _dates and local times_ => System Time   * _currencies_ => EUR   # noqa: E501

    The version of the OpenAPI document: 0.179.7
    Contact: britned.info@britned.com
    Generated by OpenAPI Generator (https://openapi-generator.tech)

    Do not edit the class manually.
"""


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





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

    """
    allowed enum values
    """
    SEVERITY_ASC = 'SEVERITY_ASC'
    SEVERITY_DESC = 'SEVERITY_DESC'
    SENDER_ASC = 'SENDER_ASC'
    SENDER_DESC = 'SENDER_DESC'
    TYPE_ASC = 'TYPE_ASC'
    TYPE_DESC = 'TYPE_DESC'
    RECEIVED_AT_ASC = 'RECEIVED_AT_ASC'
    RECEIVED_AT_DESC = 'RECEIVED_AT_DESC'

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


