// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'timetable_get_schoolyear_response.dart';

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

TimetableGetSchoolyearResponse _$TimetableGetSchoolyearResponseFromJson(
  Map<String, dynamic> json,
) =>
    TimetableGetSchoolyearResponse(
        id: (json['id'] as num).toInt(),
        name: json['name'] as String,
        startDate: TimetableGetSchoolyearResponse._dateFromJson(
          json['startDate'] as String,
        ),
        endDate: TimetableGetSchoolyearResponse._dateFromJson(
          json['endDate'] as String,
        ),
      )
      ..headers = (json['headers'] as Map<String, dynamic>?)?.map(
        (k, e) => MapEntry(k, e as String),
      );

Map<String, dynamic> _$TimetableGetSchoolyearResponseToJson(
  TimetableGetSchoolyearResponse instance,
) => <String, dynamic>{
  'headers': ?instance.headers,
  'id': instance.id,
  'name': instance.name,
  'startDate': TimetableGetSchoolyearResponse._dateToJson(instance.startDate),
  'endDate': TimetableGetSchoolyearResponse._dateToJson(instance.endDate),
};
