Volume constructor
Volume({})
Implementation
factory Volume({
NFS? nfs,
GCS? gcs,
$core.String? mountPath,
$core.Iterable<$core.String>? mountOptions,
$core.String? deviceName,
}) {
final $result = create();
if (nfs != null) {
$result.nfs = nfs;
}
if (gcs != null) {
$result.gcs = gcs;
}
if (mountPath != null) {
$result.mountPath = mountPath;
}
if (mountOptions != null) {
$result.mountOptions.addAll(mountOptions);
}
if (deviceName != null) {
$result.deviceName = deviceName;
}
return $result;
}