TemplateFile

class TemplateFile(val content: ByteArray, val fileName: String?, val contentType: String?)

A downloaded template document.

Constructors

Link copied to clipboard
constructor(content: ByteArray, fileName: String?, contentType: String?)

Properties

Link copied to clipboard

Raw bytes of the template file as stored by Carbone.

Link copied to clipboard

MIME type from the response, when Carbone provided one.

Link copied to clipboard

File name from Content-Disposition, when Carbone provided one.

Functions

Link copied to clipboard
open override fun toString(): String