using Newtonsoft.Json; namespace dy.net.model.response { /// /// 收藏夹列表 /// public class DouyinCollectListResponse { /// /// 收藏列表数据 /// [JsonProperty("collects_list")] public List CollectsList { get; set; } = new List(); /// /// 分页游标 /// [JsonProperty("cursor")] public int Cursor { get; set; } /// /// 额外扩展信息 /// //[JsonProperty("extra")] //public ExtraInfo Extra { get; set; } = new ExtraInfo(); /// /// 是否还有更多数据 /// [JsonProperty("has_more")] public bool HasMore { get; set; } /// /// 日志相关信息 /// //[JsonProperty("log_pb")] //public LogPb LogPb { get; set; } = new LogPb(); /// /// 响应状态码(0表示成功) /// [JsonProperty("status_code")] public int StatusCode { get; set; } /// /// 收藏列表总数 /// [JsonProperty("total_number")] public int TotalNumber { get; set; } } /// /// 单个收藏项实体 /// public class DouyinCollectItem { /// /// 应用ID /// [JsonProperty("app_id")] public int AppId { get; set; } /// /// 收藏封面信息 /// //[JsonProperty("collects_cover")] //public CollectsCover CollectsCover { get; set; } = new CollectsCover(); /// /// 收藏ID(数值型) /// [JsonProperty("collects_id")] public string CollectsId { get; set; } /// /// 收藏ID(字符串型) /// [JsonProperty("collects_id_str")] public string CollectsIdStr { get; set; } = string.Empty; /// /// 收藏名称 /// [JsonProperty("collects_name")] public string CollectsName { get; set; } = string.Empty; /// /// 创建时间(时间戳) /// [JsonProperty("create_time")] public long CreateTime { get; set; } /// /// 关注状态 /// [JsonProperty("follow_status")] public int FollowStatus { get; set; } /// /// 被关注数量 /// [JsonProperty("followed_count")] public int FollowedCount { get; set; } /// /// 是否为正常状态 /// [JsonProperty("is_normal_status")] public bool IsNormalStatus { get; set; } /// /// 项目类型 /// [JsonProperty("item_type")] public int ItemType { get; set; } /// /// 最后收藏时间(时间戳) /// [JsonProperty("last_collect_time")] public long LastCollectTime { get; set; } /// /// 播放数量 /// [JsonProperty("play_count")] public int PlayCount { get; set; } /// /// 西西里收藏封面列表(暂为null,用可空对象接收) /// [JsonProperty("sicily_collects_cover_list")] public object? SicilyCollectsCoverList { get; set; } /// /// 状态标识 /// [JsonProperty("states")] public int States { get; set; } /// /// 状态 /// [JsonProperty("status")] public int Status { get; set; } /// /// 系统类型 /// [JsonProperty("system_type")] public int SystemType { get; set; } /// /// 该收藏下的项目总数 /// [JsonProperty("total_number")] public int TotalNumber { get; set; } /// /// 用户ID(数值型) /// [JsonProperty("user_id")] public long UserId { get; set; } /// /// 用户ID(字符串型) /// [JsonProperty("user_id_str")] public string UserIdStr { get; set; } = string.Empty; /// /// 用户信息 /// //[JsonProperty("user_info")] //public UserInfo UserInfo { get; set; } = new UserInfo(); } /// /// 收藏封面信息实体 /// //public class CollectsCover //{ // /// // /// 封面资源URI // /// // [JsonProperty("uri")] // public string Uri { get; set; } = string.Empty; // /// // /// 封面URL列表 // /// // [JsonProperty("url_list")] // public List UrlList { get; set; } = new List(); //} /// /// 用户信息实体 /// //public class UserInfo //{ // /// // /// 大尺寸头像信息 // /// // [JsonProperty("avatar_larger")] // public AvatarInfo AvatarLarger { get; set; } = new AvatarInfo(); // /// // /// 中等尺寸头像信息 // /// // [JsonProperty("avatar_medium")] // public AvatarInfo AvatarMedium { get; set; } = new AvatarInfo(); // /// // /// 缩略图尺寸头像信息 // /// // [JsonProperty("avatar_thumb")] // public AvatarInfo AvatarThumb { get; set; } = new AvatarInfo(); // /// // /// 用户昵称 // /// // [JsonProperty("nickname")] // public string Nickname { get; set; } = string.Empty; // /// // /// 用户唯一标识 // /// // [JsonProperty("uid")] // public string Uid { get; set; } = string.Empty; //} /// /// 头像信息实体 /// //public class AvatarInfo //{ // /// // /// 头像高度 // /// // [JsonProperty("height")] // public int Height { get; set; } // /// // /// 头像资源URI // /// // [JsonProperty("uri")] // public string Uri { get; set; } = string.Empty; // /// // /// 头像URL列表 // /// // [JsonProperty("url_list")] // public List UrlList { get; set; } = new List(); // /// // /// 头像宽度 // /// // [JsonProperty("width")] // public int Width { get; set; } //} /// /// 额外扩展信息实体 /// //public class ExtraInfo //{ // /// // /// 异常项目ID列表 // /// // [JsonProperty("fatal_item_ids")] // public List FatalItemIds { get; set; } = new List(); // /// // /// 日志ID // /// // [JsonProperty("logid")] // public string Logid { get; set; } = string.Empty; // /// // /// 当前时间戳(带毫秒) // /// // [JsonProperty("now")] // public long Now { get; set; } //} /// /// 日志PB实体 /// public class LogPb { /// /// 曝光ID /// [JsonProperty("impr_id")] public string ImprId { get; set; } = string.Empty; } }