Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the ServerRegistrationRequestApiModel
 /// class.
 /// </summary>
 /// <param name="discoveryUrl">Discovery url to use for
 /// registration</param>
 /// <param name="id">Registration id</param>
 public ServerRegistrationRequestApiModel(string discoveryUrl, string id = default(string), EndpointActivationFilterApiModel activationFilter = default(EndpointActivationFilterApiModel))
 {
     DiscoveryUrl     = discoveryUrl;
     Id               = id;
     ActivationFilter = activationFilter;
     CustomInit();
 }
 /// <summary>
 /// Initializes a new instance of the DiscoveryConfigApiModel class.
 /// </summary>
 /// <param name="addressRangesToScan">Address ranges to scan (null ==
 /// all wired nics)</param>
 /// <param name="networkProbeTimeoutMs">Network probe timeout</param>
 /// <param name="maxNetworkProbes">Max network probes that should ever
 /// run.</param>
 /// <param name="portRangesToScan">Port ranges to scan (null == all
 /// unassigned)</param>
 /// <param name="portProbeTimeoutMs">Port probe timeout</param>
 /// <param name="maxPortProbes">Max port probes that should ever
 /// run.</param>
 /// <param name="minPortProbesPercent">Probes that must always be there
 /// as percent of max.</param>
 /// <param name="idleTimeBetweenScansSec">Delay time between discovery
 /// sweeps in seconds</param>
 /// <param name="discoveryUrls">List of preset discovery urls to
 /// use</param>
 /// <param name="locales">List of locales to filter with during
 /// discovery</param>
 public DiscoveryConfigApiModel(string addressRangesToScan = default(string), int?networkProbeTimeoutMs = default(int?), int?maxNetworkProbes = default(int?), string portRangesToScan = default(string), int?portProbeTimeoutMs = default(int?), int?maxPortProbes = default(int?), int?minPortProbesPercent = default(int?), int?idleTimeBetweenScansSec = default(int?), IList <string> discoveryUrls = default(IList <string>), IList <string> locales = default(IList <string>), EndpointActivationFilterApiModel activationFilter = default(EndpointActivationFilterApiModel))
 {
     AddressRangesToScan     = addressRangesToScan;
     NetworkProbeTimeoutMs   = networkProbeTimeoutMs;
     MaxNetworkProbes        = maxNetworkProbes;
     PortRangesToScan        = portRangesToScan;
     PortProbeTimeoutMs      = portProbeTimeoutMs;
     MaxPortProbes           = maxPortProbes;
     MinPortProbesPercent    = minPortProbesPercent;
     IdleTimeBetweenScansSec = idleTimeBetweenScansSec;
     DiscoveryUrls           = discoveryUrls;
     Locales          = locales;
     ActivationFilter = activationFilter;
     CustomInit();
 }