C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
YELTLossSet.cs
Go to the documentation of this file.
1using System;
2using System.Collections.Generic;
3using System.Runtime.Serialization;
5
6namespace AnalyzeRe.LossSets
7{
11 {
12 #region Public Properties
14 [DataMember(Order = 20)]
15 [NotNull]
16 [NotEmpty]
17 public List<IReference<EventCatalog>> event_catalogs { get; set; }
18
20 [DataMember(Order = 21)]
21 public int trial_count { get; set; }
22
25 [DataMember(Order = 22)]
26 public DateTime start_date { get; set; }
27
29 [DataMember(Order = 21)]
30#pragma warning disable CS0618
32#pragma warning restore CS0618
33 [Obsolete("The binary YELT format and related options will be deprecated in the near future." +
34 "We encourage you to upload your YELT data as human-readable CSV. You can do this by " +
35 "simply not setting the data_type attribute at all before uploading CSV data.")]
36 public DataType? data_type { get; set; }
37
42 [DataMember(Order = 22)]
45
48 [DataMember(Order = 23)]
49 [ServerHasDefault(false)]
50 public bool one_based_sequencing { get; set; }
51
53 [DataMember(Order = 24)]
54 [ServerHasDefault(false)]
55 public bool adjust_leap_years { get; set; }
56
57 #endregion Public Properties
58
60 public YELTLossSet()
61 {
62 event_catalogs = new List<IReference<EventCatalog>>();
63 }
64 }
65}
Indicates that the property, if left null, will have a default value generated and filled in by the s...
Base for all loss sets for which pre-generated loss data must be uploaded.
Representation of a loss set with an associated year-event-loss table.
bool one_based_sequencing
By default event sequences start with 0. This parameter can be set to "true" if sequences in csv star...
DataType
The format of the data uploaded against this YELT.
List< IReference< EventCatalog > > event_catalogs
A list of event catalog for which the loss set contains event losses.
ReinstatementsDataType? reinstatements_data_type
Dictates whether any reinstatement information associated with the loss set should be interpreted as ...
int trial_count
Number of trials in these simulated losses.
DateTime start_date
The date and time represented by a sequence value of 0 in the YELT data.
DataType? data_type
The format of the data uploaded against this YELT (default CSV).
bool adjust_leap_years
Allows to skip 29 of Feb in the leap years in case if simulation has 365 days.
YELTLossSet()
Construct a new YELTLossSet with an empty event_catalogs list.
An interface for pre-simulated loss sets some data associated with them, some hard-coded seasonality ...
Base for all conventional loss sets, which generate losses, have a server-generated loss profile,...
ReinstatementsDataType
Dictates how any reinstatement information associated with a loss set should be interpreted.