using System; namespace StardewModdingAPI.Web.Framework.Clients.Pastebin { /// The response for a get-paste request. internal class PasteInfo { /// Whether the log was successfully fetched. public bool Success { get; set; } /// The fetched paste 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; } } }