Class TemplateCopyRequest
- java.lang.Object
-
- com.gentics.contentnode.rest.model.request.TemplateCopyRequest
-
public class TemplateCopyRequest extends Object
Request to create a copy of a template
-
-
Constructor Summary
Constructors Constructor Description TemplateCopyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getFolderId()
Folder ID, where the copy shall be createdInteger
getNodeId()
Optional node ID to create the copy in a channelTemplateCopyRequest
setFolderId(int folderId)
Set the folder IDTemplateCopyRequest
setNodeId(Integer nodeId)
Set the node ID
-
-
-
Method Detail
-
getFolderId
public int getFolderId()
Folder ID, where the copy shall be created- Returns:
- folder ID
-
setFolderId
public TemplateCopyRequest setFolderId(int folderId)
Set the folder ID- Parameters:
folderId
- folder ID- Returns:
- fluent API
-
getNodeId
public Integer getNodeId()
Optional node ID to create the copy in a channel- Returns:
- node ID
-
setNodeId
public TemplateCopyRequest setNodeId(Integer nodeId)
Set the node ID- Parameters:
nodeId
- node ID- Returns:
- fluent API
-
-