// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'timetable_get_holidays_response.dart';

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

TimetableGetHolidaysResponse _$TimetableGetHolidaysResponseFromJson(
  Map<String, dynamic> json,
) =>
    TimetableGetHolidaysResponse(
        result: (json['result'] as List<dynamic>)
            .map((e) => McHoliday.fromJson(e as Map<String, dynamic>))
            .toList(),
      )
      ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$TimetableGetHolidaysResponseToJson(
  TimetableGetHolidaysResponse instance,
) => <String, dynamic>{
  'headers': ?instance.headers,
  'result': instance.result.map((e) => e.toJson()).toList(),
};
