VolumeConfiguration.fromJson constructor

VolumeConfiguration.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory VolumeConfiguration.fromJson(Map<String, dynamic> json) {
  return VolumeConfiguration(
    mountPoint: json['MountPoint'] as String,
    numberOfDisks: json['NumberOfDisks'] as int,
    size: json['Size'] as int,
    encrypted: json['Encrypted'] as bool?,
    iops: json['Iops'] as int?,
    raidLevel: json['RaidLevel'] as int?,
    volumeType: json['VolumeType'] as String?,
  );
}