summaryrefslogtreecommitdiff
path: root/src/SMAPI.Web/Framework/LogParser/GetPasteResponse.cs
blob: 4f8794db8d97abe9149d7f350aeeaed5d7bd7e5d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace StardewModdingAPI.Web.Framework.LogParser
{
    /// <summary>The response for a get-paste request.</summary>
    internal class GetPasteResponse
    {
        /// <summary>Whether the log was successfully fetched.</summary>
        public bool Success { get; set; }

        /// <summary>The fetched paste content (if <see cref="Success"/> is <c>true</c>).</summary>
        public string Content { get; set; }

        /// <summary>The error message (if saving failed).</summary>
        public string Error { get; set; }
    }
}