A list of portfolios.
More...
|
| | Portfolio (string href=default(string), ResourceId id=default(ResourceId), TypeEnum type=default(TypeEnum), string displayName=default(string), string description=default(string), DateTimeOffset created=default(DateTimeOffset), ResourceId parentPortfolioId=default(ResourceId), Version version=default(Version), bool isDerived=default(bool), string baseCurrency=default(string), Dictionary< string, Property > properties=default(Dictionary< string, Property >), List< Link > links=default(List< Link >)) |
| | Initializes a new instance of the Portfolio 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 (Portfolio input) |
| | Returns true if Portfolio instances are equal More...
|
| |
| override int | GetHashCode () |
| | Gets the hash code More...
|
| |
|
| TypeEnum | Type [get, set] |
| | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction More...
|
| |
| string | Href [get, set] |
| | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime. More...
|
| |
| ResourceId | Id [get, set] |
| | Gets or Sets Id More...
|
| |
| string | DisplayName [get, set] |
| | The name of the portfolio. More...
|
| |
| string | Description [get, set] |
| | The long form description of the 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...
|
| |
| Version | Version [get, set] |
| | Gets or Sets Version More...
|
| |
| bool | IsDerived [get, set] |
| | Whether or not this is a derived portfolio. More...
|
| |
| string | BaseCurrency [get, set] |
| | The base currency of the portfolio. This will be an empty string for reference portfolios. More...
|
| |
| Dictionary< string, Property > | Properties [get, set] |
| | The requested portfolio properties. These will be from the 'Portfolio' domain. More...
|
| |
| List< Link > | Links [get, set] |
| | Collection of links. More...
|
| |
◆ 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
|
◆ Portfolio() [1/2]
| Lusid.Sdk.Model.Portfolio.Portfolio |
( |
| ) |
|
|
inlineprotected |
Initializes a new instance of the Portfolio class.
◆ Portfolio() [2/2]
| Lusid.Sdk.Model.Portfolio.Portfolio |
( |
string |
href = default(string), |
|
|
ResourceId |
id = default(ResourceId), |
|
|
TypeEnum |
type = default(TypeEnum), |
|
|
string |
displayName = default(string), |
|
|
string |
description = default(string), |
|
|
DateTimeOffset |
created = default(DateTimeOffset), |
|
|
ResourceId |
parentPortfolioId = default(ResourceId), |
|
|
Version |
version = default(Version), |
|
|
bool |
isDerived = default(bool), |
|
|
string |
baseCurrency = default(string), |
|
|
Dictionary< string, Property > |
properties = default(Dictionary<string, Property>), |
|
|
List< Link > |
links = default(List<Link>) |
|
) |
| |
|
inline |
Initializes a new instance of the Portfolio class.
- Parameters
-
| href | The specific Uniform Resource Identifier (URI) for this resource at the requested effective and asAt datetime.. |
| id | id (required). |
| type | The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction (required). |
| displayName | The name of the portfolio. (required). |
| description | The long form description of the portfolio.. |
| created | The effective datetime at which the portfolio was created. No transactions or constituents can be added to the portfolio before this date. (required). |
| parentPortfolioId | parentPortfolioId. |
| version | version. |
| isDerived | Whether or not this is a derived portfolio.. |
| baseCurrency | The base currency of the portfolio. This will be an empty string for reference portfolios.. |
| properties | The requested portfolio properties. These will be from the 'Portfolio' domain.. |
| links | Collection of links.. |
◆ Equals() [1/2]
| override bool Lusid.Sdk.Model.Portfolio.Equals |
( |
object |
input | ) |
|
|
inline |
Returns true if objects are equal
- Parameters
-
| input | Object to be compared |
- Returns
- Boolean
◆ Equals() [2/2]
| bool Lusid.Sdk.Model.Portfolio.Equals |
( |
Portfolio |
input | ) |
|
|
inline |
Returns true if Portfolio instances are equal
- Parameters
-
- Returns
- Boolean
◆ GetHashCode()
| override int Lusid.Sdk.Model.Portfolio.GetHashCode |
( |
| ) |
|
|
inline |
Gets the hash code
- Returns
- Hash code
◆ ToJson()
| virtual string Lusid.Sdk.Model.Portfolio.ToJson |
( |
| ) |
|
|
inlinevirtual |
Returns the JSON string presentation of the object
- Returns
- JSON string presentation of the object
◆ ToString()
| override string Lusid.Sdk.Model.Portfolio.ToString |
( |
| ) |
|
|
inline |
Returns the string presentation of the object
- Returns
- String presentation of the object
◆ BaseCurrency
| string Lusid.Sdk.Model.Portfolio.BaseCurrency |
|
getset |
The base currency of the portfolio. This will be an empty string for reference portfolios.
The base currency of the portfolio. This will be an empty string for reference portfolios.
◆ Created
| DateTimeOffset Lusid.Sdk.Model.Portfolio.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.Portfolio.Description |
|
getset |
The long form description of the portfolio.
The long form description of the portfolio.
◆ DisplayName
| string Lusid.Sdk.Model.Portfolio.DisplayName |
|
getset |
The name of the portfolio.
The name of the portfolio.
◆ Href
| string Lusid.Sdk.Model.Portfolio.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
◆ IsDerived
| bool Lusid.Sdk.Model.Portfolio.IsDerived |
|
getset |
Whether or not this is a derived portfolio.
Whether or not this is a derived portfolio.
◆ Links
| List<Link> Lusid.Sdk.Model.Portfolio.Links |
|
getset |
Collection of links.
Collection of links.
◆ ParentPortfolioId
| ResourceId Lusid.Sdk.Model.Portfolio.ParentPortfolioId |
|
getset |
Gets or Sets ParentPortfolioId
◆ Properties
| Dictionary<string, Property> Lusid.Sdk.Model.Portfolio.Properties |
|
getset |
The requested portfolio properties. These will be from the 'Portfolio' domain.
The requested portfolio properties. These will be from the 'Portfolio' domain.
◆ Type
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
The type of the portfolio. The available values are: Transaction, Reference, DerivedTransaction
◆ Version
| Version Lusid.Sdk.Model.Portfolio.Version |
|
getset |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/lusid-sdk-csharp/checkouts/stable/sdk/Lusid.Sdk/Model/Portfolio.cs