using System;
using System.Collections.Generic;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models
{
///
/// 表示 [POST] /v2/dict/save 接口的请求。
///
public class DictionarySaveRequest : WechatOpenAIRequest
{
public static class Types
{
public class Dictionary
{
///
/// 获取或设置词典 ID。
///
[Newtonsoft.Json.JsonProperty("id")]
[System.Text.Json.Serialization.JsonPropertyName("id")]
public long? DictionaryId { get; set; }
///
/// 获取或设置中文名称。
///
[Newtonsoft.Json.JsonProperty("name_ch")]
[System.Text.Json.Serialization.JsonPropertyName("name_ch")]
public string ChineseName { get; set; } = string.Empty;
///
/// 获取或设置英文名称。
///
[Newtonsoft.Json.JsonProperty("name_en")]
[System.Text.Json.Serialization.JsonPropertyName("name_en")]
public string? EnglishName { get; set; }
}
}
///
/// 获取或设置词典列表。
///
[Newtonsoft.Json.JsonProperty("data")]
[System.Text.Json.Serialization.JsonPropertyName("data")]
public IList DictionaryList { get; set; } = new List();
}
}