DashboardOptionsConfig

@Serializable
data class DashboardOptionsConfig(val errorPresets: List<DashboardOverridePreset>, val successPresets: 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(errorPresets: List<DashboardOverridePreset>, successPresets: List<DashboardOverridePreset>)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
Link copied to clipboard

The list of preset responses available in the dashboard for this endpoint.