PaperFolderCreateArg

open class PaperFolderCreateArg : CustomStringConvertible

The PaperFolderCreateArg struct

  • The name of the new Paper folder.

    Declaration

    Swift

    public let name: String
  • The encrypted Paper folder Id where the new Paper folder should be created. The API user has to have write access to this folder or error is thrown. If not supplied, the new folder will be created at top level.

    Declaration

    Swift

    public let parentFolderId: String?
  • Whether the folder to be created should be a team folder. This value will be ignored if parent_folder_id is supplied, as the new folder will inherit the type (private or team folder) from its parent. We will by default create a top-level private folder if both parent_folder_id and is_team_folder are not supplied.

    Declaration

    Swift

    public let isTeamFolder: Bool?
  • Declaration

    Swift

    open var description: String { get }