mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
Method, Variable, Class Renames in Readarr.Api
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
using NzbDrone.Core.Parser;
|
||||
using Readarr.Api.V1.Albums;
|
||||
using Readarr.Api.V1.Artist;
|
||||
using Readarr.Api.V1.Author;
|
||||
using Readarr.Api.V1.Books;
|
||||
using Readarr.Http;
|
||||
|
||||
namespace Readarr.Api.V1.Parse
|
||||
@@ -33,9 +33,9 @@ namespace Readarr.Api.V1.Parse
|
||||
return new ParseResource
|
||||
{
|
||||
Title = title,
|
||||
ParsedAlbumInfo = remoteAlbum.ParsedBookInfo,
|
||||
Artist = remoteAlbum.Author.ToResource(),
|
||||
Albums = remoteAlbum.Books.ToResource()
|
||||
ParsedBookInfo = remoteAlbum.ParsedBookInfo,
|
||||
Author = remoteAlbum.Author.ToResource(),
|
||||
Books = remoteAlbum.Books.ToResource()
|
||||
};
|
||||
}
|
||||
else
|
||||
@@ -43,7 +43,7 @@ namespace Readarr.Api.V1.Parse
|
||||
return new ParseResource
|
||||
{
|
||||
Title = title,
|
||||
ParsedAlbumInfo = parsedAlbumInfo
|
||||
ParsedBookInfo = parsedAlbumInfo
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Collections.Generic;
|
||||
using NzbDrone.Core.Parser.Model;
|
||||
using Readarr.Api.V1.Albums;
|
||||
using Readarr.Api.V1.Artist;
|
||||
using Readarr.Api.V1.Author;
|
||||
using Readarr.Api.V1.Books;
|
||||
using Readarr.Http.REST;
|
||||
|
||||
namespace Readarr.Api.V1.Parse
|
||||
@@ -9,8 +9,8 @@ namespace Readarr.Api.V1.Parse
|
||||
public class ParseResource : RestResource
|
||||
{
|
||||
public string Title { get; set; }
|
||||
public ParsedBookInfo ParsedAlbumInfo { get; set; }
|
||||
public ArtistResource Artist { get; set; }
|
||||
public List<AlbumResource> Albums { get; set; }
|
||||
public ParsedBookInfo ParsedBookInfo { get; set; }
|
||||
public AuthorResource Author { get; set; }
|
||||
public List<BookResource> Books { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user