# coding: utf-8

"""
    Platform API

    _OpenAPI specification for the **Platform API** of **Helix**, the nomination platform of ElecLink_  ---  Additional documentation available in the API's [GitHub repository](https://github.com/eleclink-helix/platform-api) 

    The version of the OpenAPI document: 0.0.131
    Contact: team.eleclink@eleclink.co.uk
    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 MessageType(str, Enum):
    """
    MessageType
    """

    """
    allowed enum values
    """
    BPP = 'BPP'
    JAO = 'JAO'
    MANUAL_MESSAGE = 'MANUAL_MESSAGE'
    NOMINATION = 'NOMINATION'
    OPERATIONAL_DATAFLOW = 'OPERATIONAL_DATAFLOW'
    OPERATIONAL_PROCESS = 'OPERATIONAL_PROCESS'
    PARTICIPANT_CONFIGURATION = 'PARTICIPANT_CONFIGURATION'
    PLANNED_OUTAGE = 'PLANNED_OUTAGE'
    PROCESS = 'PROCESS'
    TRANSPARENCY_DATAFLOW = 'TRANSPARENCY_DATAFLOW'
    UNPLANNED_OUTAGE = 'UNPLANNED_OUTAGE'

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


