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

Model options for look up pricing. More...

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

Public Member Functions

 LookUpPricingModelOptions (bool addAccrual=default(bool), bool applyIndexRatio=default(bool), ModelOptionsTypeEnum modelOptionsType=default(ModelOptionsTypeEnum))
 Initializes a new instance of the LookUpPricingModelOptions 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 (LookUpPricingModelOptions input)
 Returns true if LookUpPricingModelOptions instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.ModelOptions
 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...
 
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

 LookUpPricingModelOptions ()
 Initializes a new instance of the LookUpPricingModelOptions 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.ModelOptions
 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

bool AddAccrual [get, set]
 Add Instrument Accrual to Valuation More...
 
bool ApplyIndexRatio [get, set]
 Apply Index Ratio to price before valuation. Used for InflationLinkedBond More...
 
- Properties inherited from Lusid.Sdk.Model.ModelOptions
ModelOptionsTypeEnum ModelOptionsType [get, set]
 The available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.ModelOptions
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...
 

Detailed Description

Model options for look up pricing.

Constructor & Destructor Documentation

◆ LookUpPricingModelOptions() [1/2]

Lusid.Sdk.Model.LookUpPricingModelOptions.LookUpPricingModelOptions ( )
inlineprotected

Initializes a new instance of the LookUpPricingModelOptions class.

◆ LookUpPricingModelOptions() [2/2]

Lusid.Sdk.Model.LookUpPricingModelOptions.LookUpPricingModelOptions ( bool  addAccrual = default(bool),
bool  applyIndexRatio = default(bool),
ModelOptionsTypeEnum  modelOptionsType = default(ModelOptionsTypeEnum) 
)
inline

Initializes a new instance of the LookUpPricingModelOptions class.

Parameters
addAccrualAdd Instrument Accrual to Valuation (required).
applyIndexRatioApply Index Ratio to price before valuation. Used for InflationLinkedBond (required).
modelOptionsTypeThe available values are: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, LookUpPricingModelOptions (required) (default to "LookUpPricingModelOptions").

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if LookUpPricingModelOptions instances are equal

Parameters
inputInstance of LookUpPricingModelOptions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.ModelOptions.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AddAccrual

bool Lusid.Sdk.Model.LookUpPricingModelOptions.AddAccrual
getset

Add Instrument Accrual to Valuation

Add Instrument Accrual to Valuation

◆ ApplyIndexRatio

bool Lusid.Sdk.Model.LookUpPricingModelOptions.ApplyIndexRatio
getset

Apply Index Ratio to price before valuation. Used for InflationLinkedBond

Apply Index Ratio to price before valuation. Used for InflationLinkedBond


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