Fix namespace syntax

This commit is contained in:
Bjarke Berg
2021-11-02 10:42:51 +01:00
parent b15f86c1c2
commit ab06d21639

View File

@@ -1,16 +1,18 @@
using System.Runtime.Serialization;
namespace Umbraco.Core.Models.ContentEditing;
[DataContract(Name = "historyCleanup", Namespace = "")]
public class HistoryCleanup
namespace Umbraco.Core.Models.ContentEditing
{
[DataMember(Name = "preventCleanup")]
public bool PreventCleanup { get; set; }
[DataContract(Name = "historyCleanup", Namespace = "")]
public class HistoryCleanup
{
[DataMember(Name = "preventCleanup")]
public bool PreventCleanup { get; set; }
[DataMember(Name = "keepAllVersionsNewerThanDays")]
public int? KeepAllVersionsNewerThanDays { get;set; }
[DataMember(Name = "keepAllVersionsNewerThanDays")]
public int? KeepAllVersionsNewerThanDays { get;set; }
[DataMember(Name = "keepLatestVersionPerDayForDays")]
public int? KeepLatestVersionPerDayForDays { get;set; }
[DataMember(Name = "keepLatestVersionPerDayForDays")]
public int? KeepLatestVersionPerDayForDays { get;set; }
}
}