| 1234567891011121314151617181920212223242526272829 |
- import 'package:json_annotation/json_annotation.dart';
- import 'package:keyboard/base/app_base_request.dart';
- part 'intimacy_generate_character_request.g.dart';
- /// 生成亲密度人设的请求
- @JsonSerializable()
- class IntimacyGenerateCharacterRequest extends AppBaseRequest {
- /// 键盘id
- @JsonKey(name: "keyboardId")
- String keyboardId;
- /// 名称
- @JsonKey(name: "name")
- String name;
- /// 聊天策略
- @JsonKey(name: "chatStrategy")
- String chatStrategy;
- IntimacyGenerateCharacterRequest(
- this.keyboardId,
- this.name,
- this.chatStrategy,
- );
- @override
- Map<String, dynamic> toJson() => _$IntimacyGenerateCharacterRequestToJson(this);
- }
|