diff --git a/netbox_interfaces.go b/netbox_interfaces.go index 58c41fc..2093856 100644 --- a/netbox_interfaces.go +++ b/netbox_interfaces.go @@ -93,19 +93,19 @@ type InterfaceFilter struct { ConnectionStatus string `schema:"connection_status,omitempty"` Type string `schema:"type,omitempty"` Mtu string `schema:"mtu,omitempty"` - MgmtOnly string `schema:"mgmt_only"` - Mode string `schema:"mode"` - Description string `schema:"description"` - Q string `schema:"q"` - Device string `schema:"device"` - DeviceId string `schema:"device_id"` - Cabled string `schema:"cabled"` - Kind string `schema:"kind"` - LagId string `schema:"lag_id"` - MacAddress string `schema:"mac_address"` - Tag string `schema:"tag"` - VlanId string `schema:"vlan_id"` - Vlan string `schema:"vlan"` + MgmtOnly string `schema:"mgmt_only,omitempty"` + Mode string `schema:"mode,omitempty"` + Description string `schema:"description,omitempty"` + Q string `schema:"q,omitempty"` + Device string `schema:"device,omitempty"` + DeviceId string `schema:"device_id,omitempty"` + Cabled string `schema:"cabled,omitempty"` + Kind string `schema:"kind,omitempty"` + LagId string `schema:"lag_id,omitempty"` + MacAddress string `schema:"mac_address,omitempty"` + Tag string `schema:"tag,omitempty"` + VlanId string `schema:"vlan_id,omitempty"` + Vlan string `schema:"vlan,omitempty"` } func (i *Dcim_Interfaces_List) ListInterfaces(n *NetBox, f *InterfaceFilter) error {