LUSID C# SDK
Public Member Functions | Properties | List of all members
Lusid.Sdk.Api.BlocksApi Class Reference

Represents a collection of functions to interact with the API endpoints More...

Inheritance diagram for Lusid.Sdk.Api.BlocksApi:
Inheritance graph
[legend]

Public Member Functions

 BlocksApi ()
 Initializes a new instance of the BlocksApi class. More...
 
 BlocksApi (string basePath)
 Initializes a new instance of the BlocksApi class. More...
 
 BlocksApi (Lusid.Sdk.Client.Configuration configuration)
 Initializes a new instance of the BlocksApi class using Configuration object More...
 
 BlocksApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration)
 Initializes a new instance of the BlocksApi class using a Configuration object and client instance. More...
 
string GetBasePath ()
 Gets the base path of the API client. More...
 
DeletedEntityResponse DeleteBlock (string scope, string code, int operationIndex=0)
 [EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block's creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion. More...
 
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponseDeleteBlockWithHttpInfo (string scope, string code, int operationIndex=0)
 [EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion. More...
 
async System.Threading.Tasks.Task< DeletedEntityResponseDeleteBlockAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeleteBlockWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion. More...
 
Block GetBlock (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier More...
 
Lusid.Sdk.Client.ApiResponse< BlockGetBlockWithHttpInfo (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier More...
 
async System.Threading.Tasks.Task< BlockGetBlockAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Block > > GetBlockWithHttpInfoAsync (string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier More...
 
PagedResourceListOfBlock ListBlocks (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history). More...
 
Lusid.Sdk.Client.ApiResponse< PagedResourceListOfBlockListBlocksWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0)
 [EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history). More...
 
async System.Threading.Tasks.Task< PagedResourceListOfBlockListBlocksAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history). More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfBlock > > ListBlocksWithHttpInfoAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), List< string >? sortBy=default(List< string >?), int? limit=default(int?), string? filter=default(string?), List< string >? propertyKeys=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history). More...
 
ResourceListOfBlock UpsertBlocks (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0)
 [EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise. More...
 
Lusid.Sdk.Client.ApiResponse< ResourceListOfBlockUpsertBlocksWithHttpInfo (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0)
 [EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise. More...
 
async System.Threading.Tasks.Task< ResourceListOfBlockUpsertBlocksAsync (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise. More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfBlock > > UpsertBlocksWithHttpInfoAsync (BlockSetRequest? blockSetRequest=default(BlockSetRequest?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise. More...
 

Properties

Lusid.Sdk.Client.IAsynchronousClient AsynchronousClient [get, set]
 The client for accessing this underlying API asynchronously. More...
 
Lusid.Sdk.Client.ISynchronousClient Client [get, set]
 The client for accessing this underlying API synchronously. More...
 
Lusid.Sdk.Client.IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
Lusid.Sdk.Client.ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 
- Properties inherited from Lusid.Sdk.Client.IApiAccessor
IReadableConfiguration Configuration [get, set]
 Gets or sets the configuration object More...
 
ExceptionFactory ExceptionFactory [get, set]
 Provides a factory method hook for the creation of exceptions. More...
 

Detailed Description

Represents a collection of functions to interact with the API endpoints

Constructor & Destructor Documentation

◆ BlocksApi() [1/4]

Lusid.Sdk.Api.BlocksApi.BlocksApi ( )
inline

Initializes a new instance of the BlocksApi class.

Returns

◆ BlocksApi() [2/4]

Lusid.Sdk.Api.BlocksApi.BlocksApi ( string  basePath)
inline

Initializes a new instance of the BlocksApi class.

Returns

◆ BlocksApi() [3/4]

Lusid.Sdk.Api.BlocksApi.BlocksApi ( Lusid.Sdk.Client.Configuration  configuration)
inline

Initializes a new instance of the BlocksApi class using Configuration object

Parameters
configurationAn instance of Configuration
Returns

◆ BlocksApi() [4/4]

Lusid.Sdk.Api.BlocksApi.BlocksApi ( Lusid.Sdk.Client.ISynchronousClient  client,
Lusid.Sdk.Client.IAsynchronousClient  asyncClient,
Lusid.Sdk.Client.IReadableConfiguration  configuration 
)
inline

Initializes a new instance of the BlocksApi class using a Configuration object and client instance.

Parameters
clientThe client interface for synchronous API access.
asyncClientThe client interface for asynchronous API access.
configurationThe configuration object.

Member Function Documentation

◆ DeleteBlock()

DeletedEntityResponse Lusid.Sdk.Api.BlocksApi.DeleteBlock ( string  scope,
string  code,
int  operationIndex = 0 
)
inline

[EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
Returns
DeletedEntityResponse

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ DeleteBlockAsync()

async System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.BlocksApi.DeleteBlockAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ DeleteBlockWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.BlocksApi.DeleteBlockWithHttpInfo ( string  scope,
string  code,
int  operationIndex = 0 
)
inline

[EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeletedEntityResponse

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ DeleteBlockWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.BlocksApi.DeleteBlockWithHttpInfoAsync ( string  scope,
string  code,
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] DeleteBlock: Delete block Delete an block. Deletion will be valid from the block&#39;s creation datetime. This means that the block will no longer exist at any effective datetime from the asAt datetime of deletion.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe block scope.
codeThe block&#39;s code. This, together with the scope uniquely identifies the block to delete.
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ GetBasePath()

string Lusid.Sdk.Api.BlocksApi.GetBasePath ( )
inline

Gets the base path of the API client.

The base path

Implements Lusid.Sdk.Client.IApiAccessor.

◆ GetBlock()

Block Lusid.Sdk.Api.BlocksApi.GetBlock ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the block belongs.
codeThe block&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
Block

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ GetBlockAsync()

async System.Threading.Tasks.Task<Block> Lusid.Sdk.Api.BlocksApi.GetBlockAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the block belongs.
codeThe block&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of Block

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ GetBlockWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<Block> Lusid.Sdk.Api.BlocksApi.GetBlockWithHttpInfo ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the block belongs.
codeThe block&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of Block

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ GetBlockWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<Block> > Lusid.Sdk.Api.BlocksApi.GetBlockWithHttpInfoAsync ( string  scope,
string  code,
DateTimeOffset?  asAt = default(DateTimeOffset?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] GetBlock: Get Block Fetch a Block that matches the specified identifier

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope to which the block belongs.
codeThe block&#39;s unique identifier.
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto the block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (Block)

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ ListBlocks()

PagedResourceListOfBlock Lusid.Sdk.Api.BlocksApi.ListBlocks ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List<string>?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
pageThe pagination token to use to continue listing blocks from a previous call to list blocks. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
PagedResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ ListBlocksAsync()

async System.Threading.Tasks.Task<PagedResourceListOfBlock> Lusid.Sdk.Api.BlocksApi.ListBlocksAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List<string>?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
pageThe pagination token to use to continue listing blocks from a previous call to list blocks. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of PagedResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ ListBlocksWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<PagedResourceListOfBlock> Lusid.Sdk.Api.BlocksApi.ListBlocksWithHttpInfo ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List<string>?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
pageThe pagination token to use to continue listing blocks from a previous call to list blocks. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of PagedResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ ListBlocksWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<PagedResourceListOfBlock> > Lusid.Sdk.Api.BlocksApi.ListBlocksWithHttpInfoAsync ( DateTimeOffset?  asAt = default(DateTimeOffset?),
string?  page = default(string?),
List< string >?  sortBy = default(List<string>?),
int?  limit = default(int?),
string?  filter = default(string?),
List< string >?  propertyKeys = default(List<string>?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] ListBlocks: List Blocks Fetch the last pre-AsAt date version of each block in scope (does not fetch the entire history).

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
asAtThe asAt datetime at which to retrieve the block. Defaults to return the latest version of the block if not specified. (optional)
pageThe pagination token to use to continue listing blocks from a previous call to list blocks. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, effectiveAt, and asAt fields must not have changed since the original request. (optional)
sortByA list of field names or properties to sort by, each suffixed by &quot; ASC&quot; or &quot; DESC&quot;. (optional)
limitWhen paginating, limit the number of returned results to this many. (optional)
filterExpression to filter the result set. Read more about filtering results from LUSID here: https://support.lusid.com/filtering-results-from-lusid. (optional)
propertyKeysA list of property keys from the &quot;Block&quot; domain to decorate onto each block. These take the format {domain}/{scope}/{code} e.g. &quot;Block/system/Name&quot;. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (PagedResourceListOfBlock)

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ UpsertBlocks()

ResourceListOfBlock Lusid.Sdk.Api.BlocksApi.UpsertBlocks ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
Returns
ResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ UpsertBlocksAsync()

async System.Threading.Tasks.Task<ResourceListOfBlock> Lusid.Sdk.Api.BlocksApi.UpsertBlocksAsync ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiAsync.

◆ UpsertBlocksWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<ResourceListOfBlock> Lusid.Sdk.Api.BlocksApi.UpsertBlocksWithHttpInfo ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0 
)
inline

[EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of ResourceListOfBlock

Implements Lusid.Sdk.Api.IBlocksApiSync.

◆ UpsertBlocksWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<ResourceListOfBlock> > Lusid.Sdk.Api.BlocksApi.UpsertBlocksWithHttpInfoAsync ( BlockSetRequest blockSetRequest = default(BlockSetRequest?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EARLY ACCESS] UpsertBlocks: Upsert Block Upsert; update existing blocks with given ids, or create new blocks otherwise.

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
blockSetRequestThe collection of block requests. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (ResourceListOfBlock)

Implements Lusid.Sdk.Api.IBlocksApiAsync.

Property Documentation

◆ AsynchronousClient

Lusid.Sdk.Client.IAsynchronousClient Lusid.Sdk.Api.BlocksApi.AsynchronousClient
getset

The client for accessing this underlying API asynchronously.

◆ Client

Lusid.Sdk.Client.ISynchronousClient Lusid.Sdk.Api.BlocksApi.Client
getset

The client for accessing this underlying API synchronously.

◆ Configuration

Lusid.Sdk.Client.IReadableConfiguration Lusid.Sdk.Api.BlocksApi.Configuration
getset

Gets or sets the configuration object

An instance of the Configuration

◆ ExceptionFactory

Lusid.Sdk.Client.ExceptionFactory Lusid.Sdk.Api.BlocksApi.ExceptionFactory
getset

Provides a factory method hook for the creation of exceptions.


The documentation for this class was generated from the following file: