using System; namespace JustTrack { #pragma warning disable SA1401, SA1307 // Fields should be private; field names should begin with upper-case letter (required for JSON serialization) /// /// Represents crash data information for the justtrack SDK. /// [Serializable] internal class CrashData { /// /// Gets or sets the timestamp when the crash occurred. /// public string timestamp = string.Empty; /// /// Gets or sets the stack trace of the crash. /// public string stacktrace = string.Empty; /// /// Gets or sets the name of the crash. /// public string name = string.Empty; /// /// Gets or sets the reason for the crash. /// public string reason = string.Empty; /// /// Gets or sets the type of crash. /// public int crashType; } /// /// Wrapper class for crash data used by the justtrack SDK. /// [Serializable] internal class CrashWrapper { /// /// Gets or sets the crash data. /// public CrashData data = new CrashData(); } #pragma warning restore SA1401, SA1307 }