Source code for sdk.lusid.models.schedule_type

# coding: utf-8

"""
    LUSID API

    FINBOURNE Technology  # noqa: E501

    Contact: info@finbourne.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





[docs] class ScheduleType(str, Enum): """ ScheduleType """ """ allowed enum values """ FIXEDSCHEDULE = 'FixedSchedule' FLOATSCHEDULE = 'FloatSchedule' OPTIONALITYSCHEDULE = 'OptionalitySchedule' STEPSCHEDULE = 'StepSchedule' EXERCISE = 'Exercise' FXRATESCHEDULE = 'FxRateSchedule' FXLINKEDNOTIONALSCHEDULE = 'FxLinkedNotionalSchedule' INVALID = 'Invalid'
[docs] @classmethod def from_json(cls, json_str: str) -> ScheduleType: """Create an instance of ScheduleType from a JSON string""" return ScheduleType(json.loads(json_str))