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

MetricValue More...

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

Public Member Functions

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

Properties

decimal Value [get, set]
 The numerical value of the property. More...
 
string Unit [get, set]
 Gets or Sets Unit More...
 

Detailed Description

MetricValue

Constructor & Destructor Documentation

◆ MetricValue()

Lusid.Sdk.Model.MetricValue.MetricValue ( decimal  value = default(decimal),
string  unit = default(string) 
)
inline

Initializes a new instance of the MetricValue class.

Parameters
valueThe numerical value of the property..
unitunit.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if MetricValue instances are equal

Parameters
inputInstance of MetricValue to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Unit

string Lusid.Sdk.Model.MetricValue.Unit
getset

Gets or Sets Unit

◆ Value

decimal Lusid.Sdk.Model.MetricValue.Value
getset

The numerical value of the property.

The numerical value of the property.


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