DeviceAgentConfigResponse constructor
DeviceAgentConfigResponse({ - @Deprecated('This field is deprecated.') Map<String, DeviceSubsystemConfig>? subsystemConfigs,
- Duration? checkInterval,
- UpdateInfo? agentUpdateInfo,
- UpdateInfo? viamServerUpdateInfo,
- Struct? advancedSettings,
- Struct? networkConfiguration,
- Struct? additionalNetworks,
- 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;
}