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

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

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