RaidArray.fromJson constructor
RaidArray.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RaidArray.fromJson(Map<String, dynamic> json) {
return RaidArray(
availabilityZone: json['AvailabilityZone'] as String?,
createdAt: json['CreatedAt'] as String?,
device: json['Device'] as String?,
instanceId: json['InstanceId'] as String?,
iops: json['Iops'] as int?,
mountPoint: json['MountPoint'] as String?,
name: json['Name'] as String?,
numberOfDisks: json['NumberOfDisks'] as int?,
raidArrayId: json['RaidArrayId'] as String?,
raidLevel: json['RaidLevel'] as int?,
size: json['Size'] as int?,
stackId: json['StackId'] as String?,
volumeType: json['VolumeType'] as String?,
);
}