import 'package:json_annotation/json_annotation.dart'; import '../../bean/intimacy_reply_analyze_choice_item.dart'; part 'intimacy_reply_analyze_response.g.dart'; /// 识图回复响应 @JsonSerializable() class IntimacyReplyAnalyzeResponse { @JsonKey(name: "id") String? id; @JsonKey(name: "object") String? object; /// 创建时间 @JsonKey(name: "created") int? created; /// Ai模型 @JsonKey(name: "model") int? model; /// 选择项列表 @JsonKey(name: "choices") List? choices; IntimacyReplyAnalyzeResponse( this.id, this.object, this.created, this.model, this.choices, ); factory IntimacyReplyAnalyzeResponse.fromJson(Map json) => _$IntimacyReplyAnalyzeResponseFromJson(json); Map toJson() => _$IntimacyReplyAnalyzeResponseToJson(this); }