Multiplatform Ktor schema declaration • opensavvy.spine.api • Parameters • ListParameter
ListParameter¶
class ListParameter<T>(val name: String)
A declared query list parameter in an API schema.
See Parameters.
Constructors¶
ListParameter¶
constructor(name: String)
Properties¶
name¶
Name of the parameter as it appears in the URL.
Functions¶
getValue¶
inline operator fun <T> Parameters.ListParameter<T>.getValue(thisRef: Parameters, property: KProperty<*>): List<T>
Internal method used by the parameter declaration syntax.
setValue¶
inline operator fun <T> Parameters.ListParameter<T>.setValue(thisRef: Parameters, property: KProperty<*>, value: List<T>)
Internal method used by the parameter declaration syntax.