# 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 UnmatchedHoldingMethod(str, Enum):
"""
When holdings adjustments are specified for a single effective date, any holdings for the portfolio not included in the adjustments are adjusted according to this value.
"""
"""
allowed enum values
"""
POSITIONTOZERO = 'PositionToZero'
KEEPTHESAME = 'KeepTheSame'
[docs]
@classmethod
def from_json(cls, json_str: str) -> UnmatchedHoldingMethod:
"""Create an instance of UnmatchedHoldingMethod from a JSON string"""
return UnmatchedHoldingMethod(json.loads(json_str))