omitempty for URL schema.

This commit is contained in:
Kalle Carlbark 2019-09-11 11:18:45 +02:00
parent 275013bd15
commit 764ebce42b
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -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 {