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

A list of portfolios. More...

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

Public Types

enum class  TypeEnum { Transaction = 1 , Reference = 2 , DerivedTransaction = 3 }
 The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction More...
 

Public Member Functions

 PortfolioSearchResult (ResourceId id=default(ResourceId), TypeEnum type=default(TypeEnum), string href=default(string), string description=default(string), string displayName=default(string), DateTimeOffset created=default(DateTimeOffset), ResourceId parentPortfolioId=default(ResourceId), string baseCurrency=default(string), List< Property > properties=default(List< Property >), List< Link > links=default(List< Link >))
 Initializes a new instance of the PortfolioSearchResult class. More...
 
bool ShouldSerializeIsDerived ()
 Returns false as IsDerived should not be serialized given that it's read-only. 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 (PortfolioSearchResult input)
 Returns true if PortfolioSearchResult instances are equal More...
 
override int GetHashCode ()
 Gets the hash code More...
 

Protected Member Functions

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

Properties

TypeEnum Type [get, set]
 The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction More...
 
ResourceId Id [get, set]
 Gets or Sets Id More...
 
string Href [get, set]
 The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. More...
 
string Description [get, set]
 The long form description of the portfolio. More...
 
string DisplayName [get, set]
 The name of the portfolio. More...
 
bool IsDerived [get]
 Whether or not this is a derived portfolio. More...
 
DateTimeOffset Created [get, set]
 The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. More...
 
ResourceId ParentPortfolioId [get, set]
 Gets or Sets ParentPortfolioId More...
 
string BaseCurrency [get, set]
 The base currency of the portfolio. More...
 
List< PropertyProperties [get, set]
 The requested portfolio properties. These will be from the &#39;Portfolio&#39; domain. More...
 
List< LinkLinks [get, set]
 Gets or Sets Links More...
 

Detailed Description

A list of portfolios.

Member Enumeration Documentation

◆ TypeEnum

The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction

The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction

Enumerator
Transaction 

Enum Transaction for value: Transaction

Reference 

Enum Reference for value: Reference

DerivedTransaction 

Enum DerivedTransaction for value: DerivedTransaction

Constructor & Destructor Documentation

◆ PortfolioSearchResult() [1/2]

Lusid.Sdk.Model.PortfolioSearchResult.PortfolioSearchResult ( )
inlineprotected

Initializes a new instance of the PortfolioSearchResult class.

◆ PortfolioSearchResult() [2/2]

Lusid.Sdk.Model.PortfolioSearchResult.PortfolioSearchResult ( ResourceId  id = default(ResourceId),
TypeEnum  type = default(TypeEnum),
string  href = default(string),
string  description = default(string),
string  displayName = default(string),
DateTimeOffset  created = default(DateTimeOffset),
ResourceId  parentPortfolioId = default(ResourceId),
string  baseCurrency = default(string),
List< Property properties = default(List<Property>),
List< Link links = default(List<Link>) 
)
inline

Initializes a new instance of the PortfolioSearchResult class.

Parameters
idid (required).
typeThe type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction (required).
hrefThe specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime..
descriptionThe long form description of the portfolio..
displayNameThe name of the portfolio. (required).
createdThe effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. (required).
parentPortfolioIdparentPortfolioId.
baseCurrencyThe base currency of the portfolio..
propertiesThe requested portfolio properties. These will be from the &#39;Portfolio&#39; domain..
linkslinks.

Member Function Documentation

◆ Equals() [1/2]

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

Returns true if objects are equal

Parameters
inputObject to be compared
Returns
Boolean

◆ Equals() [2/2]

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

Returns true if PortfolioSearchResult instances are equal

Parameters
inputInstance of PortfolioSearchResult to be compared
Returns
Boolean

◆ GetHashCode()

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

Gets the hash code

Returns
Hash code

◆ ShouldSerializeIsDerived()

bool Lusid.Sdk.Model.PortfolioSearchResult.ShouldSerializeIsDerived ( )
inline

Returns false as IsDerived should not be serialized given that it's read-only.

Returns
false (boolean)

◆ ToJson()

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

Returns the JSON string presentation of the object

Returns
JSON string presentation of the object

◆ ToString()

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

Returns the string presentation of the object

Returns
String presentation of the object

Property Documentation

◆ BaseCurrency

string Lusid.Sdk.Model.PortfolioSearchResult.BaseCurrency
getset

The base currency of the portfolio.

The base currency of the portfolio.

◆ Created

DateTimeOffset Lusid.Sdk.Model.PortfolioSearchResult.Created
getset

The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.

The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date.

◆ Description

string Lusid.Sdk.Model.PortfolioSearchResult.Description
getset

The long form description of the portfolio.

The long form description of the portfolio.

◆ DisplayName

string Lusid.Sdk.Model.PortfolioSearchResult.DisplayName
getset

The name of the portfolio.

The name of the portfolio.

◆ Href

string Lusid.Sdk.Model.PortfolioSearchResult.Href
getset

The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.

The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.

◆ Id

ResourceId Lusid.Sdk.Model.PortfolioSearchResult.Id
getset

Gets or Sets Id

◆ IsDerived

bool Lusid.Sdk.Model.PortfolioSearchResult.IsDerived
get

Whether or not this is a derived portfolio.

Whether or not this is a derived portfolio.

◆ Links

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

Gets or Sets Links

◆ ParentPortfolioId

ResourceId Lusid.Sdk.Model.PortfolioSearchResult.ParentPortfolioId
getset

Gets or Sets ParentPortfolioId

◆ Properties

List<Property> Lusid.Sdk.Model.PortfolioSearchResult.Properties
getset

The requested portfolio properties. These will be from the &#39;Portfolio&#39; domain.

The requested portfolio properties. These will be from the &#39;Portfolio&#39; domain.

◆ Type

TypeEnum Lusid.Sdk.Model.PortfolioSearchResult.Type
getset

The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction

The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction


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