EndpointConfiguration

data class EndpointConfiguration(val name: String, val key: EndpointConfiguration.Key, val shouldFail: Boolean, val delay: Int? = null, val dashboardOptionsConfig: DashboardOptionsConfig, val versionCode: Int, val endpointMatcher: MockzillaHttpRequest.() -> Boolean, val defaultHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse, val errorHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse)

Constructors

Link copied to clipboard
constructor(name: String, key: EndpointConfiguration.Key, shouldFail: Boolean, delay: Int? = null, dashboardOptionsConfig: DashboardOptionsConfig, versionCode: Int, endpointMatcher: MockzillaHttpRequest.() -> Boolean, defaultHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse, errorHandler: MockzillaHttpRequest.() -> MockzillaHttpResponse)

Types

Link copied to clipboard
class Builder(key: String)
Link copied to clipboard
@Serializable
value class Key(val raw: String)

Properties

Link copied to clipboard
val delay: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard