final case class Text[F[_]](text: F[BodyContent]) extends MailBody[F] with Product with Serializable
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Text
- Serializable
- Product
- Equals
- MailBody
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new Text(text: F[BodyContent])
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def fold[A](empty: (Empty[F]) => A, text: (Text[F]) => A, html: (Html[F]) => A, both: (HtmlAndText[F]) => A): A
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def htmlContent(txtToHtml: (BodyContent) => BodyContent)(implicit ev: Applicative[F]): F[BodyContent]
Return the html or the text content.
Return the html or the text content. If only text is available, it is applied to the given function that may convert it into html.
- Definition Classes
- MailBody
- def htmlPart(implicit ev: Applicative[F]): F[Option[BodyContent]]
Return only the html part if present.
Return only the html part if present.
- Definition Classes
- MailBody
- def isEmpty: Boolean
- Definition Classes
- MailBody
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modify(f: (BodyContent) => BodyContent)(implicit F: Applicative[F]): Text[F]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nonEmpty: Boolean
- Definition Classes
- MailBody
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val text: F[BodyContent]
- def textPart(implicit ev: Applicative[F]): F[Option[BodyContent]]
Return only the text part if present.
Return only the text part if present.
- Definition Classes
- MailBody
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withHtml(html: F[BodyContent]): MailBody[F]
- def withText(other: F[BodyContent]): MailBody[F]