GroupEnvironmentUiModel

data class GroupEnvironmentUiModel(val groupId: String, val environmentId: String, val name: String, val url: String, val endpoints: PersistentList<EndpointUiModel>)

UI model for a single API group + environment combination.

Each tab in the Network Mock screen represents one GroupEnvironmentUiModel, showing the resolved endpoints for that specific group and environment.

Constructors

Link copied to clipboard
constructor(groupId: String, environmentId: String, name: String, url: String, endpoints: PersistentList<EndpointUiModel>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val endpoints: PersistentList<EndpointUiModel>

The resolved endpoints with their current mock states

Link copied to clipboard

Human-readable display name, e.g. "My Backend — Staging"

Link copied to clipboard
val url: String

The base URL for this group in this environment