# coding: utf-8

"""
    aind-sharepoint-service

     ## aind-sharepoint-service  Service to pull data from Sharepoint.  

    The version of the OpenAPI document: 0.0.6
    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 LASDoseroute(str, Enum):
    """
    Enum class for LASDoseroute
    """

    """
    allowed enum values
    """
    INTRAMUSCULAR_LEFT_PARENTHESIS_IM_RIGHT_PARENTHESIS = 'Intramuscular (IM)'
    INTRAPERITONEAL_LEFT_PARENTHESIS_IP_RIGHT_PARENTHESIS = 'Intraperitoneal (IP)'
    INTRAVENOUS_LEFT_PARENTHESIS_IV_RIGHT_PARENTHESIS = 'Intravenous (IV)'
    ORAL_GAVAGE_LEFT_PARENTHESIS_PO_RIGHT_PARENTHESIS = 'Oral Gavage (PO)'
    SUBCUTANEOUS_LEFT_PARENTHESIS_SC_RIGHT_PARENTHESIS = 'Subcutaneous (SC)'

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


