mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-31 21:08:27 +01:00
Renamed Guid property to Id
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#nullable disable
|
||||
using System;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace MediaBrowser.Model.Updates
|
||||
{
|
||||
@@ -9,10 +10,11 @@ namespace MediaBrowser.Model.Updates
|
||||
public class InstallationInfo
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the guid.
|
||||
/// Gets or sets the Id.
|
||||
/// </summary>
|
||||
/// <value>The guid.</value>
|
||||
public Guid Guid { get; set; }
|
||||
/// <value>The Id.</value>
|
||||
[JsonPropertyName("Guid")]
|
||||
public Guid Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace MediaBrowser.Model.Updates
|
||||
public PackageInfo()
|
||||
{
|
||||
Versions = Array.Empty<VersionInfo>();
|
||||
Guid = string.Empty;
|
||||
Id = string.Empty;
|
||||
Category = string.Empty;
|
||||
Name = string.Empty;
|
||||
Overview = string.Empty;
|
||||
@@ -65,9 +65,7 @@ namespace MediaBrowser.Model.Updates
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
[JsonPropertyName("guid")]
|
||||
#pragma warning disable CA1720 // Identifier contains type name
|
||||
public string Guid { get; set; }
|
||||
#pragma warning restore CA1720 // Identifier contains type name
|
||||
public string Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the versions.
|
||||
|
||||
Reference in New Issue
Block a user