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

Class that models a set of instruments of which each has some quantity and can be identified by a unique label. More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

List< WeightedInstrumentInstruments [get, set]
 The instruments that are held in the set. More...
 

Detailed Description

Class that models a set of instruments of which each has some quantity and can be identified by a unique label.

Constructor & Destructor Documentation

◆ WeightedInstruments() [1/2]

Lusid.Sdk.Model.WeightedInstruments.WeightedInstruments ( )
inlineprotected

Initializes a new instance of the WeightedInstruments class.

◆ WeightedInstruments() [2/2]

Lusid.Sdk.Model.WeightedInstruments.WeightedInstruments ( List< WeightedInstrument instruments = default(List<WeightedInstrument>))
inline

Initializes a new instance of the WeightedInstruments class.

Parameters
instrumentsThe instruments that are held in the set. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if WeightedInstruments instances are equal

Parameters
inputInstance of WeightedInstruments to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Instruments

List<WeightedInstrument> Lusid.Sdk.Model.WeightedInstruments.Instruments
getset

The instruments that are held in the set.

The instruments that are held in the set.


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