The number of units you have after the event (output) for a given number of units you have prior to the event (input).
More...
|
decimal | Input [get, set] |
| Input amount. Denominator of the Ratio More...
|
|
decimal | Output [get, set] |
| Output amount. Numerator of the Ratio More...
|
|
The number of units you have after the event (output) for a given number of units you have prior to the event (input).
◆ 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
-
input | Input amount. Denominator of the Ratio (required). |
output | Output amount. Numerator of the Ratio (required). |
◆ Equals() [1/2]
override bool Lusid.Sdk.Model.UnitsRatio.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object 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
-
- 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
◆ 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:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/latest/sdk/Lusid.Sdk/Model/UnitsRatio.cs