mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-09-20 02:29:40 +08:00
82 lines
3.6 KiB
C#
82 lines
3.6 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace SKIT.FlurlHttpClient.Wechat.OpenAI.Models
|
|
{
|
|
/// <summary>
|
|
/// <para>表示 [POST] /v2/bot/publish/get_record 接口的响应。</para>
|
|
/// </summary>
|
|
public class BotPublishGetRecordResponse : WechatOpenAIResponse<BotPublishGetRecordResponse.Types.Data>
|
|
{
|
|
public static class Types
|
|
{
|
|
public class Data
|
|
{
|
|
public static class Types
|
|
{
|
|
public class Record
|
|
{
|
|
/// <summary>
|
|
/// 获取或设置 ID。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("id")]
|
|
public string Id { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置发布者 OpenId。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("open_id")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("open_id")]
|
|
public string OpenId { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置发布状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("status")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("status")]
|
|
public int Status { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置同步数据状态。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("sync_status")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("sync_status")]
|
|
public int SyncStatus { get; set; }
|
|
|
|
/// <summary>
|
|
/// 获取或设置描述。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("description")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("description")]
|
|
public string Description { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置发布时间戳。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("created_time")]
|
|
[Newtonsoft.Json.JsonConverter(typeof(Newtonsoft.Json.Converters.RegularDateTimeOffsetConverter))]
|
|
[System.Text.Json.Serialization.JsonPropertyName("created_time")]
|
|
[System.Text.Json.Serialization.JsonConverter(typeof(System.Text.Json.Converters.RegularDateTimeOffsetConverter))]
|
|
public DateTimeOffset CreateTimestamp { get; set; }
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 获取或设置发布记录列表。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("list")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("list")]
|
|
public Types.Record[] RecordList { get; set; } = default!;
|
|
|
|
/// <summary>
|
|
/// 获取或设置总数量。
|
|
/// </summary>
|
|
[Newtonsoft.Json.JsonProperty("count")]
|
|
[System.Text.Json.Serialization.JsonPropertyName("count")]
|
|
public int TotalCount { get; set; }
|
|
}
|
|
}
|
|
}
|
|
}
|