Builder
class Builder
Functions
Link copied to clipboard
fun addErrorPreset(response: MockzillaHttpResponse, name: String? = null, description: String? = null): DashboardOptionsConfig.Builder
Link copied to clipboard
fun addPreset(response: MockzillaHttpResponse, name: String? = null, description: String? = null, type: DashboardOverridePreset.Type? = null): DashboardOptionsConfig.Builder
Adds a preset response option to the dashboard for this endpoint.
fun addPreset(response: PartialMockzillaHttpResponse, name: String? = null, description: String? = null, type: DashboardOverridePreset.Type? = null): DashboardOptionsConfig.Builder
Adds a partial preset response option to the dashboard for this endpoint. Only fields set on response are overridden; null fields retain the endpoint's default values.
Link copied to clipboard
fun addSuccessPreset(response: MockzillaHttpResponse, name: String? = null, description: String? = null): DashboardOptionsConfig.Builder
Link copied to clipboard