ResourceContents

@Serializable(with = ResourceContentsPolymorphicSerializer::class)
sealed interface ResourceContents(source)

The contents of a specific resource or sub-resource.

Inheritors

Properties

Link copied to clipboard
abstract val mimeType: String?

The MIME type of this resource, if known.

Link copied to clipboard
abstract val uri: String

The URI of this resource.