using System.Runtime.Serialization;
using Umbraco.Cms.Core.Models.Editors;
namespace Umbraco.Cms.Core.Models.ContentEditing;
///
/// This is used for the response of PostAddFile so that we can analyze the response in a filter and remove the
/// temporary files that were created.
///
[DataContract]
public class PostedFiles : IHaveUploadedFiles, INotificationModel
{
public PostedFiles()
{
UploadedFiles = new List();
Notifications = new List();
}
public List UploadedFiles { get; }
[DataMember(Name = "notifications")]
public List Notifications { get; private set; }
}