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

Wrapper for one instrument in a larger collateral basket, as part of a repurchase agreement modelled as a FlexibleRepo. More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

decimal Units [get, set]
 The amount of the instrument in the basket for this repurchase agreement. More...
 
MasteredInstrument Instrument [get, set]
 Gets or Sets Instrument More...
 

Detailed Description

Wrapper for one instrument in a larger collateral basket, as part of a repurchase agreement modelled as a FlexibleRepo.

Constructor & Destructor Documentation

◆ CollateralInstrument() [1/2]

Lusid.Sdk.Model.CollateralInstrument.CollateralInstrument ( )
inlineprotected

Initializes a new instance of the CollateralInstrument class.

◆ CollateralInstrument() [2/2]

Lusid.Sdk.Model.CollateralInstrument.CollateralInstrument ( decimal  units = default(decimal),
MasteredInstrument  instrument = default(MasteredInstrument) 
)
inline

Initializes a new instance of the CollateralInstrument class.

Parameters
unitsThe amount of the instrument in the basket for this repurchase agreement. (required).
instrumentinstrument (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if CollateralInstrument instances are equal

Parameters
inputInstance of CollateralInstrument to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Instrument

MasteredInstrument Lusid.Sdk.Model.CollateralInstrument.Instrument
getset

Gets or Sets Instrument

◆ Units

decimal Lusid.Sdk.Model.CollateralInstrument.Units
getset

The amount of the instrument in the basket for this repurchase agreement.

The amount of the instrument in the basket for this repurchase agreement.


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