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

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

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

Public Member Functions

 RelationsApi ()
 Initializes a new instance of the RelationsApi class. More...
 
 RelationsApi (string basePath)
 Initializes a new instance of the RelationsApi class. More...
 
 RelationsApi (Lusid.Sdk.Client.Configuration configuration)
 Initializes a new instance of the RelationsApi class using Configuration object More...
 
 RelationsApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration)
 Initializes a new instance of the RelationsApi class using a Configuration object and client instance. More...
 
string GetBasePath ()
 Gets the base path of the API client. More...
 
CompleteRelation CreateRelation (string scope, string code, CreateRelationRequest createRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers More...
 
Lusid.Sdk.Client.ApiResponse< CompleteRelationCreateRelationWithHttpInfo (string scope, string code, CreateRelationRequest createRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers More...
 
async System.Threading.Tasks.Task< CompleteRelationCreateRelationAsync (string scope, string code, CreateRelationRequest createRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CompleteRelation > > CreateRelationWithHttpInfoAsync (string scope, string code, CreateRelationRequest createRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers More...
 
DeletedEntityResponse DeleteRelation (string scope, string code, DeleteRelationRequest deleteRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers More...
 
Lusid.Sdk.Client.ApiResponse< DeletedEntityResponseDeleteRelationWithHttpInfo (string scope, string code, DeleteRelationRequest deleteRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0)
 [EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers More...
 
async System.Threading.Tasks.Task< DeletedEntityResponseDeleteRelationAsync (string scope, string code, DeleteRelationRequest deleteRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers More...
 
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< DeletedEntityResponse > > DeleteRelationWithHttpInfoAsync (string scope, string code, DeleteRelationRequest deleteRelationRequest, DateTimeOrCutLabel? effectiveAt=default(DateTimeOrCutLabel?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken))
 [EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers 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

◆ RelationsApi() [1/4]

Lusid.Sdk.Api.RelationsApi.RelationsApi ( )
inline

Initializes a new instance of the RelationsApi class.

Returns

◆ RelationsApi() [2/4]

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

Initializes a new instance of the RelationsApi class.

Returns

◆ RelationsApi() [3/4]

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

Initializes a new instance of the RelationsApi class using Configuration object

Parameters
configurationAn instance of Configuration
Returns

◆ RelationsApi() [4/4]

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

Initializes a new instance of the RelationsApi 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

◆ CreateRelation()

CompleteRelation Lusid.Sdk.Api.RelationsApi.CreateRelation ( string  scope,
string  code,
CreateRelationRequest  createRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
createRelationRequestThe details of the relation to create.
effectiveAtThe effective datetime or cut label at which the relation should be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
CompleteRelation

Implements Lusid.Sdk.Api.IRelationsApiSync.

◆ CreateRelationAsync()

async System.Threading.Tasks.Task<CompleteRelation> Lusid.Sdk.Api.RelationsApi.CreateRelationAsync ( string  scope,
string  code,
CreateRelationRequest  createRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
createRelationRequestThe details of the relation to create.
effectiveAtThe effective datetime or cut label at which the relation should be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of CompleteRelation

Implements Lusid.Sdk.Api.IRelationsApiAsync.

◆ CreateRelationWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<CompleteRelation> Lusid.Sdk.Api.RelationsApi.CreateRelationWithHttpInfo ( string  scope,
string  code,
CreateRelationRequest  createRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
createRelationRequestThe details of the relation to create.
effectiveAtThe effective datetime or cut label at which the relation should be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of CompleteRelation

Implements Lusid.Sdk.Api.IRelationsApiSync.

◆ CreateRelationWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<CompleteRelation> > Lusid.Sdk.Api.RelationsApi.CreateRelationWithHttpInfoAsync ( string  scope,
string  code,
CreateRelationRequest  createRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] CreateRelation: Create Relation Create a relation between two entity objects by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
createRelationRequestThe details of the relation to create.
effectiveAtThe effective datetime or cut label at which the relation should be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (CompleteRelation)

Implements Lusid.Sdk.Api.IRelationsApiAsync.

◆ DeleteRelation()

DeletedEntityResponse Lusid.Sdk.Api.RelationsApi.DeleteRelation ( string  scope,
string  code,
DeleteRelationRequest  deleteRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
deleteRelationRequestThe details of the relation to delete.
effectiveAtThe effective datetime or cut label at which the relation should the deletion be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
DeletedEntityResponse

Implements Lusid.Sdk.Api.IRelationsApiSync.

◆ DeleteRelationAsync()

async System.Threading.Tasks.Task<DeletedEntityResponse> Lusid.Sdk.Api.RelationsApi.DeleteRelationAsync ( string  scope,
string  code,
DeleteRelationRequest  deleteRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
deleteRelationRequestThe details of the relation to delete.
effectiveAtThe effective datetime or cut label at which the relation should the deletion be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of DeletedEntityResponse

Implements Lusid.Sdk.Api.IRelationsApiAsync.

◆ DeleteRelationWithHttpInfo()

Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> Lusid.Sdk.Api.RelationsApi.DeleteRelationWithHttpInfo ( string  scope,
string  code,
DeleteRelationRequest  deleteRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0 
)
inline

[EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
deleteRelationRequestThe details of the relation to delete.
effectiveAtThe effective datetime or cut label at which the relation should the deletion be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
Returns
ApiResponse of DeletedEntityResponse

Implements Lusid.Sdk.Api.IRelationsApiSync.

◆ DeleteRelationWithHttpInfoAsync()

async System.Threading.Tasks.Task<Lusid.Sdk.Client.ApiResponse<DeletedEntityResponse> > Lusid.Sdk.Api.RelationsApi.DeleteRelationWithHttpInfoAsync ( string  scope,
string  code,
DeleteRelationRequest  deleteRelationRequest,
DateTimeOrCutLabel effectiveAt = default(DateTimeOrCutLabel?),
int  operationIndex = 0,
System.Threading.CancellationToken  cancellationToken = default(System.Threading.CancellationToken) 
)
inline

[EXPERIMENTAL] DeleteRelation: Delete a relation Delete a relation between two entity objects represented by their identifiers

Exceptions
Lusid.Sdk.Client.ApiExceptionThrown when fails to make API call
Parameters
scopeThe scope of the relation definition
codeThe code of the relation definition
deleteRelationRequestThe details of the relation to delete.
effectiveAtThe effective datetime or cut label at which the relation should the deletion be effective from. Defaults to the current LUSID system datetime if not specified. (optional)
operationIndexIndex associated with the operation.
cancellationTokenCancellation Token to cancel the request.
Returns
Task of ApiResponse (DeletedEntityResponse)

Implements Lusid.Sdk.Api.IRelationsApiAsync.

◆ GetBasePath()

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

Gets the base path of the API client.

The base path

Implements Lusid.Sdk.Client.IApiAccessor.

Property Documentation

◆ AsynchronousClient

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

The client for accessing this underlying API asynchronously.

◆ Client

Lusid.Sdk.Client.ISynchronousClient Lusid.Sdk.Api.RelationsApi.Client
getset

The client for accessing this underlying API synchronously.

◆ Configuration

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

Gets or sets the configuration object

An instance of the Configuration

◆ ExceptionFactory

Lusid.Sdk.Client.ExceptionFactory Lusid.Sdk.Api.RelationsApi.ExceptionFactory
getset

Provides a factory method hook for the creation of exceptions.


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