mirror of
https://github.com/ckaczor/ChrisKaczor.MinifluxClient.git
synced 2026-01-13 17:22:25 -05:00
26 lines
626 B
C#
26 lines
626 B
C#
using JetBrains.Annotations;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace ChrisKaczor.MinifluxClient.Models;
|
|
|
|
[PublicAPI]
|
|
public class Enclosure
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public required long Id { get; set; }
|
|
|
|
[JsonPropertyName("user_id")]
|
|
public required long UserId { get; set; }
|
|
|
|
[JsonPropertyName("entry_id")]
|
|
public required long EntryId { get; set; }
|
|
|
|
[JsonPropertyName("url")]
|
|
public required string Url { get; set; }
|
|
|
|
[JsonPropertyName("mime_type")]
|
|
public required string MimeType { get; set; }
|
|
|
|
[JsonPropertyName("size")]
|
|
public required long Size { get; set; }
|
|
} |