From 5ec76803a5e3cd799e3092e0dd347c7bad356522 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Tue, 1 Dec 2020 12:54:14 +0100 Subject: [PATCH] PrefixCount and VlanCount is integers. --- netbox_tenants.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netbox_tenants.go b/netbox_tenants.go index 65a96e0..30d328b 100644 --- a/netbox_tenants.go +++ b/netbox_tenants.go @@ -55,11 +55,11 @@ type TenancyTenantsList struct { CircuitCount interface{} `json:"circuit_count"` DeviceCount int `json:"device_count"` IpaddressCount interface{} `json:"ipaddress_count"` - PrefixCount interface{} `json:"prefix_count"` + PrefixCount int `json:"prefix_count"` RackCount interface{} `json:"rack_count"` SiteCount int `json:"site_count"` VirtualmachineCount interface{} `json:"virtualmachine_count"` - VlanCount interface{} `json:"vlan_count"` + VlanCount int `json:"vlan_count"` VrfCount interface{} `json:"vrf_count"` } `json:"results"` }