GetSmartMachineStatusResponse constructor
Implementation
factory GetSmartMachineStatusResponse({
ProvisioningInfo? provisioningInfo,
$core.bool? hasSmartMachineCredentials,
$core.bool? isOnline,
NetworkInfo? latestConnectionAttempt,
$core.Iterable<$core.String>? errors,
}) {
final $result = create();
if (provisioningInfo != null) {
$result.provisioningInfo = provisioningInfo;
}
if (hasSmartMachineCredentials != null) {
$result.hasSmartMachineCredentials = hasSmartMachineCredentials;
}
if (isOnline != null) {
$result.isOnline = isOnline;
}
if (latestConnectionAttempt != null) {
$result.latestConnectionAttempt = latestConnectionAttempt;
}
if (errors != null) {
$result.errors.addAll(errors);
}
return $result;
}