Replace most parts with Kotlin equivalents
[Sone.git] / src / main / kotlin / net / pterodactylus / sone / text / PlainTextPart.kt
diff --git a/src/main/kotlin/net/pterodactylus/sone/text/PlainTextPart.kt b/src/main/kotlin/net/pterodactylus/sone/text/PlainTextPart.kt
new file mode 100644 (file)
index 0000000..4a495b4
--- /dev/null
@@ -0,0 +1,8 @@
+package net.pterodactylus.sone.text
+
+/**
+ * [Part] implementation that holds a single piece of text.
+ *
+ * @author [David Roden](mailto:d.roden@emetriq.com)
+ */
+data class PlainTextPart(override val text: String) : Part