VolumeiSCSIAttributes.fromJson constructor

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

Implementation

factory VolumeiSCSIAttributes.fromJson(Map<String, dynamic> json) {
  return VolumeiSCSIAttributes(
    chapEnabled: json['ChapEnabled'] as bool?,
    lunNumber: json['LunNumber'] as int?,
    networkInterfaceId: json['NetworkInterfaceId'] as String?,
    networkInterfacePort: json['NetworkInterfacePort'] as int?,
    targetARN: json['TargetARN'] as String?,
  );
}