2023-01-31 04:18:10 -07:00
|
|
|
|
namespace Jellyfin.Api.Attributes;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Produces file attribute of "video/*".
|
|
|
|
|
/// </summary>
|
|
|
|
|
public sealed class ProducesVideoFileAttribute : ProducesFileAttribute
|
2020-09-01 16:26:49 -07:00
|
|
|
|
{
|
2023-01-31 04:18:10 -07:00
|
|
|
|
private const string ContentType = "video/*";
|
|
|
|
|
|
2020-09-01 16:26:49 -07:00
|
|
|
|
/// <summary>
|
2023-01-31 04:18:10 -07:00
|
|
|
|
/// Initializes a new instance of the <see cref="ProducesVideoFileAttribute"/> class.
|
2020-09-01 16:26:49 -07:00
|
|
|
|
/// </summary>
|
2023-01-31 04:18:10 -07:00
|
|
|
|
public ProducesVideoFileAttribute()
|
|
|
|
|
: base(ContentType)
|
2020-09-01 16:26:49 -07:00
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|