SwitchCase Class

Switch cases with have a value and corresponding activities.

Inheritance
SwitchCase

Constructor

SwitchCase(*, value: typing.Union[str, NoneType] = None, activities: typing.Union[typing.List[_ForwardRef('Activity')], NoneType] = None, **kwargs)

Parameters

value
str
Required

Expected value that satisfies the expression result of the 'on' property.

activities
list[Activity]
Required

List of activities to execute for satisfied case condition.