2using System.Collections.Generic;
3using System.Runtime.Serialization;
12 #region IAPIResource Interface Members
20 get =>
index?.ToString();
38 $"{OptimizationView.CLASS_COLLECTION_NAME}/{optimization_view?.ref_id}/{Candidates.CLASS_COLLECTION_NAME}";
44 public string Path =>
API.GetResourcePath(
this);
45 #endregion IAPIResource Interface Members
47 #region Public Properties
68 #endregion Public Properties
73 base.AfterMembersCloned(
_);
74 _portfolioViewEndpoint =
null;
Base class used by all types and resources.
Describes a collection of resources which can be listed.
API methods / requests made available to the user.
A candidate is a potential solution to the optimization problem.
IReference< OptimizationView > optimization_view
The optimization view that owns this candidate.
override void AfterMembersCloned(APIType _)
Invoked following construction if the current instance has been created using a member-wise clone of ...
string Path
The relative path to this candidate from the root URL.
int? index
The index identifying this candidate within an OptimizationView's candidates.
IEnumerable< CandidateParameter > parameterization
The parameters of the layer_views that define this candidate.
string collection_name
The collection endpoint at which this object resides on the server.
SubResource< PortfolioView > portfolio_view
An endpoint to request the portfolio_view that describes this candidate solution.
Object to map metrics on the initial portfolio.
Interface for Base class used by all resources.