// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'search_files_response.dart';

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

SearchFilesResponse _$SearchFilesResponseFromJson(Map<String, dynamic> json) =>
    SearchFilesResponse(
      name: json['name'] as String,
      isPaginated: json['isPaginated'] as bool,
      cursor: (json['cursor'] as num?)?.toInt(),
      entries: (json['entries'] as List<dynamic>)
          .map((e) => SearchFilesEntry.fromJson(e as Map<String, dynamic>))
          .toList(),
    );

Map<String, dynamic> _$SearchFilesResponseToJson(
  SearchFilesResponse instance,
) => <String, dynamic>{
  'name': instance.name,
  'isPaginated': instance.isPaginated,
  'cursor': instance.cursor,
  'entries': instance.entries.map((e) => e.toJson()).toList(),
};

SearchFilesEntry _$SearchFilesEntryFromJson(Map<String, dynamic> json) =>
    SearchFilesEntry(
      title: json['title'] as String,
      subline: json['subline'] as String?,
      icon: json['icon'] as String?,
      resourceUrl: json['resourceUrl'] as String?,
      attributes: json['attributes'] as Map<String, dynamic>?,
    );

Map<String, dynamic> _$SearchFilesEntryToJson(SearchFilesEntry instance) =>
    <String, dynamic>{
      'title': instance.title,
      'subline': instance.subline,
      'icon': instance.icon,
      'resourceUrl': instance.resourceUrl,
      'attributes': instance.attributes,
    };
