import 'package:json_annotation/json_annotation.dart';
import 'package:keyboard/data/api/response/for_me_bean.dart';
import 'package:keyboard/data/api/response/for_ta_bean.dart';
import 'package:keyboard/data/api/response/tone_bean.dart';

import '../../bean/ai_model.dart';
import '../../bean/intimacy_analyze_direction.dart';
import '../../bean/reply_mode.dart';

part 'intimacy_analyze_reply_config_response.g.dart';

/// 亲密度-识图回复配置
@JsonSerializable()
class IntimacyAnalyzeReplyConfigResponse {
  /// 语气列表
  @JsonKey(name: 'tones')
  List<ToneBean>? tones;

  /// 模式
  @JsonKey(name: "modes")
  List<ReplyMode> modes;

  IntimacyAnalyzeReplyConfigResponse(this.tones, this.modes);

  factory IntimacyAnalyzeReplyConfigResponse.fromJson(
    Map<String, dynamic> json,
  ) => _$IntimacyAnalyzeReplyConfigResponseFromJson(json);

  Map<String, dynamic> toJson() =>
      _$IntimacyAnalyzeReplyConfigResponseToJson(this);
}
