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

Represents a collection of MarketDataKeyRules that should be resolved together when resolving market data. That is, market data resolution will always attempt to resolve with all rules in the group before deciding what market data to return. More...

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

Public Member Functions

 GroupOfMarketDataKeyRules (string marketDataKeyRuleGroupOperation=default(string), List< MarketDataKeyRule > marketRules=default(List< MarketDataKeyRule >))
 Initializes a new instance of the GroupOfMarketDataKeyRules 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 (GroupOfMarketDataKeyRules input)
 Returns true if GroupOfMarketDataKeyRules instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string MarketDataKeyRuleGroupOperation [get, set]
 The operation that will be used to process the collection of market data items and failures found on resolution into a single market data item or failure to be used. Supported values: [FirstLatest, AverageOfQuotesFound, AverageOfAllQuotes, FirstMinimum, FirstMaximum] More...
 
List< MarketDataKeyRuleMarketRules [get, set]
 The rules that should be grouped together in market data resolution. More...
 

Detailed Description

Represents a collection of MarketDataKeyRules that should be resolved together when resolving market data. That is, market data resolution will always attempt to resolve with all rules in the group before deciding what market data to return.

Constructor & Destructor Documentation

◆ GroupOfMarketDataKeyRules() [1/2]

Lusid.Sdk.Model.GroupOfMarketDataKeyRules.GroupOfMarketDataKeyRules ( )
inlineprotected

Initializes a new instance of the GroupOfMarketDataKeyRules class.

◆ GroupOfMarketDataKeyRules() [2/2]

Lusid.Sdk.Model.GroupOfMarketDataKeyRules.GroupOfMarketDataKeyRules ( string  marketDataKeyRuleGroupOperation = default(string),
List< MarketDataKeyRule marketRules = default(List<MarketDataKeyRule>) 
)
inline

Initializes a new instance of the GroupOfMarketDataKeyRules class.

Parameters
marketDataKeyRuleGroupOperationThe operation that will be used to process the collection of market data items and failures found on resolution into a single market data item or failure to be used. Supported values: [FirstLatest, AverageOfQuotesFound, AverageOfAllQuotes, FirstMinimum, FirstMaximum] (required).
marketRulesThe rules that should be grouped together in market data resolution. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if GroupOfMarketDataKeyRules instances are equal

Parameters
inputInstance of GroupOfMarketDataKeyRules to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ MarketDataKeyRuleGroupOperation

string Lusid.Sdk.Model.GroupOfMarketDataKeyRules.MarketDataKeyRuleGroupOperation
getset

The operation that will be used to process the collection of market data items and failures found on resolution into a single market data item or failure to be used. Supported values: [FirstLatest, AverageOfQuotesFound, AverageOfAllQuotes, FirstMinimum, FirstMaximum]

The operation that will be used to process the collection of market data items and failures found on resolution into a single market data item or failure to be used. Supported values: [FirstLatest, AverageOfQuotesFound, AverageOfAllQuotes, FirstMinimum, FirstMaximum]

◆ MarketRules

List<MarketDataKeyRule> Lusid.Sdk.Model.GroupOfMarketDataKeyRules.MarketRules
getset

The rules that should be grouped together in market data resolution.

The rules that should be grouped together in market data resolution.


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