2024-08-30 06:29:48 -07:00
|
|
|
namespace Jellyfin.Api.Attributes;
|
2023-01-31 04:18:10 -07:00
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// Produces file attribute of "image/*".
|
|
|
|
/// </summary>
|
|
|
|
public sealed class ProducesAudioFileAttribute : ProducesFileAttribute
|
2020-09-01 16:26:49 -07:00
|
|
|
{
|
2023-01-31 04:18:10 -07:00
|
|
|
private const string ContentType = "audio/*";
|
|
|
|
|
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="ProducesAudioFileAttribute"/> class.
|
2020-09-01 16:26:49 -07:00
|
|
|
/// </summary>
|
2023-01-31 04:18:10 -07:00
|
|
|
public ProducesAudioFileAttribute()
|
|
|
|
: base(ContentType)
|
2020-09-01 16:26:49 -07:00
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|