AzureDiskVolumeSource.fromJson constructor
Creates a AzureDiskVolumeSource from JSON data.
Implementation
factory AzureDiskVolumeSource.fromJson(Map<String, dynamic> json) {
final tempCachingModeJson = json['cachingMode'];
final tempDiskNameJson = json['diskName'];
final tempDiskURIJson = json['diskURI'];
final tempFsTypeJson = json['fsType'];
final tempKindJson = json['kind'];
final tempReadOnlyJson = json['readOnly'];
final String? tempCachingMode = tempCachingModeJson;
final String tempDiskName = tempDiskNameJson;
final String tempDiskURI = tempDiskURIJson;
final String? tempFsType = tempFsTypeJson;
final String? tempKind = tempKindJson;
final bool? tempReadOnly = tempReadOnlyJson;
return AzureDiskVolumeSource(
cachingMode: tempCachingMode,
diskName: tempDiskName,
diskURI: tempDiskURI,
fsType: tempFsType,
kind: tempKind,
readOnly: tempReadOnly,
);
}