UpdateRequest

data class UpdateRequest(val bitlink: String, val title: String? = null, val archived: Boolean? = null, val tags: List<String>? = null, val deeplinks: List<Deeplink>? = null, val toJson: Boolean = false) : BitlinkRequest(source)

Parameters for updating an existing Bitlink.

Only the fields supported by the Bitly update endpoint are included in the request payload. Optional values are omitted when not provided. When toJson is true, the full JSON response is returned instead of a boolean success indicator.

Author

Erik C. Thauvin

Since

3.0

Constructors

Link copied to clipboard
constructor(bitlink: String, title: String? = null, archived: Boolean? = null, tags: List<String>? = null, deeplinks: List<Deeplink>? = null, toJson: Boolean = false)

Properties

Link copied to clipboard
val archived: Boolean? = null
Link copied to clipboard
Link copied to clipboard
open override val deeplinks: List<Deeplink>? = null
Link copied to clipboard
open override val tags: List<String>? = null
Link copied to clipboard
open override val title: String? = null
Link copied to clipboard
open override val toJson: Boolean = false