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)