LUSID C# SDK
Public Member Functions | Protected Member Functions | Properties | List of all members
Lusid.Sdk.Model.AggregatedReturnsRequest Class Reference

The request used in the AggregatedReturns. More...

Inheritance diagram for Lusid.Sdk.Model.AggregatedReturnsRequest:
Inheritance graph
[legend]

Public Member Functions

 AggregatedReturnsRequest (List< PerformanceReturnsMetric > metrics=default(List< PerformanceReturnsMetric >), List< ResourceId > returnIds=default(List< ResourceId >), ResourceId recipeId=default(ResourceId), string compositeMethod=default(string), string period=default(string), string outputFrequency=default(string), string alternativeInceptionDate=default(string), List< string > holidayCalendars=default(List< string >), string currency=default(string), string runMode=default(string))
 Initializes a new instance of the AggregatedReturnsRequest class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
virtual string ToJson ()
 Returns the JSON string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (AggregatedReturnsRequest input)
 Returns true if AggregatedReturnsRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 AggregatedReturnsRequest ()
 Initializes a new instance of the AggregatedReturnsRequest class. More...
 

Properties

List< PerformanceReturnsMetricMetrics [get, set]
 A list of metrics to calculate in the AggregatedReturns. More...
 
List< ResourceIdReturnIds [get, set]
 The Scope and code of the returns. More...
 
ResourceId RecipeId [get, set]
 Gets or Sets RecipeId More...
 
string CompositeMethod [get, set]
 The method used to calculate the Portfolio performance: Equal/Asset. More...
 
string Period [get, set]
 The type of the returns used to calculate the aggregation result: Daily/Monthly. More...
 
string OutputFrequency [get, set]
 The type of calculated output: Daily/Weekly/Monthly/Quarterly/Half-Yearly/Yearly. More...
 
string AlternativeInceptionDate [get, set]
 Optional - either a date, or the key for a portfolio property containing a date. If provided, the given date will override the inception date for this request. More...
 
List< string > HolidayCalendars [get, set]
 The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their codes, for example, &#39;CoppClark&#39;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored. More...
 
string Currency [get, set]
 Optional - either a string or a property. If provided, the results will be converted to the specified currency More...
 
string RunMode [get, set]
 The dates the AggregatedReturns output will be calculated: ReturnData/WeekDays/AllDays/MonthEnd. Defaults to ReturnData. More...
 

Detailed Description

The request used in the AggregatedReturns.

Constructor & Destructor Documentation

◆ AggregatedReturnsRequest() [1/2]

Lusid.Sdk.Model.AggregatedReturnsRequest.AggregatedReturnsRequest ( )
inlineprotected

Initializes a new instance of the AggregatedReturnsRequest class.

◆ AggregatedReturnsRequest() [2/2]

Lusid.Sdk.Model.AggregatedReturnsRequest.AggregatedReturnsRequest ( List< PerformanceReturnsMetric metrics = default(List<PerformanceReturnsMetric>),
List< ResourceId returnIds = default(List<ResourceId>),
ResourceId  recipeId = default(ResourceId),
string  compositeMethod = default(string),
string  period = default(string),
string  outputFrequency = default(string),
string  alternativeInceptionDate = default(string),
List< string >  holidayCalendars = default(List<string>),
string  currency = default(string),
string  runMode = default(string) 
)
inline

Initializes a new instance of the AggregatedReturnsRequest class.

Parameters
metricsA list of metrics to calculate in the AggregatedReturns. (required).
returnIdsThe Scope and code of the returns..
recipeIdrecipeId.
compositeMethodThe method used to calculate the Portfolio performance: Equal/Asset..
periodThe type of the returns used to calculate the aggregation result: Daily/Monthly..
outputFrequencyThe type of calculated output: Daily/Weekly/Monthly/Quarterly/Half-Yearly/Yearly..
alternativeInceptionDateOptional - either a date, or the key for a portfolio property containing a date. If provided, the given date will override the inception date for this request..
holidayCalendarsThe holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their codes, for example, &#39;CoppClark&#39;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored..
currencyOptional - either a string or a property. If provided, the results will be converted to the specified currency.
runModeThe dates the AggregatedReturns output will be calculated: ReturnData/WeekDays/AllDays/MonthEnd. Defaults to ReturnData..

Member Function Documentation

◆ Equals() [1/2]

bool Lusid.Sdk.Model.AggregatedReturnsRequest.Equals ( AggregatedReturnsRequest  input)
inline

Returns true if AggregatedReturnsRequest instances are equal

Parameters
inputInstance of AggregatedReturnsRequest to be compared
Returns
Boolean

◆ Equals() [2/2]

override bool Lusid.Sdk.Model.AggregatedReturnsRequest.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

override int Lusid.Sdk.Model.AggregatedReturnsRequest.GetHashCode ( )
inline

Gets the hash code

Returns
Hash code

◆ ToJson()

virtual string Lusid.Sdk.Model.AggregatedReturnsRequest.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

override string Lusid.Sdk.Model.AggregatedReturnsRequest.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AlternativeInceptionDate

string Lusid.Sdk.Model.AggregatedReturnsRequest.AlternativeInceptionDate
getset

Optional - either a date, or the key for a portfolio property containing a date. If provided, the given date will override the inception date for this request.

Optional - either a date, or the key for a portfolio property containing a date. If provided, the given date will override the inception date for this request.

◆ CompositeMethod

string Lusid.Sdk.Model.AggregatedReturnsRequest.CompositeMethod
getset

The method used to calculate the Portfolio performance: Equal/Asset.

The method used to calculate the Portfolio performance: Equal/Asset.

◆ Currency

string Lusid.Sdk.Model.AggregatedReturnsRequest.Currency
getset

Optional - either a string or a property. If provided, the results will be converted to the specified currency

Optional - either a string or a property. If provided, the results will be converted to the specified currency

◆ HolidayCalendars

List<string> Lusid.Sdk.Model.AggregatedReturnsRequest.HolidayCalendars
getset

The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their codes, for example, &#39;CoppClark&#39;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored.

The holiday calendar(s) that should be used in determining the date schedule. Holiday calendar(s) are supplied by their codes, for example, &#39;CoppClark&#39;. Note that when the calendars are not available (e.g. when the user has insufficient permissions), a recipe setting will be used to determine whether the whole batch should then fail or whether the calendar not being available should simply be ignored.

◆ Metrics

List<PerformanceReturnsMetric> Lusid.Sdk.Model.AggregatedReturnsRequest.Metrics
getset

A list of metrics to calculate in the AggregatedReturns.

A list of metrics to calculate in the AggregatedReturns.

◆ OutputFrequency

string Lusid.Sdk.Model.AggregatedReturnsRequest.OutputFrequency
getset

The type of calculated output: Daily/Weekly/Monthly/Quarterly/Half-Yearly/Yearly.

The type of calculated output: Daily/Weekly/Monthly/Quarterly/Half-Yearly/Yearly.

◆ Period

string Lusid.Sdk.Model.AggregatedReturnsRequest.Period
getset

The type of the returns used to calculate the aggregation result: Daily/Monthly.

The type of the returns used to calculate the aggregation result: Daily/Monthly.

◆ RecipeId

ResourceId Lusid.Sdk.Model.AggregatedReturnsRequest.RecipeId
getset

Gets or Sets RecipeId

◆ ReturnIds

List<ResourceId> Lusid.Sdk.Model.AggregatedReturnsRequest.ReturnIds
getset

The Scope and code of the returns.

The Scope and code of the returns.

◆ RunMode

string Lusid.Sdk.Model.AggregatedReturnsRequest.RunMode
getset

The dates the AggregatedReturns output will be calculated: ReturnData/WeekDays/AllDays/MonthEnd. Defaults to ReturnData.

The dates the AggregatedReturns output will be calculated: ReturnData/WeekDays/AllDays/MonthEnd. Defaults to ReturnData.


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