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

The quantity of the event that was instructed, represented either as a percentage of the overall holdings or the number of units instructed. More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

string Type [get, set]
 The type of quantity instructed. Available values: Percentage, Units, Invalid. More...
 
decimal Amount [get, set]
 The actual amount instructed. For Type Percentage, this is between 0 and 100. More...
 

Detailed Description

The quantity of the event that was instructed, represented either as a percentage of the overall holdings or the number of units instructed.

Constructor & Destructor Documentation

◆ QuantityInstructed() [1/2]

Lusid.Sdk.Model.QuantityInstructed.QuantityInstructed ( )
inlineprotected

Initializes a new instance of the QuantityInstructed class.

◆ QuantityInstructed() [2/2]

Lusid.Sdk.Model.QuantityInstructed.QuantityInstructed ( string  type = default(string),
decimal  amount = default(decimal) 
)
inline

Initializes a new instance of the QuantityInstructed class.

Parameters
typeThe type of quantity instructed. Available values: Percentage, Units, Invalid. (required).
amountThe actual amount instructed. For Type Percentage, this is between 0 and 100. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if QuantityInstructed instances are equal

Parameters
inputInstance of QuantityInstructed to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Amount

decimal Lusid.Sdk.Model.QuantityInstructed.Amount
getset

The actual amount instructed. For Type Percentage, this is between 0 and 100.

The actual amount instructed. For Type Percentage, this is between 0 and 100.

◆ Type

string Lusid.Sdk.Model.QuantityInstructed.Type
getset

The type of quantity instructed. Available values: Percentage, Units, Invalid.

The type of quantity instructed. Available values: Percentage, Units, Invalid.


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