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

For indicating a dependency on the value of an asset at a point in time. If the time is omitted, then the dependency is interpreted as the latest value with respect to anything observing it. E.g. An EquitySwap will declare a dependency on the current price of the underlying equity. More...

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

Public Member Functions

 QuoteDependency (string marketIdentifier=default(string), string code=default(string), DateTimeOffset date=default(DateTimeOffset), DependencyTypeEnum dependencyType=default(DependencyTypeEnum))
 Initializes a new instance of the QuoteDependency class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
override 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 (QuoteDependency input)
 Returns true if QuoteDependency instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.EconomicDependency
 EconomicDependency (DependencyTypeEnum dependencyType=default(DependencyTypeEnum))
 Initializes a new instance of the EconomicDependency class. More...
 
override string ToString ()
 Returns the string presentation of the object More...
 
override bool Equals (object input)
 Returns true if objects are equal More...
 
bool Equals (EconomicDependency input)
 Returns true if EconomicDependency instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 QuoteDependency ()
 Initializes a new instance of the QuoteDependency class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.EconomicDependency
 EconomicDependency ()
 Initializes a new instance of the EconomicDependency class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

string MarketIdentifier [get, set]
 Type of the code identifying the asset, e.g. ISIN or CUSIP More...
 
string Code [get, set]
 The code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN More...
 
DateTimeOffset Date [get, set]
 The effectiveAt of the quote for the identified entity. More...
 
- Properties inherited from Lusid.Sdk.Model.EconomicDependency
DependencyTypeEnum DependencyType [get, set]
 The available values are: OpaqueDependency, CashDependency, DiscountingDependency, EquityCurveDependency, EquityVolDependency, FxDependency, FxForwardsDependency, FxVolDependency, IndexProjectionDependency, IrVolDependency, QuoteDependency, Vendor, CalendarDependency, InflationFixingDependency More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.EconomicDependency
enum class  DependencyTypeEnum {
  OpaqueDependency = 1 , CashDependency = 2 , DiscountingDependency = 3 , EquityCurveDependency = 4 ,
  EquityVolDependency = 5 , FxDependency = 6 , FxForwardsDependency = 7 , FxVolDependency = 8 ,
  IndexProjectionDependency = 9 , IrVolDependency = 10 , QuoteDependency = 11 , Vendor = 12 ,
  CalendarDependency = 13 , InflationFixingDependency = 14
}
 The available values are: OpaqueDependency, CashDependency, DiscountingDependency, EquityCurveDependency, EquityVolDependency, FxDependency, FxForwardsDependency, FxVolDependency, IndexProjectionDependency, IrVolDependency, QuoteDependency, Vendor, CalendarDependency, InflationFixingDependency More...
 

Detailed Description

For indicating a dependency on the value of an asset at a point in time. If the time is omitted, then the dependency is interpreted as the latest value with respect to anything observing it. E.g. An EquitySwap will declare a dependency on the current price of the underlying equity.

Constructor & Destructor Documentation

◆ QuoteDependency() [1/2]

Lusid.Sdk.Model.QuoteDependency.QuoteDependency ( )
inlineprotected

Initializes a new instance of the QuoteDependency class.

◆ QuoteDependency() [2/2]

Lusid.Sdk.Model.QuoteDependency.QuoteDependency ( string  marketIdentifier = default(string),
string  code = default(string),
DateTimeOffset  date = default(DateTimeOffset),
DependencyTypeEnum  dependencyType = default(DependencyTypeEnum) 
)
inline

Initializes a new instance of the QuoteDependency class.

Parameters
marketIdentifierType of the code identifying the asset, e.g. ISIN or CUSIP (required).
codeThe code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN (required).
dateThe effectiveAt of the quote for the identified entity. (required).
dependencyTypeThe available values are: OpaqueDependency, CashDependency, DiscountingDependency, EquityCurveDependency, EquityVolDependency, FxDependency, FxForwardsDependency, FxVolDependency, IndexProjectionDependency, IrVolDependency, QuoteDependency, Vendor, CalendarDependency, InflationFixingDependency (required) (default to "QuoteDependency").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.QuoteDependency.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if QuoteDependency instances are equal

Parameters
inputInstance of QuoteDependency to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.QuoteDependency.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.EconomicDependency.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Code

string Lusid.Sdk.Model.QuoteDependency.Code
getset

The code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN

The code identifying the corresponding equity, e.g. US0378331005 if the MarketIdentifier was set to ISIN

◆ Date

DateTimeOffset Lusid.Sdk.Model.QuoteDependency.Date
getset

The effectiveAt of the quote for the identified entity.

The effectiveAt of the quote for the identified entity.

◆ MarketIdentifier

string Lusid.Sdk.Model.QuoteDependency.MarketIdentifier
getset

Type of the code identifying the asset, e.g. ISIN or CUSIP

Type of the code identifying the asset, e.g. ISIN or CUSIP


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