BotSharp/Platforms/BotSharp.Platform.OpenAi/Models/ListResponse.cs

17 lines
421 B
C#
Raw Normal View History

2023-05-20 21:31:31 +00:00
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
using System.Text.Json.Serialization;
namespace ChatGPT.Models;
public class ListResponse<T>
{
public int Total { get; set; }
public int Offset { get; set; }
[JsonProperty("has_missing_conversations")]
public bool HasMissingConversations { get; set; }
public List<T> Items { get; set; } = new List<T>();
}