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

CDSs generally conform to fairly standard definitions, but can be tweaked in a number of different ways. This class gathers a number of common features which may deviate. These will default to the market standard when no overrides are provided. More...

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

Public Member Functions

 CdsProtectionDetailSpecification (string seniority=default(string), string restructuringType=default(string), bool protectStartDay=default(bool), bool payAccruedInterestOnDefault=default(bool))
 Initializes a new instance of the CdsProtectionDetailSpecification 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 (CdsProtectionDetailSpecification input)
 Returns true if CdsProtectionDetailSpecification instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 CdsProtectionDetailSpecification ()
 Initializes a new instance of the CdsProtectionDetailSpecification class. More...
 

Properties

string Seniority [get, set]
 The seniority level of the CDS. Supported string (enumeration) values are: [SNR, SUB, JRSUBUT2, PREFT1, SECDOM, SNRFOR, SUBLT2]. More...
 
string RestructuringType [get, set]
 The restructuring clause. Supported string (enumeration) values are: [CR, MR, MM, XR]. More...
 
bool ProtectStartDay [get, set]
 Does the protection leg pay out in the case of default on the start date. More...
 
bool PayAccruedInterestOnDefault [get, set]
 Should accrued interest on the premium leg be paid if a credit event occurs. More...
 

Detailed Description

CDSs generally conform to fairly standard definitions, but can be tweaked in a number of different ways. This class gathers a number of common features which may deviate. These will default to the market standard when no overrides are provided.

Constructor & Destructor Documentation

◆ CdsProtectionDetailSpecification() [1/2]

Lusid.Sdk.Model.CdsProtectionDetailSpecification.CdsProtectionDetailSpecification ( )
inlineprotected

Initializes a new instance of the CdsProtectionDetailSpecification class.

◆ CdsProtectionDetailSpecification() [2/2]

Lusid.Sdk.Model.CdsProtectionDetailSpecification.CdsProtectionDetailSpecification ( string  seniority = default(string),
string  restructuringType = default(string),
bool  protectStartDay = default(bool),
bool  payAccruedInterestOnDefault = default(bool) 
)
inline

Initializes a new instance of the CdsProtectionDetailSpecification class.

Parameters
seniorityThe seniority level of the CDS. Supported string (enumeration) values are: [SNR, SUB, JRSUBUT2, PREFT1, SECDOM, SNRFOR, SUBLT2]. (required).
restructuringTypeThe restructuring clause. Supported string (enumeration) values are: [CR, MR, MM, XR]. (required).
protectStartDayDoes the protection leg pay out in the case of default on the start date. (required).
payAccruedInterestOnDefaultShould accrued interest on the premium leg be paid if a credit event occurs. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if CdsProtectionDetailSpecification instances are equal

Parameters
inputInstance of CdsProtectionDetailSpecification to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ PayAccruedInterestOnDefault

bool Lusid.Sdk.Model.CdsProtectionDetailSpecification.PayAccruedInterestOnDefault
getset

Should accrued interest on the premium leg be paid if a credit event occurs.

Should accrued interest on the premium leg be paid if a credit event occurs.

◆ ProtectStartDay

bool Lusid.Sdk.Model.CdsProtectionDetailSpecification.ProtectStartDay
getset

Does the protection leg pay out in the case of default on the start date.

Does the protection leg pay out in the case of default on the start date.

◆ RestructuringType

string Lusid.Sdk.Model.CdsProtectionDetailSpecification.RestructuringType
getset

The restructuring clause. Supported string (enumeration) values are: [CR, MR, MM, XR].

The restructuring clause. Supported string (enumeration) values are: [CR, MR, MM, XR].

◆ Seniority

string Lusid.Sdk.Model.CdsProtectionDetailSpecification.Seniority
getset

The seniority level of the CDS. Supported string (enumeration) values are: [SNR, SUB, JRSUBUT2, PREFT1, SECDOM, SNRFOR, SUBLT2].

The seniority level of the CDS. Supported string (enumeration) values are: [SNR, SUB, JRSUBUT2, PREFT1, SECDOM, SNRFOR, SUBLT2].


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