/// <summary>
 /// Initializes a new instance of the DiscoveryRequestApiModel class.
 /// </summary>
 /// <param name="id">Id of discovery request</param>
 /// <param name="discovery">Possible values include: 'Off', 'Local',
 /// 'Network', 'Fast', 'Scan'</param>
 public DiscoveryRequestApiModel(string id = default(string), DiscoveryMode?discovery = default(DiscoveryMode?), DiscoveryConfigApiModel configuration = default(DiscoveryConfigApiModel))
 {
     Id            = id;
     Discovery     = discovery;
     Configuration = configuration;
     CustomInit();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the DiscovererUpdateApiModel class.
 /// </summary>
 /// <param name="siteId">Site the discoverer is part of</param>
 /// <param name="discovery">Possible values include: 'Off', 'Local',
 /// 'Network', 'Fast', 'Scan'</param>
 /// <param name="logLevel">Possible values include: 'Error',
 /// 'Information', 'Debug', 'Verbose'</param>
 public DiscovererUpdateApiModel(string siteId = default(string), DiscoveryMode?discovery = default(DiscoveryMode?), DiscoveryConfigApiModel discoveryConfig = default(DiscoveryConfigApiModel), TraceLogLevel?logLevel = default(TraceLogLevel?))
 {
     SiteId          = siteId;
     Discovery       = discovery;
     DiscoveryConfig = discoveryConfig;
     LogLevel        = logLevel;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the SupervisorUpdateApiModel class.
 /// </summary>
 /// <param name="siteId">Site of the supervisor</param>
 /// <param name="discovery">Whether the supervisor is in discovery
 /// mode.
 /// If null, does not change. Possible values include: 'Off', 'Local',
 /// 'Network', 'Fast', 'Scan'</param>
 /// <param name="discoveryConfig">Supervisor discovery
 /// configuration</param>
 /// <param name="discoveryCallbacks">Callbacks to add or remove (see
 /// below)</param>
 /// <param name="removeDiscoveryCallbacks">Whether to add or remove
 /// callbacks</param>
 /// <param name="logLevel">Current log level. Possible values include:
 /// 'Error', 'Information', 'Debug', 'Verbose'</param>
 public SupervisorUpdateApiModel(string siteId = default(string), DiscoveryMode?discovery = default(DiscoveryMode?), DiscoveryConfigApiModel discoveryConfig = default(DiscoveryConfigApiModel), IList <CallbackApiModel> discoveryCallbacks = default(IList <CallbackApiModel>), bool?removeDiscoveryCallbacks = default(bool?), SupervisorLogLevel?logLevel = default(SupervisorLogLevel?))
 {
     SiteId                   = siteId;
     Discovery                = discovery;
     DiscoveryConfig          = discoveryConfig;
     DiscoveryCallbacks       = discoveryCallbacks;
     RemoveDiscoveryCallbacks = removeDiscoveryCallbacks;
     LogLevel                 = logLevel;
     CustomInit();
 }
Exemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the DiscovererApiModel class.
 /// </summary>
 /// <param name="id">Discoverer id</param>
 /// <param name="siteId">Site of the discoverer</param>
 /// <param name="discovery">Possible values include: 'Off', 'Local',
 /// 'Network', 'Fast', 'Scan'</param>
 /// <param name="logLevel">Possible values include: 'Error',
 /// 'Information', 'Debug', 'Verbose'</param>
 /// <param name="outOfSync">Whether the registration is out of sync
 /// between
 /// client (module) and server (service) (default: false).</param>
 /// <param name="connected">Whether discoverer is connected on this
 /// registration</param>
 public DiscovererApiModel(string id, string siteId = default(string), DiscoveryMode?discovery = default(DiscoveryMode?), DiscoveryConfigApiModel discoveryConfig = default(DiscoveryConfigApiModel), TraceLogLevel?logLevel = default(TraceLogLevel?), bool?outOfSync = default(bool?), bool?connected = default(bool?))
 {
     Id              = id;
     SiteId          = siteId;
     Discovery       = discovery;
     DiscoveryConfig = discoveryConfig;
     LogLevel        = logLevel;
     OutOfSync       = outOfSync;
     Connected       = connected;
     CustomInit();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the SupervisorApiModel class.
 /// </summary>
 /// <param name="id">Supervisor id</param>
 /// <param name="siteId">Site of the supervisor</param>
 /// <param name="discovery">Whether the supervisor is in discovery
 /// mode. Possible values include: 'Off', 'Local', 'Network', 'Fast',
 /// 'Scan'</param>
 /// <param name="discoveryConfig">Supervisor configuration</param>
 /// <param name="certificate">Supervisor public client cert</param>
 /// <param name="logLevel">Current log level. Possible values include:
 /// 'Error', 'Information', 'Debug', 'Verbose'</param>
 /// <param name="outOfSync">Whether the registration is out of sync
 /// between
 /// client (module) and server (service) (default: false).</param>
 /// <param name="connected">Whether supervisor is connected on this
 /// registration</param>
 public SupervisorApiModel(string id, string siteId = default(string), DiscoveryMode?discovery = default(DiscoveryMode?), DiscoveryConfigApiModel discoveryConfig = default(DiscoveryConfigApiModel), byte[] certificate = default(byte[]), SupervisorLogLevel?logLevel = default(SupervisorLogLevel?), bool?outOfSync = default(bool?), bool?connected = default(bool?))
 {
     Id              = id;
     SiteId          = siteId;
     Discovery       = discovery;
     DiscoveryConfig = discoveryConfig;
     Certificate     = certificate;
     LogLevel        = logLevel;
     OutOfSync       = outOfSync;
     Connected       = connected;
     CustomInit();
 }