lusid-sdk 1.0.58__py3-none-any.whl → 1.0.66__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lusid/__init__.py +5 -2
- lusid/__version__.py +1 -1
- lusid/api/aggregation_api.py +5 -5
- lusid/api/allocations_api.py +5 -5
- lusid/api/application_metadata_api.py +4 -4
- lusid/api/blocks_api.py +5 -5
- lusid/api/calendars_api.py +13 -13
- lusid/api/complex_market_data_api.py +4 -4
- lusid/api/configuration_recipe_api.py +5 -5
- lusid/api/corporate_action_sources_api.py +9 -9
- lusid/api/counterparties_api.py +9 -9
- lusid/api/custom_entities_api.py +12 -12
- lusid/api/custom_entity_definitions_api.py +5 -5
- lusid/api/cut_label_definitions_api.py +6 -6
- lusid/api/data_types_api.py +8 -8
- lusid/api/derived_transaction_portfolios_api.py +3 -3
- lusid/api/entities_api.py +2 -2
- lusid/api/executions_api.py +5 -5
- lusid/api/instruments_api.py +16 -16
- lusid/api/legal_entities_api.py +18 -18
- lusid/api/orders_api.py +5 -5
- lusid/api/participations_api.py +5 -5
- lusid/api/persons_api.py +18 -18
- lusid/api/placements_api.py +5 -5
- lusid/api/portfolio_groups_api.py +26 -26
- lusid/api/portfolios_api.py +23 -23
- lusid/api/property_definitions_api.py +8 -8
- lusid/api/quotes_api.py +6 -6
- lusid/api/reconciliations_api.py +10 -10
- lusid/api/reference_portfolio_api.py +5 -5
- lusid/api/relationship_definitions_api.py +6 -6
- lusid/api/relationships_api.py +3 -3
- lusid/api/schemas_api.py +5 -5
- lusid/api/scopes_api.py +2 -2
- lusid/api/search_api.py +5 -5
- lusid/api/sequences_api.py +5 -5
- lusid/api/system_configuration_api.py +3 -3
- lusid/api/transaction_portfolios_api.py +25 -25
- lusid/api_client.py +2 -2
- lusid/configuration.py +3 -3
- lusid/exceptions.py +1 -1
- lusid/models/__init__.py +4 -1
- lusid/models/a2_b_breakdown.py +1 -1
- lusid/models/a2_b_category.py +1 -1
- lusid/models/a2_b_data_record.py +1 -1
- lusid/models/a2_b_movement_record.py +1 -1
- lusid/models/access_controlled_action.py +1 -1
- lusid/models/access_controlled_resource.py +1 -1
- lusid/models/access_metadata_operation.py +1 -1
- lusid/models/access_metadata_value.py +1 -1
- lusid/models/action_id.py +1 -1
- lusid/models/action_result_of_portfolio.py +1 -1
- lusid/models/add_business_days_to_date_request.py +1 -1
- lusid/models/add_business_days_to_date_response.py +1 -1
- lusid/models/address_definition.py +1 -1
- lusid/models/address_key_filter.py +1 -1
- lusid/models/address_key_option_definition.py +1 -1
- lusid/models/adjust_holding.py +1 -1
- lusid/models/adjust_holding_for_date_request.py +1 -1
- lusid/models/adjust_holding_request.py +1 -1
- lusid/models/aggregate_spec.py +1 -1
- lusid/models/aggregated_return.py +1 -1
- lusid/models/aggregated_returns_request.py +1 -1
- lusid/models/aggregated_returns_response.py +1 -1
- lusid/models/aggregation.py +1 -1
- lusid/models/aggregation_context.py +1 -1
- lusid/models/aggregation_measure_failure_detail.py +1 -1
- lusid/models/aggregation_options.py +1 -1
- lusid/models/aggregation_query.py +1 -1
- lusid/models/allocation.py +1 -1
- lusid/models/allocation_request.py +1 -1
- lusid/models/allocation_set_request.py +1 -1
- lusid/models/amortisation_event.py +1 -1
- lusid/models/amortisation_event_all_of.py +1 -1
- lusid/models/annul_quotes_response.py +1 -1
- lusid/models/annul_single_structured_data_response.py +1 -1
- lusid/models/annul_structured_data_response.py +1 -1
- lusid/models/barrier.py +1 -1
- lusid/models/basket.py +5 -5
- lusid/models/basket_all_of.py +5 -5
- lusid/models/basket_identifier.py +1 -1
- lusid/models/batch_adjust_holdings_response.py +1 -1
- lusid/models/batch_upsert_portfolio_transactions_response.py +1 -1
- lusid/models/block.py +1 -1
- lusid/models/block_request.py +1 -1
- lusid/models/block_set_request.py +1 -1
- lusid/models/bond.py +5 -5
- lusid/models/bond_all_of.py +5 -5
- lusid/models/bond_default_event.py +1 -1
- lusid/models/bond_default_event_all_of.py +1 -1
- lusid/models/calendar.py +1 -1
- lusid/models/calendar_date.py +1 -1
- lusid/models/cap_floor.py +5 -5
- lusid/models/cap_floor_all_of.py +5 -5
- lusid/models/cash_dividend_event.py +1 -1
- lusid/models/cash_dividend_event_all_of.py +1 -1
- lusid/models/cash_flow_event.py +1 -1
- lusid/models/cash_flow_event_all_of.py +1 -1
- lusid/models/cash_flow_lineage.py +1 -1
- lusid/models/cash_flow_value.py +1 -1
- lusid/models/cash_flow_value_all_of.py +1 -1
- lusid/models/cash_flow_value_set.py +1 -1
- lusid/models/cash_flow_value_set_all_of.py +1 -1
- lusid/models/cash_ladder_record.py +1 -1
- lusid/models/cash_perpetual.py +5 -5
- lusid/models/cash_perpetual_all_of.py +5 -5
- lusid/models/cds_flow_conventions.py +1 -1
- lusid/models/cds_index.py +5 -5
- lusid/models/cds_index_all_of.py +5 -5
- lusid/models/cds_protection_detail_specification.py +1 -1
- lusid/models/change.py +1 -1
- lusid/models/change_history.py +1 -1
- lusid/models/change_item.py +1 -1
- lusid/models/close_event.py +1 -1
- lusid/models/close_event_all_of.py +1 -1
- lusid/models/complete_portfolio.py +1 -1
- lusid/models/complete_relationship.py +1 -1
- lusid/models/complex_bond.py +5 -5
- lusid/models/complex_bond_all_of.py +5 -5
- lusid/models/complex_market_data.py +1 -1
- lusid/models/complex_market_data_id.py +1 -1
- lusid/models/compounding.py +1 -1
- lusid/models/configuration_recipe.py +1 -1
- lusid/models/configuration_recipe_snippet.py +1 -1
- lusid/models/constituents_adjustment_header.py +1 -1
- lusid/models/contract_for_difference.py +5 -5
- lusid/models/contract_for_difference_all_of.py +5 -5
- lusid/models/corporate_action.py +1 -1
- lusid/models/corporate_action_source.py +1 -1
- lusid/models/corporate_action_transition.py +1 -1
- lusid/models/corporate_action_transition_component.py +1 -1
- lusid/models/corporate_action_transition_component_request.py +1 -1
- lusid/models/corporate_action_transition_request.py +1 -1
- lusid/models/counterparty_agreement.py +1 -1
- lusid/models/counterparty_risk_information.py +1 -1
- lusid/models/counterparty_signatory.py +1 -1
- lusid/models/create_calendar_request.py +1 -1
- lusid/models/create_corporate_action_source_request.py +1 -1
- lusid/models/create_cut_label_definition_request.py +1 -1
- lusid/models/create_data_type_request.py +1 -1
- lusid/models/create_date_request.py +1 -1
- lusid/models/create_derived_property_definition_request.py +1 -1
- lusid/models/create_derived_transaction_portfolio_request.py +1 -1
- lusid/models/create_portfolio_details.py +1 -1
- lusid/models/create_portfolio_group_request.py +1 -1
- lusid/models/create_property_definition_request.py +1 -1
- lusid/models/create_reference_portfolio_request.py +1 -1
- lusid/models/create_relationship_definition_request.py +1 -1
- lusid/models/create_relationship_request.py +1 -1
- lusid/models/create_sequence_request.py +1 -1
- lusid/models/create_transaction_portfolio_request.py +1 -1
- lusid/models/create_unit_definition.py +1 -1
- lusid/models/credit_default_swap.py +5 -5
- lusid/models/credit_default_swap_all_of.py +5 -5
- lusid/models/credit_rating.py +1 -1
- lusid/models/credit_spread_curve_data.py +1 -1
- lusid/models/credit_spread_curve_data_all_of.py +1 -1
- lusid/models/credit_support_annex.py +1 -1
- lusid/models/currency_and_amount.py +1 -1
- lusid/models/custodian_account.py +1 -1
- lusid/models/custom_entity_definition.py +1 -1
- lusid/models/custom_entity_definition_request.py +1 -1
- lusid/models/custom_entity_field.py +1 -1
- lusid/models/custom_entity_field_definition.py +1 -1
- lusid/models/custom_entity_id.py +1 -1
- lusid/models/custom_entity_request.py +1 -1
- lusid/models/custom_entity_response.py +1 -1
- lusid/models/cut_label_definition.py +1 -1
- lusid/models/cut_local_time.py +1 -1
- lusid/models/data_type.py +1 -1
- lusid/models/data_type_summary.py +1 -1
- lusid/models/date_attributes.py +1 -1
- lusid/models/date_range.py +1 -1
- lusid/models/day_of_week.py +1 -1
- lusid/models/delete_instrument_properties_response.py +1 -1
- lusid/models/delete_instrument_response.py +1 -1
- lusid/models/delete_instruments_response.py +1 -1
- lusid/models/delete_relationship_request.py +1 -1
- lusid/models/deleted_entity_response.py +1 -1
- lusid/models/dependency_source_filter.py +1 -1
- lusid/models/discount_factor_curve_data.py +1 -1
- lusid/models/discount_factor_curve_data_all_of.py +1 -1
- lusid/models/economic_dependency.py +1 -1
- lusid/models/economic_dependency_with_complex_market_data.py +1 -1
- lusid/models/economic_dependency_with_quote.py +1 -1
- lusid/models/empty_model_options.py +1 -1
- lusid/models/empty_model_options_all_of.py +1 -1
- lusid/models/entity_identifier.py +1 -1
- lusid/models/equity.py +5 -5
- lusid/models/equity_all_of.py +5 -5
- lusid/models/equity_all_of_identifiers.py +1 -1
- lusid/models/equity_curve_by_prices_data.py +1 -1
- lusid/models/equity_curve_by_prices_data_all_of.py +1 -1
- lusid/models/equity_model_options.py +1 -1
- lusid/models/equity_model_options_all_of.py +1 -1
- lusid/models/equity_option.py +5 -5
- lusid/models/equity_option_all_of.py +5 -5
- lusid/models/equity_swap.py +5 -5
- lusid/models/equity_swap_all_of.py +5 -5
- lusid/models/equity_vol_surface_data.py +1 -1
- lusid/models/equity_vol_surface_data_all_of.py +1 -1
- lusid/models/error_detail.py +1 -1
- lusid/models/event_date_range.py +1 -1
- lusid/models/exchange_traded_option.py +5 -5
- lusid/models/exchange_traded_option_all_of.py +5 -5
- lusid/models/exchange_traded_option_contract_details.py +1 -1
- lusid/models/execution.py +1 -1
- lusid/models/execution_request.py +1 -1
- lusid/models/execution_set_request.py +1 -1
- lusid/models/exercise_event.py +1 -1
- lusid/models/exercise_event_all_of.py +1 -1
- lusid/models/exotic_instrument.py +5 -5
- lusid/models/exotic_instrument_all_of.py +5 -5
- lusid/models/expanded_group.py +1 -1
- lusid/models/field_definition.py +1 -1
- lusid/models/field_schema.py +1 -1
- lusid/models/field_value.py +1 -1
- lusid/models/file_response.py +1 -1
- lusid/models/fixed_leg.py +5 -5
- lusid/models/fixed_leg_all_of.py +5 -5
- lusid/models/fixed_leg_all_of_overrides.py +1 -1
- lusid/models/floating_leg.py +5 -5
- lusid/models/floating_leg_all_of.py +5 -5
- lusid/models/flow_convention_name.py +1 -1
- lusid/models/flow_conventions.py +1 -1
- lusid/models/forward_rate_agreement.py +5 -5
- lusid/models/forward_rate_agreement_all_of.py +5 -5
- lusid/models/funding_leg.py +5 -5
- lusid/models/funding_leg_all_of.py +5 -5
- lusid/models/future.py +5 -5
- lusid/models/future_all_of.py +5 -5
- lusid/models/futures_contract_details.py +1 -1
- lusid/models/fx_forward.py +5 -5
- lusid/models/fx_forward_all_of.py +5 -5
- lusid/models/fx_forward_curve_by_quote_reference.py +1 -1
- lusid/models/fx_forward_curve_by_quote_reference_all_of.py +1 -1
- lusid/models/fx_forward_curve_data.py +1 -1
- lusid/models/fx_forward_curve_data_all_of.py +1 -1
- lusid/models/fx_forward_model_options.py +1 -1
- lusid/models/fx_forward_model_options_all_of.py +1 -1
- lusid/models/fx_forward_pips_curve_data.py +1 -1
- lusid/models/fx_forward_pips_curve_data_all_of.py +1 -1
- lusid/models/fx_forward_tenor_curve_data.py +1 -1
- lusid/models/fx_forward_tenor_curve_data_all_of.py +1 -1
- lusid/models/fx_forward_tenor_pips_curve_data.py +1 -1
- lusid/models/fx_forward_tenor_pips_curve_data_all_of.py +1 -1
- lusid/models/fx_option.py +5 -5
- lusid/models/fx_option_all_of.py +5 -5
- lusid/models/fx_swap.py +5 -5
- lusid/models/fx_swap_all_of.py +5 -5
- lusid/models/fx_vol_surface_data.py +1 -1
- lusid/models/get_complex_market_data_response.py +1 -1
- lusid/models/get_counterparty_agreement_response.py +1 -1
- lusid/models/get_credit_support_annex_response.py +1 -1
- lusid/models/get_instruments_response.py +1 -1
- lusid/models/get_quotes_response.py +1 -1
- lusid/models/get_recipe_response.py +1 -1
- lusid/models/get_reference_portfolio_constituents_response.py +1 -1
- lusid/models/holding_adjustment.py +1 -1
- lusid/models/holding_adjustment_with_date.py +1 -1
- lusid/models/holding_context.py +1 -1
- lusid/models/holdings_adjustment.py +1 -1
- lusid/models/holdings_adjustment_header.py +1 -1
- lusid/models/i_data_record.py +1 -1
- lusid/models/i_unit_definition_dto.py +1 -1
- lusid/models/id_selector_definition.py +1 -1
- lusid/models/identifier_part_schema.py +1 -1
- lusid/models/index_convention.py +1 -1
- lusid/models/index_model_options.py +1 -1
- lusid/models/index_model_options_all_of.py +1 -1
- lusid/models/industry_classifier.py +1 -1
- lusid/models/inflation_linked_bond.py +5 -5
- lusid/models/inflation_linked_bond_all_of.py +5 -5
- lusid/models/inflation_swap.py +5 -5
- lusid/models/inflation_swap_all_of.py +5 -5
- lusid/models/informational_error_event.py +1 -1
- lusid/models/informational_error_event_all_of.py +1 -1
- lusid/models/informational_event.py +1 -1
- lusid/models/informational_event_all_of.py +1 -1
- lusid/models/inline_valuation_request.py +1 -1
- lusid/models/inline_valuations_reconciliation_request.py +1 -1
- lusid/models/input_transition.py +1 -1
- lusid/models/instrument.py +1 -1
- lusid/models/instrument_definition.py +1 -1
- lusid/models/instrument_definition_format.py +1 -1
- lusid/models/instrument_event.py +1 -1
- lusid/models/instrument_event_holder.py +1 -1
- lusid/models/instrument_id_type_descriptor.py +1 -1
- lusid/models/instrument_id_value.py +1 -1
- lusid/models/instrument_leg.py +5 -5
- lusid/models/instrument_leg_all_of.py +5 -5
- lusid/models/instrument_match.py +1 -1
- lusid/models/instrument_models.py +1 -1
- lusid/models/instrument_properties.py +1 -1
- lusid/models/instrument_search_property.py +1 -1
- lusid/models/interest_rate_swap.py +5 -5
- lusid/models/interest_rate_swap_all_of.py +5 -5
- lusid/models/interest_rate_swaption.py +5 -5
- lusid/models/interest_rate_swaption_all_of.py +5 -5
- lusid/models/ir_vol_cube_data.py +1 -1
- lusid/models/ir_vol_cube_data_all_of.py +1 -1
- lusid/models/is_business_day_response.py +1 -1
- lusid/models/label_value_set.py +1 -1
- lusid/models/leg_definition.py +1 -1
- lusid/models/legal_entity.py +1 -1
- lusid/models/level_step.py +1 -1
- lusid/models/life_cycle_event_lineage.py +1 -1
- lusid/models/life_cycle_event_value.py +1 -1
- lusid/models/life_cycle_event_value_all_of.py +1 -1
- lusid/models/link.py +1 -1
- lusid/models/list_aggregation_reconciliation.py +1 -1
- lusid/models/list_aggregation_response.py +1 -1
- lusid/models/loan_period.py +204 -0
- lusid/models/lusid_instrument.py +6 -5
- lusid/models/lusid_problem_details.py +1 -1
- lusid/models/lusid_unique_id.py +1 -1
- lusid/models/lusid_validation_problem_details.py +1 -1
- lusid/models/mapped_string.py +1 -1
- lusid/models/mapping.py +1 -1
- lusid/models/mapping_rule.py +1 -1
- lusid/models/market_context.py +1 -1
- lusid/models/market_context_suppliers.py +1 -1
- lusid/models/market_data_key_rule.py +1 -1
- lusid/models/market_data_options.py +1 -1
- lusid/models/market_data_overrides.py +1 -1
- lusid/models/market_data_specific_rule.py +1 -1
- lusid/models/market_options.py +1 -1
- lusid/models/market_quote.py +1 -1
- lusid/models/metric_value.py +1 -1
- lusid/models/model_options.py +1 -1
- lusid/models/model_property.py +1 -1
- lusid/models/model_selection.py +1 -1
- lusid/models/next_value_in_sequence_response.py +1 -1
- lusid/models/opaque_market_data.py +1 -1
- lusid/models/opaque_market_data_all_of.py +1 -1
- lusid/models/opaque_model_options.py +1 -1
- lusid/models/opaque_model_options_all_of.py +1 -1
- lusid/models/open_event.py +1 -1
- lusid/models/open_event_all_of.py +1 -1
- lusid/models/operation.py +1 -1
- lusid/models/order.py +1 -1
- lusid/models/order_by_spec.py +1 -1
- lusid/models/order_request.py +1 -1
- lusid/models/order_set_request.py +1 -1
- lusid/models/otc_confirmation.py +1 -1
- lusid/models/output_transaction.py +1 -1
- lusid/models/output_transition.py +1 -1
- lusid/models/paged_resource_list_of_allocation.py +1 -1
- lusid/models/paged_resource_list_of_block.py +1 -1
- lusid/models/paged_resource_list_of_calendar.py +1 -1
- lusid/models/paged_resource_list_of_corporate_action_source.py +1 -1
- lusid/models/paged_resource_list_of_custom_entity_definition.py +1 -1
- lusid/models/paged_resource_list_of_custom_entity_response.py +1 -1
- lusid/models/paged_resource_list_of_cut_label_definition.py +1 -1
- lusid/models/paged_resource_list_of_data_type_summary.py +1 -1
- lusid/models/paged_resource_list_of_execution.py +1 -1
- lusid/models/paged_resource_list_of_instrument.py +1 -1
- lusid/models/paged_resource_list_of_instrument_event_holder.py +1 -1
- lusid/models/paged_resource_list_of_legal_entity.py +1 -1
- lusid/models/paged_resource_list_of_order.py +1 -1
- lusid/models/paged_resource_list_of_participation.py +1 -1
- lusid/models/paged_resource_list_of_person.py +1 -1
- lusid/models/paged_resource_list_of_placement.py +1 -1
- lusid/models/paged_resource_list_of_portfolio_group_search_result.py +1 -1
- lusid/models/paged_resource_list_of_portfolio_search_result.py +1 -1
- lusid/models/paged_resource_list_of_property_definition_search_result.py +1 -1
- lusid/models/paged_resource_list_of_relationship_definition.py +1 -1
- lusid/models/paged_resource_list_of_sequence_definition.py +1 -1
- lusid/models/participation.py +1 -1
- lusid/models/participation_request.py +1 -1
- lusid/models/participation_set_request.py +1 -1
- lusid/models/performance_return.py +1 -1
- lusid/models/performance_returns_metric.py +1 -1
- lusid/models/perpetual_property.py +1 -1
- lusid/models/person.py +1 -1
- lusid/models/placement.py +1 -1
- lusid/models/placement_request.py +1 -1
- lusid/models/placement_set_request.py +1 -1
- lusid/models/portfolio.py +1 -1
- lusid/models/portfolio_cash_flow.py +1 -1
- lusid/models/portfolio_cash_ladder.py +1 -1
- lusid/models/portfolio_details.py +1 -1
- lusid/models/portfolio_entity_id.py +1 -1
- lusid/models/portfolio_group.py +1 -1
- lusid/models/portfolio_group_properties.py +1 -1
- lusid/models/portfolio_group_search_result.py +1 -1
- lusid/models/portfolio_holding.py +1 -1
- lusid/models/portfolio_properties.py +1 -1
- lusid/models/portfolio_reconciliation_request.py +1 -1
- lusid/models/portfolio_result_data_key_rule.py +1 -1
- lusid/models/portfolio_result_data_key_rule_all_of.py +1 -1
- lusid/models/portfolio_search_result.py +1 -1
- lusid/models/portfolios_reconciliation_request.py +1 -1
- lusid/models/premium.py +1 -1
- lusid/models/pricing_context.py +1 -1
- lusid/models/pricing_options.py +1 -1
- lusid/models/processed_command.py +1 -1
- lusid/models/property_definition.py +1 -1
- lusid/models/property_definition_search_result.py +1 -1
- lusid/models/property_filter.py +1 -1
- lusid/models/property_interval.py +1 -1
- lusid/models/property_schema.py +1 -1
- lusid/models/property_value.py +1 -1
- lusid/models/quote.py +1 -1
- lusid/models/quote_id.py +1 -1
- lusid/models/quote_series_id.py +1 -1
- lusid/models/raw_vendor_event.py +1 -1
- lusid/models/raw_vendor_event_all_of.py +1 -1
- lusid/models/realised_gain_loss.py +1 -1
- lusid/models/reconcile_date_time_rule.py +1 -1
- lusid/models/reconcile_date_time_rule_all_of.py +1 -1
- lusid/models/reconcile_numeric_rule.py +1 -1
- lusid/models/reconcile_numeric_rule_all_of.py +1 -1
- lusid/models/reconcile_string_rule.py +1 -1
- lusid/models/reconcile_string_rule_all_of.py +1 -1
- lusid/models/reconciled_transaction.py +1 -1
- lusid/models/reconciliation_break.py +1 -1
- lusid/models/reconciliation_left_right_address_key_pair.py +1 -1
- lusid/models/reconciliation_line.py +1 -1
- lusid/models/reconciliation_request.py +1 -1
- lusid/models/reconciliation_response.py +1 -1
- lusid/models/reconciliation_rule.py +1 -1
- lusid/models/reference_data.py +1 -1
- lusid/models/reference_instrument.py +5 -5
- lusid/models/reference_instrument_all_of.py +5 -5
- lusid/models/reference_portfolio_constituent.py +1 -1
- lusid/models/reference_portfolio_constituent_request.py +1 -1
- lusid/models/related_entity.py +1 -1
- lusid/models/relation.py +1 -1
- lusid/models/relationship.py +1 -1
- lusid/models/relationship_definition.py +1 -1
- lusid/models/repo.py +5 -5
- lusid/models/repo_all_of.py +5 -5
- lusid/models/reset_event.py +1 -1
- lusid/models/reset_event_all_of.py +1 -1
- lusid/models/resource_id.py +1 -1
- lusid/models/resource_list_of_access_controlled_resource.py +1 -1
- lusid/models/resource_list_of_access_metadata_value_of.py +1 -1
- lusid/models/resource_list_of_aggregation_query.py +1 -1
- lusid/models/resource_list_of_allocation.py +1 -1
- lusid/models/resource_list_of_block.py +1 -1
- lusid/models/resource_list_of_calendar_date.py +1 -1
- lusid/models/resource_list_of_change.py +1 -1
- lusid/models/resource_list_of_change_history.py +1 -1
- lusid/models/resource_list_of_constituents_adjustment_header.py +1 -1
- lusid/models/resource_list_of_corporate_action.py +1 -1
- lusid/models/resource_list_of_data_type.py +1 -1
- lusid/models/resource_list_of_execution.py +1 -1
- lusid/models/resource_list_of_get_counterparty_agreement_response.py +1 -1
- lusid/models/resource_list_of_get_credit_support_annex_response.py +1 -1
- lusid/models/resource_list_of_get_recipe_response.py +1 -1
- lusid/models/resource_list_of_holdings_adjustment_header.py +1 -1
- lusid/models/resource_list_of_i_unit_definition_dto.py +1 -1
- lusid/models/resource_list_of_instrument_id_type_descriptor.py +1 -1
- lusid/models/resource_list_of_legal_entity.py +1 -1
- lusid/models/resource_list_of_mapping.py +1 -1
- lusid/models/resource_list_of_order.py +1 -1
- lusid/models/resource_list_of_participation.py +1 -1
- lusid/models/resource_list_of_performance_return.py +1 -1
- lusid/models/resource_list_of_person.py +1 -1
- lusid/models/resource_list_of_placement.py +1 -1
- lusid/models/resource_list_of_portfolio.py +1 -1
- lusid/models/resource_list_of_portfolio_cash_flow.py +1 -1
- lusid/models/resource_list_of_portfolio_cash_ladder.py +1 -1
- lusid/models/resource_list_of_portfolio_group.py +1 -1
- lusid/models/resource_list_of_processed_command.py +1 -1
- lusid/models/resource_list_of_property.py +1 -1
- lusid/models/resource_list_of_property_definition.py +1 -1
- lusid/models/resource_list_of_property_interval.py +1 -1
- lusid/models/resource_list_of_quote.py +1 -1
- lusid/models/resource_list_of_reconciliation_break.py +1 -1
- lusid/models/resource_list_of_relation.py +1 -1
- lusid/models/resource_list_of_relationship.py +1 -1
- lusid/models/resource_list_of_scope_definition.py +1 -1
- lusid/models/resource_list_of_string.py +1 -1
- lusid/models/resource_list_of_value_type.py +1 -1
- lusid/models/response_meta_data.py +1 -1
- lusid/models/result_data_key_rule.py +1 -1
- lusid/models/result_data_key_rule_all_of.py +1 -1
- lusid/models/result_data_schema.py +1 -1
- lusid/models/result_key_rule.py +1 -1
- lusid/models/result_value.py +1 -1
- lusid/models/result_value0_d.py +1 -1
- lusid/models/result_value0_d_all_of.py +1 -1
- lusid/models/result_value_bool.py +1 -1
- lusid/models/result_value_bool_all_of.py +1 -1
- lusid/models/result_value_currency.py +1 -1
- lusid/models/result_value_currency_all_of.py +1 -1
- lusid/models/result_value_date_time_offset.py +1 -1
- lusid/models/result_value_date_time_offset_all_of.py +1 -1
- lusid/models/result_value_decimal.py +1 -1
- lusid/models/result_value_decimal_all_of.py +1 -1
- lusid/models/result_value_dictionary.py +1 -1
- lusid/models/result_value_dictionary_all_of.py +1 -1
- lusid/models/result_value_int.py +1 -1
- lusid/models/result_value_int_all_of.py +1 -1
- lusid/models/result_value_string.py +1 -1
- lusid/models/result_value_string_all_of.py +1 -1
- lusid/models/schedule.py +1 -1
- lusid/models/schema.py +1 -1
- lusid/models/scope_definition.py +1 -1
- lusid/models/sequence_definition.py +1 -1
- lusid/models/set_legal_entity_identifiers_request.py +1 -1
- lusid/models/set_legal_entity_properties_request.py +1 -1
- lusid/models/set_person_identifiers_request.py +1 -1
- lusid/models/set_person_properties_request.py +1 -1
- lusid/models/side_configuration_data.py +1 -1
- lusid/models/simple_cash_flow_loan.py +280 -0
- lusid/models/simple_cash_flow_loan_all_of.py +280 -0
- lusid/models/simple_instrument.py +5 -5
- lusid/models/simple_instrument_all_of.py +5 -5
- lusid/models/step_schedule.py +1 -1
- lusid/models/step_schedule_all_of.py +1 -1
- lusid/models/stock_split_event.py +1 -1
- lusid/models/stock_split_event_all_of.py +1 -1
- lusid/models/stream.py +1 -1
- lusid/models/supported_analytics_internal_request.py +1 -1
- lusid/models/target_tax_lot.py +1 -1
- lusid/models/target_tax_lot_request.py +1 -1
- lusid/models/term_deposit.py +5 -5
- lusid/models/term_deposit_all_of.py +5 -5
- lusid/models/touch.py +1 -1
- lusid/models/transaction.py +1 -1
- lusid/models/transaction_configuration_data.py +1 -1
- lusid/models/transaction_configuration_data_request.py +1 -1
- lusid/models/transaction_configuration_movement_data.py +1 -1
- lusid/models/transaction_configuration_movement_data_request.py +1 -1
- lusid/models/transaction_configuration_type_alias.py +1 -1
- lusid/models/transaction_price.py +1 -1
- lusid/models/transaction_property_mapping.py +1 -1
- lusid/models/transaction_property_mapping_request.py +1 -1
- lusid/models/transaction_query_parameters.py +1 -1
- lusid/models/transaction_reconciliation_request.py +1 -1
- lusid/models/transaction_request.py +1 -1
- lusid/models/transaction_set_configuration_data.py +1 -1
- lusid/models/transactions_reconciliations_response.py +1 -1
- lusid/models/transition_event.py +1 -1
- lusid/models/transition_event_all_of.py +1 -1
- lusid/models/trigger_event.py +1 -1
- lusid/models/trigger_event_all_of.py +1 -1
- lusid/models/typed_resource_id.py +1 -1
- lusid/models/update_calendar_request.py +1 -1
- lusid/models/update_custom_entity_definition_request.py +1 -1
- lusid/models/update_cut_label_definition_request.py +1 -1
- lusid/models/update_data_type_request.py +1 -1
- lusid/models/update_derived_property_definition_request.py +1 -1
- lusid/models/update_instrument_identifier_request.py +1 -1
- lusid/models/update_portfolio_group_request.py +1 -1
- lusid/models/update_portfolio_request.py +1 -1
- lusid/models/update_property_definition_request.py +1 -1
- lusid/models/update_relationship_definition_request.py +1 -1
- lusid/models/update_unit_request.py +1 -1
- lusid/models/upsert_complex_market_data_request.py +1 -1
- lusid/models/upsert_corporate_action_request.py +1 -1
- lusid/models/upsert_corporate_actions_response.py +1 -1
- lusid/models/upsert_counterparty_agreement_request.py +1 -1
- lusid/models/upsert_credit_support_annex_request.py +1 -1
- lusid/models/upsert_custom_entities_response.py +1 -1
- lusid/models/upsert_custom_entity_access_metadata_request.py +1 -1
- lusid/models/upsert_instrument_event_request.py +1 -1
- lusid/models/upsert_instrument_events_response.py +1 -1
- lusid/models/upsert_instrument_properties_response.py +1 -1
- lusid/models/upsert_instrument_property_request.py +1 -1
- lusid/models/upsert_instruments_response.py +1 -1
- lusid/models/upsert_legal_entities_response.py +1 -1
- lusid/models/upsert_legal_entity_access_metadata_request.py +1 -1
- lusid/models/upsert_legal_entity_request.py +1 -1
- lusid/models/upsert_person_access_metadata_request.py +1 -1
- lusid/models/upsert_person_request.py +1 -1
- lusid/models/upsert_portfolio_access_metadata_request.py +1 -1
- lusid/models/upsert_portfolio_group_access_metadata_request.py +1 -1
- lusid/models/upsert_portfolio_transactions_response.py +1 -1
- lusid/models/upsert_quote_request.py +1 -1
- lusid/models/upsert_quotes_response.py +1 -1
- lusid/models/upsert_recipe_request.py +1 -1
- lusid/models/upsert_reference_portfolio_constituents_request.py +1 -1
- lusid/models/upsert_reference_portfolio_constituents_response.py +1 -1
- lusid/models/upsert_returns_response.py +1 -1
- lusid/models/upsert_single_structured_data_response.py +1 -1
- lusid/models/upsert_structured_data_response.py +1 -1
- lusid/models/upsert_transaction_properties_response.py +1 -1
- lusid/models/user.py +1 -1
- lusid/models/valuation_request.py +1 -1
- lusid/models/valuation_schedule.py +1 -1
- lusid/models/valuations_reconciliation_request.py +1 -1
- lusid/models/value_type.py +1 -1
- lusid/models/vendor_model_rule.py +1 -1
- lusid/models/version.py +1 -1
- lusid/models/version_summary_dto.py +1 -1
- lusid/models/versioned_resource_list_of_a2_b_data_record.py +1 -1
- lusid/models/versioned_resource_list_of_a2_b_movement_record.py +1 -1
- lusid/models/versioned_resource_list_of_output_transaction.py +1 -1
- lusid/models/versioned_resource_list_of_portfolio_holding.py +1 -1
- lusid/models/versioned_resource_list_of_transaction.py +1 -1
- lusid/models/weekend_mask.py +1 -1
- lusid/models/weighted_instrument.py +1 -1
- lusid/models/weighted_instruments.py +1 -1
- lusid/models/yield_curve_data.py +1 -1
- lusid/models/yield_curve_data_all_of.py +1 -1
- lusid/rest.py +1 -1
- {lusid_sdk-1.0.58.dist-info → lusid_sdk-1.0.66.dist-info}/METADATA +1 -1
- lusid_sdk-1.0.66.dist-info/RECORD +616 -0
- lusid_sdk-1.0.58.dist-info/RECORD +0 -613
- {lusid_sdk-1.0.58.dist-info → lusid_sdk-1.0.66.dist-info}/WHEEL +0 -0
- {lusid_sdk-1.0.58.dist-info → lusid_sdk-1.0.66.dist-info}/top_level.txt +0 -0
@@ -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.0.66
|
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 SimpleCashFlowLoanAllOf(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
|
+
'start_date': 'datetime',
|
43
|
+
'maturity_date': 'datetime',
|
44
|
+
'dom_ccy': 'str',
|
45
|
+
'periods': 'list[LoanPeriod]',
|
46
|
+
'instrument_type': 'str'
|
47
|
+
}
|
48
|
+
|
49
|
+
attribute_map = {
|
50
|
+
'start_date': 'startDate',
|
51
|
+
'maturity_date': 'maturityDate',
|
52
|
+
'dom_ccy': 'domCcy',
|
53
|
+
'periods': 'periods',
|
54
|
+
'instrument_type': 'instrumentType'
|
55
|
+
}
|
56
|
+
|
57
|
+
required_map = {
|
58
|
+
'start_date': 'required',
|
59
|
+
'maturity_date': 'required',
|
60
|
+
'dom_ccy': 'required',
|
61
|
+
'periods': 'required',
|
62
|
+
'instrument_type': 'required'
|
63
|
+
}
|
64
|
+
|
65
|
+
def __init__(self, start_date=None, maturity_date=None, dom_ccy=None, periods=None, instrument_type=None, local_vars_configuration=None): # noqa: E501
|
66
|
+
"""SimpleCashFlowLoanAllOf - a model defined in OpenAPI"
|
67
|
+
|
68
|
+
:param start_date: The start date of the instrument. This is normally synonymous with the trade-date. (required)
|
69
|
+
:type start_date: datetime
|
70
|
+
:param maturity_date: The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it. (required)
|
71
|
+
:type maturity_date: datetime
|
72
|
+
:param dom_ccy: The domestic currency of the instrument. (required)
|
73
|
+
:type dom_ccy: str
|
74
|
+
:param periods: Periods of the underlying loan (required)
|
75
|
+
:type periods: list[lusid.LoanPeriod]
|
76
|
+
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required)
|
77
|
+
:type instrument_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._start_date = None
|
85
|
+
self._maturity_date = None
|
86
|
+
self._dom_ccy = None
|
87
|
+
self._periods = None
|
88
|
+
self._instrument_type = None
|
89
|
+
self.discriminator = None
|
90
|
+
|
91
|
+
self.start_date = start_date
|
92
|
+
self.maturity_date = maturity_date
|
93
|
+
self.dom_ccy = dom_ccy
|
94
|
+
self.periods = periods
|
95
|
+
self.instrument_type = instrument_type
|
96
|
+
|
97
|
+
@property
|
98
|
+
def start_date(self):
|
99
|
+
"""Gets the start_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
100
|
+
|
101
|
+
The start date of the instrument. This is normally synonymous with the trade-date. # noqa: E501
|
102
|
+
|
103
|
+
:return: The start_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
104
|
+
:rtype: datetime
|
105
|
+
"""
|
106
|
+
return self._start_date
|
107
|
+
|
108
|
+
@start_date.setter
|
109
|
+
def start_date(self, start_date):
|
110
|
+
"""Sets the start_date of this SimpleCashFlowLoanAllOf.
|
111
|
+
|
112
|
+
The start date of the instrument. This is normally synonymous with the trade-date. # noqa: E501
|
113
|
+
|
114
|
+
:param start_date: The start_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
115
|
+
:type start_date: datetime
|
116
|
+
"""
|
117
|
+
if self.local_vars_configuration.client_side_validation and start_date is None: # noqa: E501
|
118
|
+
raise ValueError("Invalid value for `start_date`, must not be `None`") # noqa: E501
|
119
|
+
|
120
|
+
self._start_date = start_date
|
121
|
+
|
122
|
+
@property
|
123
|
+
def maturity_date(self):
|
124
|
+
"""Gets the maturity_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
125
|
+
|
126
|
+
The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it. # noqa: E501
|
127
|
+
|
128
|
+
:return: The maturity_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
129
|
+
:rtype: datetime
|
130
|
+
"""
|
131
|
+
return self._maturity_date
|
132
|
+
|
133
|
+
@maturity_date.setter
|
134
|
+
def maturity_date(self, maturity_date):
|
135
|
+
"""Sets the maturity_date of this SimpleCashFlowLoanAllOf.
|
136
|
+
|
137
|
+
The final maturity date of the instrument. This means the last date on which the instruments makes a payment of any amount. For the avoidance of doubt, that is not necessarily prior to its last sensitivity date for the purposes of risk; e.g. instruments such as Constant Maturity Swaps (CMS) often have sensitivities to rates that may well be observed or set prior to the maturity date, but refer to a termination date beyond it. # noqa: E501
|
138
|
+
|
139
|
+
:param maturity_date: The maturity_date of this SimpleCashFlowLoanAllOf. # noqa: E501
|
140
|
+
:type maturity_date: datetime
|
141
|
+
"""
|
142
|
+
if self.local_vars_configuration.client_side_validation and maturity_date is None: # noqa: E501
|
143
|
+
raise ValueError("Invalid value for `maturity_date`, must not be `None`") # noqa: E501
|
144
|
+
|
145
|
+
self._maturity_date = maturity_date
|
146
|
+
|
147
|
+
@property
|
148
|
+
def dom_ccy(self):
|
149
|
+
"""Gets the dom_ccy of this SimpleCashFlowLoanAllOf. # noqa: E501
|
150
|
+
|
151
|
+
The domestic currency of the instrument. # noqa: E501
|
152
|
+
|
153
|
+
:return: The dom_ccy of this SimpleCashFlowLoanAllOf. # noqa: E501
|
154
|
+
:rtype: str
|
155
|
+
"""
|
156
|
+
return self._dom_ccy
|
157
|
+
|
158
|
+
@dom_ccy.setter
|
159
|
+
def dom_ccy(self, dom_ccy):
|
160
|
+
"""Sets the dom_ccy of this SimpleCashFlowLoanAllOf.
|
161
|
+
|
162
|
+
The domestic currency of the instrument. # noqa: E501
|
163
|
+
|
164
|
+
:param dom_ccy: The dom_ccy of this SimpleCashFlowLoanAllOf. # noqa: E501
|
165
|
+
:type dom_ccy: str
|
166
|
+
"""
|
167
|
+
if self.local_vars_configuration.client_side_validation and dom_ccy is None: # noqa: E501
|
168
|
+
raise ValueError("Invalid value for `dom_ccy`, must not be `None`") # noqa: E501
|
169
|
+
|
170
|
+
self._dom_ccy = dom_ccy
|
171
|
+
|
172
|
+
@property
|
173
|
+
def periods(self):
|
174
|
+
"""Gets the periods of this SimpleCashFlowLoanAllOf. # noqa: E501
|
175
|
+
|
176
|
+
Periods of the underlying loan # noqa: E501
|
177
|
+
|
178
|
+
:return: The periods of this SimpleCashFlowLoanAllOf. # noqa: E501
|
179
|
+
:rtype: list[lusid.LoanPeriod]
|
180
|
+
"""
|
181
|
+
return self._periods
|
182
|
+
|
183
|
+
@periods.setter
|
184
|
+
def periods(self, periods):
|
185
|
+
"""Sets the periods of this SimpleCashFlowLoanAllOf.
|
186
|
+
|
187
|
+
Periods of the underlying loan # noqa: E501
|
188
|
+
|
189
|
+
:param periods: The periods of this SimpleCashFlowLoanAllOf. # noqa: E501
|
190
|
+
:type periods: list[lusid.LoanPeriod]
|
191
|
+
"""
|
192
|
+
if self.local_vars_configuration.client_side_validation and periods is None: # noqa: E501
|
193
|
+
raise ValueError("Invalid value for `periods`, must not be `None`") # noqa: E501
|
194
|
+
|
195
|
+
self._periods = periods
|
196
|
+
|
197
|
+
@property
|
198
|
+
def instrument_type(self):
|
199
|
+
"""Gets the instrument_type of this SimpleCashFlowLoanAllOf. # noqa: E501
|
200
|
+
|
201
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
202
|
+
|
203
|
+
:return: The instrument_type of this SimpleCashFlowLoanAllOf. # noqa: E501
|
204
|
+
:rtype: str
|
205
|
+
"""
|
206
|
+
return self._instrument_type
|
207
|
+
|
208
|
+
@instrument_type.setter
|
209
|
+
def instrument_type(self, instrument_type):
|
210
|
+
"""Sets the instrument_type of this SimpleCashFlowLoanAllOf.
|
211
|
+
|
212
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
213
|
+
|
214
|
+
:param instrument_type: The instrument_type of this SimpleCashFlowLoanAllOf. # noqa: E501
|
215
|
+
:type instrument_type: str
|
216
|
+
"""
|
217
|
+
if self.local_vars_configuration.client_side_validation and instrument_type is None: # noqa: E501
|
218
|
+
raise ValueError("Invalid value for `instrument_type`, must not be `None`") # noqa: E501
|
219
|
+
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap", "SimpleCashFlowLoan"] # noqa: E501
|
220
|
+
if self.local_vars_configuration.client_side_validation and instrument_type not in allowed_values: # noqa: E501
|
221
|
+
raise ValueError(
|
222
|
+
"Invalid value for `instrument_type` ({0}), must be one of {1}" # noqa: E501
|
223
|
+
.format(instrument_type, allowed_values)
|
224
|
+
)
|
225
|
+
|
226
|
+
self._instrument_type = instrument_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, SimpleCashFlowLoanAllOf):
|
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, SimpleCashFlowLoanAllOf):
|
278
|
+
return True
|
279
|
+
|
280
|
+
return self.to_dict() != other.to_dict()
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
FINBOURNE Technology # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.0.
|
8
|
+
The version of the OpenAPI document: 1.0.66
|
9
9
|
Contact: info@finbourne.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -78,7 +78,7 @@ class SimpleInstrument(object):
|
|
78
78
|
:type fgn_ccys: list[str]
|
79
79
|
:param simple_instrument_type: The Instrument type of the simple instrument. (required)
|
80
80
|
:type simple_instrument_type: str
|
81
|
-
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap (required)
|
81
|
+
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required)
|
82
82
|
:type instrument_type: str
|
83
83
|
|
84
84
|
""" # noqa: E501
|
@@ -236,7 +236,7 @@ class SimpleInstrument(object):
|
|
236
236
|
def instrument_type(self):
|
237
237
|
"""Gets the instrument_type of this SimpleInstrument. # noqa: E501
|
238
238
|
|
239
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
239
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
240
240
|
|
241
241
|
:return: The instrument_type of this SimpleInstrument. # noqa: E501
|
242
242
|
:rtype: str
|
@@ -247,14 +247,14 @@ class SimpleInstrument(object):
|
|
247
247
|
def instrument_type(self, instrument_type):
|
248
248
|
"""Sets the instrument_type of this SimpleInstrument.
|
249
249
|
|
250
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
250
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
251
251
|
|
252
252
|
:param instrument_type: The instrument_type of this SimpleInstrument. # noqa: E501
|
253
253
|
:type instrument_type: str
|
254
254
|
"""
|
255
255
|
if self.local_vars_configuration.client_side_validation and instrument_type is None: # noqa: E501
|
256
256
|
raise ValueError("Invalid value for `instrument_type`, must not be `None`") # noqa: E501
|
257
|
-
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap"] # noqa: E501
|
257
|
+
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap", "SimpleCashFlowLoan"] # noqa: E501
|
258
258
|
if self.local_vars_configuration.client_side_validation and instrument_type not in allowed_values: # noqa: E501
|
259
259
|
raise ValueError(
|
260
260
|
"Invalid value for `instrument_type` ({0}), must be one of {1}" # noqa: E501
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
FINBOURNE Technology # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.0.
|
8
|
+
The version of the OpenAPI document: 1.0.66
|
9
9
|
Contact: info@finbourne.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -78,7 +78,7 @@ class SimpleInstrumentAllOf(object):
|
|
78
78
|
:type fgn_ccys: list[str]
|
79
79
|
:param simple_instrument_type: The Instrument type of the simple instrument. (required)
|
80
80
|
:type simple_instrument_type: str
|
81
|
-
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap (required)
|
81
|
+
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required)
|
82
82
|
:type instrument_type: str
|
83
83
|
|
84
84
|
""" # noqa: E501
|
@@ -236,7 +236,7 @@ class SimpleInstrumentAllOf(object):
|
|
236
236
|
def instrument_type(self):
|
237
237
|
"""Gets the instrument_type of this SimpleInstrumentAllOf. # noqa: E501
|
238
238
|
|
239
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
239
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
240
240
|
|
241
241
|
:return: The instrument_type of this SimpleInstrumentAllOf. # noqa: E501
|
242
242
|
:rtype: str
|
@@ -247,14 +247,14 @@ class SimpleInstrumentAllOf(object):
|
|
247
247
|
def instrument_type(self, instrument_type):
|
248
248
|
"""Sets the instrument_type of this SimpleInstrumentAllOf.
|
249
249
|
|
250
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
250
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
251
251
|
|
252
252
|
:param instrument_type: The instrument_type of this SimpleInstrumentAllOf. # noqa: E501
|
253
253
|
:type instrument_type: str
|
254
254
|
"""
|
255
255
|
if self.local_vars_configuration.client_side_validation and instrument_type is None: # noqa: E501
|
256
256
|
raise ValueError("Invalid value for `instrument_type`, must not be `None`") # noqa: E501
|
257
|
-
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap"] # noqa: E501
|
257
|
+
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap", "SimpleCashFlowLoan"] # noqa: E501
|
258
258
|
if self.local_vars_configuration.client_side_validation and instrument_type not in allowed_values: # noqa: E501
|
259
259
|
raise ValueError(
|
260
260
|
"Invalid value for `instrument_type` ({0}), must be one of {1}" # noqa: E501
|
lusid/models/step_schedule.py
CHANGED
lusid/models/stream.py
CHANGED
lusid/models/target_tax_lot.py
CHANGED
lusid/models/term_deposit.py
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
FINBOURNE Technology # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.0.
|
8
|
+
The version of the OpenAPI document: 1.0.66
|
9
9
|
Contact: info@finbourne.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -83,7 +83,7 @@ class TermDeposit(object):
|
|
83
83
|
:type rate: float
|
84
84
|
:param dom_ccy: DomCcy of the TermDeposit. If provided, must match the currency of FlowConvention.
|
85
85
|
:type dom_ccy: str
|
86
|
-
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap (required)
|
86
|
+
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required)
|
87
87
|
:type instrument_type: str
|
88
88
|
|
89
89
|
""" # noqa: E501
|
@@ -258,7 +258,7 @@ class TermDeposit(object):
|
|
258
258
|
def instrument_type(self):
|
259
259
|
"""Gets the instrument_type of this TermDeposit. # noqa: E501
|
260
260
|
|
261
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
261
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
262
262
|
|
263
263
|
:return: The instrument_type of this TermDeposit. # noqa: E501
|
264
264
|
:rtype: str
|
@@ -269,14 +269,14 @@ class TermDeposit(object):
|
|
269
269
|
def instrument_type(self, instrument_type):
|
270
270
|
"""Sets the instrument_type of this TermDeposit.
|
271
271
|
|
272
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
272
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
273
273
|
|
274
274
|
:param instrument_type: The instrument_type of this TermDeposit. # noqa: E501
|
275
275
|
:type instrument_type: str
|
276
276
|
"""
|
277
277
|
if self.local_vars_configuration.client_side_validation and instrument_type is None: # noqa: E501
|
278
278
|
raise ValueError("Invalid value for `instrument_type`, must not be `None`") # noqa: E501
|
279
|
-
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap"] # noqa: E501
|
279
|
+
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap", "SimpleCashFlowLoan"] # noqa: E501
|
280
280
|
if self.local_vars_configuration.client_side_validation and instrument_type not in allowed_values: # noqa: E501
|
281
281
|
raise ValueError(
|
282
282
|
"Invalid value for `instrument_type` ({0}), must be one of {1}" # noqa: E501
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
FINBOURNE Technology # noqa: E501
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 1.0.
|
8
|
+
The version of the OpenAPI document: 1.0.66
|
9
9
|
Contact: info@finbourne.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -83,7 +83,7 @@ class TermDepositAllOf(object):
|
|
83
83
|
:type rate: float
|
84
84
|
:param dom_ccy: DomCcy of the TermDeposit. If provided, must match the currency of FlowConvention.
|
85
85
|
:type dom_ccy: str
|
86
|
-
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap (required)
|
86
|
+
:param instrument_type: The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan (required)
|
87
87
|
:type instrument_type: str
|
88
88
|
|
89
89
|
""" # noqa: E501
|
@@ -258,7 +258,7 @@ class TermDepositAllOf(object):
|
|
258
258
|
def instrument_type(self):
|
259
259
|
"""Gets the instrument_type of this TermDepositAllOf. # noqa: E501
|
260
260
|
|
261
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
261
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
262
262
|
|
263
263
|
:return: The instrument_type of this TermDepositAllOf. # noqa: E501
|
264
264
|
:rtype: str
|
@@ -269,14 +269,14 @@ class TermDepositAllOf(object):
|
|
269
269
|
def instrument_type(self, instrument_type):
|
270
270
|
"""Sets the instrument_type of this TermDepositAllOf.
|
271
271
|
|
272
|
-
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap # noqa: E501
|
272
|
+
The available values are: QuotedSecurity, InterestRateSwap, FxForward, Future, ExoticInstrument, FxOption, CreditDefaultSwap, InterestRateSwaption, Bond, EquityOption, FixedLeg, FloatingLeg, BespokeCashFlowsLeg, Unknown, TermDeposit, ContractForDifference, EquitySwap, CashPerpetual, CapFloor, CashSettled, CdsIndex, Basket, FundingLeg, FxSwap, ForwardRateAgreement, SimpleInstrument, Repo, Equity, ExchangeTradedOption, ReferenceInstrument, ComplexBond, InflationLinkedBond, InflationSwap, SimpleCashFlowLoan # noqa: E501
|
273
273
|
|
274
274
|
:param instrument_type: The instrument_type of this TermDepositAllOf. # noqa: E501
|
275
275
|
:type instrument_type: str
|
276
276
|
"""
|
277
277
|
if self.local_vars_configuration.client_side_validation and instrument_type is None: # noqa: E501
|
278
278
|
raise ValueError("Invalid value for `instrument_type`, must not be `None`") # noqa: E501
|
279
|
-
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap"] # noqa: E501
|
279
|
+
allowed_values = ["QuotedSecurity", "InterestRateSwap", "FxForward", "Future", "ExoticInstrument", "FxOption", "CreditDefaultSwap", "InterestRateSwaption", "Bond", "EquityOption", "FixedLeg", "FloatingLeg", "BespokeCashFlowsLeg", "Unknown", "TermDeposit", "ContractForDifference", "EquitySwap", "CashPerpetual", "CapFloor", "CashSettled", "CdsIndex", "Basket", "FundingLeg", "FxSwap", "ForwardRateAgreement", "SimpleInstrument", "Repo", "Equity", "ExchangeTradedOption", "ReferenceInstrument", "ComplexBond", "InflationLinkedBond", "InflationSwap", "SimpleCashFlowLoan"] # noqa: E501
|
280
280
|
if self.local_vars_configuration.client_side_validation and instrument_type not in allowed_values: # noqa: E501
|
281
281
|
raise ValueError(
|
282
282
|
"Invalid value for `instrument_type` ({0}), must be one of {1}" # noqa: E501
|
lusid/models/touch.py
CHANGED
lusid/models/transaction.py
CHANGED