github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_inventory_items_list_parameters.go (about)

     1  // Code generated by go-swagger; DO NOT EDIT.
     2  
     3  // Copyright 2020 The go-netbox Authors.
     4  //
     5  // Licensed under the Apache License, Version 2.0 (the "License");
     6  // you may not use this file except in compliance with the License.
     7  // You may obtain a copy of the License at
     8  //
     9  //   http://www.apache.org/licenses/LICENSE-2.0
    10  //
    11  // Unless required by applicable law or agreed to in writing, software
    12  // distributed under the License is distributed on an "AS IS" BASIS,
    13  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    14  // See the License for the specific language governing permissions and
    15  // limitations under the License.
    16  //
    17  
    18  package dcim
    19  
    20  // This file was generated by the swagger tool.
    21  // Editing this file might prove futile when you re-run the swagger generate command
    22  
    23  import (
    24  	"context"
    25  	"net/http"
    26  	"time"
    27  
    28  	"github.com/go-openapi/errors"
    29  	"github.com/go-openapi/runtime"
    30  	cr "github.com/go-openapi/runtime/client"
    31  	"github.com/go-openapi/strfmt"
    32  	"github.com/go-openapi/swag"
    33  )
    34  
    35  // NewDcimInventoryItemsListParams creates a new DcimInventoryItemsListParams object,
    36  // with the default timeout for this client.
    37  //
    38  // Default values are not hydrated, since defaults are normally applied by the API server side.
    39  //
    40  // To enforce default values in parameter, use SetDefaults or WithDefaults.
    41  func NewDcimInventoryItemsListParams() *DcimInventoryItemsListParams {
    42  	return &DcimInventoryItemsListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewDcimInventoryItemsListParamsWithTimeout creates a new DcimInventoryItemsListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewDcimInventoryItemsListParamsWithTimeout(timeout time.Duration) *DcimInventoryItemsListParams {
    50  	return &DcimInventoryItemsListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewDcimInventoryItemsListParamsWithContext creates a new DcimInventoryItemsListParams object
    56  // with the ability to set a context for a request.
    57  func NewDcimInventoryItemsListParamsWithContext(ctx context.Context) *DcimInventoryItemsListParams {
    58  	return &DcimInventoryItemsListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewDcimInventoryItemsListParamsWithHTTPClient creates a new DcimInventoryItemsListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewDcimInventoryItemsListParamsWithHTTPClient(client *http.Client) *DcimInventoryItemsListParams {
    66  	return &DcimInventoryItemsListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* DcimInventoryItemsListParams contains all the parameters to send to the API endpoint
    72     for the dcim inventory items list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type DcimInventoryItemsListParams struct {
    77  
    78  	// AssetTag.
    79  	AssetTag *string
    80  
    81  	// AssetTagEmpty.
    82  	AssetTagEmpty *string
    83  
    84  	// AssetTagIc.
    85  	AssetTagIc *string
    86  
    87  	// AssetTagIe.
    88  	AssetTagIe *string
    89  
    90  	// AssetTagIew.
    91  	AssetTagIew *string
    92  
    93  	// AssetTagIsw.
    94  	AssetTagIsw *string
    95  
    96  	// AssetTagn.
    97  	AssetTagn *string
    98  
    99  	// AssetTagNic.
   100  	AssetTagNic *string
   101  
   102  	// AssetTagNie.
   103  	AssetTagNie *string
   104  
   105  	// AssetTagNiew.
   106  	AssetTagNiew *string
   107  
   108  	// AssetTagNisw.
   109  	AssetTagNisw *string
   110  
   111  	// Created.
   112  	Created *string
   113  
   114  	// CreatedGte.
   115  	CreatedGte *string
   116  
   117  	// CreatedLte.
   118  	CreatedLte *string
   119  
   120  	// Device.
   121  	Device *string
   122  
   123  	// Devicen.
   124  	Devicen *string
   125  
   126  	// DeviceID.
   127  	DeviceID *string
   128  
   129  	// DeviceIDn.
   130  	DeviceIDn *string
   131  
   132  	// Discovered.
   133  	Discovered *string
   134  
   135  	// ID.
   136  	ID *string
   137  
   138  	// IDGt.
   139  	IDGt *string
   140  
   141  	// IDGte.
   142  	IDGte *string
   143  
   144  	// IDLt.
   145  	IDLt *string
   146  
   147  	// IDLte.
   148  	IDLte *string
   149  
   150  	// IDn.
   151  	IDn *string
   152  
   153  	// Label.
   154  	Label *string
   155  
   156  	// LabelEmpty.
   157  	LabelEmpty *string
   158  
   159  	// LabelIc.
   160  	LabelIc *string
   161  
   162  	// LabelIe.
   163  	LabelIe *string
   164  
   165  	// LabelIew.
   166  	LabelIew *string
   167  
   168  	// LabelIsw.
   169  	LabelIsw *string
   170  
   171  	// Labeln.
   172  	Labeln *string
   173  
   174  	// LabelNic.
   175  	LabelNic *string
   176  
   177  	// LabelNie.
   178  	LabelNie *string
   179  
   180  	// LabelNiew.
   181  	LabelNiew *string
   182  
   183  	// LabelNisw.
   184  	LabelNisw *string
   185  
   186  	// LastUpdated.
   187  	LastUpdated *string
   188  
   189  	// LastUpdatedGte.
   190  	LastUpdatedGte *string
   191  
   192  	// LastUpdatedLte.
   193  	LastUpdatedLte *string
   194  
   195  	/* Limit.
   196  
   197  	   Number of results to return per page.
   198  	*/
   199  	Limit *int64
   200  
   201  	// Manufacturer.
   202  	Manufacturer *string
   203  
   204  	// Manufacturern.
   205  	Manufacturern *string
   206  
   207  	// ManufacturerID.
   208  	ManufacturerID *string
   209  
   210  	// ManufacturerIDn.
   211  	ManufacturerIDn *string
   212  
   213  	// Name.
   214  	Name *string
   215  
   216  	// NameEmpty.
   217  	NameEmpty *string
   218  
   219  	// NameIc.
   220  	NameIc *string
   221  
   222  	// NameIe.
   223  	NameIe *string
   224  
   225  	// NameIew.
   226  	NameIew *string
   227  
   228  	// NameIsw.
   229  	NameIsw *string
   230  
   231  	// Namen.
   232  	Namen *string
   233  
   234  	// NameNic.
   235  	NameNic *string
   236  
   237  	// NameNie.
   238  	NameNie *string
   239  
   240  	// NameNiew.
   241  	NameNiew *string
   242  
   243  	// NameNisw.
   244  	NameNisw *string
   245  
   246  	/* Offset.
   247  
   248  	   The initial index from which to return the results.
   249  	*/
   250  	Offset *int64
   251  
   252  	// ParentID.
   253  	ParentID *string
   254  
   255  	// ParentIDn.
   256  	ParentIDn *string
   257  
   258  	// PartID.
   259  	PartID *string
   260  
   261  	// PartIDEmpty.
   262  	PartIDEmpty *string
   263  
   264  	// PartIDIc.
   265  	PartIDIc *string
   266  
   267  	// PartIDIe.
   268  	PartIDIe *string
   269  
   270  	// PartIDIew.
   271  	PartIDIew *string
   272  
   273  	// PartIDIsw.
   274  	PartIDIsw *string
   275  
   276  	// PartIDn.
   277  	PartIDn *string
   278  
   279  	// PartIDNic.
   280  	PartIDNic *string
   281  
   282  	// PartIDNie.
   283  	PartIDNie *string
   284  
   285  	// PartIDNiew.
   286  	PartIDNiew *string
   287  
   288  	// PartIDNisw.
   289  	PartIDNisw *string
   290  
   291  	// Q.
   292  	Q *string
   293  
   294  	// Region.
   295  	Region *string
   296  
   297  	// Regionn.
   298  	Regionn *string
   299  
   300  	// RegionID.
   301  	RegionID *string
   302  
   303  	// RegionIDn.
   304  	RegionIDn *string
   305  
   306  	// Serial.
   307  	Serial *string
   308  
   309  	// Site.
   310  	Site *string
   311  
   312  	// Siten.
   313  	Siten *string
   314  
   315  	// SiteGroup.
   316  	SiteGroup *string
   317  
   318  	// SiteGroupn.
   319  	SiteGroupn *string
   320  
   321  	// SiteGroupID.
   322  	SiteGroupID *string
   323  
   324  	// SiteGroupIDn.
   325  	SiteGroupIDn *string
   326  
   327  	// SiteID.
   328  	SiteID *string
   329  
   330  	// SiteIDn.
   331  	SiteIDn *string
   332  
   333  	// Tag.
   334  	Tag *string
   335  
   336  	// Tagn.
   337  	Tagn *string
   338  
   339  	timeout    time.Duration
   340  	Context    context.Context
   341  	HTTPClient *http.Client
   342  }
   343  
   344  // WithDefaults hydrates default values in the dcim inventory items list params (not the query body).
   345  //
   346  // All values with no default are reset to their zero value.
   347  func (o *DcimInventoryItemsListParams) WithDefaults() *DcimInventoryItemsListParams {
   348  	o.SetDefaults()
   349  	return o
   350  }
   351  
   352  // SetDefaults hydrates default values in the dcim inventory items list params (not the query body).
   353  //
   354  // All values with no default are reset to their zero value.
   355  func (o *DcimInventoryItemsListParams) SetDefaults() {
   356  	// no default values defined for this parameter
   357  }
   358  
   359  // WithTimeout adds the timeout to the dcim inventory items list params
   360  func (o *DcimInventoryItemsListParams) WithTimeout(timeout time.Duration) *DcimInventoryItemsListParams {
   361  	o.SetTimeout(timeout)
   362  	return o
   363  }
   364  
   365  // SetTimeout adds the timeout to the dcim inventory items list params
   366  func (o *DcimInventoryItemsListParams) SetTimeout(timeout time.Duration) {
   367  	o.timeout = timeout
   368  }
   369  
   370  // WithContext adds the context to the dcim inventory items list params
   371  func (o *DcimInventoryItemsListParams) WithContext(ctx context.Context) *DcimInventoryItemsListParams {
   372  	o.SetContext(ctx)
   373  	return o
   374  }
   375  
   376  // SetContext adds the context to the dcim inventory items list params
   377  func (o *DcimInventoryItemsListParams) SetContext(ctx context.Context) {
   378  	o.Context = ctx
   379  }
   380  
   381  // WithHTTPClient adds the HTTPClient to the dcim inventory items list params
   382  func (o *DcimInventoryItemsListParams) WithHTTPClient(client *http.Client) *DcimInventoryItemsListParams {
   383  	o.SetHTTPClient(client)
   384  	return o
   385  }
   386  
   387  // SetHTTPClient adds the HTTPClient to the dcim inventory items list params
   388  func (o *DcimInventoryItemsListParams) SetHTTPClient(client *http.Client) {
   389  	o.HTTPClient = client
   390  }
   391  
   392  // WithAssetTag adds the assetTag to the dcim inventory items list params
   393  func (o *DcimInventoryItemsListParams) WithAssetTag(assetTag *string) *DcimInventoryItemsListParams {
   394  	o.SetAssetTag(assetTag)
   395  	return o
   396  }
   397  
   398  // SetAssetTag adds the assetTag to the dcim inventory items list params
   399  func (o *DcimInventoryItemsListParams) SetAssetTag(assetTag *string) {
   400  	o.AssetTag = assetTag
   401  }
   402  
   403  // WithAssetTagEmpty adds the assetTagEmpty to the dcim inventory items list params
   404  func (o *DcimInventoryItemsListParams) WithAssetTagEmpty(assetTagEmpty *string) *DcimInventoryItemsListParams {
   405  	o.SetAssetTagEmpty(assetTagEmpty)
   406  	return o
   407  }
   408  
   409  // SetAssetTagEmpty adds the assetTagEmpty to the dcim inventory items list params
   410  func (o *DcimInventoryItemsListParams) SetAssetTagEmpty(assetTagEmpty *string) {
   411  	o.AssetTagEmpty = assetTagEmpty
   412  }
   413  
   414  // WithAssetTagIc adds the assetTagIc to the dcim inventory items list params
   415  func (o *DcimInventoryItemsListParams) WithAssetTagIc(assetTagIc *string) *DcimInventoryItemsListParams {
   416  	o.SetAssetTagIc(assetTagIc)
   417  	return o
   418  }
   419  
   420  // SetAssetTagIc adds the assetTagIc to the dcim inventory items list params
   421  func (o *DcimInventoryItemsListParams) SetAssetTagIc(assetTagIc *string) {
   422  	o.AssetTagIc = assetTagIc
   423  }
   424  
   425  // WithAssetTagIe adds the assetTagIe to the dcim inventory items list params
   426  func (o *DcimInventoryItemsListParams) WithAssetTagIe(assetTagIe *string) *DcimInventoryItemsListParams {
   427  	o.SetAssetTagIe(assetTagIe)
   428  	return o
   429  }
   430  
   431  // SetAssetTagIe adds the assetTagIe to the dcim inventory items list params
   432  func (o *DcimInventoryItemsListParams) SetAssetTagIe(assetTagIe *string) {
   433  	o.AssetTagIe = assetTagIe
   434  }
   435  
   436  // WithAssetTagIew adds the assetTagIew to the dcim inventory items list params
   437  func (o *DcimInventoryItemsListParams) WithAssetTagIew(assetTagIew *string) *DcimInventoryItemsListParams {
   438  	o.SetAssetTagIew(assetTagIew)
   439  	return o
   440  }
   441  
   442  // SetAssetTagIew adds the assetTagIew to the dcim inventory items list params
   443  func (o *DcimInventoryItemsListParams) SetAssetTagIew(assetTagIew *string) {
   444  	o.AssetTagIew = assetTagIew
   445  }
   446  
   447  // WithAssetTagIsw adds the assetTagIsw to the dcim inventory items list params
   448  func (o *DcimInventoryItemsListParams) WithAssetTagIsw(assetTagIsw *string) *DcimInventoryItemsListParams {
   449  	o.SetAssetTagIsw(assetTagIsw)
   450  	return o
   451  }
   452  
   453  // SetAssetTagIsw adds the assetTagIsw to the dcim inventory items list params
   454  func (o *DcimInventoryItemsListParams) SetAssetTagIsw(assetTagIsw *string) {
   455  	o.AssetTagIsw = assetTagIsw
   456  }
   457  
   458  // WithAssetTagn adds the assetTagn to the dcim inventory items list params
   459  func (o *DcimInventoryItemsListParams) WithAssetTagn(assetTagn *string) *DcimInventoryItemsListParams {
   460  	o.SetAssetTagn(assetTagn)
   461  	return o
   462  }
   463  
   464  // SetAssetTagn adds the assetTagN to the dcim inventory items list params
   465  func (o *DcimInventoryItemsListParams) SetAssetTagn(assetTagn *string) {
   466  	o.AssetTagn = assetTagn
   467  }
   468  
   469  // WithAssetTagNic adds the assetTagNic to the dcim inventory items list params
   470  func (o *DcimInventoryItemsListParams) WithAssetTagNic(assetTagNic *string) *DcimInventoryItemsListParams {
   471  	o.SetAssetTagNic(assetTagNic)
   472  	return o
   473  }
   474  
   475  // SetAssetTagNic adds the assetTagNic to the dcim inventory items list params
   476  func (o *DcimInventoryItemsListParams) SetAssetTagNic(assetTagNic *string) {
   477  	o.AssetTagNic = assetTagNic
   478  }
   479  
   480  // WithAssetTagNie adds the assetTagNie to the dcim inventory items list params
   481  func (o *DcimInventoryItemsListParams) WithAssetTagNie(assetTagNie *string) *DcimInventoryItemsListParams {
   482  	o.SetAssetTagNie(assetTagNie)
   483  	return o
   484  }
   485  
   486  // SetAssetTagNie adds the assetTagNie to the dcim inventory items list params
   487  func (o *DcimInventoryItemsListParams) SetAssetTagNie(assetTagNie *string) {
   488  	o.AssetTagNie = assetTagNie
   489  }
   490  
   491  // WithAssetTagNiew adds the assetTagNiew to the dcim inventory items list params
   492  func (o *DcimInventoryItemsListParams) WithAssetTagNiew(assetTagNiew *string) *DcimInventoryItemsListParams {
   493  	o.SetAssetTagNiew(assetTagNiew)
   494  	return o
   495  }
   496  
   497  // SetAssetTagNiew adds the assetTagNiew to the dcim inventory items list params
   498  func (o *DcimInventoryItemsListParams) SetAssetTagNiew(assetTagNiew *string) {
   499  	o.AssetTagNiew = assetTagNiew
   500  }
   501  
   502  // WithAssetTagNisw adds the assetTagNisw to the dcim inventory items list params
   503  func (o *DcimInventoryItemsListParams) WithAssetTagNisw(assetTagNisw *string) *DcimInventoryItemsListParams {
   504  	o.SetAssetTagNisw(assetTagNisw)
   505  	return o
   506  }
   507  
   508  // SetAssetTagNisw adds the assetTagNisw to the dcim inventory items list params
   509  func (o *DcimInventoryItemsListParams) SetAssetTagNisw(assetTagNisw *string) {
   510  	o.AssetTagNisw = assetTagNisw
   511  }
   512  
   513  // WithCreated adds the created to the dcim inventory items list params
   514  func (o *DcimInventoryItemsListParams) WithCreated(created *string) *DcimInventoryItemsListParams {
   515  	o.SetCreated(created)
   516  	return o
   517  }
   518  
   519  // SetCreated adds the created to the dcim inventory items list params
   520  func (o *DcimInventoryItemsListParams) SetCreated(created *string) {
   521  	o.Created = created
   522  }
   523  
   524  // WithCreatedGte adds the createdGte to the dcim inventory items list params
   525  func (o *DcimInventoryItemsListParams) WithCreatedGte(createdGte *string) *DcimInventoryItemsListParams {
   526  	o.SetCreatedGte(createdGte)
   527  	return o
   528  }
   529  
   530  // SetCreatedGte adds the createdGte to the dcim inventory items list params
   531  func (o *DcimInventoryItemsListParams) SetCreatedGte(createdGte *string) {
   532  	o.CreatedGte = createdGte
   533  }
   534  
   535  // WithCreatedLte adds the createdLte to the dcim inventory items list params
   536  func (o *DcimInventoryItemsListParams) WithCreatedLte(createdLte *string) *DcimInventoryItemsListParams {
   537  	o.SetCreatedLte(createdLte)
   538  	return o
   539  }
   540  
   541  // SetCreatedLte adds the createdLte to the dcim inventory items list params
   542  func (o *DcimInventoryItemsListParams) SetCreatedLte(createdLte *string) {
   543  	o.CreatedLte = createdLte
   544  }
   545  
   546  // WithDevice adds the device to the dcim inventory items list params
   547  func (o *DcimInventoryItemsListParams) WithDevice(device *string) *DcimInventoryItemsListParams {
   548  	o.SetDevice(device)
   549  	return o
   550  }
   551  
   552  // SetDevice adds the device to the dcim inventory items list params
   553  func (o *DcimInventoryItemsListParams) SetDevice(device *string) {
   554  	o.Device = device
   555  }
   556  
   557  // WithDevicen adds the devicen to the dcim inventory items list params
   558  func (o *DcimInventoryItemsListParams) WithDevicen(devicen *string) *DcimInventoryItemsListParams {
   559  	o.SetDevicen(devicen)
   560  	return o
   561  }
   562  
   563  // SetDevicen adds the deviceN to the dcim inventory items list params
   564  func (o *DcimInventoryItemsListParams) SetDevicen(devicen *string) {
   565  	o.Devicen = devicen
   566  }
   567  
   568  // WithDeviceID adds the deviceID to the dcim inventory items list params
   569  func (o *DcimInventoryItemsListParams) WithDeviceID(deviceID *string) *DcimInventoryItemsListParams {
   570  	o.SetDeviceID(deviceID)
   571  	return o
   572  }
   573  
   574  // SetDeviceID adds the deviceId to the dcim inventory items list params
   575  func (o *DcimInventoryItemsListParams) SetDeviceID(deviceID *string) {
   576  	o.DeviceID = deviceID
   577  }
   578  
   579  // WithDeviceIDn adds the deviceIDn to the dcim inventory items list params
   580  func (o *DcimInventoryItemsListParams) WithDeviceIDn(deviceIDn *string) *DcimInventoryItemsListParams {
   581  	o.SetDeviceIDn(deviceIDn)
   582  	return o
   583  }
   584  
   585  // SetDeviceIDn adds the deviceIdN to the dcim inventory items list params
   586  func (o *DcimInventoryItemsListParams) SetDeviceIDn(deviceIDn *string) {
   587  	o.DeviceIDn = deviceIDn
   588  }
   589  
   590  // WithDiscovered adds the discovered to the dcim inventory items list params
   591  func (o *DcimInventoryItemsListParams) WithDiscovered(discovered *string) *DcimInventoryItemsListParams {
   592  	o.SetDiscovered(discovered)
   593  	return o
   594  }
   595  
   596  // SetDiscovered adds the discovered to the dcim inventory items list params
   597  func (o *DcimInventoryItemsListParams) SetDiscovered(discovered *string) {
   598  	o.Discovered = discovered
   599  }
   600  
   601  // WithID adds the id to the dcim inventory items list params
   602  func (o *DcimInventoryItemsListParams) WithID(id *string) *DcimInventoryItemsListParams {
   603  	o.SetID(id)
   604  	return o
   605  }
   606  
   607  // SetID adds the id to the dcim inventory items list params
   608  func (o *DcimInventoryItemsListParams) SetID(id *string) {
   609  	o.ID = id
   610  }
   611  
   612  // WithIDGt adds the iDGt to the dcim inventory items list params
   613  func (o *DcimInventoryItemsListParams) WithIDGt(iDGt *string) *DcimInventoryItemsListParams {
   614  	o.SetIDGt(iDGt)
   615  	return o
   616  }
   617  
   618  // SetIDGt adds the idGt to the dcim inventory items list params
   619  func (o *DcimInventoryItemsListParams) SetIDGt(iDGt *string) {
   620  	o.IDGt = iDGt
   621  }
   622  
   623  // WithIDGte adds the iDGte to the dcim inventory items list params
   624  func (o *DcimInventoryItemsListParams) WithIDGte(iDGte *string) *DcimInventoryItemsListParams {
   625  	o.SetIDGte(iDGte)
   626  	return o
   627  }
   628  
   629  // SetIDGte adds the idGte to the dcim inventory items list params
   630  func (o *DcimInventoryItemsListParams) SetIDGte(iDGte *string) {
   631  	o.IDGte = iDGte
   632  }
   633  
   634  // WithIDLt adds the iDLt to the dcim inventory items list params
   635  func (o *DcimInventoryItemsListParams) WithIDLt(iDLt *string) *DcimInventoryItemsListParams {
   636  	o.SetIDLt(iDLt)
   637  	return o
   638  }
   639  
   640  // SetIDLt adds the idLt to the dcim inventory items list params
   641  func (o *DcimInventoryItemsListParams) SetIDLt(iDLt *string) {
   642  	o.IDLt = iDLt
   643  }
   644  
   645  // WithIDLte adds the iDLte to the dcim inventory items list params
   646  func (o *DcimInventoryItemsListParams) WithIDLte(iDLte *string) *DcimInventoryItemsListParams {
   647  	o.SetIDLte(iDLte)
   648  	return o
   649  }
   650  
   651  // SetIDLte adds the idLte to the dcim inventory items list params
   652  func (o *DcimInventoryItemsListParams) SetIDLte(iDLte *string) {
   653  	o.IDLte = iDLte
   654  }
   655  
   656  // WithIDn adds the iDn to the dcim inventory items list params
   657  func (o *DcimInventoryItemsListParams) WithIDn(iDn *string) *DcimInventoryItemsListParams {
   658  	o.SetIDn(iDn)
   659  	return o
   660  }
   661  
   662  // SetIDn adds the idN to the dcim inventory items list params
   663  func (o *DcimInventoryItemsListParams) SetIDn(iDn *string) {
   664  	o.IDn = iDn
   665  }
   666  
   667  // WithLabel adds the label to the dcim inventory items list params
   668  func (o *DcimInventoryItemsListParams) WithLabel(label *string) *DcimInventoryItemsListParams {
   669  	o.SetLabel(label)
   670  	return o
   671  }
   672  
   673  // SetLabel adds the label to the dcim inventory items list params
   674  func (o *DcimInventoryItemsListParams) SetLabel(label *string) {
   675  	o.Label = label
   676  }
   677  
   678  // WithLabelEmpty adds the labelEmpty to the dcim inventory items list params
   679  func (o *DcimInventoryItemsListParams) WithLabelEmpty(labelEmpty *string) *DcimInventoryItemsListParams {
   680  	o.SetLabelEmpty(labelEmpty)
   681  	return o
   682  }
   683  
   684  // SetLabelEmpty adds the labelEmpty to the dcim inventory items list params
   685  func (o *DcimInventoryItemsListParams) SetLabelEmpty(labelEmpty *string) {
   686  	o.LabelEmpty = labelEmpty
   687  }
   688  
   689  // WithLabelIc adds the labelIc to the dcim inventory items list params
   690  func (o *DcimInventoryItemsListParams) WithLabelIc(labelIc *string) *DcimInventoryItemsListParams {
   691  	o.SetLabelIc(labelIc)
   692  	return o
   693  }
   694  
   695  // SetLabelIc adds the labelIc to the dcim inventory items list params
   696  func (o *DcimInventoryItemsListParams) SetLabelIc(labelIc *string) {
   697  	o.LabelIc = labelIc
   698  }
   699  
   700  // WithLabelIe adds the labelIe to the dcim inventory items list params
   701  func (o *DcimInventoryItemsListParams) WithLabelIe(labelIe *string) *DcimInventoryItemsListParams {
   702  	o.SetLabelIe(labelIe)
   703  	return o
   704  }
   705  
   706  // SetLabelIe adds the labelIe to the dcim inventory items list params
   707  func (o *DcimInventoryItemsListParams) SetLabelIe(labelIe *string) {
   708  	o.LabelIe = labelIe
   709  }
   710  
   711  // WithLabelIew adds the labelIew to the dcim inventory items list params
   712  func (o *DcimInventoryItemsListParams) WithLabelIew(labelIew *string) *DcimInventoryItemsListParams {
   713  	o.SetLabelIew(labelIew)
   714  	return o
   715  }
   716  
   717  // SetLabelIew adds the labelIew to the dcim inventory items list params
   718  func (o *DcimInventoryItemsListParams) SetLabelIew(labelIew *string) {
   719  	o.LabelIew = labelIew
   720  }
   721  
   722  // WithLabelIsw adds the labelIsw to the dcim inventory items list params
   723  func (o *DcimInventoryItemsListParams) WithLabelIsw(labelIsw *string) *DcimInventoryItemsListParams {
   724  	o.SetLabelIsw(labelIsw)
   725  	return o
   726  }
   727  
   728  // SetLabelIsw adds the labelIsw to the dcim inventory items list params
   729  func (o *DcimInventoryItemsListParams) SetLabelIsw(labelIsw *string) {
   730  	o.LabelIsw = labelIsw
   731  }
   732  
   733  // WithLabeln adds the labeln to the dcim inventory items list params
   734  func (o *DcimInventoryItemsListParams) WithLabeln(labeln *string) *DcimInventoryItemsListParams {
   735  	o.SetLabeln(labeln)
   736  	return o
   737  }
   738  
   739  // SetLabeln adds the labelN to the dcim inventory items list params
   740  func (o *DcimInventoryItemsListParams) SetLabeln(labeln *string) {
   741  	o.Labeln = labeln
   742  }
   743  
   744  // WithLabelNic adds the labelNic to the dcim inventory items list params
   745  func (o *DcimInventoryItemsListParams) WithLabelNic(labelNic *string) *DcimInventoryItemsListParams {
   746  	o.SetLabelNic(labelNic)
   747  	return o
   748  }
   749  
   750  // SetLabelNic adds the labelNic to the dcim inventory items list params
   751  func (o *DcimInventoryItemsListParams) SetLabelNic(labelNic *string) {
   752  	o.LabelNic = labelNic
   753  }
   754  
   755  // WithLabelNie adds the labelNie to the dcim inventory items list params
   756  func (o *DcimInventoryItemsListParams) WithLabelNie(labelNie *string) *DcimInventoryItemsListParams {
   757  	o.SetLabelNie(labelNie)
   758  	return o
   759  }
   760  
   761  // SetLabelNie adds the labelNie to the dcim inventory items list params
   762  func (o *DcimInventoryItemsListParams) SetLabelNie(labelNie *string) {
   763  	o.LabelNie = labelNie
   764  }
   765  
   766  // WithLabelNiew adds the labelNiew to the dcim inventory items list params
   767  func (o *DcimInventoryItemsListParams) WithLabelNiew(labelNiew *string) *DcimInventoryItemsListParams {
   768  	o.SetLabelNiew(labelNiew)
   769  	return o
   770  }
   771  
   772  // SetLabelNiew adds the labelNiew to the dcim inventory items list params
   773  func (o *DcimInventoryItemsListParams) SetLabelNiew(labelNiew *string) {
   774  	o.LabelNiew = labelNiew
   775  }
   776  
   777  // WithLabelNisw adds the labelNisw to the dcim inventory items list params
   778  func (o *DcimInventoryItemsListParams) WithLabelNisw(labelNisw *string) *DcimInventoryItemsListParams {
   779  	o.SetLabelNisw(labelNisw)
   780  	return o
   781  }
   782  
   783  // SetLabelNisw adds the labelNisw to the dcim inventory items list params
   784  func (o *DcimInventoryItemsListParams) SetLabelNisw(labelNisw *string) {
   785  	o.LabelNisw = labelNisw
   786  }
   787  
   788  // WithLastUpdated adds the lastUpdated to the dcim inventory items list params
   789  func (o *DcimInventoryItemsListParams) WithLastUpdated(lastUpdated *string) *DcimInventoryItemsListParams {
   790  	o.SetLastUpdated(lastUpdated)
   791  	return o
   792  }
   793  
   794  // SetLastUpdated adds the lastUpdated to the dcim inventory items list params
   795  func (o *DcimInventoryItemsListParams) SetLastUpdated(lastUpdated *string) {
   796  	o.LastUpdated = lastUpdated
   797  }
   798  
   799  // WithLastUpdatedGte adds the lastUpdatedGte to the dcim inventory items list params
   800  func (o *DcimInventoryItemsListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimInventoryItemsListParams {
   801  	o.SetLastUpdatedGte(lastUpdatedGte)
   802  	return o
   803  }
   804  
   805  // SetLastUpdatedGte adds the lastUpdatedGte to the dcim inventory items list params
   806  func (o *DcimInventoryItemsListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   807  	o.LastUpdatedGte = lastUpdatedGte
   808  }
   809  
   810  // WithLastUpdatedLte adds the lastUpdatedLte to the dcim inventory items list params
   811  func (o *DcimInventoryItemsListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimInventoryItemsListParams {
   812  	o.SetLastUpdatedLte(lastUpdatedLte)
   813  	return o
   814  }
   815  
   816  // SetLastUpdatedLte adds the lastUpdatedLte to the dcim inventory items list params
   817  func (o *DcimInventoryItemsListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   818  	o.LastUpdatedLte = lastUpdatedLte
   819  }
   820  
   821  // WithLimit adds the limit to the dcim inventory items list params
   822  func (o *DcimInventoryItemsListParams) WithLimit(limit *int64) *DcimInventoryItemsListParams {
   823  	o.SetLimit(limit)
   824  	return o
   825  }
   826  
   827  // SetLimit adds the limit to the dcim inventory items list params
   828  func (o *DcimInventoryItemsListParams) SetLimit(limit *int64) {
   829  	o.Limit = limit
   830  }
   831  
   832  // WithManufacturer adds the manufacturer to the dcim inventory items list params
   833  func (o *DcimInventoryItemsListParams) WithManufacturer(manufacturer *string) *DcimInventoryItemsListParams {
   834  	o.SetManufacturer(manufacturer)
   835  	return o
   836  }
   837  
   838  // SetManufacturer adds the manufacturer to the dcim inventory items list params
   839  func (o *DcimInventoryItemsListParams) SetManufacturer(manufacturer *string) {
   840  	o.Manufacturer = manufacturer
   841  }
   842  
   843  // WithManufacturern adds the manufacturern to the dcim inventory items list params
   844  func (o *DcimInventoryItemsListParams) WithManufacturern(manufacturern *string) *DcimInventoryItemsListParams {
   845  	o.SetManufacturern(manufacturern)
   846  	return o
   847  }
   848  
   849  // SetManufacturern adds the manufacturerN to the dcim inventory items list params
   850  func (o *DcimInventoryItemsListParams) SetManufacturern(manufacturern *string) {
   851  	o.Manufacturern = manufacturern
   852  }
   853  
   854  // WithManufacturerID adds the manufacturerID to the dcim inventory items list params
   855  func (o *DcimInventoryItemsListParams) WithManufacturerID(manufacturerID *string) *DcimInventoryItemsListParams {
   856  	o.SetManufacturerID(manufacturerID)
   857  	return o
   858  }
   859  
   860  // SetManufacturerID adds the manufacturerId to the dcim inventory items list params
   861  func (o *DcimInventoryItemsListParams) SetManufacturerID(manufacturerID *string) {
   862  	o.ManufacturerID = manufacturerID
   863  }
   864  
   865  // WithManufacturerIDn adds the manufacturerIDn to the dcim inventory items list params
   866  func (o *DcimInventoryItemsListParams) WithManufacturerIDn(manufacturerIDn *string) *DcimInventoryItemsListParams {
   867  	o.SetManufacturerIDn(manufacturerIDn)
   868  	return o
   869  }
   870  
   871  // SetManufacturerIDn adds the manufacturerIdN to the dcim inventory items list params
   872  func (o *DcimInventoryItemsListParams) SetManufacturerIDn(manufacturerIDn *string) {
   873  	o.ManufacturerIDn = manufacturerIDn
   874  }
   875  
   876  // WithName adds the name to the dcim inventory items list params
   877  func (o *DcimInventoryItemsListParams) WithName(name *string) *DcimInventoryItemsListParams {
   878  	o.SetName(name)
   879  	return o
   880  }
   881  
   882  // SetName adds the name to the dcim inventory items list params
   883  func (o *DcimInventoryItemsListParams) SetName(name *string) {
   884  	o.Name = name
   885  }
   886  
   887  // WithNameEmpty adds the nameEmpty to the dcim inventory items list params
   888  func (o *DcimInventoryItemsListParams) WithNameEmpty(nameEmpty *string) *DcimInventoryItemsListParams {
   889  	o.SetNameEmpty(nameEmpty)
   890  	return o
   891  }
   892  
   893  // SetNameEmpty adds the nameEmpty to the dcim inventory items list params
   894  func (o *DcimInventoryItemsListParams) SetNameEmpty(nameEmpty *string) {
   895  	o.NameEmpty = nameEmpty
   896  }
   897  
   898  // WithNameIc adds the nameIc to the dcim inventory items list params
   899  func (o *DcimInventoryItemsListParams) WithNameIc(nameIc *string) *DcimInventoryItemsListParams {
   900  	o.SetNameIc(nameIc)
   901  	return o
   902  }
   903  
   904  // SetNameIc adds the nameIc to the dcim inventory items list params
   905  func (o *DcimInventoryItemsListParams) SetNameIc(nameIc *string) {
   906  	o.NameIc = nameIc
   907  }
   908  
   909  // WithNameIe adds the nameIe to the dcim inventory items list params
   910  func (o *DcimInventoryItemsListParams) WithNameIe(nameIe *string) *DcimInventoryItemsListParams {
   911  	o.SetNameIe(nameIe)
   912  	return o
   913  }
   914  
   915  // SetNameIe adds the nameIe to the dcim inventory items list params
   916  func (o *DcimInventoryItemsListParams) SetNameIe(nameIe *string) {
   917  	o.NameIe = nameIe
   918  }
   919  
   920  // WithNameIew adds the nameIew to the dcim inventory items list params
   921  func (o *DcimInventoryItemsListParams) WithNameIew(nameIew *string) *DcimInventoryItemsListParams {
   922  	o.SetNameIew(nameIew)
   923  	return o
   924  }
   925  
   926  // SetNameIew adds the nameIew to the dcim inventory items list params
   927  func (o *DcimInventoryItemsListParams) SetNameIew(nameIew *string) {
   928  	o.NameIew = nameIew
   929  }
   930  
   931  // WithNameIsw adds the nameIsw to the dcim inventory items list params
   932  func (o *DcimInventoryItemsListParams) WithNameIsw(nameIsw *string) *DcimInventoryItemsListParams {
   933  	o.SetNameIsw(nameIsw)
   934  	return o
   935  }
   936  
   937  // SetNameIsw adds the nameIsw to the dcim inventory items list params
   938  func (o *DcimInventoryItemsListParams) SetNameIsw(nameIsw *string) {
   939  	o.NameIsw = nameIsw
   940  }
   941  
   942  // WithNamen adds the namen to the dcim inventory items list params
   943  func (o *DcimInventoryItemsListParams) WithNamen(namen *string) *DcimInventoryItemsListParams {
   944  	o.SetNamen(namen)
   945  	return o
   946  }
   947  
   948  // SetNamen adds the nameN to the dcim inventory items list params
   949  func (o *DcimInventoryItemsListParams) SetNamen(namen *string) {
   950  	o.Namen = namen
   951  }
   952  
   953  // WithNameNic adds the nameNic to the dcim inventory items list params
   954  func (o *DcimInventoryItemsListParams) WithNameNic(nameNic *string) *DcimInventoryItemsListParams {
   955  	o.SetNameNic(nameNic)
   956  	return o
   957  }
   958  
   959  // SetNameNic adds the nameNic to the dcim inventory items list params
   960  func (o *DcimInventoryItemsListParams) SetNameNic(nameNic *string) {
   961  	o.NameNic = nameNic
   962  }
   963  
   964  // WithNameNie adds the nameNie to the dcim inventory items list params
   965  func (o *DcimInventoryItemsListParams) WithNameNie(nameNie *string) *DcimInventoryItemsListParams {
   966  	o.SetNameNie(nameNie)
   967  	return o
   968  }
   969  
   970  // SetNameNie adds the nameNie to the dcim inventory items list params
   971  func (o *DcimInventoryItemsListParams) SetNameNie(nameNie *string) {
   972  	o.NameNie = nameNie
   973  }
   974  
   975  // WithNameNiew adds the nameNiew to the dcim inventory items list params
   976  func (o *DcimInventoryItemsListParams) WithNameNiew(nameNiew *string) *DcimInventoryItemsListParams {
   977  	o.SetNameNiew(nameNiew)
   978  	return o
   979  }
   980  
   981  // SetNameNiew adds the nameNiew to the dcim inventory items list params
   982  func (o *DcimInventoryItemsListParams) SetNameNiew(nameNiew *string) {
   983  	o.NameNiew = nameNiew
   984  }
   985  
   986  // WithNameNisw adds the nameNisw to the dcim inventory items list params
   987  func (o *DcimInventoryItemsListParams) WithNameNisw(nameNisw *string) *DcimInventoryItemsListParams {
   988  	o.SetNameNisw(nameNisw)
   989  	return o
   990  }
   991  
   992  // SetNameNisw adds the nameNisw to the dcim inventory items list params
   993  func (o *DcimInventoryItemsListParams) SetNameNisw(nameNisw *string) {
   994  	o.NameNisw = nameNisw
   995  }
   996  
   997  // WithOffset adds the offset to the dcim inventory items list params
   998  func (o *DcimInventoryItemsListParams) WithOffset(offset *int64) *DcimInventoryItemsListParams {
   999  	o.SetOffset(offset)
  1000  	return o
  1001  }
  1002  
  1003  // SetOffset adds the offset to the dcim inventory items list params
  1004  func (o *DcimInventoryItemsListParams) SetOffset(offset *int64) {
  1005  	o.Offset = offset
  1006  }
  1007  
  1008  // WithParentID adds the parentID to the dcim inventory items list params
  1009  func (o *DcimInventoryItemsListParams) WithParentID(parentID *string) *DcimInventoryItemsListParams {
  1010  	o.SetParentID(parentID)
  1011  	return o
  1012  }
  1013  
  1014  // SetParentID adds the parentId to the dcim inventory items list params
  1015  func (o *DcimInventoryItemsListParams) SetParentID(parentID *string) {
  1016  	o.ParentID = parentID
  1017  }
  1018  
  1019  // WithParentIDn adds the parentIDn to the dcim inventory items list params
  1020  func (o *DcimInventoryItemsListParams) WithParentIDn(parentIDn *string) *DcimInventoryItemsListParams {
  1021  	o.SetParentIDn(parentIDn)
  1022  	return o
  1023  }
  1024  
  1025  // SetParentIDn adds the parentIdN to the dcim inventory items list params
  1026  func (o *DcimInventoryItemsListParams) SetParentIDn(parentIDn *string) {
  1027  	o.ParentIDn = parentIDn
  1028  }
  1029  
  1030  // WithPartID adds the partID to the dcim inventory items list params
  1031  func (o *DcimInventoryItemsListParams) WithPartID(partID *string) *DcimInventoryItemsListParams {
  1032  	o.SetPartID(partID)
  1033  	return o
  1034  }
  1035  
  1036  // SetPartID adds the partId to the dcim inventory items list params
  1037  func (o *DcimInventoryItemsListParams) SetPartID(partID *string) {
  1038  	o.PartID = partID
  1039  }
  1040  
  1041  // WithPartIDEmpty adds the partIDEmpty to the dcim inventory items list params
  1042  func (o *DcimInventoryItemsListParams) WithPartIDEmpty(partIDEmpty *string) *DcimInventoryItemsListParams {
  1043  	o.SetPartIDEmpty(partIDEmpty)
  1044  	return o
  1045  }
  1046  
  1047  // SetPartIDEmpty adds the partIdEmpty to the dcim inventory items list params
  1048  func (o *DcimInventoryItemsListParams) SetPartIDEmpty(partIDEmpty *string) {
  1049  	o.PartIDEmpty = partIDEmpty
  1050  }
  1051  
  1052  // WithPartIDIc adds the partIDIc to the dcim inventory items list params
  1053  func (o *DcimInventoryItemsListParams) WithPartIDIc(partIDIc *string) *DcimInventoryItemsListParams {
  1054  	o.SetPartIDIc(partIDIc)
  1055  	return o
  1056  }
  1057  
  1058  // SetPartIDIc adds the partIdIc to the dcim inventory items list params
  1059  func (o *DcimInventoryItemsListParams) SetPartIDIc(partIDIc *string) {
  1060  	o.PartIDIc = partIDIc
  1061  }
  1062  
  1063  // WithPartIDIe adds the partIDIe to the dcim inventory items list params
  1064  func (o *DcimInventoryItemsListParams) WithPartIDIe(partIDIe *string) *DcimInventoryItemsListParams {
  1065  	o.SetPartIDIe(partIDIe)
  1066  	return o
  1067  }
  1068  
  1069  // SetPartIDIe adds the partIdIe to the dcim inventory items list params
  1070  func (o *DcimInventoryItemsListParams) SetPartIDIe(partIDIe *string) {
  1071  	o.PartIDIe = partIDIe
  1072  }
  1073  
  1074  // WithPartIDIew adds the partIDIew to the dcim inventory items list params
  1075  func (o *DcimInventoryItemsListParams) WithPartIDIew(partIDIew *string) *DcimInventoryItemsListParams {
  1076  	o.SetPartIDIew(partIDIew)
  1077  	return o
  1078  }
  1079  
  1080  // SetPartIDIew adds the partIdIew to the dcim inventory items list params
  1081  func (o *DcimInventoryItemsListParams) SetPartIDIew(partIDIew *string) {
  1082  	o.PartIDIew = partIDIew
  1083  }
  1084  
  1085  // WithPartIDIsw adds the partIDIsw to the dcim inventory items list params
  1086  func (o *DcimInventoryItemsListParams) WithPartIDIsw(partIDIsw *string) *DcimInventoryItemsListParams {
  1087  	o.SetPartIDIsw(partIDIsw)
  1088  	return o
  1089  }
  1090  
  1091  // SetPartIDIsw adds the partIdIsw to the dcim inventory items list params
  1092  func (o *DcimInventoryItemsListParams) SetPartIDIsw(partIDIsw *string) {
  1093  	o.PartIDIsw = partIDIsw
  1094  }
  1095  
  1096  // WithPartIDn adds the partIDn to the dcim inventory items list params
  1097  func (o *DcimInventoryItemsListParams) WithPartIDn(partIDn *string) *DcimInventoryItemsListParams {
  1098  	o.SetPartIDn(partIDn)
  1099  	return o
  1100  }
  1101  
  1102  // SetPartIDn adds the partIdN to the dcim inventory items list params
  1103  func (o *DcimInventoryItemsListParams) SetPartIDn(partIDn *string) {
  1104  	o.PartIDn = partIDn
  1105  }
  1106  
  1107  // WithPartIDNic adds the partIDNic to the dcim inventory items list params
  1108  func (o *DcimInventoryItemsListParams) WithPartIDNic(partIDNic *string) *DcimInventoryItemsListParams {
  1109  	o.SetPartIDNic(partIDNic)
  1110  	return o
  1111  }
  1112  
  1113  // SetPartIDNic adds the partIdNic to the dcim inventory items list params
  1114  func (o *DcimInventoryItemsListParams) SetPartIDNic(partIDNic *string) {
  1115  	o.PartIDNic = partIDNic
  1116  }
  1117  
  1118  // WithPartIDNie adds the partIDNie to the dcim inventory items list params
  1119  func (o *DcimInventoryItemsListParams) WithPartIDNie(partIDNie *string) *DcimInventoryItemsListParams {
  1120  	o.SetPartIDNie(partIDNie)
  1121  	return o
  1122  }
  1123  
  1124  // SetPartIDNie adds the partIdNie to the dcim inventory items list params
  1125  func (o *DcimInventoryItemsListParams) SetPartIDNie(partIDNie *string) {
  1126  	o.PartIDNie = partIDNie
  1127  }
  1128  
  1129  // WithPartIDNiew adds the partIDNiew to the dcim inventory items list params
  1130  func (o *DcimInventoryItemsListParams) WithPartIDNiew(partIDNiew *string) *DcimInventoryItemsListParams {
  1131  	o.SetPartIDNiew(partIDNiew)
  1132  	return o
  1133  }
  1134  
  1135  // SetPartIDNiew adds the partIdNiew to the dcim inventory items list params
  1136  func (o *DcimInventoryItemsListParams) SetPartIDNiew(partIDNiew *string) {
  1137  	o.PartIDNiew = partIDNiew
  1138  }
  1139  
  1140  // WithPartIDNisw adds the partIDNisw to the dcim inventory items list params
  1141  func (o *DcimInventoryItemsListParams) WithPartIDNisw(partIDNisw *string) *DcimInventoryItemsListParams {
  1142  	o.SetPartIDNisw(partIDNisw)
  1143  	return o
  1144  }
  1145  
  1146  // SetPartIDNisw adds the partIdNisw to the dcim inventory items list params
  1147  func (o *DcimInventoryItemsListParams) SetPartIDNisw(partIDNisw *string) {
  1148  	o.PartIDNisw = partIDNisw
  1149  }
  1150  
  1151  // WithQ adds the q to the dcim inventory items list params
  1152  func (o *DcimInventoryItemsListParams) WithQ(q *string) *DcimInventoryItemsListParams {
  1153  	o.SetQ(q)
  1154  	return o
  1155  }
  1156  
  1157  // SetQ adds the q to the dcim inventory items list params
  1158  func (o *DcimInventoryItemsListParams) SetQ(q *string) {
  1159  	o.Q = q
  1160  }
  1161  
  1162  // WithRegion adds the region to the dcim inventory items list params
  1163  func (o *DcimInventoryItemsListParams) WithRegion(region *string) *DcimInventoryItemsListParams {
  1164  	o.SetRegion(region)
  1165  	return o
  1166  }
  1167  
  1168  // SetRegion adds the region to the dcim inventory items list params
  1169  func (o *DcimInventoryItemsListParams) SetRegion(region *string) {
  1170  	o.Region = region
  1171  }
  1172  
  1173  // WithRegionn adds the regionn to the dcim inventory items list params
  1174  func (o *DcimInventoryItemsListParams) WithRegionn(regionn *string) *DcimInventoryItemsListParams {
  1175  	o.SetRegionn(regionn)
  1176  	return o
  1177  }
  1178  
  1179  // SetRegionn adds the regionN to the dcim inventory items list params
  1180  func (o *DcimInventoryItemsListParams) SetRegionn(regionn *string) {
  1181  	o.Regionn = regionn
  1182  }
  1183  
  1184  // WithRegionID adds the regionID to the dcim inventory items list params
  1185  func (o *DcimInventoryItemsListParams) WithRegionID(regionID *string) *DcimInventoryItemsListParams {
  1186  	o.SetRegionID(regionID)
  1187  	return o
  1188  }
  1189  
  1190  // SetRegionID adds the regionId to the dcim inventory items list params
  1191  func (o *DcimInventoryItemsListParams) SetRegionID(regionID *string) {
  1192  	o.RegionID = regionID
  1193  }
  1194  
  1195  // WithRegionIDn adds the regionIDn to the dcim inventory items list params
  1196  func (o *DcimInventoryItemsListParams) WithRegionIDn(regionIDn *string) *DcimInventoryItemsListParams {
  1197  	o.SetRegionIDn(regionIDn)
  1198  	return o
  1199  }
  1200  
  1201  // SetRegionIDn adds the regionIdN to the dcim inventory items list params
  1202  func (o *DcimInventoryItemsListParams) SetRegionIDn(regionIDn *string) {
  1203  	o.RegionIDn = regionIDn
  1204  }
  1205  
  1206  // WithSerial adds the serial to the dcim inventory items list params
  1207  func (o *DcimInventoryItemsListParams) WithSerial(serial *string) *DcimInventoryItemsListParams {
  1208  	o.SetSerial(serial)
  1209  	return o
  1210  }
  1211  
  1212  // SetSerial adds the serial to the dcim inventory items list params
  1213  func (o *DcimInventoryItemsListParams) SetSerial(serial *string) {
  1214  	o.Serial = serial
  1215  }
  1216  
  1217  // WithSite adds the site to the dcim inventory items list params
  1218  func (o *DcimInventoryItemsListParams) WithSite(site *string) *DcimInventoryItemsListParams {
  1219  	o.SetSite(site)
  1220  	return o
  1221  }
  1222  
  1223  // SetSite adds the site to the dcim inventory items list params
  1224  func (o *DcimInventoryItemsListParams) SetSite(site *string) {
  1225  	o.Site = site
  1226  }
  1227  
  1228  // WithSiten adds the siten to the dcim inventory items list params
  1229  func (o *DcimInventoryItemsListParams) WithSiten(siten *string) *DcimInventoryItemsListParams {
  1230  	o.SetSiten(siten)
  1231  	return o
  1232  }
  1233  
  1234  // SetSiten adds the siteN to the dcim inventory items list params
  1235  func (o *DcimInventoryItemsListParams) SetSiten(siten *string) {
  1236  	o.Siten = siten
  1237  }
  1238  
  1239  // WithSiteGroup adds the siteGroup to the dcim inventory items list params
  1240  func (o *DcimInventoryItemsListParams) WithSiteGroup(siteGroup *string) *DcimInventoryItemsListParams {
  1241  	o.SetSiteGroup(siteGroup)
  1242  	return o
  1243  }
  1244  
  1245  // SetSiteGroup adds the siteGroup to the dcim inventory items list params
  1246  func (o *DcimInventoryItemsListParams) SetSiteGroup(siteGroup *string) {
  1247  	o.SiteGroup = siteGroup
  1248  }
  1249  
  1250  // WithSiteGroupn adds the siteGroupn to the dcim inventory items list params
  1251  func (o *DcimInventoryItemsListParams) WithSiteGroupn(siteGroupn *string) *DcimInventoryItemsListParams {
  1252  	o.SetSiteGroupn(siteGroupn)
  1253  	return o
  1254  }
  1255  
  1256  // SetSiteGroupn adds the siteGroupN to the dcim inventory items list params
  1257  func (o *DcimInventoryItemsListParams) SetSiteGroupn(siteGroupn *string) {
  1258  	o.SiteGroupn = siteGroupn
  1259  }
  1260  
  1261  // WithSiteGroupID adds the siteGroupID to the dcim inventory items list params
  1262  func (o *DcimInventoryItemsListParams) WithSiteGroupID(siteGroupID *string) *DcimInventoryItemsListParams {
  1263  	o.SetSiteGroupID(siteGroupID)
  1264  	return o
  1265  }
  1266  
  1267  // SetSiteGroupID adds the siteGroupId to the dcim inventory items list params
  1268  func (o *DcimInventoryItemsListParams) SetSiteGroupID(siteGroupID *string) {
  1269  	o.SiteGroupID = siteGroupID
  1270  }
  1271  
  1272  // WithSiteGroupIDn adds the siteGroupIDn to the dcim inventory items list params
  1273  func (o *DcimInventoryItemsListParams) WithSiteGroupIDn(siteGroupIDn *string) *DcimInventoryItemsListParams {
  1274  	o.SetSiteGroupIDn(siteGroupIDn)
  1275  	return o
  1276  }
  1277  
  1278  // SetSiteGroupIDn adds the siteGroupIdN to the dcim inventory items list params
  1279  func (o *DcimInventoryItemsListParams) SetSiteGroupIDn(siteGroupIDn *string) {
  1280  	o.SiteGroupIDn = siteGroupIDn
  1281  }
  1282  
  1283  // WithSiteID adds the siteID to the dcim inventory items list params
  1284  func (o *DcimInventoryItemsListParams) WithSiteID(siteID *string) *DcimInventoryItemsListParams {
  1285  	o.SetSiteID(siteID)
  1286  	return o
  1287  }
  1288  
  1289  // SetSiteID adds the siteId to the dcim inventory items list params
  1290  func (o *DcimInventoryItemsListParams) SetSiteID(siteID *string) {
  1291  	o.SiteID = siteID
  1292  }
  1293  
  1294  // WithSiteIDn adds the siteIDn to the dcim inventory items list params
  1295  func (o *DcimInventoryItemsListParams) WithSiteIDn(siteIDn *string) *DcimInventoryItemsListParams {
  1296  	o.SetSiteIDn(siteIDn)
  1297  	return o
  1298  }
  1299  
  1300  // SetSiteIDn adds the siteIdN to the dcim inventory items list params
  1301  func (o *DcimInventoryItemsListParams) SetSiteIDn(siteIDn *string) {
  1302  	o.SiteIDn = siteIDn
  1303  }
  1304  
  1305  // WithTag adds the tag to the dcim inventory items list params
  1306  func (o *DcimInventoryItemsListParams) WithTag(tag *string) *DcimInventoryItemsListParams {
  1307  	o.SetTag(tag)
  1308  	return o
  1309  }
  1310  
  1311  // SetTag adds the tag to the dcim inventory items list params
  1312  func (o *DcimInventoryItemsListParams) SetTag(tag *string) {
  1313  	o.Tag = tag
  1314  }
  1315  
  1316  // WithTagn adds the tagn to the dcim inventory items list params
  1317  func (o *DcimInventoryItemsListParams) WithTagn(tagn *string) *DcimInventoryItemsListParams {
  1318  	o.SetTagn(tagn)
  1319  	return o
  1320  }
  1321  
  1322  // SetTagn adds the tagN to the dcim inventory items list params
  1323  func (o *DcimInventoryItemsListParams) SetTagn(tagn *string) {
  1324  	o.Tagn = tagn
  1325  }
  1326  
  1327  // WriteToRequest writes these params to a swagger request
  1328  func (o *DcimInventoryItemsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
  1329  
  1330  	if err := r.SetTimeout(o.timeout); err != nil {
  1331  		return err
  1332  	}
  1333  	var res []error
  1334  
  1335  	if o.AssetTag != nil {
  1336  
  1337  		// query param asset_tag
  1338  		var qrAssetTag string
  1339  
  1340  		if o.AssetTag != nil {
  1341  			qrAssetTag = *o.AssetTag
  1342  		}
  1343  		qAssetTag := qrAssetTag
  1344  		if qAssetTag != "" {
  1345  
  1346  			if err := r.SetQueryParam("asset_tag", qAssetTag); err != nil {
  1347  				return err
  1348  			}
  1349  		}
  1350  	}
  1351  
  1352  	if o.AssetTagEmpty != nil {
  1353  
  1354  		// query param asset_tag__empty
  1355  		var qrAssetTagEmpty string
  1356  
  1357  		if o.AssetTagEmpty != nil {
  1358  			qrAssetTagEmpty = *o.AssetTagEmpty
  1359  		}
  1360  		qAssetTagEmpty := qrAssetTagEmpty
  1361  		if qAssetTagEmpty != "" {
  1362  
  1363  			if err := r.SetQueryParam("asset_tag__empty", qAssetTagEmpty); err != nil {
  1364  				return err
  1365  			}
  1366  		}
  1367  	}
  1368  
  1369  	if o.AssetTagIc != nil {
  1370  
  1371  		// query param asset_tag__ic
  1372  		var qrAssetTagIc string
  1373  
  1374  		if o.AssetTagIc != nil {
  1375  			qrAssetTagIc = *o.AssetTagIc
  1376  		}
  1377  		qAssetTagIc := qrAssetTagIc
  1378  		if qAssetTagIc != "" {
  1379  
  1380  			if err := r.SetQueryParam("asset_tag__ic", qAssetTagIc); err != nil {
  1381  				return err
  1382  			}
  1383  		}
  1384  	}
  1385  
  1386  	if o.AssetTagIe != nil {
  1387  
  1388  		// query param asset_tag__ie
  1389  		var qrAssetTagIe string
  1390  
  1391  		if o.AssetTagIe != nil {
  1392  			qrAssetTagIe = *o.AssetTagIe
  1393  		}
  1394  		qAssetTagIe := qrAssetTagIe
  1395  		if qAssetTagIe != "" {
  1396  
  1397  			if err := r.SetQueryParam("asset_tag__ie", qAssetTagIe); err != nil {
  1398  				return err
  1399  			}
  1400  		}
  1401  	}
  1402  
  1403  	if o.AssetTagIew != nil {
  1404  
  1405  		// query param asset_tag__iew
  1406  		var qrAssetTagIew string
  1407  
  1408  		if o.AssetTagIew != nil {
  1409  			qrAssetTagIew = *o.AssetTagIew
  1410  		}
  1411  		qAssetTagIew := qrAssetTagIew
  1412  		if qAssetTagIew != "" {
  1413  
  1414  			if err := r.SetQueryParam("asset_tag__iew", qAssetTagIew); err != nil {
  1415  				return err
  1416  			}
  1417  		}
  1418  	}
  1419  
  1420  	if o.AssetTagIsw != nil {
  1421  
  1422  		// query param asset_tag__isw
  1423  		var qrAssetTagIsw string
  1424  
  1425  		if o.AssetTagIsw != nil {
  1426  			qrAssetTagIsw = *o.AssetTagIsw
  1427  		}
  1428  		qAssetTagIsw := qrAssetTagIsw
  1429  		if qAssetTagIsw != "" {
  1430  
  1431  			if err := r.SetQueryParam("asset_tag__isw", qAssetTagIsw); err != nil {
  1432  				return err
  1433  			}
  1434  		}
  1435  	}
  1436  
  1437  	if o.AssetTagn != nil {
  1438  
  1439  		// query param asset_tag__n
  1440  		var qrAssetTagn string
  1441  
  1442  		if o.AssetTagn != nil {
  1443  			qrAssetTagn = *o.AssetTagn
  1444  		}
  1445  		qAssetTagn := qrAssetTagn
  1446  		if qAssetTagn != "" {
  1447  
  1448  			if err := r.SetQueryParam("asset_tag__n", qAssetTagn); err != nil {
  1449  				return err
  1450  			}
  1451  		}
  1452  	}
  1453  
  1454  	if o.AssetTagNic != nil {
  1455  
  1456  		// query param asset_tag__nic
  1457  		var qrAssetTagNic string
  1458  
  1459  		if o.AssetTagNic != nil {
  1460  			qrAssetTagNic = *o.AssetTagNic
  1461  		}
  1462  		qAssetTagNic := qrAssetTagNic
  1463  		if qAssetTagNic != "" {
  1464  
  1465  			if err := r.SetQueryParam("asset_tag__nic", qAssetTagNic); err != nil {
  1466  				return err
  1467  			}
  1468  		}
  1469  	}
  1470  
  1471  	if o.AssetTagNie != nil {
  1472  
  1473  		// query param asset_tag__nie
  1474  		var qrAssetTagNie string
  1475  
  1476  		if o.AssetTagNie != nil {
  1477  			qrAssetTagNie = *o.AssetTagNie
  1478  		}
  1479  		qAssetTagNie := qrAssetTagNie
  1480  		if qAssetTagNie != "" {
  1481  
  1482  			if err := r.SetQueryParam("asset_tag__nie", qAssetTagNie); err != nil {
  1483  				return err
  1484  			}
  1485  		}
  1486  	}
  1487  
  1488  	if o.AssetTagNiew != nil {
  1489  
  1490  		// query param asset_tag__niew
  1491  		var qrAssetTagNiew string
  1492  
  1493  		if o.AssetTagNiew != nil {
  1494  			qrAssetTagNiew = *o.AssetTagNiew
  1495  		}
  1496  		qAssetTagNiew := qrAssetTagNiew
  1497  		if qAssetTagNiew != "" {
  1498  
  1499  			if err := r.SetQueryParam("asset_tag__niew", qAssetTagNiew); err != nil {
  1500  				return err
  1501  			}
  1502  		}
  1503  	}
  1504  
  1505  	if o.AssetTagNisw != nil {
  1506  
  1507  		// query param asset_tag__nisw
  1508  		var qrAssetTagNisw string
  1509  
  1510  		if o.AssetTagNisw != nil {
  1511  			qrAssetTagNisw = *o.AssetTagNisw
  1512  		}
  1513  		qAssetTagNisw := qrAssetTagNisw
  1514  		if qAssetTagNisw != "" {
  1515  
  1516  			if err := r.SetQueryParam("asset_tag__nisw", qAssetTagNisw); err != nil {
  1517  				return err
  1518  			}
  1519  		}
  1520  	}
  1521  
  1522  	if o.Created != nil {
  1523  
  1524  		// query param created
  1525  		var qrCreated string
  1526  
  1527  		if o.Created != nil {
  1528  			qrCreated = *o.Created
  1529  		}
  1530  		qCreated := qrCreated
  1531  		if qCreated != "" {
  1532  
  1533  			if err := r.SetQueryParam("created", qCreated); err != nil {
  1534  				return err
  1535  			}
  1536  		}
  1537  	}
  1538  
  1539  	if o.CreatedGte != nil {
  1540  
  1541  		// query param created__gte
  1542  		var qrCreatedGte string
  1543  
  1544  		if o.CreatedGte != nil {
  1545  			qrCreatedGte = *o.CreatedGte
  1546  		}
  1547  		qCreatedGte := qrCreatedGte
  1548  		if qCreatedGte != "" {
  1549  
  1550  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  1551  				return err
  1552  			}
  1553  		}
  1554  	}
  1555  
  1556  	if o.CreatedLte != nil {
  1557  
  1558  		// query param created__lte
  1559  		var qrCreatedLte string
  1560  
  1561  		if o.CreatedLte != nil {
  1562  			qrCreatedLte = *o.CreatedLte
  1563  		}
  1564  		qCreatedLte := qrCreatedLte
  1565  		if qCreatedLte != "" {
  1566  
  1567  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  1568  				return err
  1569  			}
  1570  		}
  1571  	}
  1572  
  1573  	if o.Device != nil {
  1574  
  1575  		// query param device
  1576  		var qrDevice string
  1577  
  1578  		if o.Device != nil {
  1579  			qrDevice = *o.Device
  1580  		}
  1581  		qDevice := qrDevice
  1582  		if qDevice != "" {
  1583  
  1584  			if err := r.SetQueryParam("device", qDevice); err != nil {
  1585  				return err
  1586  			}
  1587  		}
  1588  	}
  1589  
  1590  	if o.Devicen != nil {
  1591  
  1592  		// query param device__n
  1593  		var qrDevicen string
  1594  
  1595  		if o.Devicen != nil {
  1596  			qrDevicen = *o.Devicen
  1597  		}
  1598  		qDevicen := qrDevicen
  1599  		if qDevicen != "" {
  1600  
  1601  			if err := r.SetQueryParam("device__n", qDevicen); err != nil {
  1602  				return err
  1603  			}
  1604  		}
  1605  	}
  1606  
  1607  	if o.DeviceID != nil {
  1608  
  1609  		// query param device_id
  1610  		var qrDeviceID string
  1611  
  1612  		if o.DeviceID != nil {
  1613  			qrDeviceID = *o.DeviceID
  1614  		}
  1615  		qDeviceID := qrDeviceID
  1616  		if qDeviceID != "" {
  1617  
  1618  			if err := r.SetQueryParam("device_id", qDeviceID); err != nil {
  1619  				return err
  1620  			}
  1621  		}
  1622  	}
  1623  
  1624  	if o.DeviceIDn != nil {
  1625  
  1626  		// query param device_id__n
  1627  		var qrDeviceIDn string
  1628  
  1629  		if o.DeviceIDn != nil {
  1630  			qrDeviceIDn = *o.DeviceIDn
  1631  		}
  1632  		qDeviceIDn := qrDeviceIDn
  1633  		if qDeviceIDn != "" {
  1634  
  1635  			if err := r.SetQueryParam("device_id__n", qDeviceIDn); err != nil {
  1636  				return err
  1637  			}
  1638  		}
  1639  	}
  1640  
  1641  	if o.Discovered != nil {
  1642  
  1643  		// query param discovered
  1644  		var qrDiscovered string
  1645  
  1646  		if o.Discovered != nil {
  1647  			qrDiscovered = *o.Discovered
  1648  		}
  1649  		qDiscovered := qrDiscovered
  1650  		if qDiscovered != "" {
  1651  
  1652  			if err := r.SetQueryParam("discovered", qDiscovered); err != nil {
  1653  				return err
  1654  			}
  1655  		}
  1656  	}
  1657  
  1658  	if o.ID != nil {
  1659  
  1660  		// query param id
  1661  		var qrID string
  1662  
  1663  		if o.ID != nil {
  1664  			qrID = *o.ID
  1665  		}
  1666  		qID := qrID
  1667  		if qID != "" {
  1668  
  1669  			if err := r.SetQueryParam("id", qID); err != nil {
  1670  				return err
  1671  			}
  1672  		}
  1673  	}
  1674  
  1675  	if o.IDGt != nil {
  1676  
  1677  		// query param id__gt
  1678  		var qrIDGt string
  1679  
  1680  		if o.IDGt != nil {
  1681  			qrIDGt = *o.IDGt
  1682  		}
  1683  		qIDGt := qrIDGt
  1684  		if qIDGt != "" {
  1685  
  1686  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1687  				return err
  1688  			}
  1689  		}
  1690  	}
  1691  
  1692  	if o.IDGte != nil {
  1693  
  1694  		// query param id__gte
  1695  		var qrIDGte string
  1696  
  1697  		if o.IDGte != nil {
  1698  			qrIDGte = *o.IDGte
  1699  		}
  1700  		qIDGte := qrIDGte
  1701  		if qIDGte != "" {
  1702  
  1703  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1704  				return err
  1705  			}
  1706  		}
  1707  	}
  1708  
  1709  	if o.IDLt != nil {
  1710  
  1711  		// query param id__lt
  1712  		var qrIDLt string
  1713  
  1714  		if o.IDLt != nil {
  1715  			qrIDLt = *o.IDLt
  1716  		}
  1717  		qIDLt := qrIDLt
  1718  		if qIDLt != "" {
  1719  
  1720  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1721  				return err
  1722  			}
  1723  		}
  1724  	}
  1725  
  1726  	if o.IDLte != nil {
  1727  
  1728  		// query param id__lte
  1729  		var qrIDLte string
  1730  
  1731  		if o.IDLte != nil {
  1732  			qrIDLte = *o.IDLte
  1733  		}
  1734  		qIDLte := qrIDLte
  1735  		if qIDLte != "" {
  1736  
  1737  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1738  				return err
  1739  			}
  1740  		}
  1741  	}
  1742  
  1743  	if o.IDn != nil {
  1744  
  1745  		// query param id__n
  1746  		var qrIDn string
  1747  
  1748  		if o.IDn != nil {
  1749  			qrIDn = *o.IDn
  1750  		}
  1751  		qIDn := qrIDn
  1752  		if qIDn != "" {
  1753  
  1754  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1755  				return err
  1756  			}
  1757  		}
  1758  	}
  1759  
  1760  	if o.Label != nil {
  1761  
  1762  		// query param label
  1763  		var qrLabel string
  1764  
  1765  		if o.Label != nil {
  1766  			qrLabel = *o.Label
  1767  		}
  1768  		qLabel := qrLabel
  1769  		if qLabel != "" {
  1770  
  1771  			if err := r.SetQueryParam("label", qLabel); err != nil {
  1772  				return err
  1773  			}
  1774  		}
  1775  	}
  1776  
  1777  	if o.LabelEmpty != nil {
  1778  
  1779  		// query param label__empty
  1780  		var qrLabelEmpty string
  1781  
  1782  		if o.LabelEmpty != nil {
  1783  			qrLabelEmpty = *o.LabelEmpty
  1784  		}
  1785  		qLabelEmpty := qrLabelEmpty
  1786  		if qLabelEmpty != "" {
  1787  
  1788  			if err := r.SetQueryParam("label__empty", qLabelEmpty); err != nil {
  1789  				return err
  1790  			}
  1791  		}
  1792  	}
  1793  
  1794  	if o.LabelIc != nil {
  1795  
  1796  		// query param label__ic
  1797  		var qrLabelIc string
  1798  
  1799  		if o.LabelIc != nil {
  1800  			qrLabelIc = *o.LabelIc
  1801  		}
  1802  		qLabelIc := qrLabelIc
  1803  		if qLabelIc != "" {
  1804  
  1805  			if err := r.SetQueryParam("label__ic", qLabelIc); err != nil {
  1806  				return err
  1807  			}
  1808  		}
  1809  	}
  1810  
  1811  	if o.LabelIe != nil {
  1812  
  1813  		// query param label__ie
  1814  		var qrLabelIe string
  1815  
  1816  		if o.LabelIe != nil {
  1817  			qrLabelIe = *o.LabelIe
  1818  		}
  1819  		qLabelIe := qrLabelIe
  1820  		if qLabelIe != "" {
  1821  
  1822  			if err := r.SetQueryParam("label__ie", qLabelIe); err != nil {
  1823  				return err
  1824  			}
  1825  		}
  1826  	}
  1827  
  1828  	if o.LabelIew != nil {
  1829  
  1830  		// query param label__iew
  1831  		var qrLabelIew string
  1832  
  1833  		if o.LabelIew != nil {
  1834  			qrLabelIew = *o.LabelIew
  1835  		}
  1836  		qLabelIew := qrLabelIew
  1837  		if qLabelIew != "" {
  1838  
  1839  			if err := r.SetQueryParam("label__iew", qLabelIew); err != nil {
  1840  				return err
  1841  			}
  1842  		}
  1843  	}
  1844  
  1845  	if o.LabelIsw != nil {
  1846  
  1847  		// query param label__isw
  1848  		var qrLabelIsw string
  1849  
  1850  		if o.LabelIsw != nil {
  1851  			qrLabelIsw = *o.LabelIsw
  1852  		}
  1853  		qLabelIsw := qrLabelIsw
  1854  		if qLabelIsw != "" {
  1855  
  1856  			if err := r.SetQueryParam("label__isw", qLabelIsw); err != nil {
  1857  				return err
  1858  			}
  1859  		}
  1860  	}
  1861  
  1862  	if o.Labeln != nil {
  1863  
  1864  		// query param label__n
  1865  		var qrLabeln string
  1866  
  1867  		if o.Labeln != nil {
  1868  			qrLabeln = *o.Labeln
  1869  		}
  1870  		qLabeln := qrLabeln
  1871  		if qLabeln != "" {
  1872  
  1873  			if err := r.SetQueryParam("label__n", qLabeln); err != nil {
  1874  				return err
  1875  			}
  1876  		}
  1877  	}
  1878  
  1879  	if o.LabelNic != nil {
  1880  
  1881  		// query param label__nic
  1882  		var qrLabelNic string
  1883  
  1884  		if o.LabelNic != nil {
  1885  			qrLabelNic = *o.LabelNic
  1886  		}
  1887  		qLabelNic := qrLabelNic
  1888  		if qLabelNic != "" {
  1889  
  1890  			if err := r.SetQueryParam("label__nic", qLabelNic); err != nil {
  1891  				return err
  1892  			}
  1893  		}
  1894  	}
  1895  
  1896  	if o.LabelNie != nil {
  1897  
  1898  		// query param label__nie
  1899  		var qrLabelNie string
  1900  
  1901  		if o.LabelNie != nil {
  1902  			qrLabelNie = *o.LabelNie
  1903  		}
  1904  		qLabelNie := qrLabelNie
  1905  		if qLabelNie != "" {
  1906  
  1907  			if err := r.SetQueryParam("label__nie", qLabelNie); err != nil {
  1908  				return err
  1909  			}
  1910  		}
  1911  	}
  1912  
  1913  	if o.LabelNiew != nil {
  1914  
  1915  		// query param label__niew
  1916  		var qrLabelNiew string
  1917  
  1918  		if o.LabelNiew != nil {
  1919  			qrLabelNiew = *o.LabelNiew
  1920  		}
  1921  		qLabelNiew := qrLabelNiew
  1922  		if qLabelNiew != "" {
  1923  
  1924  			if err := r.SetQueryParam("label__niew", qLabelNiew); err != nil {
  1925  				return err
  1926  			}
  1927  		}
  1928  	}
  1929  
  1930  	if o.LabelNisw != nil {
  1931  
  1932  		// query param label__nisw
  1933  		var qrLabelNisw string
  1934  
  1935  		if o.LabelNisw != nil {
  1936  			qrLabelNisw = *o.LabelNisw
  1937  		}
  1938  		qLabelNisw := qrLabelNisw
  1939  		if qLabelNisw != "" {
  1940  
  1941  			if err := r.SetQueryParam("label__nisw", qLabelNisw); err != nil {
  1942  				return err
  1943  			}
  1944  		}
  1945  	}
  1946  
  1947  	if o.LastUpdated != nil {
  1948  
  1949  		// query param last_updated
  1950  		var qrLastUpdated string
  1951  
  1952  		if o.LastUpdated != nil {
  1953  			qrLastUpdated = *o.LastUpdated
  1954  		}
  1955  		qLastUpdated := qrLastUpdated
  1956  		if qLastUpdated != "" {
  1957  
  1958  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  1959  				return err
  1960  			}
  1961  		}
  1962  	}
  1963  
  1964  	if o.LastUpdatedGte != nil {
  1965  
  1966  		// query param last_updated__gte
  1967  		var qrLastUpdatedGte string
  1968  
  1969  		if o.LastUpdatedGte != nil {
  1970  			qrLastUpdatedGte = *o.LastUpdatedGte
  1971  		}
  1972  		qLastUpdatedGte := qrLastUpdatedGte
  1973  		if qLastUpdatedGte != "" {
  1974  
  1975  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  1976  				return err
  1977  			}
  1978  		}
  1979  	}
  1980  
  1981  	if o.LastUpdatedLte != nil {
  1982  
  1983  		// query param last_updated__lte
  1984  		var qrLastUpdatedLte string
  1985  
  1986  		if o.LastUpdatedLte != nil {
  1987  			qrLastUpdatedLte = *o.LastUpdatedLte
  1988  		}
  1989  		qLastUpdatedLte := qrLastUpdatedLte
  1990  		if qLastUpdatedLte != "" {
  1991  
  1992  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  1993  				return err
  1994  			}
  1995  		}
  1996  	}
  1997  
  1998  	if o.Limit != nil {
  1999  
  2000  		// query param limit
  2001  		var qrLimit int64
  2002  
  2003  		if o.Limit != nil {
  2004  			qrLimit = *o.Limit
  2005  		}
  2006  		qLimit := swag.FormatInt64(qrLimit)
  2007  		if qLimit != "" {
  2008  
  2009  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  2010  				return err
  2011  			}
  2012  		}
  2013  	}
  2014  
  2015  	if o.Manufacturer != nil {
  2016  
  2017  		// query param manufacturer
  2018  		var qrManufacturer string
  2019  
  2020  		if o.Manufacturer != nil {
  2021  			qrManufacturer = *o.Manufacturer
  2022  		}
  2023  		qManufacturer := qrManufacturer
  2024  		if qManufacturer != "" {
  2025  
  2026  			if err := r.SetQueryParam("manufacturer", qManufacturer); err != nil {
  2027  				return err
  2028  			}
  2029  		}
  2030  	}
  2031  
  2032  	if o.Manufacturern != nil {
  2033  
  2034  		// query param manufacturer__n
  2035  		var qrManufacturern string
  2036  
  2037  		if o.Manufacturern != nil {
  2038  			qrManufacturern = *o.Manufacturern
  2039  		}
  2040  		qManufacturern := qrManufacturern
  2041  		if qManufacturern != "" {
  2042  
  2043  			if err := r.SetQueryParam("manufacturer__n", qManufacturern); err != nil {
  2044  				return err
  2045  			}
  2046  		}
  2047  	}
  2048  
  2049  	if o.ManufacturerID != nil {
  2050  
  2051  		// query param manufacturer_id
  2052  		var qrManufacturerID string
  2053  
  2054  		if o.ManufacturerID != nil {
  2055  			qrManufacturerID = *o.ManufacturerID
  2056  		}
  2057  		qManufacturerID := qrManufacturerID
  2058  		if qManufacturerID != "" {
  2059  
  2060  			if err := r.SetQueryParam("manufacturer_id", qManufacturerID); err != nil {
  2061  				return err
  2062  			}
  2063  		}
  2064  	}
  2065  
  2066  	if o.ManufacturerIDn != nil {
  2067  
  2068  		// query param manufacturer_id__n
  2069  		var qrManufacturerIDn string
  2070  
  2071  		if o.ManufacturerIDn != nil {
  2072  			qrManufacturerIDn = *o.ManufacturerIDn
  2073  		}
  2074  		qManufacturerIDn := qrManufacturerIDn
  2075  		if qManufacturerIDn != "" {
  2076  
  2077  			if err := r.SetQueryParam("manufacturer_id__n", qManufacturerIDn); err != nil {
  2078  				return err
  2079  			}
  2080  		}
  2081  	}
  2082  
  2083  	if o.Name != nil {
  2084  
  2085  		// query param name
  2086  		var qrName string
  2087  
  2088  		if o.Name != nil {
  2089  			qrName = *o.Name
  2090  		}
  2091  		qName := qrName
  2092  		if qName != "" {
  2093  
  2094  			if err := r.SetQueryParam("name", qName); err != nil {
  2095  				return err
  2096  			}
  2097  		}
  2098  	}
  2099  
  2100  	if o.NameEmpty != nil {
  2101  
  2102  		// query param name__empty
  2103  		var qrNameEmpty string
  2104  
  2105  		if o.NameEmpty != nil {
  2106  			qrNameEmpty = *o.NameEmpty
  2107  		}
  2108  		qNameEmpty := qrNameEmpty
  2109  		if qNameEmpty != "" {
  2110  
  2111  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  2112  				return err
  2113  			}
  2114  		}
  2115  	}
  2116  
  2117  	if o.NameIc != nil {
  2118  
  2119  		// query param name__ic
  2120  		var qrNameIc string
  2121  
  2122  		if o.NameIc != nil {
  2123  			qrNameIc = *o.NameIc
  2124  		}
  2125  		qNameIc := qrNameIc
  2126  		if qNameIc != "" {
  2127  
  2128  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  2129  				return err
  2130  			}
  2131  		}
  2132  	}
  2133  
  2134  	if o.NameIe != nil {
  2135  
  2136  		// query param name__ie
  2137  		var qrNameIe string
  2138  
  2139  		if o.NameIe != nil {
  2140  			qrNameIe = *o.NameIe
  2141  		}
  2142  		qNameIe := qrNameIe
  2143  		if qNameIe != "" {
  2144  
  2145  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  2146  				return err
  2147  			}
  2148  		}
  2149  	}
  2150  
  2151  	if o.NameIew != nil {
  2152  
  2153  		// query param name__iew
  2154  		var qrNameIew string
  2155  
  2156  		if o.NameIew != nil {
  2157  			qrNameIew = *o.NameIew
  2158  		}
  2159  		qNameIew := qrNameIew
  2160  		if qNameIew != "" {
  2161  
  2162  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  2163  				return err
  2164  			}
  2165  		}
  2166  	}
  2167  
  2168  	if o.NameIsw != nil {
  2169  
  2170  		// query param name__isw
  2171  		var qrNameIsw string
  2172  
  2173  		if o.NameIsw != nil {
  2174  			qrNameIsw = *o.NameIsw
  2175  		}
  2176  		qNameIsw := qrNameIsw
  2177  		if qNameIsw != "" {
  2178  
  2179  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  2180  				return err
  2181  			}
  2182  		}
  2183  	}
  2184  
  2185  	if o.Namen != nil {
  2186  
  2187  		// query param name__n
  2188  		var qrNamen string
  2189  
  2190  		if o.Namen != nil {
  2191  			qrNamen = *o.Namen
  2192  		}
  2193  		qNamen := qrNamen
  2194  		if qNamen != "" {
  2195  
  2196  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  2197  				return err
  2198  			}
  2199  		}
  2200  	}
  2201  
  2202  	if o.NameNic != nil {
  2203  
  2204  		// query param name__nic
  2205  		var qrNameNic string
  2206  
  2207  		if o.NameNic != nil {
  2208  			qrNameNic = *o.NameNic
  2209  		}
  2210  		qNameNic := qrNameNic
  2211  		if qNameNic != "" {
  2212  
  2213  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  2214  				return err
  2215  			}
  2216  		}
  2217  	}
  2218  
  2219  	if o.NameNie != nil {
  2220  
  2221  		// query param name__nie
  2222  		var qrNameNie string
  2223  
  2224  		if o.NameNie != nil {
  2225  			qrNameNie = *o.NameNie
  2226  		}
  2227  		qNameNie := qrNameNie
  2228  		if qNameNie != "" {
  2229  
  2230  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  2231  				return err
  2232  			}
  2233  		}
  2234  	}
  2235  
  2236  	if o.NameNiew != nil {
  2237  
  2238  		// query param name__niew
  2239  		var qrNameNiew string
  2240  
  2241  		if o.NameNiew != nil {
  2242  			qrNameNiew = *o.NameNiew
  2243  		}
  2244  		qNameNiew := qrNameNiew
  2245  		if qNameNiew != "" {
  2246  
  2247  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  2248  				return err
  2249  			}
  2250  		}
  2251  	}
  2252  
  2253  	if o.NameNisw != nil {
  2254  
  2255  		// query param name__nisw
  2256  		var qrNameNisw string
  2257  
  2258  		if o.NameNisw != nil {
  2259  			qrNameNisw = *o.NameNisw
  2260  		}
  2261  		qNameNisw := qrNameNisw
  2262  		if qNameNisw != "" {
  2263  
  2264  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  2265  				return err
  2266  			}
  2267  		}
  2268  	}
  2269  
  2270  	if o.Offset != nil {
  2271  
  2272  		// query param offset
  2273  		var qrOffset int64
  2274  
  2275  		if o.Offset != nil {
  2276  			qrOffset = *o.Offset
  2277  		}
  2278  		qOffset := swag.FormatInt64(qrOffset)
  2279  		if qOffset != "" {
  2280  
  2281  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  2282  				return err
  2283  			}
  2284  		}
  2285  	}
  2286  
  2287  	if o.ParentID != nil {
  2288  
  2289  		// query param parent_id
  2290  		var qrParentID string
  2291  
  2292  		if o.ParentID != nil {
  2293  			qrParentID = *o.ParentID
  2294  		}
  2295  		qParentID := qrParentID
  2296  		if qParentID != "" {
  2297  
  2298  			if err := r.SetQueryParam("parent_id", qParentID); err != nil {
  2299  				return err
  2300  			}
  2301  		}
  2302  	}
  2303  
  2304  	if o.ParentIDn != nil {
  2305  
  2306  		// query param parent_id__n
  2307  		var qrParentIDn string
  2308  
  2309  		if o.ParentIDn != nil {
  2310  			qrParentIDn = *o.ParentIDn
  2311  		}
  2312  		qParentIDn := qrParentIDn
  2313  		if qParentIDn != "" {
  2314  
  2315  			if err := r.SetQueryParam("parent_id__n", qParentIDn); err != nil {
  2316  				return err
  2317  			}
  2318  		}
  2319  	}
  2320  
  2321  	if o.PartID != nil {
  2322  
  2323  		// query param part_id
  2324  		var qrPartID string
  2325  
  2326  		if o.PartID != nil {
  2327  			qrPartID = *o.PartID
  2328  		}
  2329  		qPartID := qrPartID
  2330  		if qPartID != "" {
  2331  
  2332  			if err := r.SetQueryParam("part_id", qPartID); err != nil {
  2333  				return err
  2334  			}
  2335  		}
  2336  	}
  2337  
  2338  	if o.PartIDEmpty != nil {
  2339  
  2340  		// query param part_id__empty
  2341  		var qrPartIDEmpty string
  2342  
  2343  		if o.PartIDEmpty != nil {
  2344  			qrPartIDEmpty = *o.PartIDEmpty
  2345  		}
  2346  		qPartIDEmpty := qrPartIDEmpty
  2347  		if qPartIDEmpty != "" {
  2348  
  2349  			if err := r.SetQueryParam("part_id__empty", qPartIDEmpty); err != nil {
  2350  				return err
  2351  			}
  2352  		}
  2353  	}
  2354  
  2355  	if o.PartIDIc != nil {
  2356  
  2357  		// query param part_id__ic
  2358  		var qrPartIDIc string
  2359  
  2360  		if o.PartIDIc != nil {
  2361  			qrPartIDIc = *o.PartIDIc
  2362  		}
  2363  		qPartIDIc := qrPartIDIc
  2364  		if qPartIDIc != "" {
  2365  
  2366  			if err := r.SetQueryParam("part_id__ic", qPartIDIc); err != nil {
  2367  				return err
  2368  			}
  2369  		}
  2370  	}
  2371  
  2372  	if o.PartIDIe != nil {
  2373  
  2374  		// query param part_id__ie
  2375  		var qrPartIDIe string
  2376  
  2377  		if o.PartIDIe != nil {
  2378  			qrPartIDIe = *o.PartIDIe
  2379  		}
  2380  		qPartIDIe := qrPartIDIe
  2381  		if qPartIDIe != "" {
  2382  
  2383  			if err := r.SetQueryParam("part_id__ie", qPartIDIe); err != nil {
  2384  				return err
  2385  			}
  2386  		}
  2387  	}
  2388  
  2389  	if o.PartIDIew != nil {
  2390  
  2391  		// query param part_id__iew
  2392  		var qrPartIDIew string
  2393  
  2394  		if o.PartIDIew != nil {
  2395  			qrPartIDIew = *o.PartIDIew
  2396  		}
  2397  		qPartIDIew := qrPartIDIew
  2398  		if qPartIDIew != "" {
  2399  
  2400  			if err := r.SetQueryParam("part_id__iew", qPartIDIew); err != nil {
  2401  				return err
  2402  			}
  2403  		}
  2404  	}
  2405  
  2406  	if o.PartIDIsw != nil {
  2407  
  2408  		// query param part_id__isw
  2409  		var qrPartIDIsw string
  2410  
  2411  		if o.PartIDIsw != nil {
  2412  			qrPartIDIsw = *o.PartIDIsw
  2413  		}
  2414  		qPartIDIsw := qrPartIDIsw
  2415  		if qPartIDIsw != "" {
  2416  
  2417  			if err := r.SetQueryParam("part_id__isw", qPartIDIsw); err != nil {
  2418  				return err
  2419  			}
  2420  		}
  2421  	}
  2422  
  2423  	if o.PartIDn != nil {
  2424  
  2425  		// query param part_id__n
  2426  		var qrPartIDn string
  2427  
  2428  		if o.PartIDn != nil {
  2429  			qrPartIDn = *o.PartIDn
  2430  		}
  2431  		qPartIDn := qrPartIDn
  2432  		if qPartIDn != "" {
  2433  
  2434  			if err := r.SetQueryParam("part_id__n", qPartIDn); err != nil {
  2435  				return err
  2436  			}
  2437  		}
  2438  	}
  2439  
  2440  	if o.PartIDNic != nil {
  2441  
  2442  		// query param part_id__nic
  2443  		var qrPartIDNic string
  2444  
  2445  		if o.PartIDNic != nil {
  2446  			qrPartIDNic = *o.PartIDNic
  2447  		}
  2448  		qPartIDNic := qrPartIDNic
  2449  		if qPartIDNic != "" {
  2450  
  2451  			if err := r.SetQueryParam("part_id__nic", qPartIDNic); err != nil {
  2452  				return err
  2453  			}
  2454  		}
  2455  	}
  2456  
  2457  	if o.PartIDNie != nil {
  2458  
  2459  		// query param part_id__nie
  2460  		var qrPartIDNie string
  2461  
  2462  		if o.PartIDNie != nil {
  2463  			qrPartIDNie = *o.PartIDNie
  2464  		}
  2465  		qPartIDNie := qrPartIDNie
  2466  		if qPartIDNie != "" {
  2467  
  2468  			if err := r.SetQueryParam("part_id__nie", qPartIDNie); err != nil {
  2469  				return err
  2470  			}
  2471  		}
  2472  	}
  2473  
  2474  	if o.PartIDNiew != nil {
  2475  
  2476  		// query param part_id__niew
  2477  		var qrPartIDNiew string
  2478  
  2479  		if o.PartIDNiew != nil {
  2480  			qrPartIDNiew = *o.PartIDNiew
  2481  		}
  2482  		qPartIDNiew := qrPartIDNiew
  2483  		if qPartIDNiew != "" {
  2484  
  2485  			if err := r.SetQueryParam("part_id__niew", qPartIDNiew); err != nil {
  2486  				return err
  2487  			}
  2488  		}
  2489  	}
  2490  
  2491  	if o.PartIDNisw != nil {
  2492  
  2493  		// query param part_id__nisw
  2494  		var qrPartIDNisw string
  2495  
  2496  		if o.PartIDNisw != nil {
  2497  			qrPartIDNisw = *o.PartIDNisw
  2498  		}
  2499  		qPartIDNisw := qrPartIDNisw
  2500  		if qPartIDNisw != "" {
  2501  
  2502  			if err := r.SetQueryParam("part_id__nisw", qPartIDNisw); err != nil {
  2503  				return err
  2504  			}
  2505  		}
  2506  	}
  2507  
  2508  	if o.Q != nil {
  2509  
  2510  		// query param q
  2511  		var qrQ string
  2512  
  2513  		if o.Q != nil {
  2514  			qrQ = *o.Q
  2515  		}
  2516  		qQ := qrQ
  2517  		if qQ != "" {
  2518  
  2519  			if err := r.SetQueryParam("q", qQ); err != nil {
  2520  				return err
  2521  			}
  2522  		}
  2523  	}
  2524  
  2525  	if o.Region != nil {
  2526  
  2527  		// query param region
  2528  		var qrRegion string
  2529  
  2530  		if o.Region != nil {
  2531  			qrRegion = *o.Region
  2532  		}
  2533  		qRegion := qrRegion
  2534  		if qRegion != "" {
  2535  
  2536  			if err := r.SetQueryParam("region", qRegion); err != nil {
  2537  				return err
  2538  			}
  2539  		}
  2540  	}
  2541  
  2542  	if o.Regionn != nil {
  2543  
  2544  		// query param region__n
  2545  		var qrRegionn string
  2546  
  2547  		if o.Regionn != nil {
  2548  			qrRegionn = *o.Regionn
  2549  		}
  2550  		qRegionn := qrRegionn
  2551  		if qRegionn != "" {
  2552  
  2553  			if err := r.SetQueryParam("region__n", qRegionn); err != nil {
  2554  				return err
  2555  			}
  2556  		}
  2557  	}
  2558  
  2559  	if o.RegionID != nil {
  2560  
  2561  		// query param region_id
  2562  		var qrRegionID string
  2563  
  2564  		if o.RegionID != nil {
  2565  			qrRegionID = *o.RegionID
  2566  		}
  2567  		qRegionID := qrRegionID
  2568  		if qRegionID != "" {
  2569  
  2570  			if err := r.SetQueryParam("region_id", qRegionID); err != nil {
  2571  				return err
  2572  			}
  2573  		}
  2574  	}
  2575  
  2576  	if o.RegionIDn != nil {
  2577  
  2578  		// query param region_id__n
  2579  		var qrRegionIDn string
  2580  
  2581  		if o.RegionIDn != nil {
  2582  			qrRegionIDn = *o.RegionIDn
  2583  		}
  2584  		qRegionIDn := qrRegionIDn
  2585  		if qRegionIDn != "" {
  2586  
  2587  			if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil {
  2588  				return err
  2589  			}
  2590  		}
  2591  	}
  2592  
  2593  	if o.Serial != nil {
  2594  
  2595  		// query param serial
  2596  		var qrSerial string
  2597  
  2598  		if o.Serial != nil {
  2599  			qrSerial = *o.Serial
  2600  		}
  2601  		qSerial := qrSerial
  2602  		if qSerial != "" {
  2603  
  2604  			if err := r.SetQueryParam("serial", qSerial); err != nil {
  2605  				return err
  2606  			}
  2607  		}
  2608  	}
  2609  
  2610  	if o.Site != nil {
  2611  
  2612  		// query param site
  2613  		var qrSite string
  2614  
  2615  		if o.Site != nil {
  2616  			qrSite = *o.Site
  2617  		}
  2618  		qSite := qrSite
  2619  		if qSite != "" {
  2620  
  2621  			if err := r.SetQueryParam("site", qSite); err != nil {
  2622  				return err
  2623  			}
  2624  		}
  2625  	}
  2626  
  2627  	if o.Siten != nil {
  2628  
  2629  		// query param site__n
  2630  		var qrSiten string
  2631  
  2632  		if o.Siten != nil {
  2633  			qrSiten = *o.Siten
  2634  		}
  2635  		qSiten := qrSiten
  2636  		if qSiten != "" {
  2637  
  2638  			if err := r.SetQueryParam("site__n", qSiten); err != nil {
  2639  				return err
  2640  			}
  2641  		}
  2642  	}
  2643  
  2644  	if o.SiteGroup != nil {
  2645  
  2646  		// query param site_group
  2647  		var qrSiteGroup string
  2648  
  2649  		if o.SiteGroup != nil {
  2650  			qrSiteGroup = *o.SiteGroup
  2651  		}
  2652  		qSiteGroup := qrSiteGroup
  2653  		if qSiteGroup != "" {
  2654  
  2655  			if err := r.SetQueryParam("site_group", qSiteGroup); err != nil {
  2656  				return err
  2657  			}
  2658  		}
  2659  	}
  2660  
  2661  	if o.SiteGroupn != nil {
  2662  
  2663  		// query param site_group__n
  2664  		var qrSiteGroupn string
  2665  
  2666  		if o.SiteGroupn != nil {
  2667  			qrSiteGroupn = *o.SiteGroupn
  2668  		}
  2669  		qSiteGroupn := qrSiteGroupn
  2670  		if qSiteGroupn != "" {
  2671  
  2672  			if err := r.SetQueryParam("site_group__n", qSiteGroupn); err != nil {
  2673  				return err
  2674  			}
  2675  		}
  2676  	}
  2677  
  2678  	if o.SiteGroupID != nil {
  2679  
  2680  		// query param site_group_id
  2681  		var qrSiteGroupID string
  2682  
  2683  		if o.SiteGroupID != nil {
  2684  			qrSiteGroupID = *o.SiteGroupID
  2685  		}
  2686  		qSiteGroupID := qrSiteGroupID
  2687  		if qSiteGroupID != "" {
  2688  
  2689  			if err := r.SetQueryParam("site_group_id", qSiteGroupID); err != nil {
  2690  				return err
  2691  			}
  2692  		}
  2693  	}
  2694  
  2695  	if o.SiteGroupIDn != nil {
  2696  
  2697  		// query param site_group_id__n
  2698  		var qrSiteGroupIDn string
  2699  
  2700  		if o.SiteGroupIDn != nil {
  2701  			qrSiteGroupIDn = *o.SiteGroupIDn
  2702  		}
  2703  		qSiteGroupIDn := qrSiteGroupIDn
  2704  		if qSiteGroupIDn != "" {
  2705  
  2706  			if err := r.SetQueryParam("site_group_id__n", qSiteGroupIDn); err != nil {
  2707  				return err
  2708  			}
  2709  		}
  2710  	}
  2711  
  2712  	if o.SiteID != nil {
  2713  
  2714  		// query param site_id
  2715  		var qrSiteID string
  2716  
  2717  		if o.SiteID != nil {
  2718  			qrSiteID = *o.SiteID
  2719  		}
  2720  		qSiteID := qrSiteID
  2721  		if qSiteID != "" {
  2722  
  2723  			if err := r.SetQueryParam("site_id", qSiteID); err != nil {
  2724  				return err
  2725  			}
  2726  		}
  2727  	}
  2728  
  2729  	if o.SiteIDn != nil {
  2730  
  2731  		// query param site_id__n
  2732  		var qrSiteIDn string
  2733  
  2734  		if o.SiteIDn != nil {
  2735  			qrSiteIDn = *o.SiteIDn
  2736  		}
  2737  		qSiteIDn := qrSiteIDn
  2738  		if qSiteIDn != "" {
  2739  
  2740  			if err := r.SetQueryParam("site_id__n", qSiteIDn); err != nil {
  2741  				return err
  2742  			}
  2743  		}
  2744  	}
  2745  
  2746  	if o.Tag != nil {
  2747  
  2748  		// query param tag
  2749  		var qrTag string
  2750  
  2751  		if o.Tag != nil {
  2752  			qrTag = *o.Tag
  2753  		}
  2754  		qTag := qrTag
  2755  		if qTag != "" {
  2756  
  2757  			if err := r.SetQueryParam("tag", qTag); err != nil {
  2758  				return err
  2759  			}
  2760  		}
  2761  	}
  2762  
  2763  	if o.Tagn != nil {
  2764  
  2765  		// query param tag__n
  2766  		var qrTagn string
  2767  
  2768  		if o.Tagn != nil {
  2769  			qrTagn = *o.Tagn
  2770  		}
  2771  		qTagn := qrTagn
  2772  		if qTagn != "" {
  2773  
  2774  			if err := r.SetQueryParam("tag__n", qTagn); err != nil {
  2775  				return err
  2776  			}
  2777  		}
  2778  	}
  2779  
  2780  	if len(res) > 0 {
  2781  		return errors.CompositeValidationError(res...)
  2782  	}
  2783  	return nil
  2784  }