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

Object describing a credit rating, which assesses the stability and credit worthiness of a legal entity and hence its likelihood of defaulting on its outstanding obligations (typically debt). More...

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

Public Member Functions

 CreditRating (string ratingSource=default(string), string rating=default(string))
 Initializes a new instance of the CreditRating 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 (CreditRating input)
 Returns true if CreditRating instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string RatingSource [get, set]
 The provider of the credit rating, which will typically be an agency such as Moody's or Standard and Poor. More...
 
string Rating [get, set]
 The credit rating provided by the rating source. This would expected to be consistent with the rating scheme of that agency/source. More...
 

Detailed Description

Object describing a credit rating, which assesses the stability and credit worthiness of a legal entity and hence its likelihood of defaulting on its outstanding obligations (typically debt).

Constructor & Destructor Documentation

◆ CreditRating() [1/2]

Lusid.Sdk.Model.CreditRating.CreditRating ( )
inlineprotected

Initializes a new instance of the CreditRating class.

◆ CreditRating() [2/2]

Lusid.Sdk.Model.CreditRating.CreditRating ( string  ratingSource = default(string),
string  rating = default(string) 
)
inline

Initializes a new instance of the CreditRating class.

Parameters
ratingSourceThe provider of the credit rating, which will typically be an agency such as Moody's or Standard and Poor. (required).
ratingThe credit rating provided by the rating source. This would expected to be consistent with the rating scheme of that agency/source. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if CreditRating instances are equal

Parameters
inputInstance of CreditRating to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Rating

string Lusid.Sdk.Model.CreditRating.Rating
getset

The credit rating provided by the rating source. This would expected to be consistent with the rating scheme of that agency/source.

The credit rating provided by the rating source. This would expected to be consistent with the rating scheme of that agency/source.

◆ RatingSource

string Lusid.Sdk.Model.CreditRating.RatingSource
getset

The provider of the credit rating, which will typically be an agency such as Moody's or Standard and Poor.

The provider of the credit rating, which will typically be an agency such as Moody's or Standard and Poor.


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