The underlying instrument representing one side of the TRS and its pay-receive direction.
More...
|
LusidInstrument | Asset [get, set] |
| Gets or Sets Asset More...
|
|
string | PayReceive [get, set] |
| Either Pay or Receive stating direction of the asset in the swap. Supported string (enumeration) values are: [Pay, Receive]. More...
|
|
The underlying instrument representing one side of the TRS and its pay-receive direction.
◆ AssetLeg() [1/2]
Lusid.Sdk.Model.AssetLeg.AssetLeg |
( |
| ) |
|
|
inlineprotected |
Initializes a new instance of the AssetLeg class.
◆ AssetLeg() [2/2]
Initializes a new instance of the AssetLeg class.
- Parameters
-
asset | asset (required). |
payReceive | Either Pay or Receive stating direction of the asset in the swap. Supported string (enumeration) values are: [Pay, Receive]. (required). |
◆ Equals() [1/2]
bool Lusid.Sdk.Model.AssetLeg.Equals |
( |
AssetLeg |
input | ) |
|
|
inline |
Returns true if AssetLeg instances are equal
- Parameters
-
input | Instance of AssetLeg to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
override bool Lusid.Sdk.Model.AssetLeg.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
input | Object to be compared |
- Returns
- Boolean
◆ GetHashCode()
override int Lusid.Sdk.Model.AssetLeg.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
virtual string Lusid.Sdk.Model.AssetLeg.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
override string Lusid.Sdk.Model.AssetLeg.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ Asset
◆ PayReceive
string Lusid.Sdk.Model.AssetLeg.PayReceive |
|
getset |
Either Pay or Receive stating direction of the asset in the swap. Supported string (enumeration) values are: [Pay, Receive].
Either Pay or Receive stating direction of the asset in the swap. Supported string (enumeration) values are: [Pay, Receive].
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/AssetLeg.cs