From 380907a5f3613cd83cdba6c5970c7fcd15b100db Mon Sep 17 00:00:00 2001
From: Dave Cameron <dcameron@digitalocean.com>
Date: Thu, 15 Mar 2018 16:46:42 -0400
Subject: [PATCH] IDIn as string to allow for comma-separated list

---
 .../circuits_circuits_list_parameters.go      | 10 +++---
 .../circuits_providers_list_parameters.go     | 10 +++---
 .../dcim/dcim_device_types_list_parameters.go | 10 +++---
 .../dcim/dcim_devices_list_parameters.go      | 10 +++---
 .../dcim_rack_reservations_list_parameters.go | 10 +++---
 .../client/dcim/dcim_racks_list_parameters.go | 10 +++---
 .../client/dcim/dcim_sites_list_parameters.go | 10 +++---
 .../ipam/ip_amaggregates_list_parameters.go   | 10 +++---
 .../ipam/ip_amip_addresses_list_parameters.go | 10 +++---
 .../ipam/ip_amprefixes_list_parameters.go     | 10 +++---
 .../client/ipam/ip_amrirs_list_parameters.go  | 10 +++---
 .../client/ipam/ip_amvlans_list_parameters.go | 10 +++---
 .../client/ipam/ip_amvrfs_list_parameters.go  | 10 +++---
 .../secrets_secrets_list_parameters.go        | 10 +++---
 .../tenancy_tenants_list_parameters.go        | 10 +++---
 ...virtualization_clusters_list_parameters.go | 10 +++---
 ...zation_virtual_machines_list_parameters.go | 10 +++---
 netbox/netbox.go                              | 20 +++++++++++
 swagger.json                                  | 34 +++++++++----------
 19 files changed, 122 insertions(+), 102 deletions(-)

diff --git a/netbox/client/circuits/circuits_circuits_list_parameters.go b/netbox/client/circuits/circuits_circuits_list_parameters.go
index 3906eb8..01e99ad 100644
--- a/netbox/client/circuits/circuits_circuits_list_parameters.go
+++ b/netbox/client/circuits/circuits_circuits_list_parameters.go
@@ -85,7 +85,7 @@ type CircuitsCircuitsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*InstallDate*/
 	InstallDate *string
 	/*Limit
@@ -180,13 +180,13 @@ func (o *CircuitsCircuitsListParams) SetCommitRate(commitRate *float64) {
 }
 
 // WithIDIn adds the iDIn to the circuits circuits list params
-func (o *CircuitsCircuitsListParams) WithIDIn(iDIn *float64) *CircuitsCircuitsListParams {
+func (o *CircuitsCircuitsListParams) WithIDIn(iDIn *string) *CircuitsCircuitsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the circuits circuits list params
-func (o *CircuitsCircuitsListParams) SetIDIn(iDIn *float64) {
+func (o *CircuitsCircuitsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -376,11 +376,11 @@ func (o *CircuitsCircuitsListParams) WriteToRequest(r runtime.ClientRequest, reg
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/circuits/circuits_providers_list_parameters.go b/netbox/client/circuits/circuits_providers_list_parameters.go
index 69977a6..e7a40c0 100644
--- a/netbox/client/circuits/circuits_providers_list_parameters.go
+++ b/netbox/client/circuits/circuits_providers_list_parameters.go
@@ -85,7 +85,7 @@ type CircuitsProvidersListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -168,13 +168,13 @@ func (o *CircuitsProvidersListParams) SetAsn(asn *float64) {
 }
 
 // WithIDIn adds the iDIn to the circuits providers list params
-func (o *CircuitsProvidersListParams) WithIDIn(iDIn *float64) *CircuitsProvidersListParams {
+func (o *CircuitsProvidersListParams) WithIDIn(iDIn *string) *CircuitsProvidersListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the circuits providers list params
-func (o *CircuitsProvidersListParams) SetIDIn(iDIn *float64) {
+func (o *CircuitsProvidersListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -298,11 +298,11 @@ func (o *CircuitsProvidersListParams) WriteToRequest(r runtime.ClientRequest, re
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/dcim/dcim_device_types_list_parameters.go b/netbox/client/dcim/dcim_device_types_list_parameters.go
index d5827fb..fe8a877 100644
--- a/netbox/client/dcim/dcim_device_types_list_parameters.go
+++ b/netbox/client/dcim/dcim_device_types_list_parameters.go
@@ -81,7 +81,7 @@ type DcimDeviceTypesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*IsConsoleServer*/
 	IsConsoleServer *string
 	/*IsFullDepth*/
@@ -156,13 +156,13 @@ func (o *DcimDeviceTypesListParams) SetHTTPClient(client *http.Client) {
 }
 
 // WithIDIn adds the iDIn to the dcim device types list params
-func (o *DcimDeviceTypesListParams) WithIDIn(iDIn *float64) *DcimDeviceTypesListParams {
+func (o *DcimDeviceTypesListParams) WithIDIn(iDIn *string) *DcimDeviceTypesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the dcim device types list params
-func (o *DcimDeviceTypesListParams) SetIDIn(iDIn *float64) {
+func (o *DcimDeviceTypesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -331,11 +331,11 @@ func (o *DcimDeviceTypesListParams) WriteToRequest(r runtime.ClientRequest, reg
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/dcim/dcim_devices_list_parameters.go b/netbox/client/dcim/dcim_devices_list_parameters.go
index fd09afc..7e18af8 100644
--- a/netbox/client/dcim/dcim_devices_list_parameters.go
+++ b/netbox/client/dcim/dcim_devices_list_parameters.go
@@ -89,7 +89,7 @@ type DcimDevicesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*IsConsoleServer*/
 	IsConsoleServer *string
 	/*IsFullDepth*/
@@ -232,13 +232,13 @@ func (o *DcimDevicesListParams) SetHasPrimaryIP(hasPrimaryIP *string) {
 }
 
 // WithIDIn adds the iDIn to the dcim devices list params
-func (o *DcimDevicesListParams) WithIDIn(iDIn *float64) *DcimDevicesListParams {
+func (o *DcimDevicesListParams) WithIDIn(iDIn *string) *DcimDevicesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the dcim devices list params
-func (o *DcimDevicesListParams) SetIDIn(iDIn *float64) {
+func (o *DcimDevicesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -603,11 +603,11 @@ func (o *DcimDevicesListParams) WriteToRequest(r runtime.ClientRequest, reg strf
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/dcim/dcim_rack_reservations_list_parameters.go b/netbox/client/dcim/dcim_rack_reservations_list_parameters.go
index df189b5..bf4fd02 100644
--- a/netbox/client/dcim/dcim_rack_reservations_list_parameters.go
+++ b/netbox/client/dcim/dcim_rack_reservations_list_parameters.go
@@ -87,7 +87,7 @@ type DcimRackReservationsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -187,13 +187,13 @@ func (o *DcimRackReservationsListParams) SetGroupID(groupID *string) {
 }
 
 // WithIDIn adds the iDIn to the dcim rack reservations list params
-func (o *DcimRackReservationsListParams) WithIDIn(iDIn *float64) *DcimRackReservationsListParams {
+func (o *DcimRackReservationsListParams) WithIDIn(iDIn *string) *DcimRackReservationsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the dcim rack reservations list params
-func (o *DcimRackReservationsListParams) SetIDIn(iDIn *float64) {
+func (o *DcimRackReservationsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -366,11 +366,11 @@ func (o *DcimRackReservationsListParams) WriteToRequest(r runtime.ClientRequest,
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/dcim/dcim_racks_list_parameters.go b/netbox/client/dcim/dcim_racks_list_parameters.go
index de03837..c28c053 100644
--- a/netbox/client/dcim/dcim_racks_list_parameters.go
+++ b/netbox/client/dcim/dcim_racks_list_parameters.go
@@ -89,7 +89,7 @@ type DcimRacksListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -208,13 +208,13 @@ func (o *DcimRacksListParams) SetGroupID(groupID *string) {
 }
 
 // WithIDIn adds the iDIn to the dcim racks list params
-func (o *DcimRacksListParams) WithIDIn(iDIn *float64) *DcimRacksListParams {
+func (o *DcimRacksListParams) WithIDIn(iDIn *string) *DcimRacksListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the dcim racks list params
-func (o *DcimRacksListParams) SetIDIn(iDIn *float64) {
+func (o *DcimRacksListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -447,11 +447,11 @@ func (o *DcimRacksListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/dcim/dcim_sites_list_parameters.go b/netbox/client/dcim/dcim_sites_list_parameters.go
index e66eb40..0257a56 100644
--- a/netbox/client/dcim/dcim_sites_list_parameters.go
+++ b/netbox/client/dcim/dcim_sites_list_parameters.go
@@ -91,7 +91,7 @@ type DcimSitesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -213,13 +213,13 @@ func (o *DcimSitesListParams) SetFacility(facility *string) {
 }
 
 // WithIDIn adds the iDIn to the dcim sites list params
-func (o *DcimSitesListParams) WithIDIn(iDIn *float64) *DcimSitesListParams {
+func (o *DcimSitesListParams) WithIDIn(iDIn *string) *DcimSitesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the dcim sites list params
-func (o *DcimSitesListParams) SetIDIn(iDIn *float64) {
+func (o *DcimSitesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -424,11 +424,11 @@ func (o *DcimSitesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amaggregates_list_parameters.go b/netbox/client/ipam/ip_amaggregates_list_parameters.go
index f05f356..9a574db 100644
--- a/netbox/client/ipam/ip_amaggregates_list_parameters.go
+++ b/netbox/client/ipam/ip_amaggregates_list_parameters.go
@@ -85,7 +85,7 @@ type IPAMAggregatesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -164,13 +164,13 @@ func (o *IPAMAggregatesListParams) SetFamily(family *string) {
 }
 
 // WithIDIn adds the iDIn to the ipam aggregates list params
-func (o *IPAMAggregatesListParams) WithIDIn(iDIn *float64) *IPAMAggregatesListParams {
+func (o *IPAMAggregatesListParams) WithIDIn(iDIn *string) *IPAMAggregatesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam aggregates list params
-func (o *IPAMAggregatesListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMAggregatesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -272,11 +272,11 @@ func (o *IPAMAggregatesListParams) WriteToRequest(r runtime.ClientRequest, reg s
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amip_addresses_list_parameters.go b/netbox/client/ipam/ip_amip_addresses_list_parameters.go
index cf0dd7a..2a03ebd 100644
--- a/netbox/client/ipam/ip_amip_addresses_list_parameters.go
+++ b/netbox/client/ipam/ip_amip_addresses_list_parameters.go
@@ -87,7 +87,7 @@ type IPAMIPAddressesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*InterfaceID*/
 	InterfaceID *string
 	/*Limit
@@ -195,13 +195,13 @@ func (o *IPAMIPAddressesListParams) SetFamily(family *string) {
 }
 
 // WithIDIn adds the iDIn to the ipam ip addresses list params
-func (o *IPAMIPAddressesListParams) WithIDIn(iDIn *float64) *IPAMIPAddressesListParams {
+func (o *IPAMIPAddressesListParams) WithIDIn(iDIn *string) *IPAMIPAddressesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam ip addresses list params
-func (o *IPAMIPAddressesListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMIPAddressesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -418,11 +418,11 @@ func (o *IPAMIPAddressesListParams) WriteToRequest(r runtime.ClientRequest, reg
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amprefixes_list_parameters.go b/netbox/client/ipam/ip_amprefixes_list_parameters.go
index b43129a..2223c81 100644
--- a/netbox/client/ipam/ip_amprefixes_list_parameters.go
+++ b/netbox/client/ipam/ip_amprefixes_list_parameters.go
@@ -85,7 +85,7 @@ type IPAMPrefixesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*IsPool*/
 	IsPool *string
 	/*Limit
@@ -190,13 +190,13 @@ func (o *IPAMPrefixesListParams) SetFamily(family *string) {
 }
 
 // WithIDIn adds the iDIn to the ipam prefixes list params
-func (o *IPAMPrefixesListParams) WithIDIn(iDIn *float64) *IPAMPrefixesListParams {
+func (o *IPAMPrefixesListParams) WithIDIn(iDIn *string) *IPAMPrefixesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam prefixes list params
-func (o *IPAMPrefixesListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMPrefixesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -441,11 +441,11 @@ func (o *IPAMPrefixesListParams) WriteToRequest(r runtime.ClientRequest, reg str
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amrirs_list_parameters.go b/netbox/client/ipam/ip_amrirs_list_parameters.go
index 6645546..26d18de 100644
--- a/netbox/client/ipam/ip_amrirs_list_parameters.go
+++ b/netbox/client/ipam/ip_amrirs_list_parameters.go
@@ -81,7 +81,7 @@ type IPAMRirsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*IsPrivate*/
 	IsPrivate *string
 	/*Limit
@@ -138,13 +138,13 @@ func (o *IPAMRirsListParams) SetHTTPClient(client *http.Client) {
 }
 
 // WithIDIn adds the iDIn to the ipam rirs list params
-func (o *IPAMRirsListParams) WithIDIn(iDIn *float64) *IPAMRirsListParams {
+func (o *IPAMRirsListParams) WithIDIn(iDIn *string) *IPAMRirsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam rirs list params
-func (o *IPAMRirsListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMRirsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -214,11 +214,11 @@ func (o *IPAMRirsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amvlans_list_parameters.go b/netbox/client/ipam/ip_amvlans_list_parameters.go
index 7ab419c..652225c 100644
--- a/netbox/client/ipam/ip_amvlans_list_parameters.go
+++ b/netbox/client/ipam/ip_amvlans_list_parameters.go
@@ -85,7 +85,7 @@ type IPAMVlansListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -178,13 +178,13 @@ func (o *IPAMVlansListParams) SetGroupID(groupID *string) {
 }
 
 // WithIDIn adds the iDIn to the ipam vlans list params
-func (o *IPAMVlansListParams) WithIDIn(iDIn *float64) *IPAMVlansListParams {
+func (o *IPAMVlansListParams) WithIDIn(iDIn *string) *IPAMVlansListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam vlans list params
-func (o *IPAMVlansListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMVlansListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -363,11 +363,11 @@ func (o *IPAMVlansListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/ipam/ip_amvrfs_list_parameters.go b/netbox/client/ipam/ip_amvrfs_list_parameters.go
index 52aed0f..d84f154 100644
--- a/netbox/client/ipam/ip_amvrfs_list_parameters.go
+++ b/netbox/client/ipam/ip_amvrfs_list_parameters.go
@@ -83,7 +83,7 @@ type IPAMVrfsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -155,13 +155,13 @@ func (o *IPAMVrfsListParams) SetEnforceUnique(enforceUnique *string) {
 }
 
 // WithIDIn adds the iDIn to the ipam vrfs list params
-func (o *IPAMVrfsListParams) WithIDIn(iDIn *float64) *IPAMVrfsListParams {
+func (o *IPAMVrfsListParams) WithIDIn(iDIn *string) *IPAMVrfsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the ipam vrfs list params
-func (o *IPAMVrfsListParams) SetIDIn(iDIn *float64) {
+func (o *IPAMVrfsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -269,11 +269,11 @@ func (o *IPAMVrfsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/secrets/secrets_secrets_list_parameters.go b/netbox/client/secrets/secrets_secrets_list_parameters.go
index 78297bb..0692ae4 100644
--- a/netbox/client/secrets/secrets_secrets_list_parameters.go
+++ b/netbox/client/secrets/secrets_secrets_list_parameters.go
@@ -85,7 +85,7 @@ type SecretsSecretsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -166,13 +166,13 @@ func (o *SecretsSecretsListParams) SetDeviceID(deviceID *string) {
 }
 
 // WithIDIn adds the iDIn to the secrets secrets list params
-func (o *SecretsSecretsListParams) WithIDIn(iDIn *float64) *SecretsSecretsListParams {
+func (o *SecretsSecretsListParams) WithIDIn(iDIn *string) *SecretsSecretsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the secrets secrets list params
-func (o *SecretsSecretsListParams) SetIDIn(iDIn *float64) {
+func (o *SecretsSecretsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -285,11 +285,11 @@ func (o *SecretsSecretsListParams) WriteToRequest(r runtime.ClientRequest, reg s
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/tenancy/tenancy_tenants_list_parameters.go b/netbox/client/tenancy/tenancy_tenants_list_parameters.go
index f37af05..80e91ea 100644
--- a/netbox/client/tenancy/tenancy_tenants_list_parameters.go
+++ b/netbox/client/tenancy/tenancy_tenants_list_parameters.go
@@ -85,7 +85,7 @@ type TenancyTenantsListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -162,13 +162,13 @@ func (o *TenancyTenantsListParams) SetGroupID(groupID *string) {
 }
 
 // WithIDIn adds the iDIn to the tenancy tenants list params
-func (o *TenancyTenantsListParams) WithIDIn(iDIn *float64) *TenancyTenantsListParams {
+func (o *TenancyTenantsListParams) WithIDIn(iDIn *string) *TenancyTenantsListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the tenancy tenants list params
-func (o *TenancyTenantsListParams) SetIDIn(iDIn *float64) {
+func (o *TenancyTenantsListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -259,11 +259,11 @@ func (o *TenancyTenantsListParams) WriteToRequest(r runtime.ClientRequest, reg s
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/virtualization/virtualization_clusters_list_parameters.go b/netbox/client/virtualization/virtualization_clusters_list_parameters.go
index 6a4ff5a..c1fd970 100644
--- a/netbox/client/virtualization/virtualization_clusters_list_parameters.go
+++ b/netbox/client/virtualization/virtualization_clusters_list_parameters.go
@@ -85,7 +85,7 @@ type VirtualizationClustersListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -170,13 +170,13 @@ func (o *VirtualizationClustersListParams) SetGroupID(groupID *string) {
 }
 
 // WithIDIn adds the iDIn to the virtualization clusters list params
-func (o *VirtualizationClustersListParams) WithIDIn(iDIn *float64) *VirtualizationClustersListParams {
+func (o *VirtualizationClustersListParams) WithIDIn(iDIn *string) *VirtualizationClustersListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the virtualization clusters list params
-func (o *VirtualizationClustersListParams) SetIDIn(iDIn *float64) {
+func (o *VirtualizationClustersListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -311,11 +311,11 @@ func (o *VirtualizationClustersListParams) WriteToRequest(r runtime.ClientReques
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/client/virtualization/virtualization_virtual_machines_list_parameters.go b/netbox/client/virtualization/virtualization_virtual_machines_list_parameters.go
index 0c097dc..7330761 100644
--- a/netbox/client/virtualization/virtualization_virtual_machines_list_parameters.go
+++ b/netbox/client/virtualization/virtualization_virtual_machines_list_parameters.go
@@ -93,7 +93,7 @@ type VirtualizationVirtualMachinesListParams struct {
 	  Multiple values may be separated by commas.
 
 	*/
-	IDIn *float64
+	IDIn *string
 	/*Limit
 	  Number of results to return per page.
 
@@ -232,13 +232,13 @@ func (o *VirtualizationVirtualMachinesListParams) SetClusterTypeID(clusterTypeID
 }
 
 // WithIDIn adds the iDIn to the virtualization virtual machines list params
-func (o *VirtualizationVirtualMachinesListParams) WithIDIn(iDIn *float64) *VirtualizationVirtualMachinesListParams {
+func (o *VirtualizationVirtualMachinesListParams) WithIDIn(iDIn *string) *VirtualizationVirtualMachinesListParams {
 	o.SetIDIn(iDIn)
 	return o
 }
 
 // SetIDIn adds the idIn to the virtualization virtual machines list params
-func (o *VirtualizationVirtualMachinesListParams) SetIDIn(iDIn *float64) {
+func (o *VirtualizationVirtualMachinesListParams) SetIDIn(iDIn *string) {
 	o.IDIn = iDIn
 }
 
@@ -492,11 +492,11 @@ func (o *VirtualizationVirtualMachinesListParams) WriteToRequest(r runtime.Clien
 	if o.IDIn != nil {
 
 		// query param id__in
-		var qrIDIn float64
+		var qrIDIn string
 		if o.IDIn != nil {
 			qrIDIn = *o.IDIn
 		}
-		qIDIn := swag.FormatFloat64(qrIDIn)
+		qIDIn := qrIDIn
 		if qIDIn != "" {
 			if err := r.SetQueryParam("id__in", qIDIn); err != nil {
 				return err
diff --git a/netbox/netbox.go b/netbox/netbox.go
index 456abca..2784872 100644
--- a/netbox/netbox.go
+++ b/netbox/netbox.go
@@ -1,3 +1,17 @@
+// Copyright 2018 The go-netbox Authors.
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
 package netbox
 
 import (
@@ -9,6 +23,8 @@ import (
 	"github.com/digitalocean/go-netbox/netbox/client"
 )
 
+// NewNetboxAt returns a client which will connect to the given
+// hostname, which can optionally include a port, e.g. localhost:8000
 func NewNetboxAt(host string) *client.NetBox {
 	t := client.DefaultTransportConfig().WithHost(host)
 	return client.NewHTTPClientWithConfig(strfmt.Default, t)
@@ -16,6 +32,10 @@ func NewNetboxAt(host string) *client.NetBox {
 
 const authHeaderName = "Authorization"
 const authHeaderFormat = "Token %v"
+
+// NewNetboxWithAPIKey returna client which will connect to the given
+// hostname (and optionally port), and will set the expected Authorization
+// header on each request
 func NewNetboxWithAPIKey(host string, apiToken string) *client.NetBox {
 	t := runtimeclient.New(host, client.DefaultBasePath, client.DefaultSchemes)
 	t.DefaultAuthentication = runtimeclient.APIKeyAuth(authHeaderName, "header", fmt.Sprintf(authHeaderFormat, apiToken))
diff --git a/swagger.json b/swagger.json
index 3ab436e..fc76f1e 100644
--- a/swagger.json
+++ b/swagger.json
@@ -522,7 +522,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -801,7 +801,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -2586,7 +2586,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -2802,7 +2802,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -5563,7 +5563,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -6051,7 +6051,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -6594,7 +6594,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "status",
@@ -7982,7 +7982,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -8191,7 +8191,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -8484,7 +8484,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -8902,7 +8902,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "limit",
@@ -9710,7 +9710,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -9982,7 +9982,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -10450,7 +10450,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -10900,7 +10900,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -11496,7 +11496,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
@@ -11956,7 +11956,7 @@
             "in": "query",
             "description": "Multiple values may be separated by commas.",
             "required": false,
-            "type": "number"
+            "type": "string"
           },
           {
             "name": "q",
-- 
GitLab