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