C# Client Library
A C# Client Library for the AnalyzeRe REST API
Distribution.cs
Go to the documentation of this file.
1 using System.Runtime.Serialization;
2 
3 using AnalyzeRe.APITypes;
6 
7 // ReSharper disable once CheckNamespace (Type is common enough to be on root namespace)
8 namespace AnalyzeRe
9 {
12  {
13  #region APIResource Interface Members
14  public static readonly string CLASS_COLLECTION_NAME = "distributions";
17  [IgnoreDataMember, InternalMember]
18  public override string collection_name => CLASS_COLLECTION_NAME;
19  #endregion APIResource Interface Members
20 
21  #region Public Properties
22  [DataMember(Order = 12)]
29  [GreaterThan(0)]
30  public double? modulo { get; set; }
31 
33  [DataMember(Order = 30)]
35  public double? min_val { get; set; }
36 
38  [DataMember(Order = 31)]
40  public double? mean_val { get; set; }
41 
43  [DataMember(Order = 32)]
45  public double? max_val { get; set; }
46  #endregion Public Properties
47  }
48 }
A distribution of values, used for parametric loss sets.
Definition: IDistribution.cs:7
double modulo
Sets a maximum value for the distribution. Any values greater than or equal to this will be wrapped b...
Definition: Distribution.cs:30
Stored resource that is polymorphic (has more than one sub-type).
double mean_val
The server calculated mean value of this distribution (if available)
Definition: Distribution.cs:40
double max_val
The server calculated maximum value of this distribution (if available)
Definition: Distribution.cs:45
Specifies that a property is generated by the server and should not be specified on the client side d...
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition: Distribution.cs:18
double min_val
The server calculated minimum value of this distribution (if available)
Definition: Distribution.cs:35
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition: Distribution.cs:15
Abstract representation of a distribution, used for parametric loss sets.
Definition: Distribution.cs:11