Source code for sdk.lusid.models.reference_portfolio_weight_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 ReferencePortfolioWeightType(str, Enum): """ ReferencePortfolioWeightType """ """ allowed enum values """ STATIC = 'Static' FLOATING = 'Floating' PERIODICAL = 'Periodical'
[docs] @classmethod def from_json(cls, json_str: str) -> ReferencePortfolioWeightType: """Create an instance of ReferencePortfolioWeightType from a JSON string""" return ReferencePortfolioWeightType(json.loads(json_str))