Media poster methods added
This commit is contained in:
12
WatchIt.Common/WatchIt.Common.Model/Media/MediaPoster.cs
Normal file
12
WatchIt.Common/WatchIt.Common.Model/Media/MediaPoster.cs
Normal file
@@ -0,0 +1,12 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace WatchIt.Common.Model.Media;
|
||||
|
||||
public abstract class MediaPoster
|
||||
{
|
||||
[JsonPropertyName("image")]
|
||||
public required byte[] Image { get; set; }
|
||||
|
||||
[JsonPropertyName("mime_type")]
|
||||
public required string MimeType { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user