toString

open override fun toString(): String

This override is the key. Ktorfit's @Query will call this method to get the string value for the URL.