GCEPersistentDiskVolumeSource.fromJson constructor
Creates a GCEPersistentDiskVolumeSource from JSON data.
Implementation
factory GCEPersistentDiskVolumeSource.fromJson(Map<String, dynamic> json) {
final tempFsTypeJson = json['fsType'];
final tempPartitionJson = json['partition'];
final tempPdNameJson = json['pdName'];
final tempReadOnlyJson = json['readOnly'];
final String? tempFsType = tempFsTypeJson;
final int? tempPartition = tempPartitionJson;
final String tempPdName = tempPdNameJson;
final bool? tempReadOnly = tempReadOnlyJson;
return GCEPersistentDiskVolumeSource(
fsType: tempFsType,
partition: tempPartition,
pdName: tempPdName,
readOnly: tempReadOnly,
);
}