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

A simple result for a date time value More...

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

Public Member Functions

 ResultValueDateTimeOffset (DateTimeOffset value=default(DateTimeOffset), int? dimension=default(int?), ResultValueTypeEnum resultValueType=default(ResultValueTypeEnum))
 Initializes a new instance of the ResultValueDateTimeOffset 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 (ResultValueDateTimeOffset input)
 Returns true if ResultValueDateTimeOffset instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.ResultValue
 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

 ResultValueDateTimeOffset ()
 Initializes a new instance of the ResultValueDateTimeOffset class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 
- Protected Member Functions inherited from Lusid.Sdk.Model.ResultValue
 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

DateTimeOffset Value [get, set]
 The value itself 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...
 
- Properties inherited from Lusid.Sdk.Model.ResultValue
ResultValueTypeEnum ResultValueType [get, set]
 The available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.ResultValue
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...
 

Detailed Description

A simple result for a date time value

Constructor & Destructor Documentation

◆ ResultValueDateTimeOffset() [1/2]

Lusid.Sdk.Model.ResultValueDateTimeOffset.ResultValueDateTimeOffset ( )
inlineprotected

Initializes a new instance of the ResultValueDateTimeOffset class.

◆ ResultValueDateTimeOffset() [2/2]

Lusid.Sdk.Model.ResultValueDateTimeOffset.ResultValueDateTimeOffset ( DateTimeOffset  value = default(DateTimeOffset),
int?  dimension = default(int?),
ResultValueTypeEnum  resultValueType = default(ResultValueTypeEnum) 
)
inline

Initializes a new instance of the ResultValueDateTimeOffset class.

Parameters
valueThe value itself.
dimensionThe 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..
resultValueTypeThe available values are: ResultValue, ResultValueDictionary, ResultValue0D, ResultValueDecimal, ResultValueInt, ResultValueString, ResultValueBool, ResultValueCurrency, CashFlowValue, CashFlowValueSet, ResultValueLifeCycleEventValue, ResultValueDateTimeOffset (required) (default to "ResultValueDateTimeOffset").

Member Function Documentation

◆ BaseValidate()

IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Lusid.Sdk.Model.ResultValueDateTimeOffset.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.ResultValueDateTimeOffset.Equals ( object  input)
inline

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if ResultValueDateTimeOffset instances are equal

Parameters
inputInstance of ResultValueDateTimeOffset to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

override string Lusid.Sdk.Model.ResultValueDateTimeOffset.ToJson ( )
inlinevirtual

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.ResultValue.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Dimension

int? Lusid.Sdk.Model.ResultValueDateTimeOffset.Dimension
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.

◆ Value

DateTimeOffset Lusid.Sdk.Model.ResultValueDateTimeOffset.Value
getset

The value itself

The value itself


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