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

The request body for the RunAllocationServiceWithWeights endpoint. More...

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

Public Member Functions

 WeightedAllocationServiceRunRequest (List< ResourceId > placementIds=default(List< ResourceId >), List< PortfolioWeight > portfolioWeights=default(List< PortfolioWeight >))
 Initializes a new instance of the WeightedAllocationServiceRunRequest 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 (WeightedAllocationServiceRunRequest input)
 Returns true if WeightedAllocationServiceRunRequest instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

List< ResourceIdPlacementIds [get, set]
 The set of Placement IDs to allocate. More...
 
List< PortfolioWeightPortfolioWeights [get, set]
 The set of Portfolios and their associated weights to use for allocation. More...
 

Detailed Description

The request body for the RunAllocationServiceWithWeights endpoint.

Constructor & Destructor Documentation

◆ WeightedAllocationServiceRunRequest() [1/2]

Lusid.Sdk.Model.WeightedAllocationServiceRunRequest.WeightedAllocationServiceRunRequest ( )
inlineprotected

Initializes a new instance of the WeightedAllocationServiceRunRequest class.

◆ WeightedAllocationServiceRunRequest() [2/2]

Lusid.Sdk.Model.WeightedAllocationServiceRunRequest.WeightedAllocationServiceRunRequest ( List< ResourceId placementIds = default(List<ResourceId>),
List< PortfolioWeight portfolioWeights = default(List<PortfolioWeight>) 
)
inline

Initializes a new instance of the WeightedAllocationServiceRunRequest class.

Parameters
placementIdsThe set of Placement IDs to allocate. (required).
portfolioWeightsThe set of Portfolios and their associated weights to use for allocation..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if WeightedAllocationServiceRunRequest instances are equal

Parameters
inputInstance of WeightedAllocationServiceRunRequest to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ PlacementIds

List<ResourceId> Lusid.Sdk.Model.WeightedAllocationServiceRunRequest.PlacementIds
getset

The set of Placement IDs to allocate.

The set of Placement IDs to allocate.

◆ PortfolioWeights

List<PortfolioWeight> Lusid.Sdk.Model.WeightedAllocationServiceRunRequest.PortfolioWeights
getset

The set of Portfolios and their associated weights to use for allocation.

The set of Portfolios and their associated weights to use for allocation.


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