C# Client Library
A C# Client Library for the AnalyzeRe REST API
Analysis.cs
Go to the documentation of this file.
1 using System;
2 using System.Runtime.Serialization;
3 using AnalyzeRe.APITypes;
5 
6 namespace AnalyzeRe.Analyses
7 {
10  [Obsolete("This is a legacy metadata class. " +
11  "Please use the metadata attribute available on all resources instead.")]
12  public abstract class Analysis : StoredAPIResource_Polymorphic
13  {
14  #region APIResource Interface Members
15  public static readonly string CLASS_COLLECTION_NAME = "analyses";
18  [IgnoreDataMember, InternalMember]
19  public override string collection_name => CLASS_COLLECTION_NAME;
20  #endregion APIResource Interface Members
21 
22  #region Public Properties
23  [DataMember(Order = 12)]
25  [NotNull]
26  [NotEmpty]
27  public string host { get; set; }
28 
30  [DataMember(Order = 13)]
31  [NotNull]
32  [NotEmpty]
33  public string source { get; set; }
34 
36  [DataMember(Order = 14)]
37  [NotNull]
38  [NotEmpty]
39  public string identifier { get; set; }
40 
42  [DataMember(Order = 15)]
43  [NotNull]
44  [NotEmpty]
45  public string vendor { get; set; }
46 
48  [DataMember(Order = 16)]
49  [NotNull]
50  public IReference<Agent> agent { get; set; }
51  #endregion Public Properties
52  }
53 }
Stored resource that is polymorphic (has more than one sub-type).
Base interface for all reference entities.
Definition: IReference.cs:7
Represents the metadata for a DataAgent analysis entity imported from a vendor.
Definition: Analysis.cs:12