version 1.0.0-rc.13
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# coding: utf-8
|
||||
|
||||
"""
|
||||
Jungfraujoch
|
||||
|
||||
Jungfraujoch Broker Web API
|
||||
|
||||
The version of the OpenAPI document: 1.0.0-rc.13
|
||||
Contact: filip.leonarski@psi.ch
|
||||
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 DetectorModuleDirection(str, Enum):
|
||||
"""
|
||||
DetectorModuleDirection
|
||||
"""
|
||||
|
||||
"""
|
||||
allowed enum values
|
||||
"""
|
||||
XP = 'Xp'
|
||||
XN = 'Xn'
|
||||
YP = 'Yp'
|
||||
YN = 'Yn'
|
||||
|
||||
@classmethod
|
||||
def from_json(cls, json_str: str) -> Self:
|
||||
"""Create an instance of DetectorModuleDirection from a JSON string"""
|
||||
return cls(json.loads(json_str))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user