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

The version metadata. More...

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

Public Member Functions

 ModelVersion (DateTimeOffset effectiveFrom=default(DateTimeOffset), DateTimeOffset asAtDate=default(DateTimeOffset))
 Initializes a new instance of the ModelVersion class. More...
 
bool ShouldSerializeAsAtCreated ()
 Returns false as AsAtCreated should not be serialized given that it's read-only. More...
 
bool ShouldSerializeUserIdCreated ()
 Returns false as UserIdCreated should not be serialized given that it's read-only. More...
 
bool ShouldSerializeRequestIdCreated ()
 Returns false as RequestIdCreated should not be serialized given that it's read-only. More...
 
bool ShouldSerializeAsAtModified ()
 Returns false as AsAtModified should not be serialized given that it's read-only. More...
 
bool ShouldSerializeUserIdModified ()
 Returns false as UserIdModified should not be serialized given that it's read-only. More...
 
bool ShouldSerializeRequestIdModified ()
 Returns false as RequestIdModified should not be serialized given that it's read-only. More...
 
bool ShouldSerializeAsAtVersionNumber ()
 Returns false as AsAtVersionNumber should not be serialized given that it's read-only. 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 (ModelVersion input)
 Returns true if ModelVersion instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 ModelVersion ()
 Initializes a new instance of the ModelVersion class. More...
 

Properties

DateTimeOffset EffectiveFrom [get, set]
 The effective datetime at which this version became valid. Only applies when a single entity is being interacted with. More...
 
DateTimeOffset AsAtDate [get, set]
 The asAt datetime at which the data was committed to LUSID. More...
 
DateTimeOffset? AsAtCreated [get]
 The asAt datetime at which the entity was first created in LUSID. More...
 
string UserIdCreated [get]
 The unique id of the user who created the entity. More...
 
string RequestIdCreated [get]
 The unique request id of the command that created the entity. More...
 
DateTimeOffset? AsAtModified [get]
 The asAt datetime at which the entity (including its properties) was last updated in LUSID. More...
 
string UserIdModified [get]
 The unique id of the user who last updated the entity (including its properties) in LUSID. More...
 
string RequestIdModified [get]
 The unique request id of the command that last updated the entity (including its properties) in LUSID. More...
 
int? AsAtVersionNumber [get]
 The integer version number for the entity (the entity was created at version 1) More...
 

Detailed Description

The version metadata.

Constructor & Destructor Documentation

◆ ModelVersion() [1/2]

Lusid.Sdk.Model.ModelVersion.ModelVersion ( )
inlineprotected

Initializes a new instance of the ModelVersion class.

◆ ModelVersion() [2/2]

Lusid.Sdk.Model.ModelVersion.ModelVersion ( DateTimeOffset  effectiveFrom = default(DateTimeOffset),
DateTimeOffset  asAtDate = default(DateTimeOffset) 
)
inline

Initializes a new instance of the ModelVersion class.

Parameters
effectiveFromThe effective datetime at which this version became valid. Only applies when a single entity is being interacted with. (required).
asAtDateThe asAt datetime at which the data was committed to LUSID. (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if ModelVersion instances are equal

Parameters
inputInstance of ModelVersion to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ShouldSerializeAsAtCreated()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeAsAtCreated ( )
inline

Returns false as AsAtCreated should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeAsAtModified()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeAsAtModified ( )
inline

Returns false as AsAtModified should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeAsAtVersionNumber()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeAsAtVersionNumber ( )
inline

Returns false as AsAtVersionNumber should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeRequestIdCreated()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeRequestIdCreated ( )
inline

Returns false as RequestIdCreated should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeRequestIdModified()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeRequestIdModified ( )
inline

Returns false as RequestIdModified should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeUserIdCreated()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeUserIdCreated ( )
inline

Returns false as UserIdCreated should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ShouldSerializeUserIdModified()

bool Lusid.Sdk.Model.ModelVersion.ShouldSerializeUserIdModified ( )
inline

Returns false as UserIdModified should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AsAtCreated

DateTimeOffset? Lusid.Sdk.Model.ModelVersion.AsAtCreated
get

The asAt datetime at which the entity was first created in LUSID.

The asAt datetime at which the entity was first created in LUSID.

◆ AsAtDate

DateTimeOffset Lusid.Sdk.Model.ModelVersion.AsAtDate
getset

The asAt datetime at which the data was committed to LUSID.

The asAt datetime at which the data was committed to LUSID.

◆ AsAtModified

DateTimeOffset? Lusid.Sdk.Model.ModelVersion.AsAtModified
get

The asAt datetime at which the entity (including its properties) was last updated in LUSID.

The asAt datetime at which the entity (including its properties) was last updated in LUSID.

◆ AsAtVersionNumber

int? Lusid.Sdk.Model.ModelVersion.AsAtVersionNumber
get

The integer version number for the entity (the entity was created at version 1)

The integer version number for the entity (the entity was created at version 1)

◆ EffectiveFrom

DateTimeOffset Lusid.Sdk.Model.ModelVersion.EffectiveFrom
getset

The effective datetime at which this version became valid. Only applies when a single entity is being interacted with.

The effective datetime at which this version became valid. Only applies when a single entity is being interacted with.

◆ RequestIdCreated

string Lusid.Sdk.Model.ModelVersion.RequestIdCreated
get

The unique request id of the command that created the entity.

The unique request id of the command that created the entity.

◆ RequestIdModified

string Lusid.Sdk.Model.ModelVersion.RequestIdModified
get

The unique request id of the command that last updated the entity (including its properties) in LUSID.

The unique request id of the command that last updated the entity (including its properties) in LUSID.

◆ UserIdCreated

string Lusid.Sdk.Model.ModelVersion.UserIdCreated
get

The unique id of the user who created the entity.

The unique id of the user who created the entity.

◆ UserIdModified

string Lusid.Sdk.Model.ModelVersion.UserIdModified
get

The unique id of the user who last updated the entity (including its properties) in LUSID.

The unique id of the user who last updated the entity (including its properties) in LUSID.


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