mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 03:48:06 +02:00
Merge pull request #3959 from Bond-009/warn27
Enable TreatWarningsAsErrors for Emby.Data in Release
This commit is contained in:
commit
f9bb79285b
51 changed files with 169 additions and 4 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public Book(Guid urlid, DateTime dateadded)
|
public Book(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static Book Create(Guid urlid, DateTime dateadded)
|
public static Book Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new Book(urlid, dateadded);
|
return new Book(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_book0"></param>
|
/// <param name="_book0"></param>
|
||||||
public BookMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0)
|
public BookMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0)
|
||||||
{
|
{
|
||||||
|
@ -65,6 +69,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_book0"></param>
|
/// <param name="_book0"></param>
|
||||||
public static BookMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0)
|
public static BookMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Book _book0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_company0"></param>
|
/// <param name="_company0"></param>
|
||||||
public CompanyMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0)
|
public CompanyMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0)
|
||||||
{
|
{
|
||||||
|
@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_company0"></param>
|
/// <param name="_company0"></param>
|
||||||
public static CompanyMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0)
|
public static CompanyMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Company _company0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public CustomItem(Guid urlid, DateTime dateadded)
|
public CustomItem(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static CustomItem Create(Guid urlid, DateTime dateadded)
|
public static CustomItem Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new CustomItem(urlid, dateadded);
|
return new CustomItem(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace Jellyfin.Data.Entities
|
namespace Jellyfin.Data.Entities
|
||||||
|
@ -27,6 +29,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_customitem0"></param>
|
/// <param name="_customitem0"></param>
|
||||||
public CustomItemMetadata(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0)
|
public CustomItemMetadata(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0)
|
||||||
{
|
{
|
||||||
|
@ -59,6 +63,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_customitem0"></param>
|
/// <param name="_customitem0"></param>
|
||||||
public static CustomItemMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0)
|
public static CustomItemMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, CustomItem _customitem0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_season0"></param>
|
/// <param name="_season0"></param>
|
||||||
public Episode(Guid urlid, DateTime dateadded, Season _season0)
|
public Episode(Guid urlid, DateTime dateadded, Season _season0)
|
||||||
{
|
{
|
||||||
|
@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_season0"></param>
|
/// <param name="_season0"></param>
|
||||||
public static Episode Create(Guid urlid, DateTime dateadded, Season _season0)
|
public static Episode Create(Guid urlid, DateTime dateadded, Season _season0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
||||||
|
@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_episode0"></param>
|
/// <param name="_episode0"></param>
|
||||||
public EpisodeMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0)
|
public EpisodeMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0)
|
||||||
{
|
{
|
||||||
|
@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_episode0"></param>
|
/// <param name="_episode0"></param>
|
||||||
public static EpisodeMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0)
|
public static EpisodeMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Episode _episode0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
using System;
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
using System;
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -20,6 +22,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
protected LibraryItem(Guid urlid, DateTime dateadded)
|
protected LibraryItem(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
protected Metadata(string title, string language, DateTime dateadded, DateTime datemodified)
|
protected Metadata(string title, string language, DateTime dateadded, DateTime datemodified)
|
||||||
{
|
{
|
||||||
if (string.IsNullOrEmpty(title))
|
if (string.IsNullOrEmpty(title))
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public Movie(Guid urlid, DateTime dateadded)
|
public Movie(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static Movie Create(Guid urlid, DateTime dateadded)
|
public static Movie Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new Movie(urlid, dateadded);
|
return new Movie(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_movie0"></param>
|
/// <param name="_movie0"></param>
|
||||||
public MovieMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0)
|
public MovieMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0)
|
||||||
{
|
{
|
||||||
|
@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_movie0"></param>
|
/// <param name="_movie0"></param>
|
||||||
public static MovieMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0)
|
public static MovieMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Movie _movie0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public MusicAlbum(Guid urlid, DateTime dateadded)
|
public MusicAlbum(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static MusicAlbum Create(Guid urlid, DateTime dateadded)
|
public static MusicAlbum Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new MusicAlbum(urlid, dateadded);
|
return new MusicAlbum(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_musicalbum0"></param>
|
/// <param name="_musicalbum0"></param>
|
||||||
public MusicAlbumMetadata(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0)
|
public MusicAlbumMetadata(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0)
|
||||||
{
|
{
|
||||||
|
@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_musicalbum0"></param>
|
/// <param name="_musicalbum0"></param>
|
||||||
public static MusicAlbumMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0)
|
public static MusicAlbumMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, MusicAlbum _musicalbum0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
using Jellyfin.Data.Enums;
|
using Jellyfin.Data.Enums;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid"></param>
|
/// <param name="urlid"></param>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
public Person(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
public Person(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -53,6 +57,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid"></param>
|
/// <param name="urlid"></param>
|
||||||
/// <param name="name"></param>
|
/// <param name="name"></param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
public static Person Create(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
public static Person Create(Guid urlid, string name, DateTime dateadded, DateTime datemodified)
|
||||||
{
|
{
|
||||||
return new Person(urlid, name, dateadded, datemodified);
|
return new Person(urlid, name, dateadded, datemodified);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -31,6 +33,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public Photo(Guid urlid, DateTime dateadded)
|
public Photo(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -45,6 +48,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static Photo Create(Guid urlid, DateTime dateadded)
|
public static Photo Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new Photo(urlid, dateadded);
|
return new Photo(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
||||||
|
@ -28,6 +30,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_photo0"></param>
|
/// <param name="_photo0"></param>
|
||||||
public PhotoMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0)
|
public PhotoMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0)
|
||||||
{
|
{
|
||||||
|
@ -60,6 +64,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_photo0"></param>
|
/// <param name="_photo0"></param>
|
||||||
public static PhotoMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0)
|
public static PhotoMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Photo _photo0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_series0"></param>
|
/// <param name="_series0"></param>
|
||||||
public Season(Guid urlid, DateTime dateadded, Series _series0)
|
public Season(Guid urlid, DateTime dateadded, Series _series0)
|
||||||
{
|
{
|
||||||
|
@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_series0"></param>
|
/// <param name="_series0"></param>
|
||||||
public static Season Create(Guid urlid, DateTime dateadded, Series _series0)
|
public static Season Create(Guid urlid, DateTime dateadded, Series _series0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -29,6 +31,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_season0"></param>
|
/// <param name="_season0"></param>
|
||||||
public SeasonMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0)
|
public SeasonMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0)
|
||||||
{
|
{
|
||||||
|
@ -61,6 +65,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_season0"></param>
|
/// <param name="_season0"></param>
|
||||||
public static SeasonMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0)
|
public static SeasonMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Season _season0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -23,6 +25,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public Series(Guid urlid, DateTime dateadded)
|
public Series(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
this.UrlId = urlid;
|
this.UrlId = urlid;
|
||||||
|
@ -37,6 +40,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
public static Series Create(Guid urlid, DateTime dateadded)
|
public static Series Create(Guid urlid, DateTime dateadded)
|
||||||
{
|
{
|
||||||
return new Series(urlid, dateadded);
|
return new Series(urlid, dateadded);
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
@ -32,6 +34,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_series0"></param>
|
/// <param name="_series0"></param>
|
||||||
public SeriesMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0)
|
public SeriesMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0)
|
||||||
{
|
{
|
||||||
|
@ -66,6 +70,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_series0"></param>
|
/// <param name="_series0"></param>
|
||||||
public static SeriesMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0)
|
public static SeriesMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Series _series0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
using System.ComponentModel.DataAnnotations.Schema;
|
||||||
|
@ -34,6 +36,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Public constructor with required data.
|
/// Public constructor with required data.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_musicalbum0"></param>
|
/// <param name="_musicalbum0"></param>
|
||||||
public Track(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0)
|
public Track(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0)
|
||||||
{
|
{
|
||||||
|
@ -59,6 +62,7 @@ namespace Jellyfin.Data.Entities
|
||||||
/// Static create function (for use in LINQ queries, etc.)
|
/// Static create function (for use in LINQ queries, etc.)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
/// <param name="urlid">This is whats gets displayed in the Urls and API requests. This could also be a string.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
/// <param name="_musicalbum0"></param>
|
/// <param name="_musicalbum0"></param>
|
||||||
public static Track Create(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0)
|
public static Track Create(Guid urlid, DateTime dateadded, MusicAlbum _musicalbum0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.ComponentModel.DataAnnotations.Schema;
|
|
||||||
|
|
||||||
namespace Jellyfin.Data.Entities
|
namespace Jellyfin.Data.Entities
|
||||||
{
|
{
|
||||||
|
@ -28,6 +29,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_track0"></param>
|
/// <param name="_track0"></param>
|
||||||
public TrackMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0)
|
public TrackMetadata(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0)
|
||||||
{
|
{
|
||||||
|
@ -60,6 +63,8 @@ namespace Jellyfin.Data.Entities
|
||||||
/// </summary>
|
/// </summary>
|
||||||
/// <param name="title">The title or name of the object.</param>
|
/// <param name="title">The title or name of the object.</param>
|
||||||
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
/// <param name="language">ISO-639-3 3-character language codes.</param>
|
||||||
|
/// <param name="dateadded">The date the object was added.</param>
|
||||||
|
/// <param name="datemodified">The date the object was last modified.</param>
|
||||||
/// <param name="_track0"></param>
|
/// <param name="_track0"></param>
|
||||||
public static TrackMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0)
|
public static TrackMetadata Create(string title, string language, DateTime dateadded, DateTime datemodified, Track _track0)
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.ComponentModel.DataAnnotations;
|
using System.ComponentModel.DataAnnotations;
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
namespace Jellyfin.Data.Enums
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
public enum ArtKind
|
public enum ArtKind
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
namespace Jellyfin.Data.Enums
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
public enum IndexingKind
|
public enum IndexingKind
|
||||||
{
|
{
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
namespace Jellyfin.Data.Enums
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
public enum MediaFileKind
|
public enum MediaFileKind
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
#pragma warning disable CS1591
|
||||||
|
|
||||||
namespace Jellyfin.Data.Enums
|
namespace Jellyfin.Data.Enums
|
||||||
{
|
{
|
||||||
public enum PersonRoleType
|
public enum PersonRoleType
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
|
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
|
||||||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
||||||
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
<GenerateDocumentationFile>true</GenerateDocumentationFile>
|
||||||
|
<TreatWarningsAsErrors Condition=" '$(Configuration)' == 'Release' ">true</TreatWarningsAsErrors>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
||||||
|
|
Loading…
Reference in a new issue