set WarningsAsErrors = true

This commit is contained in:
John Andrews
2024-05-07 14:05:03 +12:00
parent d6c2034d8e
commit d60b0486b6
81 changed files with 732 additions and 946 deletions

View File

@@ -2,12 +2,12 @@
public class PlexDirectory
{
public string Key { get; set; }
public PlexDirectoryLocation[] Location { get; set; }
public string? Key { get; set; }
public PlexDirectoryLocation[]? Location { get; set; }
}
public class PlexDirectoryLocation
{
public int Id { get; set; }
public string Path { get; set; }
public string? Path { get; set; }
}

View File

@@ -2,14 +2,14 @@
internal class PlexMedia
{
public string RatingKey { get; set; }
public string? RatingKey { get; set; }
public int Id { get; set; }
public PlexPart[] Part { get; set; }
public PlexPart[]? Part { get; set; }
}
internal class PlexPart
{
public int Id { get; set; }
public string Key { get; set; }
public string File { get; set; }
public string? Key { get; set; }
public string? File { get; set; }
}

View File

@@ -2,7 +2,7 @@
internal class PlexMetadata
{
public string RatingKey { get; set; }
public string Key { get; set; }
public PlexMedia[] Media { get; set; }
public string? RatingKey { get; set; }
public string? Key { get; set; }
public PlexMedia[]? Media { get; set; }
}

View File

@@ -2,12 +2,12 @@
internal class PlexSections
{
public PlexSection MediaContainer { get; set; }
public PlexSection? MediaContainer { get; set; }
}
internal class PlexSection
{
public int Size { get; set; }
public PlexDirectory[] Directory { get; set; }
public PlexMetadata[] Metadata { get; set; }
public PlexDirectory[]? Directory { get; set; }
public PlexMetadata[]? Metadata { get; set; }
}