// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'response_entity.dart';

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

ResponseEntity _$ResponseEntityFromJson(Map<String, dynamic> json) =>
    ResponseEntity()
      ..headers =
          ResponseHeaders.fromJson(json['headers'] as Map<String, dynamic>)
      ..original =
          ResponseOriginal.fromJson(json['original'] as Map<String, dynamic>)
      ..exception = json['exception'] as String?;

Map<String, dynamic> _$ResponseEntityToJson(ResponseEntity instance) =>
    <String, dynamic>{
      'headers': instance.headers,
      'original': instance.original,
      'exception': instance.exception,
    };

ResponseHeaders _$ResponseHeadersFromJson(Map<String, dynamic> json) =>
    ResponseHeaders();

Map<String, dynamic> _$ResponseHeadersToJson(ResponseHeaders instance) =>
    <String, dynamic>{};

ResponseOriginal _$ResponseOriginalFromJson(Map<String, dynamic> json) =>
    ResponseOriginal()
      ..overall = json['overall'] as int?
      ..page = json['page'] as int?
      ..perpage = json['perpage'] as int?
      ..data = json['data'] as List<dynamic>?
      ..errors = (json['errors'] as Map<String, dynamic>?)?.map(
        (k, e) =>
            MapEntry(k, (e as List<dynamic>).map((e) => e as String).toList()),
      )
      ..message = json['message'] as String?;

Map<String, dynamic> _$ResponseOriginalToJson(ResponseOriginal instance) =>
    <String, dynamic>{
      'overall': instance.overall,
      'page': instance.page,
      'perpage': instance.perpage,
      'data': instance.data,
      'errors': instance.errors,
      'message': instance.message,
    };
