github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_power_outlets_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  // NewDcimPowerOutletsListParams creates a new DcimPowerOutletsListParams 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 NewDcimPowerOutletsListParams() *DcimPowerOutletsListParams {
    42  	return &DcimPowerOutletsListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewDcimPowerOutletsListParamsWithTimeout creates a new DcimPowerOutletsListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewDcimPowerOutletsListParamsWithTimeout(timeout time.Duration) *DcimPowerOutletsListParams {
    50  	return &DcimPowerOutletsListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewDcimPowerOutletsListParamsWithContext creates a new DcimPowerOutletsListParams object
    56  // with the ability to set a context for a request.
    57  func NewDcimPowerOutletsListParamsWithContext(ctx context.Context) *DcimPowerOutletsListParams {
    58  	return &DcimPowerOutletsListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewDcimPowerOutletsListParamsWithHTTPClient creates a new DcimPowerOutletsListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewDcimPowerOutletsListParamsWithHTTPClient(client *http.Client) *DcimPowerOutletsListParams {
    66  	return &DcimPowerOutletsListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* DcimPowerOutletsListParams contains all the parameters to send to the API endpoint
    72     for the dcim power outlets list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type DcimPowerOutletsListParams struct {
    77  
    78  	// Cabled.
    79  	Cabled *string
    80  
    81  	// Connected.
    82  	Connected *string
    83  
    84  	// Created.
    85  	Created *string
    86  
    87  	// CreatedGte.
    88  	CreatedGte *string
    89  
    90  	// CreatedLte.
    91  	CreatedLte *string
    92  
    93  	// Description.
    94  	Description *string
    95  
    96  	// DescriptionEmpty.
    97  	DescriptionEmpty *string
    98  
    99  	// DescriptionIc.
   100  	DescriptionIc *string
   101  
   102  	// DescriptionIe.
   103  	DescriptionIe *string
   104  
   105  	// DescriptionIew.
   106  	DescriptionIew *string
   107  
   108  	// DescriptionIsw.
   109  	DescriptionIsw *string
   110  
   111  	// Descriptionn.
   112  	Descriptionn *string
   113  
   114  	// DescriptionNic.
   115  	DescriptionNic *string
   116  
   117  	// DescriptionNie.
   118  	DescriptionNie *string
   119  
   120  	// DescriptionNiew.
   121  	DescriptionNiew *string
   122  
   123  	// DescriptionNisw.
   124  	DescriptionNisw *string
   125  
   126  	// Device.
   127  	Device *string
   128  
   129  	// Devicen.
   130  	Devicen *string
   131  
   132  	// DeviceID.
   133  	DeviceID *string
   134  
   135  	// DeviceIDn.
   136  	DeviceIDn *string
   137  
   138  	// FeedLeg.
   139  	FeedLeg *string
   140  
   141  	// FeedLegn.
   142  	FeedLegn *string
   143  
   144  	// ID.
   145  	ID *string
   146  
   147  	// IDGt.
   148  	IDGt *string
   149  
   150  	// IDGte.
   151  	IDGte *string
   152  
   153  	// IDLt.
   154  	IDLt *string
   155  
   156  	// IDLte.
   157  	IDLte *string
   158  
   159  	// IDn.
   160  	IDn *string
   161  
   162  	// Label.
   163  	Label *string
   164  
   165  	// LabelEmpty.
   166  	LabelEmpty *string
   167  
   168  	// LabelIc.
   169  	LabelIc *string
   170  
   171  	// LabelIe.
   172  	LabelIe *string
   173  
   174  	// LabelIew.
   175  	LabelIew *string
   176  
   177  	// LabelIsw.
   178  	LabelIsw *string
   179  
   180  	// Labeln.
   181  	Labeln *string
   182  
   183  	// LabelNic.
   184  	LabelNic *string
   185  
   186  	// LabelNie.
   187  	LabelNie *string
   188  
   189  	// LabelNiew.
   190  	LabelNiew *string
   191  
   192  	// LabelNisw.
   193  	LabelNisw *string
   194  
   195  	// LastUpdated.
   196  	LastUpdated *string
   197  
   198  	// LastUpdatedGte.
   199  	LastUpdatedGte *string
   200  
   201  	// LastUpdatedLte.
   202  	LastUpdatedLte *string
   203  
   204  	/* Limit.
   205  
   206  	   Number of results to return per page.
   207  	*/
   208  	Limit *int64
   209  
   210  	// Name.
   211  	Name *string
   212  
   213  	// NameEmpty.
   214  	NameEmpty *string
   215  
   216  	// NameIc.
   217  	NameIc *string
   218  
   219  	// NameIe.
   220  	NameIe *string
   221  
   222  	// NameIew.
   223  	NameIew *string
   224  
   225  	// NameIsw.
   226  	NameIsw *string
   227  
   228  	// Namen.
   229  	Namen *string
   230  
   231  	// NameNic.
   232  	NameNic *string
   233  
   234  	// NameNie.
   235  	NameNie *string
   236  
   237  	// NameNiew.
   238  	NameNiew *string
   239  
   240  	// NameNisw.
   241  	NameNisw *string
   242  
   243  	/* Offset.
   244  
   245  	   The initial index from which to return the results.
   246  	*/
   247  	Offset *int64
   248  
   249  	// Q.
   250  	Q *string
   251  
   252  	// Region.
   253  	Region *string
   254  
   255  	// Regionn.
   256  	Regionn *string
   257  
   258  	// RegionID.
   259  	RegionID *string
   260  
   261  	// RegionIDn.
   262  	RegionIDn *string
   263  
   264  	// Site.
   265  	Site *string
   266  
   267  	// Siten.
   268  	Siten *string
   269  
   270  	// SiteGroup.
   271  	SiteGroup *string
   272  
   273  	// SiteGroupn.
   274  	SiteGroupn *string
   275  
   276  	// SiteGroupID.
   277  	SiteGroupID *string
   278  
   279  	// SiteGroupIDn.
   280  	SiteGroupIDn *string
   281  
   282  	// SiteID.
   283  	SiteID *string
   284  
   285  	// SiteIDn.
   286  	SiteIDn *string
   287  
   288  	// Tag.
   289  	Tag *string
   290  
   291  	// Tagn.
   292  	Tagn *string
   293  
   294  	// Type.
   295  	Type *string
   296  
   297  	// Typen.
   298  	Typen *string
   299  
   300  	timeout    time.Duration
   301  	Context    context.Context
   302  	HTTPClient *http.Client
   303  }
   304  
   305  // WithDefaults hydrates default values in the dcim power outlets list params (not the query body).
   306  //
   307  // All values with no default are reset to their zero value.
   308  func (o *DcimPowerOutletsListParams) WithDefaults() *DcimPowerOutletsListParams {
   309  	o.SetDefaults()
   310  	return o
   311  }
   312  
   313  // SetDefaults hydrates default values in the dcim power outlets list params (not the query body).
   314  //
   315  // All values with no default are reset to their zero value.
   316  func (o *DcimPowerOutletsListParams) SetDefaults() {
   317  	// no default values defined for this parameter
   318  }
   319  
   320  // WithTimeout adds the timeout to the dcim power outlets list params
   321  func (o *DcimPowerOutletsListParams) WithTimeout(timeout time.Duration) *DcimPowerOutletsListParams {
   322  	o.SetTimeout(timeout)
   323  	return o
   324  }
   325  
   326  // SetTimeout adds the timeout to the dcim power outlets list params
   327  func (o *DcimPowerOutletsListParams) SetTimeout(timeout time.Duration) {
   328  	o.timeout = timeout
   329  }
   330  
   331  // WithContext adds the context to the dcim power outlets list params
   332  func (o *DcimPowerOutletsListParams) WithContext(ctx context.Context) *DcimPowerOutletsListParams {
   333  	o.SetContext(ctx)
   334  	return o
   335  }
   336  
   337  // SetContext adds the context to the dcim power outlets list params
   338  func (o *DcimPowerOutletsListParams) SetContext(ctx context.Context) {
   339  	o.Context = ctx
   340  }
   341  
   342  // WithHTTPClient adds the HTTPClient to the dcim power outlets list params
   343  func (o *DcimPowerOutletsListParams) WithHTTPClient(client *http.Client) *DcimPowerOutletsListParams {
   344  	o.SetHTTPClient(client)
   345  	return o
   346  }
   347  
   348  // SetHTTPClient adds the HTTPClient to the dcim power outlets list params
   349  func (o *DcimPowerOutletsListParams) SetHTTPClient(client *http.Client) {
   350  	o.HTTPClient = client
   351  }
   352  
   353  // WithCabled adds the cabled to the dcim power outlets list params
   354  func (o *DcimPowerOutletsListParams) WithCabled(cabled *string) *DcimPowerOutletsListParams {
   355  	o.SetCabled(cabled)
   356  	return o
   357  }
   358  
   359  // SetCabled adds the cabled to the dcim power outlets list params
   360  func (o *DcimPowerOutletsListParams) SetCabled(cabled *string) {
   361  	o.Cabled = cabled
   362  }
   363  
   364  // WithConnected adds the connected to the dcim power outlets list params
   365  func (o *DcimPowerOutletsListParams) WithConnected(connected *string) *DcimPowerOutletsListParams {
   366  	o.SetConnected(connected)
   367  	return o
   368  }
   369  
   370  // SetConnected adds the connected to the dcim power outlets list params
   371  func (o *DcimPowerOutletsListParams) SetConnected(connected *string) {
   372  	o.Connected = connected
   373  }
   374  
   375  // WithCreated adds the created to the dcim power outlets list params
   376  func (o *DcimPowerOutletsListParams) WithCreated(created *string) *DcimPowerOutletsListParams {
   377  	o.SetCreated(created)
   378  	return o
   379  }
   380  
   381  // SetCreated adds the created to the dcim power outlets list params
   382  func (o *DcimPowerOutletsListParams) SetCreated(created *string) {
   383  	o.Created = created
   384  }
   385  
   386  // WithCreatedGte adds the createdGte to the dcim power outlets list params
   387  func (o *DcimPowerOutletsListParams) WithCreatedGte(createdGte *string) *DcimPowerOutletsListParams {
   388  	o.SetCreatedGte(createdGte)
   389  	return o
   390  }
   391  
   392  // SetCreatedGte adds the createdGte to the dcim power outlets list params
   393  func (o *DcimPowerOutletsListParams) SetCreatedGte(createdGte *string) {
   394  	o.CreatedGte = createdGte
   395  }
   396  
   397  // WithCreatedLte adds the createdLte to the dcim power outlets list params
   398  func (o *DcimPowerOutletsListParams) WithCreatedLte(createdLte *string) *DcimPowerOutletsListParams {
   399  	o.SetCreatedLte(createdLte)
   400  	return o
   401  }
   402  
   403  // SetCreatedLte adds the createdLte to the dcim power outlets list params
   404  func (o *DcimPowerOutletsListParams) SetCreatedLte(createdLte *string) {
   405  	o.CreatedLte = createdLte
   406  }
   407  
   408  // WithDescription adds the description to the dcim power outlets list params
   409  func (o *DcimPowerOutletsListParams) WithDescription(description *string) *DcimPowerOutletsListParams {
   410  	o.SetDescription(description)
   411  	return o
   412  }
   413  
   414  // SetDescription adds the description to the dcim power outlets list params
   415  func (o *DcimPowerOutletsListParams) SetDescription(description *string) {
   416  	o.Description = description
   417  }
   418  
   419  // WithDescriptionEmpty adds the descriptionEmpty to the dcim power outlets list params
   420  func (o *DcimPowerOutletsListParams) WithDescriptionEmpty(descriptionEmpty *string) *DcimPowerOutletsListParams {
   421  	o.SetDescriptionEmpty(descriptionEmpty)
   422  	return o
   423  }
   424  
   425  // SetDescriptionEmpty adds the descriptionEmpty to the dcim power outlets list params
   426  func (o *DcimPowerOutletsListParams) SetDescriptionEmpty(descriptionEmpty *string) {
   427  	o.DescriptionEmpty = descriptionEmpty
   428  }
   429  
   430  // WithDescriptionIc adds the descriptionIc to the dcim power outlets list params
   431  func (o *DcimPowerOutletsListParams) WithDescriptionIc(descriptionIc *string) *DcimPowerOutletsListParams {
   432  	o.SetDescriptionIc(descriptionIc)
   433  	return o
   434  }
   435  
   436  // SetDescriptionIc adds the descriptionIc to the dcim power outlets list params
   437  func (o *DcimPowerOutletsListParams) SetDescriptionIc(descriptionIc *string) {
   438  	o.DescriptionIc = descriptionIc
   439  }
   440  
   441  // WithDescriptionIe adds the descriptionIe to the dcim power outlets list params
   442  func (o *DcimPowerOutletsListParams) WithDescriptionIe(descriptionIe *string) *DcimPowerOutletsListParams {
   443  	o.SetDescriptionIe(descriptionIe)
   444  	return o
   445  }
   446  
   447  // SetDescriptionIe adds the descriptionIe to the dcim power outlets list params
   448  func (o *DcimPowerOutletsListParams) SetDescriptionIe(descriptionIe *string) {
   449  	o.DescriptionIe = descriptionIe
   450  }
   451  
   452  // WithDescriptionIew adds the descriptionIew to the dcim power outlets list params
   453  func (o *DcimPowerOutletsListParams) WithDescriptionIew(descriptionIew *string) *DcimPowerOutletsListParams {
   454  	o.SetDescriptionIew(descriptionIew)
   455  	return o
   456  }
   457  
   458  // SetDescriptionIew adds the descriptionIew to the dcim power outlets list params
   459  func (o *DcimPowerOutletsListParams) SetDescriptionIew(descriptionIew *string) {
   460  	o.DescriptionIew = descriptionIew
   461  }
   462  
   463  // WithDescriptionIsw adds the descriptionIsw to the dcim power outlets list params
   464  func (o *DcimPowerOutletsListParams) WithDescriptionIsw(descriptionIsw *string) *DcimPowerOutletsListParams {
   465  	o.SetDescriptionIsw(descriptionIsw)
   466  	return o
   467  }
   468  
   469  // SetDescriptionIsw adds the descriptionIsw to the dcim power outlets list params
   470  func (o *DcimPowerOutletsListParams) SetDescriptionIsw(descriptionIsw *string) {
   471  	o.DescriptionIsw = descriptionIsw
   472  }
   473  
   474  // WithDescriptionn adds the descriptionn to the dcim power outlets list params
   475  func (o *DcimPowerOutletsListParams) WithDescriptionn(descriptionn *string) *DcimPowerOutletsListParams {
   476  	o.SetDescriptionn(descriptionn)
   477  	return o
   478  }
   479  
   480  // SetDescriptionn adds the descriptionN to the dcim power outlets list params
   481  func (o *DcimPowerOutletsListParams) SetDescriptionn(descriptionn *string) {
   482  	o.Descriptionn = descriptionn
   483  }
   484  
   485  // WithDescriptionNic adds the descriptionNic to the dcim power outlets list params
   486  func (o *DcimPowerOutletsListParams) WithDescriptionNic(descriptionNic *string) *DcimPowerOutletsListParams {
   487  	o.SetDescriptionNic(descriptionNic)
   488  	return o
   489  }
   490  
   491  // SetDescriptionNic adds the descriptionNic to the dcim power outlets list params
   492  func (o *DcimPowerOutletsListParams) SetDescriptionNic(descriptionNic *string) {
   493  	o.DescriptionNic = descriptionNic
   494  }
   495  
   496  // WithDescriptionNie adds the descriptionNie to the dcim power outlets list params
   497  func (o *DcimPowerOutletsListParams) WithDescriptionNie(descriptionNie *string) *DcimPowerOutletsListParams {
   498  	o.SetDescriptionNie(descriptionNie)
   499  	return o
   500  }
   501  
   502  // SetDescriptionNie adds the descriptionNie to the dcim power outlets list params
   503  func (o *DcimPowerOutletsListParams) SetDescriptionNie(descriptionNie *string) {
   504  	o.DescriptionNie = descriptionNie
   505  }
   506  
   507  // WithDescriptionNiew adds the descriptionNiew to the dcim power outlets list params
   508  func (o *DcimPowerOutletsListParams) WithDescriptionNiew(descriptionNiew *string) *DcimPowerOutletsListParams {
   509  	o.SetDescriptionNiew(descriptionNiew)
   510  	return o
   511  }
   512  
   513  // SetDescriptionNiew adds the descriptionNiew to the dcim power outlets list params
   514  func (o *DcimPowerOutletsListParams) SetDescriptionNiew(descriptionNiew *string) {
   515  	o.DescriptionNiew = descriptionNiew
   516  }
   517  
   518  // WithDescriptionNisw adds the descriptionNisw to the dcim power outlets list params
   519  func (o *DcimPowerOutletsListParams) WithDescriptionNisw(descriptionNisw *string) *DcimPowerOutletsListParams {
   520  	o.SetDescriptionNisw(descriptionNisw)
   521  	return o
   522  }
   523  
   524  // SetDescriptionNisw adds the descriptionNisw to the dcim power outlets list params
   525  func (o *DcimPowerOutletsListParams) SetDescriptionNisw(descriptionNisw *string) {
   526  	o.DescriptionNisw = descriptionNisw
   527  }
   528  
   529  // WithDevice adds the device to the dcim power outlets list params
   530  func (o *DcimPowerOutletsListParams) WithDevice(device *string) *DcimPowerOutletsListParams {
   531  	o.SetDevice(device)
   532  	return o
   533  }
   534  
   535  // SetDevice adds the device to the dcim power outlets list params
   536  func (o *DcimPowerOutletsListParams) SetDevice(device *string) {
   537  	o.Device = device
   538  }
   539  
   540  // WithDevicen adds the devicen to the dcim power outlets list params
   541  func (o *DcimPowerOutletsListParams) WithDevicen(devicen *string) *DcimPowerOutletsListParams {
   542  	o.SetDevicen(devicen)
   543  	return o
   544  }
   545  
   546  // SetDevicen adds the deviceN to the dcim power outlets list params
   547  func (o *DcimPowerOutletsListParams) SetDevicen(devicen *string) {
   548  	o.Devicen = devicen
   549  }
   550  
   551  // WithDeviceID adds the deviceID to the dcim power outlets list params
   552  func (o *DcimPowerOutletsListParams) WithDeviceID(deviceID *string) *DcimPowerOutletsListParams {
   553  	o.SetDeviceID(deviceID)
   554  	return o
   555  }
   556  
   557  // SetDeviceID adds the deviceId to the dcim power outlets list params
   558  func (o *DcimPowerOutletsListParams) SetDeviceID(deviceID *string) {
   559  	o.DeviceID = deviceID
   560  }
   561  
   562  // WithDeviceIDn adds the deviceIDn to the dcim power outlets list params
   563  func (o *DcimPowerOutletsListParams) WithDeviceIDn(deviceIDn *string) *DcimPowerOutletsListParams {
   564  	o.SetDeviceIDn(deviceIDn)
   565  	return o
   566  }
   567  
   568  // SetDeviceIDn adds the deviceIdN to the dcim power outlets list params
   569  func (o *DcimPowerOutletsListParams) SetDeviceIDn(deviceIDn *string) {
   570  	o.DeviceIDn = deviceIDn
   571  }
   572  
   573  // WithFeedLeg adds the feedLeg to the dcim power outlets list params
   574  func (o *DcimPowerOutletsListParams) WithFeedLeg(feedLeg *string) *DcimPowerOutletsListParams {
   575  	o.SetFeedLeg(feedLeg)
   576  	return o
   577  }
   578  
   579  // SetFeedLeg adds the feedLeg to the dcim power outlets list params
   580  func (o *DcimPowerOutletsListParams) SetFeedLeg(feedLeg *string) {
   581  	o.FeedLeg = feedLeg
   582  }
   583  
   584  // WithFeedLegn adds the feedLegn to the dcim power outlets list params
   585  func (o *DcimPowerOutletsListParams) WithFeedLegn(feedLegn *string) *DcimPowerOutletsListParams {
   586  	o.SetFeedLegn(feedLegn)
   587  	return o
   588  }
   589  
   590  // SetFeedLegn adds the feedLegN to the dcim power outlets list params
   591  func (o *DcimPowerOutletsListParams) SetFeedLegn(feedLegn *string) {
   592  	o.FeedLegn = feedLegn
   593  }
   594  
   595  // WithID adds the id to the dcim power outlets list params
   596  func (o *DcimPowerOutletsListParams) WithID(id *string) *DcimPowerOutletsListParams {
   597  	o.SetID(id)
   598  	return o
   599  }
   600  
   601  // SetID adds the id to the dcim power outlets list params
   602  func (o *DcimPowerOutletsListParams) SetID(id *string) {
   603  	o.ID = id
   604  }
   605  
   606  // WithIDGt adds the iDGt to the dcim power outlets list params
   607  func (o *DcimPowerOutletsListParams) WithIDGt(iDGt *string) *DcimPowerOutletsListParams {
   608  	o.SetIDGt(iDGt)
   609  	return o
   610  }
   611  
   612  // SetIDGt adds the idGt to the dcim power outlets list params
   613  func (o *DcimPowerOutletsListParams) SetIDGt(iDGt *string) {
   614  	o.IDGt = iDGt
   615  }
   616  
   617  // WithIDGte adds the iDGte to the dcim power outlets list params
   618  func (o *DcimPowerOutletsListParams) WithIDGte(iDGte *string) *DcimPowerOutletsListParams {
   619  	o.SetIDGte(iDGte)
   620  	return o
   621  }
   622  
   623  // SetIDGte adds the idGte to the dcim power outlets list params
   624  func (o *DcimPowerOutletsListParams) SetIDGte(iDGte *string) {
   625  	o.IDGte = iDGte
   626  }
   627  
   628  // WithIDLt adds the iDLt to the dcim power outlets list params
   629  func (o *DcimPowerOutletsListParams) WithIDLt(iDLt *string) *DcimPowerOutletsListParams {
   630  	o.SetIDLt(iDLt)
   631  	return o
   632  }
   633  
   634  // SetIDLt adds the idLt to the dcim power outlets list params
   635  func (o *DcimPowerOutletsListParams) SetIDLt(iDLt *string) {
   636  	o.IDLt = iDLt
   637  }
   638  
   639  // WithIDLte adds the iDLte to the dcim power outlets list params
   640  func (o *DcimPowerOutletsListParams) WithIDLte(iDLte *string) *DcimPowerOutletsListParams {
   641  	o.SetIDLte(iDLte)
   642  	return o
   643  }
   644  
   645  // SetIDLte adds the idLte to the dcim power outlets list params
   646  func (o *DcimPowerOutletsListParams) SetIDLte(iDLte *string) {
   647  	o.IDLte = iDLte
   648  }
   649  
   650  // WithIDn adds the iDn to the dcim power outlets list params
   651  func (o *DcimPowerOutletsListParams) WithIDn(iDn *string) *DcimPowerOutletsListParams {
   652  	o.SetIDn(iDn)
   653  	return o
   654  }
   655  
   656  // SetIDn adds the idN to the dcim power outlets list params
   657  func (o *DcimPowerOutletsListParams) SetIDn(iDn *string) {
   658  	o.IDn = iDn
   659  }
   660  
   661  // WithLabel adds the label to the dcim power outlets list params
   662  func (o *DcimPowerOutletsListParams) WithLabel(label *string) *DcimPowerOutletsListParams {
   663  	o.SetLabel(label)
   664  	return o
   665  }
   666  
   667  // SetLabel adds the label to the dcim power outlets list params
   668  func (o *DcimPowerOutletsListParams) SetLabel(label *string) {
   669  	o.Label = label
   670  }
   671  
   672  // WithLabelEmpty adds the labelEmpty to the dcim power outlets list params
   673  func (o *DcimPowerOutletsListParams) WithLabelEmpty(labelEmpty *string) *DcimPowerOutletsListParams {
   674  	o.SetLabelEmpty(labelEmpty)
   675  	return o
   676  }
   677  
   678  // SetLabelEmpty adds the labelEmpty to the dcim power outlets list params
   679  func (o *DcimPowerOutletsListParams) SetLabelEmpty(labelEmpty *string) {
   680  	o.LabelEmpty = labelEmpty
   681  }
   682  
   683  // WithLabelIc adds the labelIc to the dcim power outlets list params
   684  func (o *DcimPowerOutletsListParams) WithLabelIc(labelIc *string) *DcimPowerOutletsListParams {
   685  	o.SetLabelIc(labelIc)
   686  	return o
   687  }
   688  
   689  // SetLabelIc adds the labelIc to the dcim power outlets list params
   690  func (o *DcimPowerOutletsListParams) SetLabelIc(labelIc *string) {
   691  	o.LabelIc = labelIc
   692  }
   693  
   694  // WithLabelIe adds the labelIe to the dcim power outlets list params
   695  func (o *DcimPowerOutletsListParams) WithLabelIe(labelIe *string) *DcimPowerOutletsListParams {
   696  	o.SetLabelIe(labelIe)
   697  	return o
   698  }
   699  
   700  // SetLabelIe adds the labelIe to the dcim power outlets list params
   701  func (o *DcimPowerOutletsListParams) SetLabelIe(labelIe *string) {
   702  	o.LabelIe = labelIe
   703  }
   704  
   705  // WithLabelIew adds the labelIew to the dcim power outlets list params
   706  func (o *DcimPowerOutletsListParams) WithLabelIew(labelIew *string) *DcimPowerOutletsListParams {
   707  	o.SetLabelIew(labelIew)
   708  	return o
   709  }
   710  
   711  // SetLabelIew adds the labelIew to the dcim power outlets list params
   712  func (o *DcimPowerOutletsListParams) SetLabelIew(labelIew *string) {
   713  	o.LabelIew = labelIew
   714  }
   715  
   716  // WithLabelIsw adds the labelIsw to the dcim power outlets list params
   717  func (o *DcimPowerOutletsListParams) WithLabelIsw(labelIsw *string) *DcimPowerOutletsListParams {
   718  	o.SetLabelIsw(labelIsw)
   719  	return o
   720  }
   721  
   722  // SetLabelIsw adds the labelIsw to the dcim power outlets list params
   723  func (o *DcimPowerOutletsListParams) SetLabelIsw(labelIsw *string) {
   724  	o.LabelIsw = labelIsw
   725  }
   726  
   727  // WithLabeln adds the labeln to the dcim power outlets list params
   728  func (o *DcimPowerOutletsListParams) WithLabeln(labeln *string) *DcimPowerOutletsListParams {
   729  	o.SetLabeln(labeln)
   730  	return o
   731  }
   732  
   733  // SetLabeln adds the labelN to the dcim power outlets list params
   734  func (o *DcimPowerOutletsListParams) SetLabeln(labeln *string) {
   735  	o.Labeln = labeln
   736  }
   737  
   738  // WithLabelNic adds the labelNic to the dcim power outlets list params
   739  func (o *DcimPowerOutletsListParams) WithLabelNic(labelNic *string) *DcimPowerOutletsListParams {
   740  	o.SetLabelNic(labelNic)
   741  	return o
   742  }
   743  
   744  // SetLabelNic adds the labelNic to the dcim power outlets list params
   745  func (o *DcimPowerOutletsListParams) SetLabelNic(labelNic *string) {
   746  	o.LabelNic = labelNic
   747  }
   748  
   749  // WithLabelNie adds the labelNie to the dcim power outlets list params
   750  func (o *DcimPowerOutletsListParams) WithLabelNie(labelNie *string) *DcimPowerOutletsListParams {
   751  	o.SetLabelNie(labelNie)
   752  	return o
   753  }
   754  
   755  // SetLabelNie adds the labelNie to the dcim power outlets list params
   756  func (o *DcimPowerOutletsListParams) SetLabelNie(labelNie *string) {
   757  	o.LabelNie = labelNie
   758  }
   759  
   760  // WithLabelNiew adds the labelNiew to the dcim power outlets list params
   761  func (o *DcimPowerOutletsListParams) WithLabelNiew(labelNiew *string) *DcimPowerOutletsListParams {
   762  	o.SetLabelNiew(labelNiew)
   763  	return o
   764  }
   765  
   766  // SetLabelNiew adds the labelNiew to the dcim power outlets list params
   767  func (o *DcimPowerOutletsListParams) SetLabelNiew(labelNiew *string) {
   768  	o.LabelNiew = labelNiew
   769  }
   770  
   771  // WithLabelNisw adds the labelNisw to the dcim power outlets list params
   772  func (o *DcimPowerOutletsListParams) WithLabelNisw(labelNisw *string) *DcimPowerOutletsListParams {
   773  	o.SetLabelNisw(labelNisw)
   774  	return o
   775  }
   776  
   777  // SetLabelNisw adds the labelNisw to the dcim power outlets list params
   778  func (o *DcimPowerOutletsListParams) SetLabelNisw(labelNisw *string) {
   779  	o.LabelNisw = labelNisw
   780  }
   781  
   782  // WithLastUpdated adds the lastUpdated to the dcim power outlets list params
   783  func (o *DcimPowerOutletsListParams) WithLastUpdated(lastUpdated *string) *DcimPowerOutletsListParams {
   784  	o.SetLastUpdated(lastUpdated)
   785  	return o
   786  }
   787  
   788  // SetLastUpdated adds the lastUpdated to the dcim power outlets list params
   789  func (o *DcimPowerOutletsListParams) SetLastUpdated(lastUpdated *string) {
   790  	o.LastUpdated = lastUpdated
   791  }
   792  
   793  // WithLastUpdatedGte adds the lastUpdatedGte to the dcim power outlets list params
   794  func (o *DcimPowerOutletsListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimPowerOutletsListParams {
   795  	o.SetLastUpdatedGte(lastUpdatedGte)
   796  	return o
   797  }
   798  
   799  // SetLastUpdatedGte adds the lastUpdatedGte to the dcim power outlets list params
   800  func (o *DcimPowerOutletsListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   801  	o.LastUpdatedGte = lastUpdatedGte
   802  }
   803  
   804  // WithLastUpdatedLte adds the lastUpdatedLte to the dcim power outlets list params
   805  func (o *DcimPowerOutletsListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimPowerOutletsListParams {
   806  	o.SetLastUpdatedLte(lastUpdatedLte)
   807  	return o
   808  }
   809  
   810  // SetLastUpdatedLte adds the lastUpdatedLte to the dcim power outlets list params
   811  func (o *DcimPowerOutletsListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   812  	o.LastUpdatedLte = lastUpdatedLte
   813  }
   814  
   815  // WithLimit adds the limit to the dcim power outlets list params
   816  func (o *DcimPowerOutletsListParams) WithLimit(limit *int64) *DcimPowerOutletsListParams {
   817  	o.SetLimit(limit)
   818  	return o
   819  }
   820  
   821  // SetLimit adds the limit to the dcim power outlets list params
   822  func (o *DcimPowerOutletsListParams) SetLimit(limit *int64) {
   823  	o.Limit = limit
   824  }
   825  
   826  // WithName adds the name to the dcim power outlets list params
   827  func (o *DcimPowerOutletsListParams) WithName(name *string) *DcimPowerOutletsListParams {
   828  	o.SetName(name)
   829  	return o
   830  }
   831  
   832  // SetName adds the name to the dcim power outlets list params
   833  func (o *DcimPowerOutletsListParams) SetName(name *string) {
   834  	o.Name = name
   835  }
   836  
   837  // WithNameEmpty adds the nameEmpty to the dcim power outlets list params
   838  func (o *DcimPowerOutletsListParams) WithNameEmpty(nameEmpty *string) *DcimPowerOutletsListParams {
   839  	o.SetNameEmpty(nameEmpty)
   840  	return o
   841  }
   842  
   843  // SetNameEmpty adds the nameEmpty to the dcim power outlets list params
   844  func (o *DcimPowerOutletsListParams) SetNameEmpty(nameEmpty *string) {
   845  	o.NameEmpty = nameEmpty
   846  }
   847  
   848  // WithNameIc adds the nameIc to the dcim power outlets list params
   849  func (o *DcimPowerOutletsListParams) WithNameIc(nameIc *string) *DcimPowerOutletsListParams {
   850  	o.SetNameIc(nameIc)
   851  	return o
   852  }
   853  
   854  // SetNameIc adds the nameIc to the dcim power outlets list params
   855  func (o *DcimPowerOutletsListParams) SetNameIc(nameIc *string) {
   856  	o.NameIc = nameIc
   857  }
   858  
   859  // WithNameIe adds the nameIe to the dcim power outlets list params
   860  func (o *DcimPowerOutletsListParams) WithNameIe(nameIe *string) *DcimPowerOutletsListParams {
   861  	o.SetNameIe(nameIe)
   862  	return o
   863  }
   864  
   865  // SetNameIe adds the nameIe to the dcim power outlets list params
   866  func (o *DcimPowerOutletsListParams) SetNameIe(nameIe *string) {
   867  	o.NameIe = nameIe
   868  }
   869  
   870  // WithNameIew adds the nameIew to the dcim power outlets list params
   871  func (o *DcimPowerOutletsListParams) WithNameIew(nameIew *string) *DcimPowerOutletsListParams {
   872  	o.SetNameIew(nameIew)
   873  	return o
   874  }
   875  
   876  // SetNameIew adds the nameIew to the dcim power outlets list params
   877  func (o *DcimPowerOutletsListParams) SetNameIew(nameIew *string) {
   878  	o.NameIew = nameIew
   879  }
   880  
   881  // WithNameIsw adds the nameIsw to the dcim power outlets list params
   882  func (o *DcimPowerOutletsListParams) WithNameIsw(nameIsw *string) *DcimPowerOutletsListParams {
   883  	o.SetNameIsw(nameIsw)
   884  	return o
   885  }
   886  
   887  // SetNameIsw adds the nameIsw to the dcim power outlets list params
   888  func (o *DcimPowerOutletsListParams) SetNameIsw(nameIsw *string) {
   889  	o.NameIsw = nameIsw
   890  }
   891  
   892  // WithNamen adds the namen to the dcim power outlets list params
   893  func (o *DcimPowerOutletsListParams) WithNamen(namen *string) *DcimPowerOutletsListParams {
   894  	o.SetNamen(namen)
   895  	return o
   896  }
   897  
   898  // SetNamen adds the nameN to the dcim power outlets list params
   899  func (o *DcimPowerOutletsListParams) SetNamen(namen *string) {
   900  	o.Namen = namen
   901  }
   902  
   903  // WithNameNic adds the nameNic to the dcim power outlets list params
   904  func (o *DcimPowerOutletsListParams) WithNameNic(nameNic *string) *DcimPowerOutletsListParams {
   905  	o.SetNameNic(nameNic)
   906  	return o
   907  }
   908  
   909  // SetNameNic adds the nameNic to the dcim power outlets list params
   910  func (o *DcimPowerOutletsListParams) SetNameNic(nameNic *string) {
   911  	o.NameNic = nameNic
   912  }
   913  
   914  // WithNameNie adds the nameNie to the dcim power outlets list params
   915  func (o *DcimPowerOutletsListParams) WithNameNie(nameNie *string) *DcimPowerOutletsListParams {
   916  	o.SetNameNie(nameNie)
   917  	return o
   918  }
   919  
   920  // SetNameNie adds the nameNie to the dcim power outlets list params
   921  func (o *DcimPowerOutletsListParams) SetNameNie(nameNie *string) {
   922  	o.NameNie = nameNie
   923  }
   924  
   925  // WithNameNiew adds the nameNiew to the dcim power outlets list params
   926  func (o *DcimPowerOutletsListParams) WithNameNiew(nameNiew *string) *DcimPowerOutletsListParams {
   927  	o.SetNameNiew(nameNiew)
   928  	return o
   929  }
   930  
   931  // SetNameNiew adds the nameNiew to the dcim power outlets list params
   932  func (o *DcimPowerOutletsListParams) SetNameNiew(nameNiew *string) {
   933  	o.NameNiew = nameNiew
   934  }
   935  
   936  // WithNameNisw adds the nameNisw to the dcim power outlets list params
   937  func (o *DcimPowerOutletsListParams) WithNameNisw(nameNisw *string) *DcimPowerOutletsListParams {
   938  	o.SetNameNisw(nameNisw)
   939  	return o
   940  }
   941  
   942  // SetNameNisw adds the nameNisw to the dcim power outlets list params
   943  func (o *DcimPowerOutletsListParams) SetNameNisw(nameNisw *string) {
   944  	o.NameNisw = nameNisw
   945  }
   946  
   947  // WithOffset adds the offset to the dcim power outlets list params
   948  func (o *DcimPowerOutletsListParams) WithOffset(offset *int64) *DcimPowerOutletsListParams {
   949  	o.SetOffset(offset)
   950  	return o
   951  }
   952  
   953  // SetOffset adds the offset to the dcim power outlets list params
   954  func (o *DcimPowerOutletsListParams) SetOffset(offset *int64) {
   955  	o.Offset = offset
   956  }
   957  
   958  // WithQ adds the q to the dcim power outlets list params
   959  func (o *DcimPowerOutletsListParams) WithQ(q *string) *DcimPowerOutletsListParams {
   960  	o.SetQ(q)
   961  	return o
   962  }
   963  
   964  // SetQ adds the q to the dcim power outlets list params
   965  func (o *DcimPowerOutletsListParams) SetQ(q *string) {
   966  	o.Q = q
   967  }
   968  
   969  // WithRegion adds the region to the dcim power outlets list params
   970  func (o *DcimPowerOutletsListParams) WithRegion(region *string) *DcimPowerOutletsListParams {
   971  	o.SetRegion(region)
   972  	return o
   973  }
   974  
   975  // SetRegion adds the region to the dcim power outlets list params
   976  func (o *DcimPowerOutletsListParams) SetRegion(region *string) {
   977  	o.Region = region
   978  }
   979  
   980  // WithRegionn adds the regionn to the dcim power outlets list params
   981  func (o *DcimPowerOutletsListParams) WithRegionn(regionn *string) *DcimPowerOutletsListParams {
   982  	o.SetRegionn(regionn)
   983  	return o
   984  }
   985  
   986  // SetRegionn adds the regionN to the dcim power outlets list params
   987  func (o *DcimPowerOutletsListParams) SetRegionn(regionn *string) {
   988  	o.Regionn = regionn
   989  }
   990  
   991  // WithRegionID adds the regionID to the dcim power outlets list params
   992  func (o *DcimPowerOutletsListParams) WithRegionID(regionID *string) *DcimPowerOutletsListParams {
   993  	o.SetRegionID(regionID)
   994  	return o
   995  }
   996  
   997  // SetRegionID adds the regionId to the dcim power outlets list params
   998  func (o *DcimPowerOutletsListParams) SetRegionID(regionID *string) {
   999  	o.RegionID = regionID
  1000  }
  1001  
  1002  // WithRegionIDn adds the regionIDn to the dcim power outlets list params
  1003  func (o *DcimPowerOutletsListParams) WithRegionIDn(regionIDn *string) *DcimPowerOutletsListParams {
  1004  	o.SetRegionIDn(regionIDn)
  1005  	return o
  1006  }
  1007  
  1008  // SetRegionIDn adds the regionIdN to the dcim power outlets list params
  1009  func (o *DcimPowerOutletsListParams) SetRegionIDn(regionIDn *string) {
  1010  	o.RegionIDn = regionIDn
  1011  }
  1012  
  1013  // WithSite adds the site to the dcim power outlets list params
  1014  func (o *DcimPowerOutletsListParams) WithSite(site *string) *DcimPowerOutletsListParams {
  1015  	o.SetSite(site)
  1016  	return o
  1017  }
  1018  
  1019  // SetSite adds the site to the dcim power outlets list params
  1020  func (o *DcimPowerOutletsListParams) SetSite(site *string) {
  1021  	o.Site = site
  1022  }
  1023  
  1024  // WithSiten adds the siten to the dcim power outlets list params
  1025  func (o *DcimPowerOutletsListParams) WithSiten(siten *string) *DcimPowerOutletsListParams {
  1026  	o.SetSiten(siten)
  1027  	return o
  1028  }
  1029  
  1030  // SetSiten adds the siteN to the dcim power outlets list params
  1031  func (o *DcimPowerOutletsListParams) SetSiten(siten *string) {
  1032  	o.Siten = siten
  1033  }
  1034  
  1035  // WithSiteGroup adds the siteGroup to the dcim power outlets list params
  1036  func (o *DcimPowerOutletsListParams) WithSiteGroup(siteGroup *string) *DcimPowerOutletsListParams {
  1037  	o.SetSiteGroup(siteGroup)
  1038  	return o
  1039  }
  1040  
  1041  // SetSiteGroup adds the siteGroup to the dcim power outlets list params
  1042  func (o *DcimPowerOutletsListParams) SetSiteGroup(siteGroup *string) {
  1043  	o.SiteGroup = siteGroup
  1044  }
  1045  
  1046  // WithSiteGroupn adds the siteGroupn to the dcim power outlets list params
  1047  func (o *DcimPowerOutletsListParams) WithSiteGroupn(siteGroupn *string) *DcimPowerOutletsListParams {
  1048  	o.SetSiteGroupn(siteGroupn)
  1049  	return o
  1050  }
  1051  
  1052  // SetSiteGroupn adds the siteGroupN to the dcim power outlets list params
  1053  func (o *DcimPowerOutletsListParams) SetSiteGroupn(siteGroupn *string) {
  1054  	o.SiteGroupn = siteGroupn
  1055  }
  1056  
  1057  // WithSiteGroupID adds the siteGroupID to the dcim power outlets list params
  1058  func (o *DcimPowerOutletsListParams) WithSiteGroupID(siteGroupID *string) *DcimPowerOutletsListParams {
  1059  	o.SetSiteGroupID(siteGroupID)
  1060  	return o
  1061  }
  1062  
  1063  // SetSiteGroupID adds the siteGroupId to the dcim power outlets list params
  1064  func (o *DcimPowerOutletsListParams) SetSiteGroupID(siteGroupID *string) {
  1065  	o.SiteGroupID = siteGroupID
  1066  }
  1067  
  1068  // WithSiteGroupIDn adds the siteGroupIDn to the dcim power outlets list params
  1069  func (o *DcimPowerOutletsListParams) WithSiteGroupIDn(siteGroupIDn *string) *DcimPowerOutletsListParams {
  1070  	o.SetSiteGroupIDn(siteGroupIDn)
  1071  	return o
  1072  }
  1073  
  1074  // SetSiteGroupIDn adds the siteGroupIdN to the dcim power outlets list params
  1075  func (o *DcimPowerOutletsListParams) SetSiteGroupIDn(siteGroupIDn *string) {
  1076  	o.SiteGroupIDn = siteGroupIDn
  1077  }
  1078  
  1079  // WithSiteID adds the siteID to the dcim power outlets list params
  1080  func (o *DcimPowerOutletsListParams) WithSiteID(siteID *string) *DcimPowerOutletsListParams {
  1081  	o.SetSiteID(siteID)
  1082  	return o
  1083  }
  1084  
  1085  // SetSiteID adds the siteId to the dcim power outlets list params
  1086  func (o *DcimPowerOutletsListParams) SetSiteID(siteID *string) {
  1087  	o.SiteID = siteID
  1088  }
  1089  
  1090  // WithSiteIDn adds the siteIDn to the dcim power outlets list params
  1091  func (o *DcimPowerOutletsListParams) WithSiteIDn(siteIDn *string) *DcimPowerOutletsListParams {
  1092  	o.SetSiteIDn(siteIDn)
  1093  	return o
  1094  }
  1095  
  1096  // SetSiteIDn adds the siteIdN to the dcim power outlets list params
  1097  func (o *DcimPowerOutletsListParams) SetSiteIDn(siteIDn *string) {
  1098  	o.SiteIDn = siteIDn
  1099  }
  1100  
  1101  // WithTag adds the tag to the dcim power outlets list params
  1102  func (o *DcimPowerOutletsListParams) WithTag(tag *string) *DcimPowerOutletsListParams {
  1103  	o.SetTag(tag)
  1104  	return o
  1105  }
  1106  
  1107  // SetTag adds the tag to the dcim power outlets list params
  1108  func (o *DcimPowerOutletsListParams) SetTag(tag *string) {
  1109  	o.Tag = tag
  1110  }
  1111  
  1112  // WithTagn adds the tagn to the dcim power outlets list params
  1113  func (o *DcimPowerOutletsListParams) WithTagn(tagn *string) *DcimPowerOutletsListParams {
  1114  	o.SetTagn(tagn)
  1115  	return o
  1116  }
  1117  
  1118  // SetTagn adds the tagN to the dcim power outlets list params
  1119  func (o *DcimPowerOutletsListParams) SetTagn(tagn *string) {
  1120  	o.Tagn = tagn
  1121  }
  1122  
  1123  // WithType adds the typeVar to the dcim power outlets list params
  1124  func (o *DcimPowerOutletsListParams) WithType(typeVar *string) *DcimPowerOutletsListParams {
  1125  	o.SetType(typeVar)
  1126  	return o
  1127  }
  1128  
  1129  // SetType adds the type to the dcim power outlets list params
  1130  func (o *DcimPowerOutletsListParams) SetType(typeVar *string) {
  1131  	o.Type = typeVar
  1132  }
  1133  
  1134  // WithTypen adds the typen to the dcim power outlets list params
  1135  func (o *DcimPowerOutletsListParams) WithTypen(typen *string) *DcimPowerOutletsListParams {
  1136  	o.SetTypen(typen)
  1137  	return o
  1138  }
  1139  
  1140  // SetTypen adds the typeN to the dcim power outlets list params
  1141  func (o *DcimPowerOutletsListParams) SetTypen(typen *string) {
  1142  	o.Typen = typen
  1143  }
  1144  
  1145  // WriteToRequest writes these params to a swagger request
  1146  func (o *DcimPowerOutletsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
  1147  
  1148  	if err := r.SetTimeout(o.timeout); err != nil {
  1149  		return err
  1150  	}
  1151  	var res []error
  1152  
  1153  	if o.Cabled != nil {
  1154  
  1155  		// query param cabled
  1156  		var qrCabled string
  1157  
  1158  		if o.Cabled != nil {
  1159  			qrCabled = *o.Cabled
  1160  		}
  1161  		qCabled := qrCabled
  1162  		if qCabled != "" {
  1163  
  1164  			if err := r.SetQueryParam("cabled", qCabled); err != nil {
  1165  				return err
  1166  			}
  1167  		}
  1168  	}
  1169  
  1170  	if o.Connected != nil {
  1171  
  1172  		// query param connected
  1173  		var qrConnected string
  1174  
  1175  		if o.Connected != nil {
  1176  			qrConnected = *o.Connected
  1177  		}
  1178  		qConnected := qrConnected
  1179  		if qConnected != "" {
  1180  
  1181  			if err := r.SetQueryParam("connected", qConnected); err != nil {
  1182  				return err
  1183  			}
  1184  		}
  1185  	}
  1186  
  1187  	if o.Created != nil {
  1188  
  1189  		// query param created
  1190  		var qrCreated string
  1191  
  1192  		if o.Created != nil {
  1193  			qrCreated = *o.Created
  1194  		}
  1195  		qCreated := qrCreated
  1196  		if qCreated != "" {
  1197  
  1198  			if err := r.SetQueryParam("created", qCreated); err != nil {
  1199  				return err
  1200  			}
  1201  		}
  1202  	}
  1203  
  1204  	if o.CreatedGte != nil {
  1205  
  1206  		// query param created__gte
  1207  		var qrCreatedGte string
  1208  
  1209  		if o.CreatedGte != nil {
  1210  			qrCreatedGte = *o.CreatedGte
  1211  		}
  1212  		qCreatedGte := qrCreatedGte
  1213  		if qCreatedGte != "" {
  1214  
  1215  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  1216  				return err
  1217  			}
  1218  		}
  1219  	}
  1220  
  1221  	if o.CreatedLte != nil {
  1222  
  1223  		// query param created__lte
  1224  		var qrCreatedLte string
  1225  
  1226  		if o.CreatedLte != nil {
  1227  			qrCreatedLte = *o.CreatedLte
  1228  		}
  1229  		qCreatedLte := qrCreatedLte
  1230  		if qCreatedLte != "" {
  1231  
  1232  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  1233  				return err
  1234  			}
  1235  		}
  1236  	}
  1237  
  1238  	if o.Description != nil {
  1239  
  1240  		// query param description
  1241  		var qrDescription string
  1242  
  1243  		if o.Description != nil {
  1244  			qrDescription = *o.Description
  1245  		}
  1246  		qDescription := qrDescription
  1247  		if qDescription != "" {
  1248  
  1249  			if err := r.SetQueryParam("description", qDescription); err != nil {
  1250  				return err
  1251  			}
  1252  		}
  1253  	}
  1254  
  1255  	if o.DescriptionEmpty != nil {
  1256  
  1257  		// query param description__empty
  1258  		var qrDescriptionEmpty string
  1259  
  1260  		if o.DescriptionEmpty != nil {
  1261  			qrDescriptionEmpty = *o.DescriptionEmpty
  1262  		}
  1263  		qDescriptionEmpty := qrDescriptionEmpty
  1264  		if qDescriptionEmpty != "" {
  1265  
  1266  			if err := r.SetQueryParam("description__empty", qDescriptionEmpty); err != nil {
  1267  				return err
  1268  			}
  1269  		}
  1270  	}
  1271  
  1272  	if o.DescriptionIc != nil {
  1273  
  1274  		// query param description__ic
  1275  		var qrDescriptionIc string
  1276  
  1277  		if o.DescriptionIc != nil {
  1278  			qrDescriptionIc = *o.DescriptionIc
  1279  		}
  1280  		qDescriptionIc := qrDescriptionIc
  1281  		if qDescriptionIc != "" {
  1282  
  1283  			if err := r.SetQueryParam("description__ic", qDescriptionIc); err != nil {
  1284  				return err
  1285  			}
  1286  		}
  1287  	}
  1288  
  1289  	if o.DescriptionIe != nil {
  1290  
  1291  		// query param description__ie
  1292  		var qrDescriptionIe string
  1293  
  1294  		if o.DescriptionIe != nil {
  1295  			qrDescriptionIe = *o.DescriptionIe
  1296  		}
  1297  		qDescriptionIe := qrDescriptionIe
  1298  		if qDescriptionIe != "" {
  1299  
  1300  			if err := r.SetQueryParam("description__ie", qDescriptionIe); err != nil {
  1301  				return err
  1302  			}
  1303  		}
  1304  	}
  1305  
  1306  	if o.DescriptionIew != nil {
  1307  
  1308  		// query param description__iew
  1309  		var qrDescriptionIew string
  1310  
  1311  		if o.DescriptionIew != nil {
  1312  			qrDescriptionIew = *o.DescriptionIew
  1313  		}
  1314  		qDescriptionIew := qrDescriptionIew
  1315  		if qDescriptionIew != "" {
  1316  
  1317  			if err := r.SetQueryParam("description__iew", qDescriptionIew); err != nil {
  1318  				return err
  1319  			}
  1320  		}
  1321  	}
  1322  
  1323  	if o.DescriptionIsw != nil {
  1324  
  1325  		// query param description__isw
  1326  		var qrDescriptionIsw string
  1327  
  1328  		if o.DescriptionIsw != nil {
  1329  			qrDescriptionIsw = *o.DescriptionIsw
  1330  		}
  1331  		qDescriptionIsw := qrDescriptionIsw
  1332  		if qDescriptionIsw != "" {
  1333  
  1334  			if err := r.SetQueryParam("description__isw", qDescriptionIsw); err != nil {
  1335  				return err
  1336  			}
  1337  		}
  1338  	}
  1339  
  1340  	if o.Descriptionn != nil {
  1341  
  1342  		// query param description__n
  1343  		var qrDescriptionn string
  1344  
  1345  		if o.Descriptionn != nil {
  1346  			qrDescriptionn = *o.Descriptionn
  1347  		}
  1348  		qDescriptionn := qrDescriptionn
  1349  		if qDescriptionn != "" {
  1350  
  1351  			if err := r.SetQueryParam("description__n", qDescriptionn); err != nil {
  1352  				return err
  1353  			}
  1354  		}
  1355  	}
  1356  
  1357  	if o.DescriptionNic != nil {
  1358  
  1359  		// query param description__nic
  1360  		var qrDescriptionNic string
  1361  
  1362  		if o.DescriptionNic != nil {
  1363  			qrDescriptionNic = *o.DescriptionNic
  1364  		}
  1365  		qDescriptionNic := qrDescriptionNic
  1366  		if qDescriptionNic != "" {
  1367  
  1368  			if err := r.SetQueryParam("description__nic", qDescriptionNic); err != nil {
  1369  				return err
  1370  			}
  1371  		}
  1372  	}
  1373  
  1374  	if o.DescriptionNie != nil {
  1375  
  1376  		// query param description__nie
  1377  		var qrDescriptionNie string
  1378  
  1379  		if o.DescriptionNie != nil {
  1380  			qrDescriptionNie = *o.DescriptionNie
  1381  		}
  1382  		qDescriptionNie := qrDescriptionNie
  1383  		if qDescriptionNie != "" {
  1384  
  1385  			if err := r.SetQueryParam("description__nie", qDescriptionNie); err != nil {
  1386  				return err
  1387  			}
  1388  		}
  1389  	}
  1390  
  1391  	if o.DescriptionNiew != nil {
  1392  
  1393  		// query param description__niew
  1394  		var qrDescriptionNiew string
  1395  
  1396  		if o.DescriptionNiew != nil {
  1397  			qrDescriptionNiew = *o.DescriptionNiew
  1398  		}
  1399  		qDescriptionNiew := qrDescriptionNiew
  1400  		if qDescriptionNiew != "" {
  1401  
  1402  			if err := r.SetQueryParam("description__niew", qDescriptionNiew); err != nil {
  1403  				return err
  1404  			}
  1405  		}
  1406  	}
  1407  
  1408  	if o.DescriptionNisw != nil {
  1409  
  1410  		// query param description__nisw
  1411  		var qrDescriptionNisw string
  1412  
  1413  		if o.DescriptionNisw != nil {
  1414  			qrDescriptionNisw = *o.DescriptionNisw
  1415  		}
  1416  		qDescriptionNisw := qrDescriptionNisw
  1417  		if qDescriptionNisw != "" {
  1418  
  1419  			if err := r.SetQueryParam("description__nisw", qDescriptionNisw); err != nil {
  1420  				return err
  1421  			}
  1422  		}
  1423  	}
  1424  
  1425  	if o.Device != nil {
  1426  
  1427  		// query param device
  1428  		var qrDevice string
  1429  
  1430  		if o.Device != nil {
  1431  			qrDevice = *o.Device
  1432  		}
  1433  		qDevice := qrDevice
  1434  		if qDevice != "" {
  1435  
  1436  			if err := r.SetQueryParam("device", qDevice); err != nil {
  1437  				return err
  1438  			}
  1439  		}
  1440  	}
  1441  
  1442  	if o.Devicen != nil {
  1443  
  1444  		// query param device__n
  1445  		var qrDevicen string
  1446  
  1447  		if o.Devicen != nil {
  1448  			qrDevicen = *o.Devicen
  1449  		}
  1450  		qDevicen := qrDevicen
  1451  		if qDevicen != "" {
  1452  
  1453  			if err := r.SetQueryParam("device__n", qDevicen); err != nil {
  1454  				return err
  1455  			}
  1456  		}
  1457  	}
  1458  
  1459  	if o.DeviceID != nil {
  1460  
  1461  		// query param device_id
  1462  		var qrDeviceID string
  1463  
  1464  		if o.DeviceID != nil {
  1465  			qrDeviceID = *o.DeviceID
  1466  		}
  1467  		qDeviceID := qrDeviceID
  1468  		if qDeviceID != "" {
  1469  
  1470  			if err := r.SetQueryParam("device_id", qDeviceID); err != nil {
  1471  				return err
  1472  			}
  1473  		}
  1474  	}
  1475  
  1476  	if o.DeviceIDn != nil {
  1477  
  1478  		// query param device_id__n
  1479  		var qrDeviceIDn string
  1480  
  1481  		if o.DeviceIDn != nil {
  1482  			qrDeviceIDn = *o.DeviceIDn
  1483  		}
  1484  		qDeviceIDn := qrDeviceIDn
  1485  		if qDeviceIDn != "" {
  1486  
  1487  			if err := r.SetQueryParam("device_id__n", qDeviceIDn); err != nil {
  1488  				return err
  1489  			}
  1490  		}
  1491  	}
  1492  
  1493  	if o.FeedLeg != nil {
  1494  
  1495  		// query param feed_leg
  1496  		var qrFeedLeg string
  1497  
  1498  		if o.FeedLeg != nil {
  1499  			qrFeedLeg = *o.FeedLeg
  1500  		}
  1501  		qFeedLeg := qrFeedLeg
  1502  		if qFeedLeg != "" {
  1503  
  1504  			if err := r.SetQueryParam("feed_leg", qFeedLeg); err != nil {
  1505  				return err
  1506  			}
  1507  		}
  1508  	}
  1509  
  1510  	if o.FeedLegn != nil {
  1511  
  1512  		// query param feed_leg__n
  1513  		var qrFeedLegn string
  1514  
  1515  		if o.FeedLegn != nil {
  1516  			qrFeedLegn = *o.FeedLegn
  1517  		}
  1518  		qFeedLegn := qrFeedLegn
  1519  		if qFeedLegn != "" {
  1520  
  1521  			if err := r.SetQueryParam("feed_leg__n", qFeedLegn); err != nil {
  1522  				return err
  1523  			}
  1524  		}
  1525  	}
  1526  
  1527  	if o.ID != nil {
  1528  
  1529  		// query param id
  1530  		var qrID string
  1531  
  1532  		if o.ID != nil {
  1533  			qrID = *o.ID
  1534  		}
  1535  		qID := qrID
  1536  		if qID != "" {
  1537  
  1538  			if err := r.SetQueryParam("id", qID); err != nil {
  1539  				return err
  1540  			}
  1541  		}
  1542  	}
  1543  
  1544  	if o.IDGt != nil {
  1545  
  1546  		// query param id__gt
  1547  		var qrIDGt string
  1548  
  1549  		if o.IDGt != nil {
  1550  			qrIDGt = *o.IDGt
  1551  		}
  1552  		qIDGt := qrIDGt
  1553  		if qIDGt != "" {
  1554  
  1555  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1556  				return err
  1557  			}
  1558  		}
  1559  	}
  1560  
  1561  	if o.IDGte != nil {
  1562  
  1563  		// query param id__gte
  1564  		var qrIDGte string
  1565  
  1566  		if o.IDGte != nil {
  1567  			qrIDGte = *o.IDGte
  1568  		}
  1569  		qIDGte := qrIDGte
  1570  		if qIDGte != "" {
  1571  
  1572  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1573  				return err
  1574  			}
  1575  		}
  1576  	}
  1577  
  1578  	if o.IDLt != nil {
  1579  
  1580  		// query param id__lt
  1581  		var qrIDLt string
  1582  
  1583  		if o.IDLt != nil {
  1584  			qrIDLt = *o.IDLt
  1585  		}
  1586  		qIDLt := qrIDLt
  1587  		if qIDLt != "" {
  1588  
  1589  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1590  				return err
  1591  			}
  1592  		}
  1593  	}
  1594  
  1595  	if o.IDLte != nil {
  1596  
  1597  		// query param id__lte
  1598  		var qrIDLte string
  1599  
  1600  		if o.IDLte != nil {
  1601  			qrIDLte = *o.IDLte
  1602  		}
  1603  		qIDLte := qrIDLte
  1604  		if qIDLte != "" {
  1605  
  1606  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1607  				return err
  1608  			}
  1609  		}
  1610  	}
  1611  
  1612  	if o.IDn != nil {
  1613  
  1614  		// query param id__n
  1615  		var qrIDn string
  1616  
  1617  		if o.IDn != nil {
  1618  			qrIDn = *o.IDn
  1619  		}
  1620  		qIDn := qrIDn
  1621  		if qIDn != "" {
  1622  
  1623  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1624  				return err
  1625  			}
  1626  		}
  1627  	}
  1628  
  1629  	if o.Label != nil {
  1630  
  1631  		// query param label
  1632  		var qrLabel string
  1633  
  1634  		if o.Label != nil {
  1635  			qrLabel = *o.Label
  1636  		}
  1637  		qLabel := qrLabel
  1638  		if qLabel != "" {
  1639  
  1640  			if err := r.SetQueryParam("label", qLabel); err != nil {
  1641  				return err
  1642  			}
  1643  		}
  1644  	}
  1645  
  1646  	if o.LabelEmpty != nil {
  1647  
  1648  		// query param label__empty
  1649  		var qrLabelEmpty string
  1650  
  1651  		if o.LabelEmpty != nil {
  1652  			qrLabelEmpty = *o.LabelEmpty
  1653  		}
  1654  		qLabelEmpty := qrLabelEmpty
  1655  		if qLabelEmpty != "" {
  1656  
  1657  			if err := r.SetQueryParam("label__empty", qLabelEmpty); err != nil {
  1658  				return err
  1659  			}
  1660  		}
  1661  	}
  1662  
  1663  	if o.LabelIc != nil {
  1664  
  1665  		// query param label__ic
  1666  		var qrLabelIc string
  1667  
  1668  		if o.LabelIc != nil {
  1669  			qrLabelIc = *o.LabelIc
  1670  		}
  1671  		qLabelIc := qrLabelIc
  1672  		if qLabelIc != "" {
  1673  
  1674  			if err := r.SetQueryParam("label__ic", qLabelIc); err != nil {
  1675  				return err
  1676  			}
  1677  		}
  1678  	}
  1679  
  1680  	if o.LabelIe != nil {
  1681  
  1682  		// query param label__ie
  1683  		var qrLabelIe string
  1684  
  1685  		if o.LabelIe != nil {
  1686  			qrLabelIe = *o.LabelIe
  1687  		}
  1688  		qLabelIe := qrLabelIe
  1689  		if qLabelIe != "" {
  1690  
  1691  			if err := r.SetQueryParam("label__ie", qLabelIe); err != nil {
  1692  				return err
  1693  			}
  1694  		}
  1695  	}
  1696  
  1697  	if o.LabelIew != nil {
  1698  
  1699  		// query param label__iew
  1700  		var qrLabelIew string
  1701  
  1702  		if o.LabelIew != nil {
  1703  			qrLabelIew = *o.LabelIew
  1704  		}
  1705  		qLabelIew := qrLabelIew
  1706  		if qLabelIew != "" {
  1707  
  1708  			if err := r.SetQueryParam("label__iew", qLabelIew); err != nil {
  1709  				return err
  1710  			}
  1711  		}
  1712  	}
  1713  
  1714  	if o.LabelIsw != nil {
  1715  
  1716  		// query param label__isw
  1717  		var qrLabelIsw string
  1718  
  1719  		if o.LabelIsw != nil {
  1720  			qrLabelIsw = *o.LabelIsw
  1721  		}
  1722  		qLabelIsw := qrLabelIsw
  1723  		if qLabelIsw != "" {
  1724  
  1725  			if err := r.SetQueryParam("label__isw", qLabelIsw); err != nil {
  1726  				return err
  1727  			}
  1728  		}
  1729  	}
  1730  
  1731  	if o.Labeln != nil {
  1732  
  1733  		// query param label__n
  1734  		var qrLabeln string
  1735  
  1736  		if o.Labeln != nil {
  1737  			qrLabeln = *o.Labeln
  1738  		}
  1739  		qLabeln := qrLabeln
  1740  		if qLabeln != "" {
  1741  
  1742  			if err := r.SetQueryParam("label__n", qLabeln); err != nil {
  1743  				return err
  1744  			}
  1745  		}
  1746  	}
  1747  
  1748  	if o.LabelNic != nil {
  1749  
  1750  		// query param label__nic
  1751  		var qrLabelNic string
  1752  
  1753  		if o.LabelNic != nil {
  1754  			qrLabelNic = *o.LabelNic
  1755  		}
  1756  		qLabelNic := qrLabelNic
  1757  		if qLabelNic != "" {
  1758  
  1759  			if err := r.SetQueryParam("label__nic", qLabelNic); err != nil {
  1760  				return err
  1761  			}
  1762  		}
  1763  	}
  1764  
  1765  	if o.LabelNie != nil {
  1766  
  1767  		// query param label__nie
  1768  		var qrLabelNie string
  1769  
  1770  		if o.LabelNie != nil {
  1771  			qrLabelNie = *o.LabelNie
  1772  		}
  1773  		qLabelNie := qrLabelNie
  1774  		if qLabelNie != "" {
  1775  
  1776  			if err := r.SetQueryParam("label__nie", qLabelNie); err != nil {
  1777  				return err
  1778  			}
  1779  		}
  1780  	}
  1781  
  1782  	if o.LabelNiew != nil {
  1783  
  1784  		// query param label__niew
  1785  		var qrLabelNiew string
  1786  
  1787  		if o.LabelNiew != nil {
  1788  			qrLabelNiew = *o.LabelNiew
  1789  		}
  1790  		qLabelNiew := qrLabelNiew
  1791  		if qLabelNiew != "" {
  1792  
  1793  			if err := r.SetQueryParam("label__niew", qLabelNiew); err != nil {
  1794  				return err
  1795  			}
  1796  		}
  1797  	}
  1798  
  1799  	if o.LabelNisw != nil {
  1800  
  1801  		// query param label__nisw
  1802  		var qrLabelNisw string
  1803  
  1804  		if o.LabelNisw != nil {
  1805  			qrLabelNisw = *o.LabelNisw
  1806  		}
  1807  		qLabelNisw := qrLabelNisw
  1808  		if qLabelNisw != "" {
  1809  
  1810  			if err := r.SetQueryParam("label__nisw", qLabelNisw); err != nil {
  1811  				return err
  1812  			}
  1813  		}
  1814  	}
  1815  
  1816  	if o.LastUpdated != nil {
  1817  
  1818  		// query param last_updated
  1819  		var qrLastUpdated string
  1820  
  1821  		if o.LastUpdated != nil {
  1822  			qrLastUpdated = *o.LastUpdated
  1823  		}
  1824  		qLastUpdated := qrLastUpdated
  1825  		if qLastUpdated != "" {
  1826  
  1827  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  1828  				return err
  1829  			}
  1830  		}
  1831  	}
  1832  
  1833  	if o.LastUpdatedGte != nil {
  1834  
  1835  		// query param last_updated__gte
  1836  		var qrLastUpdatedGte string
  1837  
  1838  		if o.LastUpdatedGte != nil {
  1839  			qrLastUpdatedGte = *o.LastUpdatedGte
  1840  		}
  1841  		qLastUpdatedGte := qrLastUpdatedGte
  1842  		if qLastUpdatedGte != "" {
  1843  
  1844  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  1845  				return err
  1846  			}
  1847  		}
  1848  	}
  1849  
  1850  	if o.LastUpdatedLte != nil {
  1851  
  1852  		// query param last_updated__lte
  1853  		var qrLastUpdatedLte string
  1854  
  1855  		if o.LastUpdatedLte != nil {
  1856  			qrLastUpdatedLte = *o.LastUpdatedLte
  1857  		}
  1858  		qLastUpdatedLte := qrLastUpdatedLte
  1859  		if qLastUpdatedLte != "" {
  1860  
  1861  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  1862  				return err
  1863  			}
  1864  		}
  1865  	}
  1866  
  1867  	if o.Limit != nil {
  1868  
  1869  		// query param limit
  1870  		var qrLimit int64
  1871  
  1872  		if o.Limit != nil {
  1873  			qrLimit = *o.Limit
  1874  		}
  1875  		qLimit := swag.FormatInt64(qrLimit)
  1876  		if qLimit != "" {
  1877  
  1878  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  1879  				return err
  1880  			}
  1881  		}
  1882  	}
  1883  
  1884  	if o.Name != nil {
  1885  
  1886  		// query param name
  1887  		var qrName string
  1888  
  1889  		if o.Name != nil {
  1890  			qrName = *o.Name
  1891  		}
  1892  		qName := qrName
  1893  		if qName != "" {
  1894  
  1895  			if err := r.SetQueryParam("name", qName); err != nil {
  1896  				return err
  1897  			}
  1898  		}
  1899  	}
  1900  
  1901  	if o.NameEmpty != nil {
  1902  
  1903  		// query param name__empty
  1904  		var qrNameEmpty string
  1905  
  1906  		if o.NameEmpty != nil {
  1907  			qrNameEmpty = *o.NameEmpty
  1908  		}
  1909  		qNameEmpty := qrNameEmpty
  1910  		if qNameEmpty != "" {
  1911  
  1912  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  1913  				return err
  1914  			}
  1915  		}
  1916  	}
  1917  
  1918  	if o.NameIc != nil {
  1919  
  1920  		// query param name__ic
  1921  		var qrNameIc string
  1922  
  1923  		if o.NameIc != nil {
  1924  			qrNameIc = *o.NameIc
  1925  		}
  1926  		qNameIc := qrNameIc
  1927  		if qNameIc != "" {
  1928  
  1929  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  1930  				return err
  1931  			}
  1932  		}
  1933  	}
  1934  
  1935  	if o.NameIe != nil {
  1936  
  1937  		// query param name__ie
  1938  		var qrNameIe string
  1939  
  1940  		if o.NameIe != nil {
  1941  			qrNameIe = *o.NameIe
  1942  		}
  1943  		qNameIe := qrNameIe
  1944  		if qNameIe != "" {
  1945  
  1946  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  1947  				return err
  1948  			}
  1949  		}
  1950  	}
  1951  
  1952  	if o.NameIew != nil {
  1953  
  1954  		// query param name__iew
  1955  		var qrNameIew string
  1956  
  1957  		if o.NameIew != nil {
  1958  			qrNameIew = *o.NameIew
  1959  		}
  1960  		qNameIew := qrNameIew
  1961  		if qNameIew != "" {
  1962  
  1963  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  1964  				return err
  1965  			}
  1966  		}
  1967  	}
  1968  
  1969  	if o.NameIsw != nil {
  1970  
  1971  		// query param name__isw
  1972  		var qrNameIsw string
  1973  
  1974  		if o.NameIsw != nil {
  1975  			qrNameIsw = *o.NameIsw
  1976  		}
  1977  		qNameIsw := qrNameIsw
  1978  		if qNameIsw != "" {
  1979  
  1980  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  1981  				return err
  1982  			}
  1983  		}
  1984  	}
  1985  
  1986  	if o.Namen != nil {
  1987  
  1988  		// query param name__n
  1989  		var qrNamen string
  1990  
  1991  		if o.Namen != nil {
  1992  			qrNamen = *o.Namen
  1993  		}
  1994  		qNamen := qrNamen
  1995  		if qNamen != "" {
  1996  
  1997  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  1998  				return err
  1999  			}
  2000  		}
  2001  	}
  2002  
  2003  	if o.NameNic != nil {
  2004  
  2005  		// query param name__nic
  2006  		var qrNameNic string
  2007  
  2008  		if o.NameNic != nil {
  2009  			qrNameNic = *o.NameNic
  2010  		}
  2011  		qNameNic := qrNameNic
  2012  		if qNameNic != "" {
  2013  
  2014  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  2015  				return err
  2016  			}
  2017  		}
  2018  	}
  2019  
  2020  	if o.NameNie != nil {
  2021  
  2022  		// query param name__nie
  2023  		var qrNameNie string
  2024  
  2025  		if o.NameNie != nil {
  2026  			qrNameNie = *o.NameNie
  2027  		}
  2028  		qNameNie := qrNameNie
  2029  		if qNameNie != "" {
  2030  
  2031  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  2032  				return err
  2033  			}
  2034  		}
  2035  	}
  2036  
  2037  	if o.NameNiew != nil {
  2038  
  2039  		// query param name__niew
  2040  		var qrNameNiew string
  2041  
  2042  		if o.NameNiew != nil {
  2043  			qrNameNiew = *o.NameNiew
  2044  		}
  2045  		qNameNiew := qrNameNiew
  2046  		if qNameNiew != "" {
  2047  
  2048  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  2049  				return err
  2050  			}
  2051  		}
  2052  	}
  2053  
  2054  	if o.NameNisw != nil {
  2055  
  2056  		// query param name__nisw
  2057  		var qrNameNisw string
  2058  
  2059  		if o.NameNisw != nil {
  2060  			qrNameNisw = *o.NameNisw
  2061  		}
  2062  		qNameNisw := qrNameNisw
  2063  		if qNameNisw != "" {
  2064  
  2065  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  2066  				return err
  2067  			}
  2068  		}
  2069  	}
  2070  
  2071  	if o.Offset != nil {
  2072  
  2073  		// query param offset
  2074  		var qrOffset int64
  2075  
  2076  		if o.Offset != nil {
  2077  			qrOffset = *o.Offset
  2078  		}
  2079  		qOffset := swag.FormatInt64(qrOffset)
  2080  		if qOffset != "" {
  2081  
  2082  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  2083  				return err
  2084  			}
  2085  		}
  2086  	}
  2087  
  2088  	if o.Q != nil {
  2089  
  2090  		// query param q
  2091  		var qrQ string
  2092  
  2093  		if o.Q != nil {
  2094  			qrQ = *o.Q
  2095  		}
  2096  		qQ := qrQ
  2097  		if qQ != "" {
  2098  
  2099  			if err := r.SetQueryParam("q", qQ); err != nil {
  2100  				return err
  2101  			}
  2102  		}
  2103  	}
  2104  
  2105  	if o.Region != nil {
  2106  
  2107  		// query param region
  2108  		var qrRegion string
  2109  
  2110  		if o.Region != nil {
  2111  			qrRegion = *o.Region
  2112  		}
  2113  		qRegion := qrRegion
  2114  		if qRegion != "" {
  2115  
  2116  			if err := r.SetQueryParam("region", qRegion); err != nil {
  2117  				return err
  2118  			}
  2119  		}
  2120  	}
  2121  
  2122  	if o.Regionn != nil {
  2123  
  2124  		// query param region__n
  2125  		var qrRegionn string
  2126  
  2127  		if o.Regionn != nil {
  2128  			qrRegionn = *o.Regionn
  2129  		}
  2130  		qRegionn := qrRegionn
  2131  		if qRegionn != "" {
  2132  
  2133  			if err := r.SetQueryParam("region__n", qRegionn); err != nil {
  2134  				return err
  2135  			}
  2136  		}
  2137  	}
  2138  
  2139  	if o.RegionID != nil {
  2140  
  2141  		// query param region_id
  2142  		var qrRegionID string
  2143  
  2144  		if o.RegionID != nil {
  2145  			qrRegionID = *o.RegionID
  2146  		}
  2147  		qRegionID := qrRegionID
  2148  		if qRegionID != "" {
  2149  
  2150  			if err := r.SetQueryParam("region_id", qRegionID); err != nil {
  2151  				return err
  2152  			}
  2153  		}
  2154  	}
  2155  
  2156  	if o.RegionIDn != nil {
  2157  
  2158  		// query param region_id__n
  2159  		var qrRegionIDn string
  2160  
  2161  		if o.RegionIDn != nil {
  2162  			qrRegionIDn = *o.RegionIDn
  2163  		}
  2164  		qRegionIDn := qrRegionIDn
  2165  		if qRegionIDn != "" {
  2166  
  2167  			if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil {
  2168  				return err
  2169  			}
  2170  		}
  2171  	}
  2172  
  2173  	if o.Site != nil {
  2174  
  2175  		// query param site
  2176  		var qrSite string
  2177  
  2178  		if o.Site != nil {
  2179  			qrSite = *o.Site
  2180  		}
  2181  		qSite := qrSite
  2182  		if qSite != "" {
  2183  
  2184  			if err := r.SetQueryParam("site", qSite); err != nil {
  2185  				return err
  2186  			}
  2187  		}
  2188  	}
  2189  
  2190  	if o.Siten != nil {
  2191  
  2192  		// query param site__n
  2193  		var qrSiten string
  2194  
  2195  		if o.Siten != nil {
  2196  			qrSiten = *o.Siten
  2197  		}
  2198  		qSiten := qrSiten
  2199  		if qSiten != "" {
  2200  
  2201  			if err := r.SetQueryParam("site__n", qSiten); err != nil {
  2202  				return err
  2203  			}
  2204  		}
  2205  	}
  2206  
  2207  	if o.SiteGroup != nil {
  2208  
  2209  		// query param site_group
  2210  		var qrSiteGroup string
  2211  
  2212  		if o.SiteGroup != nil {
  2213  			qrSiteGroup = *o.SiteGroup
  2214  		}
  2215  		qSiteGroup := qrSiteGroup
  2216  		if qSiteGroup != "" {
  2217  
  2218  			if err := r.SetQueryParam("site_group", qSiteGroup); err != nil {
  2219  				return err
  2220  			}
  2221  		}
  2222  	}
  2223  
  2224  	if o.SiteGroupn != nil {
  2225  
  2226  		// query param site_group__n
  2227  		var qrSiteGroupn string
  2228  
  2229  		if o.SiteGroupn != nil {
  2230  			qrSiteGroupn = *o.SiteGroupn
  2231  		}
  2232  		qSiteGroupn := qrSiteGroupn
  2233  		if qSiteGroupn != "" {
  2234  
  2235  			if err := r.SetQueryParam("site_group__n", qSiteGroupn); err != nil {
  2236  				return err
  2237  			}
  2238  		}
  2239  	}
  2240  
  2241  	if o.SiteGroupID != nil {
  2242  
  2243  		// query param site_group_id
  2244  		var qrSiteGroupID string
  2245  
  2246  		if o.SiteGroupID != nil {
  2247  			qrSiteGroupID = *o.SiteGroupID
  2248  		}
  2249  		qSiteGroupID := qrSiteGroupID
  2250  		if qSiteGroupID != "" {
  2251  
  2252  			if err := r.SetQueryParam("site_group_id", qSiteGroupID); err != nil {
  2253  				return err
  2254  			}
  2255  		}
  2256  	}
  2257  
  2258  	if o.SiteGroupIDn != nil {
  2259  
  2260  		// query param site_group_id__n
  2261  		var qrSiteGroupIDn string
  2262  
  2263  		if o.SiteGroupIDn != nil {
  2264  			qrSiteGroupIDn = *o.SiteGroupIDn
  2265  		}
  2266  		qSiteGroupIDn := qrSiteGroupIDn
  2267  		if qSiteGroupIDn != "" {
  2268  
  2269  			if err := r.SetQueryParam("site_group_id__n", qSiteGroupIDn); err != nil {
  2270  				return err
  2271  			}
  2272  		}
  2273  	}
  2274  
  2275  	if o.SiteID != nil {
  2276  
  2277  		// query param site_id
  2278  		var qrSiteID string
  2279  
  2280  		if o.SiteID != nil {
  2281  			qrSiteID = *o.SiteID
  2282  		}
  2283  		qSiteID := qrSiteID
  2284  		if qSiteID != "" {
  2285  
  2286  			if err := r.SetQueryParam("site_id", qSiteID); err != nil {
  2287  				return err
  2288  			}
  2289  		}
  2290  	}
  2291  
  2292  	if o.SiteIDn != nil {
  2293  
  2294  		// query param site_id__n
  2295  		var qrSiteIDn string
  2296  
  2297  		if o.SiteIDn != nil {
  2298  			qrSiteIDn = *o.SiteIDn
  2299  		}
  2300  		qSiteIDn := qrSiteIDn
  2301  		if qSiteIDn != "" {
  2302  
  2303  			if err := r.SetQueryParam("site_id__n", qSiteIDn); err != nil {
  2304  				return err
  2305  			}
  2306  		}
  2307  	}
  2308  
  2309  	if o.Tag != nil {
  2310  
  2311  		// query param tag
  2312  		var qrTag string
  2313  
  2314  		if o.Tag != nil {
  2315  			qrTag = *o.Tag
  2316  		}
  2317  		qTag := qrTag
  2318  		if qTag != "" {
  2319  
  2320  			if err := r.SetQueryParam("tag", qTag); err != nil {
  2321  				return err
  2322  			}
  2323  		}
  2324  	}
  2325  
  2326  	if o.Tagn != nil {
  2327  
  2328  		// query param tag__n
  2329  		var qrTagn string
  2330  
  2331  		if o.Tagn != nil {
  2332  			qrTagn = *o.Tagn
  2333  		}
  2334  		qTagn := qrTagn
  2335  		if qTagn != "" {
  2336  
  2337  			if err := r.SetQueryParam("tag__n", qTagn); err != nil {
  2338  				return err
  2339  			}
  2340  		}
  2341  	}
  2342  
  2343  	if o.Type != nil {
  2344  
  2345  		// query param type
  2346  		var qrType string
  2347  
  2348  		if o.Type != nil {
  2349  			qrType = *o.Type
  2350  		}
  2351  		qType := qrType
  2352  		if qType != "" {
  2353  
  2354  			if err := r.SetQueryParam("type", qType); err != nil {
  2355  				return err
  2356  			}
  2357  		}
  2358  	}
  2359  
  2360  	if o.Typen != nil {
  2361  
  2362  		// query param type__n
  2363  		var qrTypen string
  2364  
  2365  		if o.Typen != nil {
  2366  			qrTypen = *o.Typen
  2367  		}
  2368  		qTypen := qrTypen
  2369  		if qTypen != "" {
  2370  
  2371  			if err := r.SetQueryParam("type__n", qTypen); err != nil {
  2372  				return err
  2373  			}
  2374  		}
  2375  	}
  2376  
  2377  	if len(res) > 0 {
  2378  		return errors.CompositeValidationError(res...)
  2379  	}
  2380  	return nil
  2381  }