View Source
Class ContentItemSave
A model representing a content item to be saved
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "content", Namespace = "")]
public class ContentItemSave : IHaveUploadedFiles
Constructors
View Source
ContentItemSave()
Declaration
Properties
View Source
Action
Declaration
[DataMember(Name = "action", IsRequired = true)]
[Required]
public ContentSaveAction Action { get; set; }
Property Value
View Source
ContentTypeAlias
Declaration
[DataMember(Name = "contentTypeAlias", IsRequired = true)]
[Required(AllowEmptyStrings = false)]
public string ContentTypeAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
Id
Declaration
[DataMember(Name = "id", IsRequired = true)]
[Required]
public int Id { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
ParentId
Declaration
[DataMember(Name = "parentId", IsRequired = true)]
[Required]
public int ParentId { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
View Source
TemplateAlias
The template alias to save
Declaration
[DataMember(Name = "templateAlias")]
public string TemplateAlias { get; set; }
Property Value
Type |
Description |
System.String |
|
View Source
UploadedFiles
Declaration
[IgnoreDataMember]
public List<ContentPropertyFile> UploadedFiles { get; }
Property Value
View Source
Variants
Declaration
[DataMember(Name = "variants", IsRequired = true)]
public IEnumerable<ContentVariantSave> Variants { get; set; }
Property Value