// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'timetable_get_students_response.dart';

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

McTimetableStudent _$McTimetableStudentFromJson(Map<String, dynamic> json) =>
    McTimetableStudent(
      id: (json['id'] as num).toInt(),
      firstName: json['firstName'] as String,
      lastName: json['lastName'] as String,
      displayName: json['displayName'] as String,
    );

Map<String, dynamic> _$McTimetableStudentToJson(McTimetableStudent instance) =>
    <String, dynamic>{
      'id': instance.id,
      'firstName': instance.firstName,
      'lastName': instance.lastName,
      'displayName': instance.displayName,
    };

TimetableGetStudentsResponse _$TimetableGetStudentsResponseFromJson(
  Map<String, dynamic> json,
) =>
    TimetableGetStudentsResponse(
        result: (json['result'] as List<dynamic>)
            .map((e) => McTimetableStudent.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> _$TimetableGetStudentsResponseToJson(
  TimetableGetStudentsResponse instance,
) => <String, dynamic>{
  'headers': ?instance.headers,
  'result': instance.result.map((e) => e.toJson()).toList(),
};
