C# Client Library
A C# Client Library for the AnalyzeRe REST API
Loading...
Searching...
No Matches
Agent.cs
Go to the documentation of this file.
1using System;
2using System.Runtime.Serialization;
5
6namespace AnalyzeRe
7{
9 [Obsolete("This is a legacy metadata class. " +
10 "Please use the metadata attribute available on all resources instead.")]
11 public class Agent : StoredAPIResource
12 {
13 #region APIResource Interface Members
15 public static readonly string CLASS_COLLECTION_NAME = "agents";
18 public override string collection_name => CLASS_COLLECTION_NAME;
19 #endregion APIResource Interface Members
20
21 #region Public Properties
23 [DataMember(Order = 11)]
24 [NotNull]
25 [NotEmpty]
26 public string hostname { get; set; }
27 #endregion Public Properties
28 }
29}
Describes a collection of resources which can be listed.
Base class used by all persistent resources.
Represents a DataAgent instance.
Definition Agent.cs:12
string hostname
The host name of the agent.
Definition Agent.cs:26
static readonly string CLASS_COLLECTION_NAME
The collection endpoint at which resources of this type reside on the server.
Definition Agent.cs:15
override string collection_name
The collection endpoint at which resources of this type reside on the server.
Definition Agent.cs:18