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

OrderBySpec More...

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

Public Types

enum class  SortOrderEnum { Ascending = 1 , Descending = 2 }
 The available values are: Ascending, Descending More...
 

Public Member Functions

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

Protected Member Functions

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

Properties

SortOrderEnum SortOrder [get, set]
 The available values are: Ascending, Descending More...
 
string Key [get, set]
 The key that uniquely identifies a queryable address in Lusid. More...
 

Detailed Description

OrderBySpec

Member Enumeration Documentation

◆ SortOrderEnum

The available values are: Ascending, Descending

The available values are: Ascending, Descending

Enumerator
Ascending 

Enum Ascending for value: Ascending

Descending 

Enum Descending for value: Descending

Constructor & Destructor Documentation

◆ OrderBySpec() [1/2]

Lusid.Sdk.Model.OrderBySpec.OrderBySpec ( )
inlineprotected

Initializes a new instance of the OrderBySpec class.

◆ OrderBySpec() [2/2]

Lusid.Sdk.Model.OrderBySpec.OrderBySpec ( string  key = default(string),
SortOrderEnum  sortOrder = default(SortOrderEnum) 
)
inline

Initializes a new instance of the OrderBySpec class.

Parameters
keyThe key that uniquely identifies a queryable address in Lusid. (required).
sortOrderThe available values are: Ascending, Descending (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if OrderBySpec instances are equal

Parameters
inputInstance of OrderBySpec to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Key

string Lusid.Sdk.Model.OrderBySpec.Key
getset

The key that uniquely identifies a queryable address in Lusid.

The key that uniquely identifies a queryable address in Lusid.

◆ SortOrder

SortOrderEnum Lusid.Sdk.Model.OrderBySpec.SortOrder
getset

The available values are: Ascending, Descending

The available values are: Ascending, Descending


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