Config_NetworkConfig constructor

Config_NetworkConfig({
  1. bool? wifiEnabled,
  2. String? wifiSsid,
  3. String? wifiPsk,
  4. String? ntpServer,
  5. bool? ethEnabled,
  6. Config_NetworkConfig_AddressMode? addressMode,
  7. Config_NetworkConfig_IpV4Config? ipv4Config,
  8. String? rsyslogServer,
  9. int? enabledProtocols,
  10. bool? ipv6Enabled,
})

Implementation

factory Config_NetworkConfig({
  $core.bool? wifiEnabled,
  $core.String? wifiSsid,
  $core.String? wifiPsk,
  $core.String? ntpServer,
  $core.bool? ethEnabled,
  Config_NetworkConfig_AddressMode? addressMode,
  Config_NetworkConfig_IpV4Config? ipv4Config,
  $core.String? rsyslogServer,
  $core.int? enabledProtocols,
  $core.bool? ipv6Enabled,
}) {
  final result = create();
  if (wifiEnabled != null) result.wifiEnabled = wifiEnabled;
  if (wifiSsid != null) result.wifiSsid = wifiSsid;
  if (wifiPsk != null) result.wifiPsk = wifiPsk;
  if (ntpServer != null) result.ntpServer = ntpServer;
  if (ethEnabled != null) result.ethEnabled = ethEnabled;
  if (addressMode != null) result.addressMode = addressMode;
  if (ipv4Config != null) result.ipv4Config = ipv4Config;
  if (rsyslogServer != null) result.rsyslogServer = rsyslogServer;
  if (enabledProtocols != null) result.enabledProtocols = enabledProtocols;
  if (ipv6Enabled != null) result.ipv6Enabled = ipv6Enabled;
  return result;
}