Files
SabreTools.Models/Xbox/Image.cs
Deterous 295d8c7612 XboxOne/XboxSX catalog.js Model (#5)
* XboxOne catalog.js model

* Split Catalog object, bump version

* Minor fixes

* Custom JsonConverter for launchPackage

* Make launchPackage an abstract object

* Don't ignore packages

* Fix field types for Catalog/Package
2024-04-02 07:54:57 -07:00

26 lines
743 B
C#

using Newtonsoft.Json;
namespace SabreTools.Models.Xbox
{
/// <summary>
/// List of image files associated with a package in catalog.js
/// </summary>
public class Image
{
/// <summary>
/// "size":
/// String representing image size
/// Known values: "100x100", "208x208", "480x480"
/// </summary>
[JsonProperty("size", NullValueHandling = NullValueHandling.Ignore)]
public string? Size { get; set; }
/// <summary>
/// "image":
/// File name of image within MSXC/Metadata/<PackageName>/
/// </summary>
[JsonProperty("image", NullValueHandling = NullValueHandling.Ignore)]
public string? Name { get; set; }
}
}