14 #region Public Properties
30 #endregion Public Properties
55 if (toCopy ==
null)
return;
61 #endregion Constructors
63 #region Public Methods
90 #endregion Public Methods
92 #region Protected Methods
96 return first?.Equals(second) ?? second ==
null;
102 return first?.Equals(second) ?? second ==
null;
104 #endregion Protected Methods
Base class used by all types and resources.
API methods / requests made available to the user.
static readonly string DateTimeFormat
The format used when transmitting DateTime information to Analyze Re servers.
Optional parameters which can be specified for all aggregated simulation result requests.
The common components of the context returned from any metrics request, indicating what parameters we...
DateTime? reporting_period_begin
The reporting period starting DateTime (if it was set), which restricts results to only include losse...
bool secondary_uncertainty
Whether or not to simulate using secondary uncertainty (if available). This is set to false only if s...
Perspective perspective
The loss perspective determining which outputs are included in the loss distribution.
DateTime? reporting_period_end
The reporting period ending DateTime (if it was set), which restricts results to only include losses ...
string filter
The name of the predefined filter used to determine which event losses are included in the resulting ...
A reporting period which dictates optional begin and end dates to constrain what event losses are inc...
DateTime? end
(Optional) The exclusive end date of the reporting period. If specified, event losses occurring on or...
DateTime? begin
(Optional) The inclusive start date of the reporting period. If specified, event losses occurring bef...
Optional parameters which can be specified for all simulation result requests. Includes a variety of ...
SimulationOptions(SimulationOptions toCopy)
Construct a new set of SimulationOptions from another.
bool Equals(SimulationOptions other)
Indicates whether the current object is equal to another object of the same type.
static AggregationOptions Default
The default simulation request options used when none are specified.
ReportingPeriod reporting_period
A reporting period which dictates optional begin and end dates to constrain what event losses are inc...
Perspective perspective
The requested Perspective, which determines which factors are included in the loss distribution.
SimulationOptions(Perspective perspective=null, string filter=null, bool? secondary_uncertainty=null, ReportingPeriod reporting_period=null)
Configure one or more optional simulation request parameters.
string filter
The name of the predefined filter used to determine which event losses are included in the resulting ...
bool? secondary_uncertainty
Whether or not to simulate using secondary uncertainty (if available). Set this to false to explicitl...
bool BothNullOrEqual< T >(T first, T second)
Helper method to determine if two classes are equal, or both null.
virtual RequestParameters GetParameters()
Convert this i into a set of REST request parameters.
The loss perspective determines what factors to include when computing a distribution.
override string ToString()
Perspective string is just the class name.
Helper class which makes it easier to build a set of request parameters.
RequestParameters AddQueryParameter(string name, string value)
Adds the specified name/value pair as a new request parameter with the type ParameterType....