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

PortfolioTransactionAdjustment More...

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

Public Member Functions

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

Protected Member Functions

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

Properties

string NavActivityAdjustmentSource [get, set]
 The post closed activity source of the given entity, for example Manual. Available values: Undefined, Manual, Auto. More...
 
DateTimeOffset AsAt [get, set]
 The asAt time for which the adjustment is being applied. More...
 
string PortfolioScope [get, set]
 The portfolio scope of the given entity More...
 
string PortfolioCode [get, set]
 The portfolio code of the given entity More...
 
string TransactionId [get, set]
 The transaction Id of the PortfolioTransaction being adjusted More...
 
- Properties inherited from Lusid.Sdk.Model.NavActivityAdjustmentResponse
NavActivityAdjustmentTypeEnum NavActivityAdjustmentType [get, set]
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransactionAdjustment, PortfolioSettlementInstructionAdjustment, InstrumentActivityAdjustment, QuoteActivityAdjustment. More...
 

Additional Inherited Members

- Public Types inherited from Lusid.Sdk.Model.NavActivityAdjustmentResponse
enum class  NavActivityAdjustmentTypeEnum { PortfolioTransactionAdjustment = 1 , PortfolioSettlementInstructionAdjustment = 2 , InstrumentActivityAdjustment = 3 , QuoteActivityAdjustment = 4 }
 The type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransactionAdjustment, PortfolioSettlementInstructionAdjustment, InstrumentActivityAdjustment, QuoteActivityAdjustment. More...
 

Detailed Description

PortfolioTransactionAdjustment

Constructor & Destructor Documentation

◆ PortfolioTransactionAdjustment() [1/2]

Lusid.Sdk.Model.PortfolioTransactionAdjustment.PortfolioTransactionAdjustment ( )
inlineprotected

Initializes a new instance of the PortfolioTransactionAdjustment class.

◆ PortfolioTransactionAdjustment() [2/2]

Lusid.Sdk.Model.PortfolioTransactionAdjustment.PortfolioTransactionAdjustment ( string  navActivityAdjustmentSource = default(string),
DateTimeOffset  asAt = default(DateTimeOffset),
string  portfolioScope = default(string),
string  portfolioCode = default(string),
string  transactionId = default(string),
NavActivityAdjustmentTypeEnum  navActivityAdjustmentType = default(NavActivityAdjustmentTypeEnum) 
)
inline

Initializes a new instance of the PortfolioTransactionAdjustment class.

Parameters
navActivityAdjustmentSourceThe post closed activity source of the given entity, for example Manual. Available values: Undefined, Manual, Auto. (required).
asAtThe asAt time for which the adjustment is being applied. (required).
portfolioScopeThe portfolio scope of the given entity (required).
portfolioCodeThe portfolio code of the given entity (required).
transactionIdThe transaction Id of the PortfolioTransaction being adjusted (required).
navActivityAdjustmentTypeThe type of the entity being applied, for example a PortfolioTransaction. Available values: PortfolioTransactionAdjustment, PortfolioSettlementInstructionAdjustment, InstrumentActivityAdjustment, QuoteActivityAdjustment. (required) (default to "PortfolioTransactionAdjustment").

Member Function Documentation

◆ BaseValidate()

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PortfolioTransactionAdjustment instances are equal

Parameters
inputInstance of PortfolioTransactionAdjustment to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

Reimplemented from Lusid.Sdk.Model.NavActivityAdjustmentResponse.

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ AsAt

DateTimeOffset Lusid.Sdk.Model.PortfolioTransactionAdjustment.AsAt
getset

The asAt time for which the adjustment is being applied.

The asAt time for which the adjustment is being applied.

◆ NavActivityAdjustmentSource

string Lusid.Sdk.Model.PortfolioTransactionAdjustment.NavActivityAdjustmentSource
getset

The post closed activity source of the given entity, for example Manual. Available values: Undefined, Manual, Auto.

The post closed activity source of the given entity, for example Manual. Available values: Undefined, Manual, Auto.

◆ PortfolioCode

string Lusid.Sdk.Model.PortfolioTransactionAdjustment.PortfolioCode
getset

The portfolio code of the given entity

The portfolio code of the given entity

◆ PortfolioScope

string Lusid.Sdk.Model.PortfolioTransactionAdjustment.PortfolioScope
getset

The portfolio scope of the given entity

The portfolio scope of the given entity

◆ TransactionId

string Lusid.Sdk.Model.PortfolioTransactionAdjustment.TransactionId
getset

The transaction Id of the PortfolioTransaction being adjusted

The transaction Id of the PortfolioTransaction being adjusted


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