Class ContentTypeCleanupBase
Serves as the base class for view models related to content type cleanup operations in the management API.
Inheritance
object
Namespace: Umbraco.Cms.Api.Management.ViewModels.ContentType
Assembly: Umbraco.Cms.Api.Management.dll
Syntax
public abstract class ContentTypeCleanupBase
Constructors
View SourceContentTypeCleanupBase()
Declaration
protected ContentTypeCleanupBase()
Properties
View SourceKeepAllVersionsNewerThanDays
Gets or sets the number of days; all content versions newer than this value will be retained.
Declaration
public int? KeepAllVersionsNewerThanDays { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
KeepLatestVersionPerDayForDays
Gets or sets the number of days to keep the latest version per day.
Declaration
public int? KeepLatestVersionPerDayForDays { get; init; }
Property Value
| Type | Description |
|---|---|
| int? |
PreventCleanup
Gets a value indicating whether cleanup should be prevented.
Declaration
public bool PreventCleanup { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |