LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
TranslationApi () | |
Initializes a new instance of the TranslationApi class. More... | |
TranslationApi (string basePath) | |
Initializes a new instance of the TranslationApi class. More... | |
TranslationApi (Lusid.Sdk.Client.Configuration configuration) | |
Initializes a new instance of the TranslationApi class using Configuration object More... | |
TranslationApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration) | |
Initializes a new instance of the TranslationApi class using a Configuration object and client instance. More... | |
string | GetBasePath () |
Gets the base path of the API client. More... | |
TranslateInstrumentDefinitionsResponse | TranslateInstrumentDefinitions (TranslateInstrumentDefinitionsRequest translateInstrumentDefinitionsRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted. More... | |
Lusid.Sdk.Client.ApiResponse< TranslateInstrumentDefinitionsResponse > | TranslateInstrumentDefinitionsWithHttpInfo (TranslateInstrumentDefinitionsRequest translateInstrumentDefinitionsRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted. More... | |
async System.Threading.Tasks.Task< TranslateInstrumentDefinitionsResponse > | TranslateInstrumentDefinitionsAsync (TranslateInstrumentDefinitionsRequest translateInstrumentDefinitionsRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< TranslateInstrumentDefinitionsResponse > > | TranslateInstrumentDefinitionsWithHttpInfoAsync (TranslateInstrumentDefinitionsRequest translateInstrumentDefinitionsRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted. More... | |
TranslateTradeTicketsResponse | TranslateTradeTickets (TranslateTradeTicketRequest translateTradeTicketRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted. More... | |
Lusid.Sdk.Client.ApiResponse< TranslateTradeTicketsResponse > | TranslateTradeTicketsWithHttpInfo (TranslateTradeTicketRequest translateTradeTicketRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted. More... | |
async System.Threading.Tasks.Task< TranslateTradeTicketsResponse > | TranslateTradeTicketsAsync (TranslateTradeTicketRequest translateTradeTicketRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< TranslateTradeTicketsResponse > > | TranslateTradeTicketsWithHttpInfoAsync (TranslateTradeTicketRequest translateTradeTicketRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted. 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... | |
Represents a collection of functions to interact with the API endpoints
|
inline |
Initializes a new instance of the TranslationApi class.
|
inline |
Initializes a new instance of the TranslationApi class.
|
inline |
Initializes a new instance of the TranslationApi class using Configuration object
configuration | An instance of Configuration |
|
inline |
Initializes a new instance of the TranslationApi class using a Configuration object and client instance.
client | The client interface for synchronous API access. |
asyncClient | The client interface for asynchronous API access. |
configuration | The configuration object. |
|
inline |
Gets the base path of the API client.
The base path
|
inline |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateInstrumentDefinitionsRequest | The definitions of the instruments to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiSync.
|
inline |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateInstrumentDefinitionsRequest | The definitions of the instruments to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiAsync.
|
inline |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateInstrumentDefinitionsRequest | The definitions of the instruments to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiSync.
|
inline |
[EXPERIMENTAL] TranslateInstrumentDefinitions: Translate instruments Translates one or more instruments into the given target dialect. In the request each instrument definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each instrument in the response. Any instrument that is not already in the LUSID dialect should be given as an ExoticInstrument. The response will return both the collection of successfully translated instruments in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the instrument could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateInstrumentDefinitionsRequest | The definitions of the instruments to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiAsync.
|
inline |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateTradeTicketRequest | The definitions of the trade ticket to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiSync.
|
inline |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateTradeTicketRequest | The definitions of the trade ticket to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiAsync.
|
inline |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateTradeTicketRequest | The definitions of the trade ticket to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiSync.
|
inline |
[EXPERIMENTAL] TranslateTradeTickets: Translate trade ticket Translates one or more trade tickets into the given target dialect. In the request each trade ticket definition should be keyed by a unique correlation id. This id is ephemeral and is not stored by LUSID. It serves only as a way to easily identify each trade ticket in the response. The response will return both the collection of successfully translated trade tickets in the target dialect, as well as those that failed. For the failures a reason will be provided explaining why the trade ticket could not be updated or inserted.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
translateTradeTicketRequest | The definitions of the trade ticket to translate along with the target dialect. |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ITranslationApiAsync.
|
getset |
The client for accessing this underlying API asynchronously.
|
getset |
The client for accessing this underlying API synchronously.
|
getset |
Gets or sets the configuration object
An instance of the Configuration
|
getset |
Provides a factory method hook for the creation of exceptions.