DeleteFileSystemResponse.fromJson constructor

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

Implementation

factory DeleteFileSystemResponse.fromJson(Map<String, dynamic> json) {
  return DeleteFileSystemResponse(
    fileSystemId: json['FileSystemId'] as String?,
    lifecycle: (json['Lifecycle'] as String?)?.toFileSystemLifecycle(),
    lustreResponse: json['LustreResponse'] != null
        ? DeleteFileSystemLustreResponse.fromJson(
            json['LustreResponse'] as Map<String, dynamic>)
        : null,
    windowsResponse: json['WindowsResponse'] != null
        ? DeleteFileSystemWindowsResponse.fromJson(
            json['WindowsResponse'] as Map<String, dynamic>)
        : null,
  );
}