lusid-sdk 1.0.281__py3-none-any.whl → 1.0.282__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- lusid/__init__.py +6 -2
- lusid/__version__.py +1 -1
- lusid/api/address_key_definition_api.py +4 -4
- lusid/api/aggregation_api.py +4 -4
- 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/compliance___generic_api.py +740 -56
- 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 +24 -24
- lusid/api/property_definitions_api.py +11 -11
- lusid/api/quotes_api.py +6 -6
- lusid/api/reconciliations_api.py +10 -10
- lusid/api/reference_lists_api.py +5 -5
- 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 +5 -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_definition.py +1 -1
- lusid/models/address_key_filter.py +1 -1
- lusid/models/address_key_list.py +1 -1
- lusid/models/address_key_list_all_of.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_dispersion_request.py +1 -1
- lusid/models/aggregated_returns_request.py +1 -1
- lusid/models/aggregated_returns_response.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 +1 -1
- lusid/models/basket_all_of.py +1 -1
- 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/batch_upsert_property_definition_properties_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 +1 -1
- lusid/models/bond_all_of.py +1 -1
- 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 +1 -1
- lusid/models/cap_floor_all_of.py +1 -1
- lusid/models/cash_dependency.py +1 -1
- lusid/models/cash_dependency_all_of.py +1 -1
- 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 +1 -1
- lusid/models/cash_perpetual_all_of.py +1 -1
- lusid/models/cds_flow_conventions.py +1 -1
- lusid/models/cds_index.py +1 -1
- lusid/models/cds_index_all_of.py +1 -1
- 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 +1 -1
- lusid/models/complex_bond_all_of.py +1 -1
- lusid/models/complex_market_data.py +1 -1
- lusid/models/complex_market_data_id.py +1 -1
- lusid/models/compliance_rule_response.py +1 -3
- lusid/models/compliance_template.py +1 -1
- lusid/models/compliance_template_parameter.py +1 -1
- lusid/models/compliance_template_variation.py +1 -1
- lusid/models/composite_dispersion.py +1 -1
- lusid/models/composite_dispersion_response.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 +1 -1
- lusid/models/contract_for_difference_all_of.py +1 -1
- 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_address_key_definition_request.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 +1 -1
- lusid/models/credit_default_swap_all_of.py +1 -1
- 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/decimal_list.py +1 -1
- lusid/models/decimal_list_all_of.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/discounting_dependency.py +1 -1
- lusid/models/discounting_dependency_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 +1 -1
- lusid/models/equity_all_of.py +1 -1
- 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_curve_dependency.py +1 -1
- lusid/models/equity_curve_dependency_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 +1 -1
- lusid/models/equity_option_all_of.py +1 -1
- lusid/models/equity_swap.py +1 -1
- lusid/models/equity_swap_all_of.py +1 -1
- lusid/models/equity_vol_dependency.py +1 -1
- lusid/models/equity_vol_dependency_all_of.py +1 -1
- 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 +1 -1
- lusid/models/exchange_traded_option_all_of.py +1 -1
- 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 +1 -1
- lusid/models/exotic_instrument_all_of.py +1 -1
- 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 +1 -1
- lusid/models/fixed_leg_all_of.py +1 -1
- lusid/models/fixed_leg_all_of_overrides.py +1 -1
- lusid/models/floating_leg.py +1 -1
- lusid/models/floating_leg_all_of.py +1 -1
- lusid/models/flow_convention_name.py +1 -1
- lusid/models/flow_conventions.py +1 -1
- lusid/models/forward_rate_agreement.py +1 -1
- lusid/models/forward_rate_agreement_all_of.py +1 -1
- lusid/models/funding_leg.py +1 -1
- lusid/models/funding_leg_all_of.py +1 -1
- lusid/models/future.py +1 -1
- lusid/models/future_all_of.py +1 -1
- lusid/models/futures_contract_details.py +1 -1
- lusid/models/fx_dependency.py +1 -1
- lusid/models/fx_dependency_all_of.py +1 -1
- lusid/models/fx_forward.py +1 -1
- lusid/models/fx_forward_all_of.py +1 -1
- 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_forwards_dependency.py +1 -1
- lusid/models/fx_forwards_dependency_all_of.py +1 -1
- lusid/models/fx_option.py +1 -1
- lusid/models/fx_option_all_of.py +1 -1
- lusid/models/fx_swap.py +1 -1
- lusid/models/fx_swap_all_of.py +1 -1
- lusid/models/fx_tenor_convention.py +1 -1
- lusid/models/fx_vol_dependency.py +1 -1
- lusid/models/fx_vol_dependency_all_of.py +1 -1
- 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_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/index_projection_dependency.py +1 -1
- lusid/models/index_projection_dependency_all_of.py +1 -1
- lusid/models/industry_classifier.py +1 -1
- lusid/models/inflation_linked_bond.py +1 -1
- lusid/models/inflation_linked_bond_all_of.py +1 -1
- lusid/models/inflation_swap.py +1 -1
- lusid/models/inflation_swap_all_of.py +1 -1
- 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 +1 -1
- lusid/models/instrument_leg_all_of.py +1 -1
- lusid/models/instrument_list.py +1 -1
- lusid/models/instrument_list_all_of.py +1 -1
- 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 +1 -1
- lusid/models/interest_rate_swap_all_of.py +1 -1
- lusid/models/interest_rate_swaption.py +1 -1
- lusid/models/interest_rate_swaption_all_of.py +1 -1
- lusid/models/ir_vol_cube_data.py +1 -1
- lusid/models/ir_vol_cube_data_all_of.py +1 -1
- lusid/models/ir_vol_dependency.py +1 -1
- lusid/models/ir_vol_dependency_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 +1 -1
- lusid/models/lusid_instrument.py +1 -1
- 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_dependency.py +1 -1
- lusid/models/opaque_dependency_all_of.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_address_key_definition.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_compliance_rule_response.py +5 -15
- lusid/models/paged_resource_list_of_compliance_template.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_reference_list_response.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_id_list.py +1 -1
- lusid/models/portfolio_group_id_list_all_of.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_id_list.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_dependency.py +1 -1
- lusid/models/quote_dependency_all_of.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 +1 -1
- lusid/models/reference_instrument_all_of.py +1 -1
- lusid/models/reference_list.py +1 -1
- lusid/models/reference_list_request.py +1 -1
- lusid/models/reference_list_response.py +1 -1
- 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 +1 -1
- lusid/models/repo_all_of.py +1 -1
- 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/rounding_convention.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 +1 -1
- lusid/models/simple_cash_flow_loan_all_of.py +1 -1
- lusid/models/simple_instrument.py +1 -1
- lusid/models/simple_instrument_all_of.py +1 -1
- 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/string_list.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 +1 -1
- lusid/models/term_deposit_all_of.py +1 -1
- 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.281.dist-info → lusid_sdk-1.0.282.dist-info}/METADATA +1 -1
- lusid_sdk-1.0.282.dist-info/RECORD +670 -0
- lusid_sdk-1.0.281.dist-info/RECORD +0 -670
- {lusid_sdk-1.0.281.dist-info → lusid_sdk-1.0.282.dist-info}/WHEEL +0 -0
- {lusid_sdk-1.0.281.dist-info → lusid_sdk-1.0.282.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.0.
|
8
|
+
The version of the OpenAPI document: 1.0.282
|
9
9
|
Contact: info@finbourne.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
"""
|
@@ -23,10 +23,14 @@ from lusid.exceptions import ( # noqa: F401
|
|
23
23
|
ApiTypeError,
|
24
24
|
ApiValueError
|
25
25
|
)
|
26
|
+
from lusid.models.compliance_rule_response import ComplianceRuleResponse
|
26
27
|
from lusid.models.compliance_template import ComplianceTemplate
|
28
|
+
from lusid.models.deleted_entity_response import DeletedEntityResponse
|
27
29
|
from lusid.models.lusid_problem_details import LusidProblemDetails
|
28
30
|
from lusid.models.lusid_validation_problem_details import LusidValidationProblemDetails
|
31
|
+
from lusid.models.paged_resource_list_of_compliance_rule_response import PagedResourceListOfComplianceRuleResponse
|
29
32
|
from lusid.models.paged_resource_list_of_compliance_template import PagedResourceListOfComplianceTemplate
|
33
|
+
from lusid.models.upsert_compliance_rule_request import UpsertComplianceRuleRequest
|
30
34
|
|
31
35
|
|
32
36
|
class ComplianceGenericApi(object):
|
@@ -41,22 +45,553 @@ class ComplianceGenericApi(object):
|
|
41
45
|
api_client = ApiClient()
|
42
46
|
self.api_client = api_client
|
43
47
|
|
48
|
+
def delete_compliance_rule2(self, scope, code, **kwargs): # noqa: E501
|
49
|
+
"""[EARLY ACCESS] DeleteComplianceRule2: Get compliance rule. # noqa: E501
|
50
|
+
|
51
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
52
|
+
This method makes a synchronous HTTP request by default. To make an
|
53
|
+
asynchronous HTTP request, please pass async_req=True
|
54
|
+
|
55
|
+
>>> thread = api.delete_compliance_rule2(scope, code, async_req=True)
|
56
|
+
>>> result = thread.get()
|
57
|
+
|
58
|
+
:param scope: The compliance rule's scope. (required)
|
59
|
+
:type scope: str
|
60
|
+
:param code: The compliance rule's code. (required)
|
61
|
+
:type code: str
|
62
|
+
:param async_req: Whether to execute the request asynchronously.
|
63
|
+
:type async_req: bool, optional
|
64
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
65
|
+
be returned without reading/decoding response
|
66
|
+
data. Default is True.
|
67
|
+
:type _preload_content: bool, optional
|
68
|
+
:param _request_timeout: timeout setting for this request. If one
|
69
|
+
number provided, it will be total request
|
70
|
+
timeout. It can also be a pair (tuple) of
|
71
|
+
(connection, read) timeouts.
|
72
|
+
:return: Returns the result object.
|
73
|
+
If the method is called asynchronously,
|
74
|
+
returns the request thread.
|
75
|
+
:rtype: DeletedEntityResponse
|
76
|
+
"""
|
77
|
+
kwargs['_return_http_data_only'] = True
|
78
|
+
return self.delete_compliance_rule2_with_http_info(scope, code, **kwargs) # noqa: E501
|
79
|
+
|
80
|
+
def delete_compliance_rule2_with_http_info(self, scope, code, **kwargs): # noqa: E501
|
81
|
+
"""[EARLY ACCESS] DeleteComplianceRule2: Get compliance rule. # noqa: E501
|
82
|
+
|
83
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
84
|
+
This method makes a synchronous HTTP request by default. To make an
|
85
|
+
asynchronous HTTP request, please pass async_req=True
|
86
|
+
|
87
|
+
>>> thread = api.delete_compliance_rule2_with_http_info(scope, code, async_req=True)
|
88
|
+
>>> result = thread.get()
|
89
|
+
|
90
|
+
:param scope: The compliance rule's scope. (required)
|
91
|
+
:type scope: str
|
92
|
+
:param code: The compliance rule's code. (required)
|
93
|
+
:type code: str
|
94
|
+
:param async_req: Whether to execute the request asynchronously.
|
95
|
+
:type async_req: bool, optional
|
96
|
+
:param _return_http_data_only: response data without head status code
|
97
|
+
and headers
|
98
|
+
:type _return_http_data_only: bool, optional
|
99
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
100
|
+
be returned without reading/decoding response
|
101
|
+
data. Default is True.
|
102
|
+
:type _preload_content: bool, optional
|
103
|
+
:param _request_timeout: timeout setting for this request. If one
|
104
|
+
number provided, it will be total request
|
105
|
+
timeout. It can also be a pair (tuple) of
|
106
|
+
(connection, read) timeouts.
|
107
|
+
:param _request_auth: set to override the auth_settings for an a single
|
108
|
+
request; this effectively ignores the authentication
|
109
|
+
in the spec for a single request.
|
110
|
+
:type _request_auth: dict, optional
|
111
|
+
:return: Returns the result object, the HTTP status code, and the headers.
|
112
|
+
If the method is called asynchronously,
|
113
|
+
returns the request thread.
|
114
|
+
:rtype: (DeletedEntityResponse, int, HTTPHeaderDict)
|
115
|
+
"""
|
116
|
+
|
117
|
+
local_var_params = locals()
|
118
|
+
|
119
|
+
all_params = [
|
120
|
+
'scope',
|
121
|
+
'code'
|
122
|
+
]
|
123
|
+
all_params.extend(
|
124
|
+
[
|
125
|
+
'async_req',
|
126
|
+
'_return_http_data_only',
|
127
|
+
'_preload_content',
|
128
|
+
'_request_timeout',
|
129
|
+
'_request_auth',
|
130
|
+
'_headers'
|
131
|
+
]
|
132
|
+
)
|
133
|
+
|
134
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
135
|
+
if key not in all_params:
|
136
|
+
raise ApiTypeError(
|
137
|
+
"Got an unexpected keyword argument '%s'"
|
138
|
+
" to method delete_compliance_rule2" % key
|
139
|
+
)
|
140
|
+
local_var_params[key] = val
|
141
|
+
del local_var_params['kwargs']
|
142
|
+
# verify the required parameter 'scope' is set
|
143
|
+
if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
|
144
|
+
local_var_params['scope'] is None): # noqa: E501
|
145
|
+
raise ApiValueError("Missing the required parameter `scope` when calling `delete_compliance_rule2`") # noqa: E501
|
146
|
+
# verify the required parameter 'code' is set
|
147
|
+
if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
|
148
|
+
local_var_params['code'] is None): # noqa: E501
|
149
|
+
raise ApiValueError("Missing the required parameter `code` when calling `delete_compliance_rule2`") # noqa: E501
|
150
|
+
|
151
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
152
|
+
len(local_var_params['scope']) > 64): # noqa: E501
|
153
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `delete_compliance_rule2`, length must be less than or equal to `64`") # noqa: E501
|
154
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
155
|
+
len(local_var_params['scope']) < 1): # noqa: E501
|
156
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `delete_compliance_rule2`, length must be greater than or equal to `1`") # noqa: E501
|
157
|
+
if self.api_client.client_side_validation and 'scope' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['scope']): # noqa: E501
|
158
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `delete_compliance_rule2`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
159
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
160
|
+
len(local_var_params['code']) > 64): # noqa: E501
|
161
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `delete_compliance_rule2`, length must be less than or equal to `64`") # noqa: E501
|
162
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
163
|
+
len(local_var_params['code']) < 1): # noqa: E501
|
164
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `delete_compliance_rule2`, length must be greater than or equal to `1`") # noqa: E501
|
165
|
+
if self.api_client.client_side_validation and 'code' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['code']): # noqa: E501
|
166
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `delete_compliance_rule2`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
167
|
+
collection_formats = {}
|
168
|
+
|
169
|
+
path_params = {}
|
170
|
+
if 'scope' in local_var_params:
|
171
|
+
path_params['scope'] = local_var_params['scope'] # noqa: E501
|
172
|
+
if 'code' in local_var_params:
|
173
|
+
path_params['code'] = local_var_params['code'] # noqa: E501
|
174
|
+
|
175
|
+
query_params = []
|
176
|
+
|
177
|
+
header_params = dict(local_var_params.get('_headers', {}))
|
178
|
+
|
179
|
+
form_params = []
|
180
|
+
local_var_files = {}
|
181
|
+
|
182
|
+
body_params = None
|
183
|
+
# HTTP header `Accept`
|
184
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
185
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
186
|
+
|
187
|
+
header_params['Accept-Encoding'] = "gzip, deflate, br"
|
188
|
+
|
189
|
+
|
190
|
+
# set the LUSID header
|
191
|
+
header_params['X-LUSID-SDK-Language'] = 'Python'
|
192
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
193
|
+
|
194
|
+
# Authentication setting
|
195
|
+
auth_settings = ['oauth2'] # noqa: E501
|
196
|
+
|
197
|
+
response_types_map = {
|
198
|
+
200: "DeletedEntityResponse",
|
199
|
+
400: "LusidValidationProblemDetails",
|
200
|
+
}
|
201
|
+
|
202
|
+
return self.api_client.call_api(
|
203
|
+
'/api/compliance/generic/rules/{scope}/{code}', 'DELETE',
|
204
|
+
path_params,
|
205
|
+
query_params,
|
206
|
+
header_params,
|
207
|
+
body=body_params,
|
208
|
+
post_params=form_params,
|
209
|
+
files=local_var_files,
|
210
|
+
response_types_map=response_types_map,
|
211
|
+
auth_settings=auth_settings,
|
212
|
+
async_req=local_var_params.get('async_req'),
|
213
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
214
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
215
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
216
|
+
collection_formats=collection_formats,
|
217
|
+
_request_auth=local_var_params.get('_request_auth'))
|
218
|
+
|
219
|
+
def get_compliance_rule2(self, scope, code, **kwargs): # noqa: E501
|
220
|
+
"""[EARLY ACCESS] GetComplianceRule2: Get compliance rule. # noqa: E501
|
221
|
+
|
222
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
223
|
+
This method makes a synchronous HTTP request by default. To make an
|
224
|
+
asynchronous HTTP request, please pass async_req=True
|
225
|
+
|
226
|
+
>>> thread = api.get_compliance_rule2(scope, code, async_req=True)
|
227
|
+
>>> result = thread.get()
|
228
|
+
|
229
|
+
:param scope: The compliance rule's scope. (required)
|
230
|
+
:type scope: str
|
231
|
+
:param code: The compliance rule's code. (required)
|
232
|
+
:type code: str
|
233
|
+
:param as_at: Optional. Asat time for query.
|
234
|
+
:type as_at: datetime
|
235
|
+
:param async_req: Whether to execute the request asynchronously.
|
236
|
+
:type async_req: bool, optional
|
237
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
238
|
+
be returned without reading/decoding response
|
239
|
+
data. Default is True.
|
240
|
+
:type _preload_content: bool, optional
|
241
|
+
:param _request_timeout: timeout setting for this request. If one
|
242
|
+
number provided, it will be total request
|
243
|
+
timeout. It can also be a pair (tuple) of
|
244
|
+
(connection, read) timeouts.
|
245
|
+
:return: Returns the result object.
|
246
|
+
If the method is called asynchronously,
|
247
|
+
returns the request thread.
|
248
|
+
:rtype: ComplianceRuleResponse
|
249
|
+
"""
|
250
|
+
kwargs['_return_http_data_only'] = True
|
251
|
+
return self.get_compliance_rule2_with_http_info(scope, code, **kwargs) # noqa: E501
|
252
|
+
|
253
|
+
def get_compliance_rule2_with_http_info(self, scope, code, **kwargs): # noqa: E501
|
254
|
+
"""[EARLY ACCESS] GetComplianceRule2: Get compliance rule. # noqa: E501
|
255
|
+
|
256
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
257
|
+
This method makes a synchronous HTTP request by default. To make an
|
258
|
+
asynchronous HTTP request, please pass async_req=True
|
259
|
+
|
260
|
+
>>> thread = api.get_compliance_rule2_with_http_info(scope, code, async_req=True)
|
261
|
+
>>> result = thread.get()
|
262
|
+
|
263
|
+
:param scope: The compliance rule's scope. (required)
|
264
|
+
:type scope: str
|
265
|
+
:param code: The compliance rule's code. (required)
|
266
|
+
:type code: str
|
267
|
+
:param as_at: Optional. Asat time for query.
|
268
|
+
:type as_at: datetime
|
269
|
+
:param async_req: Whether to execute the request asynchronously.
|
270
|
+
:type async_req: bool, optional
|
271
|
+
:param _return_http_data_only: response data without head status code
|
272
|
+
and headers
|
273
|
+
:type _return_http_data_only: bool, optional
|
274
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
275
|
+
be returned without reading/decoding response
|
276
|
+
data. Default is True.
|
277
|
+
:type _preload_content: bool, optional
|
278
|
+
:param _request_timeout: timeout setting for this request. If one
|
279
|
+
number provided, it will be total request
|
280
|
+
timeout. It can also be a pair (tuple) of
|
281
|
+
(connection, read) timeouts.
|
282
|
+
:param _request_auth: set to override the auth_settings for an a single
|
283
|
+
request; this effectively ignores the authentication
|
284
|
+
in the spec for a single request.
|
285
|
+
:type _request_auth: dict, optional
|
286
|
+
:return: Returns the result object, the HTTP status code, and the headers.
|
287
|
+
If the method is called asynchronously,
|
288
|
+
returns the request thread.
|
289
|
+
:rtype: (ComplianceRuleResponse, int, HTTPHeaderDict)
|
290
|
+
"""
|
291
|
+
|
292
|
+
local_var_params = locals()
|
293
|
+
|
294
|
+
all_params = [
|
295
|
+
'scope',
|
296
|
+
'code',
|
297
|
+
'as_at'
|
298
|
+
]
|
299
|
+
all_params.extend(
|
300
|
+
[
|
301
|
+
'async_req',
|
302
|
+
'_return_http_data_only',
|
303
|
+
'_preload_content',
|
304
|
+
'_request_timeout',
|
305
|
+
'_request_auth',
|
306
|
+
'_headers'
|
307
|
+
]
|
308
|
+
)
|
309
|
+
|
310
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
311
|
+
if key not in all_params:
|
312
|
+
raise ApiTypeError(
|
313
|
+
"Got an unexpected keyword argument '%s'"
|
314
|
+
" to method get_compliance_rule2" % key
|
315
|
+
)
|
316
|
+
local_var_params[key] = val
|
317
|
+
del local_var_params['kwargs']
|
318
|
+
# verify the required parameter 'scope' is set
|
319
|
+
if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
|
320
|
+
local_var_params['scope'] is None): # noqa: E501
|
321
|
+
raise ApiValueError("Missing the required parameter `scope` when calling `get_compliance_rule2`") # noqa: E501
|
322
|
+
# verify the required parameter 'code' is set
|
323
|
+
if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
|
324
|
+
local_var_params['code'] is None): # noqa: E501
|
325
|
+
raise ApiValueError("Missing the required parameter `code` when calling `get_compliance_rule2`") # noqa: E501
|
326
|
+
|
327
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
328
|
+
len(local_var_params['scope']) > 64): # noqa: E501
|
329
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_rule2`, length must be less than or equal to `64`") # noqa: E501
|
330
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
331
|
+
len(local_var_params['scope']) < 1): # noqa: E501
|
332
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_rule2`, length must be greater than or equal to `1`") # noqa: E501
|
333
|
+
if self.api_client.client_side_validation and 'scope' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['scope']): # noqa: E501
|
334
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_rule2`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
335
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
336
|
+
len(local_var_params['code']) > 64): # noqa: E501
|
337
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_rule2`, length must be less than or equal to `64`") # noqa: E501
|
338
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
339
|
+
len(local_var_params['code']) < 1): # noqa: E501
|
340
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_rule2`, length must be greater than or equal to `1`") # noqa: E501
|
341
|
+
if self.api_client.client_side_validation and 'code' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['code']): # noqa: E501
|
342
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_rule2`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
343
|
+
collection_formats = {}
|
344
|
+
|
345
|
+
path_params = {}
|
346
|
+
if 'scope' in local_var_params:
|
347
|
+
path_params['scope'] = local_var_params['scope'] # noqa: E501
|
348
|
+
if 'code' in local_var_params:
|
349
|
+
path_params['code'] = local_var_params['code'] # noqa: E501
|
350
|
+
|
351
|
+
query_params = []
|
352
|
+
if 'as_at' in local_var_params and local_var_params['as_at'] is not None: # noqa: E501
|
353
|
+
query_params.append(('asAt', local_var_params['as_at'])) # noqa: E501
|
354
|
+
|
355
|
+
header_params = dict(local_var_params.get('_headers', {}))
|
356
|
+
|
357
|
+
form_params = []
|
358
|
+
local_var_files = {}
|
359
|
+
|
360
|
+
body_params = None
|
361
|
+
# HTTP header `Accept`
|
362
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
363
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
364
|
+
|
365
|
+
header_params['Accept-Encoding'] = "gzip, deflate, br"
|
366
|
+
|
367
|
+
|
368
|
+
# set the LUSID header
|
369
|
+
header_params['X-LUSID-SDK-Language'] = 'Python'
|
370
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
371
|
+
|
372
|
+
# Authentication setting
|
373
|
+
auth_settings = ['oauth2'] # noqa: E501
|
374
|
+
|
375
|
+
response_types_map = {
|
376
|
+
200: "ComplianceRuleResponse",
|
377
|
+
400: "LusidValidationProblemDetails",
|
378
|
+
}
|
379
|
+
|
380
|
+
return self.api_client.call_api(
|
381
|
+
'/api/compliance/generic/rules/{scope}/{code}', 'GET',
|
382
|
+
path_params,
|
383
|
+
query_params,
|
384
|
+
header_params,
|
385
|
+
body=body_params,
|
386
|
+
post_params=form_params,
|
387
|
+
files=local_var_files,
|
388
|
+
response_types_map=response_types_map,
|
389
|
+
auth_settings=auth_settings,
|
390
|
+
async_req=local_var_params.get('async_req'),
|
391
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
392
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
393
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
394
|
+
collection_formats=collection_formats,
|
395
|
+
_request_auth=local_var_params.get('_request_auth'))
|
396
|
+
|
44
397
|
def get_compliance_template(self, scope, code, **kwargs): # noqa: E501
|
45
398
|
"""[EARLY ACCESS] GetComplianceTemplate: Get the requested compliance template. # noqa: E501
|
46
399
|
|
47
|
-
Use this endpoint to fetch a specific compliance template. # noqa: E501
|
400
|
+
Use this endpoint to fetch a specific compliance template. # noqa: E501
|
401
|
+
This method makes a synchronous HTTP request by default. To make an
|
402
|
+
asynchronous HTTP request, please pass async_req=True
|
403
|
+
|
404
|
+
>>> thread = api.get_compliance_template(scope, code, async_req=True)
|
405
|
+
>>> result = thread.get()
|
406
|
+
|
407
|
+
:param scope: Scope of TemplateID (required)
|
408
|
+
:type scope: str
|
409
|
+
:param code: Code of TemplateID (required)
|
410
|
+
:type code: str
|
411
|
+
:param as_at: Optional. The time at which to get results from. Default : latest
|
412
|
+
:type as_at: datetime
|
413
|
+
:param async_req: Whether to execute the request asynchronously.
|
414
|
+
:type async_req: bool, optional
|
415
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
416
|
+
be returned without reading/decoding response
|
417
|
+
data. Default is True.
|
418
|
+
:type _preload_content: bool, optional
|
419
|
+
:param _request_timeout: timeout setting for this request. If one
|
420
|
+
number provided, it will be total request
|
421
|
+
timeout. It can also be a pair (tuple) of
|
422
|
+
(connection, read) timeouts.
|
423
|
+
:return: Returns the result object.
|
424
|
+
If the method is called asynchronously,
|
425
|
+
returns the request thread.
|
426
|
+
:rtype: ComplianceTemplate
|
427
|
+
"""
|
428
|
+
kwargs['_return_http_data_only'] = True
|
429
|
+
return self.get_compliance_template_with_http_info(scope, code, **kwargs) # noqa: E501
|
430
|
+
|
431
|
+
def get_compliance_template_with_http_info(self, scope, code, **kwargs): # noqa: E501
|
432
|
+
"""[EARLY ACCESS] GetComplianceTemplate: Get the requested compliance template. # noqa: E501
|
433
|
+
|
434
|
+
Use this endpoint to fetch a specific compliance template. # noqa: E501
|
435
|
+
This method makes a synchronous HTTP request by default. To make an
|
436
|
+
asynchronous HTTP request, please pass async_req=True
|
437
|
+
|
438
|
+
>>> thread = api.get_compliance_template_with_http_info(scope, code, async_req=True)
|
439
|
+
>>> result = thread.get()
|
440
|
+
|
441
|
+
:param scope: Scope of TemplateID (required)
|
442
|
+
:type scope: str
|
443
|
+
:param code: Code of TemplateID (required)
|
444
|
+
:type code: str
|
445
|
+
:param as_at: Optional. The time at which to get results from. Default : latest
|
446
|
+
:type as_at: datetime
|
447
|
+
:param async_req: Whether to execute the request asynchronously.
|
448
|
+
:type async_req: bool, optional
|
449
|
+
:param _return_http_data_only: response data without head status code
|
450
|
+
and headers
|
451
|
+
:type _return_http_data_only: bool, optional
|
452
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
453
|
+
be returned without reading/decoding response
|
454
|
+
data. Default is True.
|
455
|
+
:type _preload_content: bool, optional
|
456
|
+
:param _request_timeout: timeout setting for this request. If one
|
457
|
+
number provided, it will be total request
|
458
|
+
timeout. It can also be a pair (tuple) of
|
459
|
+
(connection, read) timeouts.
|
460
|
+
:param _request_auth: set to override the auth_settings for an a single
|
461
|
+
request; this effectively ignores the authentication
|
462
|
+
in the spec for a single request.
|
463
|
+
:type _request_auth: dict, optional
|
464
|
+
:return: Returns the result object, the HTTP status code, and the headers.
|
465
|
+
If the method is called asynchronously,
|
466
|
+
returns the request thread.
|
467
|
+
:rtype: (ComplianceTemplate, int, HTTPHeaderDict)
|
468
|
+
"""
|
469
|
+
|
470
|
+
local_var_params = locals()
|
471
|
+
|
472
|
+
all_params = [
|
473
|
+
'scope',
|
474
|
+
'code',
|
475
|
+
'as_at'
|
476
|
+
]
|
477
|
+
all_params.extend(
|
478
|
+
[
|
479
|
+
'async_req',
|
480
|
+
'_return_http_data_only',
|
481
|
+
'_preload_content',
|
482
|
+
'_request_timeout',
|
483
|
+
'_request_auth',
|
484
|
+
'_headers'
|
485
|
+
]
|
486
|
+
)
|
487
|
+
|
488
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
489
|
+
if key not in all_params:
|
490
|
+
raise ApiTypeError(
|
491
|
+
"Got an unexpected keyword argument '%s'"
|
492
|
+
" to method get_compliance_template" % key
|
493
|
+
)
|
494
|
+
local_var_params[key] = val
|
495
|
+
del local_var_params['kwargs']
|
496
|
+
# verify the required parameter 'scope' is set
|
497
|
+
if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
|
498
|
+
local_var_params['scope'] is None): # noqa: E501
|
499
|
+
raise ApiValueError("Missing the required parameter `scope` when calling `get_compliance_template`") # noqa: E501
|
500
|
+
# verify the required parameter 'code' is set
|
501
|
+
if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
|
502
|
+
local_var_params['code'] is None): # noqa: E501
|
503
|
+
raise ApiValueError("Missing the required parameter `code` when calling `get_compliance_template`") # noqa: E501
|
504
|
+
|
505
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
506
|
+
len(local_var_params['scope']) > 64): # noqa: E501
|
507
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_template`, length must be less than or equal to `64`") # noqa: E501
|
508
|
+
if self.api_client.client_side_validation and ('scope' in local_var_params and # noqa: E501
|
509
|
+
len(local_var_params['scope']) < 1): # noqa: E501
|
510
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_template`, length must be greater than or equal to `1`") # noqa: E501
|
511
|
+
if self.api_client.client_side_validation and 'scope' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['scope']): # noqa: E501
|
512
|
+
raise ApiValueError("Invalid value for parameter `scope` when calling `get_compliance_template`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
513
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
514
|
+
len(local_var_params['code']) > 64): # noqa: E501
|
515
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_template`, length must be less than or equal to `64`") # noqa: E501
|
516
|
+
if self.api_client.client_side_validation and ('code' in local_var_params and # noqa: E501
|
517
|
+
len(local_var_params['code']) < 1): # noqa: E501
|
518
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_template`, length must be greater than or equal to `1`") # noqa: E501
|
519
|
+
if self.api_client.client_side_validation and 'code' in local_var_params and not re.search(r'^[a-zA-Z0-9\-_]+$', local_var_params['code']): # noqa: E501
|
520
|
+
raise ApiValueError("Invalid value for parameter `code` when calling `get_compliance_template`, must conform to the pattern `/^[a-zA-Z0-9\-_]+$/`") # noqa: E501
|
521
|
+
collection_formats = {}
|
522
|
+
|
523
|
+
path_params = {}
|
524
|
+
if 'scope' in local_var_params:
|
525
|
+
path_params['scope'] = local_var_params['scope'] # noqa: E501
|
526
|
+
if 'code' in local_var_params:
|
527
|
+
path_params['code'] = local_var_params['code'] # noqa: E501
|
528
|
+
|
529
|
+
query_params = []
|
530
|
+
if 'as_at' in local_var_params and local_var_params['as_at'] is not None: # noqa: E501
|
531
|
+
query_params.append(('asAt', local_var_params['as_at'])) # noqa: E501
|
532
|
+
|
533
|
+
header_params = dict(local_var_params.get('_headers', {}))
|
534
|
+
|
535
|
+
form_params = []
|
536
|
+
local_var_files = {}
|
537
|
+
|
538
|
+
body_params = None
|
539
|
+
# HTTP header `Accept`
|
540
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
541
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
542
|
+
|
543
|
+
header_params['Accept-Encoding'] = "gzip, deflate, br"
|
544
|
+
|
545
|
+
|
546
|
+
# set the LUSID header
|
547
|
+
header_params['X-LUSID-SDK-Language'] = 'Python'
|
548
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
549
|
+
|
550
|
+
# Authentication setting
|
551
|
+
auth_settings = ['oauth2'] # noqa: E501
|
552
|
+
|
553
|
+
response_types_map = {
|
554
|
+
200: "ComplianceTemplate",
|
555
|
+
400: "LusidValidationProblemDetails",
|
556
|
+
}
|
557
|
+
|
558
|
+
return self.api_client.call_api(
|
559
|
+
'/api/compliance/templates/{scope}/{code}', 'GET',
|
560
|
+
path_params,
|
561
|
+
query_params,
|
562
|
+
header_params,
|
563
|
+
body=body_params,
|
564
|
+
post_params=form_params,
|
565
|
+
files=local_var_files,
|
566
|
+
response_types_map=response_types_map,
|
567
|
+
auth_settings=auth_settings,
|
568
|
+
async_req=local_var_params.get('async_req'),
|
569
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
570
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
571
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
572
|
+
collection_formats=collection_formats,
|
573
|
+
_request_auth=local_var_params.get('_request_auth'))
|
574
|
+
|
575
|
+
def list_compliance_rules2(self, **kwargs): # noqa: E501
|
576
|
+
"""[EARLY ACCESS] ListComplianceRules2: List compliance rules. # noqa: E501
|
577
|
+
|
578
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
48
579
|
This method makes a synchronous HTTP request by default. To make an
|
49
580
|
asynchronous HTTP request, please pass async_req=True
|
50
581
|
|
51
|
-
>>> thread = api.
|
582
|
+
>>> thread = api.list_compliance_rules2(async_req=True)
|
52
583
|
>>> result = thread.get()
|
53
584
|
|
54
|
-
:param
|
55
|
-
:type scope: str
|
56
|
-
:param code: Code of TemplateID (required)
|
57
|
-
:type code: str
|
58
|
-
:param as_at: Optional. The time at which to get results from. Default : latest
|
585
|
+
:param as_at: Optional. Asat time.
|
59
586
|
:type as_at: datetime
|
587
|
+
:param page: Optional. Pagination token.
|
588
|
+
:type page: str
|
589
|
+
:param start: Optional. Entry at which to start.
|
590
|
+
:type start: int
|
591
|
+
:param limit: Optional. Entries per page.
|
592
|
+
:type limit: int
|
593
|
+
:param filter: Optional. Filter.
|
594
|
+
:type filter: str
|
60
595
|
:param async_req: Whether to execute the request asynchronously.
|
61
596
|
:type async_req: bool, optional
|
62
597
|
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
@@ -70,27 +605,31 @@ class ComplianceGenericApi(object):
|
|
70
605
|
:return: Returns the result object.
|
71
606
|
If the method is called asynchronously,
|
72
607
|
returns the request thread.
|
73
|
-
:rtype:
|
608
|
+
:rtype: PagedResourceListOfComplianceRuleResponse
|
74
609
|
"""
|
75
610
|
kwargs['_return_http_data_only'] = True
|
76
|
-
return self.
|
611
|
+
return self.list_compliance_rules2_with_http_info(**kwargs) # noqa: E501
|
77
612
|
|
78
|
-
def
|
79
|
-
"""[EARLY ACCESS]
|
613
|
+
def list_compliance_rules2_with_http_info(self, **kwargs): # noqa: E501
|
614
|
+
"""[EARLY ACCESS] ListComplianceRules2: List compliance rules. # noqa: E501
|
80
615
|
|
81
|
-
|
616
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
82
617
|
This method makes a synchronous HTTP request by default. To make an
|
83
618
|
asynchronous HTTP request, please pass async_req=True
|
84
619
|
|
85
|
-
>>> thread = api.
|
620
|
+
>>> thread = api.list_compliance_rules2_with_http_info(async_req=True)
|
86
621
|
>>> result = thread.get()
|
87
622
|
|
88
|
-
:param
|
89
|
-
:type scope: str
|
90
|
-
:param code: Code of TemplateID (required)
|
91
|
-
:type code: str
|
92
|
-
:param as_at: Optional. The time at which to get results from. Default : latest
|
623
|
+
:param as_at: Optional. Asat time.
|
93
624
|
:type as_at: datetime
|
625
|
+
:param page: Optional. Pagination token.
|
626
|
+
:type page: str
|
627
|
+
:param start: Optional. Entry at which to start.
|
628
|
+
:type start: int
|
629
|
+
:param limit: Optional. Entries per page.
|
630
|
+
:type limit: int
|
631
|
+
:param filter: Optional. Filter.
|
632
|
+
:type filter: str
|
94
633
|
:param async_req: Whether to execute the request asynchronously.
|
95
634
|
:type async_req: bool, optional
|
96
635
|
:param _return_http_data_only: response data without head status code
|
@@ -111,15 +650,17 @@ class ComplianceGenericApi(object):
|
|
111
650
|
:return: Returns the result object, the HTTP status code, and the headers.
|
112
651
|
If the method is called asynchronously,
|
113
652
|
returns the request thread.
|
114
|
-
:rtype: (
|
653
|
+
:rtype: (PagedResourceListOfComplianceRuleResponse, int, HTTPHeaderDict)
|
115
654
|
"""
|
116
655
|
|
117
656
|
local_var_params = locals()
|
118
657
|
|
119
658
|
all_params = [
|
120
|
-
'
|
121
|
-
'
|
122
|
-
'
|
659
|
+
'as_at',
|
660
|
+
'page',
|
661
|
+
'start',
|
662
|
+
'limit',
|
663
|
+
'filter'
|
123
664
|
]
|
124
665
|
all_params.extend(
|
125
666
|
[
|
@@ -136,46 +677,46 @@ class ComplianceGenericApi(object):
|
|
136
677
|
if key not in all_params:
|
137
678
|
raise ApiTypeError(
|
138
679
|
"Got an unexpected keyword argument '%s'"
|
139
|
-
" to method
|
680
|
+
" to method list_compliance_rules2" % key
|
140
681
|
)
|
141
682
|
local_var_params[key] = val
|
142
683
|
del local_var_params['kwargs']
|
143
|
-
# verify the required parameter 'scope' is set
|
144
|
-
if self.api_client.client_side_validation and ('scope' not in local_var_params or # noqa: E501
|
145
|
-
local_var_params['scope'] is None): # noqa: E501
|
146
|
-
raise ApiValueError("Missing the required parameter `scope` when calling `get_compliance_template`") # noqa: E501
|
147
|
-
# verify the required parameter 'code' is set
|
148
|
-
if self.api_client.client_side_validation and ('code' not in local_var_params or # noqa: E501
|
149
|
-
local_var_params['code'] is None): # noqa: E501
|
150
|
-
raise ApiValueError("Missing the required parameter `code` when calling `get_compliance_template`") # noqa: E501
|
151
684
|
|
152
|
-
if self.api_client.client_side_validation and ('
|
153
|
-
len(local_var_params['
|
154
|
-
raise ApiValueError("Invalid value for parameter `
|
155
|
-
if self.api_client.client_side_validation and ('
|
156
|
-
len(local_var_params['
|
157
|
-
raise ApiValueError("Invalid value for parameter `
|
158
|
-
if self.api_client.client_side_validation and '
|
159
|
-
raise ApiValueError("Invalid value for parameter `
|
160
|
-
if self.api_client.client_side_validation and
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
685
|
+
if self.api_client.client_side_validation and ('page' in local_var_params and # noqa: E501
|
686
|
+
len(local_var_params['page']) > 500): # noqa: E501
|
687
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_compliance_rules2`, length must be less than or equal to `500`") # noqa: E501
|
688
|
+
if self.api_client.client_side_validation and ('page' in local_var_params and # noqa: E501
|
689
|
+
len(local_var_params['page']) < 1): # noqa: E501
|
690
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_compliance_rules2`, length must be greater than or equal to `1`") # noqa: E501
|
691
|
+
if self.api_client.client_side_validation and 'page' in local_var_params and not re.search(r'^[a-zA-Z0-9\+\/]*={0,3}$', local_var_params['page']): # noqa: E501
|
692
|
+
raise ApiValueError("Invalid value for parameter `page` when calling `list_compliance_rules2`, must conform to the pattern `/^[a-zA-Z0-9\+\/]*={0,3}$/`") # noqa: E501
|
693
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] > 5000: # noqa: E501
|
694
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_compliance_rules2`, must be a value less than or equal to `5000`") # noqa: E501
|
695
|
+
if self.api_client.client_side_validation and 'limit' in local_var_params and local_var_params['limit'] < 1: # noqa: E501
|
696
|
+
raise ApiValueError("Invalid value for parameter `limit` when calling `list_compliance_rules2`, must be a value greater than or equal to `1`") # noqa: E501
|
697
|
+
if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
|
698
|
+
len(local_var_params['filter']) > 16384): # noqa: E501
|
699
|
+
raise ApiValueError("Invalid value for parameter `filter` when calling `list_compliance_rules2`, length must be less than or equal to `16384`") # noqa: E501
|
700
|
+
if self.api_client.client_side_validation and ('filter' in local_var_params and # noqa: E501
|
701
|
+
len(local_var_params['filter']) < 0): # noqa: E501
|
702
|
+
raise ApiValueError("Invalid value for parameter `filter` when calling `list_compliance_rules2`, length must be greater than or equal to `0`") # noqa: E501
|
703
|
+
if self.api_client.client_side_validation and 'filter' in local_var_params and not re.search(r'^[\s\S]*$', local_var_params['filter']): # noqa: E501
|
704
|
+
raise ApiValueError("Invalid value for parameter `filter` when calling `list_compliance_rules2`, must conform to the pattern `/^[\s\S]*$/`") # noqa: E501
|
168
705
|
collection_formats = {}
|
169
706
|
|
170
707
|
path_params = {}
|
171
|
-
if 'scope' in local_var_params:
|
172
|
-
path_params['scope'] = local_var_params['scope'] # noqa: E501
|
173
|
-
if 'code' in local_var_params:
|
174
|
-
path_params['code'] = local_var_params['code'] # noqa: E501
|
175
708
|
|
176
709
|
query_params = []
|
177
710
|
if 'as_at' in local_var_params and local_var_params['as_at'] is not None: # noqa: E501
|
178
711
|
query_params.append(('asAt', local_var_params['as_at'])) # noqa: E501
|
712
|
+
if 'page' in local_var_params and local_var_params['page'] is not None: # noqa: E501
|
713
|
+
query_params.append(('page', local_var_params['page'])) # noqa: E501
|
714
|
+
if 'start' in local_var_params and local_var_params['start'] is not None: # noqa: E501
|
715
|
+
query_params.append(('start', local_var_params['start'])) # noqa: E501
|
716
|
+
if 'limit' in local_var_params and local_var_params['limit'] is not None: # noqa: E501
|
717
|
+
query_params.append(('limit', local_var_params['limit'])) # noqa: E501
|
718
|
+
if 'filter' in local_var_params and local_var_params['filter'] is not None: # noqa: E501
|
719
|
+
query_params.append(('filter', local_var_params['filter'])) # noqa: E501
|
179
720
|
|
180
721
|
header_params = dict(local_var_params.get('_headers', {}))
|
181
722
|
|
@@ -192,18 +733,18 @@ class ComplianceGenericApi(object):
|
|
192
733
|
|
193
734
|
# set the LUSID header
|
194
735
|
header_params['X-LUSID-SDK-Language'] = 'Python'
|
195
|
-
header_params['X-LUSID-SDK-Version'] = '1.0.
|
736
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
196
737
|
|
197
738
|
# Authentication setting
|
198
739
|
auth_settings = ['oauth2'] # noqa: E501
|
199
740
|
|
200
741
|
response_types_map = {
|
201
|
-
200: "
|
742
|
+
200: "PagedResourceListOfComplianceRuleResponse",
|
202
743
|
400: "LusidValidationProblemDetails",
|
203
744
|
}
|
204
745
|
|
205
746
|
return self.api_client.call_api(
|
206
|
-
'/api/compliance/
|
747
|
+
'/api/compliance/generic/rules', 'GET',
|
207
748
|
path_params,
|
208
749
|
query_params,
|
209
750
|
header_params,
|
@@ -380,7 +921,7 @@ class ComplianceGenericApi(object):
|
|
380
921
|
|
381
922
|
# set the LUSID header
|
382
923
|
header_params['X-LUSID-SDK-Language'] = 'Python'
|
383
|
-
header_params['X-LUSID-SDK-Version'] = '1.0.
|
924
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
384
925
|
|
385
926
|
# Authentication setting
|
386
927
|
auth_settings = ['oauth2'] # noqa: E501
|
@@ -406,3 +947,146 @@ class ComplianceGenericApi(object):
|
|
406
947
|
_request_timeout=local_var_params.get('_request_timeout'),
|
407
948
|
collection_formats=collection_formats,
|
408
949
|
_request_auth=local_var_params.get('_request_auth'))
|
950
|
+
|
951
|
+
def upsert_compliance_rule(self, **kwargs): # noqa: E501
|
952
|
+
"""[EARLY ACCESS] UpsertComplianceRule: Upsert a compliance rule. # noqa: E501
|
953
|
+
|
954
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
955
|
+
This method makes a synchronous HTTP request by default. To make an
|
956
|
+
asynchronous HTTP request, please pass async_req=True
|
957
|
+
|
958
|
+
>>> thread = api.upsert_compliance_rule(async_req=True)
|
959
|
+
>>> result = thread.get()
|
960
|
+
|
961
|
+
:param upsert_compliance_rule_request:
|
962
|
+
:type upsert_compliance_rule_request: UpsertComplianceRuleRequest
|
963
|
+
:param async_req: Whether to execute the request asynchronously.
|
964
|
+
:type async_req: bool, optional
|
965
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
966
|
+
be returned without reading/decoding response
|
967
|
+
data. Default is True.
|
968
|
+
:type _preload_content: bool, optional
|
969
|
+
:param _request_timeout: timeout setting for this request. If one
|
970
|
+
number provided, it will be total request
|
971
|
+
timeout. It can also be a pair (tuple) of
|
972
|
+
(connection, read) timeouts.
|
973
|
+
:return: Returns the result object.
|
974
|
+
If the method is called asynchronously,
|
975
|
+
returns the request thread.
|
976
|
+
:rtype: ComplianceRuleResponse
|
977
|
+
"""
|
978
|
+
kwargs['_return_http_data_only'] = True
|
979
|
+
return self.upsert_compliance_rule_with_http_info(**kwargs) # noqa: E501
|
980
|
+
|
981
|
+
def upsert_compliance_rule_with_http_info(self, **kwargs): # noqa: E501
|
982
|
+
"""[EARLY ACCESS] UpsertComplianceRule: Upsert a compliance rule. # noqa: E501
|
983
|
+
|
984
|
+
PLEASE NOTE: loopback EarlyAccess endpoint for discussion only. # noqa: E501
|
985
|
+
This method makes a synchronous HTTP request by default. To make an
|
986
|
+
asynchronous HTTP request, please pass async_req=True
|
987
|
+
|
988
|
+
>>> thread = api.upsert_compliance_rule_with_http_info(async_req=True)
|
989
|
+
>>> result = thread.get()
|
990
|
+
|
991
|
+
:param upsert_compliance_rule_request:
|
992
|
+
:type upsert_compliance_rule_request: UpsertComplianceRuleRequest
|
993
|
+
:param async_req: Whether to execute the request asynchronously.
|
994
|
+
:type async_req: bool, optional
|
995
|
+
:param _return_http_data_only: response data without head status code
|
996
|
+
and headers
|
997
|
+
:type _return_http_data_only: bool, optional
|
998
|
+
:param _preload_content: if False, the urllib3.HTTPResponse object will
|
999
|
+
be returned without reading/decoding response
|
1000
|
+
data. Default is True.
|
1001
|
+
:type _preload_content: bool, optional
|
1002
|
+
:param _request_timeout: timeout setting for this request. If one
|
1003
|
+
number provided, it will be total request
|
1004
|
+
timeout. It can also be a pair (tuple) of
|
1005
|
+
(connection, read) timeouts.
|
1006
|
+
:param _request_auth: set to override the auth_settings for an a single
|
1007
|
+
request; this effectively ignores the authentication
|
1008
|
+
in the spec for a single request.
|
1009
|
+
:type _request_auth: dict, optional
|
1010
|
+
:return: Returns the result object, the HTTP status code, and the headers.
|
1011
|
+
If the method is called asynchronously,
|
1012
|
+
returns the request thread.
|
1013
|
+
:rtype: (ComplianceRuleResponse, int, HTTPHeaderDict)
|
1014
|
+
"""
|
1015
|
+
|
1016
|
+
local_var_params = locals()
|
1017
|
+
|
1018
|
+
all_params = [
|
1019
|
+
'upsert_compliance_rule_request'
|
1020
|
+
]
|
1021
|
+
all_params.extend(
|
1022
|
+
[
|
1023
|
+
'async_req',
|
1024
|
+
'_return_http_data_only',
|
1025
|
+
'_preload_content',
|
1026
|
+
'_request_timeout',
|
1027
|
+
'_request_auth',
|
1028
|
+
'_headers'
|
1029
|
+
]
|
1030
|
+
)
|
1031
|
+
|
1032
|
+
for key, val in six.iteritems(local_var_params['kwargs']):
|
1033
|
+
if key not in all_params:
|
1034
|
+
raise ApiTypeError(
|
1035
|
+
"Got an unexpected keyword argument '%s'"
|
1036
|
+
" to method upsert_compliance_rule" % key
|
1037
|
+
)
|
1038
|
+
local_var_params[key] = val
|
1039
|
+
del local_var_params['kwargs']
|
1040
|
+
|
1041
|
+
collection_formats = {}
|
1042
|
+
|
1043
|
+
path_params = {}
|
1044
|
+
|
1045
|
+
query_params = []
|
1046
|
+
|
1047
|
+
header_params = dict(local_var_params.get('_headers', {}))
|
1048
|
+
|
1049
|
+
form_params = []
|
1050
|
+
local_var_files = {}
|
1051
|
+
|
1052
|
+
body_params = None
|
1053
|
+
if 'upsert_compliance_rule_request' in local_var_params:
|
1054
|
+
body_params = local_var_params['upsert_compliance_rule_request']
|
1055
|
+
# HTTP header `Accept`
|
1056
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
1057
|
+
['text/plain', 'application/json', 'text/json']) # noqa: E501
|
1058
|
+
|
1059
|
+
header_params['Accept-Encoding'] = "gzip, deflate, br"
|
1060
|
+
|
1061
|
+
# HTTP header `Content-Type`
|
1062
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
1063
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
1064
|
+
|
1065
|
+
# set the LUSID header
|
1066
|
+
header_params['X-LUSID-SDK-Language'] = 'Python'
|
1067
|
+
header_params['X-LUSID-SDK-Version'] = '1.0.282'
|
1068
|
+
|
1069
|
+
# Authentication setting
|
1070
|
+
auth_settings = ['oauth2'] # noqa: E501
|
1071
|
+
|
1072
|
+
response_types_map = {
|
1073
|
+
200: "ComplianceRuleResponse",
|
1074
|
+
400: "LusidValidationProblemDetails",
|
1075
|
+
}
|
1076
|
+
|
1077
|
+
return self.api_client.call_api(
|
1078
|
+
'/api/compliance/generic/rules', 'POST',
|
1079
|
+
path_params,
|
1080
|
+
query_params,
|
1081
|
+
header_params,
|
1082
|
+
body=body_params,
|
1083
|
+
post_params=form_params,
|
1084
|
+
files=local_var_files,
|
1085
|
+
response_types_map=response_types_map,
|
1086
|
+
auth_settings=auth_settings,
|
1087
|
+
async_req=local_var_params.get('async_req'),
|
1088
|
+
_return_http_data_only=local_var_params.get('_return_http_data_only'), # noqa: E501
|
1089
|
+
_preload_content=local_var_params.get('_preload_content', True),
|
1090
|
+
_request_timeout=local_var_params.get('_request_timeout'),
|
1091
|
+
collection_formats=collection_formats,
|
1092
|
+
_request_auth=local_var_params.get('_request_auth'))
|