UploadFileConfig

@Serializable
data class UploadFileConfig(val httpOptions: HttpOptions? = null, val name: String? = null, val mimeType: String? = null, val displayName: String? = null)

Used to override the default configuration.

Constructors

Link copied to clipboard
constructor(httpOptions: HttpOptions? = null, name: String? = null, mimeType: String? = null, displayName: String? = null)

Properties

Link copied to clipboard
val displayName: String? = null

Optional display name of the file.

Link copied to clipboard

Used to override HTTP request options.

Link copied to clipboard
val mimeType: String? = null

mime_type: The MIME type of the file. If not provided, it will be inferred from the file extension.

Link copied to clipboard
val name: String? = null

The name of the file in the destination (e.g., 'files/sample-image'. If not provided one will be generated.