toggle menu
lib
common
switch theme
search in API
mockzilla-management-ui
/
com.apadmi.mockzilla.desktop.ui.widgets.endpoints.endpoints
/
EndpointsViewModel
Endpoints
View
Model
class
EndpointsViewModel
(
device
:
Device
,
endpointsService
:
<Error class: unknown class>
,
updateService
:
<Error class: unknown class>
,
eventBus
:
EventBus
,
scope
:
CoroutineScope
?
=
null
)
:
ViewModel
Members
Constructors
Endpoints
View
Model
Link copied to clipboard
constructor
(
device
:
Device
,
endpointsService
:
<Error class: unknown class>
,
updateService
:
<Error class: unknown class>
,
eventBus
:
EventBus
,
scope
:
CoroutineScope
?
=
null
)
Types
State
Link copied to clipboard
sealed
class
State
Properties
state
Link copied to clipboard
val
state
:
MutableStateFlow
<
EndpointsViewModel.State
>
view
Model
Scope
Link copied to clipboard
expect
val
viewModelScope
:
CoroutineScope
Functions
on
All
Checkbox
Changed
Link copied to clipboard
fun
onAllCheckboxChanged
(
value
:
Boolean
)
on
Checkbox
Changed
Link copied to clipboard
fun
onCheckboxChanged
(
key
:
EndpointConfiguration.Key
,
value
:
Boolean
)
on
Fail
Changed
Link copied to clipboard
fun
onFailChanged
(
key
:
EndpointConfiguration.Key
,
value
:
Boolean
)
:
Job
on
Filter
Changed
Link copied to clipboard
fun
onFilterChanged
(
value
:
String
)