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

Encapsulates parts of a market data rule relating not to the nature of the market data requested, but rather the nature of the thing (instrument/model) that is requesting it. In the first instance, this includes the instrument type, asset class, and the currency of the underlying instrument. This can be used to differentiate requests for market data according to the source of the request. See MarketDataSpecificRule. More...

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

Public Member Functions

 DependencySourceFilter (string instrumentType=default(string), string assetClass=default(string), string domCcy=default(string))
 Initializes a new instance of the DependencySourceFilter 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 (DependencySourceFilter input)
 Returns true if DependencySourceFilter instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Properties

string InstrumentType [get, set]
 Specify that a rule should only apply if the market data is requested by an instrument of a given instrument type. If null, then no filtering on instrument type is applied. More...
 
string AssetClass [get, set]
 Specify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied. More...
 
string DomCcy [get, set]
 Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied. More...
 

Detailed Description

Encapsulates parts of a market data rule relating not to the nature of the market data requested, but rather the nature of the thing (instrument/model) that is requesting it. In the first instance, this includes the instrument type, asset class, and the currency of the underlying instrument. This can be used to differentiate requests for market data according to the source of the request. See MarketDataSpecificRule.

Constructor & Destructor Documentation

◆ DependencySourceFilter()

Lusid.Sdk.Model.DependencySourceFilter.DependencySourceFilter ( string  instrumentType = default(string),
string  assetClass = default(string),
string  domCcy = default(string) 
)
inline

Initializes a new instance of the DependencySourceFilter class.

Parameters
instrumentTypeSpecify that a rule should only apply if the market data is requested by an instrument of a given instrument type. If null, then no filtering on instrument type is applied..
assetClassSpecify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied..
domCcySpecify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if DependencySourceFilter instances are equal

Parameters
inputInstance of DependencySourceFilter to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AssetClass

string Lusid.Sdk.Model.DependencySourceFilter.AssetClass
getset

Specify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied.

Specify that a rule should only apply if the market data is requested by an instrument of a given asset class. If null, then no filtering on asset class is applied.

◆ DomCcy

string Lusid.Sdk.Model.DependencySourceFilter.DomCcy
getset

Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied.

Specify that a rule should only apply if the market data is requested by an instrument with a given domestic currency. If null, then no filtering on currency is applied.

◆ InstrumentType

string Lusid.Sdk.Model.DependencySourceFilter.InstrumentType
getset

Specify that a rule should only apply if the market data is requested by an instrument of a given instrument type. If null, then no filtering on instrument type is applied.

Specify that a rule should only apply if the market data is requested by an instrument of a given instrument type. If null, then no filtering on instrument type is applied.


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