SerializableEndpointConfig

@Serializable
data class SerializableEndpointConfig(val key: EndpointConfiguration.Key, val name: String, val versionCode: Int, val shouldFail: Boolean?, val delayMs: Int?, val defaultHeaders: Map<String, String>?, val defaultBody: String?, val defaultStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?, val errorHeaders: Map<String, String>?, val errorBody: String?, val errorStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?)

Constructors

Link copied to clipboard
constructor(key: EndpointConfiguration.Key, name: String, versionCode: Int, shouldFail: Boolean?, delayMs: Int?, defaultHeaders: Map<String, String>?, defaultBody: String?, defaultStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?, errorHeaders: Map<String, String>?, errorBody: String?, errorStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val defaultStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?
Link copied to clipboard
val delayMs: Int?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val errorStatus: @Serializable(with = HttpStatusCodeSerializer::class) HttpStatusCode?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard