using System; using System.Collections.Generic; using System.Runtime.Serialization; namespace Umbraco.Cms.Core.Telemetry.Models { /// /// Serializable class containing telemetry information. /// [DataContract] public class TelemetryReportData { /// /// Gets or sets a random GUID to prevent an instance posting multiple times pr. day. /// [DataMember(Name = "id")] public Guid Id { get; set; } /// /// Gets or sets the Umbraco CMS version. /// [DataMember(Name = "version")] public string Version { get; set; } /// /// Gets or sets an enumerable containing information about packages. /// /// /// Contains only the name and version of the packages, unless no version is specified. /// [DataMember(Name = "packages")] public IEnumerable Packages { get; set; } } }