|
LUSID C# SDK
|
Base class for representing result values in LUSID. This base class should not be directly instantiated; each supported ResultValueType has a corresponding inherited class. More...

Public Types | |
| 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 } |
| Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset. More... | |
Public Member Functions | |
| 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... | |
| 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 (ResultValue input) |
| Returns true if ResultValue instances are equal More... | |
| override int | GetHashCode () |
| Gets the hash code More... | |
Protected Member Functions | |
| 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 | |
| ResultValueTypeEnum | ResultValueType [get, set] |
| Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset. More... | |
Base class for representing result values in LUSID. This base class should not be directly instantiated; each supported ResultValueType has a corresponding inherited class.
|
strong |
Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset.
Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset.
| Enumerator | |
|---|---|
| ResultValue | Enum ResultValue for value: ResultValue |
| ResultValueDictionary | Enum ResultValueDictionary for value: ResultValueDictionary |
| ResultValue0D | Enum ResultValue0D for value: ResultValue0D |
| ResultValueDecimal | Enum ResultValueDecimal for value: ResultValueDecimal |
| ResultValueInt | Enum ResultValueInt for value: ResultValueInt |
| ResultValueString | Enum ResultValueString for value: ResultValueString |
| ResultValueBool | Enum ResultValueBool for value: ResultValueBool |
| ResultValueCurrency | Enum ResultValueCurrency for value: ResultValueCurrency |
| CashFlowValue | Enum CashFlowValue for value: CashFlowValue |
| CashFlowValueSet | Enum CashFlowValueSet for value: CashFlowValueSet |
| ResultValueLifeCycleEventValue | Enum ResultValueLifeCycleEventValue for value: ResultValueLifeCycleEventValue |
| ResultValueDateTimeOffset | Enum ResultValueDateTimeOffset for value: ResultValueDateTimeOffset |
|
inlineprotected |
Initializes a new instance of the ResultValue class.
|
inline |
Initializes a new instance of the ResultValue class.
| resultValueType | Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset. (required). |
|
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 ResultValue instances are equal
| input | Instance of ResultValue to be compared |
|
inline |
Gets the hash code
|
inlinevirtual |
Returns the JSON string presentation of the object
Reimplemented in Lusid.Sdk.Model.ResultValueString, Lusid.Sdk.Model.ResultValueInt, Lusid.Sdk.Model.ResultValueDictionary, Lusid.Sdk.Model.ResultValueDecimal, Lusid.Sdk.Model.ResultValueDateTimeOffset, Lusid.Sdk.Model.ResultValueCurrency, Lusid.Sdk.Model.ResultValueBool, Lusid.Sdk.Model.ResultValue0D, Lusid.Sdk.Model.LifeCycleEventValue, Lusid.Sdk.Model.CashFlowValueSet, and Lusid.Sdk.Model.CashFlowValue.
|
inline |
Returns the string presentation of the object
|
getset |
Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset.
Available values: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset.