CreateFileParameters

@Serializable
data class CreateFileParameters(val file: File? = null, val config: CreateFileConfig? = null)

Generates the parameters for the private _create method.

Constructors

Link copied to clipboard
constructor(file: File? = null, config: CreateFileConfig? = null)

Properties

Link copied to clipboard

Used to override the default configuration.

Link copied to clipboard
val file: File? = null

The file to be uploaded. mime_type: (Required) The MIME type of the file. Must be provided. name: (Optional) The name of the file in the destination (e.g. 'files/sample-image'). display_name: (Optional) The display name of the file.