Source code for sdk.lusid.models.aggregation_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 AggregationType(str, Enum): """ A list of types, that define the expected output types found from an aggregation request in its result. """ """ allowed enum values """ STRING = 'String' INT = 'Int' DECIMAL = 'Decimal' DATETIME = 'DateTime' BOOLEAN = 'Boolean' RESULTVALUE = 'ResultValue' RESULT0D = 'Result0D' JSON = 'Json'
[docs] @classmethod def from_json(cls, json_str: str) -> AggregationType: """Create an instance of AggregationType from a JSON string""" return AggregationType(json.loads(json_str))