mirror of
https://github.com/fergalmoran/Readarr.git
synced 2026-01-25 10:06:48 +00:00
New: Custom Formats
Co-Authored-By: ta264 <ta264@users.noreply.github.com>
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Annotations;
|
||||
|
||||
namespace Readarr.Http.ClientSchema
|
||||
{
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace Readarr.Http.REST
|
||||
public abstract class RestResource
|
||||
{
|
||||
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
|
||||
public int Id { get; set; }
|
||||
public virtual int Id { get; set; }
|
||||
|
||||
[JsonIgnore]
|
||||
public virtual string ResourceName => GetType().Name.ToLowerInvariant().Replace("resource", "");
|
||||
|
||||
Reference in New Issue
Block a user