Occupied is a bool, not string
This commit is contained in:
parent
c8c7c4edfc
commit
232b80583a
1 changed files with 7 additions and 7 deletions
|
@ -152,18 +152,18 @@ type Interface struct {
|
|||
Vid int `json:"vid"`
|
||||
} `json:"untagged_vlan"`
|
||||
LAG struct {
|
||||
Occupied string `json:"_occupied"`
|
||||
URL string `json:"url"`
|
||||
Display string `json:"display"`
|
||||
Name string `json:"name"`
|
||||
Device struct {
|
||||
URL string `json:"url"`
|
||||
Display string `json:"display"`
|
||||
Name string `json:"name"`
|
||||
Device struct {
|
||||
URL string `json:"url"`
|
||||
Display string `json:"display"`
|
||||
Name string `json:"name"`
|
||||
ID int `json:"id"`
|
||||
} `json:"device"`
|
||||
Cable int `json:"cable"`
|
||||
ID int `json:"id"`
|
||||
ID int `json:"id"`
|
||||
Cable int `json:"cable"`
|
||||
Occupied bool `json:"_occupied"`
|
||||
} `json:"lag"`
|
||||
Bridge struct {
|
||||
Occupied string `json:"_occupied"`
|
||||
|
|
Loading…
Reference in a new issue