using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "userGroup", Namespace = "")] public class UserGroupBasic : EntityBasic, INotificationModel { public UserGroupBasic() { Notifications = new List(); Sections = Enumerable.Empty
(); } /// /// This is used to add custom localized messages/strings to the response for the app to use for localized UI purposes. /// [DataMember(Name = "notifications")] public List Notifications { get; private set; } [DataMember(Name = "sections")] public IEnumerable
Sections { get; set; } [DataMember(Name = "contentStartNode")] public EntityBasic ContentStartNode { get; set; } [DataMember(Name = "mediaStartNode")] public EntityBasic MediaStartNode { get; set; } /// /// The number of users assigned to this group /// [DataMember(Name = "userCount")] public int UserCount { get; set; } } }