C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
Portfolio.cs
Go to the documentation of this file.
1using System.Collections.Generic;
2using System.Runtime.Serialization;
3
6
7// ReSharper disable once CheckNamespace (Type is common enough to be on root namespace)
8namespace AnalyzeRe
9{
12 {
13 #region APIResource Interface Members
15 public static readonly string CLASS_COLLECTION_NAME = "portfolios";
18 public override string collection_name => CLASS_COLLECTION_NAME;
19 #endregion APIResource Interface Members
20
21 #region Public Properties
23 [DataMember(Order = 11)]
24 [NotNull]
25 [NotEmpty]
26 public string name { get; set; }
27
29 public HashSet<IReference<ILayer>> layers { get; set; }
30 #endregion Public Properties
31 }
32}
Describes a collection of resources which can be listed.
Stored resource that is polymorphic (has more than one sub-type).
Representation of a portfolio.
Definition Portfolio.cs:12
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition Portfolio.cs:18
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition Portfolio.cs:15
HashSet< IReference< ILayer > > layers
The layers in this portfolio.
Definition Portfolio.cs:29
string name
A user friendly name for this portfolio.
Definition Portfolio.cs:26