github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_interfaces_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  // NewDcimInterfacesListParams creates a new DcimInterfacesListParams 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 NewDcimInterfacesListParams() *DcimInterfacesListParams {
    42  	return &DcimInterfacesListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewDcimInterfacesListParamsWithTimeout creates a new DcimInterfacesListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewDcimInterfacesListParamsWithTimeout(timeout time.Duration) *DcimInterfacesListParams {
    50  	return &DcimInterfacesListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewDcimInterfacesListParamsWithContext creates a new DcimInterfacesListParams object
    56  // with the ability to set a context for a request.
    57  func NewDcimInterfacesListParamsWithContext(ctx context.Context) *DcimInterfacesListParams {
    58  	return &DcimInterfacesListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewDcimInterfacesListParamsWithHTTPClient creates a new DcimInterfacesListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewDcimInterfacesListParamsWithHTTPClient(client *http.Client) *DcimInterfacesListParams {
    66  	return &DcimInterfacesListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* DcimInterfacesListParams contains all the parameters to send to the API endpoint
    72     for the dcim interfaces list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type DcimInterfacesListParams struct {
    77  
    78  	// Cabled.
    79  	Cabled *string
    80  
    81  	// Connected.
    82  	Connected *string
    83  
    84  	// Created.
    85  	Created *string
    86  
    87  	// CreatedGte.
    88  	CreatedGte *string
    89  
    90  	// CreatedLte.
    91  	CreatedLte *string
    92  
    93  	// Description.
    94  	Description *string
    95  
    96  	// DescriptionEmpty.
    97  	DescriptionEmpty *string
    98  
    99  	// DescriptionIc.
   100  	DescriptionIc *string
   101  
   102  	// DescriptionIe.
   103  	DescriptionIe *string
   104  
   105  	// DescriptionIew.
   106  	DescriptionIew *string
   107  
   108  	// DescriptionIsw.
   109  	DescriptionIsw *string
   110  
   111  	// Descriptionn.
   112  	Descriptionn *string
   113  
   114  	// DescriptionNic.
   115  	DescriptionNic *string
   116  
   117  	// DescriptionNie.
   118  	DescriptionNie *string
   119  
   120  	// DescriptionNiew.
   121  	DescriptionNiew *string
   122  
   123  	// DescriptionNisw.
   124  	DescriptionNisw *string
   125  
   126  	// Device.
   127  	Device *string
   128  
   129  	// DeviceID.
   130  	DeviceID *string
   131  
   132  	// Enabled.
   133  	Enabled *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  	// Kind.
   154  	Kind *string
   155  
   156  	// Label.
   157  	Label *string
   158  
   159  	// LabelEmpty.
   160  	LabelEmpty *string
   161  
   162  	// LabelIc.
   163  	LabelIc *string
   164  
   165  	// LabelIe.
   166  	LabelIe *string
   167  
   168  	// LabelIew.
   169  	LabelIew *string
   170  
   171  	// LabelIsw.
   172  	LabelIsw *string
   173  
   174  	// Labeln.
   175  	Labeln *string
   176  
   177  	// LabelNic.
   178  	LabelNic *string
   179  
   180  	// LabelNie.
   181  	LabelNie *string
   182  
   183  	// LabelNiew.
   184  	LabelNiew *string
   185  
   186  	// LabelNisw.
   187  	LabelNisw *string
   188  
   189  	// LagID.
   190  	LagID *string
   191  
   192  	// LagIDn.
   193  	LagIDn *string
   194  
   195  	// LastUpdated.
   196  	LastUpdated *string
   197  
   198  	// LastUpdatedGte.
   199  	LastUpdatedGte *string
   200  
   201  	// LastUpdatedLte.
   202  	LastUpdatedLte *string
   203  
   204  	/* Limit.
   205  
   206  	   Number of results to return per page.
   207  	*/
   208  	Limit *int64
   209  
   210  	// MacAddress.
   211  	MacAddress *string
   212  
   213  	// MacAddressIc.
   214  	MacAddressIc *string
   215  
   216  	// MacAddressIe.
   217  	MacAddressIe *string
   218  
   219  	// MacAddressIew.
   220  	MacAddressIew *string
   221  
   222  	// MacAddressIsw.
   223  	MacAddressIsw *string
   224  
   225  	// MacAddressn.
   226  	MacAddressn *string
   227  
   228  	// MacAddressNic.
   229  	MacAddressNic *string
   230  
   231  	// MacAddressNie.
   232  	MacAddressNie *string
   233  
   234  	// MacAddressNiew.
   235  	MacAddressNiew *string
   236  
   237  	// MacAddressNisw.
   238  	MacAddressNisw *string
   239  
   240  	// MgmtOnly.
   241  	MgmtOnly *string
   242  
   243  	// Mode.
   244  	Mode *string
   245  
   246  	// Moden.
   247  	Moden *string
   248  
   249  	// Mtu.
   250  	Mtu *string
   251  
   252  	// MtuGt.
   253  	MtuGt *string
   254  
   255  	// MtuGte.
   256  	MtuGte *string
   257  
   258  	// MtuLt.
   259  	MtuLt *string
   260  
   261  	// MtuLte.
   262  	MtuLte *string
   263  
   264  	// Mtun.
   265  	Mtun *string
   266  
   267  	// Name.
   268  	Name *string
   269  
   270  	// NameEmpty.
   271  	NameEmpty *string
   272  
   273  	// NameIc.
   274  	NameIc *string
   275  
   276  	// NameIe.
   277  	NameIe *string
   278  
   279  	// NameIew.
   280  	NameIew *string
   281  
   282  	// NameIsw.
   283  	NameIsw *string
   284  
   285  	// Namen.
   286  	Namen *string
   287  
   288  	// NameNic.
   289  	NameNic *string
   290  
   291  	// NameNie.
   292  	NameNie *string
   293  
   294  	// NameNiew.
   295  	NameNiew *string
   296  
   297  	// NameNisw.
   298  	NameNisw *string
   299  
   300  	/* Offset.
   301  
   302  	   The initial index from which to return the results.
   303  	*/
   304  	Offset *int64
   305  
   306  	// ParentID.
   307  	ParentID *string
   308  
   309  	// ParentIDn.
   310  	ParentIDn *string
   311  
   312  	// Q.
   313  	Q *string
   314  
   315  	// Region.
   316  	Region *string
   317  
   318  	// Regionn.
   319  	Regionn *string
   320  
   321  	// RegionID.
   322  	RegionID *string
   323  
   324  	// RegionIDn.
   325  	RegionIDn *string
   326  
   327  	// Site.
   328  	Site *string
   329  
   330  	// Siten.
   331  	Siten *string
   332  
   333  	// SiteGroup.
   334  	SiteGroup *string
   335  
   336  	// SiteGroupn.
   337  	SiteGroupn *string
   338  
   339  	// SiteGroupID.
   340  	SiteGroupID *string
   341  
   342  	// SiteGroupIDn.
   343  	SiteGroupIDn *string
   344  
   345  	// SiteID.
   346  	SiteID *string
   347  
   348  	// SiteIDn.
   349  	SiteIDn *string
   350  
   351  	// Tag.
   352  	Tag *string
   353  
   354  	// Tagn.
   355  	Tagn *string
   356  
   357  	// Type.
   358  	Type *string
   359  
   360  	// Typen.
   361  	Typen *string
   362  
   363  	// Vlan.
   364  	Vlan *string
   365  
   366  	// VlanID.
   367  	VlanID *string
   368  
   369  	timeout    time.Duration
   370  	Context    context.Context
   371  	HTTPClient *http.Client
   372  }
   373  
   374  // WithDefaults hydrates default values in the dcim interfaces list params (not the query body).
   375  //
   376  // All values with no default are reset to their zero value.
   377  func (o *DcimInterfacesListParams) WithDefaults() *DcimInterfacesListParams {
   378  	o.SetDefaults()
   379  	return o
   380  }
   381  
   382  // SetDefaults hydrates default values in the dcim interfaces list params (not the query body).
   383  //
   384  // All values with no default are reset to their zero value.
   385  func (o *DcimInterfacesListParams) SetDefaults() {
   386  	// no default values defined for this parameter
   387  }
   388  
   389  // WithTimeout adds the timeout to the dcim interfaces list params
   390  func (o *DcimInterfacesListParams) WithTimeout(timeout time.Duration) *DcimInterfacesListParams {
   391  	o.SetTimeout(timeout)
   392  	return o
   393  }
   394  
   395  // SetTimeout adds the timeout to the dcim interfaces list params
   396  func (o *DcimInterfacesListParams) SetTimeout(timeout time.Duration) {
   397  	o.timeout = timeout
   398  }
   399  
   400  // WithContext adds the context to the dcim interfaces list params
   401  func (o *DcimInterfacesListParams) WithContext(ctx context.Context) *DcimInterfacesListParams {
   402  	o.SetContext(ctx)
   403  	return o
   404  }
   405  
   406  // SetContext adds the context to the dcim interfaces list params
   407  func (o *DcimInterfacesListParams) SetContext(ctx context.Context) {
   408  	o.Context = ctx
   409  }
   410  
   411  // WithHTTPClient adds the HTTPClient to the dcim interfaces list params
   412  func (o *DcimInterfacesListParams) WithHTTPClient(client *http.Client) *DcimInterfacesListParams {
   413  	o.SetHTTPClient(client)
   414  	return o
   415  }
   416  
   417  // SetHTTPClient adds the HTTPClient to the dcim interfaces list params
   418  func (o *DcimInterfacesListParams) SetHTTPClient(client *http.Client) {
   419  	o.HTTPClient = client
   420  }
   421  
   422  // WithCabled adds the cabled to the dcim interfaces list params
   423  func (o *DcimInterfacesListParams) WithCabled(cabled *string) *DcimInterfacesListParams {
   424  	o.SetCabled(cabled)
   425  	return o
   426  }
   427  
   428  // SetCabled adds the cabled to the dcim interfaces list params
   429  func (o *DcimInterfacesListParams) SetCabled(cabled *string) {
   430  	o.Cabled = cabled
   431  }
   432  
   433  // WithConnected adds the connected to the dcim interfaces list params
   434  func (o *DcimInterfacesListParams) WithConnected(connected *string) *DcimInterfacesListParams {
   435  	o.SetConnected(connected)
   436  	return o
   437  }
   438  
   439  // SetConnected adds the connected to the dcim interfaces list params
   440  func (o *DcimInterfacesListParams) SetConnected(connected *string) {
   441  	o.Connected = connected
   442  }
   443  
   444  // WithCreated adds the created to the dcim interfaces list params
   445  func (o *DcimInterfacesListParams) WithCreated(created *string) *DcimInterfacesListParams {
   446  	o.SetCreated(created)
   447  	return o
   448  }
   449  
   450  // SetCreated adds the created to the dcim interfaces list params
   451  func (o *DcimInterfacesListParams) SetCreated(created *string) {
   452  	o.Created = created
   453  }
   454  
   455  // WithCreatedGte adds the createdGte to the dcim interfaces list params
   456  func (o *DcimInterfacesListParams) WithCreatedGte(createdGte *string) *DcimInterfacesListParams {
   457  	o.SetCreatedGte(createdGte)
   458  	return o
   459  }
   460  
   461  // SetCreatedGte adds the createdGte to the dcim interfaces list params
   462  func (o *DcimInterfacesListParams) SetCreatedGte(createdGte *string) {
   463  	o.CreatedGte = createdGte
   464  }
   465  
   466  // WithCreatedLte adds the createdLte to the dcim interfaces list params
   467  func (o *DcimInterfacesListParams) WithCreatedLte(createdLte *string) *DcimInterfacesListParams {
   468  	o.SetCreatedLte(createdLte)
   469  	return o
   470  }
   471  
   472  // SetCreatedLte adds the createdLte to the dcim interfaces list params
   473  func (o *DcimInterfacesListParams) SetCreatedLte(createdLte *string) {
   474  	o.CreatedLte = createdLte
   475  }
   476  
   477  // WithDescription adds the description to the dcim interfaces list params
   478  func (o *DcimInterfacesListParams) WithDescription(description *string) *DcimInterfacesListParams {
   479  	o.SetDescription(description)
   480  	return o
   481  }
   482  
   483  // SetDescription adds the description to the dcim interfaces list params
   484  func (o *DcimInterfacesListParams) SetDescription(description *string) {
   485  	o.Description = description
   486  }
   487  
   488  // WithDescriptionEmpty adds the descriptionEmpty to the dcim interfaces list params
   489  func (o *DcimInterfacesListParams) WithDescriptionEmpty(descriptionEmpty *string) *DcimInterfacesListParams {
   490  	o.SetDescriptionEmpty(descriptionEmpty)
   491  	return o
   492  }
   493  
   494  // SetDescriptionEmpty adds the descriptionEmpty to the dcim interfaces list params
   495  func (o *DcimInterfacesListParams) SetDescriptionEmpty(descriptionEmpty *string) {
   496  	o.DescriptionEmpty = descriptionEmpty
   497  }
   498  
   499  // WithDescriptionIc adds the descriptionIc to the dcim interfaces list params
   500  func (o *DcimInterfacesListParams) WithDescriptionIc(descriptionIc *string) *DcimInterfacesListParams {
   501  	o.SetDescriptionIc(descriptionIc)
   502  	return o
   503  }
   504  
   505  // SetDescriptionIc adds the descriptionIc to the dcim interfaces list params
   506  func (o *DcimInterfacesListParams) SetDescriptionIc(descriptionIc *string) {
   507  	o.DescriptionIc = descriptionIc
   508  }
   509  
   510  // WithDescriptionIe adds the descriptionIe to the dcim interfaces list params
   511  func (o *DcimInterfacesListParams) WithDescriptionIe(descriptionIe *string) *DcimInterfacesListParams {
   512  	o.SetDescriptionIe(descriptionIe)
   513  	return o
   514  }
   515  
   516  // SetDescriptionIe adds the descriptionIe to the dcim interfaces list params
   517  func (o *DcimInterfacesListParams) SetDescriptionIe(descriptionIe *string) {
   518  	o.DescriptionIe = descriptionIe
   519  }
   520  
   521  // WithDescriptionIew adds the descriptionIew to the dcim interfaces list params
   522  func (o *DcimInterfacesListParams) WithDescriptionIew(descriptionIew *string) *DcimInterfacesListParams {
   523  	o.SetDescriptionIew(descriptionIew)
   524  	return o
   525  }
   526  
   527  // SetDescriptionIew adds the descriptionIew to the dcim interfaces list params
   528  func (o *DcimInterfacesListParams) SetDescriptionIew(descriptionIew *string) {
   529  	o.DescriptionIew = descriptionIew
   530  }
   531  
   532  // WithDescriptionIsw adds the descriptionIsw to the dcim interfaces list params
   533  func (o *DcimInterfacesListParams) WithDescriptionIsw(descriptionIsw *string) *DcimInterfacesListParams {
   534  	o.SetDescriptionIsw(descriptionIsw)
   535  	return o
   536  }
   537  
   538  // SetDescriptionIsw adds the descriptionIsw to the dcim interfaces list params
   539  func (o *DcimInterfacesListParams) SetDescriptionIsw(descriptionIsw *string) {
   540  	o.DescriptionIsw = descriptionIsw
   541  }
   542  
   543  // WithDescriptionn adds the descriptionn to the dcim interfaces list params
   544  func (o *DcimInterfacesListParams) WithDescriptionn(descriptionn *string) *DcimInterfacesListParams {
   545  	o.SetDescriptionn(descriptionn)
   546  	return o
   547  }
   548  
   549  // SetDescriptionn adds the descriptionN to the dcim interfaces list params
   550  func (o *DcimInterfacesListParams) SetDescriptionn(descriptionn *string) {
   551  	o.Descriptionn = descriptionn
   552  }
   553  
   554  // WithDescriptionNic adds the descriptionNic to the dcim interfaces list params
   555  func (o *DcimInterfacesListParams) WithDescriptionNic(descriptionNic *string) *DcimInterfacesListParams {
   556  	o.SetDescriptionNic(descriptionNic)
   557  	return o
   558  }
   559  
   560  // SetDescriptionNic adds the descriptionNic to the dcim interfaces list params
   561  func (o *DcimInterfacesListParams) SetDescriptionNic(descriptionNic *string) {
   562  	o.DescriptionNic = descriptionNic
   563  }
   564  
   565  // WithDescriptionNie adds the descriptionNie to the dcim interfaces list params
   566  func (o *DcimInterfacesListParams) WithDescriptionNie(descriptionNie *string) *DcimInterfacesListParams {
   567  	o.SetDescriptionNie(descriptionNie)
   568  	return o
   569  }
   570  
   571  // SetDescriptionNie adds the descriptionNie to the dcim interfaces list params
   572  func (o *DcimInterfacesListParams) SetDescriptionNie(descriptionNie *string) {
   573  	o.DescriptionNie = descriptionNie
   574  }
   575  
   576  // WithDescriptionNiew adds the descriptionNiew to the dcim interfaces list params
   577  func (o *DcimInterfacesListParams) WithDescriptionNiew(descriptionNiew *string) *DcimInterfacesListParams {
   578  	o.SetDescriptionNiew(descriptionNiew)
   579  	return o
   580  }
   581  
   582  // SetDescriptionNiew adds the descriptionNiew to the dcim interfaces list params
   583  func (o *DcimInterfacesListParams) SetDescriptionNiew(descriptionNiew *string) {
   584  	o.DescriptionNiew = descriptionNiew
   585  }
   586  
   587  // WithDescriptionNisw adds the descriptionNisw to the dcim interfaces list params
   588  func (o *DcimInterfacesListParams) WithDescriptionNisw(descriptionNisw *string) *DcimInterfacesListParams {
   589  	o.SetDescriptionNisw(descriptionNisw)
   590  	return o
   591  }
   592  
   593  // SetDescriptionNisw adds the descriptionNisw to the dcim interfaces list params
   594  func (o *DcimInterfacesListParams) SetDescriptionNisw(descriptionNisw *string) {
   595  	o.DescriptionNisw = descriptionNisw
   596  }
   597  
   598  // WithDevice adds the device to the dcim interfaces list params
   599  func (o *DcimInterfacesListParams) WithDevice(device *string) *DcimInterfacesListParams {
   600  	o.SetDevice(device)
   601  	return o
   602  }
   603  
   604  // SetDevice adds the device to the dcim interfaces list params
   605  func (o *DcimInterfacesListParams) SetDevice(device *string) {
   606  	o.Device = device
   607  }
   608  
   609  // WithDeviceID adds the deviceID to the dcim interfaces list params
   610  func (o *DcimInterfacesListParams) WithDeviceID(deviceID *string) *DcimInterfacesListParams {
   611  	o.SetDeviceID(deviceID)
   612  	return o
   613  }
   614  
   615  // SetDeviceID adds the deviceId to the dcim interfaces list params
   616  func (o *DcimInterfacesListParams) SetDeviceID(deviceID *string) {
   617  	o.DeviceID = deviceID
   618  }
   619  
   620  // WithEnabled adds the enabled to the dcim interfaces list params
   621  func (o *DcimInterfacesListParams) WithEnabled(enabled *string) *DcimInterfacesListParams {
   622  	o.SetEnabled(enabled)
   623  	return o
   624  }
   625  
   626  // SetEnabled adds the enabled to the dcim interfaces list params
   627  func (o *DcimInterfacesListParams) SetEnabled(enabled *string) {
   628  	o.Enabled = enabled
   629  }
   630  
   631  // WithID adds the id to the dcim interfaces list params
   632  func (o *DcimInterfacesListParams) WithID(id *string) *DcimInterfacesListParams {
   633  	o.SetID(id)
   634  	return o
   635  }
   636  
   637  // SetID adds the id to the dcim interfaces list params
   638  func (o *DcimInterfacesListParams) SetID(id *string) {
   639  	o.ID = id
   640  }
   641  
   642  // WithIDGt adds the iDGt to the dcim interfaces list params
   643  func (o *DcimInterfacesListParams) WithIDGt(iDGt *string) *DcimInterfacesListParams {
   644  	o.SetIDGt(iDGt)
   645  	return o
   646  }
   647  
   648  // SetIDGt adds the idGt to the dcim interfaces list params
   649  func (o *DcimInterfacesListParams) SetIDGt(iDGt *string) {
   650  	o.IDGt = iDGt
   651  }
   652  
   653  // WithIDGte adds the iDGte to the dcim interfaces list params
   654  func (o *DcimInterfacesListParams) WithIDGte(iDGte *string) *DcimInterfacesListParams {
   655  	o.SetIDGte(iDGte)
   656  	return o
   657  }
   658  
   659  // SetIDGte adds the idGte to the dcim interfaces list params
   660  func (o *DcimInterfacesListParams) SetIDGte(iDGte *string) {
   661  	o.IDGte = iDGte
   662  }
   663  
   664  // WithIDLt adds the iDLt to the dcim interfaces list params
   665  func (o *DcimInterfacesListParams) WithIDLt(iDLt *string) *DcimInterfacesListParams {
   666  	o.SetIDLt(iDLt)
   667  	return o
   668  }
   669  
   670  // SetIDLt adds the idLt to the dcim interfaces list params
   671  func (o *DcimInterfacesListParams) SetIDLt(iDLt *string) {
   672  	o.IDLt = iDLt
   673  }
   674  
   675  // WithIDLte adds the iDLte to the dcim interfaces list params
   676  func (o *DcimInterfacesListParams) WithIDLte(iDLte *string) *DcimInterfacesListParams {
   677  	o.SetIDLte(iDLte)
   678  	return o
   679  }
   680  
   681  // SetIDLte adds the idLte to the dcim interfaces list params
   682  func (o *DcimInterfacesListParams) SetIDLte(iDLte *string) {
   683  	o.IDLte = iDLte
   684  }
   685  
   686  // WithIDn adds the iDn to the dcim interfaces list params
   687  func (o *DcimInterfacesListParams) WithIDn(iDn *string) *DcimInterfacesListParams {
   688  	o.SetIDn(iDn)
   689  	return o
   690  }
   691  
   692  // SetIDn adds the idN to the dcim interfaces list params
   693  func (o *DcimInterfacesListParams) SetIDn(iDn *string) {
   694  	o.IDn = iDn
   695  }
   696  
   697  // WithKind adds the kind to the dcim interfaces list params
   698  func (o *DcimInterfacesListParams) WithKind(kind *string) *DcimInterfacesListParams {
   699  	o.SetKind(kind)
   700  	return o
   701  }
   702  
   703  // SetKind adds the kind to the dcim interfaces list params
   704  func (o *DcimInterfacesListParams) SetKind(kind *string) {
   705  	o.Kind = kind
   706  }
   707  
   708  // WithLabel adds the label to the dcim interfaces list params
   709  func (o *DcimInterfacesListParams) WithLabel(label *string) *DcimInterfacesListParams {
   710  	o.SetLabel(label)
   711  	return o
   712  }
   713  
   714  // SetLabel adds the label to the dcim interfaces list params
   715  func (o *DcimInterfacesListParams) SetLabel(label *string) {
   716  	o.Label = label
   717  }
   718  
   719  // WithLabelEmpty adds the labelEmpty to the dcim interfaces list params
   720  func (o *DcimInterfacesListParams) WithLabelEmpty(labelEmpty *string) *DcimInterfacesListParams {
   721  	o.SetLabelEmpty(labelEmpty)
   722  	return o
   723  }
   724  
   725  // SetLabelEmpty adds the labelEmpty to the dcim interfaces list params
   726  func (o *DcimInterfacesListParams) SetLabelEmpty(labelEmpty *string) {
   727  	o.LabelEmpty = labelEmpty
   728  }
   729  
   730  // WithLabelIc adds the labelIc to the dcim interfaces list params
   731  func (o *DcimInterfacesListParams) WithLabelIc(labelIc *string) *DcimInterfacesListParams {
   732  	o.SetLabelIc(labelIc)
   733  	return o
   734  }
   735  
   736  // SetLabelIc adds the labelIc to the dcim interfaces list params
   737  func (o *DcimInterfacesListParams) SetLabelIc(labelIc *string) {
   738  	o.LabelIc = labelIc
   739  }
   740  
   741  // WithLabelIe adds the labelIe to the dcim interfaces list params
   742  func (o *DcimInterfacesListParams) WithLabelIe(labelIe *string) *DcimInterfacesListParams {
   743  	o.SetLabelIe(labelIe)
   744  	return o
   745  }
   746  
   747  // SetLabelIe adds the labelIe to the dcim interfaces list params
   748  func (o *DcimInterfacesListParams) SetLabelIe(labelIe *string) {
   749  	o.LabelIe = labelIe
   750  }
   751  
   752  // WithLabelIew adds the labelIew to the dcim interfaces list params
   753  func (o *DcimInterfacesListParams) WithLabelIew(labelIew *string) *DcimInterfacesListParams {
   754  	o.SetLabelIew(labelIew)
   755  	return o
   756  }
   757  
   758  // SetLabelIew adds the labelIew to the dcim interfaces list params
   759  func (o *DcimInterfacesListParams) SetLabelIew(labelIew *string) {
   760  	o.LabelIew = labelIew
   761  }
   762  
   763  // WithLabelIsw adds the labelIsw to the dcim interfaces list params
   764  func (o *DcimInterfacesListParams) WithLabelIsw(labelIsw *string) *DcimInterfacesListParams {
   765  	o.SetLabelIsw(labelIsw)
   766  	return o
   767  }
   768  
   769  // SetLabelIsw adds the labelIsw to the dcim interfaces list params
   770  func (o *DcimInterfacesListParams) SetLabelIsw(labelIsw *string) {
   771  	o.LabelIsw = labelIsw
   772  }
   773  
   774  // WithLabeln adds the labeln to the dcim interfaces list params
   775  func (o *DcimInterfacesListParams) WithLabeln(labeln *string) *DcimInterfacesListParams {
   776  	o.SetLabeln(labeln)
   777  	return o
   778  }
   779  
   780  // SetLabeln adds the labelN to the dcim interfaces list params
   781  func (o *DcimInterfacesListParams) SetLabeln(labeln *string) {
   782  	o.Labeln = labeln
   783  }
   784  
   785  // WithLabelNic adds the labelNic to the dcim interfaces list params
   786  func (o *DcimInterfacesListParams) WithLabelNic(labelNic *string) *DcimInterfacesListParams {
   787  	o.SetLabelNic(labelNic)
   788  	return o
   789  }
   790  
   791  // SetLabelNic adds the labelNic to the dcim interfaces list params
   792  func (o *DcimInterfacesListParams) SetLabelNic(labelNic *string) {
   793  	o.LabelNic = labelNic
   794  }
   795  
   796  // WithLabelNie adds the labelNie to the dcim interfaces list params
   797  func (o *DcimInterfacesListParams) WithLabelNie(labelNie *string) *DcimInterfacesListParams {
   798  	o.SetLabelNie(labelNie)
   799  	return o
   800  }
   801  
   802  // SetLabelNie adds the labelNie to the dcim interfaces list params
   803  func (o *DcimInterfacesListParams) SetLabelNie(labelNie *string) {
   804  	o.LabelNie = labelNie
   805  }
   806  
   807  // WithLabelNiew adds the labelNiew to the dcim interfaces list params
   808  func (o *DcimInterfacesListParams) WithLabelNiew(labelNiew *string) *DcimInterfacesListParams {
   809  	o.SetLabelNiew(labelNiew)
   810  	return o
   811  }
   812  
   813  // SetLabelNiew adds the labelNiew to the dcim interfaces list params
   814  func (o *DcimInterfacesListParams) SetLabelNiew(labelNiew *string) {
   815  	o.LabelNiew = labelNiew
   816  }
   817  
   818  // WithLabelNisw adds the labelNisw to the dcim interfaces list params
   819  func (o *DcimInterfacesListParams) WithLabelNisw(labelNisw *string) *DcimInterfacesListParams {
   820  	o.SetLabelNisw(labelNisw)
   821  	return o
   822  }
   823  
   824  // SetLabelNisw adds the labelNisw to the dcim interfaces list params
   825  func (o *DcimInterfacesListParams) SetLabelNisw(labelNisw *string) {
   826  	o.LabelNisw = labelNisw
   827  }
   828  
   829  // WithLagID adds the lagID to the dcim interfaces list params
   830  func (o *DcimInterfacesListParams) WithLagID(lagID *string) *DcimInterfacesListParams {
   831  	o.SetLagID(lagID)
   832  	return o
   833  }
   834  
   835  // SetLagID adds the lagId to the dcim interfaces list params
   836  func (o *DcimInterfacesListParams) SetLagID(lagID *string) {
   837  	o.LagID = lagID
   838  }
   839  
   840  // WithLagIDn adds the lagIDn to the dcim interfaces list params
   841  func (o *DcimInterfacesListParams) WithLagIDn(lagIDn *string) *DcimInterfacesListParams {
   842  	o.SetLagIDn(lagIDn)
   843  	return o
   844  }
   845  
   846  // SetLagIDn adds the lagIdN to the dcim interfaces list params
   847  func (o *DcimInterfacesListParams) SetLagIDn(lagIDn *string) {
   848  	o.LagIDn = lagIDn
   849  }
   850  
   851  // WithLastUpdated adds the lastUpdated to the dcim interfaces list params
   852  func (o *DcimInterfacesListParams) WithLastUpdated(lastUpdated *string) *DcimInterfacesListParams {
   853  	o.SetLastUpdated(lastUpdated)
   854  	return o
   855  }
   856  
   857  // SetLastUpdated adds the lastUpdated to the dcim interfaces list params
   858  func (o *DcimInterfacesListParams) SetLastUpdated(lastUpdated *string) {
   859  	o.LastUpdated = lastUpdated
   860  }
   861  
   862  // WithLastUpdatedGte adds the lastUpdatedGte to the dcim interfaces list params
   863  func (o *DcimInterfacesListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimInterfacesListParams {
   864  	o.SetLastUpdatedGte(lastUpdatedGte)
   865  	return o
   866  }
   867  
   868  // SetLastUpdatedGte adds the lastUpdatedGte to the dcim interfaces list params
   869  func (o *DcimInterfacesListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   870  	o.LastUpdatedGte = lastUpdatedGte
   871  }
   872  
   873  // WithLastUpdatedLte adds the lastUpdatedLte to the dcim interfaces list params
   874  func (o *DcimInterfacesListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimInterfacesListParams {
   875  	o.SetLastUpdatedLte(lastUpdatedLte)
   876  	return o
   877  }
   878  
   879  // SetLastUpdatedLte adds the lastUpdatedLte to the dcim interfaces list params
   880  func (o *DcimInterfacesListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   881  	o.LastUpdatedLte = lastUpdatedLte
   882  }
   883  
   884  // WithLimit adds the limit to the dcim interfaces list params
   885  func (o *DcimInterfacesListParams) WithLimit(limit *int64) *DcimInterfacesListParams {
   886  	o.SetLimit(limit)
   887  	return o
   888  }
   889  
   890  // SetLimit adds the limit to the dcim interfaces list params
   891  func (o *DcimInterfacesListParams) SetLimit(limit *int64) {
   892  	o.Limit = limit
   893  }
   894  
   895  // WithMacAddress adds the macAddress to the dcim interfaces list params
   896  func (o *DcimInterfacesListParams) WithMacAddress(macAddress *string) *DcimInterfacesListParams {
   897  	o.SetMacAddress(macAddress)
   898  	return o
   899  }
   900  
   901  // SetMacAddress adds the macAddress to the dcim interfaces list params
   902  func (o *DcimInterfacesListParams) SetMacAddress(macAddress *string) {
   903  	o.MacAddress = macAddress
   904  }
   905  
   906  // WithMacAddressIc adds the macAddressIc to the dcim interfaces list params
   907  func (o *DcimInterfacesListParams) WithMacAddressIc(macAddressIc *string) *DcimInterfacesListParams {
   908  	o.SetMacAddressIc(macAddressIc)
   909  	return o
   910  }
   911  
   912  // SetMacAddressIc adds the macAddressIc to the dcim interfaces list params
   913  func (o *DcimInterfacesListParams) SetMacAddressIc(macAddressIc *string) {
   914  	o.MacAddressIc = macAddressIc
   915  }
   916  
   917  // WithMacAddressIe adds the macAddressIe to the dcim interfaces list params
   918  func (o *DcimInterfacesListParams) WithMacAddressIe(macAddressIe *string) *DcimInterfacesListParams {
   919  	o.SetMacAddressIe(macAddressIe)
   920  	return o
   921  }
   922  
   923  // SetMacAddressIe adds the macAddressIe to the dcim interfaces list params
   924  func (o *DcimInterfacesListParams) SetMacAddressIe(macAddressIe *string) {
   925  	o.MacAddressIe = macAddressIe
   926  }
   927  
   928  // WithMacAddressIew adds the macAddressIew to the dcim interfaces list params
   929  func (o *DcimInterfacesListParams) WithMacAddressIew(macAddressIew *string) *DcimInterfacesListParams {
   930  	o.SetMacAddressIew(macAddressIew)
   931  	return o
   932  }
   933  
   934  // SetMacAddressIew adds the macAddressIew to the dcim interfaces list params
   935  func (o *DcimInterfacesListParams) SetMacAddressIew(macAddressIew *string) {
   936  	o.MacAddressIew = macAddressIew
   937  }
   938  
   939  // WithMacAddressIsw adds the macAddressIsw to the dcim interfaces list params
   940  func (o *DcimInterfacesListParams) WithMacAddressIsw(macAddressIsw *string) *DcimInterfacesListParams {
   941  	o.SetMacAddressIsw(macAddressIsw)
   942  	return o
   943  }
   944  
   945  // SetMacAddressIsw adds the macAddressIsw to the dcim interfaces list params
   946  func (o *DcimInterfacesListParams) SetMacAddressIsw(macAddressIsw *string) {
   947  	o.MacAddressIsw = macAddressIsw
   948  }
   949  
   950  // WithMacAddressn adds the macAddressn to the dcim interfaces list params
   951  func (o *DcimInterfacesListParams) WithMacAddressn(macAddressn *string) *DcimInterfacesListParams {
   952  	o.SetMacAddressn(macAddressn)
   953  	return o
   954  }
   955  
   956  // SetMacAddressn adds the macAddressN to the dcim interfaces list params
   957  func (o *DcimInterfacesListParams) SetMacAddressn(macAddressn *string) {
   958  	o.MacAddressn = macAddressn
   959  }
   960  
   961  // WithMacAddressNic adds the macAddressNic to the dcim interfaces list params
   962  func (o *DcimInterfacesListParams) WithMacAddressNic(macAddressNic *string) *DcimInterfacesListParams {
   963  	o.SetMacAddressNic(macAddressNic)
   964  	return o
   965  }
   966  
   967  // SetMacAddressNic adds the macAddressNic to the dcim interfaces list params
   968  func (o *DcimInterfacesListParams) SetMacAddressNic(macAddressNic *string) {
   969  	o.MacAddressNic = macAddressNic
   970  }
   971  
   972  // WithMacAddressNie adds the macAddressNie to the dcim interfaces list params
   973  func (o *DcimInterfacesListParams) WithMacAddressNie(macAddressNie *string) *DcimInterfacesListParams {
   974  	o.SetMacAddressNie(macAddressNie)
   975  	return o
   976  }
   977  
   978  // SetMacAddressNie adds the macAddressNie to the dcim interfaces list params
   979  func (o *DcimInterfacesListParams) SetMacAddressNie(macAddressNie *string) {
   980  	o.MacAddressNie = macAddressNie
   981  }
   982  
   983  // WithMacAddressNiew adds the macAddressNiew to the dcim interfaces list params
   984  func (o *DcimInterfacesListParams) WithMacAddressNiew(macAddressNiew *string) *DcimInterfacesListParams {
   985  	o.SetMacAddressNiew(macAddressNiew)
   986  	return o
   987  }
   988  
   989  // SetMacAddressNiew adds the macAddressNiew to the dcim interfaces list params
   990  func (o *DcimInterfacesListParams) SetMacAddressNiew(macAddressNiew *string) {
   991  	o.MacAddressNiew = macAddressNiew
   992  }
   993  
   994  // WithMacAddressNisw adds the macAddressNisw to the dcim interfaces list params
   995  func (o *DcimInterfacesListParams) WithMacAddressNisw(macAddressNisw *string) *DcimInterfacesListParams {
   996  	o.SetMacAddressNisw(macAddressNisw)
   997  	return o
   998  }
   999  
  1000  // SetMacAddressNisw adds the macAddressNisw to the dcim interfaces list params
  1001  func (o *DcimInterfacesListParams) SetMacAddressNisw(macAddressNisw *string) {
  1002  	o.MacAddressNisw = macAddressNisw
  1003  }
  1004  
  1005  // WithMgmtOnly adds the mgmtOnly to the dcim interfaces list params
  1006  func (o *DcimInterfacesListParams) WithMgmtOnly(mgmtOnly *string) *DcimInterfacesListParams {
  1007  	o.SetMgmtOnly(mgmtOnly)
  1008  	return o
  1009  }
  1010  
  1011  // SetMgmtOnly adds the mgmtOnly to the dcim interfaces list params
  1012  func (o *DcimInterfacesListParams) SetMgmtOnly(mgmtOnly *string) {
  1013  	o.MgmtOnly = mgmtOnly
  1014  }
  1015  
  1016  // WithMode adds the mode to the dcim interfaces list params
  1017  func (o *DcimInterfacesListParams) WithMode(mode *string) *DcimInterfacesListParams {
  1018  	o.SetMode(mode)
  1019  	return o
  1020  }
  1021  
  1022  // SetMode adds the mode to the dcim interfaces list params
  1023  func (o *DcimInterfacesListParams) SetMode(mode *string) {
  1024  	o.Mode = mode
  1025  }
  1026  
  1027  // WithModen adds the moden to the dcim interfaces list params
  1028  func (o *DcimInterfacesListParams) WithModen(moden *string) *DcimInterfacesListParams {
  1029  	o.SetModen(moden)
  1030  	return o
  1031  }
  1032  
  1033  // SetModen adds the modeN to the dcim interfaces list params
  1034  func (o *DcimInterfacesListParams) SetModen(moden *string) {
  1035  	o.Moden = moden
  1036  }
  1037  
  1038  // WithMtu adds the mtu to the dcim interfaces list params
  1039  func (o *DcimInterfacesListParams) WithMtu(mtu *string) *DcimInterfacesListParams {
  1040  	o.SetMtu(mtu)
  1041  	return o
  1042  }
  1043  
  1044  // SetMtu adds the mtu to the dcim interfaces list params
  1045  func (o *DcimInterfacesListParams) SetMtu(mtu *string) {
  1046  	o.Mtu = mtu
  1047  }
  1048  
  1049  // WithMtuGt adds the mtuGt to the dcim interfaces list params
  1050  func (o *DcimInterfacesListParams) WithMtuGt(mtuGt *string) *DcimInterfacesListParams {
  1051  	o.SetMtuGt(mtuGt)
  1052  	return o
  1053  }
  1054  
  1055  // SetMtuGt adds the mtuGt to the dcim interfaces list params
  1056  func (o *DcimInterfacesListParams) SetMtuGt(mtuGt *string) {
  1057  	o.MtuGt = mtuGt
  1058  }
  1059  
  1060  // WithMtuGte adds the mtuGte to the dcim interfaces list params
  1061  func (o *DcimInterfacesListParams) WithMtuGte(mtuGte *string) *DcimInterfacesListParams {
  1062  	o.SetMtuGte(mtuGte)
  1063  	return o
  1064  }
  1065  
  1066  // SetMtuGte adds the mtuGte to the dcim interfaces list params
  1067  func (o *DcimInterfacesListParams) SetMtuGte(mtuGte *string) {
  1068  	o.MtuGte = mtuGte
  1069  }
  1070  
  1071  // WithMtuLt adds the mtuLt to the dcim interfaces list params
  1072  func (o *DcimInterfacesListParams) WithMtuLt(mtuLt *string) *DcimInterfacesListParams {
  1073  	o.SetMtuLt(mtuLt)
  1074  	return o
  1075  }
  1076  
  1077  // SetMtuLt adds the mtuLt to the dcim interfaces list params
  1078  func (o *DcimInterfacesListParams) SetMtuLt(mtuLt *string) {
  1079  	o.MtuLt = mtuLt
  1080  }
  1081  
  1082  // WithMtuLte adds the mtuLte to the dcim interfaces list params
  1083  func (o *DcimInterfacesListParams) WithMtuLte(mtuLte *string) *DcimInterfacesListParams {
  1084  	o.SetMtuLte(mtuLte)
  1085  	return o
  1086  }
  1087  
  1088  // SetMtuLte adds the mtuLte to the dcim interfaces list params
  1089  func (o *DcimInterfacesListParams) SetMtuLte(mtuLte *string) {
  1090  	o.MtuLte = mtuLte
  1091  }
  1092  
  1093  // WithMtun adds the mtun to the dcim interfaces list params
  1094  func (o *DcimInterfacesListParams) WithMtun(mtun *string) *DcimInterfacesListParams {
  1095  	o.SetMtun(mtun)
  1096  	return o
  1097  }
  1098  
  1099  // SetMtun adds the mtuN to the dcim interfaces list params
  1100  func (o *DcimInterfacesListParams) SetMtun(mtun *string) {
  1101  	o.Mtun = mtun
  1102  }
  1103  
  1104  // WithName adds the name to the dcim interfaces list params
  1105  func (o *DcimInterfacesListParams) WithName(name *string) *DcimInterfacesListParams {
  1106  	o.SetName(name)
  1107  	return o
  1108  }
  1109  
  1110  // SetName adds the name to the dcim interfaces list params
  1111  func (o *DcimInterfacesListParams) SetName(name *string) {
  1112  	o.Name = name
  1113  }
  1114  
  1115  // WithNameEmpty adds the nameEmpty to the dcim interfaces list params
  1116  func (o *DcimInterfacesListParams) WithNameEmpty(nameEmpty *string) *DcimInterfacesListParams {
  1117  	o.SetNameEmpty(nameEmpty)
  1118  	return o
  1119  }
  1120  
  1121  // SetNameEmpty adds the nameEmpty to the dcim interfaces list params
  1122  func (o *DcimInterfacesListParams) SetNameEmpty(nameEmpty *string) {
  1123  	o.NameEmpty = nameEmpty
  1124  }
  1125  
  1126  // WithNameIc adds the nameIc to the dcim interfaces list params
  1127  func (o *DcimInterfacesListParams) WithNameIc(nameIc *string) *DcimInterfacesListParams {
  1128  	o.SetNameIc(nameIc)
  1129  	return o
  1130  }
  1131  
  1132  // SetNameIc adds the nameIc to the dcim interfaces list params
  1133  func (o *DcimInterfacesListParams) SetNameIc(nameIc *string) {
  1134  	o.NameIc = nameIc
  1135  }
  1136  
  1137  // WithNameIe adds the nameIe to the dcim interfaces list params
  1138  func (o *DcimInterfacesListParams) WithNameIe(nameIe *string) *DcimInterfacesListParams {
  1139  	o.SetNameIe(nameIe)
  1140  	return o
  1141  }
  1142  
  1143  // SetNameIe adds the nameIe to the dcim interfaces list params
  1144  func (o *DcimInterfacesListParams) SetNameIe(nameIe *string) {
  1145  	o.NameIe = nameIe
  1146  }
  1147  
  1148  // WithNameIew adds the nameIew to the dcim interfaces list params
  1149  func (o *DcimInterfacesListParams) WithNameIew(nameIew *string) *DcimInterfacesListParams {
  1150  	o.SetNameIew(nameIew)
  1151  	return o
  1152  }
  1153  
  1154  // SetNameIew adds the nameIew to the dcim interfaces list params
  1155  func (o *DcimInterfacesListParams) SetNameIew(nameIew *string) {
  1156  	o.NameIew = nameIew
  1157  }
  1158  
  1159  // WithNameIsw adds the nameIsw to the dcim interfaces list params
  1160  func (o *DcimInterfacesListParams) WithNameIsw(nameIsw *string) *DcimInterfacesListParams {
  1161  	o.SetNameIsw(nameIsw)
  1162  	return o
  1163  }
  1164  
  1165  // SetNameIsw adds the nameIsw to the dcim interfaces list params
  1166  func (o *DcimInterfacesListParams) SetNameIsw(nameIsw *string) {
  1167  	o.NameIsw = nameIsw
  1168  }
  1169  
  1170  // WithNamen adds the namen to the dcim interfaces list params
  1171  func (o *DcimInterfacesListParams) WithNamen(namen *string) *DcimInterfacesListParams {
  1172  	o.SetNamen(namen)
  1173  	return o
  1174  }
  1175  
  1176  // SetNamen adds the nameN to the dcim interfaces list params
  1177  func (o *DcimInterfacesListParams) SetNamen(namen *string) {
  1178  	o.Namen = namen
  1179  }
  1180  
  1181  // WithNameNic adds the nameNic to the dcim interfaces list params
  1182  func (o *DcimInterfacesListParams) WithNameNic(nameNic *string) *DcimInterfacesListParams {
  1183  	o.SetNameNic(nameNic)
  1184  	return o
  1185  }
  1186  
  1187  // SetNameNic adds the nameNic to the dcim interfaces list params
  1188  func (o *DcimInterfacesListParams) SetNameNic(nameNic *string) {
  1189  	o.NameNic = nameNic
  1190  }
  1191  
  1192  // WithNameNie adds the nameNie to the dcim interfaces list params
  1193  func (o *DcimInterfacesListParams) WithNameNie(nameNie *string) *DcimInterfacesListParams {
  1194  	o.SetNameNie(nameNie)
  1195  	return o
  1196  }
  1197  
  1198  // SetNameNie adds the nameNie to the dcim interfaces list params
  1199  func (o *DcimInterfacesListParams) SetNameNie(nameNie *string) {
  1200  	o.NameNie = nameNie
  1201  }
  1202  
  1203  // WithNameNiew adds the nameNiew to the dcim interfaces list params
  1204  func (o *DcimInterfacesListParams) WithNameNiew(nameNiew *string) *DcimInterfacesListParams {
  1205  	o.SetNameNiew(nameNiew)
  1206  	return o
  1207  }
  1208  
  1209  // SetNameNiew adds the nameNiew to the dcim interfaces list params
  1210  func (o *DcimInterfacesListParams) SetNameNiew(nameNiew *string) {
  1211  	o.NameNiew = nameNiew
  1212  }
  1213  
  1214  // WithNameNisw adds the nameNisw to the dcim interfaces list params
  1215  func (o *DcimInterfacesListParams) WithNameNisw(nameNisw *string) *DcimInterfacesListParams {
  1216  	o.SetNameNisw(nameNisw)
  1217  	return o
  1218  }
  1219  
  1220  // SetNameNisw adds the nameNisw to the dcim interfaces list params
  1221  func (o *DcimInterfacesListParams) SetNameNisw(nameNisw *string) {
  1222  	o.NameNisw = nameNisw
  1223  }
  1224  
  1225  // WithOffset adds the offset to the dcim interfaces list params
  1226  func (o *DcimInterfacesListParams) WithOffset(offset *int64) *DcimInterfacesListParams {
  1227  	o.SetOffset(offset)
  1228  	return o
  1229  }
  1230  
  1231  // SetOffset adds the offset to the dcim interfaces list params
  1232  func (o *DcimInterfacesListParams) SetOffset(offset *int64) {
  1233  	o.Offset = offset
  1234  }
  1235  
  1236  // WithParentID adds the parentID to the dcim interfaces list params
  1237  func (o *DcimInterfacesListParams) WithParentID(parentID *string) *DcimInterfacesListParams {
  1238  	o.SetParentID(parentID)
  1239  	return o
  1240  }
  1241  
  1242  // SetParentID adds the parentId to the dcim interfaces list params
  1243  func (o *DcimInterfacesListParams) SetParentID(parentID *string) {
  1244  	o.ParentID = parentID
  1245  }
  1246  
  1247  // WithParentIDn adds the parentIDn to the dcim interfaces list params
  1248  func (o *DcimInterfacesListParams) WithParentIDn(parentIDn *string) *DcimInterfacesListParams {
  1249  	o.SetParentIDn(parentIDn)
  1250  	return o
  1251  }
  1252  
  1253  // SetParentIDn adds the parentIdN to the dcim interfaces list params
  1254  func (o *DcimInterfacesListParams) SetParentIDn(parentIDn *string) {
  1255  	o.ParentIDn = parentIDn
  1256  }
  1257  
  1258  // WithQ adds the q to the dcim interfaces list params
  1259  func (o *DcimInterfacesListParams) WithQ(q *string) *DcimInterfacesListParams {
  1260  	o.SetQ(q)
  1261  	return o
  1262  }
  1263  
  1264  // SetQ adds the q to the dcim interfaces list params
  1265  func (o *DcimInterfacesListParams) SetQ(q *string) {
  1266  	o.Q = q
  1267  }
  1268  
  1269  // WithRegion adds the region to the dcim interfaces list params
  1270  func (o *DcimInterfacesListParams) WithRegion(region *string) *DcimInterfacesListParams {
  1271  	o.SetRegion(region)
  1272  	return o
  1273  }
  1274  
  1275  // SetRegion adds the region to the dcim interfaces list params
  1276  func (o *DcimInterfacesListParams) SetRegion(region *string) {
  1277  	o.Region = region
  1278  }
  1279  
  1280  // WithRegionn adds the regionn to the dcim interfaces list params
  1281  func (o *DcimInterfacesListParams) WithRegionn(regionn *string) *DcimInterfacesListParams {
  1282  	o.SetRegionn(regionn)
  1283  	return o
  1284  }
  1285  
  1286  // SetRegionn adds the regionN to the dcim interfaces list params
  1287  func (o *DcimInterfacesListParams) SetRegionn(regionn *string) {
  1288  	o.Regionn = regionn
  1289  }
  1290  
  1291  // WithRegionID adds the regionID to the dcim interfaces list params
  1292  func (o *DcimInterfacesListParams) WithRegionID(regionID *string) *DcimInterfacesListParams {
  1293  	o.SetRegionID(regionID)
  1294  	return o
  1295  }
  1296  
  1297  // SetRegionID adds the regionId to the dcim interfaces list params
  1298  func (o *DcimInterfacesListParams) SetRegionID(regionID *string) {
  1299  	o.RegionID = regionID
  1300  }
  1301  
  1302  // WithRegionIDn adds the regionIDn to the dcim interfaces list params
  1303  func (o *DcimInterfacesListParams) WithRegionIDn(regionIDn *string) *DcimInterfacesListParams {
  1304  	o.SetRegionIDn(regionIDn)
  1305  	return o
  1306  }
  1307  
  1308  // SetRegionIDn adds the regionIdN to the dcim interfaces list params
  1309  func (o *DcimInterfacesListParams) SetRegionIDn(regionIDn *string) {
  1310  	o.RegionIDn = regionIDn
  1311  }
  1312  
  1313  // WithSite adds the site to the dcim interfaces list params
  1314  func (o *DcimInterfacesListParams) WithSite(site *string) *DcimInterfacesListParams {
  1315  	o.SetSite(site)
  1316  	return o
  1317  }
  1318  
  1319  // SetSite adds the site to the dcim interfaces list params
  1320  func (o *DcimInterfacesListParams) SetSite(site *string) {
  1321  	o.Site = site
  1322  }
  1323  
  1324  // WithSiten adds the siten to the dcim interfaces list params
  1325  func (o *DcimInterfacesListParams) WithSiten(siten *string) *DcimInterfacesListParams {
  1326  	o.SetSiten(siten)
  1327  	return o
  1328  }
  1329  
  1330  // SetSiten adds the siteN to the dcim interfaces list params
  1331  func (o *DcimInterfacesListParams) SetSiten(siten *string) {
  1332  	o.Siten = siten
  1333  }
  1334  
  1335  // WithSiteGroup adds the siteGroup to the dcim interfaces list params
  1336  func (o *DcimInterfacesListParams) WithSiteGroup(siteGroup *string) *DcimInterfacesListParams {
  1337  	o.SetSiteGroup(siteGroup)
  1338  	return o
  1339  }
  1340  
  1341  // SetSiteGroup adds the siteGroup to the dcim interfaces list params
  1342  func (o *DcimInterfacesListParams) SetSiteGroup(siteGroup *string) {
  1343  	o.SiteGroup = siteGroup
  1344  }
  1345  
  1346  // WithSiteGroupn adds the siteGroupn to the dcim interfaces list params
  1347  func (o *DcimInterfacesListParams) WithSiteGroupn(siteGroupn *string) *DcimInterfacesListParams {
  1348  	o.SetSiteGroupn(siteGroupn)
  1349  	return o
  1350  }
  1351  
  1352  // SetSiteGroupn adds the siteGroupN to the dcim interfaces list params
  1353  func (o *DcimInterfacesListParams) SetSiteGroupn(siteGroupn *string) {
  1354  	o.SiteGroupn = siteGroupn
  1355  }
  1356  
  1357  // WithSiteGroupID adds the siteGroupID to the dcim interfaces list params
  1358  func (o *DcimInterfacesListParams) WithSiteGroupID(siteGroupID *string) *DcimInterfacesListParams {
  1359  	o.SetSiteGroupID(siteGroupID)
  1360  	return o
  1361  }
  1362  
  1363  // SetSiteGroupID adds the siteGroupId to the dcim interfaces list params
  1364  func (o *DcimInterfacesListParams) SetSiteGroupID(siteGroupID *string) {
  1365  	o.SiteGroupID = siteGroupID
  1366  }
  1367  
  1368  // WithSiteGroupIDn adds the siteGroupIDn to the dcim interfaces list params
  1369  func (o *DcimInterfacesListParams) WithSiteGroupIDn(siteGroupIDn *string) *DcimInterfacesListParams {
  1370  	o.SetSiteGroupIDn(siteGroupIDn)
  1371  	return o
  1372  }
  1373  
  1374  // SetSiteGroupIDn adds the siteGroupIdN to the dcim interfaces list params
  1375  func (o *DcimInterfacesListParams) SetSiteGroupIDn(siteGroupIDn *string) {
  1376  	o.SiteGroupIDn = siteGroupIDn
  1377  }
  1378  
  1379  // WithSiteID adds the siteID to the dcim interfaces list params
  1380  func (o *DcimInterfacesListParams) WithSiteID(siteID *string) *DcimInterfacesListParams {
  1381  	o.SetSiteID(siteID)
  1382  	return o
  1383  }
  1384  
  1385  // SetSiteID adds the siteId to the dcim interfaces list params
  1386  func (o *DcimInterfacesListParams) SetSiteID(siteID *string) {
  1387  	o.SiteID = siteID
  1388  }
  1389  
  1390  // WithSiteIDn adds the siteIDn to the dcim interfaces list params
  1391  func (o *DcimInterfacesListParams) WithSiteIDn(siteIDn *string) *DcimInterfacesListParams {
  1392  	o.SetSiteIDn(siteIDn)
  1393  	return o
  1394  }
  1395  
  1396  // SetSiteIDn adds the siteIdN to the dcim interfaces list params
  1397  func (o *DcimInterfacesListParams) SetSiteIDn(siteIDn *string) {
  1398  	o.SiteIDn = siteIDn
  1399  }
  1400  
  1401  // WithTag adds the tag to the dcim interfaces list params
  1402  func (o *DcimInterfacesListParams) WithTag(tag *string) *DcimInterfacesListParams {
  1403  	o.SetTag(tag)
  1404  	return o
  1405  }
  1406  
  1407  // SetTag adds the tag to the dcim interfaces list params
  1408  func (o *DcimInterfacesListParams) SetTag(tag *string) {
  1409  	o.Tag = tag
  1410  }
  1411  
  1412  // WithTagn adds the tagn to the dcim interfaces list params
  1413  func (o *DcimInterfacesListParams) WithTagn(tagn *string) *DcimInterfacesListParams {
  1414  	o.SetTagn(tagn)
  1415  	return o
  1416  }
  1417  
  1418  // SetTagn adds the tagN to the dcim interfaces list params
  1419  func (o *DcimInterfacesListParams) SetTagn(tagn *string) {
  1420  	o.Tagn = tagn
  1421  }
  1422  
  1423  // WithType adds the typeVar to the dcim interfaces list params
  1424  func (o *DcimInterfacesListParams) WithType(typeVar *string) *DcimInterfacesListParams {
  1425  	o.SetType(typeVar)
  1426  	return o
  1427  }
  1428  
  1429  // SetType adds the type to the dcim interfaces list params
  1430  func (o *DcimInterfacesListParams) SetType(typeVar *string) {
  1431  	o.Type = typeVar
  1432  }
  1433  
  1434  // WithTypen adds the typen to the dcim interfaces list params
  1435  func (o *DcimInterfacesListParams) WithTypen(typen *string) *DcimInterfacesListParams {
  1436  	o.SetTypen(typen)
  1437  	return o
  1438  }
  1439  
  1440  // SetTypen adds the typeN to the dcim interfaces list params
  1441  func (o *DcimInterfacesListParams) SetTypen(typen *string) {
  1442  	o.Typen = typen
  1443  }
  1444  
  1445  // WithVlan adds the vlan to the dcim interfaces list params
  1446  func (o *DcimInterfacesListParams) WithVlan(vlan *string) *DcimInterfacesListParams {
  1447  	o.SetVlan(vlan)
  1448  	return o
  1449  }
  1450  
  1451  // SetVlan adds the vlan to the dcim interfaces list params
  1452  func (o *DcimInterfacesListParams) SetVlan(vlan *string) {
  1453  	o.Vlan = vlan
  1454  }
  1455  
  1456  // WithVlanID adds the vlanID to the dcim interfaces list params
  1457  func (o *DcimInterfacesListParams) WithVlanID(vlanID *string) *DcimInterfacesListParams {
  1458  	o.SetVlanID(vlanID)
  1459  	return o
  1460  }
  1461  
  1462  // SetVlanID adds the vlanId to the dcim interfaces list params
  1463  func (o *DcimInterfacesListParams) SetVlanID(vlanID *string) {
  1464  	o.VlanID = vlanID
  1465  }
  1466  
  1467  // WriteToRequest writes these params to a swagger request
  1468  func (o *DcimInterfacesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
  1469  
  1470  	if err := r.SetTimeout(o.timeout); err != nil {
  1471  		return err
  1472  	}
  1473  	var res []error
  1474  
  1475  	if o.Cabled != nil {
  1476  
  1477  		// query param cabled
  1478  		var qrCabled string
  1479  
  1480  		if o.Cabled != nil {
  1481  			qrCabled = *o.Cabled
  1482  		}
  1483  		qCabled := qrCabled
  1484  		if qCabled != "" {
  1485  
  1486  			if err := r.SetQueryParam("cabled", qCabled); err != nil {
  1487  				return err
  1488  			}
  1489  		}
  1490  	}
  1491  
  1492  	if o.Connected != nil {
  1493  
  1494  		// query param connected
  1495  		var qrConnected string
  1496  
  1497  		if o.Connected != nil {
  1498  			qrConnected = *o.Connected
  1499  		}
  1500  		qConnected := qrConnected
  1501  		if qConnected != "" {
  1502  
  1503  			if err := r.SetQueryParam("connected", qConnected); err != nil {
  1504  				return err
  1505  			}
  1506  		}
  1507  	}
  1508  
  1509  	if o.Created != nil {
  1510  
  1511  		// query param created
  1512  		var qrCreated string
  1513  
  1514  		if o.Created != nil {
  1515  			qrCreated = *o.Created
  1516  		}
  1517  		qCreated := qrCreated
  1518  		if qCreated != "" {
  1519  
  1520  			if err := r.SetQueryParam("created", qCreated); err != nil {
  1521  				return err
  1522  			}
  1523  		}
  1524  	}
  1525  
  1526  	if o.CreatedGte != nil {
  1527  
  1528  		// query param created__gte
  1529  		var qrCreatedGte string
  1530  
  1531  		if o.CreatedGte != nil {
  1532  			qrCreatedGte = *o.CreatedGte
  1533  		}
  1534  		qCreatedGte := qrCreatedGte
  1535  		if qCreatedGte != "" {
  1536  
  1537  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  1538  				return err
  1539  			}
  1540  		}
  1541  	}
  1542  
  1543  	if o.CreatedLte != nil {
  1544  
  1545  		// query param created__lte
  1546  		var qrCreatedLte string
  1547  
  1548  		if o.CreatedLte != nil {
  1549  			qrCreatedLte = *o.CreatedLte
  1550  		}
  1551  		qCreatedLte := qrCreatedLte
  1552  		if qCreatedLte != "" {
  1553  
  1554  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  1555  				return err
  1556  			}
  1557  		}
  1558  	}
  1559  
  1560  	if o.Description != nil {
  1561  
  1562  		// query param description
  1563  		var qrDescription string
  1564  
  1565  		if o.Description != nil {
  1566  			qrDescription = *o.Description
  1567  		}
  1568  		qDescription := qrDescription
  1569  		if qDescription != "" {
  1570  
  1571  			if err := r.SetQueryParam("description", qDescription); err != nil {
  1572  				return err
  1573  			}
  1574  		}
  1575  	}
  1576  
  1577  	if o.DescriptionEmpty != nil {
  1578  
  1579  		// query param description__empty
  1580  		var qrDescriptionEmpty string
  1581  
  1582  		if o.DescriptionEmpty != nil {
  1583  			qrDescriptionEmpty = *o.DescriptionEmpty
  1584  		}
  1585  		qDescriptionEmpty := qrDescriptionEmpty
  1586  		if qDescriptionEmpty != "" {
  1587  
  1588  			if err := r.SetQueryParam("description__empty", qDescriptionEmpty); err != nil {
  1589  				return err
  1590  			}
  1591  		}
  1592  	}
  1593  
  1594  	if o.DescriptionIc != nil {
  1595  
  1596  		// query param description__ic
  1597  		var qrDescriptionIc string
  1598  
  1599  		if o.DescriptionIc != nil {
  1600  			qrDescriptionIc = *o.DescriptionIc
  1601  		}
  1602  		qDescriptionIc := qrDescriptionIc
  1603  		if qDescriptionIc != "" {
  1604  
  1605  			if err := r.SetQueryParam("description__ic", qDescriptionIc); err != nil {
  1606  				return err
  1607  			}
  1608  		}
  1609  	}
  1610  
  1611  	if o.DescriptionIe != nil {
  1612  
  1613  		// query param description__ie
  1614  		var qrDescriptionIe string
  1615  
  1616  		if o.DescriptionIe != nil {
  1617  			qrDescriptionIe = *o.DescriptionIe
  1618  		}
  1619  		qDescriptionIe := qrDescriptionIe
  1620  		if qDescriptionIe != "" {
  1621  
  1622  			if err := r.SetQueryParam("description__ie", qDescriptionIe); err != nil {
  1623  				return err
  1624  			}
  1625  		}
  1626  	}
  1627  
  1628  	if o.DescriptionIew != nil {
  1629  
  1630  		// query param description__iew
  1631  		var qrDescriptionIew string
  1632  
  1633  		if o.DescriptionIew != nil {
  1634  			qrDescriptionIew = *o.DescriptionIew
  1635  		}
  1636  		qDescriptionIew := qrDescriptionIew
  1637  		if qDescriptionIew != "" {
  1638  
  1639  			if err := r.SetQueryParam("description__iew", qDescriptionIew); err != nil {
  1640  				return err
  1641  			}
  1642  		}
  1643  	}
  1644  
  1645  	if o.DescriptionIsw != nil {
  1646  
  1647  		// query param description__isw
  1648  		var qrDescriptionIsw string
  1649  
  1650  		if o.DescriptionIsw != nil {
  1651  			qrDescriptionIsw = *o.DescriptionIsw
  1652  		}
  1653  		qDescriptionIsw := qrDescriptionIsw
  1654  		if qDescriptionIsw != "" {
  1655  
  1656  			if err := r.SetQueryParam("description__isw", qDescriptionIsw); err != nil {
  1657  				return err
  1658  			}
  1659  		}
  1660  	}
  1661  
  1662  	if o.Descriptionn != nil {
  1663  
  1664  		// query param description__n
  1665  		var qrDescriptionn string
  1666  
  1667  		if o.Descriptionn != nil {
  1668  			qrDescriptionn = *o.Descriptionn
  1669  		}
  1670  		qDescriptionn := qrDescriptionn
  1671  		if qDescriptionn != "" {
  1672  
  1673  			if err := r.SetQueryParam("description__n", qDescriptionn); err != nil {
  1674  				return err
  1675  			}
  1676  		}
  1677  	}
  1678  
  1679  	if o.DescriptionNic != nil {
  1680  
  1681  		// query param description__nic
  1682  		var qrDescriptionNic string
  1683  
  1684  		if o.DescriptionNic != nil {
  1685  			qrDescriptionNic = *o.DescriptionNic
  1686  		}
  1687  		qDescriptionNic := qrDescriptionNic
  1688  		if qDescriptionNic != "" {
  1689  
  1690  			if err := r.SetQueryParam("description__nic", qDescriptionNic); err != nil {
  1691  				return err
  1692  			}
  1693  		}
  1694  	}
  1695  
  1696  	if o.DescriptionNie != nil {
  1697  
  1698  		// query param description__nie
  1699  		var qrDescriptionNie string
  1700  
  1701  		if o.DescriptionNie != nil {
  1702  			qrDescriptionNie = *o.DescriptionNie
  1703  		}
  1704  		qDescriptionNie := qrDescriptionNie
  1705  		if qDescriptionNie != "" {
  1706  
  1707  			if err := r.SetQueryParam("description__nie", qDescriptionNie); err != nil {
  1708  				return err
  1709  			}
  1710  		}
  1711  	}
  1712  
  1713  	if o.DescriptionNiew != nil {
  1714  
  1715  		// query param description__niew
  1716  		var qrDescriptionNiew string
  1717  
  1718  		if o.DescriptionNiew != nil {
  1719  			qrDescriptionNiew = *o.DescriptionNiew
  1720  		}
  1721  		qDescriptionNiew := qrDescriptionNiew
  1722  		if qDescriptionNiew != "" {
  1723  
  1724  			if err := r.SetQueryParam("description__niew", qDescriptionNiew); err != nil {
  1725  				return err
  1726  			}
  1727  		}
  1728  	}
  1729  
  1730  	if o.DescriptionNisw != nil {
  1731  
  1732  		// query param description__nisw
  1733  		var qrDescriptionNisw string
  1734  
  1735  		if o.DescriptionNisw != nil {
  1736  			qrDescriptionNisw = *o.DescriptionNisw
  1737  		}
  1738  		qDescriptionNisw := qrDescriptionNisw
  1739  		if qDescriptionNisw != "" {
  1740  
  1741  			if err := r.SetQueryParam("description__nisw", qDescriptionNisw); err != nil {
  1742  				return err
  1743  			}
  1744  		}
  1745  	}
  1746  
  1747  	if o.Device != nil {
  1748  
  1749  		// query param device
  1750  		var qrDevice string
  1751  
  1752  		if o.Device != nil {
  1753  			qrDevice = *o.Device
  1754  		}
  1755  		qDevice := qrDevice
  1756  		if qDevice != "" {
  1757  
  1758  			if err := r.SetQueryParam("device", qDevice); err != nil {
  1759  				return err
  1760  			}
  1761  		}
  1762  	}
  1763  
  1764  	if o.DeviceID != nil {
  1765  
  1766  		// query param device_id
  1767  		var qrDeviceID string
  1768  
  1769  		if o.DeviceID != nil {
  1770  			qrDeviceID = *o.DeviceID
  1771  		}
  1772  		qDeviceID := qrDeviceID
  1773  		if qDeviceID != "" {
  1774  
  1775  			if err := r.SetQueryParam("device_id", qDeviceID); err != nil {
  1776  				return err
  1777  			}
  1778  		}
  1779  	}
  1780  
  1781  	if o.Enabled != nil {
  1782  
  1783  		// query param enabled
  1784  		var qrEnabled string
  1785  
  1786  		if o.Enabled != nil {
  1787  			qrEnabled = *o.Enabled
  1788  		}
  1789  		qEnabled := qrEnabled
  1790  		if qEnabled != "" {
  1791  
  1792  			if err := r.SetQueryParam("enabled", qEnabled); err != nil {
  1793  				return err
  1794  			}
  1795  		}
  1796  	}
  1797  
  1798  	if o.ID != nil {
  1799  
  1800  		// query param id
  1801  		var qrID string
  1802  
  1803  		if o.ID != nil {
  1804  			qrID = *o.ID
  1805  		}
  1806  		qID := qrID
  1807  		if qID != "" {
  1808  
  1809  			if err := r.SetQueryParam("id", qID); err != nil {
  1810  				return err
  1811  			}
  1812  		}
  1813  	}
  1814  
  1815  	if o.IDGt != nil {
  1816  
  1817  		// query param id__gt
  1818  		var qrIDGt string
  1819  
  1820  		if o.IDGt != nil {
  1821  			qrIDGt = *o.IDGt
  1822  		}
  1823  		qIDGt := qrIDGt
  1824  		if qIDGt != "" {
  1825  
  1826  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1827  				return err
  1828  			}
  1829  		}
  1830  	}
  1831  
  1832  	if o.IDGte != nil {
  1833  
  1834  		// query param id__gte
  1835  		var qrIDGte string
  1836  
  1837  		if o.IDGte != nil {
  1838  			qrIDGte = *o.IDGte
  1839  		}
  1840  		qIDGte := qrIDGte
  1841  		if qIDGte != "" {
  1842  
  1843  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1844  				return err
  1845  			}
  1846  		}
  1847  	}
  1848  
  1849  	if o.IDLt != nil {
  1850  
  1851  		// query param id__lt
  1852  		var qrIDLt string
  1853  
  1854  		if o.IDLt != nil {
  1855  			qrIDLt = *o.IDLt
  1856  		}
  1857  		qIDLt := qrIDLt
  1858  		if qIDLt != "" {
  1859  
  1860  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1861  				return err
  1862  			}
  1863  		}
  1864  	}
  1865  
  1866  	if o.IDLte != nil {
  1867  
  1868  		// query param id__lte
  1869  		var qrIDLte string
  1870  
  1871  		if o.IDLte != nil {
  1872  			qrIDLte = *o.IDLte
  1873  		}
  1874  		qIDLte := qrIDLte
  1875  		if qIDLte != "" {
  1876  
  1877  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1878  				return err
  1879  			}
  1880  		}
  1881  	}
  1882  
  1883  	if o.IDn != nil {
  1884  
  1885  		// query param id__n
  1886  		var qrIDn string
  1887  
  1888  		if o.IDn != nil {
  1889  			qrIDn = *o.IDn
  1890  		}
  1891  		qIDn := qrIDn
  1892  		if qIDn != "" {
  1893  
  1894  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1895  				return err
  1896  			}
  1897  		}
  1898  	}
  1899  
  1900  	if o.Kind != nil {
  1901  
  1902  		// query param kind
  1903  		var qrKind string
  1904  
  1905  		if o.Kind != nil {
  1906  			qrKind = *o.Kind
  1907  		}
  1908  		qKind := qrKind
  1909  		if qKind != "" {
  1910  
  1911  			if err := r.SetQueryParam("kind", qKind); err != nil {
  1912  				return err
  1913  			}
  1914  		}
  1915  	}
  1916  
  1917  	if o.Label != nil {
  1918  
  1919  		// query param label
  1920  		var qrLabel string
  1921  
  1922  		if o.Label != nil {
  1923  			qrLabel = *o.Label
  1924  		}
  1925  		qLabel := qrLabel
  1926  		if qLabel != "" {
  1927  
  1928  			if err := r.SetQueryParam("label", qLabel); err != nil {
  1929  				return err
  1930  			}
  1931  		}
  1932  	}
  1933  
  1934  	if o.LabelEmpty != nil {
  1935  
  1936  		// query param label__empty
  1937  		var qrLabelEmpty string
  1938  
  1939  		if o.LabelEmpty != nil {
  1940  			qrLabelEmpty = *o.LabelEmpty
  1941  		}
  1942  		qLabelEmpty := qrLabelEmpty
  1943  		if qLabelEmpty != "" {
  1944  
  1945  			if err := r.SetQueryParam("label__empty", qLabelEmpty); err != nil {
  1946  				return err
  1947  			}
  1948  		}
  1949  	}
  1950  
  1951  	if o.LabelIc != nil {
  1952  
  1953  		// query param label__ic
  1954  		var qrLabelIc string
  1955  
  1956  		if o.LabelIc != nil {
  1957  			qrLabelIc = *o.LabelIc
  1958  		}
  1959  		qLabelIc := qrLabelIc
  1960  		if qLabelIc != "" {
  1961  
  1962  			if err := r.SetQueryParam("label__ic", qLabelIc); err != nil {
  1963  				return err
  1964  			}
  1965  		}
  1966  	}
  1967  
  1968  	if o.LabelIe != nil {
  1969  
  1970  		// query param label__ie
  1971  		var qrLabelIe string
  1972  
  1973  		if o.LabelIe != nil {
  1974  			qrLabelIe = *o.LabelIe
  1975  		}
  1976  		qLabelIe := qrLabelIe
  1977  		if qLabelIe != "" {
  1978  
  1979  			if err := r.SetQueryParam("label__ie", qLabelIe); err != nil {
  1980  				return err
  1981  			}
  1982  		}
  1983  	}
  1984  
  1985  	if o.LabelIew != nil {
  1986  
  1987  		// query param label__iew
  1988  		var qrLabelIew string
  1989  
  1990  		if o.LabelIew != nil {
  1991  			qrLabelIew = *o.LabelIew
  1992  		}
  1993  		qLabelIew := qrLabelIew
  1994  		if qLabelIew != "" {
  1995  
  1996  			if err := r.SetQueryParam("label__iew", qLabelIew); err != nil {
  1997  				return err
  1998  			}
  1999  		}
  2000  	}
  2001  
  2002  	if o.LabelIsw != nil {
  2003  
  2004  		// query param label__isw
  2005  		var qrLabelIsw string
  2006  
  2007  		if o.LabelIsw != nil {
  2008  			qrLabelIsw = *o.LabelIsw
  2009  		}
  2010  		qLabelIsw := qrLabelIsw
  2011  		if qLabelIsw != "" {
  2012  
  2013  			if err := r.SetQueryParam("label__isw", qLabelIsw); err != nil {
  2014  				return err
  2015  			}
  2016  		}
  2017  	}
  2018  
  2019  	if o.Labeln != nil {
  2020  
  2021  		// query param label__n
  2022  		var qrLabeln string
  2023  
  2024  		if o.Labeln != nil {
  2025  			qrLabeln = *o.Labeln
  2026  		}
  2027  		qLabeln := qrLabeln
  2028  		if qLabeln != "" {
  2029  
  2030  			if err := r.SetQueryParam("label__n", qLabeln); err != nil {
  2031  				return err
  2032  			}
  2033  		}
  2034  	}
  2035  
  2036  	if o.LabelNic != nil {
  2037  
  2038  		// query param label__nic
  2039  		var qrLabelNic string
  2040  
  2041  		if o.LabelNic != nil {
  2042  			qrLabelNic = *o.LabelNic
  2043  		}
  2044  		qLabelNic := qrLabelNic
  2045  		if qLabelNic != "" {
  2046  
  2047  			if err := r.SetQueryParam("label__nic", qLabelNic); err != nil {
  2048  				return err
  2049  			}
  2050  		}
  2051  	}
  2052  
  2053  	if o.LabelNie != nil {
  2054  
  2055  		// query param label__nie
  2056  		var qrLabelNie string
  2057  
  2058  		if o.LabelNie != nil {
  2059  			qrLabelNie = *o.LabelNie
  2060  		}
  2061  		qLabelNie := qrLabelNie
  2062  		if qLabelNie != "" {
  2063  
  2064  			if err := r.SetQueryParam("label__nie", qLabelNie); err != nil {
  2065  				return err
  2066  			}
  2067  		}
  2068  	}
  2069  
  2070  	if o.LabelNiew != nil {
  2071  
  2072  		// query param label__niew
  2073  		var qrLabelNiew string
  2074  
  2075  		if o.LabelNiew != nil {
  2076  			qrLabelNiew = *o.LabelNiew
  2077  		}
  2078  		qLabelNiew := qrLabelNiew
  2079  		if qLabelNiew != "" {
  2080  
  2081  			if err := r.SetQueryParam("label__niew", qLabelNiew); err != nil {
  2082  				return err
  2083  			}
  2084  		}
  2085  	}
  2086  
  2087  	if o.LabelNisw != nil {
  2088  
  2089  		// query param label__nisw
  2090  		var qrLabelNisw string
  2091  
  2092  		if o.LabelNisw != nil {
  2093  			qrLabelNisw = *o.LabelNisw
  2094  		}
  2095  		qLabelNisw := qrLabelNisw
  2096  		if qLabelNisw != "" {
  2097  
  2098  			if err := r.SetQueryParam("label__nisw", qLabelNisw); err != nil {
  2099  				return err
  2100  			}
  2101  		}
  2102  	}
  2103  
  2104  	if o.LagID != nil {
  2105  
  2106  		// query param lag_id
  2107  		var qrLagID string
  2108  
  2109  		if o.LagID != nil {
  2110  			qrLagID = *o.LagID
  2111  		}
  2112  		qLagID := qrLagID
  2113  		if qLagID != "" {
  2114  
  2115  			if err := r.SetQueryParam("lag_id", qLagID); err != nil {
  2116  				return err
  2117  			}
  2118  		}
  2119  	}
  2120  
  2121  	if o.LagIDn != nil {
  2122  
  2123  		// query param lag_id__n
  2124  		var qrLagIDn string
  2125  
  2126  		if o.LagIDn != nil {
  2127  			qrLagIDn = *o.LagIDn
  2128  		}
  2129  		qLagIDn := qrLagIDn
  2130  		if qLagIDn != "" {
  2131  
  2132  			if err := r.SetQueryParam("lag_id__n", qLagIDn); err != nil {
  2133  				return err
  2134  			}
  2135  		}
  2136  	}
  2137  
  2138  	if o.LastUpdated != nil {
  2139  
  2140  		// query param last_updated
  2141  		var qrLastUpdated string
  2142  
  2143  		if o.LastUpdated != nil {
  2144  			qrLastUpdated = *o.LastUpdated
  2145  		}
  2146  		qLastUpdated := qrLastUpdated
  2147  		if qLastUpdated != "" {
  2148  
  2149  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  2150  				return err
  2151  			}
  2152  		}
  2153  	}
  2154  
  2155  	if o.LastUpdatedGte != nil {
  2156  
  2157  		// query param last_updated__gte
  2158  		var qrLastUpdatedGte string
  2159  
  2160  		if o.LastUpdatedGte != nil {
  2161  			qrLastUpdatedGte = *o.LastUpdatedGte
  2162  		}
  2163  		qLastUpdatedGte := qrLastUpdatedGte
  2164  		if qLastUpdatedGte != "" {
  2165  
  2166  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  2167  				return err
  2168  			}
  2169  		}
  2170  	}
  2171  
  2172  	if o.LastUpdatedLte != nil {
  2173  
  2174  		// query param last_updated__lte
  2175  		var qrLastUpdatedLte string
  2176  
  2177  		if o.LastUpdatedLte != nil {
  2178  			qrLastUpdatedLte = *o.LastUpdatedLte
  2179  		}
  2180  		qLastUpdatedLte := qrLastUpdatedLte
  2181  		if qLastUpdatedLte != "" {
  2182  
  2183  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  2184  				return err
  2185  			}
  2186  		}
  2187  	}
  2188  
  2189  	if o.Limit != nil {
  2190  
  2191  		// query param limit
  2192  		var qrLimit int64
  2193  
  2194  		if o.Limit != nil {
  2195  			qrLimit = *o.Limit
  2196  		}
  2197  		qLimit := swag.FormatInt64(qrLimit)
  2198  		if qLimit != "" {
  2199  
  2200  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  2201  				return err
  2202  			}
  2203  		}
  2204  	}
  2205  
  2206  	if o.MacAddress != nil {
  2207  
  2208  		// query param mac_address
  2209  		var qrMacAddress string
  2210  
  2211  		if o.MacAddress != nil {
  2212  			qrMacAddress = *o.MacAddress
  2213  		}
  2214  		qMacAddress := qrMacAddress
  2215  		if qMacAddress != "" {
  2216  
  2217  			if err := r.SetQueryParam("mac_address", qMacAddress); err != nil {
  2218  				return err
  2219  			}
  2220  		}
  2221  	}
  2222  
  2223  	if o.MacAddressIc != nil {
  2224  
  2225  		// query param mac_address__ic
  2226  		var qrMacAddressIc string
  2227  
  2228  		if o.MacAddressIc != nil {
  2229  			qrMacAddressIc = *o.MacAddressIc
  2230  		}
  2231  		qMacAddressIc := qrMacAddressIc
  2232  		if qMacAddressIc != "" {
  2233  
  2234  			if err := r.SetQueryParam("mac_address__ic", qMacAddressIc); err != nil {
  2235  				return err
  2236  			}
  2237  		}
  2238  	}
  2239  
  2240  	if o.MacAddressIe != nil {
  2241  
  2242  		// query param mac_address__ie
  2243  		var qrMacAddressIe string
  2244  
  2245  		if o.MacAddressIe != nil {
  2246  			qrMacAddressIe = *o.MacAddressIe
  2247  		}
  2248  		qMacAddressIe := qrMacAddressIe
  2249  		if qMacAddressIe != "" {
  2250  
  2251  			if err := r.SetQueryParam("mac_address__ie", qMacAddressIe); err != nil {
  2252  				return err
  2253  			}
  2254  		}
  2255  	}
  2256  
  2257  	if o.MacAddressIew != nil {
  2258  
  2259  		// query param mac_address__iew
  2260  		var qrMacAddressIew string
  2261  
  2262  		if o.MacAddressIew != nil {
  2263  			qrMacAddressIew = *o.MacAddressIew
  2264  		}
  2265  		qMacAddressIew := qrMacAddressIew
  2266  		if qMacAddressIew != "" {
  2267  
  2268  			if err := r.SetQueryParam("mac_address__iew", qMacAddressIew); err != nil {
  2269  				return err
  2270  			}
  2271  		}
  2272  	}
  2273  
  2274  	if o.MacAddressIsw != nil {
  2275  
  2276  		// query param mac_address__isw
  2277  		var qrMacAddressIsw string
  2278  
  2279  		if o.MacAddressIsw != nil {
  2280  			qrMacAddressIsw = *o.MacAddressIsw
  2281  		}
  2282  		qMacAddressIsw := qrMacAddressIsw
  2283  		if qMacAddressIsw != "" {
  2284  
  2285  			if err := r.SetQueryParam("mac_address__isw", qMacAddressIsw); err != nil {
  2286  				return err
  2287  			}
  2288  		}
  2289  	}
  2290  
  2291  	if o.MacAddressn != nil {
  2292  
  2293  		// query param mac_address__n
  2294  		var qrMacAddressn string
  2295  
  2296  		if o.MacAddressn != nil {
  2297  			qrMacAddressn = *o.MacAddressn
  2298  		}
  2299  		qMacAddressn := qrMacAddressn
  2300  		if qMacAddressn != "" {
  2301  
  2302  			if err := r.SetQueryParam("mac_address__n", qMacAddressn); err != nil {
  2303  				return err
  2304  			}
  2305  		}
  2306  	}
  2307  
  2308  	if o.MacAddressNic != nil {
  2309  
  2310  		// query param mac_address__nic
  2311  		var qrMacAddressNic string
  2312  
  2313  		if o.MacAddressNic != nil {
  2314  			qrMacAddressNic = *o.MacAddressNic
  2315  		}
  2316  		qMacAddressNic := qrMacAddressNic
  2317  		if qMacAddressNic != "" {
  2318  
  2319  			if err := r.SetQueryParam("mac_address__nic", qMacAddressNic); err != nil {
  2320  				return err
  2321  			}
  2322  		}
  2323  	}
  2324  
  2325  	if o.MacAddressNie != nil {
  2326  
  2327  		// query param mac_address__nie
  2328  		var qrMacAddressNie string
  2329  
  2330  		if o.MacAddressNie != nil {
  2331  			qrMacAddressNie = *o.MacAddressNie
  2332  		}
  2333  		qMacAddressNie := qrMacAddressNie
  2334  		if qMacAddressNie != "" {
  2335  
  2336  			if err := r.SetQueryParam("mac_address__nie", qMacAddressNie); err != nil {
  2337  				return err
  2338  			}
  2339  		}
  2340  	}
  2341  
  2342  	if o.MacAddressNiew != nil {
  2343  
  2344  		// query param mac_address__niew
  2345  		var qrMacAddressNiew string
  2346  
  2347  		if o.MacAddressNiew != nil {
  2348  			qrMacAddressNiew = *o.MacAddressNiew
  2349  		}
  2350  		qMacAddressNiew := qrMacAddressNiew
  2351  		if qMacAddressNiew != "" {
  2352  
  2353  			if err := r.SetQueryParam("mac_address__niew", qMacAddressNiew); err != nil {
  2354  				return err
  2355  			}
  2356  		}
  2357  	}
  2358  
  2359  	if o.MacAddressNisw != nil {
  2360  
  2361  		// query param mac_address__nisw
  2362  		var qrMacAddressNisw string
  2363  
  2364  		if o.MacAddressNisw != nil {
  2365  			qrMacAddressNisw = *o.MacAddressNisw
  2366  		}
  2367  		qMacAddressNisw := qrMacAddressNisw
  2368  		if qMacAddressNisw != "" {
  2369  
  2370  			if err := r.SetQueryParam("mac_address__nisw", qMacAddressNisw); err != nil {
  2371  				return err
  2372  			}
  2373  		}
  2374  	}
  2375  
  2376  	if o.MgmtOnly != nil {
  2377  
  2378  		// query param mgmt_only
  2379  		var qrMgmtOnly string
  2380  
  2381  		if o.MgmtOnly != nil {
  2382  			qrMgmtOnly = *o.MgmtOnly
  2383  		}
  2384  		qMgmtOnly := qrMgmtOnly
  2385  		if qMgmtOnly != "" {
  2386  
  2387  			if err := r.SetQueryParam("mgmt_only", qMgmtOnly); err != nil {
  2388  				return err
  2389  			}
  2390  		}
  2391  	}
  2392  
  2393  	if o.Mode != nil {
  2394  
  2395  		// query param mode
  2396  		var qrMode string
  2397  
  2398  		if o.Mode != nil {
  2399  			qrMode = *o.Mode
  2400  		}
  2401  		qMode := qrMode
  2402  		if qMode != "" {
  2403  
  2404  			if err := r.SetQueryParam("mode", qMode); err != nil {
  2405  				return err
  2406  			}
  2407  		}
  2408  	}
  2409  
  2410  	if o.Moden != nil {
  2411  
  2412  		// query param mode__n
  2413  		var qrModen string
  2414  
  2415  		if o.Moden != nil {
  2416  			qrModen = *o.Moden
  2417  		}
  2418  		qModen := qrModen
  2419  		if qModen != "" {
  2420  
  2421  			if err := r.SetQueryParam("mode__n", qModen); err != nil {
  2422  				return err
  2423  			}
  2424  		}
  2425  	}
  2426  
  2427  	if o.Mtu != nil {
  2428  
  2429  		// query param mtu
  2430  		var qrMtu string
  2431  
  2432  		if o.Mtu != nil {
  2433  			qrMtu = *o.Mtu
  2434  		}
  2435  		qMtu := qrMtu
  2436  		if qMtu != "" {
  2437  
  2438  			if err := r.SetQueryParam("mtu", qMtu); err != nil {
  2439  				return err
  2440  			}
  2441  		}
  2442  	}
  2443  
  2444  	if o.MtuGt != nil {
  2445  
  2446  		// query param mtu__gt
  2447  		var qrMtuGt string
  2448  
  2449  		if o.MtuGt != nil {
  2450  			qrMtuGt = *o.MtuGt
  2451  		}
  2452  		qMtuGt := qrMtuGt
  2453  		if qMtuGt != "" {
  2454  
  2455  			if err := r.SetQueryParam("mtu__gt", qMtuGt); err != nil {
  2456  				return err
  2457  			}
  2458  		}
  2459  	}
  2460  
  2461  	if o.MtuGte != nil {
  2462  
  2463  		// query param mtu__gte
  2464  		var qrMtuGte string
  2465  
  2466  		if o.MtuGte != nil {
  2467  			qrMtuGte = *o.MtuGte
  2468  		}
  2469  		qMtuGte := qrMtuGte
  2470  		if qMtuGte != "" {
  2471  
  2472  			if err := r.SetQueryParam("mtu__gte", qMtuGte); err != nil {
  2473  				return err
  2474  			}
  2475  		}
  2476  	}
  2477  
  2478  	if o.MtuLt != nil {
  2479  
  2480  		// query param mtu__lt
  2481  		var qrMtuLt string
  2482  
  2483  		if o.MtuLt != nil {
  2484  			qrMtuLt = *o.MtuLt
  2485  		}
  2486  		qMtuLt := qrMtuLt
  2487  		if qMtuLt != "" {
  2488  
  2489  			if err := r.SetQueryParam("mtu__lt", qMtuLt); err != nil {
  2490  				return err
  2491  			}
  2492  		}
  2493  	}
  2494  
  2495  	if o.MtuLte != nil {
  2496  
  2497  		// query param mtu__lte
  2498  		var qrMtuLte string
  2499  
  2500  		if o.MtuLte != nil {
  2501  			qrMtuLte = *o.MtuLte
  2502  		}
  2503  		qMtuLte := qrMtuLte
  2504  		if qMtuLte != "" {
  2505  
  2506  			if err := r.SetQueryParam("mtu__lte", qMtuLte); err != nil {
  2507  				return err
  2508  			}
  2509  		}
  2510  	}
  2511  
  2512  	if o.Mtun != nil {
  2513  
  2514  		// query param mtu__n
  2515  		var qrMtun string
  2516  
  2517  		if o.Mtun != nil {
  2518  			qrMtun = *o.Mtun
  2519  		}
  2520  		qMtun := qrMtun
  2521  		if qMtun != "" {
  2522  
  2523  			if err := r.SetQueryParam("mtu__n", qMtun); err != nil {
  2524  				return err
  2525  			}
  2526  		}
  2527  	}
  2528  
  2529  	if o.Name != nil {
  2530  
  2531  		// query param name
  2532  		var qrName string
  2533  
  2534  		if o.Name != nil {
  2535  			qrName = *o.Name
  2536  		}
  2537  		qName := qrName
  2538  		if qName != "" {
  2539  
  2540  			if err := r.SetQueryParam("name", qName); err != nil {
  2541  				return err
  2542  			}
  2543  		}
  2544  	}
  2545  
  2546  	if o.NameEmpty != nil {
  2547  
  2548  		// query param name__empty
  2549  		var qrNameEmpty string
  2550  
  2551  		if o.NameEmpty != nil {
  2552  			qrNameEmpty = *o.NameEmpty
  2553  		}
  2554  		qNameEmpty := qrNameEmpty
  2555  		if qNameEmpty != "" {
  2556  
  2557  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  2558  				return err
  2559  			}
  2560  		}
  2561  	}
  2562  
  2563  	if o.NameIc != nil {
  2564  
  2565  		// query param name__ic
  2566  		var qrNameIc string
  2567  
  2568  		if o.NameIc != nil {
  2569  			qrNameIc = *o.NameIc
  2570  		}
  2571  		qNameIc := qrNameIc
  2572  		if qNameIc != "" {
  2573  
  2574  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  2575  				return err
  2576  			}
  2577  		}
  2578  	}
  2579  
  2580  	if o.NameIe != nil {
  2581  
  2582  		// query param name__ie
  2583  		var qrNameIe string
  2584  
  2585  		if o.NameIe != nil {
  2586  			qrNameIe = *o.NameIe
  2587  		}
  2588  		qNameIe := qrNameIe
  2589  		if qNameIe != "" {
  2590  
  2591  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  2592  				return err
  2593  			}
  2594  		}
  2595  	}
  2596  
  2597  	if o.NameIew != nil {
  2598  
  2599  		// query param name__iew
  2600  		var qrNameIew string
  2601  
  2602  		if o.NameIew != nil {
  2603  			qrNameIew = *o.NameIew
  2604  		}
  2605  		qNameIew := qrNameIew
  2606  		if qNameIew != "" {
  2607  
  2608  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  2609  				return err
  2610  			}
  2611  		}
  2612  	}
  2613  
  2614  	if o.NameIsw != nil {
  2615  
  2616  		// query param name__isw
  2617  		var qrNameIsw string
  2618  
  2619  		if o.NameIsw != nil {
  2620  			qrNameIsw = *o.NameIsw
  2621  		}
  2622  		qNameIsw := qrNameIsw
  2623  		if qNameIsw != "" {
  2624  
  2625  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  2626  				return err
  2627  			}
  2628  		}
  2629  	}
  2630  
  2631  	if o.Namen != nil {
  2632  
  2633  		// query param name__n
  2634  		var qrNamen string
  2635  
  2636  		if o.Namen != nil {
  2637  			qrNamen = *o.Namen
  2638  		}
  2639  		qNamen := qrNamen
  2640  		if qNamen != "" {
  2641  
  2642  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  2643  				return err
  2644  			}
  2645  		}
  2646  	}
  2647  
  2648  	if o.NameNic != nil {
  2649  
  2650  		// query param name__nic
  2651  		var qrNameNic string
  2652  
  2653  		if o.NameNic != nil {
  2654  			qrNameNic = *o.NameNic
  2655  		}
  2656  		qNameNic := qrNameNic
  2657  		if qNameNic != "" {
  2658  
  2659  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  2660  				return err
  2661  			}
  2662  		}
  2663  	}
  2664  
  2665  	if o.NameNie != nil {
  2666  
  2667  		// query param name__nie
  2668  		var qrNameNie string
  2669  
  2670  		if o.NameNie != nil {
  2671  			qrNameNie = *o.NameNie
  2672  		}
  2673  		qNameNie := qrNameNie
  2674  		if qNameNie != "" {
  2675  
  2676  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  2677  				return err
  2678  			}
  2679  		}
  2680  	}
  2681  
  2682  	if o.NameNiew != nil {
  2683  
  2684  		// query param name__niew
  2685  		var qrNameNiew string
  2686  
  2687  		if o.NameNiew != nil {
  2688  			qrNameNiew = *o.NameNiew
  2689  		}
  2690  		qNameNiew := qrNameNiew
  2691  		if qNameNiew != "" {
  2692  
  2693  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  2694  				return err
  2695  			}
  2696  		}
  2697  	}
  2698  
  2699  	if o.NameNisw != nil {
  2700  
  2701  		// query param name__nisw
  2702  		var qrNameNisw string
  2703  
  2704  		if o.NameNisw != nil {
  2705  			qrNameNisw = *o.NameNisw
  2706  		}
  2707  		qNameNisw := qrNameNisw
  2708  		if qNameNisw != "" {
  2709  
  2710  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  2711  				return err
  2712  			}
  2713  		}
  2714  	}
  2715  
  2716  	if o.Offset != nil {
  2717  
  2718  		// query param offset
  2719  		var qrOffset int64
  2720  
  2721  		if o.Offset != nil {
  2722  			qrOffset = *o.Offset
  2723  		}
  2724  		qOffset := swag.FormatInt64(qrOffset)
  2725  		if qOffset != "" {
  2726  
  2727  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  2728  				return err
  2729  			}
  2730  		}
  2731  	}
  2732  
  2733  	if o.ParentID != nil {
  2734  
  2735  		// query param parent_id
  2736  		var qrParentID string
  2737  
  2738  		if o.ParentID != nil {
  2739  			qrParentID = *o.ParentID
  2740  		}
  2741  		qParentID := qrParentID
  2742  		if qParentID != "" {
  2743  
  2744  			if err := r.SetQueryParam("parent_id", qParentID); err != nil {
  2745  				return err
  2746  			}
  2747  		}
  2748  	}
  2749  
  2750  	if o.ParentIDn != nil {
  2751  
  2752  		// query param parent_id__n
  2753  		var qrParentIDn string
  2754  
  2755  		if o.ParentIDn != nil {
  2756  			qrParentIDn = *o.ParentIDn
  2757  		}
  2758  		qParentIDn := qrParentIDn
  2759  		if qParentIDn != "" {
  2760  
  2761  			if err := r.SetQueryParam("parent_id__n", qParentIDn); err != nil {
  2762  				return err
  2763  			}
  2764  		}
  2765  	}
  2766  
  2767  	if o.Q != nil {
  2768  
  2769  		// query param q
  2770  		var qrQ string
  2771  
  2772  		if o.Q != nil {
  2773  			qrQ = *o.Q
  2774  		}
  2775  		qQ := qrQ
  2776  		if qQ != "" {
  2777  
  2778  			if err := r.SetQueryParam("q", qQ); err != nil {
  2779  				return err
  2780  			}
  2781  		}
  2782  	}
  2783  
  2784  	if o.Region != nil {
  2785  
  2786  		// query param region
  2787  		var qrRegion string
  2788  
  2789  		if o.Region != nil {
  2790  			qrRegion = *o.Region
  2791  		}
  2792  		qRegion := qrRegion
  2793  		if qRegion != "" {
  2794  
  2795  			if err := r.SetQueryParam("region", qRegion); err != nil {
  2796  				return err
  2797  			}
  2798  		}
  2799  	}
  2800  
  2801  	if o.Regionn != nil {
  2802  
  2803  		// query param region__n
  2804  		var qrRegionn string
  2805  
  2806  		if o.Regionn != nil {
  2807  			qrRegionn = *o.Regionn
  2808  		}
  2809  		qRegionn := qrRegionn
  2810  		if qRegionn != "" {
  2811  
  2812  			if err := r.SetQueryParam("region__n", qRegionn); err != nil {
  2813  				return err
  2814  			}
  2815  		}
  2816  	}
  2817  
  2818  	if o.RegionID != nil {
  2819  
  2820  		// query param region_id
  2821  		var qrRegionID string
  2822  
  2823  		if o.RegionID != nil {
  2824  			qrRegionID = *o.RegionID
  2825  		}
  2826  		qRegionID := qrRegionID
  2827  		if qRegionID != "" {
  2828  
  2829  			if err := r.SetQueryParam("region_id", qRegionID); err != nil {
  2830  				return err
  2831  			}
  2832  		}
  2833  	}
  2834  
  2835  	if o.RegionIDn != nil {
  2836  
  2837  		// query param region_id__n
  2838  		var qrRegionIDn string
  2839  
  2840  		if o.RegionIDn != nil {
  2841  			qrRegionIDn = *o.RegionIDn
  2842  		}
  2843  		qRegionIDn := qrRegionIDn
  2844  		if qRegionIDn != "" {
  2845  
  2846  			if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil {
  2847  				return err
  2848  			}
  2849  		}
  2850  	}
  2851  
  2852  	if o.Site != nil {
  2853  
  2854  		// query param site
  2855  		var qrSite string
  2856  
  2857  		if o.Site != nil {
  2858  			qrSite = *o.Site
  2859  		}
  2860  		qSite := qrSite
  2861  		if qSite != "" {
  2862  
  2863  			if err := r.SetQueryParam("site", qSite); err != nil {
  2864  				return err
  2865  			}
  2866  		}
  2867  	}
  2868  
  2869  	if o.Siten != nil {
  2870  
  2871  		// query param site__n
  2872  		var qrSiten string
  2873  
  2874  		if o.Siten != nil {
  2875  			qrSiten = *o.Siten
  2876  		}
  2877  		qSiten := qrSiten
  2878  		if qSiten != "" {
  2879  
  2880  			if err := r.SetQueryParam("site__n", qSiten); err != nil {
  2881  				return err
  2882  			}
  2883  		}
  2884  	}
  2885  
  2886  	if o.SiteGroup != nil {
  2887  
  2888  		// query param site_group
  2889  		var qrSiteGroup string
  2890  
  2891  		if o.SiteGroup != nil {
  2892  			qrSiteGroup = *o.SiteGroup
  2893  		}
  2894  		qSiteGroup := qrSiteGroup
  2895  		if qSiteGroup != "" {
  2896  
  2897  			if err := r.SetQueryParam("site_group", qSiteGroup); err != nil {
  2898  				return err
  2899  			}
  2900  		}
  2901  	}
  2902  
  2903  	if o.SiteGroupn != nil {
  2904  
  2905  		// query param site_group__n
  2906  		var qrSiteGroupn string
  2907  
  2908  		if o.SiteGroupn != nil {
  2909  			qrSiteGroupn = *o.SiteGroupn
  2910  		}
  2911  		qSiteGroupn := qrSiteGroupn
  2912  		if qSiteGroupn != "" {
  2913  
  2914  			if err := r.SetQueryParam("site_group__n", qSiteGroupn); err != nil {
  2915  				return err
  2916  			}
  2917  		}
  2918  	}
  2919  
  2920  	if o.SiteGroupID != nil {
  2921  
  2922  		// query param site_group_id
  2923  		var qrSiteGroupID string
  2924  
  2925  		if o.SiteGroupID != nil {
  2926  			qrSiteGroupID = *o.SiteGroupID
  2927  		}
  2928  		qSiteGroupID := qrSiteGroupID
  2929  		if qSiteGroupID != "" {
  2930  
  2931  			if err := r.SetQueryParam("site_group_id", qSiteGroupID); err != nil {
  2932  				return err
  2933  			}
  2934  		}
  2935  	}
  2936  
  2937  	if o.SiteGroupIDn != nil {
  2938  
  2939  		// query param site_group_id__n
  2940  		var qrSiteGroupIDn string
  2941  
  2942  		if o.SiteGroupIDn != nil {
  2943  			qrSiteGroupIDn = *o.SiteGroupIDn
  2944  		}
  2945  		qSiteGroupIDn := qrSiteGroupIDn
  2946  		if qSiteGroupIDn != "" {
  2947  
  2948  			if err := r.SetQueryParam("site_group_id__n", qSiteGroupIDn); err != nil {
  2949  				return err
  2950  			}
  2951  		}
  2952  	}
  2953  
  2954  	if o.SiteID != nil {
  2955  
  2956  		// query param site_id
  2957  		var qrSiteID string
  2958  
  2959  		if o.SiteID != nil {
  2960  			qrSiteID = *o.SiteID
  2961  		}
  2962  		qSiteID := qrSiteID
  2963  		if qSiteID != "" {
  2964  
  2965  			if err := r.SetQueryParam("site_id", qSiteID); err != nil {
  2966  				return err
  2967  			}
  2968  		}
  2969  	}
  2970  
  2971  	if o.SiteIDn != nil {
  2972  
  2973  		// query param site_id__n
  2974  		var qrSiteIDn string
  2975  
  2976  		if o.SiteIDn != nil {
  2977  			qrSiteIDn = *o.SiteIDn
  2978  		}
  2979  		qSiteIDn := qrSiteIDn
  2980  		if qSiteIDn != "" {
  2981  
  2982  			if err := r.SetQueryParam("site_id__n", qSiteIDn); err != nil {
  2983  				return err
  2984  			}
  2985  		}
  2986  	}
  2987  
  2988  	if o.Tag != nil {
  2989  
  2990  		// query param tag
  2991  		var qrTag string
  2992  
  2993  		if o.Tag != nil {
  2994  			qrTag = *o.Tag
  2995  		}
  2996  		qTag := qrTag
  2997  		if qTag != "" {
  2998  
  2999  			if err := r.SetQueryParam("tag", qTag); err != nil {
  3000  				return err
  3001  			}
  3002  		}
  3003  	}
  3004  
  3005  	if o.Tagn != nil {
  3006  
  3007  		// query param tag__n
  3008  		var qrTagn string
  3009  
  3010  		if o.Tagn != nil {
  3011  			qrTagn = *o.Tagn
  3012  		}
  3013  		qTagn := qrTagn
  3014  		if qTagn != "" {
  3015  
  3016  			if err := r.SetQueryParam("tag__n", qTagn); err != nil {
  3017  				return err
  3018  			}
  3019  		}
  3020  	}
  3021  
  3022  	if o.Type != nil {
  3023  
  3024  		// query param type
  3025  		var qrType string
  3026  
  3027  		if o.Type != nil {
  3028  			qrType = *o.Type
  3029  		}
  3030  		qType := qrType
  3031  		if qType != "" {
  3032  
  3033  			if err := r.SetQueryParam("type", qType); err != nil {
  3034  				return err
  3035  			}
  3036  		}
  3037  	}
  3038  
  3039  	if o.Typen != nil {
  3040  
  3041  		// query param type__n
  3042  		var qrTypen string
  3043  
  3044  		if o.Typen != nil {
  3045  			qrTypen = *o.Typen
  3046  		}
  3047  		qTypen := qrTypen
  3048  		if qTypen != "" {
  3049  
  3050  			if err := r.SetQueryParam("type__n", qTypen); err != nil {
  3051  				return err
  3052  			}
  3053  		}
  3054  	}
  3055  
  3056  	if o.Vlan != nil {
  3057  
  3058  		// query param vlan
  3059  		var qrVlan string
  3060  
  3061  		if o.Vlan != nil {
  3062  			qrVlan = *o.Vlan
  3063  		}
  3064  		qVlan := qrVlan
  3065  		if qVlan != "" {
  3066  
  3067  			if err := r.SetQueryParam("vlan", qVlan); err != nil {
  3068  				return err
  3069  			}
  3070  		}
  3071  	}
  3072  
  3073  	if o.VlanID != nil {
  3074  
  3075  		// query param vlan_id
  3076  		var qrVlanID string
  3077  
  3078  		if o.VlanID != nil {
  3079  			qrVlanID = *o.VlanID
  3080  		}
  3081  		qVlanID := qrVlanID
  3082  		if qVlanID != "" {
  3083  
  3084  			if err := r.SetQueryParam("vlan_id", qVlanID); err != nil {
  3085  				return err
  3086  			}
  3087  		}
  3088  	}
  3089  
  3090  	if len(res) > 0 {
  3091  		return errors.CompositeValidationError(res...)
  3092  	}
  3093  	return nil
  3094  }