// GENERATED CODE - DO NOT MODIFY BY HAND part of 'disk_volumes.graphql.dart'; // ************************************************************************** // JsonSerializableGenerator // ************************************************************************** Query$GetServerDiskVolumesQuery _$Query$GetServerDiskVolumesQueryFromJson( Map json) => Query$GetServerDiskVolumesQuery( storage: Query$GetServerDiskVolumesQuery$storage.fromJson( json['storage'] as Map), $__typename: json['__typename'] as String, ); Map _$Query$GetServerDiskVolumesQueryToJson( Query$GetServerDiskVolumesQuery instance) => { 'storage': instance.storage.toJson(), '__typename': instance.$__typename, }; Query$GetServerDiskVolumesQuery$storage _$Query$GetServerDiskVolumesQuery$storageFromJson( Map json) => Query$GetServerDiskVolumesQuery$storage( volumes: (json['volumes'] as List) .map((e) => Query$GetServerDiskVolumesQuery$storage$volumes.fromJson( e as Map)) .toList(), $__typename: json['__typename'] as String, ); Map _$Query$GetServerDiskVolumesQuery$storageToJson( Query$GetServerDiskVolumesQuery$storage instance) => { 'volumes': instance.volumes.map((e) => e.toJson()).toList(), '__typename': instance.$__typename, }; Query$GetServerDiskVolumesQuery$storage$volumes _$Query$GetServerDiskVolumesQuery$storage$volumesFromJson( Map json) => Query$GetServerDiskVolumesQuery$storage$volumes( freeSpace: json['freeSpace'] as String, model: json['model'] as String, name: json['name'] as String, root: json['root'] as bool, serial: json['serial'] as String, totalSpace: json['totalSpace'] as String, type: json['type'] as String, usedSpace: json['usedSpace'] as String, $__typename: json['__typename'] as String, ); Map _$Query$GetServerDiskVolumesQuery$storage$volumesToJson( Query$GetServerDiskVolumesQuery$storage$volumes instance) => { 'freeSpace': instance.freeSpace, 'model': instance.model, 'name': instance.name, 'root': instance.root, 'serial': instance.serial, 'totalSpace': instance.totalSpace, 'type': instance.type, 'usedSpace': instance.usedSpace, '__typename': instance.$__typename, }; Variables$Mutation$MountVolumeMutation _$Variables$Mutation$MountVolumeMutationFromJson( Map json) => Variables$Mutation$MountVolumeMutation( name: json['name'] as String, ); Map _$Variables$Mutation$MountVolumeMutationToJson( Variables$Mutation$MountVolumeMutation instance) => { 'name': instance.name, }; Mutation$MountVolumeMutation _$Mutation$MountVolumeMutationFromJson( Map json) => Mutation$MountVolumeMutation( mountVolume: Mutation$MountVolumeMutation$mountVolume.fromJson( json['mountVolume'] as Map), $__typename: json['__typename'] as String, ); Map _$Mutation$MountVolumeMutationToJson( Mutation$MountVolumeMutation instance) => { 'mountVolume': instance.mountVolume.toJson(), '__typename': instance.$__typename, }; Mutation$MountVolumeMutation$mountVolume _$Mutation$MountVolumeMutation$mountVolumeFromJson( Map json) => Mutation$MountVolumeMutation$mountVolume( code: json['code'] as int, message: json['message'] as String, success: json['success'] as bool, $__typename: json['__typename'] as String, ); Map _$Mutation$MountVolumeMutation$mountVolumeToJson( Mutation$MountVolumeMutation$mountVolume instance) => { 'code': instance.code, 'message': instance.message, 'success': instance.success, '__typename': instance.$__typename, }; Variables$Mutation$ResizeVolumeMutation _$Variables$Mutation$ResizeVolumeMutationFromJson( Map json) => Variables$Mutation$ResizeVolumeMutation( name: json['name'] as String, ); Map _$Variables$Mutation$ResizeVolumeMutationToJson( Variables$Mutation$ResizeVolumeMutation instance) => { 'name': instance.name, }; Mutation$ResizeVolumeMutation _$Mutation$ResizeVolumeMutationFromJson( Map json) => Mutation$ResizeVolumeMutation( resizeVolume: Mutation$ResizeVolumeMutation$resizeVolume.fromJson( json['resizeVolume'] as Map), $__typename: json['__typename'] as String, ); Map _$Mutation$ResizeVolumeMutationToJson( Mutation$ResizeVolumeMutation instance) => { 'resizeVolume': instance.resizeVolume.toJson(), '__typename': instance.$__typename, }; Mutation$ResizeVolumeMutation$resizeVolume _$Mutation$ResizeVolumeMutation$resizeVolumeFromJson( Map json) => Mutation$ResizeVolumeMutation$resizeVolume( code: json['code'] as int, message: json['message'] as String, success: json['success'] as bool, $__typename: json['__typename'] as String, ); Map _$Mutation$ResizeVolumeMutation$resizeVolumeToJson( Mutation$ResizeVolumeMutation$resizeVolume instance) => { 'code': instance.code, 'message': instance.message, 'success': instance.success, '__typename': instance.$__typename, }; Variables$Mutation$UnmountVolumeMutation _$Variables$Mutation$UnmountVolumeMutationFromJson( Map json) => Variables$Mutation$UnmountVolumeMutation( name: json['name'] as String, ); Map _$Variables$Mutation$UnmountVolumeMutationToJson( Variables$Mutation$UnmountVolumeMutation instance) => { 'name': instance.name, }; Mutation$UnmountVolumeMutation _$Mutation$UnmountVolumeMutationFromJson( Map json) => Mutation$UnmountVolumeMutation( unmountVolume: Mutation$UnmountVolumeMutation$unmountVolume.fromJson( json['unmountVolume'] as Map), $__typename: json['__typename'] as String, ); Map _$Mutation$UnmountVolumeMutationToJson( Mutation$UnmountVolumeMutation instance) => { 'unmountVolume': instance.unmountVolume.toJson(), '__typename': instance.$__typename, }; Mutation$UnmountVolumeMutation$unmountVolume _$Mutation$UnmountVolumeMutation$unmountVolumeFromJson( Map json) => Mutation$UnmountVolumeMutation$unmountVolume( code: json['code'] as int, message: json['message'] as String, success: json['success'] as bool, $__typename: json['__typename'] as String, ); Map _$Mutation$UnmountVolumeMutation$unmountVolumeToJson( Mutation$UnmountVolumeMutation$unmountVolume instance) => { 'code': instance.code, 'message': instance.message, 'success': instance.success, '__typename': instance.$__typename, };