aboutsummaryrefslogtreecommitdiff
path: root/tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2021-06-19 18:02:33 +0200
committerBond_009 <bond.009@outlook.com>2021-06-19 18:04:46 +0200
commit6f8ccab788e85e025eaa44b67a1487bf419afb53 (patch)
treef8895fae8ec17e922daab473180c9de9a702a02a /tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs
parent0c3dcdf77b0d124517bffa608bfddf7d8f7682db (diff)
Move non-jellyfin extensions to separate project
Diffstat (limited to 'tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs')
-rw-r--r--tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs20
1 files changed, 0 insertions, 20 deletions
diff --git a/tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs b/tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs
deleted file mode 100644
index 276e1bfbe..000000000
--- a/tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs
+++ /dev/null
@@ -1,20 +0,0 @@
-using System.Diagnostics.CodeAnalysis;
-using System.Text.Json.Serialization;
-using MediaBrowser.Common.Json.Converters;
-
-namespace Jellyfin.Common.Tests.Models
-{
- /// <summary>
- /// The generic body model.
- /// </summary>
- /// <typeparam name="T">The value type.</typeparam>
- public class GenericBodyArrayModel<T>
- {
- /// <summary>
- /// Gets or sets the value.
- /// </summary>
- [SuppressMessage("Microsoft.Performance", "CA1819:Properties should not return arrays", MessageId = "Value", Justification = "Imported from ServiceStack")]
- [JsonConverter(typeof(JsonCommaDelimitedArrayConverterFactory))]
- public T[] Value { get; set; } = default!;
- }
-}