DeleteCollectionRequest

data class DeleteCollectionRequest(val groupName: String, val mode: String, val scope: String = "all", val dryRun: Boolean = false, val confirm: Boolean = false)

Dry-run or confirmed collection deletion request.

Constructors

Link copied to clipboard
constructor(groupName: String, mode: String, scope: String = "all", dryRun: Boolean = false, confirm: Boolean = false)

Properties

Link copied to clipboard

explicit deletion confirmation

Link copied to clipboard

whether to preview without mutation

Link copied to clipboard

collection group name

Link copied to clipboard

collection mode

Link copied to clipboard

deletion scope

Functions

Link copied to clipboard
fun toMap(): Map<String, Any?>

Converts this request to its wire-field map.

Link copied to clipboard
fun validate()

Validates required collection identifiers.