diff options
| author | Bond-009 <bond.009@outlook.com> | 2024-02-07 19:32:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-07 19:32:17 +0100 |
| commit | e50170a417db57245a89238e51b535055b8b0d22 (patch) | |
| tree | 60b8fa8af1ccc1c2bfbde7867f0c2a0d344529af /Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs | |
| parent | 143ef71528eb7adfe87cd3dcb746ac655fb0aef8 (diff) | |
| parent | be29b4a0c4e0a525da0a8537810d11586cec9b67 (diff) | |
Merge pull request #10973 from nielsvanvelzen/api-dep-fixes
Fix some incompatible API deprecations
Diffstat (limited to 'Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs')
| -rw-r--r-- | Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs index acd3f29e3..12ce19368 100644 --- a/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs +++ b/Jellyfin.Api/Models/SessionDtos/ClientCapabilitiesDto.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.ComponentModel; using System.Text.Json.Serialization; using Jellyfin.Data.Enums; using Jellyfin.Extensions.Json.Converters; @@ -50,6 +51,18 @@ public class ClientCapabilitiesDto /// </summary> public string? IconUrl { get; set; } +#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member + // TODO: Remove after 10.9 + [Obsolete("Unused")] + [DefaultValue(false)] + public bool? SupportsContentUploading { get; set; } + + // TODO: Remove after 10.9 + [Obsolete("Unused")] + [DefaultValue(false)] + public bool? SupportsSync { get; set; } +#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member + /// <summary> /// Convert the dto to the full <see cref="ClientCapabilities"/> model. /// </summary> |
