DashboardOverridePreset
@Serializable
A named response configuration that can be applied to an endpoint from the Mockzilla management dashboard, overriding the endpoint's default or error response for a session.
Constructors
Link copied to clipboard
constructor(name: String, description: String?, type: DashboardOverridePreset.Type?, response: PartialMockzillaHttpResponse, isManagementUiDefinedCustomPreset: Boolean = false)
Types
Link copied to clipboard
Visual classification for a DashboardOverridePreset in the management dashboard. Used to display presets with appropriate styling.
Properties
Link copied to clipboard
Optional description shown alongside the preset in the dashboard.
Link copied to clipboard
true when this preset was created interactively by a user in the management dashboard, as opposed to being defined in code via EndpointConfiguration.Builder.configureDashboardOverrides.
Link copied to clipboard
The partial response this preset applies when selected.
Link copied to clipboard
Visual classification for the preset in the dashboard. Defaults to a type inferred from the response status code when null.