DownloadPlanRequest constructor
DownloadPlanRequest({})
Implementation
factory DownloadPlanRequest({
$core.String? modelId,
$0.ModelInfo? model,
$core.bool? resumeExisting,
$fixnum.Int64? availableStorageBytes,
$core.bool? allowMeteredNetwork,
$core.String? storageNamespace,
$core.bool? validateExistingBytes,
$core.bool? verifyChecksums,
$fixnum.Int64? requiredFreeBytesAfterDownload,
}) {
final result = create();
if (modelId != null) result.modelId = modelId;
if (model != null) result.model = model;
if (resumeExisting != null) result.resumeExisting = resumeExisting;
if (availableStorageBytes != null)
result.availableStorageBytes = availableStorageBytes;
if (allowMeteredNetwork != null)
result.allowMeteredNetwork = allowMeteredNetwork;
if (storageNamespace != null) result.storageNamespace = storageNamespace;
if (validateExistingBytes != null)
result.validateExistingBytes = validateExistingBytes;
if (verifyChecksums != null) result.verifyChecksums = verifyChecksums;
if (requiredFreeBytesAfterDownload != null)
result.requiredFreeBytesAfterDownload = requiredFreeBytesAfterDownload;
return result;
}