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

Full content of a holdings adjustment for a single portfolio and effective date. More...

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

Public Types

enum class  UnmatchedHoldingMethodEnum { PositionToZero = 1 , KeepTheSame = 2 }
 Describes how the holdings were adjusted. If 'PositionToZero' the entire transaction portfolio's holdings were set via a call to 'Set holdings'. If 'KeepTheSame' only the specified holdings were adjusted via a call to 'Adjust holdings'. The available values are: PositionToZero, KeepTheSame More...
 

Public Member Functions

 HoldingsAdjustment (DateTimeOffset effectiveAt=default(DateTimeOffset), ModelVersion version=default(ModelVersion), UnmatchedHoldingMethodEnum unmatchedHoldingMethod=default(UnmatchedHoldingMethodEnum), List< HoldingAdjustment > adjustments=default(List< HoldingAdjustment >), List< Link > links=default(List< Link >))
 Initializes a new instance of the HoldingsAdjustment 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 (HoldingsAdjustment input)
 Returns true if HoldingsAdjustment instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

UnmatchedHoldingMethodEnum UnmatchedHoldingMethod [get, set]
 Describes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame More...
 
DateTimeOffset EffectiveAt [get, set]
 The effective datetime from which the adjustment is valid. There can only be one holdings adjustment for a transaction portfolio at a specific effective datetime, so this uniquely identifies the adjustment. More...
 
ModelVersion _Version [get, set]
 Gets or Sets _Version More...
 
List< HoldingAdjustmentAdjustments [get, set]
 The holding adjustments. More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

Full content of a holdings adjustment for a single portfolio and effective date.

Member Enumeration Documentation

◆ UnmatchedHoldingMethodEnum

Describes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame

Describes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame

Enumerator
PositionToZero 

Enum PositionToZero for value: PositionToZero

KeepTheSame 

Enum KeepTheSame for value: KeepTheSame

Constructor & Destructor Documentation

◆ HoldingsAdjustment() [1/2]

Lusid.Sdk.Model.HoldingsAdjustment.HoldingsAdjustment ( )
inlineprotected

Initializes a new instance of the HoldingsAdjustment class.

◆ HoldingsAdjustment() [2/2]

Lusid.Sdk.Model.HoldingsAdjustment.HoldingsAdjustment ( DateTimeOffset  effectiveAt = default(DateTimeOffset),
ModelVersion  version = default(ModelVersion),
UnmatchedHoldingMethodEnum  unmatchedHoldingMethod = default(UnmatchedHoldingMethodEnum),
List< HoldingAdjustment adjustments = default(List<HoldingAdjustment>),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the HoldingsAdjustment class.

Parameters
effectiveAtThe effective datetime from which the adjustment is valid. There can only be one holdings adjustment for a transaction portfolio at a specific effective datetime, so this uniquely identifies the adjustment. (required).
versionversion (required).
unmatchedHoldingMethodDescribes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame (required).
adjustmentsThe holding adjustments. (required).
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if HoldingsAdjustment instances are equal

Parameters
inputInstance of HoldingsAdjustment to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.HoldingsAdjustment._Version
getset

Gets or Sets _Version

◆ Adjustments

List<HoldingAdjustment> Lusid.Sdk.Model.HoldingsAdjustment.Adjustments
getset

The holding adjustments.

The holding adjustments.

◆ EffectiveAt

DateTimeOffset Lusid.Sdk.Model.HoldingsAdjustment.EffectiveAt
getset

The effective datetime from which the adjustment is valid. There can only be one holdings adjustment for a transaction portfolio at a specific effective datetime, so this uniquely identifies the adjustment.

The effective datetime from which the adjustment is valid. There can only be one holdings adjustment for a transaction portfolio at a specific effective datetime, so this uniquely identifies the adjustment.

◆ Links

List<Link> Lusid.Sdk.Model.HoldingsAdjustment.Links
getset

Gets or Sets Links

◆ UnmatchedHoldingMethod

UnmatchedHoldingMethodEnum Lusid.Sdk.Model.HoldingsAdjustment.UnmatchedHoldingMethod
getset

Describes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame

Describes how the holdings were adjusted. If &#39;PositionToZero&#39; the entire transaction portfolio&#39;s holdings were set via a call to &#39;Set holdings&#39;. If &#39;KeepTheSame&#39; only the specified holdings were adjusted via a call to &#39;Adjust holdings&#39;. The available values are: PositionToZero, KeepTheSame


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