DeviceAgentConfigResponse constructor

DeviceAgentConfigResponse({
  1. @Deprecated('This field is deprecated.') Map<String, DeviceSubsystemConfig>? subsystemConfigs,
  2. Duration? checkInterval,
  3. UpdateInfo? agentUpdateInfo,
  4. UpdateInfo? viamServerUpdateInfo,
  5. Struct? advancedSettings,
  6. Struct? networkConfiguration,
  7. Struct? additionalNetworks,
  8. Struct? systemConfiguration,
})

Implementation

factory DeviceAgentConfigResponse({
@$core.Deprecated('This field is deprecated.')
  $core.Map<$core.String, DeviceSubsystemConfig>? subsystemConfigs,
  $46.Duration? checkInterval,
  UpdateInfo? agentUpdateInfo,
  UpdateInfo? viamServerUpdateInfo,
  $47.Struct? advancedSettings,
  $47.Struct? networkConfiguration,
  $47.Struct? additionalNetworks,
  $47.Struct? systemConfiguration,
}) {
  final $result = create();
  if (subsystemConfigs != null) {
    // ignore: deprecated_member_use_from_same_package
    $result.subsystemConfigs.addAll(subsystemConfigs);
  }
  if (checkInterval != null) {
    $result.checkInterval = checkInterval;
  }
  if (agentUpdateInfo != null) {
    $result.agentUpdateInfo = agentUpdateInfo;
  }
  if (viamServerUpdateInfo != null) {
    $result.viamServerUpdateInfo = viamServerUpdateInfo;
  }
  if (advancedSettings != null) {
    $result.advancedSettings = advancedSettings;
  }
  if (networkConfiguration != null) {
    $result.networkConfiguration = networkConfiguration;
  }
  if (additionalNetworks != null) {
    $result.additionalNetworks = additionalNetworks;
  }
  if (systemConfiguration != null) {
    $result.systemConfiguration = systemConfiguration;
  }
  return $result;
}