DeleteMessagesForFolderIdInput

data class DeleteMessagesForFolderIdInput(val emailFolderId: String, val emailAddressId: String, val hardDelete: Boolean? = null)

Input object containing the properties needed to delete messages for an email folder.

Constructors

Link copied to clipboard
constructor(emailFolderId: String, emailAddressId: String, hardDelete: Boolean? = null)

Properties

Link copied to clipboard

String The identifier of the email address that owns the folder.

Link copied to clipboard

String The identifier of the folder to delete messages from.

Link copied to clipboard
val hardDelete: Boolean? = null

Boolean (optional) If true (default), messages will be completely deleted. If false, messages will be moved to TRASH, unless the folder itself is TRASH.