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

The number of units you have after the event (output) for a given number of units you have prior to the event (input). More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

decimal Input [get, set]
 Input amount. Denominator of the Ratio More...
 
decimal Output [get, set]
 Output amount. Numerator of the Ratio More...
 

Detailed Description

The number of units you have after the event (output) for a given number of units you have prior to the event (input).

Constructor & Destructor Documentation

◆ UnitsRatio() [1/2]

Lusid.Sdk.Model.UnitsRatio.UnitsRatio ( )
inlineprotected

Initializes a new instance of the UnitsRatio class.

◆ UnitsRatio() [2/2]

Lusid.Sdk.Model.UnitsRatio.UnitsRatio ( decimal  input = default(decimal),
decimal  output = default(decimal) 
)
inline

Initializes a new instance of the UnitsRatio class.

Parameters
inputInput amount. Denominator of the Ratio (required).
outputOutput amount. Numerator of the Ratio (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if UnitsRatio instances are equal

Parameters
inputInstance of UnitsRatio to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Input

decimal Lusid.Sdk.Model.UnitsRatio.Input
getset

Input amount. Denominator of the Ratio

Input amount. Denominator of the Ratio

◆ Output

decimal Lusid.Sdk.Model.UnitsRatio.Output
getset

Output amount. Numerator of the Ratio

Output amount. Numerator of the Ratio


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