DashboardOptionsConfig

@Serializable
data class DashboardOptionsConfig(val errorPresetsDeprecated: List<DashboardOverridePreset> = emptyList(), val presets: List<DashboardOverridePreset>)

Configures the preset responses available to users in the Mockzilla management dashboard for a specific endpoint. Presets let dashboard users quickly switch between common response scenarios without modifying code.

Construct via Builder and attach to an endpoint using EndpointConfiguration.Builder.configureDashboardOverrides.

Constructors

Link copied to clipboard
constructor(errorPresetsDeprecated: List<DashboardOverridePreset> = emptyList(), presets: List<DashboardOverridePreset>)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
@EncodeDefault
@SerialName(value = "errorPresets")
val errorPresetsDeprecated: List<DashboardOverridePreset>

Do not use, this is for legacy parsing only

Link copied to clipboard