// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'getSubjectsResponse.dart';

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

GetSubjectsResponse _$GetSubjectsResponseFromJson(Map<String, dynamic> json) =>
    GetSubjectsResponse(
      (json['result'] as List<dynamic>)
          .map((e) =>
              GetSubjectsResponseObject.fromJson(e as Map<String, dynamic>))
          .toSet(),
    );

Map<String, dynamic> _$GetSubjectsResponseToJson(
        GetSubjectsResponse instance) =>
    <String, dynamic>{
      'result': instance.result.map((e) => e.toJson()).toList(),
    };

GetSubjectsResponseObject _$GetSubjectsResponseObjectFromJson(
        Map<String, dynamic> json) =>
    GetSubjectsResponseObject(
      json['id'] as int,
      json['name'] as String,
      json['longName'] as String,
      json['alternateName'] as String,
      json['active'] as bool,
    );

Map<String, dynamic> _$GetSubjectsResponseObjectToJson(
        GetSubjectsResponseObject instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'longName': instance.longName,
      'alternateName': instance.alternateName,
      'active': instance.active,
    };
