C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
LossFilter.cs
Go to the documentation of this file.
1using System.Runtime.Serialization;
4
5// ReSharper disable once CheckNamespace (Type is common enough to be on root namespace)
6namespace AnalyzeRe
7{
11 {
12 #region APIResource Interface Members
14 public static readonly string CLASS_COLLECTION_NAME = "loss_filters";
17 public override string collection_name => CLASS_COLLECTION_NAME;
18 #endregion APIResource Interface Members
19
20 #region Public Properties
22 [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}
Describes a collection of resources which can be listed.
Stored resource that is polymorphic (has more than one sub-type).
A predicate that determines whether a loss should be included in the perspective or not.
Definition LossFilter.cs:11
string name
Filter name.
Definition LossFilter.cs:25
bool invert
Indicate that the Filter expression should be inverted.
Definition LossFilter.cs:29
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