Entities#
CountryEntity #
CountryEntity(
country_code: TemplatedStringItem,
show_flag: bool = True,
)
Country entity spec.
Construct country entity.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
country_code
|
TemplatedStringItem
|
country code. |
required |
show_flag
|
bool
|
show country flag. |
True
|
CustomEntity #
CustomEntity(name: TemplatedStringItem)
Custom entity spec.
Construct custom entity.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
name
|
TemplatedStringItem
|
name for custom entity. |
required |