sdk.lusid.api.fund_configuration_api.FundConfigurationApi
- class FundConfigurationApi(api_client=None)[source]
NOTE: This class is auto generated by OpenAPI Generator Ref: https://openapi-generator.tech
Do not edit the class manually.
Methods
[EXPERIMENTAL] CreateFundConfiguration: Create a FundConfiguration.
[EXPERIMENTAL] CreateFundConfiguration: Create a FundConfiguration.
[EXPERIMENTAL] DeleteFundConfiguration: Delete a FundConfiguration.
[EXPERIMENTAL] DeleteFundConfiguration: Delete a FundConfiguration.
[EXPERIMENTAL] GetFundConfiguration: Get FundConfiguration.
[EXPERIMENTAL] GetFundConfiguration: Get FundConfiguration.
[EXPERIMENTAL] ListFundConfigurations: List FundConfiguration.
[EXPERIMENTAL] ListFundConfigurations: List FundConfiguration.
[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration.
[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration.
[EXPERIMENTAL] UpsertFundConfigurationProperties: Upsert FundConfiguration properties # noqa: E501
[EXPERIMENTAL] UpsertFundConfigurationProperties: Upsert FundConfiguration properties # noqa: E501
- create_fund_configuration(scope, fund_configuration_request, async_req=None, **kwargs)[source]
[EXPERIMENTAL] CreateFundConfiguration: Create a FundConfiguration. # noqa: E501
Create the given FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_fund_configuration(scope, fund_configuration_request, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
fund_configuration_request (FundConfigurationRequest) – The definition of the FundConfiguration. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- create_fund_configuration_with_http_info(scope, fund_configuration_request, **kwargs)[source]
[EXPERIMENTAL] CreateFundConfiguration: Create a FundConfiguration. # noqa: E501
Create the given FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.create_fund_configuration_with_http_info(scope, fund_configuration_request, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
fund_configuration_request (FundConfigurationRequest) – The definition of the FundConfiguration. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(FundConfiguration, status_code(int), headers(HTTPHeaderDict))
- delete_fund_configuration(scope, code, async_req=None, **kwargs)[source]
[EXPERIMENTAL] DeleteFundConfiguration: Delete a FundConfiguration. # noqa: E501
Delete the given FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_fund_configuration(scope, code, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration to be deleted. (required)
code (str) – The code of the FundConfiguration to be deleted. Together with the scope this uniquely identifies the FundConfiguration. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- delete_fund_configuration_with_http_info(scope, code, **kwargs)[source]
[EXPERIMENTAL] DeleteFundConfiguration: Delete a FundConfiguration. # noqa: E501
Delete the given FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.delete_fund_configuration_with_http_info(scope, code, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration to be deleted. (required)
code (str) – The code of the FundConfiguration to be deleted. Together with the scope this uniquely identifies the FundConfiguration. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(DeletedEntityResponse, status_code(int), headers(HTTPHeaderDict))
- get_fund_configuration(scope, code, effective_at=None, as_at=None, property_keys=None, async_req=None, **kwargs)[source]
[EXPERIMENTAL] GetFundConfiguration: Get FundConfiguration. # noqa: E501
Retrieve the definition of a particular FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_fund_configuration(scope, code, effective_at, as_at, property_keys, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
code (str) – The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
effective_at (str) – The effective datetime or cut label at which to retrieve the FundConfiguration properties. Defaults to the current LUSID system datetime if not specified.
as_at (datetime) – The asAt datetime at which to retrieve the FundConfiguration definition. Defaults to returning the latest version of the FundConfiguration definition if not specified.
property_keys (List[str]) – A list of property keys from the ‘FundConfiguration’ domain to decorate onto the FundConfiguration. These must take the format {domain}/{scope}/{code}, for example ‘FundConfiguration/Manager/Id’. If no properties are specified, then no properties will be returned.
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- get_fund_configuration_with_http_info(scope, code, effective_at=None, as_at=None, property_keys=None, **kwargs)[source]
[EXPERIMENTAL] GetFundConfiguration: Get FundConfiguration. # noqa: E501
Retrieve the definition of a particular FundConfiguration. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.get_fund_configuration_with_http_info(scope, code, effective_at, as_at, property_keys, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
code (str) – The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
effective_at (str) – The effective datetime or cut label at which to retrieve the FundConfiguration properties. Defaults to the current LUSID system datetime if not specified.
as_at (datetime) – The asAt datetime at which to retrieve the FundConfiguration definition. Defaults to returning the latest version of the FundConfiguration definition if not specified.
property_keys (List[str]) – A list of property keys from the ‘FundConfiguration’ domain to decorate onto the FundConfiguration. These must take the format {domain}/{scope}/{code}, for example ‘FundConfiguration/Manager/Id’. If no properties are specified, then no properties will be returned.
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(FundConfiguration, status_code(int), headers(HTTPHeaderDict))
- list_fund_configurations(effective_at=None, as_at=None, page=None, limit=None, filter=None, sort_by=None, property_keys=None, async_req=None, **kwargs)[source]
[EXPERIMENTAL] ListFundConfigurations: List FundConfiguration. # noqa: E501
List all the FundConfiguration matching particular criteria. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_fund_configurations(effective_at, as_at, page, limit, filter, sort_by, property_keys, async_req=True) >>> result = thread.get()
- Parameters:
effective_at (str) – The effective datetime or cut label at which to list the TimeVariant properties for the FundConfiguration. Defaults to the current LUSID system datetime if not specified.
as_at (datetime) – The asAt datetime at which to list the FundConfiguration. Defaults to returning the latest version of each FundConfiguration if not specified.
page (str) – The pagination token to use to continue listing FundConfiguration; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
limit (int) – When paginating, limit the results to this number. Defaults to 100 if not specified.
filter (str) – Expression to filter the results. For example, to filter on the FundConfiguration type, specify “id.Code eq ‘FundConfiguration1’”. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
sort_by (List[str]) – A list of field names or properties to sort by, each suffixed by “ ASC” or “ DESC”.
property_keys (List[str]) – A list of property keys from the ‘FundConfiguration’ domain to decorate onto each FundConfiguration. These must take the format {domain}/{scope}/{code}, for example ‘FundConfiguration/Manager/Id’.
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- list_fund_configurations_with_http_info(effective_at=None, as_at=None, page=None, limit=None, filter=None, sort_by=None, property_keys=None, **kwargs)[source]
[EXPERIMENTAL] ListFundConfigurations: List FundConfiguration. # noqa: E501
List all the FundConfiguration matching particular criteria. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.list_fund_configurations_with_http_info(effective_at, as_at, page, limit, filter, sort_by, property_keys, async_req=True) >>> result = thread.get()
- Parameters:
effective_at (str) – The effective datetime or cut label at which to list the TimeVariant properties for the FundConfiguration. Defaults to the current LUSID system datetime if not specified.
as_at (datetime) – The asAt datetime at which to list the FundConfiguration. Defaults to returning the latest version of each FundConfiguration if not specified.
page (str) – The pagination token to use to continue listing FundConfiguration; this value is returned from the previous call. If a pagination token is provided, the filter, effectiveAt and asAt fields must not have changed since the original request.
limit (int) – When paginating, limit the results to this number. Defaults to 100 if not specified.
filter (str) – Expression to filter the results. For example, to filter on the FundConfiguration type, specify “id.Code eq ‘FundConfiguration1’”. For more information about filtering results, see https://support.lusid.com/knowledgebase/article/KA-01914.
sort_by (List[str]) – A list of field names or properties to sort by, each suffixed by “ ASC” or “ DESC”.
property_keys (List[str]) – A list of property keys from the ‘FundConfiguration’ domain to decorate onto each FundConfiguration. These must take the format {domain}/{scope}/{code}, for example ‘FundConfiguration/Manager/Id’.
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(PagedResourceListOfFundConfiguration, status_code(int), headers(HTTPHeaderDict))
- patch_fund_configuration(scope, code, operation, async_req=None, **kwargs)[source]
[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration. # noqa: E501
Create or update certain fields for a particular FundConfiguration. The behaviour is defined by the JSON Patch specification. Currently supported fields are: displayName, description, dealingFilters, pnlFilters, backOutFilters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_fund_configuration(scope, code, operation, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
code (str) – The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
operation (List[Operation]) – The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- patch_fund_configuration_with_http_info(scope, code, operation, **kwargs)[source]
[EXPERIMENTAL] PatchFundConfiguration: Patch Fund Configuration. # noqa: E501
Create or update certain fields for a particular FundConfiguration. The behaviour is defined by the JSON Patch specification. Currently supported fields are: displayName, description, dealingFilters, pnlFilters, backOutFilters. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.patch_fund_configuration_with_http_info(scope, code, operation, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration. (required)
code (str) – The code of the FundConfiguration. Together with the scope this uniquely identifies the FundConfiguration. (required)
operation (List[Operation]) – The json patch document. For more information see: https://datatracker.ietf.org/doc/html/rfc6902. (required)
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(FundConfiguration, status_code(int), headers(HTTPHeaderDict))
- upsert_fund_configuration_properties(scope, code, request_body=None, async_req=None, **kwargs)[source]
[EXPERIMENTAL] UpsertFundConfigurationProperties: Upsert FundConfiguration properties # noqa: E501
Update or insert one or more properties onto a single FundConfiguration. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain ‘FundConfiguration’. Upserting a property that exists for an FundConfiguration, with a null value, will delete the instance of the property for that group. Properties have an <i>effectiveFrom</i> datetime for which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.upsert_fund_configuration_properties(scope, code, request_body, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration to update or insert the properties onto. (required)
code (str) – The code of the FundConfiguration to update or insert the properties onto. Together with the scope this uniquely identifies the FundConfiguration. (required)
request_body (Dict[str, ModelProperty]) – The properties to be updated or inserted onto the Fund Configuration. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. “FundConfiguration/Manager/Id”.
async_req (bool, optional) – Whether to execute the request asynchronously.
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
- upsert_fund_configuration_properties_with_http_info(scope, code, request_body=None, **kwargs)[source]
[EXPERIMENTAL] UpsertFundConfigurationProperties: Upsert FundConfiguration properties # noqa: E501
Update or insert one or more properties onto a single FundConfiguration. A property will be updated if it already exists and inserted if it does not. All properties must be of the domain ‘FundConfiguration’. Upserting a property that exists for an FundConfiguration, with a null value, will delete the instance of the property for that group. Properties have an <i>effectiveFrom</i> datetime for which the property is valid, and an <i>effectiveUntil</i> datetime until which the property is valid. Not supplying an <i>effectiveUntil</i> datetime results in the property being valid indefinitely, or until the next <i>effectiveFrom</i> datetime of the property. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True
>>> thread = api.upsert_fund_configuration_properties_with_http_info(scope, code, request_body, async_req=True) >>> result = thread.get()
- Parameters:
scope (str) – The scope of the FundConfiguration to update or insert the properties onto. (required)
code (str) – The code of the FundConfiguration to update or insert the properties onto. Together with the scope this uniquely identifies the FundConfiguration. (required)
request_body (Dict[str, ModelProperty]) – The properties to be updated or inserted onto the Fund Configuration. Each property in the request must be keyed by its unique property key. This has the format {domain}/{scope}/{code} e.g. “FundConfiguration/Manager/Id”.
async_req (bool, optional) – Whether to execute the request asynchronously.
_preload_content (bool, optional) – if False, the ApiResponse.data will be set to none and raw_data will store the HTTP response body without reading/decoding. Default is True.
_return_http_data_only (bool, optional) – response data instead of ApiResponse object with status code, headers, etc
_request_timeout – Timeout setting. Do not use - use the opts parameter instead
opts (ConfigurationOptions, optional) – Configuration options for this request
_request_auth (dict, optional) – set to override the auth_settings for an a single request; this effectively ignores the authentication in the spec for a single request.
- Returns:
Returns the result object. If the method is called asynchronously, returns the request thread.
- Return type:
tuple(FundConfigurationProperties, status_code(int), headers(HTTPHeaderDict))