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

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...

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

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
}
 The available values are: 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]
 The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset More...
 

Detailed Description

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

Member Enumeration Documentation

◆ ResultValueTypeEnum

The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset

The available values are: 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

Constructor & Destructor Documentation

◆ ResultValue() [1/2]

Lusid.Sdk.Model.ResultValue.ResultValue ( )
inlineprotected

Initializes a new instance of the ResultValue class.

◆ ResultValue() [2/2]

Lusid.Sdk.Model.ResultValue.ResultValue ( ResultValueTypeEnum  resultValueType = default(ResultValueTypeEnum))
inline

Initializes a new instance of the ResultValue class.

Parameters
resultValueTypeThe available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset (required).

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.ResultValue.BaseValidate ( ValidationContext  validationContext)
inlineprotected

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if ResultValue instances are equal

Parameters
inputInstance of ResultValue to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ ResultValueType

ResultValueTypeEnum Lusid.Sdk.Model.ResultValue.ResultValueType
getset

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