Source code for sdk.lusid.models.instrument_event_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 InstrumentEventType(str, Enum): """ The individual event types. """ """ allowed enum values """ TRANSITIONEVENT = 'TransitionEvent' INFORMATIONALEVENT = 'InformationalEvent' OPENEVENT = 'OpenEvent' CLOSEEVENT = 'CloseEvent' STOCKSPLITEVENT = 'StockSplitEvent' BONDDEFAULTEVENT = 'BondDefaultEvent' CASHDIVIDENDEVENT = 'CashDividendEvent' AMORTISATIONEVENT = 'AmortisationEvent' CASHFLOWEVENT = 'CashFlowEvent' EXERCISEEVENT = 'ExerciseEvent' RESETEVENT = 'ResetEvent' TRIGGEREVENT = 'TriggerEvent' RAWVENDOREVENT = 'RawVendorEvent' INFORMATIONALERROREVENT = 'InformationalErrorEvent' BONDCOUPONEVENT = 'BondCouponEvent' DIVIDENDREINVESTMENTEVENT = 'DividendReinvestmentEvent' ACCUMULATIONEVENT = 'AccumulationEvent' BONDPRINCIPALEVENT = 'BondPrincipalEvent' DIVIDENDOPTIONEVENT = 'DividendOptionEvent' MATURITYEVENT = 'MaturityEvent' FXFORWARDSETTLEMENTEVENT = 'FxForwardSettlementEvent' EXPIRYEVENT = 'ExpiryEvent' SCRIPDIVIDENDEVENT = 'ScripDividendEvent' STOCKDIVIDENDEVENT = 'StockDividendEvent' REVERSESTOCKSPLITEVENT = 'ReverseStockSplitEvent' CAPITALDISTRIBUTIONEVENT = 'CapitalDistributionEvent' SPINOFFEVENT = 'SpinOffEvent' MERGEREVENT = 'MergerEvent'
[docs] @classmethod def from_json(cls, json_str: str) -> InstrumentEventType: """Create an instance of InstrumentEventType from a JSON string""" return InstrumentEventType(json.loads(json_str))