2using System.Collections.Generic;
4using System.Runtime.Serialization;
13 public static partial class API
67 throw new ArgumentException(
"The referenced base portfolio_view reference has no id.");
72 throw new ArgumentException(
"You must specify either layers to add or layers to remove, or both.");
Base class used by all resources.
Describes a collection of resources which can be listed.
The structure used to create a Marginal PortfolioView.
IEnumerable< IReference< ILayerView > > add_layer_view_ids
The collection of Layer Views to add to the base PortfolioView.
IReference< PortfolioView > portfolio_view
The Marginal Portfolio View.
IEnumerable< IReference< ILayerView > > remove_layer_view_ids
The collection of LayerViews to remove from the base PortfolioView.
override string collection_name
The collection endpoint at which resources of this type will be posted.
IReference< PortfolioView > portfolio_view_id
The base Portfolio View.
Represents the endpoint on the server for requesting marginal portfolios.
string Path
The relative path to this endpoint from the root URL.
static readonly string PATH
The path of the endpoint for requesting marginal portfolios.
static IReference< PortfolioView > Post(IReference< PortfolioView > basePortfolio, IEnumerable< IReference< ILayerView > > layerViewsToAdd=null, IEnumerable< IReference< ILayerView > > layerViewsToRemove=null, IEnumerable< Parameter > requestParameters=null, int? timeout=null)
Construct a "marginal" PortfolioView by adding and/or removing one or more LayerViews to/from some ba...
API methods / requests made available to the user.
Specifies that a property is generated by the server and should not be specified on the client side d...
Describes an endpoint on the server that can be interacted with. Inheriting from this interface means...