UploadExpirationPolicy

@Serializable
data class UploadExpirationPolicy(val seconds: Long, val anchor: String = "created_at")

Expiration of the resulting file, distinct from the intermediate upload's own expiry.

Constructors

Link copied to clipboard
constructor(seconds: Long, anchor: String = "created_at")

Properties

Link copied to clipboard
@EncodeDefault
@SerialName(value = "anchor")
val anchor: String

The supported anchor is created_at.

Link copied to clipboard
@SerialName(value = "seconds")
val seconds: Long

Retention in seconds after the anchor. Current API accepts 3600 through 2592000 seconds.