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

UpsertReferencePortfolioConstituentsRequest More...

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

Public Types

enum class  WeightTypeEnum { Static = 1 , Floating = 2 , Periodical = 3 }
 The available values are: Static, Floating, Periodical More...
 
enum class  PeriodTypeEnum {
  Daily = 1 , Weekly = 2 , Monthly = 3 , Quarterly = 4 ,
  Annually = 5
}
 The available values are: Daily, Weekly, Monthly, Quarterly, Annually More...
 

Public Member Functions

 UpsertReferencePortfolioConstituentsRequest (DateTimeOrCutLabel effectiveFrom=default(DateTimeOrCutLabel), WeightTypeEnum weightType=default(WeightTypeEnum), PeriodTypeEnum? periodType=default(PeriodTypeEnum?), int? periodCount=default(int?), List< ReferencePortfolioConstituentRequest > constituents=default(List< ReferencePortfolioConstituentRequest >))
 Initializes a new instance of the UpsertReferencePortfolioConstituentsRequest 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 (UpsertReferencePortfolioConstituentsRequest input)
 Returns true if UpsertReferencePortfolioConstituentsRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

WeightTypeEnum WeightType [get, set]
 The available values are: Static, Floating, Periodical More...
 
PeriodTypeEnumPeriodType [get, set]
 The available values are: Daily, Weekly, Monthly, Quarterly, Annually More...
 
DateTimeOrCutLabel EffectiveFrom [get, set]
 The first date from which the weights will apply More...
 
int? PeriodCount [get, set]
 Gets or Sets PeriodCount More...
 
List< ReferencePortfolioConstituentRequestConstituents [get, set]
 Set of constituents (instrument/weight pairings) More...
 

Detailed Description

UpsertReferencePortfolioConstituentsRequest

Member Enumeration Documentation

◆ PeriodTypeEnum

The available values are: Daily, Weekly, Monthly, Quarterly, Annually

The available values are: Daily, Weekly, Monthly, Quarterly, Annually

Enumerator
Daily 

Enum Daily for value: Daily

Weekly 

Enum Weekly for value: Weekly

Monthly 

Enum Monthly for value: Monthly

Quarterly 

Enum Quarterly for value: Quarterly

Annually 

Enum Annually for value: Annually

◆ WeightTypeEnum

The available values are: Static, Floating, Periodical

The available values are: Static, Floating, Periodical

Enumerator
Static 

Enum Static for value: Static

Floating 

Enum Floating for value: Floating

Periodical 

Enum Periodical for value: Periodical

Constructor & Destructor Documentation

◆ UpsertReferencePortfolioConstituentsRequest() [1/2]

Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.UpsertReferencePortfolioConstituentsRequest ( )
inlineprotected

Initializes a new instance of the UpsertReferencePortfolioConstituentsRequest class.

◆ UpsertReferencePortfolioConstituentsRequest() [2/2]

Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.UpsertReferencePortfolioConstituentsRequest ( DateTimeOrCutLabel  effectiveFrom = default(DateTimeOrCutLabel),
WeightTypeEnum  weightType = default(WeightTypeEnum),
PeriodTypeEnum periodType = default(PeriodTypeEnum?),
int?  periodCount = default(int?),
List< ReferencePortfolioConstituentRequest constituents = default(List<ReferencePortfolioConstituentRequest>) 
)
inline

Initializes a new instance of the UpsertReferencePortfolioConstituentsRequest class.

Parameters
effectiveFromThe first date from which the weights will apply (required).
weightTypeThe available values are: Static, Floating, Periodical (required).
periodTypeThe available values are: Daily, Weekly, Monthly, Quarterly, Annually.
periodCountperiodCount.
constituentsSet of constituents (instrument/weight pairings) (required).

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if UpsertReferencePortfolioConstituentsRequest instances are equal

Parameters
inputInstance of UpsertReferencePortfolioConstituentsRequest to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Constituents

List<ReferencePortfolioConstituentRequest> Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.Constituents
getset

Set of constituents (instrument/weight pairings)

Set of constituents (instrument/weight pairings)

◆ EffectiveFrom

DateTimeOrCutLabel Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.EffectiveFrom
getset

The first date from which the weights will apply

The first date from which the weights will apply

◆ PeriodCount

int? Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.PeriodCount
getset

Gets or Sets PeriodCount

◆ PeriodType

PeriodTypeEnum? Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.PeriodType
getset

The available values are: Daily, Weekly, Monthly, Quarterly, Annually

The available values are: Daily, Weekly, Monthly, Quarterly, Annually

◆ WeightType

WeightTypeEnum Lusid.Sdk.Model.UpsertReferencePortfolioConstituentsRequest.WeightType
getset

The available values are: Static, Floating, Periodical

The available values are: Static, Floating, Periodical


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