ContentBlock

A block of content in a response.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The binary data content of the block.

Link copied to clipboard

The description of the content block.

Link copied to clipboard

The MIME type of the content.

Link copied to clipboard
val name: String?

The name of the content block.

Link copied to clipboard

The resource associated with the content block.

Link copied to clipboard
val size: Long?

The size of the content in bytes.

Link copied to clipboard
val text: String?

The text content of the block.

Link copied to clipboard

The type of content in the block.

Link copied to clipboard
val uri: String?

The URI of the content.

Functions

Link copied to clipboard
inline fun copy(block: ContentBlock.Builder.() -> Unit = {}): ContentBlock
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String