// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'getRoomsResponse.dart';

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

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

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

GetRoomsResponseObject _$GetRoomsResponseObjectFromJson(
        Map<String, dynamic> json) =>
    GetRoomsResponseObject(
      json['id'] as int,
      json['name'] as String,
      json['longName'] as String,
      json['active'] as bool,
      json['building'] as String,
    );

Map<String, dynamic> _$GetRoomsResponseObjectToJson(
        GetRoomsResponseObject instance) =>
    <String, dynamic>{
      'id': instance.id,
      'name': instance.name,
      'longName': instance.longName,
      'active': instance.active,
      'building': instance.building,
    };
