C# Client Library
A C# Client Library for the AnalyzeRe REST API
Layer_WithTerms.cs
Go to the documentation of this file.
1 using System;
2 using System.Collections.Generic;
3 using System.Runtime.Serialization;
4 
6 using AnalyzeRe.Fees;
7 using Newtonsoft.Json;
8 
9 namespace AnalyzeRe.Layers
10 {
14  {
15  #region Public Properties
16  [DataMember(Order = 13)]
19  [PropertyAlias("share")]
20  public virtual double participation { get; set; }
21 
25  [DataMember(Order = 14)]
26  // BUG ARE-2784 to be resolved so that this null value handling exception can be removed.
27  [JsonProperty(NullValueHandling = NullValueHandling.Include)]
28  [PropertyAlias(new[] { "inception", "coverage start", "coverage period start" })]
29  public DateTime? inception_date { get; set; }
30 
34  [DataMember(Order = 15)]
35  [JsonProperty(NullValueHandling = NullValueHandling.Include)]
36  [PropertyAlias(new[] { "expiry", "expiration", "expiration date", "coverage end", "coverage period end" })]
37  public DateTime? expiry_date { get; set; }
38 
41  [DataMember(Order = 16)]
42  [GreaterThan(0, true)]
43  [JsonProperty(NullValueHandling = NullValueHandling.Include)]
44  public MonetaryUnit premium { get; set; }
45 
47  [DataMember(Order = 17)]
48  [ServerHasDefaultEmptyObject(typeof(List<Fee>))]
49  public List<Fee> fees { get; set; } = new List<Fee>();
50  #endregion Public Properties
51  }
52 }
Indicates that the property, if left null, will be given a default value by the server corresponding ...
Representation of a monetary value with a currency.
Definition: MonetaryUnit.cs:13
Abstract representation of a layer. This resource type cannot be instantiated instead derived resourc...
Abstract representation of a layer with terms.
Specifies one or more aliases to be used as synonyms for the property&#39;s name.
Definition: PropertyAlias.cs:7
Abstract representation of a layer. This resource type cannot be instantiated instead derived resourc...