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

Specification of a portfolio or portfolio group id, its scope and which it is. More...

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

Public Member Functions

 PortfolioEntityId (string scope=default(string), string code=default(string), string portfolioEntityType=default(string))
 Initializes a new instance of the PortfolioEntityId 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 (PortfolioEntityId input)
 Returns true if PortfolioEntityId instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

string Scope [get, set]
 The scope within which the portfolio or portfolio group lives. More...
 
string Code [get, set]
 Portfolio name or code. More...
 
string PortfolioEntityType [get, set]
 String identifier for portfolio e.g. "SinglePortfolio" and "GroupPortfolio". If not specified, it is assumed to be a single portfolio. More...
 

Detailed Description

Specification of a portfolio or portfolio group id, its scope and which it is.

Constructor & Destructor Documentation

◆ PortfolioEntityId() [1/2]

Lusid.Sdk.Model.PortfolioEntityId.PortfolioEntityId ( )
inlineprotected

Initializes a new instance of the PortfolioEntityId class.

◆ PortfolioEntityId() [2/2]

Lusid.Sdk.Model.PortfolioEntityId.PortfolioEntityId ( string  scope = default(string),
string  code = default(string),
string  portfolioEntityType = default(string) 
)
inline

Initializes a new instance of the PortfolioEntityId class.

Parameters
scopeThe scope within which the portfolio or portfolio group lives. (required).
codePortfolio name or code. (required).
portfolioEntityTypeString identifier for portfolio e.g. "SinglePortfolio" and "GroupPortfolio". If not specified, it is assumed to be a single portfolio..

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PortfolioEntityId instances are equal

Parameters
inputInstance of PortfolioEntityId to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ Code

string Lusid.Sdk.Model.PortfolioEntityId.Code
getset

Portfolio name or code.

Portfolio name or code.

◆ PortfolioEntityType

string Lusid.Sdk.Model.PortfolioEntityId.PortfolioEntityType
getset

String identifier for portfolio e.g. "SinglePortfolio" and "GroupPortfolio". If not specified, it is assumed to be a single portfolio.

String identifier for portfolio e.g. "SinglePortfolio" and "GroupPortfolio". If not specified, it is assumed to be a single portfolio.

◆ Scope

string Lusid.Sdk.Model.PortfolioEntityId.Scope
getset

The scope within which the portfolio or portfolio group lives.

The scope within which the portfolio or portfolio group lives.


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