LUSID C# SDK
|
Base class for representing model options in LUSID, which provide config for instrument analytics. This base class should not be directly instantiated; each supported ModelOptionsType has a corresponding inherited class. More...
Public Types | |
enum class | ModelOptionsTypeEnum { Invalid = 1 , OpaqueModelOptions = 2 , EmptyModelOptions = 3 , IndexModelOptions = 4 , FxForwardModelOptions = 5 , FundingLegModelOptions = 6 , EquityModelOptions = 7 , LookUpPricingModelOptions = 8 } |
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions More... | |
Public Member Functions | |
ModelOptions (ModelOptionsTypeEnum modelOptionsType=default(ModelOptionsTypeEnum)) | |
Initializes a new instance of the ModelOptions 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 (ModelOptions input) |
Returns true if ModelOptions instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ModelOptions () | |
Initializes a new instance of the ModelOptions class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
ModelOptionsTypeEnum | ModelOptionsType [get, set] |
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions More... | |
Base class for representing model options in LUSID, which provide config for instrument analytics. This base class should not be directly instantiated; each supported ModelOptionsType has a corresponding inherited class.
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions
Enumerator | |
---|---|
Invalid | Enum Invalid for value: Invalid |
OpaqueModelOptions | Enum OpaqueModelOptions for value: OpaqueModelOptions |
EmptyModelOptions | Enum EmptyModelOptions for value: EmptyModelOptions |
IndexModelOptions | Enum IndexModelOptions for value: IndexModelOptions |
FxForwardModelOptions | Enum FxForwardModelOptions for value: FxForwardModelOptions |
FundingLegModelOptions | Enum FundingLegModelOptions for value: FundingLegModelOptions |
EquityModelOptions | Enum EquityModelOptions for value: EquityModelOptions |
LookUpPricingModelOptions | Enum LookUpPricingModelOptions for value: LookUpPricingModelOptions |
|
inlineprotected |
Initializes a new instance of the ModelOptions class.
|
inline |
Initializes a new instance of the ModelOptions class.
modelOptionsType | The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions (required). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if ModelOptions instances are equal
input | Instance of ModelOptions to be compared |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented in Lusid.Sdk.Model.OpaqueModelOptions, Lusid.Sdk.Model.LookUpPricingModelOptions, Lusid.Sdk.Model.IndexModelOptions, Lusid.Sdk.Model.FxForwardModelOptions, Lusid.Sdk.Model.FundingLegOptions, Lusid.Sdk.Model.EquityModelOptions, and Lusid.Sdk.Model.EmptyModelOptions.
|
inline |
Returns the string presentation of the object
|
getset |
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions
The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions