Class MoveOrCopy
A model representing a model for moving or copying
Inheritance
System.Object
Namespace: Umbraco.Web.Models.ContentEditing
Assembly: Umbraco.Web.dll
Syntax
[DataContract(Name = "content", Namespace = "")]
public class MoveOrCopy
Properties
View SourceId
The id of the node to move or copy
Declaration
[DataMember(Name = "id", IsRequired = true)]
[Required]
public int Id { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
ParentId
The Id of the node to move or copy to
Declaration
[DataMember(Name = "parentId", IsRequired = true)]
[Required]
public int ParentId { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 |
Recursive
Boolean indicating whether copying the object should be recursive
Declaration
[DataMember(Name = "recursive", IsRequired = true)]
[Required]
public bool Recursive { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
RelateToOriginal
Boolean indicating whether copying the object should create a relation to it's original
Declaration
[DataMember(Name = "relateToOriginal", IsRequired = true)]
[Required]
public bool RelateToOriginal { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |