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 Details

    • TemplateCopyRequest

      public TemplateCopyRequest()
  • Method Details

    • 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