mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-12-24 23:16:44 +00:00
Add builtin field in Appliance model
This commit is contained in:
parent
785eff869d
commit
9357ac6035
@ -417,6 +417,7 @@ class Appliance(BaseModel):
|
|||||||
|
|
||||||
appliance_id: UUID = Field(..., title='Appliance ID')
|
appliance_id: UUID = Field(..., title='Appliance ID')
|
||||||
name: str = Field(..., title='Appliance name')
|
name: str = Field(..., title='Appliance name')
|
||||||
|
builtin: Optional[bool] = Field(None, title='Whether the appliance is builtin or not')
|
||||||
category: Category = Field(..., title='Category of the appliance')
|
category: Category = Field(..., title='Category of the appliance')
|
||||||
description: str = Field(
|
description: str = Field(
|
||||||
..., title='Description of the appliance. Could be a marketing description'
|
..., title='Description of the appliance. Could be a marketing description'
|
||||||
|
Loading…
Reference in New Issue
Block a user