using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Serialization; using System.Text; namespace Umbraco.Web.Models.ContentEditing { /// /// A model representing a new sort order for a content/media item /// [DataContract(Name = "content", Namespace = "")] public class ContentSortOrder { /// /// The parent Id of the nodes being sorted /// /// /// This is nullable because currently we don't require this for media sorting /// [DataMember(Name = "parentId")] public int? ParentId { get; set; } /// /// An array of integer Ids representing the sort order /// /// /// Of course all of these Ids should be at the same level in the heirarchy!! /// [DataMember(Name = "idSortOrder")] public int[] IdSortOrder { get; set; } } }