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

Information about a change to a field / property. At least one of 'PreviousValue' or 'NewValue' will be set. More...

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

Public Member Functions

 ChangeItem (string fieldName=default(string), string previousValue=default(string), string newValue=default(string), DateTimeOffset? effectiveFrom=default(DateTimeOffset?), DateTimeOffset? effectiveUntil=default(DateTimeOffset?))
 Initializes a new instance of the ChangeItem 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 (ChangeItem input)
 Returns true if ChangeItem instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string FieldName [get, set]
 The name of the field or property that has been changed. More...
 
string PreviousValue [get, set]
 The previous value for this field / property. More...
 
string NewValue [get, set]
 The new value for this field / property. More...
 
DateTimeOffset? EffectiveFrom [get, set]
 The market data time, i.e. the time to run the change from. More...
 
DateTimeOffset? EffectiveUntil [get, set]
 The market data time, i.e. the time to run the change until. More...
 

Detailed Description

Information about a change to a field / property. At least one of 'PreviousValue' or 'NewValue' will be set.

Constructor & Destructor Documentation

◆ ChangeItem() [1/2]

Lusid.Sdk.Model.ChangeItem.ChangeItem ( )
inlineprotected

Initializes a new instance of the ChangeItem class.

◆ ChangeItem() [2/2]

Lusid.Sdk.Model.ChangeItem.ChangeItem ( string  fieldName = default(string),
string  previousValue = default(string),
string  newValue = default(string),
DateTimeOffset?  effectiveFrom = default(DateTimeOffset?),
DateTimeOffset?  effectiveUntil = default(DateTimeOffset?) 
)
inline

Initializes a new instance of the ChangeItem class.

Parameters
fieldNameThe name of the field or property that has been changed. (required).
previousValueThe previous value for this field / property..
newValueThe new value for this field / property..
effectiveFromThe market data time, i.e. the time to run the change from..
effectiveUntilThe market data time, i.e. the time to run the change until..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if ChangeItem instances are equal

Parameters
inputInstance of ChangeItem to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ EffectiveFrom

DateTimeOffset? Lusid.Sdk.Model.ChangeItem.EffectiveFrom
getset

The market data time, i.e. the time to run the change from.

The market data time, i.e. the time to run the change from.

◆ EffectiveUntil

DateTimeOffset? Lusid.Sdk.Model.ChangeItem.EffectiveUntil
getset

The market data time, i.e. the time to run the change until.

The market data time, i.e. the time to run the change until.

◆ FieldName

string Lusid.Sdk.Model.ChangeItem.FieldName
getset

The name of the field or property that has been changed.

The name of the field or property that has been changed.

◆ NewValue

string Lusid.Sdk.Model.ChangeItem.NewValue
getset

The new value for this field / property.

The new value for this field / property.

◆ PreviousValue

string Lusid.Sdk.Model.ChangeItem.PreviousValue
getset

The previous value for this field / property.

The previous value for this field / property.


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