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

Item which is stepped in level/quantity. More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

DateTimeOffset Date [get, set]
 The date from which the level should apply. More...
 
decimal Quantity [get, set]
 The quantity which is applied. This might be an absolute, percentage, fractional or other value. More...
 

Detailed Description

Item which is stepped in level/quantity.

Constructor & Destructor Documentation

◆ LevelStep() [1/2]

Lusid.Sdk.Model.LevelStep.LevelStep ( )
inlineprotected

Initializes a new instance of the LevelStep class.

◆ LevelStep() [2/2]

Lusid.Sdk.Model.LevelStep.LevelStep ( DateTimeOffset  date = default(DateTimeOffset),
decimal  quantity = default(decimal) 
)
inline

Initializes a new instance of the LevelStep class.

Parameters
dateThe date from which the level should apply. (required).
quantityThe quantity which is applied. This might be an absolute, percentage, fractional or other value. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if LevelStep instances are equal

Parameters
inputInstance of LevelStep to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Date

DateTimeOffset Lusid.Sdk.Model.LevelStep.Date
getset

The date from which the level should apply.

The date from which the level should apply.

◆ Quantity

decimal Lusid.Sdk.Model.LevelStep.Quantity
getset

The quantity which is applied. This might be an absolute, percentage, fractional or other value.

The quantity which is applied. This might be an absolute, percentage, fractional or other value.


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