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

Model options for credit default instrument. More...

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

Public Member Functions

 CdsModelOptions (bool useFactorsForCurrentNotional=default(bool), ModelOptionsTypeEnum modelOptionsType=default(ModelOptionsTypeEnum))
 Initializes a new instance of the CdsModelOptions 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 (CdsModelOptions input)
 Returns true if CdsModelOptions 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

 CdsModelOptions ()
 Initializes a new instance of the CdsModelOptions 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 UseFactorsForCurrentNotional [get, set]
 Determines if calculations that use current notional apply use a constituent weight factor from a quote representing a default. More...
 
- Properties inherited from Lusid.Sdk.Model.ModelOptions
ModelOptionsTypeEnum ModelOptionsType [get, set]
 Available values: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, CdsModelOptions. 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 , CdsModelOptions = 8
}
 Available values: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, CdsModelOptions. More...
 

Detailed Description

Model options for credit default instrument.

Constructor & Destructor Documentation

◆ CdsModelOptions() [1/2]

Lusid.Sdk.Model.CdsModelOptions.CdsModelOptions ( )
inlineprotected

Initializes a new instance of the CdsModelOptions class.

◆ CdsModelOptions() [2/2]

Lusid.Sdk.Model.CdsModelOptions.CdsModelOptions ( bool  useFactorsForCurrentNotional = default(bool),
ModelOptionsTypeEnum  modelOptionsType = default(ModelOptionsTypeEnum) 
)
inline

Initializes a new instance of the CdsModelOptions class.

Parameters
useFactorsForCurrentNotionalDetermines if calculations that use current notional apply use a constituent weight factor from a quote representing a default. (required).
modelOptionsTypeAvailable values: Invalid, OpaqueModelOptions, EmptyModelOptions, IndexModelOptions, FxForwardModelOptions, FundingLegModelOptions, EquityModelOptions, CdsModelOptions. (required) (default to "CdsModelOptions").

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if CdsModelOptions instances are equal

Parameters
inputInstance of CdsModelOptions to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.CdsModelOptions.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.CdsModelOptions.ToString ( )
inline

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ UseFactorsForCurrentNotional

bool Lusid.Sdk.Model.CdsModelOptions.UseFactorsForCurrentNotional
getset

Determines if calculations that use current notional apply use a constituent weight factor from a quote representing a default.

Determines if calculations that use current notional apply use a constituent weight factor from a quote representing a default.


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