C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
File.cs
Go to the documentation of this file.
1using System.Runtime.Serialization;
4
5namespace AnalyzeRe
6{
9 [APITypeAlias("File")]
11 {
12 #region APIResource Interface Members
14 public static readonly string CLASS_COLLECTION_NAME = "files";
17 public override string collection_name => CLASS_COLLECTION_NAME;
18 #endregion APIResource Interface Members
19
20 #region Public Properties
23 [DataMember(Order = 11)]
24 public string name { get; set; }
25
28 [DataMember(Order = 12)]
29 public string content { get; set; }
30
32 [DataMember(Order = 13)]
34 public long size { get; set; }
35 #endregion Public Properties
36 }
37}
Describes a collection of resources which can be listed.
Base class used by all persistent resources.
Specifies that a property is generated by the server and should not be specified on the client side d...
Represents a file that has been uploaded to the server, usually in conjunction with some other resour...
Definition File.cs:11
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition File.cs:17
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition File.cs:14
string name
The name given to this file. In the case of an auto-generated file, contains the IAPIResource....
Definition File.cs:24
string content
The path to the file on the server. Visiting this location will allow the contents of the file to be ...
Definition File.cs:29
long size
The size of the file as reported by the server.
Definition File.cs:34