aboutsummaryrefslogtreecommitdiff
path: root/Jellyfin.Data/Entities/ItemValueType.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Jellyfin.Data/Entities/ItemValueType.cs')
-rw-r--r--Jellyfin.Data/Entities/ItemValueType.cs41
1 files changed, 41 insertions, 0 deletions
diff --git a/Jellyfin.Data/Entities/ItemValueType.cs b/Jellyfin.Data/Entities/ItemValueType.cs
new file mode 100644
index 000000000..006036b40
--- /dev/null
+++ b/Jellyfin.Data/Entities/ItemValueType.cs
@@ -0,0 +1,41 @@
+namespace Jellyfin.Data.Entities;
+
+/// <summary>
+/// Provides the Value types for an <see cref="ItemValue"/>.
+/// </summary>
+#pragma warning disable CA1027 // Mark enums with FlagsAttribute
+public enum ItemValueType
+#pragma warning restore CA1027 // Mark enums with FlagsAttribute
+{
+ /// <summary>
+ /// Artists.
+ /// </summary>
+#pragma warning disable CA1008 // Enums should have zero value. Cannot apply here.
+ Artist = 0,
+#pragma warning restore CA1008 // Enums should have zero value
+
+ /// <summary>
+ /// Album.
+ /// </summary>
+ AlbumArtist = 1,
+
+ /// <summary>
+ /// Genre.
+ /// </summary>
+ Genre = 2,
+
+ /// <summary>
+ /// Studios.
+ /// </summary>
+ Studios = 3,
+
+ /// <summary>
+ /// Tags.
+ /// </summary>
+ Tags = 4,
+
+ /// <summary>
+ /// InheritedTags.
+ /// </summary>
+ InheritedTags = 6,
+}