commonMain.kiota.SegmentMatch.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kiota-url Show documentation
Show all versions of kiota-url Show documentation
A kotlin multiplatform library for representing headless collection based ui such as lists, tables and grids
@file:JsExport
package kiota
import kotlinx.JsExport
sealed interface SegmentMatch {
val path: String
}
data class WildCardMatch(override val path: String) : SegmentMatch
data class DynamicParamMatch(
override val path: String,
val key: String,
val value: String
) : SegmentMatch
data class ExactMatch(override val path: String) : SegmentMatch