LUSID C# SDK
|
Represents a collection of functions to interact with the API endpoints More...
Public Member Functions | |
CalendarsApi () | |
Initializes a new instance of the CalendarsApi class. More... | |
CalendarsApi (string basePath) | |
Initializes a new instance of the CalendarsApi class. More... | |
CalendarsApi (Lusid.Sdk.Client.Configuration configuration) | |
Initializes a new instance of the CalendarsApi class using Configuration object More... | |
CalendarsApi (Lusid.Sdk.Client.ISynchronousClient client, Lusid.Sdk.Client.IAsynchronousClient asyncClient, Lusid.Sdk.Client.IReadableConfiguration configuration) | |
Initializes a new instance of the CalendarsApi class using a Configuration object and client instance. More... | |
string | GetBasePath () |
Gets the base path of the API client. More... | |
AddBusinessDaysToDateResponse | AddBusinessDaysToDate (string scope, AddBusinessDaysToDateRequest addBusinessDaysToDateRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure. More... | |
Lusid.Sdk.Client.ApiResponse< AddBusinessDaysToDateResponse > | AddBusinessDaysToDateWithHttpInfo (string scope, AddBusinessDaysToDateRequest addBusinessDaysToDateRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure. More... | |
async System.Threading.Tasks.Task< AddBusinessDaysToDateResponse > | AddBusinessDaysToDateAsync (string scope, AddBusinessDaysToDateRequest addBusinessDaysToDateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< AddBusinessDaysToDateResponse > > | AddBusinessDaysToDateWithHttpInfoAsync (string scope, AddBusinessDaysToDateRequest addBusinessDaysToDateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure. More... | |
CalendarDate | AddDateToCalendar (string scope, string code, CreateDateRequest createDateRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
Lusid.Sdk.Client.ApiResponse< CalendarDate > | AddDateToCalendarWithHttpInfo (string scope, string code, CreateDateRequest createDateRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
async System.Threading.Tasks.Task< CalendarDate > | AddDateToCalendarAsync (string scope, string code, CreateDateRequest createDateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CalendarDate > > | AddDateToCalendarWithHttpInfoAsync (string scope, string code, CreateDateRequest createDateRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
BatchUpsertDatesForCalendarResponse | BatchUpsertDatesForCalendar (string scope, string code, string successMode, Dictionary< string, CreateDateRequest > requestBody, int operationIndex=0, ConfigurationOptions? opts=null) |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
Lusid.Sdk.Client.ApiResponse< BatchUpsertDatesForCalendarResponse > | BatchUpsertDatesForCalendarWithHttpInfo (string scope, string code, string successMode, Dictionary< string, CreateDateRequest > requestBody, int operationIndex=0, ConfigurationOptions? opts=null) |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
async System.Threading.Tasks.Task< BatchUpsertDatesForCalendarResponse > | BatchUpsertDatesForCalendarAsync (string scope, string code, string successMode, Dictionary< string, CreateDateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< BatchUpsertDatesForCalendarResponse > > | BatchUpsertDatesForCalendarWithHttpInfoAsync (string scope, string code, string successMode, Dictionary< string, CreateDateRequest > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing. More... | |
Calendar | CreateCalendar (CreateCalendarRequest createCalendarRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events. More... | |
Lusid.Sdk.Client.ApiResponse< Calendar > | CreateCalendarWithHttpInfo (CreateCalendarRequest createCalendarRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events. More... | |
async System.Threading.Tasks.Task< Calendar > | CreateCalendarAsync (CreateCalendarRequest createCalendarRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Calendar > > | CreateCalendarWithHttpInfoAsync (CreateCalendarRequest createCalendarRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events. More... | |
Calendar | DeleteCalendar (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates More... | |
Lusid.Sdk.Client.ApiResponse< Calendar > | DeleteCalendarWithHttpInfo (string scope, string code, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates More... | |
async System.Threading.Tasks.Task< Calendar > | DeleteCalendarAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Calendar > > | DeleteCalendarWithHttpInfoAsync (string scope, string code, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates More... | |
CalendarDate | DeleteDateFromCalendar (string scope, string code, string dateId, int operationIndex=0, ConfigurationOptions? opts=null) |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar. More... | |
Lusid.Sdk.Client.ApiResponse< CalendarDate > | DeleteDateFromCalendarWithHttpInfo (string scope, string code, string dateId, int operationIndex=0, ConfigurationOptions? opts=null) |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar. More... | |
async System.Threading.Tasks.Task< CalendarDate > | DeleteDateFromCalendarAsync (string scope, string code, string dateId, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< CalendarDate > > | DeleteDateFromCalendarWithHttpInfoAsync (string scope, string code, string dateId, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar. More... | |
Dictionary< string, CalendarDate > | DeleteDatesFromCalendar (string scope, string code, List< string > requestBody, int operationIndex=0, ConfigurationOptions? opts=null) |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar. More... | |
Lusid.Sdk.Client.ApiResponse< Dictionary< string, CalendarDate > > | DeleteDatesFromCalendarWithHttpInfo (string scope, string code, List< string > requestBody, int operationIndex=0, ConfigurationOptions? opts=null) |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar. More... | |
async System.Threading.Tasks.Task< Dictionary< string, CalendarDate > > | DeleteDatesFromCalendarAsync (string scope, string code, List< string > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Dictionary< string, CalendarDate > > > | DeleteDatesFromCalendarWithHttpInfoAsync (string scope, string code, List< string > requestBody, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar. More... | |
List< DateTimeOffset > | GenerateSchedule (string scope, ValuationSchedule valuationSchedule, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention. More... | |
Lusid.Sdk.Client.ApiResponse< List< DateTimeOffset > > | GenerateScheduleWithHttpInfo (string scope, ValuationSchedule valuationSchedule, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention. More... | |
async System.Threading.Tasks.Task< List< DateTimeOffset > > | GenerateScheduleAsync (string scope, ValuationSchedule valuationSchedule, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< List< DateTimeOffset > > > | GenerateScheduleWithHttpInfoAsync (string scope, ValuationSchedule valuationSchedule, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention. More... | |
Calendar | GetCalendar (string scope, string code, List< string >? propertyKeys=default(List< string >?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time More... | |
Lusid.Sdk.Client.ApiResponse< Calendar > | GetCalendarWithHttpInfo (string scope, string code, List< string >? propertyKeys=default(List< string >?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time More... | |
async System.Threading.Tasks.Task< Calendar > | GetCalendarAsync (string scope, string code, List< string >? propertyKeys=default(List< string >?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Calendar > > | GetCalendarWithHttpInfoAsync (string scope, string code, List< string >? propertyKeys=default(List< string >?), DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time More... | |
ResourceListOfCalendarDate | GetDates (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? idFilter=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results. More... | |
Lusid.Sdk.Client.ApiResponse< ResourceListOfCalendarDate > | GetDatesWithHttpInfo (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? idFilter=default(List< string >?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results. More... | |
async System.Threading.Tasks.Task< ResourceListOfCalendarDate > | GetDatesAsync (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? idFilter=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< ResourceListOfCalendarDate > > | GetDatesWithHttpInfoAsync (string scope, string code, DateTimeOrCutLabel? fromEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOrCutLabel? toEffectiveAt=default(DateTimeOrCutLabel?), DateTimeOffset? asAt=default(DateTimeOffset?), List< string >? idFilter=default(List< string >?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results. More... | |
IsBusinessDayResponse | IsBusinessDateTime (DateTimeOffset dateTime, string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false More... | |
Lusid.Sdk.Client.ApiResponse< IsBusinessDayResponse > | IsBusinessDateTimeWithHttpInfo (DateTimeOffset dateTime, string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false More... | |
async System.Threading.Tasks.Task< IsBusinessDayResponse > | IsBusinessDateTimeAsync (DateTimeOffset dateTime, string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< IsBusinessDayResponse > > | IsBusinessDateTimeWithHttpInfoAsync (DateTimeOffset dateTime, string scope, string code, DateTimeOffset? asAt=default(DateTimeOffset?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false More... | |
PagedResourceListOfCalendar | ListCalendars (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time. More... | |
Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCalendar > | ListCalendarsWithHttpInfo (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time. More... | |
async System.Threading.Tasks.Task< PagedResourceListOfCalendar > | ListCalendarsAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCalendar > > | ListCalendarsWithHttpInfoAsync (DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time. More... | |
PagedResourceListOfCalendar | ListCalendarsInScope (string scope, DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time. More... | |
Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCalendar > | ListCalendarsInScopeWithHttpInfo (string scope, DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, ConfigurationOptions? opts=null) |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time. More... | |
async System.Threading.Tasks.Task< PagedResourceListOfCalendar > | ListCalendarsInScopeAsync (string scope, DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time. More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< PagedResourceListOfCalendar > > | ListCalendarsInScopeWithHttpInfoAsync (string scope, DateTimeOffset? asAt=default(DateTimeOffset?), string? page=default(string?), int? limit=default(int?), List< string >? propertyKeys=default(List< string >?), string? filter=default(string?), int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time. More... | |
Calendar | UpdateCalendar (string scope, string code, UpdateCalendarRequest updateCalendarRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties More... | |
Lusid.Sdk.Client.ApiResponse< Calendar > | UpdateCalendarWithHttpInfo (string scope, string code, UpdateCalendarRequest updateCalendarRequest, int operationIndex=0, ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties More... | |
async System.Threading.Tasks.Task< Calendar > | UpdateCalendarAsync (string scope, string code, UpdateCalendarRequest updateCalendarRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties More... | |
async System.Threading.Tasks.Task< Lusid.Sdk.Client.ApiResponse< Calendar > > | UpdateCalendarWithHttpInfoAsync (string scope, string code, UpdateCalendarRequest updateCalendarRequest, int operationIndex=0, System.Threading.CancellationToken cancellationToken=default(System.Threading.CancellationToken), ConfigurationOptions? opts=null) |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties 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... | |
Represents a collection of functions to interact with the API endpoints
|
inline |
Initializes a new instance of the CalendarsApi class.
|
inline |
Initializes a new instance of the CalendarsApi class.
|
inline |
Initializes a new instance of the CalendarsApi class using Configuration object
configuration | An instance of Configuration |
|
inline |
Initializes a new instance of the CalendarsApi 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 |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope within which to search for the calendars |
addBusinessDaysToDateRequest | Request Details: start date, number of days to add (which can be negative, but not zero), calendar codes and optionally an AsAt date for searching the calendar store |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope within which to search for the calendars |
addBusinessDaysToDateRequest | Request Details: start date, number of days to add (which can be negative, but not zero), calendar codes and optionally an AsAt date for searching the calendar store |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope within which to search for the calendars |
addBusinessDaysToDateRequest | Request Details: start date, number of days to add (which can be negative, but not zero), calendar codes and optionally an AsAt date for searching the calendar store |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] AddBusinessDaysToDate: Adds the requested number of Business Days to the provided date. A Business day is defined as a point in time that: * Does not represent a day in the calendar's weekend * Does not represent a day in the calendar's list of holidays (e.g. Christmas Day in the UK) All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-24-00-00-00: Adding 3 business days returns 2020-12-30, assuming Saturday and Sunday are weekends, and the 25th and 28th are holidays. Adding -2 business days returns 2020-12-22 under the same assumptions. If the provided number of days to add is zero, returns a failure.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope within which to search for the calendars |
addBusinessDaysToDateRequest | Request Details: start date, number of days to add (which can be negative, but not zero), calendar codes and optionally an AsAt date for searching the calendar store |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
createDateRequest | Add date to calendar request |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
createDateRequest | Add date to calendar request |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
createDateRequest | Add date to calendar request |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
AddDateToCalendar: Add a date to a calendar Add an event to the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
createDateRequest | Add date to calendar request |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | Create Date Requests of dates to upsert |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | Create Date Requests of dates to upsert |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | Create Date Requests of dates to upsert |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
BatchUpsertDatesForCalendar: Batch upsert dates to a calendar Create or update events in the calendar. These Events can be a maximum of 24 hours and must be specified in UTC. A local date will be calculated by the system and applied to the calendar before processing.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
successMode | Whether the batch request should fail Atomically or in a Partial fashion - Allowed Values: Atomic, Partial. |
requestBody | Create Date Requests of dates to upsert |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
createCalendarRequest | A request to create the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
createCalendarRequest | A request to create the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
createCalendarRequest | A request to create the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] CreateCalendar: Create a calendar in its generic form Create a calendar in a generic form which can be used to store date events.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
createCalendarRequest | A request to create the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] DeleteCalendar: Delete a calendar Delete a calendar and all of its respective dates
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
dateId | Identifier of the date to be removed |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
dateId | Identifier of the date to be removed |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
dateId | Identifier of the date to be removed |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
DeleteDateFromCalendar: Remove a date from a calendar Remove a date from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
dateId | Identifier of the date to be removed |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
requestBody | Identifiers of the dates to be removed |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
requestBody | Identifiers of the dates to be removed |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
requestBody | Identifiers of the dates to be removed |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
DeleteDatesFromCalendar: Delete dates from a calendar Delete dates from a calendar.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
requestBody | Identifiers of the dates to be removed |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars to use |
valuationSchedule | The ValuationSchedule to generate schedule dates from |
asAt | Optional AsAt for searching the calendar store. Defaults to Latest. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars to use |
valuationSchedule | The ValuationSchedule to generate schedule dates from |
asAt | Optional AsAt for searching the calendar store. Defaults to Latest. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars to use |
valuationSchedule | The ValuationSchedule to generate schedule dates from |
asAt | Optional AsAt for searching the calendar store. Defaults to Latest. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] GenerateSchedule: Generate an ordered schedule of dates. Returns an ordered array of dates. The dates will only fall on business days as defined by the scope and calendar codes in the valuation schedule. Valuations are made at a frequency defined by the valuation schedule's tenor, e.g. every day ("1D"), every other week ("2W") etc. These dates will be adjusted onto business days as defined by the schedule's rollConvention.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars to use |
valuationSchedule | The ValuationSchedule to generate schedule dates from |
asAt | Optional AsAt for searching the calendar store. Defaults to Latest. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
|
inline |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar identifier |
code | Code of the calendar identifier |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
asAt | The AsAt datetime at which to retrieve the calendar (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar identifier |
code | Code of the calendar identifier |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
asAt | The AsAt datetime at which to retrieve the calendar (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar identifier |
code | Code of the calendar identifier |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
asAt | The AsAt datetime at which to retrieve the calendar (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
GetCalendar: Get a calendar in its generic form Retrieve a generic calendar by a specific ID at a point in AsAt time
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar identifier |
code | Code of the calendar identifier |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
asAt | The AsAt datetime at which to retrieve the calendar (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
fromEffectiveAt | Where the effective window of dates should begin from (optional) |
toEffectiveAt | Where the effective window of dates should end (optional) |
asAt | AsAt the dates should be retrieved at (optional) |
idFilter | An additional filter that will filter dates based on their identifer (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
fromEffectiveAt | Where the effective window of dates should begin from (optional) |
toEffectiveAt | Where the effective window of dates should end (optional) |
asAt | AsAt the dates should be retrieved at (optional) |
idFilter | An additional filter that will filter dates based on their identifer (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
fromEffectiveAt | Where the effective window of dates should begin from (optional) |
toEffectiveAt | Where the effective window of dates should end (optional) |
asAt | AsAt the dates should be retrieved at (optional) |
idFilter | An additional filter that will filter dates based on their identifer (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] GetDates: Get dates for a specific calendar Get dates from a specific calendar within a specific window of effective time, at a point in AsAt time. Providing an id filter can further refine the results.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendar |
code | Code of the calendar |
fromEffectiveAt | Where the effective window of dates should begin from (optional) |
toEffectiveAt | Where the effective window of dates should end (optional) |
asAt | AsAt the dates should be retrieved at (optional) |
idFilter | An additional filter that will filter dates based on their identifer (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
dateTime | DateTime to check - This DateTime must be UTC |
scope | Scope of the calendar |
code | Code of the calendar |
asAt | AsAt for the request (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
dateTime | DateTime to check - This DateTime must be UTC |
scope | Scope of the calendar |
code | Code of the calendar |
asAt | AsAt for the request (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
dateTime | DateTime to check - This DateTime must be UTC |
scope | Scope of the calendar |
code | Code of the calendar |
asAt | AsAt for the request (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] IsBusinessDateTime: Check whether a DateTime is a "Business DateTime" A Business DateTime is defined as a point in time that: * Does not represent a day that overlaps with the calendars WeekendMask * If the calendar is a "Holiday Calendar" Does not overlap with any dates in the calendar * If the calendar is a "TradingHours Calendar" Does overlap with a date in the calendar All dates specified must be UTC and the upper bound of a calendar is not inclusive e.g. From: 2020-12-25-00-00-00 To: 2020-12-26-00-00-00 IsBusinessDay(2020-12-26-00-00-00) == false
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
dateTime | DateTime to check - This DateTime must be UTC |
scope | Scope of the calendar |
code | Code of the calendar |
asAt | AsAt for the request (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
ListCalendarsInScope: List all calenders in a specified scope List calendars in a Scope at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the calendars |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] ListCalendars: List Calendars List calendars at a point in AsAt time.
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
asAt | The AsAt datetime at which to retrieve the calendars (optional) |
page | The pagination token to use to continue listing calendars from a previous call to list calendars. This value is returned from the previous call. If a pagination token is provided the sortBy, filter, and asAt fields must not have changed since the original request. (optional) |
limit | When paginating, limit the number of returned results to this many. (optional) |
propertyKeys | A list of property keys from the "Calendar" domain to decorate onto the calendar, These take the format {domain}/{scope}/{code} e.g. "Calendar/System/Name". (optional) |
filter | Expression to filter the result set. Read more about filtering results from LUSID here https://support.lusid.com/filtering-results-from-lusid. (optional) |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the request |
code | Code of the request |
updateCalendarRequest | The new state of the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the request |
code | Code of the request |
updateCalendarRequest | The new state of the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
inline |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the request |
code | Code of the request |
updateCalendarRequest | The new state of the calendar |
operationIndex | Index associated with the operation. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiSync.
|
inline |
[EARLY ACCESS] UpdateCalendar: Update a calendar Update the calendars WeekendMask, SourceProvider or Properties
Lusid.Sdk.Client.ApiException | Thrown when fails to make API call |
scope | Scope of the request |
code | Code of the request |
updateCalendarRequest | The new state of the calendar |
operationIndex | Index associated with the operation. |
cancellationToken | Cancellation Token to cancel the request. |
opts | Options for this request. |
Implements Lusid.Sdk.Api.ICalendarsApiAsync.
|
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.