| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- 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<IntimacyReplyAnalyzeChoiceItem>? choices;
- IntimacyReplyAnalyzeResponse(
- this.id,
- this.object,
- this.created,
- this.model,
- this.choices,
- );
- factory IntimacyReplyAnalyzeResponse.fromJson(Map<String, dynamic> json) =>
- _$IntimacyReplyAnalyzeResponseFromJson(json);
- Map<String, dynamic> toJson() => _$IntimacyReplyAnalyzeResponseToJson(this);
- }
|