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

InstrumentActivity More...

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

Public Member Functions

 InstrumentActivity (DateTimeOffset asAt=default(DateTimeOffset), string scope=default(string), string lusidInstrumentId=default(string), NavActivityAdjustmentTypeEnum navActivityAdjustmentType=default(NavActivityAdjustmentTypeEnum))
 Initializes a new instance of the InstrumentActivity 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 (InstrumentActivity input)
 Returns true if InstrumentActivity instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 
- Public Member Functions inherited from Lusid.Sdk.Model.NavActivityAdjustment
 NavActivityAdjustment (NavActivityAdjustmentTypeEnum navActivityAdjustmentType=default(NavActivityAdjustmentTypeEnum))
 Initializes a new instance of the NavActivityAdjustment 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 (NavActivityAdjustment input)
 Returns true if NavActivityAdjustment instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

 InstrumentActivity ()
 Initializes a new instance of the InstrumentActivity 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.NavActivityAdjustment
 NavActivityAdjustment ()
 Initializes a new instance of the NavActivityAdjustment class. More...
 
IEnumerable< System.ComponentModel.DataAnnotations.ValidationResult > BaseValidate (ValidationContext validationContext)
 To validate all properties of the instance More...
 

Properties

DateTimeOffset AsAt [get, set]
 The asAt time for which the adjustment is being applied. More...
 
string Scope [get, set]
 The Scope of the given entity More...
 
string LusidInstrumentId [get, set]
 The LusidInstrumentId of the given entity More...
 
- Properties inherited from Lusid.Sdk.Model.NavActivityAdjustment
NavActivityAdjustmentTypeEnum NavActivityAdjustmentType [get, set]
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.NavActivityAdjustment
enum class  NavActivityAdjustmentTypeEnum { PortfolioTransaction = 1 , PortfolioSettlementInstruction = 2 , InstrumentActivity = 3 , QuoteActivity = 4 }
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. More...
 

Detailed Description

InstrumentActivity

Constructor & Destructor Documentation

◆ InstrumentActivity() [1/2]

Lusid.Sdk.Model.InstrumentActivity.InstrumentActivity ( )
inlineprotected

Initializes a new instance of the InstrumentActivity class.

◆ InstrumentActivity() [2/2]

Lusid.Sdk.Model.InstrumentActivity.InstrumentActivity ( DateTimeOffset  asAt = default(DateTimeOffset),
string  scope = default(string),
string  lusidInstrumentId = default(string),
NavActivityAdjustmentTypeEnum  navActivityAdjustmentType = default(NavActivityAdjustmentTypeEnum) 
)
inline

Initializes a new instance of the InstrumentActivity class.

Parameters
asAtThe asAt time for which the adjustment is being applied. (required).
scopeThe Scope of the given entity (required).
lusidInstrumentIdThe LusidInstrumentId of the given entity (required).
navActivityAdjustmentTypeThe type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransaction, PortfolioSettlementInstruction, InstrumentActivity, QuoteActivity. (required) (default to "InstrumentActivity").

Member Function Documentation

◆ BaseValidate()

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

To validate all properties of the instance

Parameters
validationContextValidation context
Returns
Validation Result

◆ Equals() [1/2]

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

Returns true if InstrumentActivity instances are equal

Parameters
inputInstance of InstrumentActivity to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.NavActivityAdjustment.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AsAt

DateTimeOffset Lusid.Sdk.Model.InstrumentActivity.AsAt
getset

The asAt time for which the adjustment is being applied.

The asAt time for which the adjustment is being applied.

◆ LusidInstrumentId

string Lusid.Sdk.Model.InstrumentActivity.LusidInstrumentId
getset

The LusidInstrumentId of the given entity

The LusidInstrumentId of the given entity

◆ Scope

string Lusid.Sdk.Model.InstrumentActivity.Scope
getset

The Scope of the given entity

The Scope of the given entity


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