File

data class File(val name: String, val contentType: String?, val bytes: ByteArray)

A representation of a file in a multipart form request.

Constructors

Link copied to clipboard
constructor(name: String, contentType: String?, bytes: ByteArray)

Properties

Link copied to clipboard

The content of the file.

Link copied to clipboard

The content type of the file.

Link copied to clipboard

The name of the file.

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int