// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'member_status_response.dart';

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

MemberStatusResponse _$MemberStatusResponseFromJson(
        Map<String, dynamic> json) =>
    MemberStatusResponse(
      userId: json['userId'] as String,
      level: (json['level'] as num).toInt(),
      startTimestamp: (json['startTimestamp'] as num).toInt(),
      endTimestamp: (json['endTimestamp'] as num).toInt(),
      serverTimestamp: (json['serverTimestamp'] as num).toInt(),
      expired: json['expired'] as bool,
      permanent: json['permanent'] as bool,
      deviceId: json['deviceId'] as String,
      trialed: json['trialed'] as bool?,
      avatar: json['avatar'] as String?,
      trialEndTimestamp: (json['trialEndTimestamp'] as num?)?.toInt(),
    );

Map<String, dynamic> _$MemberStatusResponseToJson(
        MemberStatusResponse instance) =>
    <String, dynamic>{
      'userId': instance.userId,
      'level': instance.level,
      'startTimestamp': instance.startTimestamp,
      'endTimestamp': instance.endTimestamp,
      'serverTimestamp': instance.serverTimestamp,
      'expired': instance.expired,
      'permanent': instance.permanent,
      'deviceId': instance.deviceId,
      'trialed': instance.trialed,
      'avatar': instance.avatar,
      'trialEndTimestamp': instance.trialEndTimestamp,
    };
