Content

mcp.schema.Content
See theContent companion trait
object Content

Attributes

Companion
trait
Source
Content.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Content.type

Members list

Type members

Classlikes

final case class Embedded(audience: List[Role], priority: Double, resource: ResourceContents) extends Content

Attributes

Companion
object
Source
Content.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
object Embedded

Attributes

Companion
class
Source
Content.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Embedded.type
final case class Image(audience: List[Role], priority: Double, data: String, mimeType: String) extends Content

Attributes

Companion
object
Source
Content.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
object Image

Attributes

Companion
class
Source
Content.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Image.type
final case class Text(audience: Option[List[Role]], priority: Option[Double], text: String) extends Content

Attributes

Companion
object
Source
Content.scala
Supertypes
trait Serializable
trait Product
trait Equals
trait Content
class Object
trait Matchable
class Any
Show all
object Text

Attributes

Companion
class
Source
Content.scala
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
Text.type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def embedded(audience: List[Role], priority: Double, resource: ResourceContents): Embedded

Attributes

Source
Content.scala
def image(audience: List[Role], priority: Double, data: String, mimeType: String): Image

Attributes

Source
Content.scala
def text(text: String): Text

Attributes

Source
Content.scala

Givens

Givens