LUSID C# SDK
|
Result value representing a 0D result. These results can be equipped with a unit More...
Public Member Functions | |
ResultValue0D (string units=default(string), decimal value=default(decimal), int? dimension=default(int?), ResultValueTypeEnum resultValueType=default(ResultValueTypeEnum)) | |
Initializes a new instance of the ResultValue0D class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override 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 (ResultValue0D input) |
Returns true if ResultValue0D instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
![]() | |
ResultValue (ResultValueTypeEnum resultValueType=default(ResultValueTypeEnum)) | |
Initializes a new instance of the ResultValue class. More... | |
override string | ToString () |
Returns the string presentation of the object More... | |
override bool | Equals (object input) |
Returns true if objects are equal More... | |
bool | Equals (ResultValue input) |
Returns true if ResultValue instances are equal More... | |
override int | GetHashCode () |
Gets the hash code More... | |
Protected Member Functions | |
ResultValue0D () | |
Initializes a new instance of the ResultValue0D class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
![]() | |
ResultValue () | |
Initializes a new instance of the ResultValue class. More... | |
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > | BaseValidate (ValidationContext validationContext) |
To validate all properties of the instance More... | |
Properties | |
string | Units [get, set] |
Unit of the result More... | |
decimal | Value [get, set] |
The value of the result More... | |
int? | Dimension [get, set] |
The dimension of the result. Can be null if there is no sensible way of defining the dimension. This field should not be populate by the user on upsertion. More... | |
![]() | |
ResultValueTypeEnum | ResultValueType [get, set] |
The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset More... | |
Additional Inherited Members | |
![]() | |
enum class | ResultValueTypeEnum { ResultValue = 1 , ResultValueDictionary = 2 , ResultValue0D = 3 , ResultValueDecimal = 4 , ResultValueInt = 5 , ResultValueString = 6 , ResultValueBool = 7 , ResultValueCurrency = 8 , CashFlowValue = 9 , CashFlowValueSet = 10 , ResultValueLifeCycleEventValue = 11 , ResultValueDateTimeOffset = 12 } |
The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset More... | |
Result value representing a 0D result. These results can be equipped with a unit
|
inlineprotected |
Initializes a new instance of the ResultValue0D class.
|
inline |
Initializes a new instance of the ResultValue0D class.
units | Unit of the result. |
value | The value of the result. |
dimension | The dimension of the result. Can be null if there is no sensible way of defining the dimension. This field should not be populate by the user on upsertion.. |
resultValueType | The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset (required) (default to "ResultValue0D"). |
|
inlineprotected |
To validate all properties of the instance
validationContext | Validation context |
|
inline |
Returns true if objects are equal
input | Object to be compared |
|
inline |
Returns true if ResultValue0D instances are equal
input | Instance of ResultValue0D to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented from Lusid.Sdk.Model.ResultValue.
|
inline |
Returns the string presentation of the object
|
getset |
The dimension of the result. Can be null if there is no sensible way of defining the dimension. This field should not be populate by the user on upsertion.
The dimension of the result. Can be null if there is no sensible way of defining the dimension. This field should not be populate by the user on upsertion.
|
getset |
Unit of the result
Unit of the result
|
getset |
The value of the result
The value of the result