Source code for sdk.lusid.models.trade_ticket_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 TradeTicketType(str, Enum): """ TradeTicketType """ """ allowed enum values """ LUSIDTRADETICKET = 'LusidTradeTicket' EXTERNALTRADETICKET = 'ExternalTradeTicket'
[docs] @classmethod def from_json(cls, json_str: str) -> TradeTicketType: """Create an instance of TradeTicketType from a JSON string""" return TradeTicketType(json.loads(json_str))