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

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...

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

Public Types

enum class  ModelOptionsTypeEnum {
  Invalid = 1 , OpaqueModelOptions = 2 , EmptyModelOptions = 3 , IndexModelOptions = 4 ,
  FxForwardModelOptions = 5 , FundingLegModelOptions = 6 , EquityModelOptions = 7
}
 The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions 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 More...
 

Detailed Description

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.

Member Enumeration Documentation

◆ ModelOptionsTypeEnum

The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions

The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions

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

Constructor & Destructor Documentation

◆ ModelOptions() [1/2]

Lusid.Sdk.Model.ModelOptions.ModelOptions ( )
inlineprotected

Initializes a new instance of the ModelOptions class.

◆ ModelOptions() [2/2]

Lusid.Sdk.Model.ModelOptions.ModelOptions ( ModelOptionsTypeEnum  modelOptionsType = default(ModelOptionsTypeEnum))
inline

Initializes a new instance of the ModelOptions class.

Parameters
modelOptionsTypeThe available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions (required).

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if ModelOptions instances are equal

Parameters
inputInstance of ModelOptions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ ModelOptionsType

ModelOptionsTypeEnum Lusid.Sdk.Model.ModelOptions.ModelOptionsType
getset

The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions

The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions


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