lusid-sdk 1.1.229__py3-none-any.whl → 1.1.237__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.

Files changed (954) hide show
  1. lusid/__init__.py +22 -2
  2. lusid/__version__.py +1 -1
  3. lusid/api/address_key_definition_api.py +4 -4
  4. lusid/api/aggregation_api.py +4 -4
  5. lusid/api/allocations_api.py +5 -5
  6. lusid/api/application_metadata_api.py +4 -4
  7. lusid/api/blocks_api.py +5 -5
  8. lusid/api/calendars_api.py +15 -15
  9. lusid/api/complex_market_data_api.py +4 -4
  10. lusid/api/compliance_api.py +16 -16
  11. lusid/api/configuration_recipe_api.py +5 -5
  12. lusid/api/corporate_action_sources_api.py +9 -9
  13. lusid/api/counterparties_api.py +9 -9
  14. lusid/api/custom_entities_api.py +12 -12
  15. lusid/api/custom_entity_definitions_api.py +5 -5
  16. lusid/api/custom_entity_types_api.py +5 -5
  17. lusid/api/cut_label_definitions_api.py +6 -6
  18. lusid/api/data_types_api.py +10 -10
  19. lusid/api/derived_transaction_portfolios_api.py +3 -3
  20. lusid/api/entities_api.py +2 -2
  21. lusid/api/executions_api.py +5 -5
  22. lusid/api/instrument_events_api.py +2 -2
  23. lusid/api/instruments_api.py +218 -17
  24. lusid/api/legal_entities_api.py +19 -19
  25. lusid/api/order_graph_api.py +4 -4
  26. lusid/api/order_management_api.py +157 -8
  27. lusid/api/orders_api.py +5 -5
  28. lusid/api/participations_api.py +5 -5
  29. lusid/api/persons_api.py +19 -19
  30. lusid/api/placements_api.py +5 -5
  31. lusid/api/portfolio_groups_api.py +26 -26
  32. lusid/api/portfolios_api.py +31 -31
  33. lusid/api/property_definitions_api.py +12 -12
  34. lusid/api/queryable_keys_api.py +2 -2
  35. lusid/api/quotes_api.py +6 -6
  36. lusid/api/reconciliations_api.py +10 -10
  37. lusid/api/reference_lists_api.py +5 -5
  38. lusid/api/reference_portfolio_api.py +6 -6
  39. lusid/api/relationship_definitions_api.py +6 -6
  40. lusid/api/relationships_api.py +3 -3
  41. lusid/api/schemas_api.py +5 -5
  42. lusid/api/scopes_api.py +3 -3
  43. lusid/api/scripted_translation_api.py +9 -9
  44. lusid/api/search_api.py +5 -5
  45. lusid/api/sequences_api.py +5 -5
  46. lusid/api/structured_result_data_api.py +6 -6
  47. lusid/api/system_configuration_api.py +3 -3
  48. lusid/api/transaction_configuration_api.py +12 -12
  49. lusid/api/transaction_portfolios_api.py +304 -30
  50. lusid/api_client.py +2 -2
  51. lusid/configuration.py +3 -3
  52. lusid/exceptions.py +1 -1
  53. lusid/models/__init__.py +21 -1
  54. lusid/models/a2_b_breakdown.py +1 -1
  55. lusid/models/a2_b_category.py +1 -1
  56. lusid/models/a2_b_data_record.py +1 -1
  57. lusid/models/a2_b_movement_record.py +1 -1
  58. lusid/models/access_controlled_action.py +4 -10
  59. lusid/models/access_controlled_resource.py +7 -19
  60. lusid/models/access_metadata_operation.py +1 -1
  61. lusid/models/access_metadata_value.py +1 -1
  62. lusid/models/accumulation_event.py +5 -5
  63. lusid/models/accumulation_event_all_of.py +5 -5
  64. lusid/models/action_id.py +1 -1
  65. lusid/models/add_business_days_to_date_request.py +1 -1
  66. lusid/models/add_business_days_to_date_response.py +1 -1
  67. lusid/models/additional_payment.py +1 -1
  68. lusid/models/address_definition.py +1 -1
  69. lusid/models/address_key_compliance_parameter.py +1 -1
  70. lusid/models/address_key_compliance_parameter_all_of.py +1 -1
  71. lusid/models/address_key_definition.py +2 -4
  72. lusid/models/address_key_filter.py +1 -1
  73. lusid/models/address_key_list.py +1 -1
  74. lusid/models/address_key_list_all_of.py +1 -1
  75. lusid/models/address_key_list_compliance_parameter.py +1 -1
  76. lusid/models/address_key_list_compliance_parameter_all_of.py +1 -1
  77. lusid/models/address_key_option_definition.py +1 -1
  78. lusid/models/adjust_holding.py +2 -4
  79. lusid/models/adjust_holding_for_date_request.py +1 -1
  80. lusid/models/adjust_holding_request.py +1 -1
  81. lusid/models/aggregate_spec.py +1 -1
  82. lusid/models/aggregated_return.py +1 -1
  83. lusid/models/aggregated_returns_dispersion_request.py +1 -1
  84. lusid/models/aggregated_returns_request.py +1 -1
  85. lusid/models/aggregated_returns_response.py +2 -4
  86. lusid/models/aggregation_context.py +1 -1
  87. lusid/models/aggregation_measure_failure_detail.py +1 -1
  88. lusid/models/aggregation_options.py +1 -1
  89. lusid/models/aggregation_query.py +1 -1
  90. lusid/models/allocation.py +2 -4
  91. lusid/models/allocation_request.py +1 -1
  92. lusid/models/allocation_set_request.py +1 -1
  93. lusid/models/amortisation_event.py +5 -5
  94. lusid/models/amortisation_event_all_of.py +5 -5
  95. lusid/models/annul_quotes_response.py +2 -4
  96. lusid/models/annul_single_structured_data_response.py +2 -4
  97. lusid/models/annul_structured_data_response.py +2 -4
  98. lusid/models/asset_leg.py +1 -1
  99. lusid/models/barrier.py +1 -1
  100. lusid/models/basket.py +5 -5
  101. lusid/models/basket_all_of.py +5 -5
  102. lusid/models/basket_identifier.py +1 -1
  103. lusid/models/batch_adjust_holdings_response.py +2 -4
  104. lusid/models/batch_upsert_dates_for_calendar_response.py +2 -4
  105. lusid/models/batch_upsert_instrument_properties_response.py +2 -4
  106. lusid/models/batch_upsert_portfolio_access_metadata_request.py +1 -1
  107. lusid/models/batch_upsert_portfolio_access_metadata_response.py +2 -4
  108. lusid/models/batch_upsert_portfolio_access_metadata_response_item.py +1 -1
  109. lusid/models/batch_upsert_portfolio_transactions_response.py +2 -4
  110. lusid/models/batch_upsert_property_definition_properties_response.py +2 -4
  111. lusid/models/block.py +2 -4
  112. lusid/models/block_and_order_id_request.py +1 -1
  113. lusid/models/block_and_orders.py +1 -1
  114. lusid/models/block_and_orders_create_request.py +1 -1
  115. lusid/models/block_and_orders_request.py +1 -1
  116. lusid/models/block_request.py +1 -1
  117. lusid/models/block_set_request.py +1 -1
  118. lusid/models/blocked_order_request.py +1 -1
  119. lusid/models/bond.py +5 -5
  120. lusid/models/bond_all_of.py +5 -5
  121. lusid/models/bond_coupon_event.py +5 -5
  122. lusid/models/bond_coupon_event_all_of.py +5 -5
  123. lusid/models/bond_default_event.py +5 -5
  124. lusid/models/bond_default_event_all_of.py +5 -5
  125. lusid/models/bond_principal_event.py +5 -5
  126. lusid/models/bond_principal_event_all_of.py +5 -5
  127. lusid/models/bonus_issue_event.py +426 -0
  128. lusid/models/bonus_issue_event_all_of.py +426 -0
  129. lusid/models/bool_compliance_parameter.py +1 -1
  130. lusid/models/bool_compliance_parameter_all_of.py +1 -1
  131. lusid/models/bool_list_compliance_parameter.py +1 -1
  132. lusid/models/branch_step.py +1 -1
  133. lusid/models/branch_step_all_of.py +1 -1
  134. lusid/models/branch_step_request.py +1 -1
  135. lusid/models/branch_step_request_all_of.py +1 -1
  136. lusid/models/bucketed_cash_flow_response.py +2 -4
  137. lusid/models/bucketing_schedule.py +1 -1
  138. lusid/models/calendar.py +2 -4
  139. lusid/models/calendar_date.py +1 -1
  140. lusid/models/calendar_dependency.py +1 -1
  141. lusid/models/calendar_dependency_all_of.py +1 -1
  142. lusid/models/cancel_order_and_move_remaining_result.py +201 -0
  143. lusid/models/cancel_orders_and_move_remaining_request.py +204 -0
  144. lusid/models/cancel_orders_and_move_remaining_response.py +262 -0
  145. lusid/models/cancel_orders_response.py +2 -4
  146. lusid/models/cancel_placements_response.py +2 -4
  147. lusid/models/cancelled_order_result.py +1 -1
  148. lusid/models/cancelled_placement_result.py +1 -1
  149. lusid/models/cap_floor.py +5 -5
  150. lusid/models/cap_floor_all_of.py +5 -5
  151. lusid/models/capital_distribution_event.py +5 -5
  152. lusid/models/capital_distribution_event_all_of.py +5 -5
  153. lusid/models/cash.py +5 -5
  154. lusid/models/cash_all_of.py +5 -5
  155. lusid/models/cash_and_security_offer_election.py +1 -1
  156. lusid/models/cash_dependency.py +1 -1
  157. lusid/models/cash_dependency_all_of.py +1 -1
  158. lusid/models/cash_dividend_event.py +5 -5
  159. lusid/models/cash_dividend_event_all_of.py +5 -5
  160. lusid/models/cash_election.py +1 -1
  161. lusid/models/cash_flow_event.py +5 -5
  162. lusid/models/cash_flow_event_all_of.py +5 -5
  163. lusid/models/cash_flow_lineage.py +1 -1
  164. lusid/models/cash_flow_value.py +1 -1
  165. lusid/models/cash_flow_value_all_of.py +1 -1
  166. lusid/models/cash_flow_value_set.py +1 -1
  167. lusid/models/cash_flow_value_set_all_of.py +1 -1
  168. lusid/models/cash_ladder_record.py +1 -1
  169. lusid/models/cash_offer_election.py +1 -1
  170. lusid/models/cash_perpetual.py +5 -5
  171. lusid/models/cash_perpetual_all_of.py +5 -5
  172. lusid/models/cds_credit_event.py +5 -5
  173. lusid/models/cds_credit_event_all_of.py +5 -5
  174. lusid/models/cds_flow_conventions.py +1 -1
  175. lusid/models/cds_index.py +5 -5
  176. lusid/models/cds_index_all_of.py +5 -5
  177. lusid/models/cds_protection_detail_specification.py +1 -1
  178. lusid/models/cdx_credit_event.py +5 -5
  179. lusid/models/cdx_credit_event_all_of.py +5 -5
  180. lusid/models/change.py +2 -4
  181. lusid/models/change_history.py +2 -4
  182. lusid/models/change_item.py +1 -1
  183. lusid/models/check_step.py +1 -1
  184. lusid/models/check_step_all_of.py +1 -1
  185. lusid/models/check_step_request.py +1 -1
  186. lusid/models/close_event.py +5 -5
  187. lusid/models/close_event_all_of.py +5 -5
  188. lusid/models/complete_portfolio.py +2 -4
  189. lusid/models/complete_relationship.py +1 -1
  190. lusid/models/complex_bond.py +5 -5
  191. lusid/models/complex_bond_all_of.py +5 -5
  192. lusid/models/complex_market_data.py +1 -1
  193. lusid/models/complex_market_data_id.py +1 -1
  194. lusid/models/compliance_parameter.py +1 -1
  195. lusid/models/compliance_rule_breakdown.py +1 -1
  196. lusid/models/compliance_rule_breakdown_request.py +1 -1
  197. lusid/models/compliance_rule_response.py +2 -4
  198. lusid/models/compliance_rule_result_detail.py +1 -1
  199. lusid/models/compliance_rule_result_portfolio_detail.py +1 -1
  200. lusid/models/compliance_rule_result_v2.py +1 -1
  201. lusid/models/compliance_rule_template.py +2 -4
  202. lusid/models/compliance_run_configuration.py +1 -1
  203. lusid/models/compliance_run_info_v2.py +1 -1
  204. lusid/models/compliance_step.py +1 -1
  205. lusid/models/compliance_step_request.py +1 -1
  206. lusid/models/compliance_summary_rule_result.py +1 -1
  207. lusid/models/compliance_summary_rule_result_request.py +1 -1
  208. lusid/models/compliance_template.py +2 -4
  209. lusid/models/compliance_template_parameter.py +1 -1
  210. lusid/models/compliance_template_variation.py +1 -1
  211. lusid/models/compliance_template_variation_dto.py +1 -1
  212. lusid/models/compliance_template_variation_request.py +1 -1
  213. lusid/models/composite_breakdown.py +1 -1
  214. lusid/models/composite_breakdown_request.py +1 -1
  215. lusid/models/composite_breakdown_response.py +2 -4
  216. lusid/models/composite_dispersion.py +1 -1
  217. lusid/models/composite_dispersion_response.py +2 -4
  218. lusid/models/compounding.py +1 -1
  219. lusid/models/configuration_recipe.py +1 -1
  220. lusid/models/constant_volatility_surface.py +1 -1
  221. lusid/models/constant_volatility_surface_all_of.py +1 -1
  222. lusid/models/constituents_adjustment_header.py +2 -4
  223. lusid/models/contract_for_difference.py +5 -5
  224. lusid/models/contract_for_difference_all_of.py +5 -5
  225. lusid/models/corporate_action.py +1 -1
  226. lusid/models/corporate_action_source.py +2 -4
  227. lusid/models/corporate_action_transition.py +1 -1
  228. lusid/models/corporate_action_transition_component.py +1 -1
  229. lusid/models/corporate_action_transition_component_request.py +1 -1
  230. lusid/models/corporate_action_transition_request.py +1 -1
  231. lusid/models/counterparty_agreement.py +1 -1
  232. lusid/models/counterparty_risk_information.py +1 -1
  233. lusid/models/counterparty_signatory.py +1 -1
  234. lusid/models/create_address_key_definition_request.py +1 -1
  235. lusid/models/create_calendar_request.py +1 -1
  236. lusid/models/create_compliance_template_request.py +1 -1
  237. lusid/models/create_corporate_action_source_request.py +1 -1
  238. lusid/models/create_custom_entity_type_request.py +1 -1
  239. lusid/models/create_cut_label_definition_request.py +1 -1
  240. lusid/models/create_data_map_request.py +1 -1
  241. lusid/models/create_data_type_request.py +1 -1
  242. lusid/models/create_date_request.py +1 -1
  243. lusid/models/create_derived_property_definition_request.py +1 -1
  244. lusid/models/create_derived_transaction_portfolio_request.py +5 -5
  245. lusid/models/create_portfolio_details.py +1 -1
  246. lusid/models/create_portfolio_group_request.py +1 -1
  247. lusid/models/create_property_definition_request.py +1 -1
  248. lusid/models/create_reference_portfolio_request.py +1 -1
  249. lusid/models/create_relationship_definition_request.py +1 -1
  250. lusid/models/create_relationship_request.py +1 -1
  251. lusid/models/create_sequence_request.py +1 -1
  252. lusid/models/create_trade_tickets_response.py +1 -1
  253. lusid/models/create_transaction_portfolio_request.py +5 -5
  254. lusid/models/create_unit_definition.py +1 -1
  255. lusid/models/credit_default_swap.py +5 -5
  256. lusid/models/credit_default_swap_all_of.py +5 -5
  257. lusid/models/credit_premium_cash_flow_event.py +5 -5
  258. lusid/models/credit_premium_cash_flow_event_all_of.py +5 -5
  259. lusid/models/credit_rating.py +1 -1
  260. lusid/models/credit_spread_curve_data.py +1 -1
  261. lusid/models/credit_spread_curve_data_all_of.py +1 -1
  262. lusid/models/credit_support_annex.py +1 -1
  263. lusid/models/currency_and_amount.py +1 -1
  264. lusid/models/custodian_account.py +1 -1
  265. lusid/models/custom_entity_definition.py +2 -4
  266. lusid/models/custom_entity_definition_request.py +1 -1
  267. lusid/models/custom_entity_field.py +1 -1
  268. lusid/models/custom_entity_field_definition.py +1 -1
  269. lusid/models/custom_entity_id.py +1 -1
  270. lusid/models/custom_entity_request.py +1 -1
  271. lusid/models/custom_entity_response.py +2 -4
  272. lusid/models/custom_entity_type.py +2 -4
  273. lusid/models/cut_label_definition.py +2 -4
  274. lusid/models/cut_local_time.py +1 -1
  275. lusid/models/data_definition.py +1 -1
  276. lusid/models/data_map_key.py +1 -1
  277. lusid/models/data_mapping.py +1 -1
  278. lusid/models/data_type.py +2 -4
  279. lusid/models/data_type_summary.py +1 -1
  280. lusid/models/date_attributes.py +1 -1
  281. lusid/models/date_range.py +1 -1
  282. lusid/models/date_time_compliance_parameter.py +1 -1
  283. lusid/models/date_time_compliance_parameter_all_of.py +1 -1
  284. lusid/models/date_time_list_compliance_parameter.py +1 -1
  285. lusid/models/day_of_week.py +1 -1
  286. lusid/models/decimal_compliance_parameter.py +1 -1
  287. lusid/models/decimal_compliance_parameter_all_of.py +1 -1
  288. lusid/models/decimal_list.py +1 -1
  289. lusid/models/decimal_list_all_of.py +1 -1
  290. lusid/models/decimal_list_compliance_parameter.py +1 -1
  291. lusid/models/decorated_compliance_run_summary.py +1 -1
  292. lusid/models/delete_instrument_properties_response.py +2 -4
  293. lusid/models/delete_instrument_response.py +2 -4
  294. lusid/models/delete_instruments_response.py +2 -4
  295. lusid/models/delete_relationship_request.py +1 -1
  296. lusid/models/deleted_entity_response.py +2 -4
  297. lusid/models/dependency_source_filter.py +1 -1
  298. lusid/models/dialect.py +1 -1
  299. lusid/models/dialect_id.py +1 -1
  300. lusid/models/dialect_schema.py +1 -1
  301. lusid/models/discount_factor_curve_data.py +1 -1
  302. lusid/models/discount_factor_curve_data_all_of.py +1 -1
  303. lusid/models/discounting_dependency.py +1 -1
  304. lusid/models/discounting_dependency_all_of.py +1 -1
  305. lusid/models/dividend_option_event.py +5 -5
  306. lusid/models/dividend_option_event_all_of.py +5 -5
  307. lusid/models/dividend_reinvestment_event.py +5 -5
  308. lusid/models/dividend_reinvestment_event_all_of.py +5 -5
  309. lusid/models/economic_dependency.py +1 -1
  310. lusid/models/economic_dependency_with_complex_market_data.py +1 -1
  311. lusid/models/economic_dependency_with_quote.py +1 -1
  312. lusid/models/empty_model_options.py +1 -1
  313. lusid/models/empty_model_options_all_of.py +1 -1
  314. lusid/models/entity_identifier.py +1 -1
  315. lusid/models/equity.py +5 -5
  316. lusid/models/equity_all_of.py +5 -5
  317. lusid/models/equity_all_of_identifiers.py +1 -1
  318. lusid/models/equity_curve_by_prices_data.py +1 -1
  319. lusid/models/equity_curve_by_prices_data_all_of.py +1 -1
  320. lusid/models/equity_curve_dependency.py +1 -1
  321. lusid/models/equity_curve_dependency_all_of.py +1 -1
  322. lusid/models/equity_model_options.py +1 -1
  323. lusid/models/equity_model_options_all_of.py +1 -1
  324. lusid/models/equity_option.py +5 -5
  325. lusid/models/equity_option_all_of.py +5 -5
  326. lusid/models/equity_swap.py +5 -5
  327. lusid/models/equity_swap_all_of.py +5 -5
  328. lusid/models/equity_vol_dependency.py +1 -1
  329. lusid/models/equity_vol_dependency_all_of.py +1 -1
  330. lusid/models/equity_vol_surface_data.py +1 -1
  331. lusid/models/equity_vol_surface_data_all_of.py +1 -1
  332. lusid/models/error_detail.py +1 -1
  333. lusid/models/event_date_range.py +1 -1
  334. lusid/models/ex_dividend_configuration.py +1 -1
  335. lusid/models/exchange_traded_option.py +5 -5
  336. lusid/models/exchange_traded_option_all_of.py +5 -5
  337. lusid/models/exchange_traded_option_contract_details.py +1 -1
  338. lusid/models/execution.py +2 -4
  339. lusid/models/execution_request.py +1 -1
  340. lusid/models/execution_set_request.py +1 -1
  341. lusid/models/exercise_event.py +5 -5
  342. lusid/models/exercise_event_all_of.py +5 -5
  343. lusid/models/exotic_instrument.py +5 -5
  344. lusid/models/exotic_instrument_all_of.py +5 -5
  345. lusid/models/expanded_group.py +2 -4
  346. lusid/models/expiry_event.py +5 -5
  347. lusid/models/expiry_event_all_of.py +5 -5
  348. lusid/models/field_definition.py +1 -1
  349. lusid/models/field_schema.py +1 -1
  350. lusid/models/field_value.py +1 -1
  351. lusid/models/file_response.py +1 -1
  352. lusid/models/filter_predicate_compliance_parameter.py +1 -1
  353. lusid/models/filter_predicate_compliance_parameter_all_of.py +1 -1
  354. lusid/models/filter_step.py +1 -1
  355. lusid/models/filter_step_request.py +1 -1
  356. lusid/models/fixed_leg.py +5 -5
  357. lusid/models/fixed_leg_all_of.py +5 -5
  358. lusid/models/fixed_leg_all_of_overrides.py +1 -1
  359. lusid/models/flexible_loan.py +5 -5
  360. lusid/models/flexible_loan_all_of.py +5 -5
  361. lusid/models/floating_leg.py +5 -5
  362. lusid/models/floating_leg_all_of.py +5 -5
  363. lusid/models/flow_convention_name.py +1 -1
  364. lusid/models/flow_conventions.py +1 -1
  365. lusid/models/forward_rate_agreement.py +5 -5
  366. lusid/models/forward_rate_agreement_all_of.py +5 -5
  367. lusid/models/fund_id_list.py +1 -1
  368. lusid/models/fund_id_list_all_of.py +1 -1
  369. lusid/models/fund_share_class.py +36 -6
  370. lusid/models/fund_share_class_all_of.py +36 -6
  371. lusid/models/funding_leg.py +5 -5
  372. lusid/models/funding_leg_all_of.py +5 -5
  373. lusid/models/future.py +5 -5
  374. lusid/models/future_all_of.py +5 -5
  375. lusid/models/future_expiry_event.py +5 -5
  376. lusid/models/future_expiry_event_all_of.py +5 -5
  377. lusid/models/futures_contract_details.py +1 -1
  378. lusid/models/fx_conventions.py +1 -1
  379. lusid/models/fx_dependency.py +1 -1
  380. lusid/models/fx_dependency_all_of.py +1 -1
  381. lusid/models/fx_forward.py +5 -5
  382. lusid/models/fx_forward_all_of.py +5 -5
  383. lusid/models/fx_forward_curve_by_quote_reference.py +1 -1
  384. lusid/models/fx_forward_curve_by_quote_reference_all_of.py +1 -1
  385. lusid/models/fx_forward_curve_data.py +1 -1
  386. lusid/models/fx_forward_curve_data_all_of.py +1 -1
  387. lusid/models/fx_forward_model_options.py +1 -1
  388. lusid/models/fx_forward_model_options_all_of.py +1 -1
  389. lusid/models/fx_forward_pips_curve_data.py +1 -1
  390. lusid/models/fx_forward_pips_curve_data_all_of.py +1 -1
  391. lusid/models/fx_forward_settlement_event.py +5 -5
  392. lusid/models/fx_forward_settlement_event_all_of.py +5 -5
  393. lusid/models/fx_forward_tenor_curve_data.py +1 -1
  394. lusid/models/fx_forward_tenor_curve_data_all_of.py +1 -1
  395. lusid/models/fx_forward_tenor_pips_curve_data.py +1 -1
  396. lusid/models/fx_forward_tenor_pips_curve_data_all_of.py +1 -1
  397. lusid/models/fx_forwards_dependency.py +1 -1
  398. lusid/models/fx_forwards_dependency_all_of.py +1 -1
  399. lusid/models/fx_linked_notional_schedule.py +1 -1
  400. lusid/models/fx_linked_notional_schedule_all_of.py +1 -1
  401. lusid/models/fx_option.py +5 -5
  402. lusid/models/fx_option_all_of.py +5 -5
  403. lusid/models/fx_swap.py +5 -5
  404. lusid/models/fx_swap_all_of.py +5 -5
  405. lusid/models/fx_tenor_convention.py +1 -1
  406. lusid/models/fx_vol_dependency.py +1 -1
  407. lusid/models/fx_vol_dependency_all_of.py +1 -1
  408. lusid/models/fx_vol_surface_data.py +1 -1
  409. lusid/models/get_complex_market_data_response.py +2 -4
  410. lusid/models/get_counterparty_agreement_response.py +2 -4
  411. lusid/models/get_credit_support_annex_response.py +2 -4
  412. lusid/models/get_instruments_response.py +2 -4
  413. lusid/models/get_quotes_response.py +2 -4
  414. lusid/models/get_recipe_response.py +2 -4
  415. lusid/models/get_reference_portfolio_constituents_response.py +2 -4
  416. lusid/models/get_structured_result_data_response.py +2 -4
  417. lusid/models/group_by_selector_compliance_parameter.py +1 -1
  418. lusid/models/group_by_step.py +1 -1
  419. lusid/models/group_by_step_request.py +1 -1
  420. lusid/models/group_calculation_compliance_parameter.py +1 -1
  421. lusid/models/group_filter_predicate_compliance_parameter.py +1 -1
  422. lusid/models/group_filter_step.py +1 -1
  423. lusid/models/group_filter_step_all_of.py +1 -1
  424. lusid/models/group_filter_step_request.py +1 -1
  425. lusid/models/group_of_market_data_key_rules.py +1 -1
  426. lusid/models/holding_adjustment.py +1 -1
  427. lusid/models/holding_adjustment_with_date.py +1 -1
  428. lusid/models/holding_context.py +1 -1
  429. lusid/models/holding_contributor.py +35 -5
  430. lusid/models/holding_ids_request.py +149 -0
  431. lusid/models/holding_pricing_info.py +1 -1
  432. lusid/models/holdings_adjustment.py +2 -4
  433. lusid/models/holdings_adjustment_header.py +2 -4
  434. lusid/models/i_unit_definition_dto.py +1 -1
  435. lusid/models/id_selector_definition.py +1 -1
  436. lusid/models/identifier_part_schema.py +7 -19
  437. lusid/models/index_convention.py +1 -1
  438. lusid/models/index_model_options.py +1 -1
  439. lusid/models/index_model_options_all_of.py +1 -1
  440. lusid/models/index_projection_dependency.py +1 -1
  441. lusid/models/index_projection_dependency_all_of.py +1 -1
  442. lusid/models/industry_classifier.py +1 -1
  443. lusid/models/inflation_fixing_dependency.py +1 -1
  444. lusid/models/inflation_fixing_dependency_all_of.py +1 -1
  445. lusid/models/inflation_index_conventions.py +1 -1
  446. lusid/models/inflation_leg.py +5 -5
  447. lusid/models/inflation_leg_all_of.py +5 -5
  448. lusid/models/inflation_linked_bond.py +5 -5
  449. lusid/models/inflation_linked_bond_all_of.py +5 -5
  450. lusid/models/inflation_swap.py +5 -5
  451. lusid/models/inflation_swap_all_of.py +5 -5
  452. lusid/models/informational_error_event.py +5 -5
  453. lusid/models/informational_error_event_all_of.py +5 -5
  454. lusid/models/informational_event.py +5 -5
  455. lusid/models/informational_event_all_of.py +5 -5
  456. lusid/models/inline_valuation_request.py +1 -1
  457. lusid/models/inline_valuations_reconciliation_request.py +1 -1
  458. lusid/models/input_transition.py +1 -1
  459. lusid/models/instrument.py +2 -4
  460. lusid/models/instrument_cash_flow.py +2 -4
  461. lusid/models/instrument_definition.py +1 -1
  462. lusid/models/instrument_definition_format.py +1 -1
  463. lusid/models/instrument_event.py +10 -5
  464. lusid/models/instrument_event_configuration.py +1 -1
  465. lusid/models/instrument_event_holder.py +32 -2
  466. lusid/models/instrument_event_instruction.py +2 -4
  467. lusid/models/instrument_event_instruction_request.py +1 -1
  468. lusid/models/instrument_event_instructions_response.py +1 -1
  469. lusid/models/instrument_id_type_descriptor.py +1 -1
  470. lusid/models/instrument_id_value.py +1 -1
  471. lusid/models/instrument_leg.py +5 -5
  472. lusid/models/instrument_leg_all_of.py +5 -5
  473. lusid/models/instrument_list.py +1 -1
  474. lusid/models/instrument_list_all_of.py +1 -1
  475. lusid/models/instrument_list_compliance_parameter.py +1 -1
  476. lusid/models/instrument_match.py +1 -1
  477. lusid/models/instrument_models.py +2 -4
  478. lusid/models/instrument_properties.py +2 -4
  479. lusid/models/instrument_search_property.py +1 -1
  480. lusid/models/interest_rate_swap.py +5 -5
  481. lusid/models/interest_rate_swap_all_of.py +5 -5
  482. lusid/models/interest_rate_swaption.py +5 -5
  483. lusid/models/interest_rate_swaption_all_of.py +5 -5
  484. lusid/models/ir_vol_cube_data.py +1 -1
  485. lusid/models/ir_vol_cube_data_all_of.py +1 -1
  486. lusid/models/ir_vol_dependency.py +1 -1
  487. lusid/models/ir_vol_dependency_all_of.py +1 -1
  488. lusid/models/is_business_day_response.py +1 -1
  489. lusid/models/label_value_set.py +1 -1
  490. lusid/models/lapse_election.py +211 -0
  491. lusid/models/leg_definition.py +1 -1
  492. lusid/models/legal_entity.py +2 -4
  493. lusid/models/level_step.py +1 -1
  494. lusid/models/life_cycle_event_lineage.py +1 -1
  495. lusid/models/life_cycle_event_value.py +1 -1
  496. lusid/models/life_cycle_event_value_all_of.py +1 -1
  497. lusid/models/lineage_member.py +1 -1
  498. lusid/models/link.py +5 -13
  499. lusid/models/list_aggregation_reconciliation.py +1 -1
  500. lusid/models/list_aggregation_response.py +2 -4
  501. lusid/models/loan_facility.py +292 -0
  502. lusid/models/loan_facility_all_of.py +292 -0
  503. lusid/models/loan_period.py +1 -1
  504. lusid/models/lusid_instrument.py +7 -5
  505. lusid/models/lusid_problem_details.py +4 -10
  506. lusid/models/lusid_trade_ticket.py +1 -1
  507. lusid/models/lusid_unique_id.py +1 -1
  508. lusid/models/lusid_validation_problem_details.py +4 -10
  509. lusid/models/mapped_string.py +1 -1
  510. lusid/models/mapping.py +1 -1
  511. lusid/models/mapping_rule.py +1 -1
  512. lusid/models/market_context.py +1 -1
  513. lusid/models/market_context_suppliers.py +1 -1
  514. lusid/models/market_data_key_rule.py +1 -1
  515. lusid/models/market_data_options.py +1 -1
  516. lusid/models/market_data_overrides.py +1 -1
  517. lusid/models/market_data_specific_rule.py +1 -1
  518. lusid/models/market_options.py +1 -1
  519. lusid/models/market_quote.py +1 -1
  520. lusid/models/mastered_instrument.py +364 -0
  521. lusid/models/mastered_instrument_all_of.py +364 -0
  522. lusid/models/maturity_event.py +5 -5
  523. lusid/models/maturity_event_all_of.py +5 -5
  524. lusid/models/mbs_coupon_event.py +5 -5
  525. lusid/models/mbs_coupon_event_all_of.py +5 -5
  526. lusid/models/mbs_interest_deferral_event.py +280 -0
  527. lusid/models/mbs_interest_deferral_event_all_of.py +280 -0
  528. lusid/models/mbs_interest_shortfall_event.py +280 -0
  529. lusid/models/mbs_interest_shortfall_event_all_of.py +280 -0
  530. lusid/models/mbs_principal_event.py +5 -5
  531. lusid/models/mbs_principal_event_all_of.py +5 -5
  532. lusid/models/mbs_principal_write_off_event.py +280 -0
  533. lusid/models/mbs_principal_write_off_event_all_of.py +280 -0
  534. lusid/models/merger_event.py +5 -5
  535. lusid/models/merger_event_all_of.py +5 -5
  536. lusid/models/metric_value.py +1 -1
  537. lusid/models/model_options.py +1 -1
  538. lusid/models/model_property.py +1 -1
  539. lusid/models/model_selection.py +1 -1
  540. lusid/models/move_orders_to_different_blocks_request.py +1 -1
  541. lusid/models/moved_order_to_different_block_response.py +1 -1
  542. lusid/models/new_instrument.py +1 -1
  543. lusid/models/next_value_in_sequence_response.py +2 -4
  544. lusid/models/opaque_dependency.py +1 -1
  545. lusid/models/opaque_dependency_all_of.py +1 -1
  546. lusid/models/opaque_market_data.py +1 -1
  547. lusid/models/opaque_market_data_all_of.py +1 -1
  548. lusid/models/opaque_model_options.py +1 -1
  549. lusid/models/opaque_model_options_all_of.py +1 -1
  550. lusid/models/open_event.py +5 -5
  551. lusid/models/open_event_all_of.py +5 -5
  552. lusid/models/operation.py +1 -1
  553. lusid/models/order.py +2 -4
  554. lusid/models/order_by_spec.py +1 -1
  555. lusid/models/order_flow_configuration.py +1 -1
  556. lusid/models/order_graph_block.py +1 -1
  557. lusid/models/order_graph_block_allocation_detail.py +1 -1
  558. lusid/models/order_graph_block_allocation_synopsis.py +1 -1
  559. lusid/models/order_graph_block_execution_detail.py +1 -1
  560. lusid/models/order_graph_block_execution_synopsis.py +1 -1
  561. lusid/models/order_graph_block_order_detail.py +1 -1
  562. lusid/models/order_graph_block_order_synopsis.py +1 -1
  563. lusid/models/order_graph_block_placement_detail.py +1 -1
  564. lusid/models/order_graph_block_placement_synopsis.py +1 -1
  565. lusid/models/order_graph_block_transaction_detail.py +1 -1
  566. lusid/models/order_graph_block_transaction_synopsis.py +1 -1
  567. lusid/models/order_graph_placement.py +1 -1
  568. lusid/models/order_graph_placement_allocation_detail.py +1 -1
  569. lusid/models/order_graph_placement_allocation_synopsis.py +1 -1
  570. lusid/models/order_graph_placement_child_placement_detail.py +1 -1
  571. lusid/models/order_graph_placement_execution_detail.py +1 -1
  572. lusid/models/order_graph_placement_execution_synopsis.py +1 -1
  573. lusid/models/order_graph_placement_order_detail.py +1 -1
  574. lusid/models/order_graph_placement_order_synopsis.py +1 -1
  575. lusid/models/order_graph_placement_placement_synopsis.py +1 -1
  576. lusid/models/order_request.py +1 -1
  577. lusid/models/order_set_request.py +1 -1
  578. lusid/models/order_update_request.py +1 -1
  579. lusid/models/otc_confirmation.py +1 -1
  580. lusid/models/output_transaction.py +1 -1
  581. lusid/models/output_transition.py +1 -1
  582. lusid/models/paged_resource_list_of_address_key_definition.py +6 -16
  583. lusid/models/paged_resource_list_of_allocation.py +6 -16
  584. lusid/models/paged_resource_list_of_block.py +6 -16
  585. lusid/models/paged_resource_list_of_calendar.py +6 -16
  586. lusid/models/paged_resource_list_of_compliance_rule_response.py +6 -16
  587. lusid/models/paged_resource_list_of_compliance_run_info_v2.py +6 -16
  588. lusid/models/paged_resource_list_of_compliance_template.py +6 -16
  589. lusid/models/paged_resource_list_of_corporate_action_source.py +6 -16
  590. lusid/models/paged_resource_list_of_custom_entity_definition.py +6 -16
  591. lusid/models/paged_resource_list_of_custom_entity_response.py +6 -16
  592. lusid/models/paged_resource_list_of_custom_entity_type.py +6 -16
  593. lusid/models/paged_resource_list_of_cut_label_definition.py +6 -16
  594. lusid/models/paged_resource_list_of_data_type_summary.py +6 -16
  595. lusid/models/paged_resource_list_of_dialect_id.py +6 -16
  596. lusid/models/paged_resource_list_of_execution.py +6 -16
  597. lusid/models/paged_resource_list_of_instrument.py +6 -16
  598. lusid/models/paged_resource_list_of_instrument_event_holder.py +6 -16
  599. lusid/models/paged_resource_list_of_instrument_event_instruction.py +6 -16
  600. lusid/models/paged_resource_list_of_legal_entity.py +6 -16
  601. lusid/models/paged_resource_list_of_order.py +6 -16
  602. lusid/models/paged_resource_list_of_order_graph_block.py +6 -16
  603. lusid/models/paged_resource_list_of_order_graph_placement.py +6 -16
  604. lusid/models/paged_resource_list_of_participation.py +6 -16
  605. lusid/models/paged_resource_list_of_person.py +6 -16
  606. lusid/models/paged_resource_list_of_placement.py +6 -16
  607. lusid/models/paged_resource_list_of_portfolio_group.py +6 -16
  608. lusid/models/paged_resource_list_of_portfolio_group_search_result.py +6 -16
  609. lusid/models/paged_resource_list_of_portfolio_search_result.py +6 -16
  610. lusid/models/paged_resource_list_of_property_definition.py +6 -16
  611. lusid/models/paged_resource_list_of_property_definition_search_result.py +6 -16
  612. lusid/models/paged_resource_list_of_reference_list_response.py +6 -16
  613. lusid/models/paged_resource_list_of_relationship_definition.py +6 -16
  614. lusid/models/paged_resource_list_of_sequence_definition.py +6 -16
  615. lusid/models/paged_resource_list_of_translation_script_id.py +6 -16
  616. lusid/models/paged_resource_list_of_virtual_row.py +6 -16
  617. lusid/models/participation.py +2 -4
  618. lusid/models/participation_request.py +1 -1
  619. lusid/models/participation_set_request.py +1 -1
  620. lusid/models/percent_check_step.py +1 -1
  621. lusid/models/percent_check_step_request.py +1 -1
  622. lusid/models/performance_return.py +1 -1
  623. lusid/models/performance_returns_metric.py +1 -1
  624. lusid/models/perpetual_property.py +1 -1
  625. lusid/models/person.py +2 -4
  626. lusid/models/place_blocks_request.py +1 -1
  627. lusid/models/placement.py +2 -4
  628. lusid/models/placement_request.py +1 -1
  629. lusid/models/placement_set_request.py +1 -1
  630. lusid/models/placement_update_request.py +1 -1
  631. lusid/models/portfolio.py +6 -8
  632. lusid/models/portfolio_cash_flow.py +2 -4
  633. lusid/models/portfolio_cash_ladder.py +2 -4
  634. lusid/models/portfolio_details.py +6 -8
  635. lusid/models/portfolio_entity_id.py +1 -1
  636. lusid/models/portfolio_group.py +2 -4
  637. lusid/models/portfolio_group_id_compliance_parameter.py +1 -1
  638. lusid/models/portfolio_group_id_list.py +1 -1
  639. lusid/models/portfolio_group_id_list_compliance_parameter.py +1 -1
  640. lusid/models/portfolio_group_properties.py +2 -4
  641. lusid/models/portfolio_group_search_result.py +2 -4
  642. lusid/models/portfolio_holding.py +1 -1
  643. lusid/models/portfolio_id_compliance_parameter.py +1 -1
  644. lusid/models/portfolio_id_list.py +1 -1
  645. lusid/models/portfolio_id_list_compliance_parameter.py +1 -1
  646. lusid/models/portfolio_properties.py +2 -4
  647. lusid/models/portfolio_reconciliation_request.py +1 -1
  648. lusid/models/portfolio_result_data_key_rule.py +1 -1
  649. lusid/models/portfolio_result_data_key_rule_all_of.py +1 -1
  650. lusid/models/portfolio_return_breakdown.py +1 -1
  651. lusid/models/portfolio_search_result.py +2 -4
  652. lusid/models/portfolios_reconciliation_request.py +1 -1
  653. lusid/models/pre_trade_configuration.py +1 -1
  654. lusid/models/premium.py +1 -1
  655. lusid/models/pricing_context.py +1 -1
  656. lusid/models/pricing_options.py +1 -1
  657. lusid/models/processed_command.py +1 -1
  658. lusid/models/property_definition.py +2 -4
  659. lusid/models/property_definition_search_result.py +2 -4
  660. lusid/models/property_filter.py +1 -1
  661. lusid/models/property_interval.py +1 -1
  662. lusid/models/property_key_compliance_parameter.py +1 -1
  663. lusid/models/property_key_compliance_parameter_all_of.py +1 -1
  664. lusid/models/property_key_list_compliance_parameter.py +1 -1
  665. lusid/models/property_list.py +1 -1
  666. lusid/models/property_list_all_of.py +1 -1
  667. lusid/models/property_list_compliance_parameter.py +1 -1
  668. lusid/models/property_schema.py +2 -4
  669. lusid/models/property_value.py +1 -1
  670. lusid/models/query_bucketed_cash_flows_request.py +1 -1
  671. lusid/models/queryable_key.py +1 -1
  672. lusid/models/quote.py +1 -1
  673. lusid/models/quote_dependency.py +1 -1
  674. lusid/models/quote_dependency_all_of.py +1 -1
  675. lusid/models/quote_id.py +1 -1
  676. lusid/models/quote_series_id.py +1 -1
  677. lusid/models/raw_vendor_event.py +5 -5
  678. lusid/models/raw_vendor_event_all_of.py +5 -5
  679. lusid/models/realised_gain_loss.py +1 -1
  680. lusid/models/recombine_step.py +1 -1
  681. lusid/models/reconcile_date_time_rule.py +1 -1
  682. lusid/models/reconcile_date_time_rule_all_of.py +1 -1
  683. lusid/models/reconcile_numeric_rule.py +1 -1
  684. lusid/models/reconcile_numeric_rule_all_of.py +1 -1
  685. lusid/models/reconcile_string_rule.py +1 -1
  686. lusid/models/reconcile_string_rule_all_of.py +1 -1
  687. lusid/models/reconciled_transaction.py +1 -1
  688. lusid/models/reconciliation_break.py +1 -1
  689. lusid/models/reconciliation_left_right_address_key_pair.py +1 -1
  690. lusid/models/reconciliation_line.py +1 -1
  691. lusid/models/reconciliation_request.py +1 -1
  692. lusid/models/reconciliation_response.py +1 -1
  693. lusid/models/reconciliation_rule.py +1 -1
  694. lusid/models/reference_data.py +1 -1
  695. lusid/models/reference_instrument.py +5 -5
  696. lusid/models/reference_instrument_all_of.py +5 -5
  697. lusid/models/reference_list.py +1 -1
  698. lusid/models/reference_list_request.py +1 -1
  699. lusid/models/reference_list_response.py +2 -4
  700. lusid/models/reference_portfolio_constituent.py +1 -1
  701. lusid/models/reference_portfolio_constituent_request.py +1 -1
  702. lusid/models/related_entity.py +1 -1
  703. lusid/models/relation.py +1 -1
  704. lusid/models/relationship.py +1 -1
  705. lusid/models/relationship_definition.py +2 -4
  706. lusid/models/relative_date_offset.py +1 -1
  707. lusid/models/repo.py +5 -5
  708. lusid/models/repo_all_of.py +5 -5
  709. lusid/models/reset_event.py +5 -5
  710. lusid/models/reset_event_all_of.py +5 -5
  711. lusid/models/resource_id.py +1 -1
  712. lusid/models/resource_list_of_access_controlled_resource.py +6 -16
  713. lusid/models/resource_list_of_access_metadata_value_of.py +6 -16
  714. lusid/models/resource_list_of_address_key_definition.py +6 -16
  715. lusid/models/resource_list_of_aggregated_return.py +6 -16
  716. lusid/models/resource_list_of_aggregation_query.py +6 -16
  717. lusid/models/resource_list_of_allocation.py +6 -16
  718. lusid/models/resource_list_of_block.py +6 -16
  719. lusid/models/resource_list_of_block_and_orders.py +6 -16
  720. lusid/models/resource_list_of_calendar_date.py +6 -16
  721. lusid/models/resource_list_of_change.py +6 -16
  722. lusid/models/resource_list_of_change_history.py +6 -16
  723. lusid/models/resource_list_of_constituents_adjustment_header.py +6 -16
  724. lusid/models/resource_list_of_corporate_action.py +6 -16
  725. lusid/models/resource_list_of_data_type.py +6 -16
  726. lusid/models/resource_list_of_execution.py +6 -16
  727. lusid/models/resource_list_of_get_counterparty_agreement_response.py +6 -16
  728. lusid/models/resource_list_of_get_credit_support_annex_response.py +6 -16
  729. lusid/models/resource_list_of_get_recipe_response.py +6 -16
  730. lusid/models/resource_list_of_holdings_adjustment_header.py +6 -16
  731. lusid/models/resource_list_of_i_unit_definition_dto.py +6 -16
  732. lusid/models/resource_list_of_instrument_cash_flow.py +6 -16
  733. lusid/models/resource_list_of_instrument_id_type_descriptor.py +6 -16
  734. lusid/models/resource_list_of_legal_entity.py +6 -16
  735. lusid/models/resource_list_of_mapping.py +6 -16
  736. lusid/models/resource_list_of_moved_order_to_different_block_response.py +6 -16
  737. lusid/models/resource_list_of_order.py +6 -16
  738. lusid/models/resource_list_of_participation.py +6 -16
  739. lusid/models/resource_list_of_performance_return.py +6 -16
  740. lusid/models/resource_list_of_person.py +6 -16
  741. lusid/models/resource_list_of_placement.py +6 -16
  742. lusid/models/resource_list_of_portfolio.py +6 -16
  743. lusid/models/resource_list_of_portfolio_cash_flow.py +6 -16
  744. lusid/models/resource_list_of_portfolio_cash_ladder.py +6 -16
  745. lusid/models/resource_list_of_processed_command.py +6 -16
  746. lusid/models/resource_list_of_property.py +6 -16
  747. lusid/models/resource_list_of_property_definition.py +6 -16
  748. lusid/models/resource_list_of_property_interval.py +6 -16
  749. lusid/models/resource_list_of_queryable_key.py +6 -16
  750. lusid/models/resource_list_of_quote.py +6 -16
  751. lusid/models/resource_list_of_reconciliation_break.py +6 -16
  752. lusid/models/resource_list_of_relation.py +6 -16
  753. lusid/models/resource_list_of_relationship.py +6 -16
  754. lusid/models/resource_list_of_scope_definition.py +6 -16
  755. lusid/models/resource_list_of_side_definition.py +6 -16
  756. lusid/models/resource_list_of_string.py +6 -16
  757. lusid/models/resource_list_of_transaction.py +6 -16
  758. lusid/models/resource_list_of_transaction_type.py +6 -16
  759. lusid/models/resource_list_of_value_type.py +6 -16
  760. lusid/models/response_meta_data.py +1 -1
  761. lusid/models/result_data_key_rule.py +1 -1
  762. lusid/models/result_data_key_rule_all_of.py +1 -1
  763. lusid/models/result_data_schema.py +1 -1
  764. lusid/models/result_key_rule.py +1 -1
  765. lusid/models/result_value.py +1 -1
  766. lusid/models/result_value0_d.py +1 -1
  767. lusid/models/result_value0_d_all_of.py +1 -1
  768. lusid/models/result_value_bool.py +1 -1
  769. lusid/models/result_value_bool_all_of.py +1 -1
  770. lusid/models/result_value_currency.py +1 -1
  771. lusid/models/result_value_currency_all_of.py +1 -1
  772. lusid/models/result_value_date_time_offset.py +1 -1
  773. lusid/models/result_value_date_time_offset_all_of.py +1 -1
  774. lusid/models/result_value_decimal.py +1 -1
  775. lusid/models/result_value_decimal_all_of.py +1 -1
  776. lusid/models/result_value_dictionary.py +1 -1
  777. lusid/models/result_value_dictionary_all_of.py +1 -1
  778. lusid/models/result_value_int.py +1 -1
  779. lusid/models/result_value_int_all_of.py +1 -1
  780. lusid/models/result_value_string.py +1 -1
  781. lusid/models/result_value_string_all_of.py +1 -1
  782. lusid/models/reverse_stock_split_event.py +66 -6
  783. lusid/models/reverse_stock_split_event_all_of.py +66 -6
  784. lusid/models/rounding_configuration.py +1 -1
  785. lusid/models/rounding_configuration_component.py +1 -1
  786. lusid/models/rounding_convention.py +1 -1
  787. lusid/models/schedule.py +1 -1
  788. lusid/models/schema.py +2 -4
  789. lusid/models/scope_definition.py +1 -1
  790. lusid/models/scrip_dividend_event.py +5 -5
  791. lusid/models/scrip_dividend_event_all_of.py +5 -5
  792. lusid/models/script_map_reference.py +1 -1
  793. lusid/models/security_election.py +1 -1
  794. lusid/models/security_offer_election.py +1 -1
  795. lusid/models/sequence_definition.py +2 -4
  796. lusid/models/set_legal_entity_identifiers_request.py +1 -1
  797. lusid/models/set_legal_entity_properties_request.py +1 -1
  798. lusid/models/set_person_identifiers_request.py +1 -1
  799. lusid/models/set_person_properties_request.py +1 -1
  800. lusid/models/settlement_cycle.py +1 -1
  801. lusid/models/settlement_schedule.py +1 -1
  802. lusid/models/side_configuration_data.py +2 -4
  803. lusid/models/side_definition.py +2 -4
  804. lusid/models/side_definition_request.py +1 -1
  805. lusid/models/sides_definition_request.py +1 -1
  806. lusid/models/simple_cash_flow_loan.py +5 -5
  807. lusid/models/simple_cash_flow_loan_all_of.py +5 -5
  808. lusid/models/simple_instrument.py +5 -5
  809. lusid/models/simple_instrument_all_of.py +5 -5
  810. lusid/models/simple_rounding_convention.py +175 -0
  811. lusid/models/specific_holding_pricing_info.py +1 -1
  812. lusid/models/spin_off_event.py +5 -5
  813. lusid/models/spin_off_event_all_of.py +5 -5
  814. lusid/models/staged_modifications_info.py +1 -1
  815. lusid/models/step_schedule.py +1 -1
  816. lusid/models/step_schedule_all_of.py +1 -1
  817. lusid/models/stock_dividend_event.py +5 -5
  818. lusid/models/stock_dividend_event_all_of.py +5 -5
  819. lusid/models/stock_split_event.py +5 -5
  820. lusid/models/stock_split_event_all_of.py +5 -5
  821. lusid/models/stream.py +1 -1
  822. lusid/models/string_compliance_parameter.py +1 -1
  823. lusid/models/string_list.py +1 -1
  824. lusid/models/string_list_compliance_parameter.py +1 -1
  825. lusid/models/structured_result_data.py +1 -1
  826. lusid/models/structured_result_data_id.py +1 -1
  827. lusid/models/swap_cash_flow_event.py +5 -5
  828. lusid/models/swap_cash_flow_event_all_of.py +5 -5
  829. lusid/models/swap_principal_event.py +5 -5
  830. lusid/models/swap_principal_event_all_of.py +5 -5
  831. lusid/models/target_tax_lot.py +1 -1
  832. lusid/models/target_tax_lot_request.py +1 -1
  833. lusid/models/tender_event.py +456 -0
  834. lusid/models/tender_event_all_of.py +456 -0
  835. lusid/models/term_deposit.py +5 -5
  836. lusid/models/term_deposit_all_of.py +5 -5
  837. lusid/models/total_return_swap.py +5 -5
  838. lusid/models/total_return_swap_all_of.py +5 -5
  839. lusid/models/touch.py +1 -1
  840. lusid/models/transaction.py +1 -1
  841. lusid/models/transaction_configuration_data.py +1 -1
  842. lusid/models/transaction_configuration_data_request.py +1 -1
  843. lusid/models/transaction_configuration_movement_data.py +1 -1
  844. lusid/models/transaction_configuration_movement_data_request.py +1 -1
  845. lusid/models/transaction_configuration_type_alias.py +1 -1
  846. lusid/models/transaction_price.py +5 -5
  847. lusid/models/transaction_property_mapping.py +1 -1
  848. lusid/models/transaction_property_mapping_request.py +1 -1
  849. lusid/models/transaction_query_parameters.py +1 -1
  850. lusid/models/transaction_reconciliation_request.py +1 -1
  851. lusid/models/transaction_request.py +1 -1
  852. lusid/models/transaction_set_configuration_data.py +2 -4
  853. lusid/models/transaction_type.py +2 -4
  854. lusid/models/transaction_type_alias.py +1 -1
  855. lusid/models/transaction_type_calculation.py +1 -1
  856. lusid/models/transaction_type_movement.py +1 -1
  857. lusid/models/transaction_type_property_mapping.py +1 -1
  858. lusid/models/transaction_type_request.py +1 -1
  859. lusid/models/transactions_reconciliations_response.py +1 -1
  860. lusid/models/transition_event.py +5 -5
  861. lusid/models/transition_event_all_of.py +5 -5
  862. lusid/models/translate_entities_inlined_request.py +1 -1
  863. lusid/models/translate_entities_request.py +1 -1
  864. lusid/models/translate_entities_response.py +2 -4
  865. lusid/models/translation_context.py +1 -1
  866. lusid/models/translation_input.py +1 -1
  867. lusid/models/translation_result.py +1 -1
  868. lusid/models/translation_script.py +1 -1
  869. lusid/models/translation_script_id.py +1 -1
  870. lusid/models/trigger_event.py +5 -5
  871. lusid/models/trigger_event_all_of.py +5 -5
  872. lusid/models/typed_resource_id.py +1 -1
  873. lusid/models/units_ratio.py +1 -1
  874. lusid/models/update_calendar_request.py +1 -1
  875. lusid/models/update_compliance_template_request.py +1 -1
  876. lusid/models/update_custom_entity_definition_request.py +1 -1
  877. lusid/models/update_custom_entity_type_request.py +1 -1
  878. lusid/models/update_cut_label_definition_request.py +1 -1
  879. lusid/models/update_data_type_request.py +1 -1
  880. lusid/models/update_derived_property_definition_request.py +1 -1
  881. lusid/models/update_instrument_identifier_request.py +1 -1
  882. lusid/models/update_orders_response.py +2 -4
  883. lusid/models/update_placements_response.py +2 -4
  884. lusid/models/update_portfolio_group_request.py +1 -1
  885. lusid/models/update_portfolio_request.py +1 -1
  886. lusid/models/update_property_definition_request.py +1 -1
  887. lusid/models/update_reference_data_request.py +1 -1
  888. lusid/models/update_relationship_definition_request.py +1 -1
  889. lusid/models/update_unit_request.py +1 -1
  890. lusid/models/upsert_complex_market_data_request.py +1 -1
  891. lusid/models/upsert_compliance_rule_request.py +1 -1
  892. lusid/models/upsert_compliance_run_summary_request.py +1 -1
  893. lusid/models/upsert_compliance_run_summary_result.py +1 -1
  894. lusid/models/upsert_corporate_action_request.py +1 -1
  895. lusid/models/upsert_corporate_actions_response.py +2 -4
  896. lusid/models/upsert_counterparty_agreement_request.py +1 -1
  897. lusid/models/upsert_credit_support_annex_request.py +1 -1
  898. lusid/models/upsert_custom_entities_response.py +2 -4
  899. lusid/models/upsert_custom_entity_access_metadata_request.py +1 -1
  900. lusid/models/upsert_dialect_request.py +1 -1
  901. lusid/models/upsert_instrument_event_request.py +1 -1
  902. lusid/models/upsert_instrument_events_response.py +2 -4
  903. lusid/models/upsert_instrument_properties_response.py +2 -4
  904. lusid/models/upsert_instrument_property_request.py +1 -1
  905. lusid/models/upsert_instruments_response.py +2 -4
  906. lusid/models/upsert_legal_entities_response.py +2 -4
  907. lusid/models/upsert_legal_entity_access_metadata_request.py +1 -1
  908. lusid/models/upsert_legal_entity_request.py +1 -1
  909. lusid/models/upsert_person_access_metadata_request.py +1 -1
  910. lusid/models/upsert_person_request.py +1 -1
  911. lusid/models/upsert_persons_response.py +2 -4
  912. lusid/models/upsert_portfolio_access_metadata_request.py +1 -1
  913. lusid/models/upsert_portfolio_group_access_metadata_request.py +1 -1
  914. lusid/models/upsert_portfolio_transactions_response.py +2 -4
  915. lusid/models/upsert_quote_request.py +1 -1
  916. lusid/models/upsert_quotes_response.py +2 -4
  917. lusid/models/upsert_recipe_request.py +1 -1
  918. lusid/models/upsert_reference_portfolio_constituent_properties_request.py +1 -1
  919. lusid/models/upsert_reference_portfolio_constituent_properties_response.py +2 -4
  920. lusid/models/upsert_reference_portfolio_constituents_request.py +1 -1
  921. lusid/models/upsert_reference_portfolio_constituents_response.py +2 -4
  922. lusid/models/upsert_returns_response.py +2 -4
  923. lusid/models/upsert_single_structured_data_response.py +2 -4
  924. lusid/models/upsert_structured_data_response.py +2 -4
  925. lusid/models/upsert_structured_result_data_request.py +1 -1
  926. lusid/models/upsert_transaction_properties_response.py +2 -4
  927. lusid/models/upsert_translation_script_request.py +1 -1
  928. lusid/models/user.py +1 -1
  929. lusid/models/valuation_request.py +1 -1
  930. lusid/models/valuation_schedule.py +1 -1
  931. lusid/models/valuations_reconciliation_request.py +1 -1
  932. lusid/models/value_type.py +1 -1
  933. lusid/models/vendor_model_rule.py +1 -1
  934. lusid/models/version.py +1 -1
  935. lusid/models/version_summary_dto.py +2 -4
  936. lusid/models/versioned_resource_list_of_a2_b_data_record.py +6 -16
  937. lusid/models/versioned_resource_list_of_a2_b_movement_record.py +6 -16
  938. lusid/models/versioned_resource_list_of_holding_contributor.py +6 -16
  939. lusid/models/versioned_resource_list_of_output_transaction.py +6 -16
  940. lusid/models/versioned_resource_list_of_portfolio_holding.py +6 -16
  941. lusid/models/versioned_resource_list_of_transaction.py +6 -16
  942. lusid/models/virtual_row.py +1 -1
  943. lusid/models/weekend_mask.py +1 -1
  944. lusid/models/weighted_instrument.py +1 -1
  945. lusid/models/weighted_instrument_in_line_lookup_identifiers.py +1 -1
  946. lusid/models/weighted_instruments.py +1 -1
  947. lusid/models/yield_curve_data.py +1 -1
  948. lusid/models/yield_curve_data_all_of.py +1 -1
  949. lusid/rest.py +1 -1
  950. {lusid_sdk-1.1.229.dist-info → lusid_sdk-1.1.237.dist-info}/METADATA +1 -1
  951. lusid_sdk-1.1.237.dist-info/RECORD +973 -0
  952. lusid_sdk-1.1.229.dist-info/RECORD +0 -953
  953. {lusid_sdk-1.1.229.dist-info → lusid_sdk-1.1.237.dist-info}/WHEEL +0 -0
  954. {lusid_sdk-1.1.229.dist-info → lusid_sdk-1.1.237.dist-info}/top_level.txt +0 -0
@@ -5,7 +5,7 @@
5
5
 
6
6
  FINBOURNE Technology # noqa: E501
7
7
 
8
- The version of the OpenAPI document: 1.1.229
8
+ The version of the OpenAPI document: 1.1.237
9
9
  Contact: info@finbourne.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  """
@@ -73,7 +73,7 @@ class MbsPrincipalEventAllOf(object):
73
73
  :type currency: str
74
74
  :param principal_per_unit: The principal amount received for each unit of the instrument held on the ex date (required)
75
75
  :type principal_per_unit: float
76
- :param instrument_event_type: The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent (required)
76
+ :param instrument_event_type: The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent (required)
77
77
  :type instrument_event_type: str
78
78
 
79
79
  """ # noqa: E501
@@ -198,7 +198,7 @@ class MbsPrincipalEventAllOf(object):
198
198
  def instrument_event_type(self):
199
199
  """Gets the instrument_event_type of this MbsPrincipalEventAllOf. # noqa: E501
200
200
 
201
- The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent # noqa: E501
201
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
202
202
 
203
203
  :return: The instrument_event_type of this MbsPrincipalEventAllOf. # noqa: E501
204
204
  :rtype: str
@@ -209,14 +209,14 @@ class MbsPrincipalEventAllOf(object):
209
209
  def instrument_event_type(self, instrument_event_type):
210
210
  """Sets the instrument_event_type of this MbsPrincipalEventAllOf.
211
211
 
212
- The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent # noqa: E501
212
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
213
213
 
214
214
  :param instrument_event_type: The instrument_event_type of this MbsPrincipalEventAllOf. # noqa: E501
215
215
  :type instrument_event_type: str
216
216
  """
217
217
  if self.local_vars_configuration.client_side_validation and instrument_event_type is None: # noqa: E501
218
218
  raise ValueError("Invalid value for `instrument_event_type`, must not be `None`") # noqa: E501
219
- allowed_values = ["TransitionEvent", "InformationalEvent", "OpenEvent", "CloseEvent", "StockSplitEvent", "BondDefaultEvent", "CashDividendEvent", "AmortisationEvent", "CashFlowEvent", "ExerciseEvent", "ResetEvent", "TriggerEvent", "RawVendorEvent", "InformationalErrorEvent", "BondCouponEvent", "DividendReinvestmentEvent", "AccumulationEvent", "BondPrincipalEvent", "DividendOptionEvent", "MaturityEvent", "FxForwardSettlementEvent", "ExpiryEvent", "ScripDividendEvent", "StockDividendEvent", "ReverseStockSplitEvent", "CapitalDistributionEvent", "SpinOffEvent", "MergerEvent", "FutureExpiryEvent", "SwapCashFlowEvent", "SwapPrincipalEvent", "CreditPremiumCashFlowEvent", "CdsCreditEvent", "CdxCreditEvent", "MbsCouponEvent", "MbsPrincipalEvent"] # noqa: E501
219
+ allowed_values = ["TransitionEvent", "InformationalEvent", "OpenEvent", "CloseEvent", "StockSplitEvent", "BondDefaultEvent", "CashDividendEvent", "AmortisationEvent", "CashFlowEvent", "ExerciseEvent", "ResetEvent", "TriggerEvent", "RawVendorEvent", "InformationalErrorEvent", "BondCouponEvent", "DividendReinvestmentEvent", "AccumulationEvent", "BondPrincipalEvent", "DividendOptionEvent", "MaturityEvent", "FxForwardSettlementEvent", "ExpiryEvent", "ScripDividendEvent", "StockDividendEvent", "ReverseStockSplitEvent", "CapitalDistributionEvent", "SpinOffEvent", "MergerEvent", "FutureExpiryEvent", "SwapCashFlowEvent", "SwapPrincipalEvent", "CreditPremiumCashFlowEvent", "CdsCreditEvent", "CdxCreditEvent", "MbsCouponEvent", "MbsPrincipalEvent", "BonusIssueEvent", "MbsPrincipalWriteOffEvent", "MbsInterestDeferralEvent", "MbsInterestShortfallEvent", "TenderEvent"] # noqa: E501
220
220
  if self.local_vars_configuration.client_side_validation and instrument_event_type not in allowed_values: # noqa: E501
221
221
  raise ValueError(
222
222
  "Invalid value for `instrument_event_type` ({0}), must be one of {1}" # noqa: E501
@@ -0,0 +1,280 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LUSID API
5
+
6
+ FINBOURNE Technology # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.1.237
9
+ Contact: info@finbourne.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ try:
15
+ from inspect import getfullargspec
16
+ except ImportError:
17
+ from inspect import getargspec as getfullargspec
18
+ import pprint
19
+ import re # noqa: F401
20
+ import six
21
+
22
+ from lusid.configuration import Configuration
23
+
24
+
25
+ class MbsPrincipalWriteOffEvent(object):
26
+ """NOTE: This class is auto generated by OpenAPI Generator.
27
+ Ref: https://openapi-generator.tech
28
+
29
+ Do not edit the class manually.
30
+ """
31
+
32
+ """
33
+ Attributes:
34
+ openapi_types (dict): The key is attribute name
35
+ and the value is attribute type.
36
+ attribute_map (dict): The key is attribute name
37
+ and the value is json key in definition.
38
+ required_map (dict): The key is attribute name
39
+ and the value is whether it is 'required' or 'optional'.
40
+ """
41
+ openapi_types = {
42
+ 'ex_date': 'datetime',
43
+ 'payment_date': 'datetime',
44
+ 'currency': 'str',
45
+ 'principal_per_unit': 'float',
46
+ 'instrument_event_type': 'str'
47
+ }
48
+
49
+ attribute_map = {
50
+ 'ex_date': 'exDate',
51
+ 'payment_date': 'paymentDate',
52
+ 'currency': 'currency',
53
+ 'principal_per_unit': 'principalPerUnit',
54
+ 'instrument_event_type': 'instrumentEventType'
55
+ }
56
+
57
+ required_map = {
58
+ 'ex_date': 'required',
59
+ 'payment_date': 'required',
60
+ 'currency': 'required',
61
+ 'principal_per_unit': 'required',
62
+ 'instrument_event_type': 'required'
63
+ }
64
+
65
+ def __init__(self, ex_date=None, payment_date=None, currency=None, principal_per_unit=None, instrument_event_type=None, local_vars_configuration=None): # noqa: E501
66
+ """MbsPrincipalWriteOffEvent - a model defined in OpenAPI"
67
+
68
+ :param ex_date: The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date (required)
69
+ :type ex_date: datetime
70
+ :param payment_date: The payment date of the principal that is written off (required)
71
+ :type payment_date: datetime
72
+ :param currency: The currency in which the principal write off is notated (required)
73
+ :type currency: str
74
+ :param principal_per_unit: The principal amount to be written off for each unit of the instrument held on the ex date (required)
75
+ :type principal_per_unit: float
76
+ :param instrument_event_type: The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent (required)
77
+ :type instrument_event_type: str
78
+
79
+ """ # noqa: E501
80
+ if local_vars_configuration is None:
81
+ local_vars_configuration = Configuration.get_default_copy()
82
+ self.local_vars_configuration = local_vars_configuration
83
+
84
+ self._ex_date = None
85
+ self._payment_date = None
86
+ self._currency = None
87
+ self._principal_per_unit = None
88
+ self._instrument_event_type = None
89
+ self.discriminator = None
90
+
91
+ self.ex_date = ex_date
92
+ self.payment_date = payment_date
93
+ self.currency = currency
94
+ self.principal_per_unit = principal_per_unit
95
+ self.instrument_event_type = instrument_event_type
96
+
97
+ @property
98
+ def ex_date(self):
99
+ """Gets the ex_date of this MbsPrincipalWriteOffEvent. # noqa: E501
100
+
101
+ The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date # noqa: E501
102
+
103
+ :return: The ex_date of this MbsPrincipalWriteOffEvent. # noqa: E501
104
+ :rtype: datetime
105
+ """
106
+ return self._ex_date
107
+
108
+ @ex_date.setter
109
+ def ex_date(self, ex_date):
110
+ """Sets the ex_date of this MbsPrincipalWriteOffEvent.
111
+
112
+ The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date # noqa: E501
113
+
114
+ :param ex_date: The ex_date of this MbsPrincipalWriteOffEvent. # noqa: E501
115
+ :type ex_date: datetime
116
+ """
117
+ if self.local_vars_configuration.client_side_validation and ex_date is None: # noqa: E501
118
+ raise ValueError("Invalid value for `ex_date`, must not be `None`") # noqa: E501
119
+
120
+ self._ex_date = ex_date
121
+
122
+ @property
123
+ def payment_date(self):
124
+ """Gets the payment_date of this MbsPrincipalWriteOffEvent. # noqa: E501
125
+
126
+ The payment date of the principal that is written off # noqa: E501
127
+
128
+ :return: The payment_date of this MbsPrincipalWriteOffEvent. # noqa: E501
129
+ :rtype: datetime
130
+ """
131
+ return self._payment_date
132
+
133
+ @payment_date.setter
134
+ def payment_date(self, payment_date):
135
+ """Sets the payment_date of this MbsPrincipalWriteOffEvent.
136
+
137
+ The payment date of the principal that is written off # noqa: E501
138
+
139
+ :param payment_date: The payment_date of this MbsPrincipalWriteOffEvent. # noqa: E501
140
+ :type payment_date: datetime
141
+ """
142
+ if self.local_vars_configuration.client_side_validation and payment_date is None: # noqa: E501
143
+ raise ValueError("Invalid value for `payment_date`, must not be `None`") # noqa: E501
144
+
145
+ self._payment_date = payment_date
146
+
147
+ @property
148
+ def currency(self):
149
+ """Gets the currency of this MbsPrincipalWriteOffEvent. # noqa: E501
150
+
151
+ The currency in which the principal write off is notated # noqa: E501
152
+
153
+ :return: The currency of this MbsPrincipalWriteOffEvent. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._currency
157
+
158
+ @currency.setter
159
+ def currency(self, currency):
160
+ """Sets the currency of this MbsPrincipalWriteOffEvent.
161
+
162
+ The currency in which the principal write off is notated # noqa: E501
163
+
164
+ :param currency: The currency of this MbsPrincipalWriteOffEvent. # noqa: E501
165
+ :type currency: str
166
+ """
167
+ if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501
168
+ raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501
169
+
170
+ self._currency = currency
171
+
172
+ @property
173
+ def principal_per_unit(self):
174
+ """Gets the principal_per_unit of this MbsPrincipalWriteOffEvent. # noqa: E501
175
+
176
+ The principal amount to be written off for each unit of the instrument held on the ex date # noqa: E501
177
+
178
+ :return: The principal_per_unit of this MbsPrincipalWriteOffEvent. # noqa: E501
179
+ :rtype: float
180
+ """
181
+ return self._principal_per_unit
182
+
183
+ @principal_per_unit.setter
184
+ def principal_per_unit(self, principal_per_unit):
185
+ """Sets the principal_per_unit of this MbsPrincipalWriteOffEvent.
186
+
187
+ The principal amount to be written off for each unit of the instrument held on the ex date # noqa: E501
188
+
189
+ :param principal_per_unit: The principal_per_unit of this MbsPrincipalWriteOffEvent. # noqa: E501
190
+ :type principal_per_unit: float
191
+ """
192
+ if self.local_vars_configuration.client_side_validation and principal_per_unit is None: # noqa: E501
193
+ raise ValueError("Invalid value for `principal_per_unit`, must not be `None`") # noqa: E501
194
+
195
+ self._principal_per_unit = principal_per_unit
196
+
197
+ @property
198
+ def instrument_event_type(self):
199
+ """Gets the instrument_event_type of this MbsPrincipalWriteOffEvent. # noqa: E501
200
+
201
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
202
+
203
+ :return: The instrument_event_type of this MbsPrincipalWriteOffEvent. # noqa: E501
204
+ :rtype: str
205
+ """
206
+ return self._instrument_event_type
207
+
208
+ @instrument_event_type.setter
209
+ def instrument_event_type(self, instrument_event_type):
210
+ """Sets the instrument_event_type of this MbsPrincipalWriteOffEvent.
211
+
212
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
213
+
214
+ :param instrument_event_type: The instrument_event_type of this MbsPrincipalWriteOffEvent. # noqa: E501
215
+ :type instrument_event_type: str
216
+ """
217
+ if self.local_vars_configuration.client_side_validation and instrument_event_type is None: # noqa: E501
218
+ raise ValueError("Invalid value for `instrument_event_type`, must not be `None`") # noqa: E501
219
+ allowed_values = ["TransitionEvent", "InformationalEvent", "OpenEvent", "CloseEvent", "StockSplitEvent", "BondDefaultEvent", "CashDividendEvent", "AmortisationEvent", "CashFlowEvent", "ExerciseEvent", "ResetEvent", "TriggerEvent", "RawVendorEvent", "InformationalErrorEvent", "BondCouponEvent", "DividendReinvestmentEvent", "AccumulationEvent", "BondPrincipalEvent", "DividendOptionEvent", "MaturityEvent", "FxForwardSettlementEvent", "ExpiryEvent", "ScripDividendEvent", "StockDividendEvent", "ReverseStockSplitEvent", "CapitalDistributionEvent", "SpinOffEvent", "MergerEvent", "FutureExpiryEvent", "SwapCashFlowEvent", "SwapPrincipalEvent", "CreditPremiumCashFlowEvent", "CdsCreditEvent", "CdxCreditEvent", "MbsCouponEvent", "MbsPrincipalEvent", "BonusIssueEvent", "MbsPrincipalWriteOffEvent", "MbsInterestDeferralEvent", "MbsInterestShortfallEvent", "TenderEvent"] # noqa: E501
220
+ if self.local_vars_configuration.client_side_validation and instrument_event_type not in allowed_values: # noqa: E501
221
+ raise ValueError(
222
+ "Invalid value for `instrument_event_type` ({0}), must be one of {1}" # noqa: E501
223
+ .format(instrument_event_type, allowed_values)
224
+ )
225
+
226
+ self._instrument_event_type = instrument_event_type
227
+
228
+ def to_dict(self, serialize=False):
229
+ """Returns the model properties as a dict"""
230
+ result = {}
231
+
232
+ def convert(x):
233
+ if hasattr(x, "to_dict"):
234
+ args = getfullargspec(x.to_dict).args
235
+ if len(args) == 1:
236
+ return x.to_dict()
237
+ else:
238
+ return x.to_dict(serialize)
239
+ else:
240
+ return x
241
+
242
+ for attr, _ in six.iteritems(self.openapi_types):
243
+ value = getattr(self, attr)
244
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
245
+ if isinstance(value, list):
246
+ result[attr] = list(map(
247
+ lambda x: convert(x),
248
+ value
249
+ ))
250
+ elif isinstance(value, dict):
251
+ result[attr] = dict(map(
252
+ lambda item: (item[0], convert(item[1])),
253
+ value.items()
254
+ ))
255
+ else:
256
+ result[attr] = convert(value)
257
+
258
+ return result
259
+
260
+ def to_str(self):
261
+ """Returns the string representation of the model"""
262
+ return pprint.pformat(self.to_dict())
263
+
264
+ def __repr__(self):
265
+ """For `print` and `pprint`"""
266
+ return self.to_str()
267
+
268
+ def __eq__(self, other):
269
+ """Returns true if both objects are equal"""
270
+ if not isinstance(other, MbsPrincipalWriteOffEvent):
271
+ return False
272
+
273
+ return self.to_dict() == other.to_dict()
274
+
275
+ def __ne__(self, other):
276
+ """Returns true if both objects are not equal"""
277
+ if not isinstance(other, MbsPrincipalWriteOffEvent):
278
+ return True
279
+
280
+ return self.to_dict() != other.to_dict()
@@ -0,0 +1,280 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ LUSID API
5
+
6
+ FINBOURNE Technology # noqa: E501
7
+
8
+ The version of the OpenAPI document: 1.1.237
9
+ Contact: info@finbourne.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ try:
15
+ from inspect import getfullargspec
16
+ except ImportError:
17
+ from inspect import getargspec as getfullargspec
18
+ import pprint
19
+ import re # noqa: F401
20
+ import six
21
+
22
+ from lusid.configuration import Configuration
23
+
24
+
25
+ class MbsPrincipalWriteOffEventAllOf(object):
26
+ """NOTE: This class is auto generated by OpenAPI Generator.
27
+ Ref: https://openapi-generator.tech
28
+
29
+ Do not edit the class manually.
30
+ """
31
+
32
+ """
33
+ Attributes:
34
+ openapi_types (dict): The key is attribute name
35
+ and the value is attribute type.
36
+ attribute_map (dict): The key is attribute name
37
+ and the value is json key in definition.
38
+ required_map (dict): The key is attribute name
39
+ and the value is whether it is 'required' or 'optional'.
40
+ """
41
+ openapi_types = {
42
+ 'ex_date': 'datetime',
43
+ 'payment_date': 'datetime',
44
+ 'currency': 'str',
45
+ 'principal_per_unit': 'float',
46
+ 'instrument_event_type': 'str'
47
+ }
48
+
49
+ attribute_map = {
50
+ 'ex_date': 'exDate',
51
+ 'payment_date': 'paymentDate',
52
+ 'currency': 'currency',
53
+ 'principal_per_unit': 'principalPerUnit',
54
+ 'instrument_event_type': 'instrumentEventType'
55
+ }
56
+
57
+ required_map = {
58
+ 'ex_date': 'required',
59
+ 'payment_date': 'required',
60
+ 'currency': 'required',
61
+ 'principal_per_unit': 'required',
62
+ 'instrument_event_type': 'required'
63
+ }
64
+
65
+ def __init__(self, ex_date=None, payment_date=None, currency=None, principal_per_unit=None, instrument_event_type=None, local_vars_configuration=None): # noqa: E501
66
+ """MbsPrincipalWriteOffEventAllOf - a model defined in OpenAPI"
67
+
68
+ :param ex_date: The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date (required)
69
+ :type ex_date: datetime
70
+ :param payment_date: The payment date of the principal that is written off (required)
71
+ :type payment_date: datetime
72
+ :param currency: The currency in which the principal write off is notated (required)
73
+ :type currency: str
74
+ :param principal_per_unit: The principal amount to be written off for each unit of the instrument held on the ex date (required)
75
+ :type principal_per_unit: float
76
+ :param instrument_event_type: The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent (required)
77
+ :type instrument_event_type: str
78
+
79
+ """ # noqa: E501
80
+ if local_vars_configuration is None:
81
+ local_vars_configuration = Configuration.get_default_copy()
82
+ self.local_vars_configuration = local_vars_configuration
83
+
84
+ self._ex_date = None
85
+ self._payment_date = None
86
+ self._currency = None
87
+ self._principal_per_unit = None
88
+ self._instrument_event_type = None
89
+ self.discriminator = None
90
+
91
+ self.ex_date = ex_date
92
+ self.payment_date = payment_date
93
+ self.currency = currency
94
+ self.principal_per_unit = principal_per_unit
95
+ self.instrument_event_type = instrument_event_type
96
+
97
+ @property
98
+ def ex_date(self):
99
+ """Gets the ex_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
100
+
101
+ The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date # noqa: E501
102
+
103
+ :return: The ex_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
104
+ :rtype: datetime
105
+ """
106
+ return self._ex_date
107
+
108
+ @ex_date.setter
109
+ def ex_date(self, ex_date):
110
+ """Sets the ex_date of this MbsPrincipalWriteOffEventAllOf.
111
+
112
+ The ex date (entitlement date) of the principal payment, usually several weeks prior to the payment date # noqa: E501
113
+
114
+ :param ex_date: The ex_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
115
+ :type ex_date: datetime
116
+ """
117
+ if self.local_vars_configuration.client_side_validation and ex_date is None: # noqa: E501
118
+ raise ValueError("Invalid value for `ex_date`, must not be `None`") # noqa: E501
119
+
120
+ self._ex_date = ex_date
121
+
122
+ @property
123
+ def payment_date(self):
124
+ """Gets the payment_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
125
+
126
+ The payment date of the principal that is written off # noqa: E501
127
+
128
+ :return: The payment_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
129
+ :rtype: datetime
130
+ """
131
+ return self._payment_date
132
+
133
+ @payment_date.setter
134
+ def payment_date(self, payment_date):
135
+ """Sets the payment_date of this MbsPrincipalWriteOffEventAllOf.
136
+
137
+ The payment date of the principal that is written off # noqa: E501
138
+
139
+ :param payment_date: The payment_date of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
140
+ :type payment_date: datetime
141
+ """
142
+ if self.local_vars_configuration.client_side_validation and payment_date is None: # noqa: E501
143
+ raise ValueError("Invalid value for `payment_date`, must not be `None`") # noqa: E501
144
+
145
+ self._payment_date = payment_date
146
+
147
+ @property
148
+ def currency(self):
149
+ """Gets the currency of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
150
+
151
+ The currency in which the principal write off is notated # noqa: E501
152
+
153
+ :return: The currency of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
154
+ :rtype: str
155
+ """
156
+ return self._currency
157
+
158
+ @currency.setter
159
+ def currency(self, currency):
160
+ """Sets the currency of this MbsPrincipalWriteOffEventAllOf.
161
+
162
+ The currency in which the principal write off is notated # noqa: E501
163
+
164
+ :param currency: The currency of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
165
+ :type currency: str
166
+ """
167
+ if self.local_vars_configuration.client_side_validation and currency is None: # noqa: E501
168
+ raise ValueError("Invalid value for `currency`, must not be `None`") # noqa: E501
169
+
170
+ self._currency = currency
171
+
172
+ @property
173
+ def principal_per_unit(self):
174
+ """Gets the principal_per_unit of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
175
+
176
+ The principal amount to be written off for each unit of the instrument held on the ex date # noqa: E501
177
+
178
+ :return: The principal_per_unit of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
179
+ :rtype: float
180
+ """
181
+ return self._principal_per_unit
182
+
183
+ @principal_per_unit.setter
184
+ def principal_per_unit(self, principal_per_unit):
185
+ """Sets the principal_per_unit of this MbsPrincipalWriteOffEventAllOf.
186
+
187
+ The principal amount to be written off for each unit of the instrument held on the ex date # noqa: E501
188
+
189
+ :param principal_per_unit: The principal_per_unit of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
190
+ :type principal_per_unit: float
191
+ """
192
+ if self.local_vars_configuration.client_side_validation and principal_per_unit is None: # noqa: E501
193
+ raise ValueError("Invalid value for `principal_per_unit`, must not be `None`") # noqa: E501
194
+
195
+ self._principal_per_unit = principal_per_unit
196
+
197
+ @property
198
+ def instrument_event_type(self):
199
+ """Gets the instrument_event_type of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
200
+
201
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
202
+
203
+ :return: The instrument_event_type of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
204
+ :rtype: str
205
+ """
206
+ return self._instrument_event_type
207
+
208
+ @instrument_event_type.setter
209
+ def instrument_event_type(self, instrument_event_type):
210
+ """Sets the instrument_event_type of this MbsPrincipalWriteOffEventAllOf.
211
+
212
+ The Type of Event. The available values are: TransitionEvent, InformationalEvent, OpenEvent, CloseEvent, StockSplitEvent, BondDefaultEvent, CashDividendEvent, AmortisationEvent, CashFlowEvent, ExerciseEvent, ResetEvent, TriggerEvent, RawVendorEvent, InformationalErrorEvent, BondCouponEvent, DividendReinvestmentEvent, AccumulationEvent, BondPrincipalEvent, DividendOptionEvent, MaturityEvent, FxForwardSettlementEvent, ExpiryEvent, ScripDividendEvent, StockDividendEvent, ReverseStockSplitEvent, CapitalDistributionEvent, SpinOffEvent, MergerEvent, FutureExpiryEvent, SwapCashFlowEvent, SwapPrincipalEvent, CreditPremiumCashFlowEvent, CdsCreditEvent, CdxCreditEvent, MbsCouponEvent, MbsPrincipalEvent, BonusIssueEvent, MbsPrincipalWriteOffEvent, MbsInterestDeferralEvent, MbsInterestShortfallEvent, TenderEvent # noqa: E501
213
+
214
+ :param instrument_event_type: The instrument_event_type of this MbsPrincipalWriteOffEventAllOf. # noqa: E501
215
+ :type instrument_event_type: str
216
+ """
217
+ if self.local_vars_configuration.client_side_validation and instrument_event_type is None: # noqa: E501
218
+ raise ValueError("Invalid value for `instrument_event_type`, must not be `None`") # noqa: E501
219
+ allowed_values = ["TransitionEvent", "InformationalEvent", "OpenEvent", "CloseEvent", "StockSplitEvent", "BondDefaultEvent", "CashDividendEvent", "AmortisationEvent", "CashFlowEvent", "ExerciseEvent", "ResetEvent", "TriggerEvent", "RawVendorEvent", "InformationalErrorEvent", "BondCouponEvent", "DividendReinvestmentEvent", "AccumulationEvent", "BondPrincipalEvent", "DividendOptionEvent", "MaturityEvent", "FxForwardSettlementEvent", "ExpiryEvent", "ScripDividendEvent", "StockDividendEvent", "ReverseStockSplitEvent", "CapitalDistributionEvent", "SpinOffEvent", "MergerEvent", "FutureExpiryEvent", "SwapCashFlowEvent", "SwapPrincipalEvent", "CreditPremiumCashFlowEvent", "CdsCreditEvent", "CdxCreditEvent", "MbsCouponEvent", "MbsPrincipalEvent", "BonusIssueEvent", "MbsPrincipalWriteOffEvent", "MbsInterestDeferralEvent", "MbsInterestShortfallEvent", "TenderEvent"] # noqa: E501
220
+ if self.local_vars_configuration.client_side_validation and instrument_event_type not in allowed_values: # noqa: E501
221
+ raise ValueError(
222
+ "Invalid value for `instrument_event_type` ({0}), must be one of {1}" # noqa: E501
223
+ .format(instrument_event_type, allowed_values)
224
+ )
225
+
226
+ self._instrument_event_type = instrument_event_type
227
+
228
+ def to_dict(self, serialize=False):
229
+ """Returns the model properties as a dict"""
230
+ result = {}
231
+
232
+ def convert(x):
233
+ if hasattr(x, "to_dict"):
234
+ args = getfullargspec(x.to_dict).args
235
+ if len(args) == 1:
236
+ return x.to_dict()
237
+ else:
238
+ return x.to_dict(serialize)
239
+ else:
240
+ return x
241
+
242
+ for attr, _ in six.iteritems(self.openapi_types):
243
+ value = getattr(self, attr)
244
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
245
+ if isinstance(value, list):
246
+ result[attr] = list(map(
247
+ lambda x: convert(x),
248
+ value
249
+ ))
250
+ elif isinstance(value, dict):
251
+ result[attr] = dict(map(
252
+ lambda item: (item[0], convert(item[1])),
253
+ value.items()
254
+ ))
255
+ else:
256
+ result[attr] = convert(value)
257
+
258
+ return result
259
+
260
+ def to_str(self):
261
+ """Returns the string representation of the model"""
262
+ return pprint.pformat(self.to_dict())
263
+
264
+ def __repr__(self):
265
+ """For `print` and `pprint`"""
266
+ return self.to_str()
267
+
268
+ def __eq__(self, other):
269
+ """Returns true if both objects are equal"""
270
+ if not isinstance(other, MbsPrincipalWriteOffEventAllOf):
271
+ return False
272
+
273
+ return self.to_dict() == other.to_dict()
274
+
275
+ def __ne__(self, other):
276
+ """Returns true if both objects are not equal"""
277
+ if not isinstance(other, MbsPrincipalWriteOffEventAllOf):
278
+ return True
279
+
280
+ return self.to_dict() != other.to_dict()