16 lines
400 B
C#
16 lines
400 B
C#
|
|
using System.Net;
|
||
|
|
|
||
|
|
namespace Catalog.Communication.Models;
|
||
|
|
|
||
|
|
public sealed class MediaFileResponse
|
||
|
|
{
|
||
|
|
public required HttpStatusCode StatusCode { get; init; }
|
||
|
|
|
||
|
|
public required byte[] Content { get; init; }
|
||
|
|
|
||
|
|
public string? ContentType { get; init; }
|
||
|
|
|
||
|
|
public string? FileName { get; init; }
|
||
|
|
|
||
|
|
public required IReadOnlyDictionary<string, IReadOnlyList<string>> Headers { get; init; }
|
||
|
|
}
|