ContainerUpload

data class ContainerUpload(val content: String? = null, val contentBase64: String? = null, val executable: Boolean? = null, val file: String, val source: String? = null, val sourceHash: String? = null)

Constructors

Link copied to clipboard
constructor(content: String? = null, contentBase64: String? = null, executable: Boolean? = null, file: String, source: String? = null, sourceHash: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val content: String? = null

Literal string value to use as the object content, which will be uploaded as UTF-8-encoded text. Conflicts with content_base64&source

Link copied to clipboard
val contentBase64: String? = null
Link copied to clipboard
val executable: Boolean? = null

If true, the file will be uploaded with user executable permission. Defaults to false.

Link copied to clipboard

Path to the file in the container where is upload goes to

Link copied to clipboard
val source: String? = null

A filename that references a file which will be uploaded as the object content. This allows for large file uploads that do not get stored in state. Conflicts with content&content_base64

Link copied to clipboard
val sourceHash: String? = null

If using source, this will force an update if the file content has updated but the filename has not.