// GENERATED CODE - DO NOT MODIFY BY HAND

part of 'intimacy_analyze_config_response.dart';

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

IntimacyAnalyzeConfigResponse _$IntimacyAnalyzeConfigResponseFromJson(
  Map<String, dynamic> json,
) => IntimacyAnalyzeConfigResponse(
  json['defaultContent'] as String?,
  (json['maxImageCount'] as num?)?.toInt(),
  (json['minImageCount'] as num?)?.toInt(),
  json['custom'] as bool?,
  (json['maxCustomWords'] as num?)?.toInt(),
  (json['minCustomWords'] as num?)?.toInt(),
  (json['direction'] as List<dynamic>?)
      ?.map((e) => IntimacyAnalyzeDirection.fromJson(e as Map<String, dynamic>))
      .toList(),
  (json['modes'] as List<dynamic>?)
      ?.map((e) => AiModel.fromJson(e as Map<String, dynamic>))
      .toList(),
);

Map<String, dynamic> _$IntimacyAnalyzeConfigResponseToJson(
  IntimacyAnalyzeConfigResponse instance,
) => <String, dynamic>{
  'defaultContent': instance.defaultContent,
  'maxImageCount': instance.maxImageCount,
  'minImageCount': instance.minImageCount,
  'custom': instance.custom,
  'maxCustomWords': instance.maxCustomWords,
  'minCustomWords': instance.minCustomWords,
  'direction': instance.direction,
  'modes': instance.modes,
};
