// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'getHolidaysResponse.dart';

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

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

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

GetHolidaysResponseObject _$GetHolidaysResponseObjectFromJson(
        Map<String, dynamic> json) =>
    GetHolidaysResponseObject(
      json['id'] as int,
      json['name'] as String,
      json['longName'] as String,
      json['startDate'] as int,
      json['endDate'] as int,
    );

Map<String, dynamic> _$GetHolidaysResponseObjectToJson(
        GetHolidaysResponseObject instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'longName': instance.longName,
      'startDate': instance.startDate,
      'endDate': instance.endDate,
    };
