# coding: utf-8

"""
    Train Journey

    Demonstrate feature of Aladdin Graph services using train journeys, stations and trains.  # noqa: E501

    The version of the OpenAPI document: 1.0.0
    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 EnumsTrainType(str, Enum):
    """
    - TRAIN_TYPE_UNSPECIFIED: The TrainType has not been specified  - TRAIN_TYPE_HIGH_SPEED: The train is a High Speed train  - TRAIN_TYPE_REGULAR: The train is a regular train
    """

    """
    allowed enum values
    """
    TRAIN_TYPE_UNSPECIFIED = 'TRAIN_TYPE_UNSPECIFIED'
    TRAIN_TYPE_HIGH_SPEED = 'TRAIN_TYPE_HIGH_SPEED'
    TRAIN_TYPE_REGULAR = 'TRAIN_TYPE_REGULAR'

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


