lusid-sdk 2.1.131__py3-none-any.whl → 2.1.134__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of lusid-sdk might be problematic. Click here for more details.
- lusid/__init__.py +12 -0
- lusid/configuration.py +1 -1
- lusid/models/__init__.py +12 -0
- lusid/models/branch_step_request.py +91 -0
- lusid/models/check_step_request.py +91 -0
- lusid/models/compliance_step_request.py +41 -19
- lusid/models/compliance_step_type_request.py +0 -1
- lusid/models/filter_step_request.py +91 -0
- lusid/models/group_by_step_request.py +91 -0
- lusid/models/group_filter_step_request.py +91 -0
- lusid/models/intermediate_compliance_step_request.py +91 -0
- {lusid_sdk-2.1.131.dist-info → lusid_sdk-2.1.134.dist-info}/METADATA +9 -3
- {lusid_sdk-2.1.131.dist-info → lusid_sdk-2.1.134.dist-info}/RECORD +14 -8
- {lusid_sdk-2.1.131.dist-info → lusid_sdk-2.1.134.dist-info}/WHEEL +0 -0
lusid/__init__.py
CHANGED
|
@@ -174,6 +174,7 @@ from lusid.models.book_transactions_response import BookTransactionsResponse
|
|
|
174
174
|
from lusid.models.bool_compliance_parameter import BoolComplianceParameter
|
|
175
175
|
from lusid.models.bool_list_compliance_parameter import BoolListComplianceParameter
|
|
176
176
|
from lusid.models.branch_step import BranchStep
|
|
177
|
+
from lusid.models.branch_step_request import BranchStepRequest
|
|
177
178
|
from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
|
|
178
179
|
from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
|
|
179
180
|
from lusid.models.bucketing_schedule import BucketingSchedule
|
|
@@ -203,6 +204,7 @@ from lusid.models.chart_of_accounts import ChartOfAccounts
|
|
|
203
204
|
from lusid.models.chart_of_accounts_properties import ChartOfAccountsProperties
|
|
204
205
|
from lusid.models.chart_of_accounts_request import ChartOfAccountsRequest
|
|
205
206
|
from lusid.models.check_step import CheckStep
|
|
207
|
+
from lusid.models.check_step_request import CheckStepRequest
|
|
206
208
|
from lusid.models.cleardown_module_details import CleardownModuleDetails
|
|
207
209
|
from lusid.models.cleardown_module_request import CleardownModuleRequest
|
|
208
210
|
from lusid.models.cleardown_module_response import CleardownModuleResponse
|
|
@@ -394,6 +396,7 @@ from lusid.models.field_value import FieldValue
|
|
|
394
396
|
from lusid.models.file_response import FileResponse
|
|
395
397
|
from lusid.models.filter_predicate_compliance_parameter import FilterPredicateComplianceParameter
|
|
396
398
|
from lusid.models.filter_step import FilterStep
|
|
399
|
+
from lusid.models.filter_step_request import FilterStepRequest
|
|
397
400
|
from lusid.models.fixed_leg import FixedLeg
|
|
398
401
|
from lusid.models.fixed_leg_all_of_overrides import FixedLegAllOfOverrides
|
|
399
402
|
from lusid.models.fixed_schedule import FixedSchedule
|
|
@@ -449,8 +452,10 @@ from lusid.models.get_structured_result_data_response import GetStructuredResult
|
|
|
449
452
|
from lusid.models.get_virtual_document_response import GetVirtualDocumentResponse
|
|
450
453
|
from lusid.models.group_by_selector_compliance_parameter import GroupBySelectorComplianceParameter
|
|
451
454
|
from lusid.models.group_by_step import GroupByStep
|
|
455
|
+
from lusid.models.group_by_step_request import GroupByStepRequest
|
|
452
456
|
from lusid.models.group_filter_predicate_compliance_parameter import GroupFilterPredicateComplianceParameter
|
|
453
457
|
from lusid.models.group_filter_step import GroupFilterStep
|
|
458
|
+
from lusid.models.group_filter_step_request import GroupFilterStepRequest
|
|
454
459
|
from lusid.models.group_of_market_data_key_rules import GroupOfMarketDataKeyRules
|
|
455
460
|
from lusid.models.grouped_result_of_address_key import GroupedResultOfAddressKey
|
|
456
461
|
from lusid.models.holding_adjustment import HoldingAdjustment
|
|
@@ -506,6 +511,7 @@ from lusid.models.instrument_type import InstrumentType
|
|
|
506
511
|
from lusid.models.interest_rate_swap import InterestRateSwap
|
|
507
512
|
from lusid.models.interest_rate_swaption import InterestRateSwaption
|
|
508
513
|
from lusid.models.intermediate_compliance_step import IntermediateComplianceStep
|
|
514
|
+
from lusid.models.intermediate_compliance_step_request import IntermediateComplianceStepRequest
|
|
509
515
|
from lusid.models.ir_vol_cube_data import IrVolCubeData
|
|
510
516
|
from lusid.models.ir_vol_dependency import IrVolDependency
|
|
511
517
|
from lusid.models.is_business_day_response import IsBusinessDayResponse
|
|
@@ -1227,6 +1233,7 @@ __all__ = [
|
|
|
1227
1233
|
"BoolComplianceParameter",
|
|
1228
1234
|
"BoolListComplianceParameter",
|
|
1229
1235
|
"BranchStep",
|
|
1236
|
+
"BranchStepRequest",
|
|
1230
1237
|
"BucketedCashFlowRequest",
|
|
1231
1238
|
"BucketedCashFlowResponse",
|
|
1232
1239
|
"BucketingSchedule",
|
|
@@ -1256,6 +1263,7 @@ __all__ = [
|
|
|
1256
1263
|
"ChartOfAccountsProperties",
|
|
1257
1264
|
"ChartOfAccountsRequest",
|
|
1258
1265
|
"CheckStep",
|
|
1266
|
+
"CheckStepRequest",
|
|
1259
1267
|
"CleardownModuleDetails",
|
|
1260
1268
|
"CleardownModuleRequest",
|
|
1261
1269
|
"CleardownModuleResponse",
|
|
@@ -1447,6 +1455,7 @@ __all__ = [
|
|
|
1447
1455
|
"FileResponse",
|
|
1448
1456
|
"FilterPredicateComplianceParameter",
|
|
1449
1457
|
"FilterStep",
|
|
1458
|
+
"FilterStepRequest",
|
|
1450
1459
|
"FixedLeg",
|
|
1451
1460
|
"FixedLegAllOfOverrides",
|
|
1452
1461
|
"FixedSchedule",
|
|
@@ -1502,8 +1511,10 @@ __all__ = [
|
|
|
1502
1511
|
"GetVirtualDocumentResponse",
|
|
1503
1512
|
"GroupBySelectorComplianceParameter",
|
|
1504
1513
|
"GroupByStep",
|
|
1514
|
+
"GroupByStepRequest",
|
|
1505
1515
|
"GroupFilterPredicateComplianceParameter",
|
|
1506
1516
|
"GroupFilterStep",
|
|
1517
|
+
"GroupFilterStepRequest",
|
|
1507
1518
|
"GroupOfMarketDataKeyRules",
|
|
1508
1519
|
"GroupedResultOfAddressKey",
|
|
1509
1520
|
"HoldingAdjustment",
|
|
@@ -1559,6 +1570,7 @@ __all__ = [
|
|
|
1559
1570
|
"InterestRateSwap",
|
|
1560
1571
|
"InterestRateSwaption",
|
|
1561
1572
|
"IntermediateComplianceStep",
|
|
1573
|
+
"IntermediateComplianceStepRequest",
|
|
1562
1574
|
"IrVolCubeData",
|
|
1563
1575
|
"IrVolDependency",
|
|
1564
1576
|
"IsBusinessDayResponse",
|
lusid/configuration.py
CHANGED
|
@@ -373,7 +373,7 @@ class Configuration:
|
|
|
373
373
|
return "Python SDK Debug Report:\n"\
|
|
374
374
|
"OS: {env}\n"\
|
|
375
375
|
"Python Version: {pyversion}\n"\
|
|
376
|
-
"Version of the API: 0.11.
|
|
376
|
+
"Version of the API: 0.11.6568\n"\
|
|
377
377
|
"SDK Package Version: {package_version}".\
|
|
378
378
|
format(env=sys.platform, pyversion=sys.version, package_version=package_version)
|
|
379
379
|
|
lusid/models/__init__.py
CHANGED
|
@@ -96,6 +96,7 @@ from lusid.models.book_transactions_response import BookTransactionsResponse
|
|
|
96
96
|
from lusid.models.bool_compliance_parameter import BoolComplianceParameter
|
|
97
97
|
from lusid.models.bool_list_compliance_parameter import BoolListComplianceParameter
|
|
98
98
|
from lusid.models.branch_step import BranchStep
|
|
99
|
+
from lusid.models.branch_step_request import BranchStepRequest
|
|
99
100
|
from lusid.models.bucketed_cash_flow_request import BucketedCashFlowRequest
|
|
100
101
|
from lusid.models.bucketed_cash_flow_response import BucketedCashFlowResponse
|
|
101
102
|
from lusid.models.bucketing_schedule import BucketingSchedule
|
|
@@ -125,6 +126,7 @@ from lusid.models.chart_of_accounts import ChartOfAccounts
|
|
|
125
126
|
from lusid.models.chart_of_accounts_properties import ChartOfAccountsProperties
|
|
126
127
|
from lusid.models.chart_of_accounts_request import ChartOfAccountsRequest
|
|
127
128
|
from lusid.models.check_step import CheckStep
|
|
129
|
+
from lusid.models.check_step_request import CheckStepRequest
|
|
128
130
|
from lusid.models.cleardown_module_details import CleardownModuleDetails
|
|
129
131
|
from lusid.models.cleardown_module_request import CleardownModuleRequest
|
|
130
132
|
from lusid.models.cleardown_module_response import CleardownModuleResponse
|
|
@@ -316,6 +318,7 @@ from lusid.models.field_value import FieldValue
|
|
|
316
318
|
from lusid.models.file_response import FileResponse
|
|
317
319
|
from lusid.models.filter_predicate_compliance_parameter import FilterPredicateComplianceParameter
|
|
318
320
|
from lusid.models.filter_step import FilterStep
|
|
321
|
+
from lusid.models.filter_step_request import FilterStepRequest
|
|
319
322
|
from lusid.models.fixed_leg import FixedLeg
|
|
320
323
|
from lusid.models.fixed_leg_all_of_overrides import FixedLegAllOfOverrides
|
|
321
324
|
from lusid.models.fixed_schedule import FixedSchedule
|
|
@@ -371,8 +374,10 @@ from lusid.models.get_structured_result_data_response import GetStructuredResult
|
|
|
371
374
|
from lusid.models.get_virtual_document_response import GetVirtualDocumentResponse
|
|
372
375
|
from lusid.models.group_by_selector_compliance_parameter import GroupBySelectorComplianceParameter
|
|
373
376
|
from lusid.models.group_by_step import GroupByStep
|
|
377
|
+
from lusid.models.group_by_step_request import GroupByStepRequest
|
|
374
378
|
from lusid.models.group_filter_predicate_compliance_parameter import GroupFilterPredicateComplianceParameter
|
|
375
379
|
from lusid.models.group_filter_step import GroupFilterStep
|
|
380
|
+
from lusid.models.group_filter_step_request import GroupFilterStepRequest
|
|
376
381
|
from lusid.models.group_of_market_data_key_rules import GroupOfMarketDataKeyRules
|
|
377
382
|
from lusid.models.grouped_result_of_address_key import GroupedResultOfAddressKey
|
|
378
383
|
from lusid.models.holding_adjustment import HoldingAdjustment
|
|
@@ -428,6 +433,7 @@ from lusid.models.instrument_type import InstrumentType
|
|
|
428
433
|
from lusid.models.interest_rate_swap import InterestRateSwap
|
|
429
434
|
from lusid.models.interest_rate_swaption import InterestRateSwaption
|
|
430
435
|
from lusid.models.intermediate_compliance_step import IntermediateComplianceStep
|
|
436
|
+
from lusid.models.intermediate_compliance_step_request import IntermediateComplianceStepRequest
|
|
431
437
|
from lusid.models.ir_vol_cube_data import IrVolCubeData
|
|
432
438
|
from lusid.models.ir_vol_dependency import IrVolDependency
|
|
433
439
|
from lusid.models.is_business_day_response import IsBusinessDayResponse
|
|
@@ -1073,6 +1079,7 @@ __all__ = [
|
|
|
1073
1079
|
"BoolComplianceParameter",
|
|
1074
1080
|
"BoolListComplianceParameter",
|
|
1075
1081
|
"BranchStep",
|
|
1082
|
+
"BranchStepRequest",
|
|
1076
1083
|
"BucketedCashFlowRequest",
|
|
1077
1084
|
"BucketedCashFlowResponse",
|
|
1078
1085
|
"BucketingSchedule",
|
|
@@ -1102,6 +1109,7 @@ __all__ = [
|
|
|
1102
1109
|
"ChartOfAccountsProperties",
|
|
1103
1110
|
"ChartOfAccountsRequest",
|
|
1104
1111
|
"CheckStep",
|
|
1112
|
+
"CheckStepRequest",
|
|
1105
1113
|
"CleardownModuleDetails",
|
|
1106
1114
|
"CleardownModuleRequest",
|
|
1107
1115
|
"CleardownModuleResponse",
|
|
@@ -1293,6 +1301,7 @@ __all__ = [
|
|
|
1293
1301
|
"FileResponse",
|
|
1294
1302
|
"FilterPredicateComplianceParameter",
|
|
1295
1303
|
"FilterStep",
|
|
1304
|
+
"FilterStepRequest",
|
|
1296
1305
|
"FixedLeg",
|
|
1297
1306
|
"FixedLegAllOfOverrides",
|
|
1298
1307
|
"FixedSchedule",
|
|
@@ -1348,8 +1357,10 @@ __all__ = [
|
|
|
1348
1357
|
"GetVirtualDocumentResponse",
|
|
1349
1358
|
"GroupBySelectorComplianceParameter",
|
|
1350
1359
|
"GroupByStep",
|
|
1360
|
+
"GroupByStepRequest",
|
|
1351
1361
|
"GroupFilterPredicateComplianceParameter",
|
|
1352
1362
|
"GroupFilterStep",
|
|
1363
|
+
"GroupFilterStepRequest",
|
|
1353
1364
|
"GroupOfMarketDataKeyRules",
|
|
1354
1365
|
"GroupedResultOfAddressKey",
|
|
1355
1366
|
"HoldingAdjustment",
|
|
@@ -1405,6 +1416,7 @@ __all__ = [
|
|
|
1405
1416
|
"InterestRateSwap",
|
|
1406
1417
|
"InterestRateSwaption",
|
|
1407
1418
|
"IntermediateComplianceStep",
|
|
1419
|
+
"IntermediateComplianceStepRequest",
|
|
1408
1420
|
"IrVolCubeData",
|
|
1409
1421
|
"IrVolDependency",
|
|
1410
1422
|
"IsBusinessDayResponse",
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class BranchStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
BranchStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> BranchStepRequest:
|
|
56
|
+
"""Create an instance of BranchStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> BranchStepRequest:
|
|
75
|
+
"""Create an instance of BranchStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return BranchStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = BranchStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class CheckStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
CheckStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> CheckStepRequest:
|
|
56
|
+
"""Create an instance of CheckStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> CheckStepRequest:
|
|
75
|
+
"""Create an instance of CheckStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return CheckStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = CheckStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -18,21 +18,22 @@ import re # noqa: F401
|
|
|
18
18
|
import json
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
from typing import Any, Dict
|
|
21
|
+
from typing import Any, Dict, Union
|
|
22
22
|
from pydantic.v1 import BaseModel, Field, StrictStr, validator
|
|
23
|
+
import lusid.models
|
|
23
24
|
|
|
24
25
|
class ComplianceStepRequest(BaseModel):
|
|
25
26
|
"""
|
|
26
27
|
ComplianceStepRequest
|
|
27
28
|
"""
|
|
28
|
-
|
|
29
|
-
__properties = ["
|
|
29
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
30
|
+
__properties = ["complianceStepTypeRequest"]
|
|
30
31
|
|
|
31
|
-
@validator('
|
|
32
|
-
def
|
|
32
|
+
@validator('compliance_step_type_request')
|
|
33
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
33
34
|
"""Validates the enum"""
|
|
34
|
-
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', '
|
|
35
|
-
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', '
|
|
35
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
36
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
36
37
|
return value
|
|
37
38
|
|
|
38
39
|
class Config:
|
|
@@ -40,6 +41,28 @@ class ComplianceStepRequest(BaseModel):
|
|
|
40
41
|
allow_population_by_field_name = True
|
|
41
42
|
validate_assignment = True
|
|
42
43
|
|
|
44
|
+
# JSON field name that stores the object type
|
|
45
|
+
__discriminator_property_name = 'complianceStepTypeRequest'
|
|
46
|
+
|
|
47
|
+
# discriminator mappings
|
|
48
|
+
__discriminator_value_class_map = {
|
|
49
|
+
'BranchStepRequest': 'BranchStepRequest',
|
|
50
|
+
'CheckStepRequest': 'CheckStepRequest',
|
|
51
|
+
'FilterStepRequest': 'FilterStepRequest',
|
|
52
|
+
'GroupByStepRequest': 'GroupByStepRequest',
|
|
53
|
+
'GroupFilterStepRequest': 'GroupFilterStepRequest',
|
|
54
|
+
'IntermediateComplianceStepRequest': 'IntermediateComplianceStepRequest'
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
@classmethod
|
|
58
|
+
def get_discriminator_value(cls, obj: dict) -> str:
|
|
59
|
+
"""Returns the discriminator value (object type) of the data"""
|
|
60
|
+
discriminator_value = obj[cls.__discriminator_property_name]
|
|
61
|
+
if discriminator_value:
|
|
62
|
+
return cls.__discriminator_value_class_map.get(discriminator_value)
|
|
63
|
+
else:
|
|
64
|
+
return None
|
|
65
|
+
|
|
43
66
|
def to_str(self) -> str:
|
|
44
67
|
"""Returns the string representation of the model using alias"""
|
|
45
68
|
return pprint.pformat(self.dict(by_alias=True))
|
|
@@ -49,7 +72,7 @@ class ComplianceStepRequest(BaseModel):
|
|
|
49
72
|
return json.dumps(self.to_dict())
|
|
50
73
|
|
|
51
74
|
@classmethod
|
|
52
|
-
def from_json(cls, json_str: str) ->
|
|
75
|
+
def from_json(cls, json_str: str) -> Union(BranchStepRequest, CheckStepRequest, FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, IntermediateComplianceStepRequest):
|
|
53
76
|
"""Create an instance of ComplianceStepRequest from a JSON string"""
|
|
54
77
|
return cls.from_dict(json.loads(json_str))
|
|
55
78
|
|
|
@@ -62,15 +85,14 @@ class ComplianceStepRequest(BaseModel):
|
|
|
62
85
|
return _dict
|
|
63
86
|
|
|
64
87
|
@classmethod
|
|
65
|
-
def from_dict(cls, obj: dict) ->
|
|
88
|
+
def from_dict(cls, obj: dict) -> Union(BranchStepRequest, CheckStepRequest, FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, IntermediateComplianceStepRequest):
|
|
66
89
|
"""Create an instance of ComplianceStepRequest from a dict"""
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
return
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return _obj
|
|
90
|
+
# look up the object type based on discriminator mapping
|
|
91
|
+
object_type = cls.get_discriminator_value(obj)
|
|
92
|
+
if object_type:
|
|
93
|
+
klass = getattr(lusid.models, object_type)
|
|
94
|
+
return klass.from_dict(obj)
|
|
95
|
+
else:
|
|
96
|
+
raise ValueError("ComplianceStepRequest failed to lookup discriminator value from " +
|
|
97
|
+
json.dumps(obj) + ". Discriminator property name: " + cls.__discriminator_property_name +
|
|
98
|
+
", mapping: " + json.dumps(cls.__discriminator_value_class_map))
|
|
@@ -33,7 +33,6 @@ class ComplianceStepTypeRequest(str, Enum):
|
|
|
33
33
|
GROUPBYSTEPREQUEST = 'GroupByStepRequest'
|
|
34
34
|
GROUPFILTERSTEPREQUEST = 'GroupFilterStepRequest'
|
|
35
35
|
BRANCHSTEPREQUEST = 'BranchStepRequest'
|
|
36
|
-
RECOMBINESTEPREQUEST = 'RecombineStepRequest'
|
|
37
36
|
CHECKSTEPREQUEST = 'CheckStepRequest'
|
|
38
37
|
|
|
39
38
|
@classmethod
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class FilterStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
FilterStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> FilterStepRequest:
|
|
56
|
+
"""Create an instance of FilterStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> FilterStepRequest:
|
|
75
|
+
"""Create an instance of FilterStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return FilterStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = FilterStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class GroupByStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
GroupByStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> GroupByStepRequest:
|
|
56
|
+
"""Create an instance of GroupByStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> GroupByStepRequest:
|
|
75
|
+
"""Create an instance of GroupByStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return GroupByStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = GroupByStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class GroupFilterStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
GroupFilterStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> GroupFilterStepRequest:
|
|
56
|
+
"""Create an instance of GroupFilterStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> GroupFilterStepRequest:
|
|
75
|
+
"""Create an instance of GroupFilterStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return GroupFilterStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = GroupFilterStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
LUSID API
|
|
5
|
+
|
|
6
|
+
FINBOURNE Technology # noqa: E501
|
|
7
|
+
|
|
8
|
+
Contact: info@finbourne.com
|
|
9
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
10
|
+
|
|
11
|
+
Do not edit the class manually.
|
|
12
|
+
"""
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from __future__ import annotations
|
|
16
|
+
import pprint
|
|
17
|
+
import re # noqa: F401
|
|
18
|
+
import json
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
from typing import Any, Dict
|
|
22
|
+
from pydantic.v1 import Field, StrictStr, constr, validator
|
|
23
|
+
from lusid.models.compliance_step_request import ComplianceStepRequest
|
|
24
|
+
|
|
25
|
+
class IntermediateComplianceStepRequest(ComplianceStepRequest):
|
|
26
|
+
"""
|
|
27
|
+
IntermediateComplianceStepRequest
|
|
28
|
+
"""
|
|
29
|
+
label: constr(strict=True, max_length=64, min_length=1) = Field(..., description="The label of the compliance step")
|
|
30
|
+
compliance_step_type_request: StrictStr = Field(..., alias="complianceStepTypeRequest", description=". The available values are: FilterStepRequest, GroupByStepRequest, GroupFilterStepRequest, BranchStepRequest, CheckStepRequest")
|
|
31
|
+
additional_properties: Dict[str, Any] = {}
|
|
32
|
+
__properties = ["complianceStepTypeRequest", "label"]
|
|
33
|
+
|
|
34
|
+
@validator('compliance_step_type_request')
|
|
35
|
+
def compliance_step_type_request_validate_enum(cls, value):
|
|
36
|
+
"""Validates the enum"""
|
|
37
|
+
if value not in ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest'):
|
|
38
|
+
raise ValueError("must be one of enum values ('FilterStepRequest', 'GroupByStepRequest', 'GroupFilterStepRequest', 'BranchStepRequest', 'CheckStepRequest')")
|
|
39
|
+
return value
|
|
40
|
+
|
|
41
|
+
class Config:
|
|
42
|
+
"""Pydantic configuration"""
|
|
43
|
+
allow_population_by_field_name = True
|
|
44
|
+
validate_assignment = True
|
|
45
|
+
|
|
46
|
+
def to_str(self) -> str:
|
|
47
|
+
"""Returns the string representation of the model using alias"""
|
|
48
|
+
return pprint.pformat(self.dict(by_alias=True))
|
|
49
|
+
|
|
50
|
+
def to_json(self) -> str:
|
|
51
|
+
"""Returns the JSON representation of the model using alias"""
|
|
52
|
+
return json.dumps(self.to_dict())
|
|
53
|
+
|
|
54
|
+
@classmethod
|
|
55
|
+
def from_json(cls, json_str: str) -> IntermediateComplianceStepRequest:
|
|
56
|
+
"""Create an instance of IntermediateComplianceStepRequest from a JSON string"""
|
|
57
|
+
return cls.from_dict(json.loads(json_str))
|
|
58
|
+
|
|
59
|
+
def to_dict(self):
|
|
60
|
+
"""Returns the dictionary representation of the model using alias"""
|
|
61
|
+
_dict = self.dict(by_alias=True,
|
|
62
|
+
exclude={
|
|
63
|
+
"additional_properties"
|
|
64
|
+
},
|
|
65
|
+
exclude_none=True)
|
|
66
|
+
# puts key-value pairs in additional_properties in the top level
|
|
67
|
+
if self.additional_properties is not None:
|
|
68
|
+
for _key, _value in self.additional_properties.items():
|
|
69
|
+
_dict[_key] = _value
|
|
70
|
+
|
|
71
|
+
return _dict
|
|
72
|
+
|
|
73
|
+
@classmethod
|
|
74
|
+
def from_dict(cls, obj: dict) -> IntermediateComplianceStepRequest:
|
|
75
|
+
"""Create an instance of IntermediateComplianceStepRequest from a dict"""
|
|
76
|
+
if obj is None:
|
|
77
|
+
return None
|
|
78
|
+
|
|
79
|
+
if not isinstance(obj, dict):
|
|
80
|
+
return IntermediateComplianceStepRequest.parse_obj(obj)
|
|
81
|
+
|
|
82
|
+
_obj = IntermediateComplianceStepRequest.parse_obj({
|
|
83
|
+
"compliance_step_type_request": obj.get("complianceStepTypeRequest"),
|
|
84
|
+
"label": obj.get("label")
|
|
85
|
+
})
|
|
86
|
+
# store additional fields in additional_properties
|
|
87
|
+
for _key in obj.keys():
|
|
88
|
+
if _key not in cls.__properties:
|
|
89
|
+
_obj.additional_properties[_key] = obj.get(_key)
|
|
90
|
+
|
|
91
|
+
return _obj
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: lusid-sdk
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.134
|
|
4
4
|
Summary: LUSID API
|
|
5
5
|
Home-page: https://github.com/finbourne/lusid-sdk-python
|
|
6
6
|
License: MIT
|
|
@@ -29,8 +29,8 @@ FINBOURNE Technology
|
|
|
29
29
|
|
|
30
30
|
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
31
31
|
|
|
32
|
-
- API version: 0.11.
|
|
33
|
-
- Package version: 2.1.
|
|
32
|
+
- API version: 0.11.6568
|
|
33
|
+
- Package version: 2.1.134
|
|
34
34
|
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
|
|
35
35
|
For more information, please visit [https://www.finbourne.com](https://www.finbourne.com)
|
|
36
36
|
|
|
@@ -821,6 +821,7 @@ Class | Method | HTTP request | Description
|
|
|
821
821
|
- [BoolComplianceParameter](docs/BoolComplianceParameter.md)
|
|
822
822
|
- [BoolListComplianceParameter](docs/BoolListComplianceParameter.md)
|
|
823
823
|
- [BranchStep](docs/BranchStep.md)
|
|
824
|
+
- [BranchStepRequest](docs/BranchStepRequest.md)
|
|
824
825
|
- [BucketedCashFlowRequest](docs/BucketedCashFlowRequest.md)
|
|
825
826
|
- [BucketedCashFlowResponse](docs/BucketedCashFlowResponse.md)
|
|
826
827
|
- [BucketingSchedule](docs/BucketingSchedule.md)
|
|
@@ -850,6 +851,7 @@ Class | Method | HTTP request | Description
|
|
|
850
851
|
- [ChartOfAccountsProperties](docs/ChartOfAccountsProperties.md)
|
|
851
852
|
- [ChartOfAccountsRequest](docs/ChartOfAccountsRequest.md)
|
|
852
853
|
- [CheckStep](docs/CheckStep.md)
|
|
854
|
+
- [CheckStepRequest](docs/CheckStepRequest.md)
|
|
853
855
|
- [CleardownModuleDetails](docs/CleardownModuleDetails.md)
|
|
854
856
|
- [CleardownModuleRequest](docs/CleardownModuleRequest.md)
|
|
855
857
|
- [CleardownModuleResponse](docs/CleardownModuleResponse.md)
|
|
@@ -1041,6 +1043,7 @@ Class | Method | HTTP request | Description
|
|
|
1041
1043
|
- [FileResponse](docs/FileResponse.md)
|
|
1042
1044
|
- [FilterPredicateComplianceParameter](docs/FilterPredicateComplianceParameter.md)
|
|
1043
1045
|
- [FilterStep](docs/FilterStep.md)
|
|
1046
|
+
- [FilterStepRequest](docs/FilterStepRequest.md)
|
|
1044
1047
|
- [FixedLeg](docs/FixedLeg.md)
|
|
1045
1048
|
- [FixedLegAllOfOverrides](docs/FixedLegAllOfOverrides.md)
|
|
1046
1049
|
- [FixedSchedule](docs/FixedSchedule.md)
|
|
@@ -1096,8 +1099,10 @@ Class | Method | HTTP request | Description
|
|
|
1096
1099
|
- [GetVirtualDocumentResponse](docs/GetVirtualDocumentResponse.md)
|
|
1097
1100
|
- [GroupBySelectorComplianceParameter](docs/GroupBySelectorComplianceParameter.md)
|
|
1098
1101
|
- [GroupByStep](docs/GroupByStep.md)
|
|
1102
|
+
- [GroupByStepRequest](docs/GroupByStepRequest.md)
|
|
1099
1103
|
- [GroupFilterPredicateComplianceParameter](docs/GroupFilterPredicateComplianceParameter.md)
|
|
1100
1104
|
- [GroupFilterStep](docs/GroupFilterStep.md)
|
|
1105
|
+
- [GroupFilterStepRequest](docs/GroupFilterStepRequest.md)
|
|
1101
1106
|
- [GroupOfMarketDataKeyRules](docs/GroupOfMarketDataKeyRules.md)
|
|
1102
1107
|
- [GroupedResultOfAddressKey](docs/GroupedResultOfAddressKey.md)
|
|
1103
1108
|
- [HoldingAdjustment](docs/HoldingAdjustment.md)
|
|
@@ -1153,6 +1158,7 @@ Class | Method | HTTP request | Description
|
|
|
1153
1158
|
- [InterestRateSwap](docs/InterestRateSwap.md)
|
|
1154
1159
|
- [InterestRateSwaption](docs/InterestRateSwaption.md)
|
|
1155
1160
|
- [IntermediateComplianceStep](docs/IntermediateComplianceStep.md)
|
|
1161
|
+
- [IntermediateComplianceStepRequest](docs/IntermediateComplianceStepRequest.md)
|
|
1156
1162
|
- [IrVolCubeData](docs/IrVolCubeData.md)
|
|
1157
1163
|
- [IrVolDependency](docs/IrVolDependency.md)
|
|
1158
1164
|
- [IsBusinessDayResponse](docs/IsBusinessDayResponse.md)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
lusid/__init__.py,sha256=
|
|
1
|
+
lusid/__init__.py,sha256=OUMDm6jTJP3vyRUTx2XJ20fV4p0gx2wtqH8YX1pWSaQ,109263
|
|
2
2
|
lusid/api/__init__.py,sha256=PFpT-ADthWd08-JqKOqQTbVW6cz9wdP_us6bg3aBFfs,5555
|
|
3
3
|
lusid/api/abor_api.py,sha256=AvgsHuWE7qRSYJhKveBE2htSjHpqqS0VNJrysAfwME0,159655
|
|
4
4
|
lusid/api/abor_configuration_api.py,sha256=G2bKPtMYOZ2GhUrg-nPJtCa9XIZdZYK7oafcbJWDMP8,64033
|
|
@@ -67,7 +67,7 @@ lusid/api/transaction_portfolios_api.py,sha256=3HznPMjDx_ohFwiJN8pii2aS8NMeKu23K
|
|
|
67
67
|
lusid/api/translation_api.py,sha256=xTAaKEW96JTDIZBXCjxSguCa7Gz4oVd5jdObUE2egwo,20092
|
|
68
68
|
lusid/api_client.py,sha256=dF6l9RAsdxdQjf6Qn4ny6LB-QXlJmsscWiozCvyyBFA,30709
|
|
69
69
|
lusid/api_response.py,sha256=6-gnhty6lu8MMAERt3_kTVD7UxQgWFfcjgpcq6iN5IU,855
|
|
70
|
-
lusid/configuration.py,sha256=
|
|
70
|
+
lusid/configuration.py,sha256=DBcd1zHji6CcXLDfylCGwKhT9THqf1gKqLw2uKu7SDI,14404
|
|
71
71
|
lusid/exceptions.py,sha256=HIQwgmQrszLlcVCLaqex8dO0laVuejUyOMz7U2ZWJ6s,5326
|
|
72
72
|
lusid/extensions/__init__.py,sha256=DeUuQP7yTcklJH7LT-bw9wQhKEggcs1KwQbPbFcOlhw,560
|
|
73
73
|
lusid/extensions/api_client.py,sha256=Ob06urm4Em3MLzgP_geyeeGsPCkU225msW_1kpIeABM,30567
|
|
@@ -80,7 +80,7 @@ lusid/extensions/rest.py,sha256=tjVCu-cRrYcjp-ttB975vebPKtBNyBWaeoAdO3QXG2I,1269
|
|
|
80
80
|
lusid/extensions/retry.py,sha256=orBJ1uF1iT1IncjWX1iGHVqsCgTh0SBe9rtiV_sPnwk,11564
|
|
81
81
|
lusid/extensions/socket_keep_alive.py,sha256=NGlqsv-E25IjJOLGZhXZY6kUdx51nEF8qCQyVdzayRk,1653
|
|
82
82
|
lusid/extensions/tcp_keep_alive_connector.py,sha256=zaGtUsygRsxB1_4B3x39K3ILwztdhMLDv5bFZV7zmGE,3877
|
|
83
|
-
lusid/models/__init__.py,sha256=
|
|
83
|
+
lusid/models/__init__.py,sha256=fG_tzzqK7TYJOBAPOasKNB-0UQPyNG2wkmhuI9cCdz4,102751
|
|
84
84
|
lusid/models/a2_b_breakdown.py,sha256=Txi12EIQw3mH6NM-25QkOnHSQc3BVAWrP7yl9bZswSY,2947
|
|
85
85
|
lusid/models/a2_b_category.py,sha256=k6NPAACi0CUjKyhdQac4obQSrPmp2PXD6lkAtCnyEFM,2725
|
|
86
86
|
lusid/models/a2_b_data_record.py,sha256=zKGS2P4fzNpzdcGJiSIpkY4P3d_jAcawYfyuPCDeQgk,9737
|
|
@@ -163,6 +163,7 @@ lusid/models/book_transactions_response.py,sha256=4duW5WZ1cspArgEXKbm2eWXROYkJ1e
|
|
|
163
163
|
lusid/models/bool_compliance_parameter.py,sha256=4KLs6EkHeUkR_wYPsSJitbGFD5QGURwUuJXE23FLUyA,5168
|
|
164
164
|
lusid/models/bool_list_compliance_parameter.py,sha256=AcUcuMXWSxYHvFMVdlpssXtNj_yofL5r5zIEbthASyE,5457
|
|
165
165
|
lusid/models/branch_step.py,sha256=-YBTWzU3CnOQTIUiDWOeQHDzGXja16OeTIOrzrYRGNc,3857
|
|
166
|
+
lusid/models/branch_step_request.py,sha256=WiKvG_fs-xREw0-dwYYeDwqZL9HppNa42SItzZ1QgZg,3360
|
|
166
167
|
lusid/models/bucketed_cash_flow_request.py,sha256=KQpdr91i4ZN3FGPsN5wseqb-_miMicctOEAi7cTKWEc,10445
|
|
167
168
|
lusid/models/bucketed_cash_flow_response.py,sha256=Vmw1I1l-zrnqVDjReLKRJQD6i8MdD4q04sreJpyh0JQ,5611
|
|
168
169
|
lusid/models/bucketing_schedule.py,sha256=D72KfpglK3DnP0u3sUgsirw3UUkfHwpVST0pi2J0BXs,2100
|
|
@@ -192,6 +193,7 @@ lusid/models/chart_of_accounts.py,sha256=jKN7uZSpwpx4j_BLL2mvGRzgloNDsvZJuCzK_QL
|
|
|
192
193
|
lusid/models/chart_of_accounts_properties.py,sha256=hlMxnHS7agHT10u4pMudrHIsFQGZ-8FYDno9VsiA2bc,4354
|
|
193
194
|
lusid/models/chart_of_accounts_request.py,sha256=XFhiY5FplC5dBZuXKcZWszP_K8X_mc_EFDo2C-Q0bbE,4549
|
|
194
195
|
lusid/models/check_step.py,sha256=fdasTD24pTTi2_iZ51JSIEsBBZRWeo2iic9I34Tmr0M,4758
|
|
196
|
+
lusid/models/check_step_request.py,sha256=_AWAYVzgEsyXld-8FIGPPP1PYxGmgIELru0UVPzb8cg,3352
|
|
195
197
|
lusid/models/cleardown_module_details.py,sha256=xveze4WDt0fGeOauY970Hkhyy9Ki3bQeZ3suxh0teh0,3332
|
|
196
198
|
lusid/models/cleardown_module_request.py,sha256=kGM6RVO5Xcw5pTVebJq6BaG2157FhNTmIG_V2T9E2zM,4507
|
|
197
199
|
lusid/models/cleardown_module_response.py,sha256=SjHPnXa8sgJmEniGDeZu4wxkNQke5SJD1ICSe10G7Ng,6150
|
|
@@ -223,9 +225,9 @@ lusid/models/compliance_rule_upsert_response.py,sha256=XMXmAkYSvIBvV8w12TjvhIkCB
|
|
|
223
225
|
lusid/models/compliance_run_info.py,sha256=8wPXKyXzX3Mu2UFZd84qI2c9Wl7nG2ihcFuU2k-UPpE,3437
|
|
224
226
|
lusid/models/compliance_run_info_v2.py,sha256=z6OnjF92yy5bqqfJg3r4qJ7RgH_t7FIGBZJ8lMpX518,2703
|
|
225
227
|
lusid/models/compliance_step.py,sha256=cFInSCpM-anA1u9s0HqAFDeI8UX_5nDdKt_bROzuH6g,3801
|
|
226
|
-
lusid/models/compliance_step_request.py,sha256=
|
|
228
|
+
lusid/models/compliance_step_request.py,sha256=n8VSJi4SgTSi1bfPudErcwN3RLe6ui9JBqt1xVRUrqw,4033
|
|
227
229
|
lusid/models/compliance_step_type.py,sha256=-_c_J3Esnzkf6jyN5dHdbT5jD9ABqkY__8tmMiPfpas,827
|
|
228
|
-
lusid/models/compliance_step_type_request.py,sha256=
|
|
230
|
+
lusid/models/compliance_step_type_request.py,sha256=dInb5PnqqaXRa_ZUTzHzwdrK6sYk_kVTWk9OpJJrAHc,896
|
|
229
231
|
lusid/models/compliance_summary_rule_result.py,sha256=DcFwqv71C-UgDtc7AE8qoCBKSXjXQKEsF4bskqBwvv0,4919
|
|
230
232
|
lusid/models/compliance_summary_rule_result_request.py,sha256=3n4eaQttxBz_JfZwR-5AAmNAAurc2lw2e9CKNaT4xQo,5038
|
|
231
233
|
lusid/models/compliance_template.py,sha256=Dm4UFVGU60V77R76CDsotQGTnZtR3kYq73LGGvWXIAs,4039
|
|
@@ -383,6 +385,7 @@ lusid/models/field_value.py,sha256=URkb3GsufYe8EUFZFmwJ5rqessUfVv8pkK2hi9MrKrU,2
|
|
|
383
385
|
lusid/models/file_response.py,sha256=gW2RFH829th_53z4jP4ssnEt8kNp-nCNkE2M1WbXsss,3006
|
|
384
386
|
lusid/models/filter_predicate_compliance_parameter.py,sha256=d9WaSIPwIqSri9qtwNAm9H7wTT-9ConGzajvg3OFkZ4,5275
|
|
385
387
|
lusid/models/filter_step.py,sha256=59GcsBp_Y7D3MXN-_kZKRXcBYw9ZRDXMlH1Qm_TOj4g,3857
|
|
388
|
+
lusid/models/filter_step_request.py,sha256=uhDwkG1IrJdb5fUZIoJ6H95U-TVlpYXo7XRyspvk2Js,3360
|
|
386
389
|
lusid/models/fixed_leg.py,sha256=HkKftiIQHb0f3pGE8ItI6Ep3EQTVnZ-WRAYGLmCjBfw,6618
|
|
387
390
|
lusid/models/fixed_leg_all_of_overrides.py,sha256=JR8DwX7y3sO5i6vBEJHdBmaaJKQqLSAQd7AoMzp21Q0,2879
|
|
388
391
|
lusid/models/fixed_schedule.py,sha256=GWEPNZF2aN7RNmGeOc-MDPcnynvo16RzQMPtgw0VCAg,7174
|
|
@@ -438,8 +441,10 @@ lusid/models/get_structured_result_data_response.py,sha256=NGI9XUHz-r1i9D11GoJvl
|
|
|
438
441
|
lusid/models/get_virtual_document_response.py,sha256=ILcQKbCIFXNnKnmEKhTAv4bd-MnmuzMoB9sAU-CgUFc,4912
|
|
439
442
|
lusid/models/group_by_selector_compliance_parameter.py,sha256=oGTN-MKg1JpsyT-0e73O-eVypaapTIlVt54oBjJIQ7o,5275
|
|
440
443
|
lusid/models/group_by_step.py,sha256=eOmCjffBBbkKmmTdfYCzlZ-rQPmYnIyJgG_Ke2bAAKk,3865
|
|
444
|
+
lusid/models/group_by_step_request.py,sha256=VWm7yt-_3oMEo5CPhi6lpl6whRvTo4kiUjB2FnMIMrM,3368
|
|
441
445
|
lusid/models/group_filter_predicate_compliance_parameter.py,sha256=o_wWbP70WQ2QKOg6ji7INQG5J6c7xN3fGLpvR5rZXpU,5315
|
|
442
446
|
lusid/models/group_filter_step.py,sha256=v5BO-5nHi_qEX0ygdDJvwok4n9IesMp9TqKrvwyu7T4,4806
|
|
447
|
+
lusid/models/group_filter_step_request.py,sha256=Wo2AnQdiJPpuJLVgVItKIr0RoQnCfC9ig_wJoKeUGu4,3400
|
|
443
448
|
lusid/models/group_of_market_data_key_rules.py,sha256=CX0B47yMarl4PKINWsSMrjxbK7_inN5fpdgFx7Cilag,3322
|
|
444
449
|
lusid/models/grouped_result_of_address_key.py,sha256=0QJiqtjI9E1HAVTk7z-djloCLgmBzmPo4F89lPnDGRM,3114
|
|
445
450
|
lusid/models/holding_adjustment.py,sha256=r1aezT3lh-Gk0DED9Oost7ZDjYUHPd8kNzIayfTU3EM,6451
|
|
@@ -495,6 +500,7 @@ lusid/models/instrument_type.py,sha256=2rA8q-uUya7c4HMO_ymjWWKoOfoZcpJVteumwda4f
|
|
|
495
500
|
lusid/models/interest_rate_swap.py,sha256=2ns5ffTNyMWOGFlm0xJlTeJf05arhaQ_t_qucN6P_io,8820
|
|
496
501
|
lusid/models/interest_rate_swaption.py,sha256=WqW0xjRYzRFumnEYeqoztruylg0Ql3uS2WFXQ6sVPtc,6239
|
|
497
502
|
lusid/models/intermediate_compliance_step.py,sha256=BTsvWjA9bWjrKzzqB3_4YyRmvnVHatpD9KUHFau8RsU,4403
|
|
503
|
+
lusid/models/intermediate_compliance_step_request.py,sha256=ewZ8jK4dxQhVX7CWQfusE2wUwXb8tunLm7y_BPnpHzQ,3488
|
|
498
504
|
lusid/models/ir_vol_cube_data.py,sha256=2USuuiZigPzS0kwmMMTu1Ih9GHln6TAkPamcYNmUYQ4,5867
|
|
499
505
|
lusid/models/ir_vol_dependency.py,sha256=D937a4jaVJw75aCY4iQfkwVQW9T5F_vL8g6pbULBmMQ,4523
|
|
500
506
|
lusid/models/is_business_day_response.py,sha256=LMwNCeJaC1JJ1W5Qp9WkWOBQ-mBA036kPYkG7p-7Yjs,2163
|
|
@@ -1057,6 +1063,6 @@ lusid/models/weighted_instruments.py,sha256=1y_y_vw4-LPsbkQx4FOzWdZc5fJnzhVkf1D3
|
|
|
1057
1063
|
lusid/models/yield_curve_data.py,sha256=SbxvdJ4-GWK9kpMdw4Fnxc7_kvIMwgsRsd_31UJn7nw,6330
|
|
1058
1064
|
lusid/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
1059
1065
|
lusid/rest.py,sha256=TNUzQ3yLNT2L053EdR7R0vNzQh2J3TlYD1T56Dye0W0,10138
|
|
1060
|
-
lusid_sdk-2.1.
|
|
1061
|
-
lusid_sdk-2.1.
|
|
1062
|
-
lusid_sdk-2.1.
|
|
1066
|
+
lusid_sdk-2.1.134.dist-info/METADATA,sha256=5Ir6j5A3N-YKKbiO-MlcJB1r2ZIP1DtSgB0omnxO77w,187378
|
|
1067
|
+
lusid_sdk-2.1.134.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
1068
|
+
lusid_sdk-2.1.134.dist-info/RECORD,,
|
|
File without changes
|