org.jetbrains.kotlinx.jupyter.messaging.completion.kt Maven / Gradle / Ivy
package org.jetbrains.kotlinx.jupyter.messaging
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable
@Serializable
class CompleteReply(
val matches: List,
@SerialName("cursor_start")
val cursorStart: Int,
@SerialName("cursor_end")
val cursorEnd: Int,
val paragraph: Paragraph,
val metadata: Metadata,
) : OkReply() {
@Serializable
class Metadata(
@SerialName("_jupyter_types_experimental")
val experimentalTypes: List,
@SerialName("_jupyter_extended_metadata")
val extended: List,
)
@Serializable
class ExperimentalType(
val text: String,
val type: String,
val start: Int,
val end: Int,
)
@Serializable
class ExtendedMetadataEntry(
val text: String,
val displayText: String,
val icon: String,
val tail: String,
val deprecation: String?,
)
}