C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
Analysis.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.Serialization;
5
7{
10 [Obsolete("This is a legacy metadata class. " +
11 "Please use the metadata attribute available on all resources instead.")]
13 {
14 #region APIResource Interface Members
16 public static readonly string CLASS_COLLECTION_NAME = "analyses";
19 public override string collection_name => CLASS_COLLECTION_NAME;
20 #endregion APIResource Interface Members
21
22 #region Public Properties
24 [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}
Describes a collection of resources which can be listed.
Stored resource that is polymorphic (has more than one sub-type).
Represents the metadata for a DataAgent analysis entity imported from a vendor.
Definition Analysis.cs:13
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition Analysis.cs:16
string vendor
The vendor this Analysis was imported from.
Definition Analysis.cs:45
string host
The host of this Analysis.
Definition Analysis.cs:27
IReference< Agent > agent
The DataAgent that uploaded this analysis.
Definition Analysis.cs:50
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition Analysis.cs:19
string identifier
An identifier for this Analysis.
Definition Analysis.cs:39
string source
The source of this Analysis.
Definition Analysis.cs:33