C# Client Library
A C# Client Library for the AnalyzeRe REST API
LossFilter.cs
Go to the documentation of this file.
1 using System.Runtime.Serialization;
2 using AnalyzeRe.APITypes;
4 
5 // ReSharper disable once CheckNamespace (Type is common enough to be on root namespace)
6 namespace AnalyzeRe
7 {
10  public abstract class LossFilter : StoredAPIResource_Polymorphic
11  {
12  #region APIResource Interface Members
13  public static readonly string CLASS_COLLECTION_NAME = "loss_filters";
16  [IgnoreDataMember]
17  public override string collection_name => CLASS_COLLECTION_NAME;
18  #endregion APIResource Interface Members
19 
20  #region Public Properties
21  [DataMember(Order = 11)]
23  [NotNull]
24  [NotEmpty]
25  public string name { get; set; }
26 
28  [DataMember(Order = 13)]
29  public bool invert { get; set; }
30  #endregion Public Properties
31  }
32 }
Stored resource that is polymorphic (has more than one sub-type).
bool invert
Indicate that the Filter expression should be inverted.
Definition: LossFilter.cs:29
A predicate that determines whether a loss should be included in the perspective or not...
Definition: LossFilter.cs:10
string name
Filter name
Definition: LossFilter.cs:25
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition: LossFilter.cs:17
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition: LossFilter.cs:14