import 'package:json_annotation/json_annotation.dart';

import '../../../base/app_base_request.dart';

part 'intimacy_analyze_request.g.dart';

/// 分析亲密度的请求
@JsonSerializable()
class IntimacyAnalyzeRequest extends AppBaseRequest {
  /// 图片地址列表，不加cdn前缀
  @JsonKey(name: "imageList")
  List<String> imageList;

  /// 键盘id
  @JsonKey(name: "keyboardId")
  String keyboardId;

  /// 预测方向
  @JsonKey(name: "direction")
  String direction;

  /// 模式
  @JsonKey(name: "mode")
  String mode;

  IntimacyAnalyzeRequest(
    this.imageList,
    this.keyboardId,
    this.direction,
    this.mode,
  );

  @override
  Map<String, dynamic> toJson() => _$IntimacyAnalyzeRequestToJson(this);
}
