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

A record of holdings adjustments made on the transaction portfolio. More...

Inheritance diagram for Lusid.Sdk.Model.HoldingsAdjustmentHeader:
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

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

Protected Member Functions

 HoldingsAdjustmentHeader ()
 Initializes a new instance of the HoldingsAdjustmentHeader 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< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

A record of holdings adjustments made on the transaction portfolio.

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

◆ HoldingsAdjustmentHeader() [1/2]

Lusid.Sdk.Model.HoldingsAdjustmentHeader.HoldingsAdjustmentHeader ( )
inlineprotected

Initializes a new instance of the HoldingsAdjustmentHeader class.

◆ HoldingsAdjustmentHeader() [2/2]

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

Initializes a new instance of the HoldingsAdjustmentHeader 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).
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if HoldingsAdjustmentHeader instances are equal

Parameters
inputInstance of HoldingsAdjustmentHeader to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ _Version

ModelVersion Lusid.Sdk.Model.HoldingsAdjustmentHeader._Version
getset

Gets or Sets _Version

◆ EffectiveAt

DateTimeOffset Lusid.Sdk.Model.HoldingsAdjustmentHeader.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.HoldingsAdjustmentHeader.Links
getset

Gets or Sets Links

◆ UnmatchedHoldingMethod

UnmatchedHoldingMethodEnum Lusid.Sdk.Model.HoldingsAdjustmentHeader.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: