EndpointKey
A stable, value-type identifier for the triple (groupId, environmentId, endpointId).
This key uniquely addresses a single endpoint within a specific deployment environment of a specific API group. It is used everywhere the three identifiers travel together — as a map key, as a lookup token, and as the carrier inside MockMatch and EndpointDescriptor — so that callers always have named access to each component instead of relying on positional destructuring of a raw Triple.
Composite string key
Use compositeKey to obtain the "{groupId}-{environmentId}-{endpointId}" string required by DataStore and com.worldline.devview.networkmock.core.model.NetworkMockState:
val key = EndpointKey("my-backend", "staging", "getUser").compositeKey
// "my-backend-staging-getUser"See also
Properties
The canonical "{groupId}-{environmentId}-{endpointId}" string used as a DataStore preference key suffix and as the key in com.worldline.devview.networkmock.core.model.NetworkMockState.endpointStates.
The EndpointConfig.id (e.g. "getUser")
The EnvironmentConfig.id (e.g. "staging")
The ApiGroupConfig.id (e.g. "my-backend")