Companion

Properties

Link copied to clipboard
open override val fields: List<String>

The field names for this path parameter.

Link copied to clipboard
open val name: String

Display name for this field, derived from fields.

Functions

Link copied to clipboard
@JvmName(name = "andEmptyPathFieldRight")
infix fun <A> PathField<A>.and(other: Empty): PathField<A>

Creates a pair of path fields as PathPairField, optimizing for Empty on the right.

infix fun <A, B> PathField<A>.and(other: PathField<B>): PathPairField<A, B>

Creates a pair of path fields as PathPairField.

Link copied to clipboard

Creates a PathParams object from the given value.

Link copied to clipboard
context(_: Raise<Issue>)
open override fun decode(params: Map<String, String>): ApiKeyIdPath
Link copied to clipboard
open override fun encodePath(value: ApiKeyIdPath): Map<String, String>
Link copied to clipboard
open override fun flatten(): List<PathField<*>>

Flattens the PathField into its constituent fields.

Link copied to clipboard

Marks a path field as optional.