DotNetCore.SKIT.FlurlHttpCl.../src/SKIT.FlurlHttpClient.Wechat.OpenAI/Models/Dialog/SignResponse.cs

23 lines
765 B
C#

namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models
{
/// <summary>
/// <para>表示 [POST] /sign/{TOKEN} 接口的响应。</para>
/// </summary>
public class SignResponse : WechatOpenAIResponse
{
/// <summary>
/// 获取或设置请求签名。
/// </summary>
[Newtonsoft.Json.JsonProperty("signature")]
[System.Text.Json.Serialization.JsonPropertyName("signature")]
public string Signature { get; set; } = default!;
/// <summary>
/// 获取或设置有效期(单位:秒)。
/// </summary>
[Newtonsoft.Json.JsonProperty("expiresIn")]
[System.Text.Json.Serialization.JsonPropertyName("expiresIn")]
public int ExpiresIn { get; set; }
}
}