trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-core
/
de.connect2x.trixnity.core.model.events.block.m
/
TextContentBlock
Text
Content
Block
@
Serializable
@
JvmInline
value
class
TextContentBlock
(
representations
:
List
<
TextContentBlock.Representation
>
)
:
EventContentBlock.Default
,
List
<
TextContentBlock.Representation
>
Members
Constructors
Text
Content
Block
Link copied to clipboard
constructor
(
representations
:
List
<
TextContentBlock.Representation
>
)
constructor
(
body
:
String
,
mimeType
:
String
?
=
null
)
constructor
(
vararg
representation
:
TextContentBlock.Representation
)
Types
Representation
Link copied to clipboard
@
Serializable
data
class
Representation
(
val
body
:
String
,
val
mimeType
:
String
?
=
null
)
Type
Link copied to clipboard
object
Type
:
EventContentBlock.Type
<
TextContentBlock
>
Properties
html
Link copied to clipboard
val
html
:
String
?
plain
Link copied to clipboard
val
plain
:
String
?
size
Link copied to clipboard
open
override
val
size
:
Int
type
Link copied to clipboard
open
override
val
type
:
EventContentBlock.Type
<
TextContentBlock
>
Functions
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
TextContentBlock.Representation
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
TextContentBlock.Representation
>
)
:
Boolean
get
Link copied to clipboard
operator
fun
get
(
mimeType
:
String
)
:
String
?
open
operator override
fun
get
(
index
:
Int
)
:
TextContentBlock.Representation
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
TextContentBlock.Representation
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
Iterator
<
TextContentBlock.Representation
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
TextContentBlock.Representation
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
ListIterator
<
TextContentBlock.Representation
>
open
override
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
TextContentBlock.Representation
>
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
TextContentBlock.Representation
>