C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
ParametricLossSet.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Runtime.Serialization;
4
7
8namespace AnalyzeRe.LossSets
9{
12 {
13 #region Public Properties
16 [DataMember(Order = 20)]
17 [NotNull]
19
22 [DataMember(Order = 21)]
23 [NotNull]
25
28 [DataMember(Order = 22)]
29 [NotNull]
31
34 [DataMember(Order = 23)]
35 public DateTime start_date { get; set; }
36
38 [DataMember(Order = 24)]
39 [ServerHasDefaultEmptyObject(typeof(Dictionary<string, string>))]
40 public Dictionary<string, string> attributes { get; set; }
41
43 [DataMember(Order = 25)]
44 [ServerHasDefault(0UL)]
45 // TODO: Note that while the official type of this property is a unsigned long,
46 // ARE-4300 currently restricts this value to be no greater than Int32.MaxValue
47 [LessThan(Int32.MaxValue, true)]
48 public UInt64? event_id { get; set; }
49 #endregion Public Properties
50
53 {
54 attributes = new Dictionary<string, string>();
55 }
56 }
57}
Indicates that the property, if left null, will be given a default value by the server corresponding ...
Indicates that the property, if left null, will have a default value generated and filled in by the s...
Base for all conventional loss sets, which generate losses, have a server-generated loss profile,...
Representation of a Parametric loss set.
IReference< IContinuousDistribution > severity
The severity distribution associated with this loss set. Can be any ContinuousDistribution,...
UInt64? event_id
Optional event id that will be associated with all occurrences generated.
ParametricLossSet()
Construct a new ParametricLossSet with an empty attributes list.
Dictionary< string, string > attributes
Loss attributes generated by this LossSet.
IReference< IDiscreteDistribution > frequency
The frequency distribution associated with this loss set. Can be any DiscreteDistribution,...
IReference< IContinuousDistribution > seasonality
The seasonality distribution associated with this loss set. Can be any ContinuousDistribution,...
DateTime start_date
The date and time represented when the seasonality distribution generates a value of 0.
Base interface for all reference entities.
Shared interface with loss sets that have seasonality considerations.