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

Base class for representing market data options in LUSID. Abstractly, these are any options that one should be able to specify for ComplexMarketData entities. For example, CurveOptions allows one to decide how the data provided in a discountFactorCurve is interpolated. This base class should not be directly instantiated; each supported MarketDataOptionsType has a corresponding inherited class. More...

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

Public Types

enum class  MarketDataOptionsTypeEnum { CurveOptions = 1 }
 The available values are: CurveOptions More...
 

Public Member Functions

 MarketDataOptions (MarketDataOptionsTypeEnum marketDataOptionsType=default(MarketDataOptionsTypeEnum))
 Initializes a new instance of the MarketDataOptions 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 (MarketDataOptions input)
 Returns true if MarketDataOptions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 MarketDataOptions ()
 Initializes a new instance of the MarketDataOptions class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

MarketDataOptionsTypeEnum MarketDataOptionsType [get, set]
 The available values are: CurveOptions More...
 

Detailed Description

Base class for representing market data options in LUSID. Abstractly, these are any options that one should be able to specify for ComplexMarketData entities. For example, CurveOptions allows one to decide how the data provided in a discountFactorCurve is interpolated. This base class should not be directly instantiated; each supported MarketDataOptionsType has a corresponding inherited class.

Member Enumeration Documentation

◆ MarketDataOptionsTypeEnum

The available values are: CurveOptions

The available values are: CurveOptions

Enumerator
CurveOptions 

Enum CurveOptions for value: CurveOptions

Constructor & Destructor Documentation

◆ MarketDataOptions() [1/2]

Lusid.Sdk.Model.MarketDataOptions.MarketDataOptions ( )
inlineprotected

Initializes a new instance of the MarketDataOptions class.

◆ MarketDataOptions() [2/2]

Lusid.Sdk.Model.MarketDataOptions.MarketDataOptions ( MarketDataOptionsTypeEnum  marketDataOptionsType = default(MarketDataOptionsTypeEnum))
inline

Initializes a new instance of the MarketDataOptions class.

Parameters
marketDataOptionsTypeThe available values are: CurveOptions (required).

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if MarketDataOptions instances are equal

Parameters
inputInstance of MarketDataOptions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented in Lusid.Sdk.Model.CurveOptions.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ MarketDataOptionsType

MarketDataOptionsTypeEnum Lusid.Sdk.Model.MarketDataOptions.MarketDataOptionsType
getset

The available values are: CurveOptions

The available values are: CurveOptions


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