diff options
Diffstat (limited to 'tests/Jellyfin.Common.Tests/Models')
| -rw-r--r-- | tests/Jellyfin.Common.Tests/Models/GenericBodyArrayModel.cs | 20 | ||||
| -rw-r--r-- | tests/Jellyfin.Common.Tests/Models/GenericBodyIReadOnlyListModel.cs | 19 |
2 files changed, 0 insertions, 39 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!; - } -} diff --git a/tests/Jellyfin.Common.Tests/Models/GenericBodyIReadOnlyListModel.cs b/tests/Jellyfin.Common.Tests/Models/GenericBodyIReadOnlyListModel.cs deleted file mode 100644 index 627454b25..000000000 --- a/tests/Jellyfin.Common.Tests/Models/GenericBodyIReadOnlyListModel.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System.Collections.Generic; -using System.Text.Json.Serialization; -using MediaBrowser.Common.Json.Converters; - -namespace Jellyfin.Common.Tests.Models -{ - /// <summary> - /// The generic body <c>IReadOnlyList</c> model. - /// </summary> - /// <typeparam name="T">The value type.</typeparam> - public class GenericBodyIReadOnlyListModel<T> - { - /// <summary> - /// Gets or sets the value. - /// </summary> - [JsonConverter(typeof(JsonCommaDelimitedArrayConverterFactory))] - public IReadOnlyList<T> Value { get; set; } = default!; - } -} |
