#nullable disable
using System;
namespace StardewModdingAPI.Web.Framework.Storage
{
/// The response for a get-file request.
internal class StoredFileInfo
{
/// Whether the file was successfully fetched.
public bool Success { get; set; }
/// The fetched file content (if is true).
public string Content { get; set; }
/// When the file will no longer be available.
public DateTime? Expiry { get; set; }
/// The error message if saving succeeded, but a non-blocking issue was encountered.
public string Warning { get; set; }
/// The error message if saving failed.
public string Error { get; set; }
}
}