// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'app_config.dart';

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

_$AppConfigImpl _$$AppConfigImplFromJson(
  Map<String, dynamic> json,
) => _$AppConfigImpl(
  apiIps: (json['apiIps'] as List<dynamic>?)?.map((e) => e as String).toList(),
  apiUrls: (json['apiUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  routerApiUrls: (json['routerApiUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  appStatUrls: (json['appStatUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  assetUrls: (json['assetUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  logFileUploadUrls: (json['logFileUploadUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  realityApiUrls: (json['realityApiUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  realityAppStatUrls: (json['realityAppStatUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  realityLogFileUploadUrls: (json['realityLogFileUploadUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  autoPing: json['autoPing'] as bool?,
  autoPingInterval: (json['autoPingInterval'] as num?)?.toInt(),
  backupApiUrls: (json['backupApiUrls'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  cacheDataEffectiveDays: (json['cacheDataEffectiveDays'] as num?)?.toInt(),
  contacts: (json['contacts'] as List<dynamic>?)
      ?.map((e) => Contacts.fromJson(e as Map<String, dynamic>))
      .toList(),
  follows: (json['follows'] as List<dynamic>?)
      ?.map((e) => Contacts.fromJson(e as Map<String, dynamic>))
      .toList(),
  providers: (json['providers'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  signalThresholds: (json['signalThresholds'] as List<dynamic>?)
      ?.map((e) => (e as num).toInt())
      .toList(),
  packetLossThresholds: (json['packetLossThresholds'] as List<dynamic>?)
      ?.map((e) => (e as num).toInt())
      .toList(),
  skipGeo: json['skipGeo'] == null
      ? null
      : SkipGeo.fromJson(json['skipGeo'] as Map<String, dynamic>),
  speedTestTargetList: (json['speedTestTargetList'] as List<dynamic>?)
      ?.map((e) => SpeedTestTargetList.fromJson(e as Map<String, dynamic>))
      .toList(),
  websiteUrl: json['websiteUrl'] as String?,
  visitorDisabled: json['visitorDisabled'] as bool?,
  privacyAgreement: json['privacyAgreement'] == null
      ? null
      : PrivacyTerms.fromJson(json['privacyAgreement'] as Map<String, dynamic>),
  email: json['email'] as String?,
  blackPkgs: (json['blackPkgs'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  whitePkgs: (json['whitePkgs'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  accelerationSampleCount: (json['accelerationSampleCount'] as num?)?.toInt(),
  minAccelerationSampleCount: (json['minAccelerationSampleCount'] as num?)
      ?.toInt(),
  connectionWarningThreshold: (json['connectionWarningThreshold'] as num?)
      ?.toInt(),
  connectiveTestUrl: json['connectiveTestUrl'] as String?,
  disabledLogModules: (json['disabledLogModules'] as List<dynamic>?)
      ?.map((e) => e as String)
      .toList(),
  realTimeDbPath: json['realTimeDbPath'] as String?,
  boostTimeInterval: (json['boostTimeInterval'] as num?)?.toInt(),
  pingDisplayMode: (json['pingDisplayMode'] as num?)?.toInt(),
  peekTimeInterval: (json['peekTimeInterval'] as num?)?.toInt(),
  enableAd: json['enableAd'] as bool?,
  adTimeoutDuration: (json['adTimeoutDuration'] as num?)?.toInt(),
  activeInterval: (json['activeInterval'] as num?)?.toInt(),
  serverTime: (json['serverTime'] as num?)?.toInt(),
  vipRemainNotice: (json['vipRemainNotice'] as num?)?.toInt(),
  upgradeNoticeTime: (json['upgradeNoticeTime'] as num?)?.toInt(),
  pushNoticeTime: (json['pushNoticeTime'] as num?)?.toInt(),
  smartGeo: json['smartGeo'] == null
      ? null
      : SmartGeo.fromJson(json['smartGeo'] as Map<String, dynamic>),
);

Map<String, dynamic> _$$AppConfigImplToJson(_$AppConfigImpl instance) =>
    <String, dynamic>{
      'apiIps': instance.apiIps,
      'apiUrls': instance.apiUrls,
      'routerApiUrls': instance.routerApiUrls,
      'appStatUrls': instance.appStatUrls,
      'assetUrls': instance.assetUrls,
      'logFileUploadUrls': instance.logFileUploadUrls,
      'realityApiUrls': instance.realityApiUrls,
      'realityAppStatUrls': instance.realityAppStatUrls,
      'realityLogFileUploadUrls': instance.realityLogFileUploadUrls,
      'autoPing': instance.autoPing,
      'autoPingInterval': instance.autoPingInterval,
      'backupApiUrls': instance.backupApiUrls,
      'cacheDataEffectiveDays': instance.cacheDataEffectiveDays,
      'contacts': instance.contacts,
      'follows': instance.follows,
      'providers': instance.providers,
      'signalThresholds': instance.signalThresholds,
      'packetLossThresholds': instance.packetLossThresholds,
      'skipGeo': instance.skipGeo,
      'speedTestTargetList': instance.speedTestTargetList,
      'websiteUrl': instance.websiteUrl,
      'visitorDisabled': instance.visitorDisabled,
      'privacyAgreement': instance.privacyAgreement,
      'email': instance.email,
      'blackPkgs': instance.blackPkgs,
      'whitePkgs': instance.whitePkgs,
      'accelerationSampleCount': instance.accelerationSampleCount,
      'minAccelerationSampleCount': instance.minAccelerationSampleCount,
      'connectionWarningThreshold': instance.connectionWarningThreshold,
      'connectiveTestUrl': instance.connectiveTestUrl,
      'disabledLogModules': instance.disabledLogModules,
      'realTimeDbPath': instance.realTimeDbPath,
      'boostTimeInterval': instance.boostTimeInterval,
      'pingDisplayMode': instance.pingDisplayMode,
      'peekTimeInterval': instance.peekTimeInterval,
      'enableAd': instance.enableAd,
      'adTimeoutDuration': instance.adTimeoutDuration,
      'activeInterval': instance.activeInterval,
      'serverTime': instance.serverTime,
      'vipRemainNotice': instance.vipRemainNotice,
      'upgradeNoticeTime': instance.upgradeNoticeTime,
      'pushNoticeTime': instance.pushNoticeTime,
      'smartGeo': instance.smartGeo,
    };

_$ContactsImpl _$$ContactsImplFromJson(Map<String, dynamic> json) =>
    _$ContactsImpl(
      title: json['title'] as String?,
      url: json['url'] as String?,
    );

Map<String, dynamic> _$$ContactsImplToJson(_$ContactsImpl instance) =>
    <String, dynamic>{'title': instance.title, 'url': instance.url};

_$SpeedTestTargetListImpl _$$SpeedTestTargetListImplFromJson(
  Map<String, dynamic> json,
) => _$SpeedTestTargetListImpl(
  title: json['title'] as String?,
  url: json['url'] as String?,
);

Map<String, dynamic> _$$SpeedTestTargetListImplToJson(
  _$SpeedTestTargetListImpl instance,
) => <String, dynamic>{'title': instance.title, 'url': instance.url};
