github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_devices_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  // NewDcimDevicesListParams creates a new DcimDevicesListParams 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 NewDcimDevicesListParams() *DcimDevicesListParams {
    42  	return &DcimDevicesListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewDcimDevicesListParamsWithTimeout creates a new DcimDevicesListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewDcimDevicesListParamsWithTimeout(timeout time.Duration) *DcimDevicesListParams {
    50  	return &DcimDevicesListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewDcimDevicesListParamsWithContext creates a new DcimDevicesListParams object
    56  // with the ability to set a context for a request.
    57  func NewDcimDevicesListParamsWithContext(ctx context.Context) *DcimDevicesListParams {
    58  	return &DcimDevicesListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewDcimDevicesListParamsWithHTTPClient creates a new DcimDevicesListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewDcimDevicesListParamsWithHTTPClient(client *http.Client) *DcimDevicesListParams {
    66  	return &DcimDevicesListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* DcimDevicesListParams contains all the parameters to send to the API endpoint
    72     for the dcim devices list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type DcimDevicesListParams struct {
    77  
    78  	// AssetTag.
    79  	AssetTag *string
    80  
    81  	// AssetTagEmpty.
    82  	AssetTagEmpty *string
    83  
    84  	// AssetTagIc.
    85  	AssetTagIc *string
    86  
    87  	// AssetTagIe.
    88  	AssetTagIe *string
    89  
    90  	// AssetTagIew.
    91  	AssetTagIew *string
    92  
    93  	// AssetTagIsw.
    94  	AssetTagIsw *string
    95  
    96  	// AssetTagn.
    97  	AssetTagn *string
    98  
    99  	// AssetTagNic.
   100  	AssetTagNic *string
   101  
   102  	// AssetTagNie.
   103  	AssetTagNie *string
   104  
   105  	// AssetTagNiew.
   106  	AssetTagNiew *string
   107  
   108  	// AssetTagNisw.
   109  	AssetTagNisw *string
   110  
   111  	// ClusterID.
   112  	ClusterID *string
   113  
   114  	// ClusterIDn.
   115  	ClusterIDn *string
   116  
   117  	// ConsolePorts.
   118  	ConsolePorts *string
   119  
   120  	// ConsoleServerPorts.
   121  	ConsoleServerPorts *string
   122  
   123  	// Created.
   124  	Created *string
   125  
   126  	// CreatedGte.
   127  	CreatedGte *string
   128  
   129  	// CreatedLte.
   130  	CreatedLte *string
   131  
   132  	// DeviceBays.
   133  	DeviceBays *string
   134  
   135  	// DeviceTypeID.
   136  	DeviceTypeID *string
   137  
   138  	// DeviceTypeIDn.
   139  	DeviceTypeIDn *string
   140  
   141  	/* Exclude.
   142  
   143  	   Optional parameter to exclude a field from the results.
   144  	*/
   145  	Exclude *string
   146  
   147  	// Face.
   148  	Face *string
   149  
   150  	// Facen.
   151  	Facen *string
   152  
   153  	// HasPrimaryIP.
   154  	HasPrimaryIP *string
   155  
   156  	// ID.
   157  	ID *string
   158  
   159  	// IDGt.
   160  	IDGt *string
   161  
   162  	// IDGte.
   163  	IDGte *string
   164  
   165  	// IDLt.
   166  	IDLt *string
   167  
   168  	// IDLte.
   169  	IDLte *string
   170  
   171  	// IDn.
   172  	IDn *string
   173  
   174  	// Interfaces.
   175  	Interfaces *string
   176  
   177  	// IsFullDepth.
   178  	IsFullDepth *string
   179  
   180  	// LastUpdated.
   181  	LastUpdated *string
   182  
   183  	// LastUpdatedGte.
   184  	LastUpdatedGte *string
   185  
   186  	// LastUpdatedLte.
   187  	LastUpdatedLte *string
   188  
   189  	/* Limit.
   190  
   191  	   Number of results to return per page.
   192  	*/
   193  	Limit *int64
   194  
   195  	// LocalContextData.
   196  	LocalContextData *string
   197  
   198  	// LocationID.
   199  	LocationID *string
   200  
   201  	// LocationIDn.
   202  	LocationIDn *string
   203  
   204  	// MacAddress.
   205  	MacAddress *string
   206  
   207  	// MacAddressIc.
   208  	MacAddressIc *string
   209  
   210  	// MacAddressIe.
   211  	MacAddressIe *string
   212  
   213  	// MacAddressIew.
   214  	MacAddressIew *string
   215  
   216  	// MacAddressIsw.
   217  	MacAddressIsw *string
   218  
   219  	// MacAddressn.
   220  	MacAddressn *string
   221  
   222  	// MacAddressNic.
   223  	MacAddressNic *string
   224  
   225  	// MacAddressNie.
   226  	MacAddressNie *string
   227  
   228  	// MacAddressNiew.
   229  	MacAddressNiew *string
   230  
   231  	// MacAddressNisw.
   232  	MacAddressNisw *string
   233  
   234  	// Manufacturer.
   235  	Manufacturer *string
   236  
   237  	// Manufacturern.
   238  	Manufacturern *string
   239  
   240  	// ManufacturerID.
   241  	ManufacturerID *string
   242  
   243  	// ManufacturerIDn.
   244  	ManufacturerIDn *string
   245  
   246  	// Model.
   247  	Model *string
   248  
   249  	// Modeln.
   250  	Modeln *string
   251  
   252  	// Name.
   253  	Name *string
   254  
   255  	// NameEmpty.
   256  	NameEmpty *string
   257  
   258  	// NameIc.
   259  	NameIc *string
   260  
   261  	// NameIe.
   262  	NameIe *string
   263  
   264  	// NameIew.
   265  	NameIew *string
   266  
   267  	// NameIsw.
   268  	NameIsw *string
   269  
   270  	// Namen.
   271  	Namen *string
   272  
   273  	// NameNic.
   274  	NameNic *string
   275  
   276  	// NameNie.
   277  	NameNie *string
   278  
   279  	// NameNiew.
   280  	NameNiew *string
   281  
   282  	// NameNisw.
   283  	NameNisw *string
   284  
   285  	/* Offset.
   286  
   287  	   The initial index from which to return the results.
   288  	*/
   289  	Offset *int64
   290  
   291  	// PassThroughPorts.
   292  	PassThroughPorts *string
   293  
   294  	// Platform.
   295  	Platform *string
   296  
   297  	// Platformn.
   298  	Platformn *string
   299  
   300  	// PlatformID.
   301  	PlatformID *string
   302  
   303  	// PlatformIDn.
   304  	PlatformIDn *string
   305  
   306  	// Position.
   307  	Position *string
   308  
   309  	// PositionGt.
   310  	PositionGt *string
   311  
   312  	// PositionGte.
   313  	PositionGte *string
   314  
   315  	// PositionLt.
   316  	PositionLt *string
   317  
   318  	// PositionLte.
   319  	PositionLte *string
   320  
   321  	// Positionn.
   322  	Positionn *string
   323  
   324  	// PowerOutlets.
   325  	PowerOutlets *string
   326  
   327  	// PowerPorts.
   328  	PowerPorts *string
   329  
   330  	// Q.
   331  	Q *string
   332  
   333  	// RackID.
   334  	RackID *string
   335  
   336  	// RackIDn.
   337  	RackIDn *string
   338  
   339  	// Region.
   340  	Region *string
   341  
   342  	// Regionn.
   343  	Regionn *string
   344  
   345  	// RegionID.
   346  	RegionID *string
   347  
   348  	// RegionIDn.
   349  	RegionIDn *string
   350  
   351  	// Role.
   352  	Role *string
   353  
   354  	// Rolen.
   355  	Rolen *string
   356  
   357  	// RoleID.
   358  	RoleID *string
   359  
   360  	// RoleIDn.
   361  	RoleIDn *string
   362  
   363  	// Serial.
   364  	Serial *string
   365  
   366  	// Site.
   367  	Site *string
   368  
   369  	// Siten.
   370  	Siten *string
   371  
   372  	// SiteGroup.
   373  	SiteGroup *string
   374  
   375  	// SiteGroupn.
   376  	SiteGroupn *string
   377  
   378  	// SiteGroupID.
   379  	SiteGroupID *string
   380  
   381  	// SiteGroupIDn.
   382  	SiteGroupIDn *string
   383  
   384  	// SiteID.
   385  	SiteID *string
   386  
   387  	// SiteIDn.
   388  	SiteIDn *string
   389  
   390  	// Status.
   391  	Status *string
   392  
   393  	// Statusn.
   394  	Statusn *string
   395  
   396  	// Tag.
   397  	Tag *string
   398  
   399  	// Tagn.
   400  	Tagn *string
   401  
   402  	// Tenant.
   403  	Tenant *string
   404  
   405  	// Tenantn.
   406  	Tenantn *string
   407  
   408  	// TenantGroup.
   409  	TenantGroup *string
   410  
   411  	// TenantGroupn.
   412  	TenantGroupn *string
   413  
   414  	// TenantGroupID.
   415  	TenantGroupID *string
   416  
   417  	// TenantGroupIDn.
   418  	TenantGroupIDn *string
   419  
   420  	// TenantID.
   421  	TenantID *string
   422  
   423  	// TenantIDn.
   424  	TenantIDn *string
   425  
   426  	// VcPosition.
   427  	VcPosition *string
   428  
   429  	// VcPositionGt.
   430  	VcPositionGt *string
   431  
   432  	// VcPositionGte.
   433  	VcPositionGte *string
   434  
   435  	// VcPositionLt.
   436  	VcPositionLt *string
   437  
   438  	// VcPositionLte.
   439  	VcPositionLte *string
   440  
   441  	// VcPositionn.
   442  	VcPositionn *string
   443  
   444  	// VcPriority.
   445  	VcPriority *string
   446  
   447  	// VcPriorityGt.
   448  	VcPriorityGt *string
   449  
   450  	// VcPriorityGte.
   451  	VcPriorityGte *string
   452  
   453  	// VcPriorityLt.
   454  	VcPriorityLt *string
   455  
   456  	// VcPriorityLte.
   457  	VcPriorityLte *string
   458  
   459  	// VcPriorityn.
   460  	VcPriorityn *string
   461  
   462  	// VirtualChassisID.
   463  	VirtualChassisID *string
   464  
   465  	// VirtualChassisIDn.
   466  	VirtualChassisIDn *string
   467  
   468  	// VirtualChassisMember.
   469  	VirtualChassisMember *string
   470  
   471  	timeout    time.Duration
   472  	Context    context.Context
   473  	HTTPClient *http.Client
   474  }
   475  
   476  // WithDefaults hydrates default values in the dcim devices list params (not the query body).
   477  //
   478  // All values with no default are reset to their zero value.
   479  func (o *DcimDevicesListParams) WithDefaults() *DcimDevicesListParams {
   480  	o.SetDefaults()
   481  	return o
   482  }
   483  
   484  // SetDefaults hydrates default values in the dcim devices list params (not the query body).
   485  //
   486  // All values with no default are reset to their zero value.
   487  func (o *DcimDevicesListParams) SetDefaults() {
   488  	// no default values defined for this parameter
   489  }
   490  
   491  // WithTimeout adds the timeout to the dcim devices list params
   492  func (o *DcimDevicesListParams) WithTimeout(timeout time.Duration) *DcimDevicesListParams {
   493  	o.SetTimeout(timeout)
   494  	return o
   495  }
   496  
   497  // SetTimeout adds the timeout to the dcim devices list params
   498  func (o *DcimDevicesListParams) SetTimeout(timeout time.Duration) {
   499  	o.timeout = timeout
   500  }
   501  
   502  // WithContext adds the context to the dcim devices list params
   503  func (o *DcimDevicesListParams) WithContext(ctx context.Context) *DcimDevicesListParams {
   504  	o.SetContext(ctx)
   505  	return o
   506  }
   507  
   508  // SetContext adds the context to the dcim devices list params
   509  func (o *DcimDevicesListParams) SetContext(ctx context.Context) {
   510  	o.Context = ctx
   511  }
   512  
   513  // WithHTTPClient adds the HTTPClient to the dcim devices list params
   514  func (o *DcimDevicesListParams) WithHTTPClient(client *http.Client) *DcimDevicesListParams {
   515  	o.SetHTTPClient(client)
   516  	return o
   517  }
   518  
   519  // SetHTTPClient adds the HTTPClient to the dcim devices list params
   520  func (o *DcimDevicesListParams) SetHTTPClient(client *http.Client) {
   521  	o.HTTPClient = client
   522  }
   523  
   524  // WithAssetTag adds the assetTag to the dcim devices list params
   525  func (o *DcimDevicesListParams) WithAssetTag(assetTag *string) *DcimDevicesListParams {
   526  	o.SetAssetTag(assetTag)
   527  	return o
   528  }
   529  
   530  // SetAssetTag adds the assetTag to the dcim devices list params
   531  func (o *DcimDevicesListParams) SetAssetTag(assetTag *string) {
   532  	o.AssetTag = assetTag
   533  }
   534  
   535  // WithAssetTagEmpty adds the assetTagEmpty to the dcim devices list params
   536  func (o *DcimDevicesListParams) WithAssetTagEmpty(assetTagEmpty *string) *DcimDevicesListParams {
   537  	o.SetAssetTagEmpty(assetTagEmpty)
   538  	return o
   539  }
   540  
   541  // SetAssetTagEmpty adds the assetTagEmpty to the dcim devices list params
   542  func (o *DcimDevicesListParams) SetAssetTagEmpty(assetTagEmpty *string) {
   543  	o.AssetTagEmpty = assetTagEmpty
   544  }
   545  
   546  // WithAssetTagIc adds the assetTagIc to the dcim devices list params
   547  func (o *DcimDevicesListParams) WithAssetTagIc(assetTagIc *string) *DcimDevicesListParams {
   548  	o.SetAssetTagIc(assetTagIc)
   549  	return o
   550  }
   551  
   552  // SetAssetTagIc adds the assetTagIc to the dcim devices list params
   553  func (o *DcimDevicesListParams) SetAssetTagIc(assetTagIc *string) {
   554  	o.AssetTagIc = assetTagIc
   555  }
   556  
   557  // WithAssetTagIe adds the assetTagIe to the dcim devices list params
   558  func (o *DcimDevicesListParams) WithAssetTagIe(assetTagIe *string) *DcimDevicesListParams {
   559  	o.SetAssetTagIe(assetTagIe)
   560  	return o
   561  }
   562  
   563  // SetAssetTagIe adds the assetTagIe to the dcim devices list params
   564  func (o *DcimDevicesListParams) SetAssetTagIe(assetTagIe *string) {
   565  	o.AssetTagIe = assetTagIe
   566  }
   567  
   568  // WithAssetTagIew adds the assetTagIew to the dcim devices list params
   569  func (o *DcimDevicesListParams) WithAssetTagIew(assetTagIew *string) *DcimDevicesListParams {
   570  	o.SetAssetTagIew(assetTagIew)
   571  	return o
   572  }
   573  
   574  // SetAssetTagIew adds the assetTagIew to the dcim devices list params
   575  func (o *DcimDevicesListParams) SetAssetTagIew(assetTagIew *string) {
   576  	o.AssetTagIew = assetTagIew
   577  }
   578  
   579  // WithAssetTagIsw adds the assetTagIsw to the dcim devices list params
   580  func (o *DcimDevicesListParams) WithAssetTagIsw(assetTagIsw *string) *DcimDevicesListParams {
   581  	o.SetAssetTagIsw(assetTagIsw)
   582  	return o
   583  }
   584  
   585  // SetAssetTagIsw adds the assetTagIsw to the dcim devices list params
   586  func (o *DcimDevicesListParams) SetAssetTagIsw(assetTagIsw *string) {
   587  	o.AssetTagIsw = assetTagIsw
   588  }
   589  
   590  // WithAssetTagn adds the assetTagn to the dcim devices list params
   591  func (o *DcimDevicesListParams) WithAssetTagn(assetTagn *string) *DcimDevicesListParams {
   592  	o.SetAssetTagn(assetTagn)
   593  	return o
   594  }
   595  
   596  // SetAssetTagn adds the assetTagN to the dcim devices list params
   597  func (o *DcimDevicesListParams) SetAssetTagn(assetTagn *string) {
   598  	o.AssetTagn = assetTagn
   599  }
   600  
   601  // WithAssetTagNic adds the assetTagNic to the dcim devices list params
   602  func (o *DcimDevicesListParams) WithAssetTagNic(assetTagNic *string) *DcimDevicesListParams {
   603  	o.SetAssetTagNic(assetTagNic)
   604  	return o
   605  }
   606  
   607  // SetAssetTagNic adds the assetTagNic to the dcim devices list params
   608  func (o *DcimDevicesListParams) SetAssetTagNic(assetTagNic *string) {
   609  	o.AssetTagNic = assetTagNic
   610  }
   611  
   612  // WithAssetTagNie adds the assetTagNie to the dcim devices list params
   613  func (o *DcimDevicesListParams) WithAssetTagNie(assetTagNie *string) *DcimDevicesListParams {
   614  	o.SetAssetTagNie(assetTagNie)
   615  	return o
   616  }
   617  
   618  // SetAssetTagNie adds the assetTagNie to the dcim devices list params
   619  func (o *DcimDevicesListParams) SetAssetTagNie(assetTagNie *string) {
   620  	o.AssetTagNie = assetTagNie
   621  }
   622  
   623  // WithAssetTagNiew adds the assetTagNiew to the dcim devices list params
   624  func (o *DcimDevicesListParams) WithAssetTagNiew(assetTagNiew *string) *DcimDevicesListParams {
   625  	o.SetAssetTagNiew(assetTagNiew)
   626  	return o
   627  }
   628  
   629  // SetAssetTagNiew adds the assetTagNiew to the dcim devices list params
   630  func (o *DcimDevicesListParams) SetAssetTagNiew(assetTagNiew *string) {
   631  	o.AssetTagNiew = assetTagNiew
   632  }
   633  
   634  // WithAssetTagNisw adds the assetTagNisw to the dcim devices list params
   635  func (o *DcimDevicesListParams) WithAssetTagNisw(assetTagNisw *string) *DcimDevicesListParams {
   636  	o.SetAssetTagNisw(assetTagNisw)
   637  	return o
   638  }
   639  
   640  // SetAssetTagNisw adds the assetTagNisw to the dcim devices list params
   641  func (o *DcimDevicesListParams) SetAssetTagNisw(assetTagNisw *string) {
   642  	o.AssetTagNisw = assetTagNisw
   643  }
   644  
   645  // WithClusterID adds the clusterID to the dcim devices list params
   646  func (o *DcimDevicesListParams) WithClusterID(clusterID *string) *DcimDevicesListParams {
   647  	o.SetClusterID(clusterID)
   648  	return o
   649  }
   650  
   651  // SetClusterID adds the clusterId to the dcim devices list params
   652  func (o *DcimDevicesListParams) SetClusterID(clusterID *string) {
   653  	o.ClusterID = clusterID
   654  }
   655  
   656  // WithClusterIDn adds the clusterIDn to the dcim devices list params
   657  func (o *DcimDevicesListParams) WithClusterIDn(clusterIDn *string) *DcimDevicesListParams {
   658  	o.SetClusterIDn(clusterIDn)
   659  	return o
   660  }
   661  
   662  // SetClusterIDn adds the clusterIdN to the dcim devices list params
   663  func (o *DcimDevicesListParams) SetClusterIDn(clusterIDn *string) {
   664  	o.ClusterIDn = clusterIDn
   665  }
   666  
   667  // WithConsolePorts adds the consolePorts to the dcim devices list params
   668  func (o *DcimDevicesListParams) WithConsolePorts(consolePorts *string) *DcimDevicesListParams {
   669  	o.SetConsolePorts(consolePorts)
   670  	return o
   671  }
   672  
   673  // SetConsolePorts adds the consolePorts to the dcim devices list params
   674  func (o *DcimDevicesListParams) SetConsolePorts(consolePorts *string) {
   675  	o.ConsolePorts = consolePorts
   676  }
   677  
   678  // WithConsoleServerPorts adds the consoleServerPorts to the dcim devices list params
   679  func (o *DcimDevicesListParams) WithConsoleServerPorts(consoleServerPorts *string) *DcimDevicesListParams {
   680  	o.SetConsoleServerPorts(consoleServerPorts)
   681  	return o
   682  }
   683  
   684  // SetConsoleServerPorts adds the consoleServerPorts to the dcim devices list params
   685  func (o *DcimDevicesListParams) SetConsoleServerPorts(consoleServerPorts *string) {
   686  	o.ConsoleServerPorts = consoleServerPorts
   687  }
   688  
   689  // WithCreated adds the created to the dcim devices list params
   690  func (o *DcimDevicesListParams) WithCreated(created *string) *DcimDevicesListParams {
   691  	o.SetCreated(created)
   692  	return o
   693  }
   694  
   695  // SetCreated adds the created to the dcim devices list params
   696  func (o *DcimDevicesListParams) SetCreated(created *string) {
   697  	o.Created = created
   698  }
   699  
   700  // WithCreatedGte adds the createdGte to the dcim devices list params
   701  func (o *DcimDevicesListParams) WithCreatedGte(createdGte *string) *DcimDevicesListParams {
   702  	o.SetCreatedGte(createdGte)
   703  	return o
   704  }
   705  
   706  // SetCreatedGte adds the createdGte to the dcim devices list params
   707  func (o *DcimDevicesListParams) SetCreatedGte(createdGte *string) {
   708  	o.CreatedGte = createdGte
   709  }
   710  
   711  // WithCreatedLte adds the createdLte to the dcim devices list params
   712  func (o *DcimDevicesListParams) WithCreatedLte(createdLte *string) *DcimDevicesListParams {
   713  	o.SetCreatedLte(createdLte)
   714  	return o
   715  }
   716  
   717  // SetCreatedLte adds the createdLte to the dcim devices list params
   718  func (o *DcimDevicesListParams) SetCreatedLte(createdLte *string) {
   719  	o.CreatedLte = createdLte
   720  }
   721  
   722  // WithDeviceBays adds the deviceBays to the dcim devices list params
   723  func (o *DcimDevicesListParams) WithDeviceBays(deviceBays *string) *DcimDevicesListParams {
   724  	o.SetDeviceBays(deviceBays)
   725  	return o
   726  }
   727  
   728  // SetDeviceBays adds the deviceBays to the dcim devices list params
   729  func (o *DcimDevicesListParams) SetDeviceBays(deviceBays *string) {
   730  	o.DeviceBays = deviceBays
   731  }
   732  
   733  // WithDeviceTypeID adds the deviceTypeID to the dcim devices list params
   734  func (o *DcimDevicesListParams) WithDeviceTypeID(deviceTypeID *string) *DcimDevicesListParams {
   735  	o.SetDeviceTypeID(deviceTypeID)
   736  	return o
   737  }
   738  
   739  // SetDeviceTypeID adds the deviceTypeId to the dcim devices list params
   740  func (o *DcimDevicesListParams) SetDeviceTypeID(deviceTypeID *string) {
   741  	o.DeviceTypeID = deviceTypeID
   742  }
   743  
   744  // WithDeviceTypeIDn adds the deviceTypeIDn to the dcim devices list params
   745  func (o *DcimDevicesListParams) WithDeviceTypeIDn(deviceTypeIDn *string) *DcimDevicesListParams {
   746  	o.SetDeviceTypeIDn(deviceTypeIDn)
   747  	return o
   748  }
   749  
   750  // SetDeviceTypeIDn adds the deviceTypeIdN to the dcim devices list params
   751  func (o *DcimDevicesListParams) SetDeviceTypeIDn(deviceTypeIDn *string) {
   752  	o.DeviceTypeIDn = deviceTypeIDn
   753  }
   754  
   755  // WithExclude adds the exclude to the dcim devices list params
   756  func (o *DcimDevicesListParams) WithExclude(exclude *string) *DcimDevicesListParams {
   757  	o.SetExclude(exclude)
   758  	return o
   759  }
   760  
   761  // SetExclude adds the exclude to the dcim devices list params
   762  func (o *DcimDevicesListParams) SetExclude(exclude *string) {
   763  	o.Exclude = exclude
   764  }
   765  
   766  // WithFace adds the face to the dcim devices list params
   767  func (o *DcimDevicesListParams) WithFace(face *string) *DcimDevicesListParams {
   768  	o.SetFace(face)
   769  	return o
   770  }
   771  
   772  // SetFace adds the face to the dcim devices list params
   773  func (o *DcimDevicesListParams) SetFace(face *string) {
   774  	o.Face = face
   775  }
   776  
   777  // WithFacen adds the facen to the dcim devices list params
   778  func (o *DcimDevicesListParams) WithFacen(facen *string) *DcimDevicesListParams {
   779  	o.SetFacen(facen)
   780  	return o
   781  }
   782  
   783  // SetFacen adds the faceN to the dcim devices list params
   784  func (o *DcimDevicesListParams) SetFacen(facen *string) {
   785  	o.Facen = facen
   786  }
   787  
   788  // WithHasPrimaryIP adds the hasPrimaryIP to the dcim devices list params
   789  func (o *DcimDevicesListParams) WithHasPrimaryIP(hasPrimaryIP *string) *DcimDevicesListParams {
   790  	o.SetHasPrimaryIP(hasPrimaryIP)
   791  	return o
   792  }
   793  
   794  // SetHasPrimaryIP adds the hasPrimaryIp to the dcim devices list params
   795  func (o *DcimDevicesListParams) SetHasPrimaryIP(hasPrimaryIP *string) {
   796  	o.HasPrimaryIP = hasPrimaryIP
   797  }
   798  
   799  // WithID adds the id to the dcim devices list params
   800  func (o *DcimDevicesListParams) WithID(id *string) *DcimDevicesListParams {
   801  	o.SetID(id)
   802  	return o
   803  }
   804  
   805  // SetID adds the id to the dcim devices list params
   806  func (o *DcimDevicesListParams) SetID(id *string) {
   807  	o.ID = id
   808  }
   809  
   810  // WithIDGt adds the iDGt to the dcim devices list params
   811  func (o *DcimDevicesListParams) WithIDGt(iDGt *string) *DcimDevicesListParams {
   812  	o.SetIDGt(iDGt)
   813  	return o
   814  }
   815  
   816  // SetIDGt adds the idGt to the dcim devices list params
   817  func (o *DcimDevicesListParams) SetIDGt(iDGt *string) {
   818  	o.IDGt = iDGt
   819  }
   820  
   821  // WithIDGte adds the iDGte to the dcim devices list params
   822  func (o *DcimDevicesListParams) WithIDGte(iDGte *string) *DcimDevicesListParams {
   823  	o.SetIDGte(iDGte)
   824  	return o
   825  }
   826  
   827  // SetIDGte adds the idGte to the dcim devices list params
   828  func (o *DcimDevicesListParams) SetIDGte(iDGte *string) {
   829  	o.IDGte = iDGte
   830  }
   831  
   832  // WithIDLt adds the iDLt to the dcim devices list params
   833  func (o *DcimDevicesListParams) WithIDLt(iDLt *string) *DcimDevicesListParams {
   834  	o.SetIDLt(iDLt)
   835  	return o
   836  }
   837  
   838  // SetIDLt adds the idLt to the dcim devices list params
   839  func (o *DcimDevicesListParams) SetIDLt(iDLt *string) {
   840  	o.IDLt = iDLt
   841  }
   842  
   843  // WithIDLte adds the iDLte to the dcim devices list params
   844  func (o *DcimDevicesListParams) WithIDLte(iDLte *string) *DcimDevicesListParams {
   845  	o.SetIDLte(iDLte)
   846  	return o
   847  }
   848  
   849  // SetIDLte adds the idLte to the dcim devices list params
   850  func (o *DcimDevicesListParams) SetIDLte(iDLte *string) {
   851  	o.IDLte = iDLte
   852  }
   853  
   854  // WithIDn adds the iDn to the dcim devices list params
   855  func (o *DcimDevicesListParams) WithIDn(iDn *string) *DcimDevicesListParams {
   856  	o.SetIDn(iDn)
   857  	return o
   858  }
   859  
   860  // SetIDn adds the idN to the dcim devices list params
   861  func (o *DcimDevicesListParams) SetIDn(iDn *string) {
   862  	o.IDn = iDn
   863  }
   864  
   865  // WithInterfaces adds the interfaces to the dcim devices list params
   866  func (o *DcimDevicesListParams) WithInterfaces(interfaces *string) *DcimDevicesListParams {
   867  	o.SetInterfaces(interfaces)
   868  	return o
   869  }
   870  
   871  // SetInterfaces adds the interfaces to the dcim devices list params
   872  func (o *DcimDevicesListParams) SetInterfaces(interfaces *string) {
   873  	o.Interfaces = interfaces
   874  }
   875  
   876  // WithIsFullDepth adds the isFullDepth to the dcim devices list params
   877  func (o *DcimDevicesListParams) WithIsFullDepth(isFullDepth *string) *DcimDevicesListParams {
   878  	o.SetIsFullDepth(isFullDepth)
   879  	return o
   880  }
   881  
   882  // SetIsFullDepth adds the isFullDepth to the dcim devices list params
   883  func (o *DcimDevicesListParams) SetIsFullDepth(isFullDepth *string) {
   884  	o.IsFullDepth = isFullDepth
   885  }
   886  
   887  // WithLastUpdated adds the lastUpdated to the dcim devices list params
   888  func (o *DcimDevicesListParams) WithLastUpdated(lastUpdated *string) *DcimDevicesListParams {
   889  	o.SetLastUpdated(lastUpdated)
   890  	return o
   891  }
   892  
   893  // SetLastUpdated adds the lastUpdated to the dcim devices list params
   894  func (o *DcimDevicesListParams) SetLastUpdated(lastUpdated *string) {
   895  	o.LastUpdated = lastUpdated
   896  }
   897  
   898  // WithLastUpdatedGte adds the lastUpdatedGte to the dcim devices list params
   899  func (o *DcimDevicesListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimDevicesListParams {
   900  	o.SetLastUpdatedGte(lastUpdatedGte)
   901  	return o
   902  }
   903  
   904  // SetLastUpdatedGte adds the lastUpdatedGte to the dcim devices list params
   905  func (o *DcimDevicesListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   906  	o.LastUpdatedGte = lastUpdatedGte
   907  }
   908  
   909  // WithLastUpdatedLte adds the lastUpdatedLte to the dcim devices list params
   910  func (o *DcimDevicesListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimDevicesListParams {
   911  	o.SetLastUpdatedLte(lastUpdatedLte)
   912  	return o
   913  }
   914  
   915  // SetLastUpdatedLte adds the lastUpdatedLte to the dcim devices list params
   916  func (o *DcimDevicesListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   917  	o.LastUpdatedLte = lastUpdatedLte
   918  }
   919  
   920  // WithLimit adds the limit to the dcim devices list params
   921  func (o *DcimDevicesListParams) WithLimit(limit *int64) *DcimDevicesListParams {
   922  	o.SetLimit(limit)
   923  	return o
   924  }
   925  
   926  // SetLimit adds the limit to the dcim devices list params
   927  func (o *DcimDevicesListParams) SetLimit(limit *int64) {
   928  	o.Limit = limit
   929  }
   930  
   931  // WithLocalContextData adds the localContextData to the dcim devices list params
   932  func (o *DcimDevicesListParams) WithLocalContextData(localContextData *string) *DcimDevicesListParams {
   933  	o.SetLocalContextData(localContextData)
   934  	return o
   935  }
   936  
   937  // SetLocalContextData adds the localContextData to the dcim devices list params
   938  func (o *DcimDevicesListParams) SetLocalContextData(localContextData *string) {
   939  	o.LocalContextData = localContextData
   940  }
   941  
   942  // WithLocationID adds the locationID to the dcim devices list params
   943  func (o *DcimDevicesListParams) WithLocationID(locationID *string) *DcimDevicesListParams {
   944  	o.SetLocationID(locationID)
   945  	return o
   946  }
   947  
   948  // SetLocationID adds the locationId to the dcim devices list params
   949  func (o *DcimDevicesListParams) SetLocationID(locationID *string) {
   950  	o.LocationID = locationID
   951  }
   952  
   953  // WithLocationIDn adds the locationIDn to the dcim devices list params
   954  func (o *DcimDevicesListParams) WithLocationIDn(locationIDn *string) *DcimDevicesListParams {
   955  	o.SetLocationIDn(locationIDn)
   956  	return o
   957  }
   958  
   959  // SetLocationIDn adds the locationIdN to the dcim devices list params
   960  func (o *DcimDevicesListParams) SetLocationIDn(locationIDn *string) {
   961  	o.LocationIDn = locationIDn
   962  }
   963  
   964  // WithMacAddress adds the macAddress to the dcim devices list params
   965  func (o *DcimDevicesListParams) WithMacAddress(macAddress *string) *DcimDevicesListParams {
   966  	o.SetMacAddress(macAddress)
   967  	return o
   968  }
   969  
   970  // SetMacAddress adds the macAddress to the dcim devices list params
   971  func (o *DcimDevicesListParams) SetMacAddress(macAddress *string) {
   972  	o.MacAddress = macAddress
   973  }
   974  
   975  // WithMacAddressIc adds the macAddressIc to the dcim devices list params
   976  func (o *DcimDevicesListParams) WithMacAddressIc(macAddressIc *string) *DcimDevicesListParams {
   977  	o.SetMacAddressIc(macAddressIc)
   978  	return o
   979  }
   980  
   981  // SetMacAddressIc adds the macAddressIc to the dcim devices list params
   982  func (o *DcimDevicesListParams) SetMacAddressIc(macAddressIc *string) {
   983  	o.MacAddressIc = macAddressIc
   984  }
   985  
   986  // WithMacAddressIe adds the macAddressIe to the dcim devices list params
   987  func (o *DcimDevicesListParams) WithMacAddressIe(macAddressIe *string) *DcimDevicesListParams {
   988  	o.SetMacAddressIe(macAddressIe)
   989  	return o
   990  }
   991  
   992  // SetMacAddressIe adds the macAddressIe to the dcim devices list params
   993  func (o *DcimDevicesListParams) SetMacAddressIe(macAddressIe *string) {
   994  	o.MacAddressIe = macAddressIe
   995  }
   996  
   997  // WithMacAddressIew adds the macAddressIew to the dcim devices list params
   998  func (o *DcimDevicesListParams) WithMacAddressIew(macAddressIew *string) *DcimDevicesListParams {
   999  	o.SetMacAddressIew(macAddressIew)
  1000  	return o
  1001  }
  1002  
  1003  // SetMacAddressIew adds the macAddressIew to the dcim devices list params
  1004  func (o *DcimDevicesListParams) SetMacAddressIew(macAddressIew *string) {
  1005  	o.MacAddressIew = macAddressIew
  1006  }
  1007  
  1008  // WithMacAddressIsw adds the macAddressIsw to the dcim devices list params
  1009  func (o *DcimDevicesListParams) WithMacAddressIsw(macAddressIsw *string) *DcimDevicesListParams {
  1010  	o.SetMacAddressIsw(macAddressIsw)
  1011  	return o
  1012  }
  1013  
  1014  // SetMacAddressIsw adds the macAddressIsw to the dcim devices list params
  1015  func (o *DcimDevicesListParams) SetMacAddressIsw(macAddressIsw *string) {
  1016  	o.MacAddressIsw = macAddressIsw
  1017  }
  1018  
  1019  // WithMacAddressn adds the macAddressn to the dcim devices list params
  1020  func (o *DcimDevicesListParams) WithMacAddressn(macAddressn *string) *DcimDevicesListParams {
  1021  	o.SetMacAddressn(macAddressn)
  1022  	return o
  1023  }
  1024  
  1025  // SetMacAddressn adds the macAddressN to the dcim devices list params
  1026  func (o *DcimDevicesListParams) SetMacAddressn(macAddressn *string) {
  1027  	o.MacAddressn = macAddressn
  1028  }
  1029  
  1030  // WithMacAddressNic adds the macAddressNic to the dcim devices list params
  1031  func (o *DcimDevicesListParams) WithMacAddressNic(macAddressNic *string) *DcimDevicesListParams {
  1032  	o.SetMacAddressNic(macAddressNic)
  1033  	return o
  1034  }
  1035  
  1036  // SetMacAddressNic adds the macAddressNic to the dcim devices list params
  1037  func (o *DcimDevicesListParams) SetMacAddressNic(macAddressNic *string) {
  1038  	o.MacAddressNic = macAddressNic
  1039  }
  1040  
  1041  // WithMacAddressNie adds the macAddressNie to the dcim devices list params
  1042  func (o *DcimDevicesListParams) WithMacAddressNie(macAddressNie *string) *DcimDevicesListParams {
  1043  	o.SetMacAddressNie(macAddressNie)
  1044  	return o
  1045  }
  1046  
  1047  // SetMacAddressNie adds the macAddressNie to the dcim devices list params
  1048  func (o *DcimDevicesListParams) SetMacAddressNie(macAddressNie *string) {
  1049  	o.MacAddressNie = macAddressNie
  1050  }
  1051  
  1052  // WithMacAddressNiew adds the macAddressNiew to the dcim devices list params
  1053  func (o *DcimDevicesListParams) WithMacAddressNiew(macAddressNiew *string) *DcimDevicesListParams {
  1054  	o.SetMacAddressNiew(macAddressNiew)
  1055  	return o
  1056  }
  1057  
  1058  // SetMacAddressNiew adds the macAddressNiew to the dcim devices list params
  1059  func (o *DcimDevicesListParams) SetMacAddressNiew(macAddressNiew *string) {
  1060  	o.MacAddressNiew = macAddressNiew
  1061  }
  1062  
  1063  // WithMacAddressNisw adds the macAddressNisw to the dcim devices list params
  1064  func (o *DcimDevicesListParams) WithMacAddressNisw(macAddressNisw *string) *DcimDevicesListParams {
  1065  	o.SetMacAddressNisw(macAddressNisw)
  1066  	return o
  1067  }
  1068  
  1069  // SetMacAddressNisw adds the macAddressNisw to the dcim devices list params
  1070  func (o *DcimDevicesListParams) SetMacAddressNisw(macAddressNisw *string) {
  1071  	o.MacAddressNisw = macAddressNisw
  1072  }
  1073  
  1074  // WithManufacturer adds the manufacturer to the dcim devices list params
  1075  func (o *DcimDevicesListParams) WithManufacturer(manufacturer *string) *DcimDevicesListParams {
  1076  	o.SetManufacturer(manufacturer)
  1077  	return o
  1078  }
  1079  
  1080  // SetManufacturer adds the manufacturer to the dcim devices list params
  1081  func (o *DcimDevicesListParams) SetManufacturer(manufacturer *string) {
  1082  	o.Manufacturer = manufacturer
  1083  }
  1084  
  1085  // WithManufacturern adds the manufacturern to the dcim devices list params
  1086  func (o *DcimDevicesListParams) WithManufacturern(manufacturern *string) *DcimDevicesListParams {
  1087  	o.SetManufacturern(manufacturern)
  1088  	return o
  1089  }
  1090  
  1091  // SetManufacturern adds the manufacturerN to the dcim devices list params
  1092  func (o *DcimDevicesListParams) SetManufacturern(manufacturern *string) {
  1093  	o.Manufacturern = manufacturern
  1094  }
  1095  
  1096  // WithManufacturerID adds the manufacturerID to the dcim devices list params
  1097  func (o *DcimDevicesListParams) WithManufacturerID(manufacturerID *string) *DcimDevicesListParams {
  1098  	o.SetManufacturerID(manufacturerID)
  1099  	return o
  1100  }
  1101  
  1102  // SetManufacturerID adds the manufacturerId to the dcim devices list params
  1103  func (o *DcimDevicesListParams) SetManufacturerID(manufacturerID *string) {
  1104  	o.ManufacturerID = manufacturerID
  1105  }
  1106  
  1107  // WithManufacturerIDn adds the manufacturerIDn to the dcim devices list params
  1108  func (o *DcimDevicesListParams) WithManufacturerIDn(manufacturerIDn *string) *DcimDevicesListParams {
  1109  	o.SetManufacturerIDn(manufacturerIDn)
  1110  	return o
  1111  }
  1112  
  1113  // SetManufacturerIDn adds the manufacturerIdN to the dcim devices list params
  1114  func (o *DcimDevicesListParams) SetManufacturerIDn(manufacturerIDn *string) {
  1115  	o.ManufacturerIDn = manufacturerIDn
  1116  }
  1117  
  1118  // WithModel adds the model to the dcim devices list params
  1119  func (o *DcimDevicesListParams) WithModel(model *string) *DcimDevicesListParams {
  1120  	o.SetModel(model)
  1121  	return o
  1122  }
  1123  
  1124  // SetModel adds the model to the dcim devices list params
  1125  func (o *DcimDevicesListParams) SetModel(model *string) {
  1126  	o.Model = model
  1127  }
  1128  
  1129  // WithModeln adds the modeln to the dcim devices list params
  1130  func (o *DcimDevicesListParams) WithModeln(modeln *string) *DcimDevicesListParams {
  1131  	o.SetModeln(modeln)
  1132  	return o
  1133  }
  1134  
  1135  // SetModeln adds the modelN to the dcim devices list params
  1136  func (o *DcimDevicesListParams) SetModeln(modeln *string) {
  1137  	o.Modeln = modeln
  1138  }
  1139  
  1140  // WithName adds the name to the dcim devices list params
  1141  func (o *DcimDevicesListParams) WithName(name *string) *DcimDevicesListParams {
  1142  	o.SetName(name)
  1143  	return o
  1144  }
  1145  
  1146  // SetName adds the name to the dcim devices list params
  1147  func (o *DcimDevicesListParams) SetName(name *string) {
  1148  	o.Name = name
  1149  }
  1150  
  1151  // WithNameEmpty adds the nameEmpty to the dcim devices list params
  1152  func (o *DcimDevicesListParams) WithNameEmpty(nameEmpty *string) *DcimDevicesListParams {
  1153  	o.SetNameEmpty(nameEmpty)
  1154  	return o
  1155  }
  1156  
  1157  // SetNameEmpty adds the nameEmpty to the dcim devices list params
  1158  func (o *DcimDevicesListParams) SetNameEmpty(nameEmpty *string) {
  1159  	o.NameEmpty = nameEmpty
  1160  }
  1161  
  1162  // WithNameIc adds the nameIc to the dcim devices list params
  1163  func (o *DcimDevicesListParams) WithNameIc(nameIc *string) *DcimDevicesListParams {
  1164  	o.SetNameIc(nameIc)
  1165  	return o
  1166  }
  1167  
  1168  // SetNameIc adds the nameIc to the dcim devices list params
  1169  func (o *DcimDevicesListParams) SetNameIc(nameIc *string) {
  1170  	o.NameIc = nameIc
  1171  }
  1172  
  1173  // WithNameIe adds the nameIe to the dcim devices list params
  1174  func (o *DcimDevicesListParams) WithNameIe(nameIe *string) *DcimDevicesListParams {
  1175  	o.SetNameIe(nameIe)
  1176  	return o
  1177  }
  1178  
  1179  // SetNameIe adds the nameIe to the dcim devices list params
  1180  func (o *DcimDevicesListParams) SetNameIe(nameIe *string) {
  1181  	o.NameIe = nameIe
  1182  }
  1183  
  1184  // WithNameIew adds the nameIew to the dcim devices list params
  1185  func (o *DcimDevicesListParams) WithNameIew(nameIew *string) *DcimDevicesListParams {
  1186  	o.SetNameIew(nameIew)
  1187  	return o
  1188  }
  1189  
  1190  // SetNameIew adds the nameIew to the dcim devices list params
  1191  func (o *DcimDevicesListParams) SetNameIew(nameIew *string) {
  1192  	o.NameIew = nameIew
  1193  }
  1194  
  1195  // WithNameIsw adds the nameIsw to the dcim devices list params
  1196  func (o *DcimDevicesListParams) WithNameIsw(nameIsw *string) *DcimDevicesListParams {
  1197  	o.SetNameIsw(nameIsw)
  1198  	return o
  1199  }
  1200  
  1201  // SetNameIsw adds the nameIsw to the dcim devices list params
  1202  func (o *DcimDevicesListParams) SetNameIsw(nameIsw *string) {
  1203  	o.NameIsw = nameIsw
  1204  }
  1205  
  1206  // WithNamen adds the namen to the dcim devices list params
  1207  func (o *DcimDevicesListParams) WithNamen(namen *string) *DcimDevicesListParams {
  1208  	o.SetNamen(namen)
  1209  	return o
  1210  }
  1211  
  1212  // SetNamen adds the nameN to the dcim devices list params
  1213  func (o *DcimDevicesListParams) SetNamen(namen *string) {
  1214  	o.Namen = namen
  1215  }
  1216  
  1217  // WithNameNic adds the nameNic to the dcim devices list params
  1218  func (o *DcimDevicesListParams) WithNameNic(nameNic *string) *DcimDevicesListParams {
  1219  	o.SetNameNic(nameNic)
  1220  	return o
  1221  }
  1222  
  1223  // SetNameNic adds the nameNic to the dcim devices list params
  1224  func (o *DcimDevicesListParams) SetNameNic(nameNic *string) {
  1225  	o.NameNic = nameNic
  1226  }
  1227  
  1228  // WithNameNie adds the nameNie to the dcim devices list params
  1229  func (o *DcimDevicesListParams) WithNameNie(nameNie *string) *DcimDevicesListParams {
  1230  	o.SetNameNie(nameNie)
  1231  	return o
  1232  }
  1233  
  1234  // SetNameNie adds the nameNie to the dcim devices list params
  1235  func (o *DcimDevicesListParams) SetNameNie(nameNie *string) {
  1236  	o.NameNie = nameNie
  1237  }
  1238  
  1239  // WithNameNiew adds the nameNiew to the dcim devices list params
  1240  func (o *DcimDevicesListParams) WithNameNiew(nameNiew *string) *DcimDevicesListParams {
  1241  	o.SetNameNiew(nameNiew)
  1242  	return o
  1243  }
  1244  
  1245  // SetNameNiew adds the nameNiew to the dcim devices list params
  1246  func (o *DcimDevicesListParams) SetNameNiew(nameNiew *string) {
  1247  	o.NameNiew = nameNiew
  1248  }
  1249  
  1250  // WithNameNisw adds the nameNisw to the dcim devices list params
  1251  func (o *DcimDevicesListParams) WithNameNisw(nameNisw *string) *DcimDevicesListParams {
  1252  	o.SetNameNisw(nameNisw)
  1253  	return o
  1254  }
  1255  
  1256  // SetNameNisw adds the nameNisw to the dcim devices list params
  1257  func (o *DcimDevicesListParams) SetNameNisw(nameNisw *string) {
  1258  	o.NameNisw = nameNisw
  1259  }
  1260  
  1261  // WithOffset adds the offset to the dcim devices list params
  1262  func (o *DcimDevicesListParams) WithOffset(offset *int64) *DcimDevicesListParams {
  1263  	o.SetOffset(offset)
  1264  	return o
  1265  }
  1266  
  1267  // SetOffset adds the offset to the dcim devices list params
  1268  func (o *DcimDevicesListParams) SetOffset(offset *int64) {
  1269  	o.Offset = offset
  1270  }
  1271  
  1272  // WithPassThroughPorts adds the passThroughPorts to the dcim devices list params
  1273  func (o *DcimDevicesListParams) WithPassThroughPorts(passThroughPorts *string) *DcimDevicesListParams {
  1274  	o.SetPassThroughPorts(passThroughPorts)
  1275  	return o
  1276  }
  1277  
  1278  // SetPassThroughPorts adds the passThroughPorts to the dcim devices list params
  1279  func (o *DcimDevicesListParams) SetPassThroughPorts(passThroughPorts *string) {
  1280  	o.PassThroughPorts = passThroughPorts
  1281  }
  1282  
  1283  // WithPlatform adds the platform to the dcim devices list params
  1284  func (o *DcimDevicesListParams) WithPlatform(platform *string) *DcimDevicesListParams {
  1285  	o.SetPlatform(platform)
  1286  	return o
  1287  }
  1288  
  1289  // SetPlatform adds the platform to the dcim devices list params
  1290  func (o *DcimDevicesListParams) SetPlatform(platform *string) {
  1291  	o.Platform = platform
  1292  }
  1293  
  1294  // WithPlatformn adds the platformn to the dcim devices list params
  1295  func (o *DcimDevicesListParams) WithPlatformn(platformn *string) *DcimDevicesListParams {
  1296  	o.SetPlatformn(platformn)
  1297  	return o
  1298  }
  1299  
  1300  // SetPlatformn adds the platformN to the dcim devices list params
  1301  func (o *DcimDevicesListParams) SetPlatformn(platformn *string) {
  1302  	o.Platformn = platformn
  1303  }
  1304  
  1305  // WithPlatformID adds the platformID to the dcim devices list params
  1306  func (o *DcimDevicesListParams) WithPlatformID(platformID *string) *DcimDevicesListParams {
  1307  	o.SetPlatformID(platformID)
  1308  	return o
  1309  }
  1310  
  1311  // SetPlatformID adds the platformId to the dcim devices list params
  1312  func (o *DcimDevicesListParams) SetPlatformID(platformID *string) {
  1313  	o.PlatformID = platformID
  1314  }
  1315  
  1316  // WithPlatformIDn adds the platformIDn to the dcim devices list params
  1317  func (o *DcimDevicesListParams) WithPlatformIDn(platformIDn *string) *DcimDevicesListParams {
  1318  	o.SetPlatformIDn(platformIDn)
  1319  	return o
  1320  }
  1321  
  1322  // SetPlatformIDn adds the platformIdN to the dcim devices list params
  1323  func (o *DcimDevicesListParams) SetPlatformIDn(platformIDn *string) {
  1324  	o.PlatformIDn = platformIDn
  1325  }
  1326  
  1327  // WithPosition adds the position to the dcim devices list params
  1328  func (o *DcimDevicesListParams) WithPosition(position *string) *DcimDevicesListParams {
  1329  	o.SetPosition(position)
  1330  	return o
  1331  }
  1332  
  1333  // SetPosition adds the position to the dcim devices list params
  1334  func (o *DcimDevicesListParams) SetPosition(position *string) {
  1335  	o.Position = position
  1336  }
  1337  
  1338  // WithPositionGt adds the positionGt to the dcim devices list params
  1339  func (o *DcimDevicesListParams) WithPositionGt(positionGt *string) *DcimDevicesListParams {
  1340  	o.SetPositionGt(positionGt)
  1341  	return o
  1342  }
  1343  
  1344  // SetPositionGt adds the positionGt to the dcim devices list params
  1345  func (o *DcimDevicesListParams) SetPositionGt(positionGt *string) {
  1346  	o.PositionGt = positionGt
  1347  }
  1348  
  1349  // WithPositionGte adds the positionGte to the dcim devices list params
  1350  func (o *DcimDevicesListParams) WithPositionGte(positionGte *string) *DcimDevicesListParams {
  1351  	o.SetPositionGte(positionGte)
  1352  	return o
  1353  }
  1354  
  1355  // SetPositionGte adds the positionGte to the dcim devices list params
  1356  func (o *DcimDevicesListParams) SetPositionGte(positionGte *string) {
  1357  	o.PositionGte = positionGte
  1358  }
  1359  
  1360  // WithPositionLt adds the positionLt to the dcim devices list params
  1361  func (o *DcimDevicesListParams) WithPositionLt(positionLt *string) *DcimDevicesListParams {
  1362  	o.SetPositionLt(positionLt)
  1363  	return o
  1364  }
  1365  
  1366  // SetPositionLt adds the positionLt to the dcim devices list params
  1367  func (o *DcimDevicesListParams) SetPositionLt(positionLt *string) {
  1368  	o.PositionLt = positionLt
  1369  }
  1370  
  1371  // WithPositionLte adds the positionLte to the dcim devices list params
  1372  func (o *DcimDevicesListParams) WithPositionLte(positionLte *string) *DcimDevicesListParams {
  1373  	o.SetPositionLte(positionLte)
  1374  	return o
  1375  }
  1376  
  1377  // SetPositionLte adds the positionLte to the dcim devices list params
  1378  func (o *DcimDevicesListParams) SetPositionLte(positionLte *string) {
  1379  	o.PositionLte = positionLte
  1380  }
  1381  
  1382  // WithPositionn adds the positionn to the dcim devices list params
  1383  func (o *DcimDevicesListParams) WithPositionn(positionn *string) *DcimDevicesListParams {
  1384  	o.SetPositionn(positionn)
  1385  	return o
  1386  }
  1387  
  1388  // SetPositionn adds the positionN to the dcim devices list params
  1389  func (o *DcimDevicesListParams) SetPositionn(positionn *string) {
  1390  	o.Positionn = positionn
  1391  }
  1392  
  1393  // WithPowerOutlets adds the powerOutlets to the dcim devices list params
  1394  func (o *DcimDevicesListParams) WithPowerOutlets(powerOutlets *string) *DcimDevicesListParams {
  1395  	o.SetPowerOutlets(powerOutlets)
  1396  	return o
  1397  }
  1398  
  1399  // SetPowerOutlets adds the powerOutlets to the dcim devices list params
  1400  func (o *DcimDevicesListParams) SetPowerOutlets(powerOutlets *string) {
  1401  	o.PowerOutlets = powerOutlets
  1402  }
  1403  
  1404  // WithPowerPorts adds the powerPorts to the dcim devices list params
  1405  func (o *DcimDevicesListParams) WithPowerPorts(powerPorts *string) *DcimDevicesListParams {
  1406  	o.SetPowerPorts(powerPorts)
  1407  	return o
  1408  }
  1409  
  1410  // SetPowerPorts adds the powerPorts to the dcim devices list params
  1411  func (o *DcimDevicesListParams) SetPowerPorts(powerPorts *string) {
  1412  	o.PowerPorts = powerPorts
  1413  }
  1414  
  1415  // WithQ adds the q to the dcim devices list params
  1416  func (o *DcimDevicesListParams) WithQ(q *string) *DcimDevicesListParams {
  1417  	o.SetQ(q)
  1418  	return o
  1419  }
  1420  
  1421  // SetQ adds the q to the dcim devices list params
  1422  func (o *DcimDevicesListParams) SetQ(q *string) {
  1423  	o.Q = q
  1424  }
  1425  
  1426  // WithRackID adds the rackID to the dcim devices list params
  1427  func (o *DcimDevicesListParams) WithRackID(rackID *string) *DcimDevicesListParams {
  1428  	o.SetRackID(rackID)
  1429  	return o
  1430  }
  1431  
  1432  // SetRackID adds the rackId to the dcim devices list params
  1433  func (o *DcimDevicesListParams) SetRackID(rackID *string) {
  1434  	o.RackID = rackID
  1435  }
  1436  
  1437  // WithRackIDn adds the rackIDn to the dcim devices list params
  1438  func (o *DcimDevicesListParams) WithRackIDn(rackIDn *string) *DcimDevicesListParams {
  1439  	o.SetRackIDn(rackIDn)
  1440  	return o
  1441  }
  1442  
  1443  // SetRackIDn adds the rackIdN to the dcim devices list params
  1444  func (o *DcimDevicesListParams) SetRackIDn(rackIDn *string) {
  1445  	o.RackIDn = rackIDn
  1446  }
  1447  
  1448  // WithRegion adds the region to the dcim devices list params
  1449  func (o *DcimDevicesListParams) WithRegion(region *string) *DcimDevicesListParams {
  1450  	o.SetRegion(region)
  1451  	return o
  1452  }
  1453  
  1454  // SetRegion adds the region to the dcim devices list params
  1455  func (o *DcimDevicesListParams) SetRegion(region *string) {
  1456  	o.Region = region
  1457  }
  1458  
  1459  // WithRegionn adds the regionn to the dcim devices list params
  1460  func (o *DcimDevicesListParams) WithRegionn(regionn *string) *DcimDevicesListParams {
  1461  	o.SetRegionn(regionn)
  1462  	return o
  1463  }
  1464  
  1465  // SetRegionn adds the regionN to the dcim devices list params
  1466  func (o *DcimDevicesListParams) SetRegionn(regionn *string) {
  1467  	o.Regionn = regionn
  1468  }
  1469  
  1470  // WithRegionID adds the regionID to the dcim devices list params
  1471  func (o *DcimDevicesListParams) WithRegionID(regionID *string) *DcimDevicesListParams {
  1472  	o.SetRegionID(regionID)
  1473  	return o
  1474  }
  1475  
  1476  // SetRegionID adds the regionId to the dcim devices list params
  1477  func (o *DcimDevicesListParams) SetRegionID(regionID *string) {
  1478  	o.RegionID = regionID
  1479  }
  1480  
  1481  // WithRegionIDn adds the regionIDn to the dcim devices list params
  1482  func (o *DcimDevicesListParams) WithRegionIDn(regionIDn *string) *DcimDevicesListParams {
  1483  	o.SetRegionIDn(regionIDn)
  1484  	return o
  1485  }
  1486  
  1487  // SetRegionIDn adds the regionIdN to the dcim devices list params
  1488  func (o *DcimDevicesListParams) SetRegionIDn(regionIDn *string) {
  1489  	o.RegionIDn = regionIDn
  1490  }
  1491  
  1492  // WithRole adds the role to the dcim devices list params
  1493  func (o *DcimDevicesListParams) WithRole(role *string) *DcimDevicesListParams {
  1494  	o.SetRole(role)
  1495  	return o
  1496  }
  1497  
  1498  // SetRole adds the role to the dcim devices list params
  1499  func (o *DcimDevicesListParams) SetRole(role *string) {
  1500  	o.Role = role
  1501  }
  1502  
  1503  // WithRolen adds the rolen to the dcim devices list params
  1504  func (o *DcimDevicesListParams) WithRolen(rolen *string) *DcimDevicesListParams {
  1505  	o.SetRolen(rolen)
  1506  	return o
  1507  }
  1508  
  1509  // SetRolen adds the roleN to the dcim devices list params
  1510  func (o *DcimDevicesListParams) SetRolen(rolen *string) {
  1511  	o.Rolen = rolen
  1512  }
  1513  
  1514  // WithRoleID adds the roleID to the dcim devices list params
  1515  func (o *DcimDevicesListParams) WithRoleID(roleID *string) *DcimDevicesListParams {
  1516  	o.SetRoleID(roleID)
  1517  	return o
  1518  }
  1519  
  1520  // SetRoleID adds the roleId to the dcim devices list params
  1521  func (o *DcimDevicesListParams) SetRoleID(roleID *string) {
  1522  	o.RoleID = roleID
  1523  }
  1524  
  1525  // WithRoleIDn adds the roleIDn to the dcim devices list params
  1526  func (o *DcimDevicesListParams) WithRoleIDn(roleIDn *string) *DcimDevicesListParams {
  1527  	o.SetRoleIDn(roleIDn)
  1528  	return o
  1529  }
  1530  
  1531  // SetRoleIDn adds the roleIdN to the dcim devices list params
  1532  func (o *DcimDevicesListParams) SetRoleIDn(roleIDn *string) {
  1533  	o.RoleIDn = roleIDn
  1534  }
  1535  
  1536  // WithSerial adds the serial to the dcim devices list params
  1537  func (o *DcimDevicesListParams) WithSerial(serial *string) *DcimDevicesListParams {
  1538  	o.SetSerial(serial)
  1539  	return o
  1540  }
  1541  
  1542  // SetSerial adds the serial to the dcim devices list params
  1543  func (o *DcimDevicesListParams) SetSerial(serial *string) {
  1544  	o.Serial = serial
  1545  }
  1546  
  1547  // WithSite adds the site to the dcim devices list params
  1548  func (o *DcimDevicesListParams) WithSite(site *string) *DcimDevicesListParams {
  1549  	o.SetSite(site)
  1550  	return o
  1551  }
  1552  
  1553  // SetSite adds the site to the dcim devices list params
  1554  func (o *DcimDevicesListParams) SetSite(site *string) {
  1555  	o.Site = site
  1556  }
  1557  
  1558  // WithSiten adds the siten to the dcim devices list params
  1559  func (o *DcimDevicesListParams) WithSiten(siten *string) *DcimDevicesListParams {
  1560  	o.SetSiten(siten)
  1561  	return o
  1562  }
  1563  
  1564  // SetSiten adds the siteN to the dcim devices list params
  1565  func (o *DcimDevicesListParams) SetSiten(siten *string) {
  1566  	o.Siten = siten
  1567  }
  1568  
  1569  // WithSiteGroup adds the siteGroup to the dcim devices list params
  1570  func (o *DcimDevicesListParams) WithSiteGroup(siteGroup *string) *DcimDevicesListParams {
  1571  	o.SetSiteGroup(siteGroup)
  1572  	return o
  1573  }
  1574  
  1575  // SetSiteGroup adds the siteGroup to the dcim devices list params
  1576  func (o *DcimDevicesListParams) SetSiteGroup(siteGroup *string) {
  1577  	o.SiteGroup = siteGroup
  1578  }
  1579  
  1580  // WithSiteGroupn adds the siteGroupn to the dcim devices list params
  1581  func (o *DcimDevicesListParams) WithSiteGroupn(siteGroupn *string) *DcimDevicesListParams {
  1582  	o.SetSiteGroupn(siteGroupn)
  1583  	return o
  1584  }
  1585  
  1586  // SetSiteGroupn adds the siteGroupN to the dcim devices list params
  1587  func (o *DcimDevicesListParams) SetSiteGroupn(siteGroupn *string) {
  1588  	o.SiteGroupn = siteGroupn
  1589  }
  1590  
  1591  // WithSiteGroupID adds the siteGroupID to the dcim devices list params
  1592  func (o *DcimDevicesListParams) WithSiteGroupID(siteGroupID *string) *DcimDevicesListParams {
  1593  	o.SetSiteGroupID(siteGroupID)
  1594  	return o
  1595  }
  1596  
  1597  // SetSiteGroupID adds the siteGroupId to the dcim devices list params
  1598  func (o *DcimDevicesListParams) SetSiteGroupID(siteGroupID *string) {
  1599  	o.SiteGroupID = siteGroupID
  1600  }
  1601  
  1602  // WithSiteGroupIDn adds the siteGroupIDn to the dcim devices list params
  1603  func (o *DcimDevicesListParams) WithSiteGroupIDn(siteGroupIDn *string) *DcimDevicesListParams {
  1604  	o.SetSiteGroupIDn(siteGroupIDn)
  1605  	return o
  1606  }
  1607  
  1608  // SetSiteGroupIDn adds the siteGroupIdN to the dcim devices list params
  1609  func (o *DcimDevicesListParams) SetSiteGroupIDn(siteGroupIDn *string) {
  1610  	o.SiteGroupIDn = siteGroupIDn
  1611  }
  1612  
  1613  // WithSiteID adds the siteID to the dcim devices list params
  1614  func (o *DcimDevicesListParams) WithSiteID(siteID *string) *DcimDevicesListParams {
  1615  	o.SetSiteID(siteID)
  1616  	return o
  1617  }
  1618  
  1619  // SetSiteID adds the siteId to the dcim devices list params
  1620  func (o *DcimDevicesListParams) SetSiteID(siteID *string) {
  1621  	o.SiteID = siteID
  1622  }
  1623  
  1624  // WithSiteIDn adds the siteIDn to the dcim devices list params
  1625  func (o *DcimDevicesListParams) WithSiteIDn(siteIDn *string) *DcimDevicesListParams {
  1626  	o.SetSiteIDn(siteIDn)
  1627  	return o
  1628  }
  1629  
  1630  // SetSiteIDn adds the siteIdN to the dcim devices list params
  1631  func (o *DcimDevicesListParams) SetSiteIDn(siteIDn *string) {
  1632  	o.SiteIDn = siteIDn
  1633  }
  1634  
  1635  // WithStatus adds the status to the dcim devices list params
  1636  func (o *DcimDevicesListParams) WithStatus(status *string) *DcimDevicesListParams {
  1637  	o.SetStatus(status)
  1638  	return o
  1639  }
  1640  
  1641  // SetStatus adds the status to the dcim devices list params
  1642  func (o *DcimDevicesListParams) SetStatus(status *string) {
  1643  	o.Status = status
  1644  }
  1645  
  1646  // WithStatusn adds the statusn to the dcim devices list params
  1647  func (o *DcimDevicesListParams) WithStatusn(statusn *string) *DcimDevicesListParams {
  1648  	o.SetStatusn(statusn)
  1649  	return o
  1650  }
  1651  
  1652  // SetStatusn adds the statusN to the dcim devices list params
  1653  func (o *DcimDevicesListParams) SetStatusn(statusn *string) {
  1654  	o.Statusn = statusn
  1655  }
  1656  
  1657  // WithTag adds the tag to the dcim devices list params
  1658  func (o *DcimDevicesListParams) WithTag(tag *string) *DcimDevicesListParams {
  1659  	o.SetTag(tag)
  1660  	return o
  1661  }
  1662  
  1663  // SetTag adds the tag to the dcim devices list params
  1664  func (o *DcimDevicesListParams) SetTag(tag *string) {
  1665  	o.Tag = tag
  1666  }
  1667  
  1668  // WithTagn adds the tagn to the dcim devices list params
  1669  func (o *DcimDevicesListParams) WithTagn(tagn *string) *DcimDevicesListParams {
  1670  	o.SetTagn(tagn)
  1671  	return o
  1672  }
  1673  
  1674  // SetTagn adds the tagN to the dcim devices list params
  1675  func (o *DcimDevicesListParams) SetTagn(tagn *string) {
  1676  	o.Tagn = tagn
  1677  }
  1678  
  1679  // WithTenant adds the tenant to the dcim devices list params
  1680  func (o *DcimDevicesListParams) WithTenant(tenant *string) *DcimDevicesListParams {
  1681  	o.SetTenant(tenant)
  1682  	return o
  1683  }
  1684  
  1685  // SetTenant adds the tenant to the dcim devices list params
  1686  func (o *DcimDevicesListParams) SetTenant(tenant *string) {
  1687  	o.Tenant = tenant
  1688  }
  1689  
  1690  // WithTenantn adds the tenantn to the dcim devices list params
  1691  func (o *DcimDevicesListParams) WithTenantn(tenantn *string) *DcimDevicesListParams {
  1692  	o.SetTenantn(tenantn)
  1693  	return o
  1694  }
  1695  
  1696  // SetTenantn adds the tenantN to the dcim devices list params
  1697  func (o *DcimDevicesListParams) SetTenantn(tenantn *string) {
  1698  	o.Tenantn = tenantn
  1699  }
  1700  
  1701  // WithTenantGroup adds the tenantGroup to the dcim devices list params
  1702  func (o *DcimDevicesListParams) WithTenantGroup(tenantGroup *string) *DcimDevicesListParams {
  1703  	o.SetTenantGroup(tenantGroup)
  1704  	return o
  1705  }
  1706  
  1707  // SetTenantGroup adds the tenantGroup to the dcim devices list params
  1708  func (o *DcimDevicesListParams) SetTenantGroup(tenantGroup *string) {
  1709  	o.TenantGroup = tenantGroup
  1710  }
  1711  
  1712  // WithTenantGroupn adds the tenantGroupn to the dcim devices list params
  1713  func (o *DcimDevicesListParams) WithTenantGroupn(tenantGroupn *string) *DcimDevicesListParams {
  1714  	o.SetTenantGroupn(tenantGroupn)
  1715  	return o
  1716  }
  1717  
  1718  // SetTenantGroupn adds the tenantGroupN to the dcim devices list params
  1719  func (o *DcimDevicesListParams) SetTenantGroupn(tenantGroupn *string) {
  1720  	o.TenantGroupn = tenantGroupn
  1721  }
  1722  
  1723  // WithTenantGroupID adds the tenantGroupID to the dcim devices list params
  1724  func (o *DcimDevicesListParams) WithTenantGroupID(tenantGroupID *string) *DcimDevicesListParams {
  1725  	o.SetTenantGroupID(tenantGroupID)
  1726  	return o
  1727  }
  1728  
  1729  // SetTenantGroupID adds the tenantGroupId to the dcim devices list params
  1730  func (o *DcimDevicesListParams) SetTenantGroupID(tenantGroupID *string) {
  1731  	o.TenantGroupID = tenantGroupID
  1732  }
  1733  
  1734  // WithTenantGroupIDn adds the tenantGroupIDn to the dcim devices list params
  1735  func (o *DcimDevicesListParams) WithTenantGroupIDn(tenantGroupIDn *string) *DcimDevicesListParams {
  1736  	o.SetTenantGroupIDn(tenantGroupIDn)
  1737  	return o
  1738  }
  1739  
  1740  // SetTenantGroupIDn adds the tenantGroupIdN to the dcim devices list params
  1741  func (o *DcimDevicesListParams) SetTenantGroupIDn(tenantGroupIDn *string) {
  1742  	o.TenantGroupIDn = tenantGroupIDn
  1743  }
  1744  
  1745  // WithTenantID adds the tenantID to the dcim devices list params
  1746  func (o *DcimDevicesListParams) WithTenantID(tenantID *string) *DcimDevicesListParams {
  1747  	o.SetTenantID(tenantID)
  1748  	return o
  1749  }
  1750  
  1751  // SetTenantID adds the tenantId to the dcim devices list params
  1752  func (o *DcimDevicesListParams) SetTenantID(tenantID *string) {
  1753  	o.TenantID = tenantID
  1754  }
  1755  
  1756  // WithTenantIDn adds the tenantIDn to the dcim devices list params
  1757  func (o *DcimDevicesListParams) WithTenantIDn(tenantIDn *string) *DcimDevicesListParams {
  1758  	o.SetTenantIDn(tenantIDn)
  1759  	return o
  1760  }
  1761  
  1762  // SetTenantIDn adds the tenantIdN to the dcim devices list params
  1763  func (o *DcimDevicesListParams) SetTenantIDn(tenantIDn *string) {
  1764  	o.TenantIDn = tenantIDn
  1765  }
  1766  
  1767  // WithVcPosition adds the vcPosition to the dcim devices list params
  1768  func (o *DcimDevicesListParams) WithVcPosition(vcPosition *string) *DcimDevicesListParams {
  1769  	o.SetVcPosition(vcPosition)
  1770  	return o
  1771  }
  1772  
  1773  // SetVcPosition adds the vcPosition to the dcim devices list params
  1774  func (o *DcimDevicesListParams) SetVcPosition(vcPosition *string) {
  1775  	o.VcPosition = vcPosition
  1776  }
  1777  
  1778  // WithVcPositionGt adds the vcPositionGt to the dcim devices list params
  1779  func (o *DcimDevicesListParams) WithVcPositionGt(vcPositionGt *string) *DcimDevicesListParams {
  1780  	o.SetVcPositionGt(vcPositionGt)
  1781  	return o
  1782  }
  1783  
  1784  // SetVcPositionGt adds the vcPositionGt to the dcim devices list params
  1785  func (o *DcimDevicesListParams) SetVcPositionGt(vcPositionGt *string) {
  1786  	o.VcPositionGt = vcPositionGt
  1787  }
  1788  
  1789  // WithVcPositionGte adds the vcPositionGte to the dcim devices list params
  1790  func (o *DcimDevicesListParams) WithVcPositionGte(vcPositionGte *string) *DcimDevicesListParams {
  1791  	o.SetVcPositionGte(vcPositionGte)
  1792  	return o
  1793  }
  1794  
  1795  // SetVcPositionGte adds the vcPositionGte to the dcim devices list params
  1796  func (o *DcimDevicesListParams) SetVcPositionGte(vcPositionGte *string) {
  1797  	o.VcPositionGte = vcPositionGte
  1798  }
  1799  
  1800  // WithVcPositionLt adds the vcPositionLt to the dcim devices list params
  1801  func (o *DcimDevicesListParams) WithVcPositionLt(vcPositionLt *string) *DcimDevicesListParams {
  1802  	o.SetVcPositionLt(vcPositionLt)
  1803  	return o
  1804  }
  1805  
  1806  // SetVcPositionLt adds the vcPositionLt to the dcim devices list params
  1807  func (o *DcimDevicesListParams) SetVcPositionLt(vcPositionLt *string) {
  1808  	o.VcPositionLt = vcPositionLt
  1809  }
  1810  
  1811  // WithVcPositionLte adds the vcPositionLte to the dcim devices list params
  1812  func (o *DcimDevicesListParams) WithVcPositionLte(vcPositionLte *string) *DcimDevicesListParams {
  1813  	o.SetVcPositionLte(vcPositionLte)
  1814  	return o
  1815  }
  1816  
  1817  // SetVcPositionLte adds the vcPositionLte to the dcim devices list params
  1818  func (o *DcimDevicesListParams) SetVcPositionLte(vcPositionLte *string) {
  1819  	o.VcPositionLte = vcPositionLte
  1820  }
  1821  
  1822  // WithVcPositionn adds the vcPositionn to the dcim devices list params
  1823  func (o *DcimDevicesListParams) WithVcPositionn(vcPositionn *string) *DcimDevicesListParams {
  1824  	o.SetVcPositionn(vcPositionn)
  1825  	return o
  1826  }
  1827  
  1828  // SetVcPositionn adds the vcPositionN to the dcim devices list params
  1829  func (o *DcimDevicesListParams) SetVcPositionn(vcPositionn *string) {
  1830  	o.VcPositionn = vcPositionn
  1831  }
  1832  
  1833  // WithVcPriority adds the vcPriority to the dcim devices list params
  1834  func (o *DcimDevicesListParams) WithVcPriority(vcPriority *string) *DcimDevicesListParams {
  1835  	o.SetVcPriority(vcPriority)
  1836  	return o
  1837  }
  1838  
  1839  // SetVcPriority adds the vcPriority to the dcim devices list params
  1840  func (o *DcimDevicesListParams) SetVcPriority(vcPriority *string) {
  1841  	o.VcPriority = vcPriority
  1842  }
  1843  
  1844  // WithVcPriorityGt adds the vcPriorityGt to the dcim devices list params
  1845  func (o *DcimDevicesListParams) WithVcPriorityGt(vcPriorityGt *string) *DcimDevicesListParams {
  1846  	o.SetVcPriorityGt(vcPriorityGt)
  1847  	return o
  1848  }
  1849  
  1850  // SetVcPriorityGt adds the vcPriorityGt to the dcim devices list params
  1851  func (o *DcimDevicesListParams) SetVcPriorityGt(vcPriorityGt *string) {
  1852  	o.VcPriorityGt = vcPriorityGt
  1853  }
  1854  
  1855  // WithVcPriorityGte adds the vcPriorityGte to the dcim devices list params
  1856  func (o *DcimDevicesListParams) WithVcPriorityGte(vcPriorityGte *string) *DcimDevicesListParams {
  1857  	o.SetVcPriorityGte(vcPriorityGte)
  1858  	return o
  1859  }
  1860  
  1861  // SetVcPriorityGte adds the vcPriorityGte to the dcim devices list params
  1862  func (o *DcimDevicesListParams) SetVcPriorityGte(vcPriorityGte *string) {
  1863  	o.VcPriorityGte = vcPriorityGte
  1864  }
  1865  
  1866  // WithVcPriorityLt adds the vcPriorityLt to the dcim devices list params
  1867  func (o *DcimDevicesListParams) WithVcPriorityLt(vcPriorityLt *string) *DcimDevicesListParams {
  1868  	o.SetVcPriorityLt(vcPriorityLt)
  1869  	return o
  1870  }
  1871  
  1872  // SetVcPriorityLt adds the vcPriorityLt to the dcim devices list params
  1873  func (o *DcimDevicesListParams) SetVcPriorityLt(vcPriorityLt *string) {
  1874  	o.VcPriorityLt = vcPriorityLt
  1875  }
  1876  
  1877  // WithVcPriorityLte adds the vcPriorityLte to the dcim devices list params
  1878  func (o *DcimDevicesListParams) WithVcPriorityLte(vcPriorityLte *string) *DcimDevicesListParams {
  1879  	o.SetVcPriorityLte(vcPriorityLte)
  1880  	return o
  1881  }
  1882  
  1883  // SetVcPriorityLte adds the vcPriorityLte to the dcim devices list params
  1884  func (o *DcimDevicesListParams) SetVcPriorityLte(vcPriorityLte *string) {
  1885  	o.VcPriorityLte = vcPriorityLte
  1886  }
  1887  
  1888  // WithVcPriorityn adds the vcPriorityn to the dcim devices list params
  1889  func (o *DcimDevicesListParams) WithVcPriorityn(vcPriorityn *string) *DcimDevicesListParams {
  1890  	o.SetVcPriorityn(vcPriorityn)
  1891  	return o
  1892  }
  1893  
  1894  // SetVcPriorityn adds the vcPriorityN to the dcim devices list params
  1895  func (o *DcimDevicesListParams) SetVcPriorityn(vcPriorityn *string) {
  1896  	o.VcPriorityn = vcPriorityn
  1897  }
  1898  
  1899  // WithVirtualChassisID adds the virtualChassisID to the dcim devices list params
  1900  func (o *DcimDevicesListParams) WithVirtualChassisID(virtualChassisID *string) *DcimDevicesListParams {
  1901  	o.SetVirtualChassisID(virtualChassisID)
  1902  	return o
  1903  }
  1904  
  1905  // SetVirtualChassisID adds the virtualChassisId to the dcim devices list params
  1906  func (o *DcimDevicesListParams) SetVirtualChassisID(virtualChassisID *string) {
  1907  	o.VirtualChassisID = virtualChassisID
  1908  }
  1909  
  1910  // WithVirtualChassisIDn adds the virtualChassisIDn to the dcim devices list params
  1911  func (o *DcimDevicesListParams) WithVirtualChassisIDn(virtualChassisIDn *string) *DcimDevicesListParams {
  1912  	o.SetVirtualChassisIDn(virtualChassisIDn)
  1913  	return o
  1914  }
  1915  
  1916  // SetVirtualChassisIDn adds the virtualChassisIdN to the dcim devices list params
  1917  func (o *DcimDevicesListParams) SetVirtualChassisIDn(virtualChassisIDn *string) {
  1918  	o.VirtualChassisIDn = virtualChassisIDn
  1919  }
  1920  
  1921  // WithVirtualChassisMember adds the virtualChassisMember to the dcim devices list params
  1922  func (o *DcimDevicesListParams) WithVirtualChassisMember(virtualChassisMember *string) *DcimDevicesListParams {
  1923  	o.SetVirtualChassisMember(virtualChassisMember)
  1924  	return o
  1925  }
  1926  
  1927  // SetVirtualChassisMember adds the virtualChassisMember to the dcim devices list params
  1928  func (o *DcimDevicesListParams) SetVirtualChassisMember(virtualChassisMember *string) {
  1929  	o.VirtualChassisMember = virtualChassisMember
  1930  }
  1931  
  1932  // WriteToRequest writes these params to a swagger request
  1933  func (o *DcimDevicesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
  1934  
  1935  	if err := r.SetTimeout(o.timeout); err != nil {
  1936  		return err
  1937  	}
  1938  	var res []error
  1939  
  1940  	if o.AssetTag != nil {
  1941  
  1942  		// query param asset_tag
  1943  		var qrAssetTag string
  1944  
  1945  		if o.AssetTag != nil {
  1946  			qrAssetTag = *o.AssetTag
  1947  		}
  1948  		qAssetTag := qrAssetTag
  1949  		if qAssetTag != "" {
  1950  
  1951  			if err := r.SetQueryParam("asset_tag", qAssetTag); err != nil {
  1952  				return err
  1953  			}
  1954  		}
  1955  	}
  1956  
  1957  	if o.AssetTagEmpty != nil {
  1958  
  1959  		// query param asset_tag__empty
  1960  		var qrAssetTagEmpty string
  1961  
  1962  		if o.AssetTagEmpty != nil {
  1963  			qrAssetTagEmpty = *o.AssetTagEmpty
  1964  		}
  1965  		qAssetTagEmpty := qrAssetTagEmpty
  1966  		if qAssetTagEmpty != "" {
  1967  
  1968  			if err := r.SetQueryParam("asset_tag__empty", qAssetTagEmpty); err != nil {
  1969  				return err
  1970  			}
  1971  		}
  1972  	}
  1973  
  1974  	if o.AssetTagIc != nil {
  1975  
  1976  		// query param asset_tag__ic
  1977  		var qrAssetTagIc string
  1978  
  1979  		if o.AssetTagIc != nil {
  1980  			qrAssetTagIc = *o.AssetTagIc
  1981  		}
  1982  		qAssetTagIc := qrAssetTagIc
  1983  		if qAssetTagIc != "" {
  1984  
  1985  			if err := r.SetQueryParam("asset_tag__ic", qAssetTagIc); err != nil {
  1986  				return err
  1987  			}
  1988  		}
  1989  	}
  1990  
  1991  	if o.AssetTagIe != nil {
  1992  
  1993  		// query param asset_tag__ie
  1994  		var qrAssetTagIe string
  1995  
  1996  		if o.AssetTagIe != nil {
  1997  			qrAssetTagIe = *o.AssetTagIe
  1998  		}
  1999  		qAssetTagIe := qrAssetTagIe
  2000  		if qAssetTagIe != "" {
  2001  
  2002  			if err := r.SetQueryParam("asset_tag__ie", qAssetTagIe); err != nil {
  2003  				return err
  2004  			}
  2005  		}
  2006  	}
  2007  
  2008  	if o.AssetTagIew != nil {
  2009  
  2010  		// query param asset_tag__iew
  2011  		var qrAssetTagIew string
  2012  
  2013  		if o.AssetTagIew != nil {
  2014  			qrAssetTagIew = *o.AssetTagIew
  2015  		}
  2016  		qAssetTagIew := qrAssetTagIew
  2017  		if qAssetTagIew != "" {
  2018  
  2019  			if err := r.SetQueryParam("asset_tag__iew", qAssetTagIew); err != nil {
  2020  				return err
  2021  			}
  2022  		}
  2023  	}
  2024  
  2025  	if o.AssetTagIsw != nil {
  2026  
  2027  		// query param asset_tag__isw
  2028  		var qrAssetTagIsw string
  2029  
  2030  		if o.AssetTagIsw != nil {
  2031  			qrAssetTagIsw = *o.AssetTagIsw
  2032  		}
  2033  		qAssetTagIsw := qrAssetTagIsw
  2034  		if qAssetTagIsw != "" {
  2035  
  2036  			if err := r.SetQueryParam("asset_tag__isw", qAssetTagIsw); err != nil {
  2037  				return err
  2038  			}
  2039  		}
  2040  	}
  2041  
  2042  	if o.AssetTagn != nil {
  2043  
  2044  		// query param asset_tag__n
  2045  		var qrAssetTagn string
  2046  
  2047  		if o.AssetTagn != nil {
  2048  			qrAssetTagn = *o.AssetTagn
  2049  		}
  2050  		qAssetTagn := qrAssetTagn
  2051  		if qAssetTagn != "" {
  2052  
  2053  			if err := r.SetQueryParam("asset_tag__n", qAssetTagn); err != nil {
  2054  				return err
  2055  			}
  2056  		}
  2057  	}
  2058  
  2059  	if o.AssetTagNic != nil {
  2060  
  2061  		// query param asset_tag__nic
  2062  		var qrAssetTagNic string
  2063  
  2064  		if o.AssetTagNic != nil {
  2065  			qrAssetTagNic = *o.AssetTagNic
  2066  		}
  2067  		qAssetTagNic := qrAssetTagNic
  2068  		if qAssetTagNic != "" {
  2069  
  2070  			if err := r.SetQueryParam("asset_tag__nic", qAssetTagNic); err != nil {
  2071  				return err
  2072  			}
  2073  		}
  2074  	}
  2075  
  2076  	if o.AssetTagNie != nil {
  2077  
  2078  		// query param asset_tag__nie
  2079  		var qrAssetTagNie string
  2080  
  2081  		if o.AssetTagNie != nil {
  2082  			qrAssetTagNie = *o.AssetTagNie
  2083  		}
  2084  		qAssetTagNie := qrAssetTagNie
  2085  		if qAssetTagNie != "" {
  2086  
  2087  			if err := r.SetQueryParam("asset_tag__nie", qAssetTagNie); err != nil {
  2088  				return err
  2089  			}
  2090  		}
  2091  	}
  2092  
  2093  	if o.AssetTagNiew != nil {
  2094  
  2095  		// query param asset_tag__niew
  2096  		var qrAssetTagNiew string
  2097  
  2098  		if o.AssetTagNiew != nil {
  2099  			qrAssetTagNiew = *o.AssetTagNiew
  2100  		}
  2101  		qAssetTagNiew := qrAssetTagNiew
  2102  		if qAssetTagNiew != "" {
  2103  
  2104  			if err := r.SetQueryParam("asset_tag__niew", qAssetTagNiew); err != nil {
  2105  				return err
  2106  			}
  2107  		}
  2108  	}
  2109  
  2110  	if o.AssetTagNisw != nil {
  2111  
  2112  		// query param asset_tag__nisw
  2113  		var qrAssetTagNisw string
  2114  
  2115  		if o.AssetTagNisw != nil {
  2116  			qrAssetTagNisw = *o.AssetTagNisw
  2117  		}
  2118  		qAssetTagNisw := qrAssetTagNisw
  2119  		if qAssetTagNisw != "" {
  2120  
  2121  			if err := r.SetQueryParam("asset_tag__nisw", qAssetTagNisw); err != nil {
  2122  				return err
  2123  			}
  2124  		}
  2125  	}
  2126  
  2127  	if o.ClusterID != nil {
  2128  
  2129  		// query param cluster_id
  2130  		var qrClusterID string
  2131  
  2132  		if o.ClusterID != nil {
  2133  			qrClusterID = *o.ClusterID
  2134  		}
  2135  		qClusterID := qrClusterID
  2136  		if qClusterID != "" {
  2137  
  2138  			if err := r.SetQueryParam("cluster_id", qClusterID); err != nil {
  2139  				return err
  2140  			}
  2141  		}
  2142  	}
  2143  
  2144  	if o.ClusterIDn != nil {
  2145  
  2146  		// query param cluster_id__n
  2147  		var qrClusterIDn string
  2148  
  2149  		if o.ClusterIDn != nil {
  2150  			qrClusterIDn = *o.ClusterIDn
  2151  		}
  2152  		qClusterIDn := qrClusterIDn
  2153  		if qClusterIDn != "" {
  2154  
  2155  			if err := r.SetQueryParam("cluster_id__n", qClusterIDn); err != nil {
  2156  				return err
  2157  			}
  2158  		}
  2159  	}
  2160  
  2161  	if o.ConsolePorts != nil {
  2162  
  2163  		// query param console_ports
  2164  		var qrConsolePorts string
  2165  
  2166  		if o.ConsolePorts != nil {
  2167  			qrConsolePorts = *o.ConsolePorts
  2168  		}
  2169  		qConsolePorts := qrConsolePorts
  2170  		if qConsolePorts != "" {
  2171  
  2172  			if err := r.SetQueryParam("console_ports", qConsolePorts); err != nil {
  2173  				return err
  2174  			}
  2175  		}
  2176  	}
  2177  
  2178  	if o.ConsoleServerPorts != nil {
  2179  
  2180  		// query param console_server_ports
  2181  		var qrConsoleServerPorts string
  2182  
  2183  		if o.ConsoleServerPorts != nil {
  2184  			qrConsoleServerPorts = *o.ConsoleServerPorts
  2185  		}
  2186  		qConsoleServerPorts := qrConsoleServerPorts
  2187  		if qConsoleServerPorts != "" {
  2188  
  2189  			if err := r.SetQueryParam("console_server_ports", qConsoleServerPorts); err != nil {
  2190  				return err
  2191  			}
  2192  		}
  2193  	}
  2194  
  2195  	if o.Created != nil {
  2196  
  2197  		// query param created
  2198  		var qrCreated string
  2199  
  2200  		if o.Created != nil {
  2201  			qrCreated = *o.Created
  2202  		}
  2203  		qCreated := qrCreated
  2204  		if qCreated != "" {
  2205  
  2206  			if err := r.SetQueryParam("created", qCreated); err != nil {
  2207  				return err
  2208  			}
  2209  		}
  2210  	}
  2211  
  2212  	if o.CreatedGte != nil {
  2213  
  2214  		// query param created__gte
  2215  		var qrCreatedGte string
  2216  
  2217  		if o.CreatedGte != nil {
  2218  			qrCreatedGte = *o.CreatedGte
  2219  		}
  2220  		qCreatedGte := qrCreatedGte
  2221  		if qCreatedGte != "" {
  2222  
  2223  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  2224  				return err
  2225  			}
  2226  		}
  2227  	}
  2228  
  2229  	if o.CreatedLte != nil {
  2230  
  2231  		// query param created__lte
  2232  		var qrCreatedLte string
  2233  
  2234  		if o.CreatedLte != nil {
  2235  			qrCreatedLte = *o.CreatedLte
  2236  		}
  2237  		qCreatedLte := qrCreatedLte
  2238  		if qCreatedLte != "" {
  2239  
  2240  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  2241  				return err
  2242  			}
  2243  		}
  2244  	}
  2245  
  2246  	if o.DeviceBays != nil {
  2247  
  2248  		// query param device_bays
  2249  		var qrDeviceBays string
  2250  
  2251  		if o.DeviceBays != nil {
  2252  			qrDeviceBays = *o.DeviceBays
  2253  		}
  2254  		qDeviceBays := qrDeviceBays
  2255  		if qDeviceBays != "" {
  2256  
  2257  			if err := r.SetQueryParam("device_bays", qDeviceBays); err != nil {
  2258  				return err
  2259  			}
  2260  		}
  2261  	}
  2262  
  2263  	if o.DeviceTypeID != nil {
  2264  
  2265  		// query param device_type_id
  2266  		var qrDeviceTypeID string
  2267  
  2268  		if o.DeviceTypeID != nil {
  2269  			qrDeviceTypeID = *o.DeviceTypeID
  2270  		}
  2271  		qDeviceTypeID := qrDeviceTypeID
  2272  		if qDeviceTypeID != "" {
  2273  
  2274  			if err := r.SetQueryParam("device_type_id", qDeviceTypeID); err != nil {
  2275  				return err
  2276  			}
  2277  		}
  2278  	}
  2279  
  2280  	if o.DeviceTypeIDn != nil {
  2281  
  2282  		// query param device_type_id__n
  2283  		var qrDeviceTypeIDn string
  2284  
  2285  		if o.DeviceTypeIDn != nil {
  2286  			qrDeviceTypeIDn = *o.DeviceTypeIDn
  2287  		}
  2288  		qDeviceTypeIDn := qrDeviceTypeIDn
  2289  		if qDeviceTypeIDn != "" {
  2290  
  2291  			if err := r.SetQueryParam("device_type_id__n", qDeviceTypeIDn); err != nil {
  2292  				return err
  2293  			}
  2294  		}
  2295  	}
  2296  
  2297  	if o.Exclude != nil {
  2298  
  2299  		// query param exclude
  2300  		var qrExclude string
  2301  
  2302  		if o.Exclude != nil {
  2303  			qrExclude = *o.Exclude
  2304  		}
  2305  		qExclude := qrExclude
  2306  		if qExclude != "" {
  2307  
  2308  			if err := r.SetQueryParam("exclude", qExclude); err != nil {
  2309  				return err
  2310  			}
  2311  		}
  2312  	}
  2313  
  2314  	if o.Face != nil {
  2315  
  2316  		// query param face
  2317  		var qrFace string
  2318  
  2319  		if o.Face != nil {
  2320  			qrFace = *o.Face
  2321  		}
  2322  		qFace := qrFace
  2323  		if qFace != "" {
  2324  
  2325  			if err := r.SetQueryParam("face", qFace); err != nil {
  2326  				return err
  2327  			}
  2328  		}
  2329  	}
  2330  
  2331  	if o.Facen != nil {
  2332  
  2333  		// query param face__n
  2334  		var qrFacen string
  2335  
  2336  		if o.Facen != nil {
  2337  			qrFacen = *o.Facen
  2338  		}
  2339  		qFacen := qrFacen
  2340  		if qFacen != "" {
  2341  
  2342  			if err := r.SetQueryParam("face__n", qFacen); err != nil {
  2343  				return err
  2344  			}
  2345  		}
  2346  	}
  2347  
  2348  	if o.HasPrimaryIP != nil {
  2349  
  2350  		// query param has_primary_ip
  2351  		var qrHasPrimaryIP string
  2352  
  2353  		if o.HasPrimaryIP != nil {
  2354  			qrHasPrimaryIP = *o.HasPrimaryIP
  2355  		}
  2356  		qHasPrimaryIP := qrHasPrimaryIP
  2357  		if qHasPrimaryIP != "" {
  2358  
  2359  			if err := r.SetQueryParam("has_primary_ip", qHasPrimaryIP); err != nil {
  2360  				return err
  2361  			}
  2362  		}
  2363  	}
  2364  
  2365  	if o.ID != nil {
  2366  
  2367  		// query param id
  2368  		var qrID string
  2369  
  2370  		if o.ID != nil {
  2371  			qrID = *o.ID
  2372  		}
  2373  		qID := qrID
  2374  		if qID != "" {
  2375  
  2376  			if err := r.SetQueryParam("id", qID); err != nil {
  2377  				return err
  2378  			}
  2379  		}
  2380  	}
  2381  
  2382  	if o.IDGt != nil {
  2383  
  2384  		// query param id__gt
  2385  		var qrIDGt string
  2386  
  2387  		if o.IDGt != nil {
  2388  			qrIDGt = *o.IDGt
  2389  		}
  2390  		qIDGt := qrIDGt
  2391  		if qIDGt != "" {
  2392  
  2393  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  2394  				return err
  2395  			}
  2396  		}
  2397  	}
  2398  
  2399  	if o.IDGte != nil {
  2400  
  2401  		// query param id__gte
  2402  		var qrIDGte string
  2403  
  2404  		if o.IDGte != nil {
  2405  			qrIDGte = *o.IDGte
  2406  		}
  2407  		qIDGte := qrIDGte
  2408  		if qIDGte != "" {
  2409  
  2410  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  2411  				return err
  2412  			}
  2413  		}
  2414  	}
  2415  
  2416  	if o.IDLt != nil {
  2417  
  2418  		// query param id__lt
  2419  		var qrIDLt string
  2420  
  2421  		if o.IDLt != nil {
  2422  			qrIDLt = *o.IDLt
  2423  		}
  2424  		qIDLt := qrIDLt
  2425  		if qIDLt != "" {
  2426  
  2427  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  2428  				return err
  2429  			}
  2430  		}
  2431  	}
  2432  
  2433  	if o.IDLte != nil {
  2434  
  2435  		// query param id__lte
  2436  		var qrIDLte string
  2437  
  2438  		if o.IDLte != nil {
  2439  			qrIDLte = *o.IDLte
  2440  		}
  2441  		qIDLte := qrIDLte
  2442  		if qIDLte != "" {
  2443  
  2444  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  2445  				return err
  2446  			}
  2447  		}
  2448  	}
  2449  
  2450  	if o.IDn != nil {
  2451  
  2452  		// query param id__n
  2453  		var qrIDn string
  2454  
  2455  		if o.IDn != nil {
  2456  			qrIDn = *o.IDn
  2457  		}
  2458  		qIDn := qrIDn
  2459  		if qIDn != "" {
  2460  
  2461  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  2462  				return err
  2463  			}
  2464  		}
  2465  	}
  2466  
  2467  	if o.Interfaces != nil {
  2468  
  2469  		// query param interfaces
  2470  		var qrInterfaces string
  2471  
  2472  		if o.Interfaces != nil {
  2473  			qrInterfaces = *o.Interfaces
  2474  		}
  2475  		qInterfaces := qrInterfaces
  2476  		if qInterfaces != "" {
  2477  
  2478  			if err := r.SetQueryParam("interfaces", qInterfaces); err != nil {
  2479  				return err
  2480  			}
  2481  		}
  2482  	}
  2483  
  2484  	if o.IsFullDepth != nil {
  2485  
  2486  		// query param is_full_depth
  2487  		var qrIsFullDepth string
  2488  
  2489  		if o.IsFullDepth != nil {
  2490  			qrIsFullDepth = *o.IsFullDepth
  2491  		}
  2492  		qIsFullDepth := qrIsFullDepth
  2493  		if qIsFullDepth != "" {
  2494  
  2495  			if err := r.SetQueryParam("is_full_depth", qIsFullDepth); err != nil {
  2496  				return err
  2497  			}
  2498  		}
  2499  	}
  2500  
  2501  	if o.LastUpdated != nil {
  2502  
  2503  		// query param last_updated
  2504  		var qrLastUpdated string
  2505  
  2506  		if o.LastUpdated != nil {
  2507  			qrLastUpdated = *o.LastUpdated
  2508  		}
  2509  		qLastUpdated := qrLastUpdated
  2510  		if qLastUpdated != "" {
  2511  
  2512  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  2513  				return err
  2514  			}
  2515  		}
  2516  	}
  2517  
  2518  	if o.LastUpdatedGte != nil {
  2519  
  2520  		// query param last_updated__gte
  2521  		var qrLastUpdatedGte string
  2522  
  2523  		if o.LastUpdatedGte != nil {
  2524  			qrLastUpdatedGte = *o.LastUpdatedGte
  2525  		}
  2526  		qLastUpdatedGte := qrLastUpdatedGte
  2527  		if qLastUpdatedGte != "" {
  2528  
  2529  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  2530  				return err
  2531  			}
  2532  		}
  2533  	}
  2534  
  2535  	if o.LastUpdatedLte != nil {
  2536  
  2537  		// query param last_updated__lte
  2538  		var qrLastUpdatedLte string
  2539  
  2540  		if o.LastUpdatedLte != nil {
  2541  			qrLastUpdatedLte = *o.LastUpdatedLte
  2542  		}
  2543  		qLastUpdatedLte := qrLastUpdatedLte
  2544  		if qLastUpdatedLte != "" {
  2545  
  2546  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  2547  				return err
  2548  			}
  2549  		}
  2550  	}
  2551  
  2552  	if o.Limit != nil {
  2553  
  2554  		// query param limit
  2555  		var qrLimit int64
  2556  
  2557  		if o.Limit != nil {
  2558  			qrLimit = *o.Limit
  2559  		}
  2560  		qLimit := swag.FormatInt64(qrLimit)
  2561  		if qLimit != "" {
  2562  
  2563  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  2564  				return err
  2565  			}
  2566  		}
  2567  	}
  2568  
  2569  	if o.LocalContextData != nil {
  2570  
  2571  		// query param local_context_data
  2572  		var qrLocalContextData string
  2573  
  2574  		if o.LocalContextData != nil {
  2575  			qrLocalContextData = *o.LocalContextData
  2576  		}
  2577  		qLocalContextData := qrLocalContextData
  2578  		if qLocalContextData != "" {
  2579  
  2580  			if err := r.SetQueryParam("local_context_data", qLocalContextData); err != nil {
  2581  				return err
  2582  			}
  2583  		}
  2584  	}
  2585  
  2586  	if o.LocationID != nil {
  2587  
  2588  		// query param location_id
  2589  		var qrLocationID string
  2590  
  2591  		if o.LocationID != nil {
  2592  			qrLocationID = *o.LocationID
  2593  		}
  2594  		qLocationID := qrLocationID
  2595  		if qLocationID != "" {
  2596  
  2597  			if err := r.SetQueryParam("location_id", qLocationID); err != nil {
  2598  				return err
  2599  			}
  2600  		}
  2601  	}
  2602  
  2603  	if o.LocationIDn != nil {
  2604  
  2605  		// query param location_id__n
  2606  		var qrLocationIDn string
  2607  
  2608  		if o.LocationIDn != nil {
  2609  			qrLocationIDn = *o.LocationIDn
  2610  		}
  2611  		qLocationIDn := qrLocationIDn
  2612  		if qLocationIDn != "" {
  2613  
  2614  			if err := r.SetQueryParam("location_id__n", qLocationIDn); err != nil {
  2615  				return err
  2616  			}
  2617  		}
  2618  	}
  2619  
  2620  	if o.MacAddress != nil {
  2621  
  2622  		// query param mac_address
  2623  		var qrMacAddress string
  2624  
  2625  		if o.MacAddress != nil {
  2626  			qrMacAddress = *o.MacAddress
  2627  		}
  2628  		qMacAddress := qrMacAddress
  2629  		if qMacAddress != "" {
  2630  
  2631  			if err := r.SetQueryParam("mac_address", qMacAddress); err != nil {
  2632  				return err
  2633  			}
  2634  		}
  2635  	}
  2636  
  2637  	if o.MacAddressIc != nil {
  2638  
  2639  		// query param mac_address__ic
  2640  		var qrMacAddressIc string
  2641  
  2642  		if o.MacAddressIc != nil {
  2643  			qrMacAddressIc = *o.MacAddressIc
  2644  		}
  2645  		qMacAddressIc := qrMacAddressIc
  2646  		if qMacAddressIc != "" {
  2647  
  2648  			if err := r.SetQueryParam("mac_address__ic", qMacAddressIc); err != nil {
  2649  				return err
  2650  			}
  2651  		}
  2652  	}
  2653  
  2654  	if o.MacAddressIe != nil {
  2655  
  2656  		// query param mac_address__ie
  2657  		var qrMacAddressIe string
  2658  
  2659  		if o.MacAddressIe != nil {
  2660  			qrMacAddressIe = *o.MacAddressIe
  2661  		}
  2662  		qMacAddressIe := qrMacAddressIe
  2663  		if qMacAddressIe != "" {
  2664  
  2665  			if err := r.SetQueryParam("mac_address__ie", qMacAddressIe); err != nil {
  2666  				return err
  2667  			}
  2668  		}
  2669  	}
  2670  
  2671  	if o.MacAddressIew != nil {
  2672  
  2673  		// query param mac_address__iew
  2674  		var qrMacAddressIew string
  2675  
  2676  		if o.MacAddressIew != nil {
  2677  			qrMacAddressIew = *o.MacAddressIew
  2678  		}
  2679  		qMacAddressIew := qrMacAddressIew
  2680  		if qMacAddressIew != "" {
  2681  
  2682  			if err := r.SetQueryParam("mac_address__iew", qMacAddressIew); err != nil {
  2683  				return err
  2684  			}
  2685  		}
  2686  	}
  2687  
  2688  	if o.MacAddressIsw != nil {
  2689  
  2690  		// query param mac_address__isw
  2691  		var qrMacAddressIsw string
  2692  
  2693  		if o.MacAddressIsw != nil {
  2694  			qrMacAddressIsw = *o.MacAddressIsw
  2695  		}
  2696  		qMacAddressIsw := qrMacAddressIsw
  2697  		if qMacAddressIsw != "" {
  2698  
  2699  			if err := r.SetQueryParam("mac_address__isw", qMacAddressIsw); err != nil {
  2700  				return err
  2701  			}
  2702  		}
  2703  	}
  2704  
  2705  	if o.MacAddressn != nil {
  2706  
  2707  		// query param mac_address__n
  2708  		var qrMacAddressn string
  2709  
  2710  		if o.MacAddressn != nil {
  2711  			qrMacAddressn = *o.MacAddressn
  2712  		}
  2713  		qMacAddressn := qrMacAddressn
  2714  		if qMacAddressn != "" {
  2715  
  2716  			if err := r.SetQueryParam("mac_address__n", qMacAddressn); err != nil {
  2717  				return err
  2718  			}
  2719  		}
  2720  	}
  2721  
  2722  	if o.MacAddressNic != nil {
  2723  
  2724  		// query param mac_address__nic
  2725  		var qrMacAddressNic string
  2726  
  2727  		if o.MacAddressNic != nil {
  2728  			qrMacAddressNic = *o.MacAddressNic
  2729  		}
  2730  		qMacAddressNic := qrMacAddressNic
  2731  		if qMacAddressNic != "" {
  2732  
  2733  			if err := r.SetQueryParam("mac_address__nic", qMacAddressNic); err != nil {
  2734  				return err
  2735  			}
  2736  		}
  2737  	}
  2738  
  2739  	if o.MacAddressNie != nil {
  2740  
  2741  		// query param mac_address__nie
  2742  		var qrMacAddressNie string
  2743  
  2744  		if o.MacAddressNie != nil {
  2745  			qrMacAddressNie = *o.MacAddressNie
  2746  		}
  2747  		qMacAddressNie := qrMacAddressNie
  2748  		if qMacAddressNie != "" {
  2749  
  2750  			if err := r.SetQueryParam("mac_address__nie", qMacAddressNie); err != nil {
  2751  				return err
  2752  			}
  2753  		}
  2754  	}
  2755  
  2756  	if o.MacAddressNiew != nil {
  2757  
  2758  		// query param mac_address__niew
  2759  		var qrMacAddressNiew string
  2760  
  2761  		if o.MacAddressNiew != nil {
  2762  			qrMacAddressNiew = *o.MacAddressNiew
  2763  		}
  2764  		qMacAddressNiew := qrMacAddressNiew
  2765  		if qMacAddressNiew != "" {
  2766  
  2767  			if err := r.SetQueryParam("mac_address__niew", qMacAddressNiew); err != nil {
  2768  				return err
  2769  			}
  2770  		}
  2771  	}
  2772  
  2773  	if o.MacAddressNisw != nil {
  2774  
  2775  		// query param mac_address__nisw
  2776  		var qrMacAddressNisw string
  2777  
  2778  		if o.MacAddressNisw != nil {
  2779  			qrMacAddressNisw = *o.MacAddressNisw
  2780  		}
  2781  		qMacAddressNisw := qrMacAddressNisw
  2782  		if qMacAddressNisw != "" {
  2783  
  2784  			if err := r.SetQueryParam("mac_address__nisw", qMacAddressNisw); err != nil {
  2785  				return err
  2786  			}
  2787  		}
  2788  	}
  2789  
  2790  	if o.Manufacturer != nil {
  2791  
  2792  		// query param manufacturer
  2793  		var qrManufacturer string
  2794  
  2795  		if o.Manufacturer != nil {
  2796  			qrManufacturer = *o.Manufacturer
  2797  		}
  2798  		qManufacturer := qrManufacturer
  2799  		if qManufacturer != "" {
  2800  
  2801  			if err := r.SetQueryParam("manufacturer", qManufacturer); err != nil {
  2802  				return err
  2803  			}
  2804  		}
  2805  	}
  2806  
  2807  	if o.Manufacturern != nil {
  2808  
  2809  		// query param manufacturer__n
  2810  		var qrManufacturern string
  2811  
  2812  		if o.Manufacturern != nil {
  2813  			qrManufacturern = *o.Manufacturern
  2814  		}
  2815  		qManufacturern := qrManufacturern
  2816  		if qManufacturern != "" {
  2817  
  2818  			if err := r.SetQueryParam("manufacturer__n", qManufacturern); err != nil {
  2819  				return err
  2820  			}
  2821  		}
  2822  	}
  2823  
  2824  	if o.ManufacturerID != nil {
  2825  
  2826  		// query param manufacturer_id
  2827  		var qrManufacturerID string
  2828  
  2829  		if o.ManufacturerID != nil {
  2830  			qrManufacturerID = *o.ManufacturerID
  2831  		}
  2832  		qManufacturerID := qrManufacturerID
  2833  		if qManufacturerID != "" {
  2834  
  2835  			if err := r.SetQueryParam("manufacturer_id", qManufacturerID); err != nil {
  2836  				return err
  2837  			}
  2838  		}
  2839  	}
  2840  
  2841  	if o.ManufacturerIDn != nil {
  2842  
  2843  		// query param manufacturer_id__n
  2844  		var qrManufacturerIDn string
  2845  
  2846  		if o.ManufacturerIDn != nil {
  2847  			qrManufacturerIDn = *o.ManufacturerIDn
  2848  		}
  2849  		qManufacturerIDn := qrManufacturerIDn
  2850  		if qManufacturerIDn != "" {
  2851  
  2852  			if err := r.SetQueryParam("manufacturer_id__n", qManufacturerIDn); err != nil {
  2853  				return err
  2854  			}
  2855  		}
  2856  	}
  2857  
  2858  	if o.Model != nil {
  2859  
  2860  		// query param model
  2861  		var qrModel string
  2862  
  2863  		if o.Model != nil {
  2864  			qrModel = *o.Model
  2865  		}
  2866  		qModel := qrModel
  2867  		if qModel != "" {
  2868  
  2869  			if err := r.SetQueryParam("model", qModel); err != nil {
  2870  				return err
  2871  			}
  2872  		}
  2873  	}
  2874  
  2875  	if o.Modeln != nil {
  2876  
  2877  		// query param model__n
  2878  		var qrModeln string
  2879  
  2880  		if o.Modeln != nil {
  2881  			qrModeln = *o.Modeln
  2882  		}
  2883  		qModeln := qrModeln
  2884  		if qModeln != "" {
  2885  
  2886  			if err := r.SetQueryParam("model__n", qModeln); err != nil {
  2887  				return err
  2888  			}
  2889  		}
  2890  	}
  2891  
  2892  	if o.Name != nil {
  2893  
  2894  		// query param name
  2895  		var qrName string
  2896  
  2897  		if o.Name != nil {
  2898  			qrName = *o.Name
  2899  		}
  2900  		qName := qrName
  2901  		if qName != "" {
  2902  
  2903  			if err := r.SetQueryParam("name", qName); err != nil {
  2904  				return err
  2905  			}
  2906  		}
  2907  	}
  2908  
  2909  	if o.NameEmpty != nil {
  2910  
  2911  		// query param name__empty
  2912  		var qrNameEmpty string
  2913  
  2914  		if o.NameEmpty != nil {
  2915  			qrNameEmpty = *o.NameEmpty
  2916  		}
  2917  		qNameEmpty := qrNameEmpty
  2918  		if qNameEmpty != "" {
  2919  
  2920  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  2921  				return err
  2922  			}
  2923  		}
  2924  	}
  2925  
  2926  	if o.NameIc != nil {
  2927  
  2928  		// query param name__ic
  2929  		var qrNameIc string
  2930  
  2931  		if o.NameIc != nil {
  2932  			qrNameIc = *o.NameIc
  2933  		}
  2934  		qNameIc := qrNameIc
  2935  		if qNameIc != "" {
  2936  
  2937  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  2938  				return err
  2939  			}
  2940  		}
  2941  	}
  2942  
  2943  	if o.NameIe != nil {
  2944  
  2945  		// query param name__ie
  2946  		var qrNameIe string
  2947  
  2948  		if o.NameIe != nil {
  2949  			qrNameIe = *o.NameIe
  2950  		}
  2951  		qNameIe := qrNameIe
  2952  		if qNameIe != "" {
  2953  
  2954  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  2955  				return err
  2956  			}
  2957  		}
  2958  	}
  2959  
  2960  	if o.NameIew != nil {
  2961  
  2962  		// query param name__iew
  2963  		var qrNameIew string
  2964  
  2965  		if o.NameIew != nil {
  2966  			qrNameIew = *o.NameIew
  2967  		}
  2968  		qNameIew := qrNameIew
  2969  		if qNameIew != "" {
  2970  
  2971  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  2972  				return err
  2973  			}
  2974  		}
  2975  	}
  2976  
  2977  	if o.NameIsw != nil {
  2978  
  2979  		// query param name__isw
  2980  		var qrNameIsw string
  2981  
  2982  		if o.NameIsw != nil {
  2983  			qrNameIsw = *o.NameIsw
  2984  		}
  2985  		qNameIsw := qrNameIsw
  2986  		if qNameIsw != "" {
  2987  
  2988  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  2989  				return err
  2990  			}
  2991  		}
  2992  	}
  2993  
  2994  	if o.Namen != nil {
  2995  
  2996  		// query param name__n
  2997  		var qrNamen string
  2998  
  2999  		if o.Namen != nil {
  3000  			qrNamen = *o.Namen
  3001  		}
  3002  		qNamen := qrNamen
  3003  		if qNamen != "" {
  3004  
  3005  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  3006  				return err
  3007  			}
  3008  		}
  3009  	}
  3010  
  3011  	if o.NameNic != nil {
  3012  
  3013  		// query param name__nic
  3014  		var qrNameNic string
  3015  
  3016  		if o.NameNic != nil {
  3017  			qrNameNic = *o.NameNic
  3018  		}
  3019  		qNameNic := qrNameNic
  3020  		if qNameNic != "" {
  3021  
  3022  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  3023  				return err
  3024  			}
  3025  		}
  3026  	}
  3027  
  3028  	if o.NameNie != nil {
  3029  
  3030  		// query param name__nie
  3031  		var qrNameNie string
  3032  
  3033  		if o.NameNie != nil {
  3034  			qrNameNie = *o.NameNie
  3035  		}
  3036  		qNameNie := qrNameNie
  3037  		if qNameNie != "" {
  3038  
  3039  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  3040  				return err
  3041  			}
  3042  		}
  3043  	}
  3044  
  3045  	if o.NameNiew != nil {
  3046  
  3047  		// query param name__niew
  3048  		var qrNameNiew string
  3049  
  3050  		if o.NameNiew != nil {
  3051  			qrNameNiew = *o.NameNiew
  3052  		}
  3053  		qNameNiew := qrNameNiew
  3054  		if qNameNiew != "" {
  3055  
  3056  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  3057  				return err
  3058  			}
  3059  		}
  3060  	}
  3061  
  3062  	if o.NameNisw != nil {
  3063  
  3064  		// query param name__nisw
  3065  		var qrNameNisw string
  3066  
  3067  		if o.NameNisw != nil {
  3068  			qrNameNisw = *o.NameNisw
  3069  		}
  3070  		qNameNisw := qrNameNisw
  3071  		if qNameNisw != "" {
  3072  
  3073  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  3074  				return err
  3075  			}
  3076  		}
  3077  	}
  3078  
  3079  	if o.Offset != nil {
  3080  
  3081  		// query param offset
  3082  		var qrOffset int64
  3083  
  3084  		if o.Offset != nil {
  3085  			qrOffset = *o.Offset
  3086  		}
  3087  		qOffset := swag.FormatInt64(qrOffset)
  3088  		if qOffset != "" {
  3089  
  3090  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  3091  				return err
  3092  			}
  3093  		}
  3094  	}
  3095  
  3096  	if o.PassThroughPorts != nil {
  3097  
  3098  		// query param pass_through_ports
  3099  		var qrPassThroughPorts string
  3100  
  3101  		if o.PassThroughPorts != nil {
  3102  			qrPassThroughPorts = *o.PassThroughPorts
  3103  		}
  3104  		qPassThroughPorts := qrPassThroughPorts
  3105  		if qPassThroughPorts != "" {
  3106  
  3107  			if err := r.SetQueryParam("pass_through_ports", qPassThroughPorts); err != nil {
  3108  				return err
  3109  			}
  3110  		}
  3111  	}
  3112  
  3113  	if o.Platform != nil {
  3114  
  3115  		// query param platform
  3116  		var qrPlatform string
  3117  
  3118  		if o.Platform != nil {
  3119  			qrPlatform = *o.Platform
  3120  		}
  3121  		qPlatform := qrPlatform
  3122  		if qPlatform != "" {
  3123  
  3124  			if err := r.SetQueryParam("platform", qPlatform); err != nil {
  3125  				return err
  3126  			}
  3127  		}
  3128  	}
  3129  
  3130  	if o.Platformn != nil {
  3131  
  3132  		// query param platform__n
  3133  		var qrPlatformn string
  3134  
  3135  		if o.Platformn != nil {
  3136  			qrPlatformn = *o.Platformn
  3137  		}
  3138  		qPlatformn := qrPlatformn
  3139  		if qPlatformn != "" {
  3140  
  3141  			if err := r.SetQueryParam("platform__n", qPlatformn); err != nil {
  3142  				return err
  3143  			}
  3144  		}
  3145  	}
  3146  
  3147  	if o.PlatformID != nil {
  3148  
  3149  		// query param platform_id
  3150  		var qrPlatformID string
  3151  
  3152  		if o.PlatformID != nil {
  3153  			qrPlatformID = *o.PlatformID
  3154  		}
  3155  		qPlatformID := qrPlatformID
  3156  		if qPlatformID != "" {
  3157  
  3158  			if err := r.SetQueryParam("platform_id", qPlatformID); err != nil {
  3159  				return err
  3160  			}
  3161  		}
  3162  	}
  3163  
  3164  	if o.PlatformIDn != nil {
  3165  
  3166  		// query param platform_id__n
  3167  		var qrPlatformIDn string
  3168  
  3169  		if o.PlatformIDn != nil {
  3170  			qrPlatformIDn = *o.PlatformIDn
  3171  		}
  3172  		qPlatformIDn := qrPlatformIDn
  3173  		if qPlatformIDn != "" {
  3174  
  3175  			if err := r.SetQueryParam("platform_id__n", qPlatformIDn); err != nil {
  3176  				return err
  3177  			}
  3178  		}
  3179  	}
  3180  
  3181  	if o.Position != nil {
  3182  
  3183  		// query param position
  3184  		var qrPosition string
  3185  
  3186  		if o.Position != nil {
  3187  			qrPosition = *o.Position
  3188  		}
  3189  		qPosition := qrPosition
  3190  		if qPosition != "" {
  3191  
  3192  			if err := r.SetQueryParam("position", qPosition); err != nil {
  3193  				return err
  3194  			}
  3195  		}
  3196  	}
  3197  
  3198  	if o.PositionGt != nil {
  3199  
  3200  		// query param position__gt
  3201  		var qrPositionGt string
  3202  
  3203  		if o.PositionGt != nil {
  3204  			qrPositionGt = *o.PositionGt
  3205  		}
  3206  		qPositionGt := qrPositionGt
  3207  		if qPositionGt != "" {
  3208  
  3209  			if err := r.SetQueryParam("position__gt", qPositionGt); err != nil {
  3210  				return err
  3211  			}
  3212  		}
  3213  	}
  3214  
  3215  	if o.PositionGte != nil {
  3216  
  3217  		// query param position__gte
  3218  		var qrPositionGte string
  3219  
  3220  		if o.PositionGte != nil {
  3221  			qrPositionGte = *o.PositionGte
  3222  		}
  3223  		qPositionGte := qrPositionGte
  3224  		if qPositionGte != "" {
  3225  
  3226  			if err := r.SetQueryParam("position__gte", qPositionGte); err != nil {
  3227  				return err
  3228  			}
  3229  		}
  3230  	}
  3231  
  3232  	if o.PositionLt != nil {
  3233  
  3234  		// query param position__lt
  3235  		var qrPositionLt string
  3236  
  3237  		if o.PositionLt != nil {
  3238  			qrPositionLt = *o.PositionLt
  3239  		}
  3240  		qPositionLt := qrPositionLt
  3241  		if qPositionLt != "" {
  3242  
  3243  			if err := r.SetQueryParam("position__lt", qPositionLt); err != nil {
  3244  				return err
  3245  			}
  3246  		}
  3247  	}
  3248  
  3249  	if o.PositionLte != nil {
  3250  
  3251  		// query param position__lte
  3252  		var qrPositionLte string
  3253  
  3254  		if o.PositionLte != nil {
  3255  			qrPositionLte = *o.PositionLte
  3256  		}
  3257  		qPositionLte := qrPositionLte
  3258  		if qPositionLte != "" {
  3259  
  3260  			if err := r.SetQueryParam("position__lte", qPositionLte); err != nil {
  3261  				return err
  3262  			}
  3263  		}
  3264  	}
  3265  
  3266  	if o.Positionn != nil {
  3267  
  3268  		// query param position__n
  3269  		var qrPositionn string
  3270  
  3271  		if o.Positionn != nil {
  3272  			qrPositionn = *o.Positionn
  3273  		}
  3274  		qPositionn := qrPositionn
  3275  		if qPositionn != "" {
  3276  
  3277  			if err := r.SetQueryParam("position__n", qPositionn); err != nil {
  3278  				return err
  3279  			}
  3280  		}
  3281  	}
  3282  
  3283  	if o.PowerOutlets != nil {
  3284  
  3285  		// query param power_outlets
  3286  		var qrPowerOutlets string
  3287  
  3288  		if o.PowerOutlets != nil {
  3289  			qrPowerOutlets = *o.PowerOutlets
  3290  		}
  3291  		qPowerOutlets := qrPowerOutlets
  3292  		if qPowerOutlets != "" {
  3293  
  3294  			if err := r.SetQueryParam("power_outlets", qPowerOutlets); err != nil {
  3295  				return err
  3296  			}
  3297  		}
  3298  	}
  3299  
  3300  	if o.PowerPorts != nil {
  3301  
  3302  		// query param power_ports
  3303  		var qrPowerPorts string
  3304  
  3305  		if o.PowerPorts != nil {
  3306  			qrPowerPorts = *o.PowerPorts
  3307  		}
  3308  		qPowerPorts := qrPowerPorts
  3309  		if qPowerPorts != "" {
  3310  
  3311  			if err := r.SetQueryParam("power_ports", qPowerPorts); err != nil {
  3312  				return err
  3313  			}
  3314  		}
  3315  	}
  3316  
  3317  	if o.Q != nil {
  3318  
  3319  		// query param q
  3320  		var qrQ string
  3321  
  3322  		if o.Q != nil {
  3323  			qrQ = *o.Q
  3324  		}
  3325  		qQ := qrQ
  3326  		if qQ != "" {
  3327  
  3328  			if err := r.SetQueryParam("q", qQ); err != nil {
  3329  				return err
  3330  			}
  3331  		}
  3332  	}
  3333  
  3334  	if o.RackID != nil {
  3335  
  3336  		// query param rack_id
  3337  		var qrRackID string
  3338  
  3339  		if o.RackID != nil {
  3340  			qrRackID = *o.RackID
  3341  		}
  3342  		qRackID := qrRackID
  3343  		if qRackID != "" {
  3344  
  3345  			if err := r.SetQueryParam("rack_id", qRackID); err != nil {
  3346  				return err
  3347  			}
  3348  		}
  3349  	}
  3350  
  3351  	if o.RackIDn != nil {
  3352  
  3353  		// query param rack_id__n
  3354  		var qrRackIDn string
  3355  
  3356  		if o.RackIDn != nil {
  3357  			qrRackIDn = *o.RackIDn
  3358  		}
  3359  		qRackIDn := qrRackIDn
  3360  		if qRackIDn != "" {
  3361  
  3362  			if err := r.SetQueryParam("rack_id__n", qRackIDn); err != nil {
  3363  				return err
  3364  			}
  3365  		}
  3366  	}
  3367  
  3368  	if o.Region != nil {
  3369  
  3370  		// query param region
  3371  		var qrRegion string
  3372  
  3373  		if o.Region != nil {
  3374  			qrRegion = *o.Region
  3375  		}
  3376  		qRegion := qrRegion
  3377  		if qRegion != "" {
  3378  
  3379  			if err := r.SetQueryParam("region", qRegion); err != nil {
  3380  				return err
  3381  			}
  3382  		}
  3383  	}
  3384  
  3385  	if o.Regionn != nil {
  3386  
  3387  		// query param region__n
  3388  		var qrRegionn string
  3389  
  3390  		if o.Regionn != nil {
  3391  			qrRegionn = *o.Regionn
  3392  		}
  3393  		qRegionn := qrRegionn
  3394  		if qRegionn != "" {
  3395  
  3396  			if err := r.SetQueryParam("region__n", qRegionn); err != nil {
  3397  				return err
  3398  			}
  3399  		}
  3400  	}
  3401  
  3402  	if o.RegionID != nil {
  3403  
  3404  		// query param region_id
  3405  		var qrRegionID string
  3406  
  3407  		if o.RegionID != nil {
  3408  			qrRegionID = *o.RegionID
  3409  		}
  3410  		qRegionID := qrRegionID
  3411  		if qRegionID != "" {
  3412  
  3413  			if err := r.SetQueryParam("region_id", qRegionID); err != nil {
  3414  				return err
  3415  			}
  3416  		}
  3417  	}
  3418  
  3419  	if o.RegionIDn != nil {
  3420  
  3421  		// query param region_id__n
  3422  		var qrRegionIDn string
  3423  
  3424  		if o.RegionIDn != nil {
  3425  			qrRegionIDn = *o.RegionIDn
  3426  		}
  3427  		qRegionIDn := qrRegionIDn
  3428  		if qRegionIDn != "" {
  3429  
  3430  			if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil {
  3431  				return err
  3432  			}
  3433  		}
  3434  	}
  3435  
  3436  	if o.Role != nil {
  3437  
  3438  		// query param role
  3439  		var qrRole string
  3440  
  3441  		if o.Role != nil {
  3442  			qrRole = *o.Role
  3443  		}
  3444  		qRole := qrRole
  3445  		if qRole != "" {
  3446  
  3447  			if err := r.SetQueryParam("role", qRole); err != nil {
  3448  				return err
  3449  			}
  3450  		}
  3451  	}
  3452  
  3453  	if o.Rolen != nil {
  3454  
  3455  		// query param role__n
  3456  		var qrRolen string
  3457  
  3458  		if o.Rolen != nil {
  3459  			qrRolen = *o.Rolen
  3460  		}
  3461  		qRolen := qrRolen
  3462  		if qRolen != "" {
  3463  
  3464  			if err := r.SetQueryParam("role__n", qRolen); err != nil {
  3465  				return err
  3466  			}
  3467  		}
  3468  	}
  3469  
  3470  	if o.RoleID != nil {
  3471  
  3472  		// query param role_id
  3473  		var qrRoleID string
  3474  
  3475  		if o.RoleID != nil {
  3476  			qrRoleID = *o.RoleID
  3477  		}
  3478  		qRoleID := qrRoleID
  3479  		if qRoleID != "" {
  3480  
  3481  			if err := r.SetQueryParam("role_id", qRoleID); err != nil {
  3482  				return err
  3483  			}
  3484  		}
  3485  	}
  3486  
  3487  	if o.RoleIDn != nil {
  3488  
  3489  		// query param role_id__n
  3490  		var qrRoleIDn string
  3491  
  3492  		if o.RoleIDn != nil {
  3493  			qrRoleIDn = *o.RoleIDn
  3494  		}
  3495  		qRoleIDn := qrRoleIDn
  3496  		if qRoleIDn != "" {
  3497  
  3498  			if err := r.SetQueryParam("role_id__n", qRoleIDn); err != nil {
  3499  				return err
  3500  			}
  3501  		}
  3502  	}
  3503  
  3504  	if o.Serial != nil {
  3505  
  3506  		// query param serial
  3507  		var qrSerial string
  3508  
  3509  		if o.Serial != nil {
  3510  			qrSerial = *o.Serial
  3511  		}
  3512  		qSerial := qrSerial
  3513  		if qSerial != "" {
  3514  
  3515  			if err := r.SetQueryParam("serial", qSerial); err != nil {
  3516  				return err
  3517  			}
  3518  		}
  3519  	}
  3520  
  3521  	if o.Site != nil {
  3522  
  3523  		// query param site
  3524  		var qrSite string
  3525  
  3526  		if o.Site != nil {
  3527  			qrSite = *o.Site
  3528  		}
  3529  		qSite := qrSite
  3530  		if qSite != "" {
  3531  
  3532  			if err := r.SetQueryParam("site", qSite); err != nil {
  3533  				return err
  3534  			}
  3535  		}
  3536  	}
  3537  
  3538  	if o.Siten != nil {
  3539  
  3540  		// query param site__n
  3541  		var qrSiten string
  3542  
  3543  		if o.Siten != nil {
  3544  			qrSiten = *o.Siten
  3545  		}
  3546  		qSiten := qrSiten
  3547  		if qSiten != "" {
  3548  
  3549  			if err := r.SetQueryParam("site__n", qSiten); err != nil {
  3550  				return err
  3551  			}
  3552  		}
  3553  	}
  3554  
  3555  	if o.SiteGroup != nil {
  3556  
  3557  		// query param site_group
  3558  		var qrSiteGroup string
  3559  
  3560  		if o.SiteGroup != nil {
  3561  			qrSiteGroup = *o.SiteGroup
  3562  		}
  3563  		qSiteGroup := qrSiteGroup
  3564  		if qSiteGroup != "" {
  3565  
  3566  			if err := r.SetQueryParam("site_group", qSiteGroup); err != nil {
  3567  				return err
  3568  			}
  3569  		}
  3570  	}
  3571  
  3572  	if o.SiteGroupn != nil {
  3573  
  3574  		// query param site_group__n
  3575  		var qrSiteGroupn string
  3576  
  3577  		if o.SiteGroupn != nil {
  3578  			qrSiteGroupn = *o.SiteGroupn
  3579  		}
  3580  		qSiteGroupn := qrSiteGroupn
  3581  		if qSiteGroupn != "" {
  3582  
  3583  			if err := r.SetQueryParam("site_group__n", qSiteGroupn); err != nil {
  3584  				return err
  3585  			}
  3586  		}
  3587  	}
  3588  
  3589  	if o.SiteGroupID != nil {
  3590  
  3591  		// query param site_group_id
  3592  		var qrSiteGroupID string
  3593  
  3594  		if o.SiteGroupID != nil {
  3595  			qrSiteGroupID = *o.SiteGroupID
  3596  		}
  3597  		qSiteGroupID := qrSiteGroupID
  3598  		if qSiteGroupID != "" {
  3599  
  3600  			if err := r.SetQueryParam("site_group_id", qSiteGroupID); err != nil {
  3601  				return err
  3602  			}
  3603  		}
  3604  	}
  3605  
  3606  	if o.SiteGroupIDn != nil {
  3607  
  3608  		// query param site_group_id__n
  3609  		var qrSiteGroupIDn string
  3610  
  3611  		if o.SiteGroupIDn != nil {
  3612  			qrSiteGroupIDn = *o.SiteGroupIDn
  3613  		}
  3614  		qSiteGroupIDn := qrSiteGroupIDn
  3615  		if qSiteGroupIDn != "" {
  3616  
  3617  			if err := r.SetQueryParam("site_group_id__n", qSiteGroupIDn); err != nil {
  3618  				return err
  3619  			}
  3620  		}
  3621  	}
  3622  
  3623  	if o.SiteID != nil {
  3624  
  3625  		// query param site_id
  3626  		var qrSiteID string
  3627  
  3628  		if o.SiteID != nil {
  3629  			qrSiteID = *o.SiteID
  3630  		}
  3631  		qSiteID := qrSiteID
  3632  		if qSiteID != "" {
  3633  
  3634  			if err := r.SetQueryParam("site_id", qSiteID); err != nil {
  3635  				return err
  3636  			}
  3637  		}
  3638  	}
  3639  
  3640  	if o.SiteIDn != nil {
  3641  
  3642  		// query param site_id__n
  3643  		var qrSiteIDn string
  3644  
  3645  		if o.SiteIDn != nil {
  3646  			qrSiteIDn = *o.SiteIDn
  3647  		}
  3648  		qSiteIDn := qrSiteIDn
  3649  		if qSiteIDn != "" {
  3650  
  3651  			if err := r.SetQueryParam("site_id__n", qSiteIDn); err != nil {
  3652  				return err
  3653  			}
  3654  		}
  3655  	}
  3656  
  3657  	if o.Status != nil {
  3658  
  3659  		// query param status
  3660  		var qrStatus string
  3661  
  3662  		if o.Status != nil {
  3663  			qrStatus = *o.Status
  3664  		}
  3665  		qStatus := qrStatus
  3666  		if qStatus != "" {
  3667  
  3668  			if err := r.SetQueryParam("status", qStatus); err != nil {
  3669  				return err
  3670  			}
  3671  		}
  3672  	}
  3673  
  3674  	if o.Statusn != nil {
  3675  
  3676  		// query param status__n
  3677  		var qrStatusn string
  3678  
  3679  		if o.Statusn != nil {
  3680  			qrStatusn = *o.Statusn
  3681  		}
  3682  		qStatusn := qrStatusn
  3683  		if qStatusn != "" {
  3684  
  3685  			if err := r.SetQueryParam("status__n", qStatusn); err != nil {
  3686  				return err
  3687  			}
  3688  		}
  3689  	}
  3690  
  3691  	if o.Tag != nil {
  3692  
  3693  		// query param tag
  3694  		var qrTag string
  3695  
  3696  		if o.Tag != nil {
  3697  			qrTag = *o.Tag
  3698  		}
  3699  		qTag := qrTag
  3700  		if qTag != "" {
  3701  
  3702  			if err := r.SetQueryParam("tag", qTag); err != nil {
  3703  				return err
  3704  			}
  3705  		}
  3706  	}
  3707  
  3708  	if o.Tagn != nil {
  3709  
  3710  		// query param tag__n
  3711  		var qrTagn string
  3712  
  3713  		if o.Tagn != nil {
  3714  			qrTagn = *o.Tagn
  3715  		}
  3716  		qTagn := qrTagn
  3717  		if qTagn != "" {
  3718  
  3719  			if err := r.SetQueryParam("tag__n", qTagn); err != nil {
  3720  				return err
  3721  			}
  3722  		}
  3723  	}
  3724  
  3725  	if o.Tenant != nil {
  3726  
  3727  		// query param tenant
  3728  		var qrTenant string
  3729  
  3730  		if o.Tenant != nil {
  3731  			qrTenant = *o.Tenant
  3732  		}
  3733  		qTenant := qrTenant
  3734  		if qTenant != "" {
  3735  
  3736  			if err := r.SetQueryParam("tenant", qTenant); err != nil {
  3737  				return err
  3738  			}
  3739  		}
  3740  	}
  3741  
  3742  	if o.Tenantn != nil {
  3743  
  3744  		// query param tenant__n
  3745  		var qrTenantn string
  3746  
  3747  		if o.Tenantn != nil {
  3748  			qrTenantn = *o.Tenantn
  3749  		}
  3750  		qTenantn := qrTenantn
  3751  		if qTenantn != "" {
  3752  
  3753  			if err := r.SetQueryParam("tenant__n", qTenantn); err != nil {
  3754  				return err
  3755  			}
  3756  		}
  3757  	}
  3758  
  3759  	if o.TenantGroup != nil {
  3760  
  3761  		// query param tenant_group
  3762  		var qrTenantGroup string
  3763  
  3764  		if o.TenantGroup != nil {
  3765  			qrTenantGroup = *o.TenantGroup
  3766  		}
  3767  		qTenantGroup := qrTenantGroup
  3768  		if qTenantGroup != "" {
  3769  
  3770  			if err := r.SetQueryParam("tenant_group", qTenantGroup); err != nil {
  3771  				return err
  3772  			}
  3773  		}
  3774  	}
  3775  
  3776  	if o.TenantGroupn != nil {
  3777  
  3778  		// query param tenant_group__n
  3779  		var qrTenantGroupn string
  3780  
  3781  		if o.TenantGroupn != nil {
  3782  			qrTenantGroupn = *o.TenantGroupn
  3783  		}
  3784  		qTenantGroupn := qrTenantGroupn
  3785  		if qTenantGroupn != "" {
  3786  
  3787  			if err := r.SetQueryParam("tenant_group__n", qTenantGroupn); err != nil {
  3788  				return err
  3789  			}
  3790  		}
  3791  	}
  3792  
  3793  	if o.TenantGroupID != nil {
  3794  
  3795  		// query param tenant_group_id
  3796  		var qrTenantGroupID string
  3797  
  3798  		if o.TenantGroupID != nil {
  3799  			qrTenantGroupID = *o.TenantGroupID
  3800  		}
  3801  		qTenantGroupID := qrTenantGroupID
  3802  		if qTenantGroupID != "" {
  3803  
  3804  			if err := r.SetQueryParam("tenant_group_id", qTenantGroupID); err != nil {
  3805  				return err
  3806  			}
  3807  		}
  3808  	}
  3809  
  3810  	if o.TenantGroupIDn != nil {
  3811  
  3812  		// query param tenant_group_id__n
  3813  		var qrTenantGroupIDn string
  3814  
  3815  		if o.TenantGroupIDn != nil {
  3816  			qrTenantGroupIDn = *o.TenantGroupIDn
  3817  		}
  3818  		qTenantGroupIDn := qrTenantGroupIDn
  3819  		if qTenantGroupIDn != "" {
  3820  
  3821  			if err := r.SetQueryParam("tenant_group_id__n", qTenantGroupIDn); err != nil {
  3822  				return err
  3823  			}
  3824  		}
  3825  	}
  3826  
  3827  	if o.TenantID != nil {
  3828  
  3829  		// query param tenant_id
  3830  		var qrTenantID string
  3831  
  3832  		if o.TenantID != nil {
  3833  			qrTenantID = *o.TenantID
  3834  		}
  3835  		qTenantID := qrTenantID
  3836  		if qTenantID != "" {
  3837  
  3838  			if err := r.SetQueryParam("tenant_id", qTenantID); err != nil {
  3839  				return err
  3840  			}
  3841  		}
  3842  	}
  3843  
  3844  	if o.TenantIDn != nil {
  3845  
  3846  		// query param tenant_id__n
  3847  		var qrTenantIDn string
  3848  
  3849  		if o.TenantIDn != nil {
  3850  			qrTenantIDn = *o.TenantIDn
  3851  		}
  3852  		qTenantIDn := qrTenantIDn
  3853  		if qTenantIDn != "" {
  3854  
  3855  			if err := r.SetQueryParam("tenant_id__n", qTenantIDn); err != nil {
  3856  				return err
  3857  			}
  3858  		}
  3859  	}
  3860  
  3861  	if o.VcPosition != nil {
  3862  
  3863  		// query param vc_position
  3864  		var qrVcPosition string
  3865  
  3866  		if o.VcPosition != nil {
  3867  			qrVcPosition = *o.VcPosition
  3868  		}
  3869  		qVcPosition := qrVcPosition
  3870  		if qVcPosition != "" {
  3871  
  3872  			if err := r.SetQueryParam("vc_position", qVcPosition); err != nil {
  3873  				return err
  3874  			}
  3875  		}
  3876  	}
  3877  
  3878  	if o.VcPositionGt != nil {
  3879  
  3880  		// query param vc_position__gt
  3881  		var qrVcPositionGt string
  3882  
  3883  		if o.VcPositionGt != nil {
  3884  			qrVcPositionGt = *o.VcPositionGt
  3885  		}
  3886  		qVcPositionGt := qrVcPositionGt
  3887  		if qVcPositionGt != "" {
  3888  
  3889  			if err := r.SetQueryParam("vc_position__gt", qVcPositionGt); err != nil {
  3890  				return err
  3891  			}
  3892  		}
  3893  	}
  3894  
  3895  	if o.VcPositionGte != nil {
  3896  
  3897  		// query param vc_position__gte
  3898  		var qrVcPositionGte string
  3899  
  3900  		if o.VcPositionGte != nil {
  3901  			qrVcPositionGte = *o.VcPositionGte
  3902  		}
  3903  		qVcPositionGte := qrVcPositionGte
  3904  		if qVcPositionGte != "" {
  3905  
  3906  			if err := r.SetQueryParam("vc_position__gte", qVcPositionGte); err != nil {
  3907  				return err
  3908  			}
  3909  		}
  3910  	}
  3911  
  3912  	if o.VcPositionLt != nil {
  3913  
  3914  		// query param vc_position__lt
  3915  		var qrVcPositionLt string
  3916  
  3917  		if o.VcPositionLt != nil {
  3918  			qrVcPositionLt = *o.VcPositionLt
  3919  		}
  3920  		qVcPositionLt := qrVcPositionLt
  3921  		if qVcPositionLt != "" {
  3922  
  3923  			if err := r.SetQueryParam("vc_position__lt", qVcPositionLt); err != nil {
  3924  				return err
  3925  			}
  3926  		}
  3927  	}
  3928  
  3929  	if o.VcPositionLte != nil {
  3930  
  3931  		// query param vc_position__lte
  3932  		var qrVcPositionLte string
  3933  
  3934  		if o.VcPositionLte != nil {
  3935  			qrVcPositionLte = *o.VcPositionLte
  3936  		}
  3937  		qVcPositionLte := qrVcPositionLte
  3938  		if qVcPositionLte != "" {
  3939  
  3940  			if err := r.SetQueryParam("vc_position__lte", qVcPositionLte); err != nil {
  3941  				return err
  3942  			}
  3943  		}
  3944  	}
  3945  
  3946  	if o.VcPositionn != nil {
  3947  
  3948  		// query param vc_position__n
  3949  		var qrVcPositionn string
  3950  
  3951  		if o.VcPositionn != nil {
  3952  			qrVcPositionn = *o.VcPositionn
  3953  		}
  3954  		qVcPositionn := qrVcPositionn
  3955  		if qVcPositionn != "" {
  3956  
  3957  			if err := r.SetQueryParam("vc_position__n", qVcPositionn); err != nil {
  3958  				return err
  3959  			}
  3960  		}
  3961  	}
  3962  
  3963  	if o.VcPriority != nil {
  3964  
  3965  		// query param vc_priority
  3966  		var qrVcPriority string
  3967  
  3968  		if o.VcPriority != nil {
  3969  			qrVcPriority = *o.VcPriority
  3970  		}
  3971  		qVcPriority := qrVcPriority
  3972  		if qVcPriority != "" {
  3973  
  3974  			if err := r.SetQueryParam("vc_priority", qVcPriority); err != nil {
  3975  				return err
  3976  			}
  3977  		}
  3978  	}
  3979  
  3980  	if o.VcPriorityGt != nil {
  3981  
  3982  		// query param vc_priority__gt
  3983  		var qrVcPriorityGt string
  3984  
  3985  		if o.VcPriorityGt != nil {
  3986  			qrVcPriorityGt = *o.VcPriorityGt
  3987  		}
  3988  		qVcPriorityGt := qrVcPriorityGt
  3989  		if qVcPriorityGt != "" {
  3990  
  3991  			if err := r.SetQueryParam("vc_priority__gt", qVcPriorityGt); err != nil {
  3992  				return err
  3993  			}
  3994  		}
  3995  	}
  3996  
  3997  	if o.VcPriorityGte != nil {
  3998  
  3999  		// query param vc_priority__gte
  4000  		var qrVcPriorityGte string
  4001  
  4002  		if o.VcPriorityGte != nil {
  4003  			qrVcPriorityGte = *o.VcPriorityGte
  4004  		}
  4005  		qVcPriorityGte := qrVcPriorityGte
  4006  		if qVcPriorityGte != "" {
  4007  
  4008  			if err := r.SetQueryParam("vc_priority__gte", qVcPriorityGte); err != nil {
  4009  				return err
  4010  			}
  4011  		}
  4012  	}
  4013  
  4014  	if o.VcPriorityLt != nil {
  4015  
  4016  		// query param vc_priority__lt
  4017  		var qrVcPriorityLt string
  4018  
  4019  		if o.VcPriorityLt != nil {
  4020  			qrVcPriorityLt = *o.VcPriorityLt
  4021  		}
  4022  		qVcPriorityLt := qrVcPriorityLt
  4023  		if qVcPriorityLt != "" {
  4024  
  4025  			if err := r.SetQueryParam("vc_priority__lt", qVcPriorityLt); err != nil {
  4026  				return err
  4027  			}
  4028  		}
  4029  	}
  4030  
  4031  	if o.VcPriorityLte != nil {
  4032  
  4033  		// query param vc_priority__lte
  4034  		var qrVcPriorityLte string
  4035  
  4036  		if o.VcPriorityLte != nil {
  4037  			qrVcPriorityLte = *o.VcPriorityLte
  4038  		}
  4039  		qVcPriorityLte := qrVcPriorityLte
  4040  		if qVcPriorityLte != "" {
  4041  
  4042  			if err := r.SetQueryParam("vc_priority__lte", qVcPriorityLte); err != nil {
  4043  				return err
  4044  			}
  4045  		}
  4046  	}
  4047  
  4048  	if o.VcPriorityn != nil {
  4049  
  4050  		// query param vc_priority__n
  4051  		var qrVcPriorityn string
  4052  
  4053  		if o.VcPriorityn != nil {
  4054  			qrVcPriorityn = *o.VcPriorityn
  4055  		}
  4056  		qVcPriorityn := qrVcPriorityn
  4057  		if qVcPriorityn != "" {
  4058  
  4059  			if err := r.SetQueryParam("vc_priority__n", qVcPriorityn); err != nil {
  4060  				return err
  4061  			}
  4062  		}
  4063  	}
  4064  
  4065  	if o.VirtualChassisID != nil {
  4066  
  4067  		// query param virtual_chassis_id
  4068  		var qrVirtualChassisID string
  4069  
  4070  		if o.VirtualChassisID != nil {
  4071  			qrVirtualChassisID = *o.VirtualChassisID
  4072  		}
  4073  		qVirtualChassisID := qrVirtualChassisID
  4074  		if qVirtualChassisID != "" {
  4075  
  4076  			if err := r.SetQueryParam("virtual_chassis_id", qVirtualChassisID); err != nil {
  4077  				return err
  4078  			}
  4079  		}
  4080  	}
  4081  
  4082  	if o.VirtualChassisIDn != nil {
  4083  
  4084  		// query param virtual_chassis_id__n
  4085  		var qrVirtualChassisIDn string
  4086  
  4087  		if o.VirtualChassisIDn != nil {
  4088  			qrVirtualChassisIDn = *o.VirtualChassisIDn
  4089  		}
  4090  		qVirtualChassisIDn := qrVirtualChassisIDn
  4091  		if qVirtualChassisIDn != "" {
  4092  
  4093  			if err := r.SetQueryParam("virtual_chassis_id__n", qVirtualChassisIDn); err != nil {
  4094  				return err
  4095  			}
  4096  		}
  4097  	}
  4098  
  4099  	if o.VirtualChassisMember != nil {
  4100  
  4101  		// query param virtual_chassis_member
  4102  		var qrVirtualChassisMember string
  4103  
  4104  		if o.VirtualChassisMember != nil {
  4105  			qrVirtualChassisMember = *o.VirtualChassisMember
  4106  		}
  4107  		qVirtualChassisMember := qrVirtualChassisMember
  4108  		if qVirtualChassisMember != "" {
  4109  
  4110  			if err := r.SetQueryParam("virtual_chassis_member", qVirtualChassisMember); err != nil {
  4111  				return err
  4112  			}
  4113  		}
  4114  	}
  4115  
  4116  	if len(res) > 0 {
  4117  		return errors.CompositeValidationError(res...)
  4118  	}
  4119  	return nil
  4120  }