github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_virtual_chassis_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  // NewDcimVirtualChassisListParams creates a new DcimVirtualChassisListParams 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 NewDcimVirtualChassisListParams() *DcimVirtualChassisListParams {
    42  	return &DcimVirtualChassisListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewDcimVirtualChassisListParamsWithTimeout creates a new DcimVirtualChassisListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewDcimVirtualChassisListParamsWithTimeout(timeout time.Duration) *DcimVirtualChassisListParams {
    50  	return &DcimVirtualChassisListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewDcimVirtualChassisListParamsWithContext creates a new DcimVirtualChassisListParams object
    56  // with the ability to set a context for a request.
    57  func NewDcimVirtualChassisListParamsWithContext(ctx context.Context) *DcimVirtualChassisListParams {
    58  	return &DcimVirtualChassisListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewDcimVirtualChassisListParamsWithHTTPClient creates a new DcimVirtualChassisListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewDcimVirtualChassisListParamsWithHTTPClient(client *http.Client) *DcimVirtualChassisListParams {
    66  	return &DcimVirtualChassisListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* DcimVirtualChassisListParams contains all the parameters to send to the API endpoint
    72     for the dcim virtual chassis list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type DcimVirtualChassisListParams struct {
    77  
    78  	// Created.
    79  	Created *string
    80  
    81  	// CreatedGte.
    82  	CreatedGte *string
    83  
    84  	// CreatedLte.
    85  	CreatedLte *string
    86  
    87  	// Domain.
    88  	Domain *string
    89  
    90  	// DomainEmpty.
    91  	DomainEmpty *string
    92  
    93  	// DomainIc.
    94  	DomainIc *string
    95  
    96  	// DomainIe.
    97  	DomainIe *string
    98  
    99  	// DomainIew.
   100  	DomainIew *string
   101  
   102  	// DomainIsw.
   103  	DomainIsw *string
   104  
   105  	// Domainn.
   106  	Domainn *string
   107  
   108  	// DomainNic.
   109  	DomainNic *string
   110  
   111  	// DomainNie.
   112  	DomainNie *string
   113  
   114  	// DomainNiew.
   115  	DomainNiew *string
   116  
   117  	// DomainNisw.
   118  	DomainNisw *string
   119  
   120  	// ID.
   121  	ID *string
   122  
   123  	// IDGt.
   124  	IDGt *string
   125  
   126  	// IDGte.
   127  	IDGte *string
   128  
   129  	// IDLt.
   130  	IDLt *string
   131  
   132  	// IDLte.
   133  	IDLte *string
   134  
   135  	// IDn.
   136  	IDn *string
   137  
   138  	// LastUpdated.
   139  	LastUpdated *string
   140  
   141  	// LastUpdatedGte.
   142  	LastUpdatedGte *string
   143  
   144  	// LastUpdatedLte.
   145  	LastUpdatedLte *string
   146  
   147  	/* Limit.
   148  
   149  	   Number of results to return per page.
   150  	*/
   151  	Limit *int64
   152  
   153  	// Master.
   154  	Master *string
   155  
   156  	// Mastern.
   157  	Mastern *string
   158  
   159  	// MasterID.
   160  	MasterID *string
   161  
   162  	// MasterIDn.
   163  	MasterIDn *string
   164  
   165  	// Name.
   166  	Name *string
   167  
   168  	// NameEmpty.
   169  	NameEmpty *string
   170  
   171  	// NameIc.
   172  	NameIc *string
   173  
   174  	// NameIe.
   175  	NameIe *string
   176  
   177  	// NameIew.
   178  	NameIew *string
   179  
   180  	// NameIsw.
   181  	NameIsw *string
   182  
   183  	// Namen.
   184  	Namen *string
   185  
   186  	// NameNic.
   187  	NameNic *string
   188  
   189  	// NameNie.
   190  	NameNie *string
   191  
   192  	// NameNiew.
   193  	NameNiew *string
   194  
   195  	// NameNisw.
   196  	NameNisw *string
   197  
   198  	/* Offset.
   199  
   200  	   The initial index from which to return the results.
   201  	*/
   202  	Offset *int64
   203  
   204  	// Q.
   205  	Q *string
   206  
   207  	// Region.
   208  	Region *string
   209  
   210  	// Regionn.
   211  	Regionn *string
   212  
   213  	// RegionID.
   214  	RegionID *string
   215  
   216  	// RegionIDn.
   217  	RegionIDn *string
   218  
   219  	// Site.
   220  	Site *string
   221  
   222  	// Siten.
   223  	Siten *string
   224  
   225  	// SiteGroup.
   226  	SiteGroup *string
   227  
   228  	// SiteGroupn.
   229  	SiteGroupn *string
   230  
   231  	// SiteGroupID.
   232  	SiteGroupID *string
   233  
   234  	// SiteGroupIDn.
   235  	SiteGroupIDn *string
   236  
   237  	// SiteID.
   238  	SiteID *string
   239  
   240  	// SiteIDn.
   241  	SiteIDn *string
   242  
   243  	// Tag.
   244  	Tag *string
   245  
   246  	// Tagn.
   247  	Tagn *string
   248  
   249  	// Tenant.
   250  	Tenant *string
   251  
   252  	// Tenantn.
   253  	Tenantn *string
   254  
   255  	// TenantID.
   256  	TenantID *string
   257  
   258  	// TenantIDn.
   259  	TenantIDn *string
   260  
   261  	timeout    time.Duration
   262  	Context    context.Context
   263  	HTTPClient *http.Client
   264  }
   265  
   266  // WithDefaults hydrates default values in the dcim virtual chassis list params (not the query body).
   267  //
   268  // All values with no default are reset to their zero value.
   269  func (o *DcimVirtualChassisListParams) WithDefaults() *DcimVirtualChassisListParams {
   270  	o.SetDefaults()
   271  	return o
   272  }
   273  
   274  // SetDefaults hydrates default values in the dcim virtual chassis list params (not the query body).
   275  //
   276  // All values with no default are reset to their zero value.
   277  func (o *DcimVirtualChassisListParams) SetDefaults() {
   278  	// no default values defined for this parameter
   279  }
   280  
   281  // WithTimeout adds the timeout to the dcim virtual chassis list params
   282  func (o *DcimVirtualChassisListParams) WithTimeout(timeout time.Duration) *DcimVirtualChassisListParams {
   283  	o.SetTimeout(timeout)
   284  	return o
   285  }
   286  
   287  // SetTimeout adds the timeout to the dcim virtual chassis list params
   288  func (o *DcimVirtualChassisListParams) SetTimeout(timeout time.Duration) {
   289  	o.timeout = timeout
   290  }
   291  
   292  // WithContext adds the context to the dcim virtual chassis list params
   293  func (o *DcimVirtualChassisListParams) WithContext(ctx context.Context) *DcimVirtualChassisListParams {
   294  	o.SetContext(ctx)
   295  	return o
   296  }
   297  
   298  // SetContext adds the context to the dcim virtual chassis list params
   299  func (o *DcimVirtualChassisListParams) SetContext(ctx context.Context) {
   300  	o.Context = ctx
   301  }
   302  
   303  // WithHTTPClient adds the HTTPClient to the dcim virtual chassis list params
   304  func (o *DcimVirtualChassisListParams) WithHTTPClient(client *http.Client) *DcimVirtualChassisListParams {
   305  	o.SetHTTPClient(client)
   306  	return o
   307  }
   308  
   309  // SetHTTPClient adds the HTTPClient to the dcim virtual chassis list params
   310  func (o *DcimVirtualChassisListParams) SetHTTPClient(client *http.Client) {
   311  	o.HTTPClient = client
   312  }
   313  
   314  // WithCreated adds the created to the dcim virtual chassis list params
   315  func (o *DcimVirtualChassisListParams) WithCreated(created *string) *DcimVirtualChassisListParams {
   316  	o.SetCreated(created)
   317  	return o
   318  }
   319  
   320  // SetCreated adds the created to the dcim virtual chassis list params
   321  func (o *DcimVirtualChassisListParams) SetCreated(created *string) {
   322  	o.Created = created
   323  }
   324  
   325  // WithCreatedGte adds the createdGte to the dcim virtual chassis list params
   326  func (o *DcimVirtualChassisListParams) WithCreatedGte(createdGte *string) *DcimVirtualChassisListParams {
   327  	o.SetCreatedGte(createdGte)
   328  	return o
   329  }
   330  
   331  // SetCreatedGte adds the createdGte to the dcim virtual chassis list params
   332  func (o *DcimVirtualChassisListParams) SetCreatedGte(createdGte *string) {
   333  	o.CreatedGte = createdGte
   334  }
   335  
   336  // WithCreatedLte adds the createdLte to the dcim virtual chassis list params
   337  func (o *DcimVirtualChassisListParams) WithCreatedLte(createdLte *string) *DcimVirtualChassisListParams {
   338  	o.SetCreatedLte(createdLte)
   339  	return o
   340  }
   341  
   342  // SetCreatedLte adds the createdLte to the dcim virtual chassis list params
   343  func (o *DcimVirtualChassisListParams) SetCreatedLte(createdLte *string) {
   344  	o.CreatedLte = createdLte
   345  }
   346  
   347  // WithDomain adds the domain to the dcim virtual chassis list params
   348  func (o *DcimVirtualChassisListParams) WithDomain(domain *string) *DcimVirtualChassisListParams {
   349  	o.SetDomain(domain)
   350  	return o
   351  }
   352  
   353  // SetDomain adds the domain to the dcim virtual chassis list params
   354  func (o *DcimVirtualChassisListParams) SetDomain(domain *string) {
   355  	o.Domain = domain
   356  }
   357  
   358  // WithDomainEmpty adds the domainEmpty to the dcim virtual chassis list params
   359  func (o *DcimVirtualChassisListParams) WithDomainEmpty(domainEmpty *string) *DcimVirtualChassisListParams {
   360  	o.SetDomainEmpty(domainEmpty)
   361  	return o
   362  }
   363  
   364  // SetDomainEmpty adds the domainEmpty to the dcim virtual chassis list params
   365  func (o *DcimVirtualChassisListParams) SetDomainEmpty(domainEmpty *string) {
   366  	o.DomainEmpty = domainEmpty
   367  }
   368  
   369  // WithDomainIc adds the domainIc to the dcim virtual chassis list params
   370  func (o *DcimVirtualChassisListParams) WithDomainIc(domainIc *string) *DcimVirtualChassisListParams {
   371  	o.SetDomainIc(domainIc)
   372  	return o
   373  }
   374  
   375  // SetDomainIc adds the domainIc to the dcim virtual chassis list params
   376  func (o *DcimVirtualChassisListParams) SetDomainIc(domainIc *string) {
   377  	o.DomainIc = domainIc
   378  }
   379  
   380  // WithDomainIe adds the domainIe to the dcim virtual chassis list params
   381  func (o *DcimVirtualChassisListParams) WithDomainIe(domainIe *string) *DcimVirtualChassisListParams {
   382  	o.SetDomainIe(domainIe)
   383  	return o
   384  }
   385  
   386  // SetDomainIe adds the domainIe to the dcim virtual chassis list params
   387  func (o *DcimVirtualChassisListParams) SetDomainIe(domainIe *string) {
   388  	o.DomainIe = domainIe
   389  }
   390  
   391  // WithDomainIew adds the domainIew to the dcim virtual chassis list params
   392  func (o *DcimVirtualChassisListParams) WithDomainIew(domainIew *string) *DcimVirtualChassisListParams {
   393  	o.SetDomainIew(domainIew)
   394  	return o
   395  }
   396  
   397  // SetDomainIew adds the domainIew to the dcim virtual chassis list params
   398  func (o *DcimVirtualChassisListParams) SetDomainIew(domainIew *string) {
   399  	o.DomainIew = domainIew
   400  }
   401  
   402  // WithDomainIsw adds the domainIsw to the dcim virtual chassis list params
   403  func (o *DcimVirtualChassisListParams) WithDomainIsw(domainIsw *string) *DcimVirtualChassisListParams {
   404  	o.SetDomainIsw(domainIsw)
   405  	return o
   406  }
   407  
   408  // SetDomainIsw adds the domainIsw to the dcim virtual chassis list params
   409  func (o *DcimVirtualChassisListParams) SetDomainIsw(domainIsw *string) {
   410  	o.DomainIsw = domainIsw
   411  }
   412  
   413  // WithDomainn adds the domainn to the dcim virtual chassis list params
   414  func (o *DcimVirtualChassisListParams) WithDomainn(domainn *string) *DcimVirtualChassisListParams {
   415  	o.SetDomainn(domainn)
   416  	return o
   417  }
   418  
   419  // SetDomainn adds the domainN to the dcim virtual chassis list params
   420  func (o *DcimVirtualChassisListParams) SetDomainn(domainn *string) {
   421  	o.Domainn = domainn
   422  }
   423  
   424  // WithDomainNic adds the domainNic to the dcim virtual chassis list params
   425  func (o *DcimVirtualChassisListParams) WithDomainNic(domainNic *string) *DcimVirtualChassisListParams {
   426  	o.SetDomainNic(domainNic)
   427  	return o
   428  }
   429  
   430  // SetDomainNic adds the domainNic to the dcim virtual chassis list params
   431  func (o *DcimVirtualChassisListParams) SetDomainNic(domainNic *string) {
   432  	o.DomainNic = domainNic
   433  }
   434  
   435  // WithDomainNie adds the domainNie to the dcim virtual chassis list params
   436  func (o *DcimVirtualChassisListParams) WithDomainNie(domainNie *string) *DcimVirtualChassisListParams {
   437  	o.SetDomainNie(domainNie)
   438  	return o
   439  }
   440  
   441  // SetDomainNie adds the domainNie to the dcim virtual chassis list params
   442  func (o *DcimVirtualChassisListParams) SetDomainNie(domainNie *string) {
   443  	o.DomainNie = domainNie
   444  }
   445  
   446  // WithDomainNiew adds the domainNiew to the dcim virtual chassis list params
   447  func (o *DcimVirtualChassisListParams) WithDomainNiew(domainNiew *string) *DcimVirtualChassisListParams {
   448  	o.SetDomainNiew(domainNiew)
   449  	return o
   450  }
   451  
   452  // SetDomainNiew adds the domainNiew to the dcim virtual chassis list params
   453  func (o *DcimVirtualChassisListParams) SetDomainNiew(domainNiew *string) {
   454  	o.DomainNiew = domainNiew
   455  }
   456  
   457  // WithDomainNisw adds the domainNisw to the dcim virtual chassis list params
   458  func (o *DcimVirtualChassisListParams) WithDomainNisw(domainNisw *string) *DcimVirtualChassisListParams {
   459  	o.SetDomainNisw(domainNisw)
   460  	return o
   461  }
   462  
   463  // SetDomainNisw adds the domainNisw to the dcim virtual chassis list params
   464  func (o *DcimVirtualChassisListParams) SetDomainNisw(domainNisw *string) {
   465  	o.DomainNisw = domainNisw
   466  }
   467  
   468  // WithID adds the id to the dcim virtual chassis list params
   469  func (o *DcimVirtualChassisListParams) WithID(id *string) *DcimVirtualChassisListParams {
   470  	o.SetID(id)
   471  	return o
   472  }
   473  
   474  // SetID adds the id to the dcim virtual chassis list params
   475  func (o *DcimVirtualChassisListParams) SetID(id *string) {
   476  	o.ID = id
   477  }
   478  
   479  // WithIDGt adds the iDGt to the dcim virtual chassis list params
   480  func (o *DcimVirtualChassisListParams) WithIDGt(iDGt *string) *DcimVirtualChassisListParams {
   481  	o.SetIDGt(iDGt)
   482  	return o
   483  }
   484  
   485  // SetIDGt adds the idGt to the dcim virtual chassis list params
   486  func (o *DcimVirtualChassisListParams) SetIDGt(iDGt *string) {
   487  	o.IDGt = iDGt
   488  }
   489  
   490  // WithIDGte adds the iDGte to the dcim virtual chassis list params
   491  func (o *DcimVirtualChassisListParams) WithIDGte(iDGte *string) *DcimVirtualChassisListParams {
   492  	o.SetIDGte(iDGte)
   493  	return o
   494  }
   495  
   496  // SetIDGte adds the idGte to the dcim virtual chassis list params
   497  func (o *DcimVirtualChassisListParams) SetIDGte(iDGte *string) {
   498  	o.IDGte = iDGte
   499  }
   500  
   501  // WithIDLt adds the iDLt to the dcim virtual chassis list params
   502  func (o *DcimVirtualChassisListParams) WithIDLt(iDLt *string) *DcimVirtualChassisListParams {
   503  	o.SetIDLt(iDLt)
   504  	return o
   505  }
   506  
   507  // SetIDLt adds the idLt to the dcim virtual chassis list params
   508  func (o *DcimVirtualChassisListParams) SetIDLt(iDLt *string) {
   509  	o.IDLt = iDLt
   510  }
   511  
   512  // WithIDLte adds the iDLte to the dcim virtual chassis list params
   513  func (o *DcimVirtualChassisListParams) WithIDLte(iDLte *string) *DcimVirtualChassisListParams {
   514  	o.SetIDLte(iDLte)
   515  	return o
   516  }
   517  
   518  // SetIDLte adds the idLte to the dcim virtual chassis list params
   519  func (o *DcimVirtualChassisListParams) SetIDLte(iDLte *string) {
   520  	o.IDLte = iDLte
   521  }
   522  
   523  // WithIDn adds the iDn to the dcim virtual chassis list params
   524  func (o *DcimVirtualChassisListParams) WithIDn(iDn *string) *DcimVirtualChassisListParams {
   525  	o.SetIDn(iDn)
   526  	return o
   527  }
   528  
   529  // SetIDn adds the idN to the dcim virtual chassis list params
   530  func (o *DcimVirtualChassisListParams) SetIDn(iDn *string) {
   531  	o.IDn = iDn
   532  }
   533  
   534  // WithLastUpdated adds the lastUpdated to the dcim virtual chassis list params
   535  func (o *DcimVirtualChassisListParams) WithLastUpdated(lastUpdated *string) *DcimVirtualChassisListParams {
   536  	o.SetLastUpdated(lastUpdated)
   537  	return o
   538  }
   539  
   540  // SetLastUpdated adds the lastUpdated to the dcim virtual chassis list params
   541  func (o *DcimVirtualChassisListParams) SetLastUpdated(lastUpdated *string) {
   542  	o.LastUpdated = lastUpdated
   543  }
   544  
   545  // WithLastUpdatedGte adds the lastUpdatedGte to the dcim virtual chassis list params
   546  func (o *DcimVirtualChassisListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimVirtualChassisListParams {
   547  	o.SetLastUpdatedGte(lastUpdatedGte)
   548  	return o
   549  }
   550  
   551  // SetLastUpdatedGte adds the lastUpdatedGte to the dcim virtual chassis list params
   552  func (o *DcimVirtualChassisListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   553  	o.LastUpdatedGte = lastUpdatedGte
   554  }
   555  
   556  // WithLastUpdatedLte adds the lastUpdatedLte to the dcim virtual chassis list params
   557  func (o *DcimVirtualChassisListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimVirtualChassisListParams {
   558  	o.SetLastUpdatedLte(lastUpdatedLte)
   559  	return o
   560  }
   561  
   562  // SetLastUpdatedLte adds the lastUpdatedLte to the dcim virtual chassis list params
   563  func (o *DcimVirtualChassisListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   564  	o.LastUpdatedLte = lastUpdatedLte
   565  }
   566  
   567  // WithLimit adds the limit to the dcim virtual chassis list params
   568  func (o *DcimVirtualChassisListParams) WithLimit(limit *int64) *DcimVirtualChassisListParams {
   569  	o.SetLimit(limit)
   570  	return o
   571  }
   572  
   573  // SetLimit adds the limit to the dcim virtual chassis list params
   574  func (o *DcimVirtualChassisListParams) SetLimit(limit *int64) {
   575  	o.Limit = limit
   576  }
   577  
   578  // WithMaster adds the master to the dcim virtual chassis list params
   579  func (o *DcimVirtualChassisListParams) WithMaster(master *string) *DcimVirtualChassisListParams {
   580  	o.SetMaster(master)
   581  	return o
   582  }
   583  
   584  // SetMaster adds the master to the dcim virtual chassis list params
   585  func (o *DcimVirtualChassisListParams) SetMaster(master *string) {
   586  	o.Master = master
   587  }
   588  
   589  // WithMastern adds the mastern to the dcim virtual chassis list params
   590  func (o *DcimVirtualChassisListParams) WithMastern(mastern *string) *DcimVirtualChassisListParams {
   591  	o.SetMastern(mastern)
   592  	return o
   593  }
   594  
   595  // SetMastern adds the masterN to the dcim virtual chassis list params
   596  func (o *DcimVirtualChassisListParams) SetMastern(mastern *string) {
   597  	o.Mastern = mastern
   598  }
   599  
   600  // WithMasterID adds the masterID to the dcim virtual chassis list params
   601  func (o *DcimVirtualChassisListParams) WithMasterID(masterID *string) *DcimVirtualChassisListParams {
   602  	o.SetMasterID(masterID)
   603  	return o
   604  }
   605  
   606  // SetMasterID adds the masterId to the dcim virtual chassis list params
   607  func (o *DcimVirtualChassisListParams) SetMasterID(masterID *string) {
   608  	o.MasterID = masterID
   609  }
   610  
   611  // WithMasterIDn adds the masterIDn to the dcim virtual chassis list params
   612  func (o *DcimVirtualChassisListParams) WithMasterIDn(masterIDn *string) *DcimVirtualChassisListParams {
   613  	o.SetMasterIDn(masterIDn)
   614  	return o
   615  }
   616  
   617  // SetMasterIDn adds the masterIdN to the dcim virtual chassis list params
   618  func (o *DcimVirtualChassisListParams) SetMasterIDn(masterIDn *string) {
   619  	o.MasterIDn = masterIDn
   620  }
   621  
   622  // WithName adds the name to the dcim virtual chassis list params
   623  func (o *DcimVirtualChassisListParams) WithName(name *string) *DcimVirtualChassisListParams {
   624  	o.SetName(name)
   625  	return o
   626  }
   627  
   628  // SetName adds the name to the dcim virtual chassis list params
   629  func (o *DcimVirtualChassisListParams) SetName(name *string) {
   630  	o.Name = name
   631  }
   632  
   633  // WithNameEmpty adds the nameEmpty to the dcim virtual chassis list params
   634  func (o *DcimVirtualChassisListParams) WithNameEmpty(nameEmpty *string) *DcimVirtualChassisListParams {
   635  	o.SetNameEmpty(nameEmpty)
   636  	return o
   637  }
   638  
   639  // SetNameEmpty adds the nameEmpty to the dcim virtual chassis list params
   640  func (o *DcimVirtualChassisListParams) SetNameEmpty(nameEmpty *string) {
   641  	o.NameEmpty = nameEmpty
   642  }
   643  
   644  // WithNameIc adds the nameIc to the dcim virtual chassis list params
   645  func (o *DcimVirtualChassisListParams) WithNameIc(nameIc *string) *DcimVirtualChassisListParams {
   646  	o.SetNameIc(nameIc)
   647  	return o
   648  }
   649  
   650  // SetNameIc adds the nameIc to the dcim virtual chassis list params
   651  func (o *DcimVirtualChassisListParams) SetNameIc(nameIc *string) {
   652  	o.NameIc = nameIc
   653  }
   654  
   655  // WithNameIe adds the nameIe to the dcim virtual chassis list params
   656  func (o *DcimVirtualChassisListParams) WithNameIe(nameIe *string) *DcimVirtualChassisListParams {
   657  	o.SetNameIe(nameIe)
   658  	return o
   659  }
   660  
   661  // SetNameIe adds the nameIe to the dcim virtual chassis list params
   662  func (o *DcimVirtualChassisListParams) SetNameIe(nameIe *string) {
   663  	o.NameIe = nameIe
   664  }
   665  
   666  // WithNameIew adds the nameIew to the dcim virtual chassis list params
   667  func (o *DcimVirtualChassisListParams) WithNameIew(nameIew *string) *DcimVirtualChassisListParams {
   668  	o.SetNameIew(nameIew)
   669  	return o
   670  }
   671  
   672  // SetNameIew adds the nameIew to the dcim virtual chassis list params
   673  func (o *DcimVirtualChassisListParams) SetNameIew(nameIew *string) {
   674  	o.NameIew = nameIew
   675  }
   676  
   677  // WithNameIsw adds the nameIsw to the dcim virtual chassis list params
   678  func (o *DcimVirtualChassisListParams) WithNameIsw(nameIsw *string) *DcimVirtualChassisListParams {
   679  	o.SetNameIsw(nameIsw)
   680  	return o
   681  }
   682  
   683  // SetNameIsw adds the nameIsw to the dcim virtual chassis list params
   684  func (o *DcimVirtualChassisListParams) SetNameIsw(nameIsw *string) {
   685  	o.NameIsw = nameIsw
   686  }
   687  
   688  // WithNamen adds the namen to the dcim virtual chassis list params
   689  func (o *DcimVirtualChassisListParams) WithNamen(namen *string) *DcimVirtualChassisListParams {
   690  	o.SetNamen(namen)
   691  	return o
   692  }
   693  
   694  // SetNamen adds the nameN to the dcim virtual chassis list params
   695  func (o *DcimVirtualChassisListParams) SetNamen(namen *string) {
   696  	o.Namen = namen
   697  }
   698  
   699  // WithNameNic adds the nameNic to the dcim virtual chassis list params
   700  func (o *DcimVirtualChassisListParams) WithNameNic(nameNic *string) *DcimVirtualChassisListParams {
   701  	o.SetNameNic(nameNic)
   702  	return o
   703  }
   704  
   705  // SetNameNic adds the nameNic to the dcim virtual chassis list params
   706  func (o *DcimVirtualChassisListParams) SetNameNic(nameNic *string) {
   707  	o.NameNic = nameNic
   708  }
   709  
   710  // WithNameNie adds the nameNie to the dcim virtual chassis list params
   711  func (o *DcimVirtualChassisListParams) WithNameNie(nameNie *string) *DcimVirtualChassisListParams {
   712  	o.SetNameNie(nameNie)
   713  	return o
   714  }
   715  
   716  // SetNameNie adds the nameNie to the dcim virtual chassis list params
   717  func (o *DcimVirtualChassisListParams) SetNameNie(nameNie *string) {
   718  	o.NameNie = nameNie
   719  }
   720  
   721  // WithNameNiew adds the nameNiew to the dcim virtual chassis list params
   722  func (o *DcimVirtualChassisListParams) WithNameNiew(nameNiew *string) *DcimVirtualChassisListParams {
   723  	o.SetNameNiew(nameNiew)
   724  	return o
   725  }
   726  
   727  // SetNameNiew adds the nameNiew to the dcim virtual chassis list params
   728  func (o *DcimVirtualChassisListParams) SetNameNiew(nameNiew *string) {
   729  	o.NameNiew = nameNiew
   730  }
   731  
   732  // WithNameNisw adds the nameNisw to the dcim virtual chassis list params
   733  func (o *DcimVirtualChassisListParams) WithNameNisw(nameNisw *string) *DcimVirtualChassisListParams {
   734  	o.SetNameNisw(nameNisw)
   735  	return o
   736  }
   737  
   738  // SetNameNisw adds the nameNisw to the dcim virtual chassis list params
   739  func (o *DcimVirtualChassisListParams) SetNameNisw(nameNisw *string) {
   740  	o.NameNisw = nameNisw
   741  }
   742  
   743  // WithOffset adds the offset to the dcim virtual chassis list params
   744  func (o *DcimVirtualChassisListParams) WithOffset(offset *int64) *DcimVirtualChassisListParams {
   745  	o.SetOffset(offset)
   746  	return o
   747  }
   748  
   749  // SetOffset adds the offset to the dcim virtual chassis list params
   750  func (o *DcimVirtualChassisListParams) SetOffset(offset *int64) {
   751  	o.Offset = offset
   752  }
   753  
   754  // WithQ adds the q to the dcim virtual chassis list params
   755  func (o *DcimVirtualChassisListParams) WithQ(q *string) *DcimVirtualChassisListParams {
   756  	o.SetQ(q)
   757  	return o
   758  }
   759  
   760  // SetQ adds the q to the dcim virtual chassis list params
   761  func (o *DcimVirtualChassisListParams) SetQ(q *string) {
   762  	o.Q = q
   763  }
   764  
   765  // WithRegion adds the region to the dcim virtual chassis list params
   766  func (o *DcimVirtualChassisListParams) WithRegion(region *string) *DcimVirtualChassisListParams {
   767  	o.SetRegion(region)
   768  	return o
   769  }
   770  
   771  // SetRegion adds the region to the dcim virtual chassis list params
   772  func (o *DcimVirtualChassisListParams) SetRegion(region *string) {
   773  	o.Region = region
   774  }
   775  
   776  // WithRegionn adds the regionn to the dcim virtual chassis list params
   777  func (o *DcimVirtualChassisListParams) WithRegionn(regionn *string) *DcimVirtualChassisListParams {
   778  	o.SetRegionn(regionn)
   779  	return o
   780  }
   781  
   782  // SetRegionn adds the regionN to the dcim virtual chassis list params
   783  func (o *DcimVirtualChassisListParams) SetRegionn(regionn *string) {
   784  	o.Regionn = regionn
   785  }
   786  
   787  // WithRegionID adds the regionID to the dcim virtual chassis list params
   788  func (o *DcimVirtualChassisListParams) WithRegionID(regionID *string) *DcimVirtualChassisListParams {
   789  	o.SetRegionID(regionID)
   790  	return o
   791  }
   792  
   793  // SetRegionID adds the regionId to the dcim virtual chassis list params
   794  func (o *DcimVirtualChassisListParams) SetRegionID(regionID *string) {
   795  	o.RegionID = regionID
   796  }
   797  
   798  // WithRegionIDn adds the regionIDn to the dcim virtual chassis list params
   799  func (o *DcimVirtualChassisListParams) WithRegionIDn(regionIDn *string) *DcimVirtualChassisListParams {
   800  	o.SetRegionIDn(regionIDn)
   801  	return o
   802  }
   803  
   804  // SetRegionIDn adds the regionIdN to the dcim virtual chassis list params
   805  func (o *DcimVirtualChassisListParams) SetRegionIDn(regionIDn *string) {
   806  	o.RegionIDn = regionIDn
   807  }
   808  
   809  // WithSite adds the site to the dcim virtual chassis list params
   810  func (o *DcimVirtualChassisListParams) WithSite(site *string) *DcimVirtualChassisListParams {
   811  	o.SetSite(site)
   812  	return o
   813  }
   814  
   815  // SetSite adds the site to the dcim virtual chassis list params
   816  func (o *DcimVirtualChassisListParams) SetSite(site *string) {
   817  	o.Site = site
   818  }
   819  
   820  // WithSiten adds the siten to the dcim virtual chassis list params
   821  func (o *DcimVirtualChassisListParams) WithSiten(siten *string) *DcimVirtualChassisListParams {
   822  	o.SetSiten(siten)
   823  	return o
   824  }
   825  
   826  // SetSiten adds the siteN to the dcim virtual chassis list params
   827  func (o *DcimVirtualChassisListParams) SetSiten(siten *string) {
   828  	o.Siten = siten
   829  }
   830  
   831  // WithSiteGroup adds the siteGroup to the dcim virtual chassis list params
   832  func (o *DcimVirtualChassisListParams) WithSiteGroup(siteGroup *string) *DcimVirtualChassisListParams {
   833  	o.SetSiteGroup(siteGroup)
   834  	return o
   835  }
   836  
   837  // SetSiteGroup adds the siteGroup to the dcim virtual chassis list params
   838  func (o *DcimVirtualChassisListParams) SetSiteGroup(siteGroup *string) {
   839  	o.SiteGroup = siteGroup
   840  }
   841  
   842  // WithSiteGroupn adds the siteGroupn to the dcim virtual chassis list params
   843  func (o *DcimVirtualChassisListParams) WithSiteGroupn(siteGroupn *string) *DcimVirtualChassisListParams {
   844  	o.SetSiteGroupn(siteGroupn)
   845  	return o
   846  }
   847  
   848  // SetSiteGroupn adds the siteGroupN to the dcim virtual chassis list params
   849  func (o *DcimVirtualChassisListParams) SetSiteGroupn(siteGroupn *string) {
   850  	o.SiteGroupn = siteGroupn
   851  }
   852  
   853  // WithSiteGroupID adds the siteGroupID to the dcim virtual chassis list params
   854  func (o *DcimVirtualChassisListParams) WithSiteGroupID(siteGroupID *string) *DcimVirtualChassisListParams {
   855  	o.SetSiteGroupID(siteGroupID)
   856  	return o
   857  }
   858  
   859  // SetSiteGroupID adds the siteGroupId to the dcim virtual chassis list params
   860  func (o *DcimVirtualChassisListParams) SetSiteGroupID(siteGroupID *string) {
   861  	o.SiteGroupID = siteGroupID
   862  }
   863  
   864  // WithSiteGroupIDn adds the siteGroupIDn to the dcim virtual chassis list params
   865  func (o *DcimVirtualChassisListParams) WithSiteGroupIDn(siteGroupIDn *string) *DcimVirtualChassisListParams {
   866  	o.SetSiteGroupIDn(siteGroupIDn)
   867  	return o
   868  }
   869  
   870  // SetSiteGroupIDn adds the siteGroupIdN to the dcim virtual chassis list params
   871  func (o *DcimVirtualChassisListParams) SetSiteGroupIDn(siteGroupIDn *string) {
   872  	o.SiteGroupIDn = siteGroupIDn
   873  }
   874  
   875  // WithSiteID adds the siteID to the dcim virtual chassis list params
   876  func (o *DcimVirtualChassisListParams) WithSiteID(siteID *string) *DcimVirtualChassisListParams {
   877  	o.SetSiteID(siteID)
   878  	return o
   879  }
   880  
   881  // SetSiteID adds the siteId to the dcim virtual chassis list params
   882  func (o *DcimVirtualChassisListParams) SetSiteID(siteID *string) {
   883  	o.SiteID = siteID
   884  }
   885  
   886  // WithSiteIDn adds the siteIDn to the dcim virtual chassis list params
   887  func (o *DcimVirtualChassisListParams) WithSiteIDn(siteIDn *string) *DcimVirtualChassisListParams {
   888  	o.SetSiteIDn(siteIDn)
   889  	return o
   890  }
   891  
   892  // SetSiteIDn adds the siteIdN to the dcim virtual chassis list params
   893  func (o *DcimVirtualChassisListParams) SetSiteIDn(siteIDn *string) {
   894  	o.SiteIDn = siteIDn
   895  }
   896  
   897  // WithTag adds the tag to the dcim virtual chassis list params
   898  func (o *DcimVirtualChassisListParams) WithTag(tag *string) *DcimVirtualChassisListParams {
   899  	o.SetTag(tag)
   900  	return o
   901  }
   902  
   903  // SetTag adds the tag to the dcim virtual chassis list params
   904  func (o *DcimVirtualChassisListParams) SetTag(tag *string) {
   905  	o.Tag = tag
   906  }
   907  
   908  // WithTagn adds the tagn to the dcim virtual chassis list params
   909  func (o *DcimVirtualChassisListParams) WithTagn(tagn *string) *DcimVirtualChassisListParams {
   910  	o.SetTagn(tagn)
   911  	return o
   912  }
   913  
   914  // SetTagn adds the tagN to the dcim virtual chassis list params
   915  func (o *DcimVirtualChassisListParams) SetTagn(tagn *string) {
   916  	o.Tagn = tagn
   917  }
   918  
   919  // WithTenant adds the tenant to the dcim virtual chassis list params
   920  func (o *DcimVirtualChassisListParams) WithTenant(tenant *string) *DcimVirtualChassisListParams {
   921  	o.SetTenant(tenant)
   922  	return o
   923  }
   924  
   925  // SetTenant adds the tenant to the dcim virtual chassis list params
   926  func (o *DcimVirtualChassisListParams) SetTenant(tenant *string) {
   927  	o.Tenant = tenant
   928  }
   929  
   930  // WithTenantn adds the tenantn to the dcim virtual chassis list params
   931  func (o *DcimVirtualChassisListParams) WithTenantn(tenantn *string) *DcimVirtualChassisListParams {
   932  	o.SetTenantn(tenantn)
   933  	return o
   934  }
   935  
   936  // SetTenantn adds the tenantN to the dcim virtual chassis list params
   937  func (o *DcimVirtualChassisListParams) SetTenantn(tenantn *string) {
   938  	o.Tenantn = tenantn
   939  }
   940  
   941  // WithTenantID adds the tenantID to the dcim virtual chassis list params
   942  func (o *DcimVirtualChassisListParams) WithTenantID(tenantID *string) *DcimVirtualChassisListParams {
   943  	o.SetTenantID(tenantID)
   944  	return o
   945  }
   946  
   947  // SetTenantID adds the tenantId to the dcim virtual chassis list params
   948  func (o *DcimVirtualChassisListParams) SetTenantID(tenantID *string) {
   949  	o.TenantID = tenantID
   950  }
   951  
   952  // WithTenantIDn adds the tenantIDn to the dcim virtual chassis list params
   953  func (o *DcimVirtualChassisListParams) WithTenantIDn(tenantIDn *string) *DcimVirtualChassisListParams {
   954  	o.SetTenantIDn(tenantIDn)
   955  	return o
   956  }
   957  
   958  // SetTenantIDn adds the tenantIdN to the dcim virtual chassis list params
   959  func (o *DcimVirtualChassisListParams) SetTenantIDn(tenantIDn *string) {
   960  	o.TenantIDn = tenantIDn
   961  }
   962  
   963  // WriteToRequest writes these params to a swagger request
   964  func (o *DcimVirtualChassisListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
   965  
   966  	if err := r.SetTimeout(o.timeout); err != nil {
   967  		return err
   968  	}
   969  	var res []error
   970  
   971  	if o.Created != nil {
   972  
   973  		// query param created
   974  		var qrCreated string
   975  
   976  		if o.Created != nil {
   977  			qrCreated = *o.Created
   978  		}
   979  		qCreated := qrCreated
   980  		if qCreated != "" {
   981  
   982  			if err := r.SetQueryParam("created", qCreated); err != nil {
   983  				return err
   984  			}
   985  		}
   986  	}
   987  
   988  	if o.CreatedGte != nil {
   989  
   990  		// query param created__gte
   991  		var qrCreatedGte string
   992  
   993  		if o.CreatedGte != nil {
   994  			qrCreatedGte = *o.CreatedGte
   995  		}
   996  		qCreatedGte := qrCreatedGte
   997  		if qCreatedGte != "" {
   998  
   999  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  1000  				return err
  1001  			}
  1002  		}
  1003  	}
  1004  
  1005  	if o.CreatedLte != nil {
  1006  
  1007  		// query param created__lte
  1008  		var qrCreatedLte string
  1009  
  1010  		if o.CreatedLte != nil {
  1011  			qrCreatedLte = *o.CreatedLte
  1012  		}
  1013  		qCreatedLte := qrCreatedLte
  1014  		if qCreatedLte != "" {
  1015  
  1016  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  1017  				return err
  1018  			}
  1019  		}
  1020  	}
  1021  
  1022  	if o.Domain != nil {
  1023  
  1024  		// query param domain
  1025  		var qrDomain string
  1026  
  1027  		if o.Domain != nil {
  1028  			qrDomain = *o.Domain
  1029  		}
  1030  		qDomain := qrDomain
  1031  		if qDomain != "" {
  1032  
  1033  			if err := r.SetQueryParam("domain", qDomain); err != nil {
  1034  				return err
  1035  			}
  1036  		}
  1037  	}
  1038  
  1039  	if o.DomainEmpty != nil {
  1040  
  1041  		// query param domain__empty
  1042  		var qrDomainEmpty string
  1043  
  1044  		if o.DomainEmpty != nil {
  1045  			qrDomainEmpty = *o.DomainEmpty
  1046  		}
  1047  		qDomainEmpty := qrDomainEmpty
  1048  		if qDomainEmpty != "" {
  1049  
  1050  			if err := r.SetQueryParam("domain__empty", qDomainEmpty); err != nil {
  1051  				return err
  1052  			}
  1053  		}
  1054  	}
  1055  
  1056  	if o.DomainIc != nil {
  1057  
  1058  		// query param domain__ic
  1059  		var qrDomainIc string
  1060  
  1061  		if o.DomainIc != nil {
  1062  			qrDomainIc = *o.DomainIc
  1063  		}
  1064  		qDomainIc := qrDomainIc
  1065  		if qDomainIc != "" {
  1066  
  1067  			if err := r.SetQueryParam("domain__ic", qDomainIc); err != nil {
  1068  				return err
  1069  			}
  1070  		}
  1071  	}
  1072  
  1073  	if o.DomainIe != nil {
  1074  
  1075  		// query param domain__ie
  1076  		var qrDomainIe string
  1077  
  1078  		if o.DomainIe != nil {
  1079  			qrDomainIe = *o.DomainIe
  1080  		}
  1081  		qDomainIe := qrDomainIe
  1082  		if qDomainIe != "" {
  1083  
  1084  			if err := r.SetQueryParam("domain__ie", qDomainIe); err != nil {
  1085  				return err
  1086  			}
  1087  		}
  1088  	}
  1089  
  1090  	if o.DomainIew != nil {
  1091  
  1092  		// query param domain__iew
  1093  		var qrDomainIew string
  1094  
  1095  		if o.DomainIew != nil {
  1096  			qrDomainIew = *o.DomainIew
  1097  		}
  1098  		qDomainIew := qrDomainIew
  1099  		if qDomainIew != "" {
  1100  
  1101  			if err := r.SetQueryParam("domain__iew", qDomainIew); err != nil {
  1102  				return err
  1103  			}
  1104  		}
  1105  	}
  1106  
  1107  	if o.DomainIsw != nil {
  1108  
  1109  		// query param domain__isw
  1110  		var qrDomainIsw string
  1111  
  1112  		if o.DomainIsw != nil {
  1113  			qrDomainIsw = *o.DomainIsw
  1114  		}
  1115  		qDomainIsw := qrDomainIsw
  1116  		if qDomainIsw != "" {
  1117  
  1118  			if err := r.SetQueryParam("domain__isw", qDomainIsw); err != nil {
  1119  				return err
  1120  			}
  1121  		}
  1122  	}
  1123  
  1124  	if o.Domainn != nil {
  1125  
  1126  		// query param domain__n
  1127  		var qrDomainn string
  1128  
  1129  		if o.Domainn != nil {
  1130  			qrDomainn = *o.Domainn
  1131  		}
  1132  		qDomainn := qrDomainn
  1133  		if qDomainn != "" {
  1134  
  1135  			if err := r.SetQueryParam("domain__n", qDomainn); err != nil {
  1136  				return err
  1137  			}
  1138  		}
  1139  	}
  1140  
  1141  	if o.DomainNic != nil {
  1142  
  1143  		// query param domain__nic
  1144  		var qrDomainNic string
  1145  
  1146  		if o.DomainNic != nil {
  1147  			qrDomainNic = *o.DomainNic
  1148  		}
  1149  		qDomainNic := qrDomainNic
  1150  		if qDomainNic != "" {
  1151  
  1152  			if err := r.SetQueryParam("domain__nic", qDomainNic); err != nil {
  1153  				return err
  1154  			}
  1155  		}
  1156  	}
  1157  
  1158  	if o.DomainNie != nil {
  1159  
  1160  		// query param domain__nie
  1161  		var qrDomainNie string
  1162  
  1163  		if o.DomainNie != nil {
  1164  			qrDomainNie = *o.DomainNie
  1165  		}
  1166  		qDomainNie := qrDomainNie
  1167  		if qDomainNie != "" {
  1168  
  1169  			if err := r.SetQueryParam("domain__nie", qDomainNie); err != nil {
  1170  				return err
  1171  			}
  1172  		}
  1173  	}
  1174  
  1175  	if o.DomainNiew != nil {
  1176  
  1177  		// query param domain__niew
  1178  		var qrDomainNiew string
  1179  
  1180  		if o.DomainNiew != nil {
  1181  			qrDomainNiew = *o.DomainNiew
  1182  		}
  1183  		qDomainNiew := qrDomainNiew
  1184  		if qDomainNiew != "" {
  1185  
  1186  			if err := r.SetQueryParam("domain__niew", qDomainNiew); err != nil {
  1187  				return err
  1188  			}
  1189  		}
  1190  	}
  1191  
  1192  	if o.DomainNisw != nil {
  1193  
  1194  		// query param domain__nisw
  1195  		var qrDomainNisw string
  1196  
  1197  		if o.DomainNisw != nil {
  1198  			qrDomainNisw = *o.DomainNisw
  1199  		}
  1200  		qDomainNisw := qrDomainNisw
  1201  		if qDomainNisw != "" {
  1202  
  1203  			if err := r.SetQueryParam("domain__nisw", qDomainNisw); err != nil {
  1204  				return err
  1205  			}
  1206  		}
  1207  	}
  1208  
  1209  	if o.ID != nil {
  1210  
  1211  		// query param id
  1212  		var qrID string
  1213  
  1214  		if o.ID != nil {
  1215  			qrID = *o.ID
  1216  		}
  1217  		qID := qrID
  1218  		if qID != "" {
  1219  
  1220  			if err := r.SetQueryParam("id", qID); err != nil {
  1221  				return err
  1222  			}
  1223  		}
  1224  	}
  1225  
  1226  	if o.IDGt != nil {
  1227  
  1228  		// query param id__gt
  1229  		var qrIDGt string
  1230  
  1231  		if o.IDGt != nil {
  1232  			qrIDGt = *o.IDGt
  1233  		}
  1234  		qIDGt := qrIDGt
  1235  		if qIDGt != "" {
  1236  
  1237  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1238  				return err
  1239  			}
  1240  		}
  1241  	}
  1242  
  1243  	if o.IDGte != nil {
  1244  
  1245  		// query param id__gte
  1246  		var qrIDGte string
  1247  
  1248  		if o.IDGte != nil {
  1249  			qrIDGte = *o.IDGte
  1250  		}
  1251  		qIDGte := qrIDGte
  1252  		if qIDGte != "" {
  1253  
  1254  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1255  				return err
  1256  			}
  1257  		}
  1258  	}
  1259  
  1260  	if o.IDLt != nil {
  1261  
  1262  		// query param id__lt
  1263  		var qrIDLt string
  1264  
  1265  		if o.IDLt != nil {
  1266  			qrIDLt = *o.IDLt
  1267  		}
  1268  		qIDLt := qrIDLt
  1269  		if qIDLt != "" {
  1270  
  1271  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1272  				return err
  1273  			}
  1274  		}
  1275  	}
  1276  
  1277  	if o.IDLte != nil {
  1278  
  1279  		// query param id__lte
  1280  		var qrIDLte string
  1281  
  1282  		if o.IDLte != nil {
  1283  			qrIDLte = *o.IDLte
  1284  		}
  1285  		qIDLte := qrIDLte
  1286  		if qIDLte != "" {
  1287  
  1288  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1289  				return err
  1290  			}
  1291  		}
  1292  	}
  1293  
  1294  	if o.IDn != nil {
  1295  
  1296  		// query param id__n
  1297  		var qrIDn string
  1298  
  1299  		if o.IDn != nil {
  1300  			qrIDn = *o.IDn
  1301  		}
  1302  		qIDn := qrIDn
  1303  		if qIDn != "" {
  1304  
  1305  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1306  				return err
  1307  			}
  1308  		}
  1309  	}
  1310  
  1311  	if o.LastUpdated != nil {
  1312  
  1313  		// query param last_updated
  1314  		var qrLastUpdated string
  1315  
  1316  		if o.LastUpdated != nil {
  1317  			qrLastUpdated = *o.LastUpdated
  1318  		}
  1319  		qLastUpdated := qrLastUpdated
  1320  		if qLastUpdated != "" {
  1321  
  1322  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  1323  				return err
  1324  			}
  1325  		}
  1326  	}
  1327  
  1328  	if o.LastUpdatedGte != nil {
  1329  
  1330  		// query param last_updated__gte
  1331  		var qrLastUpdatedGte string
  1332  
  1333  		if o.LastUpdatedGte != nil {
  1334  			qrLastUpdatedGte = *o.LastUpdatedGte
  1335  		}
  1336  		qLastUpdatedGte := qrLastUpdatedGte
  1337  		if qLastUpdatedGte != "" {
  1338  
  1339  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  1340  				return err
  1341  			}
  1342  		}
  1343  	}
  1344  
  1345  	if o.LastUpdatedLte != nil {
  1346  
  1347  		// query param last_updated__lte
  1348  		var qrLastUpdatedLte string
  1349  
  1350  		if o.LastUpdatedLte != nil {
  1351  			qrLastUpdatedLte = *o.LastUpdatedLte
  1352  		}
  1353  		qLastUpdatedLte := qrLastUpdatedLte
  1354  		if qLastUpdatedLte != "" {
  1355  
  1356  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  1357  				return err
  1358  			}
  1359  		}
  1360  	}
  1361  
  1362  	if o.Limit != nil {
  1363  
  1364  		// query param limit
  1365  		var qrLimit int64
  1366  
  1367  		if o.Limit != nil {
  1368  			qrLimit = *o.Limit
  1369  		}
  1370  		qLimit := swag.FormatInt64(qrLimit)
  1371  		if qLimit != "" {
  1372  
  1373  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  1374  				return err
  1375  			}
  1376  		}
  1377  	}
  1378  
  1379  	if o.Master != nil {
  1380  
  1381  		// query param master
  1382  		var qrMaster string
  1383  
  1384  		if o.Master != nil {
  1385  			qrMaster = *o.Master
  1386  		}
  1387  		qMaster := qrMaster
  1388  		if qMaster != "" {
  1389  
  1390  			if err := r.SetQueryParam("master", qMaster); err != nil {
  1391  				return err
  1392  			}
  1393  		}
  1394  	}
  1395  
  1396  	if o.Mastern != nil {
  1397  
  1398  		// query param master__n
  1399  		var qrMastern string
  1400  
  1401  		if o.Mastern != nil {
  1402  			qrMastern = *o.Mastern
  1403  		}
  1404  		qMastern := qrMastern
  1405  		if qMastern != "" {
  1406  
  1407  			if err := r.SetQueryParam("master__n", qMastern); err != nil {
  1408  				return err
  1409  			}
  1410  		}
  1411  	}
  1412  
  1413  	if o.MasterID != nil {
  1414  
  1415  		// query param master_id
  1416  		var qrMasterID string
  1417  
  1418  		if o.MasterID != nil {
  1419  			qrMasterID = *o.MasterID
  1420  		}
  1421  		qMasterID := qrMasterID
  1422  		if qMasterID != "" {
  1423  
  1424  			if err := r.SetQueryParam("master_id", qMasterID); err != nil {
  1425  				return err
  1426  			}
  1427  		}
  1428  	}
  1429  
  1430  	if o.MasterIDn != nil {
  1431  
  1432  		// query param master_id__n
  1433  		var qrMasterIDn string
  1434  
  1435  		if o.MasterIDn != nil {
  1436  			qrMasterIDn = *o.MasterIDn
  1437  		}
  1438  		qMasterIDn := qrMasterIDn
  1439  		if qMasterIDn != "" {
  1440  
  1441  			if err := r.SetQueryParam("master_id__n", qMasterIDn); err != nil {
  1442  				return err
  1443  			}
  1444  		}
  1445  	}
  1446  
  1447  	if o.Name != nil {
  1448  
  1449  		// query param name
  1450  		var qrName string
  1451  
  1452  		if o.Name != nil {
  1453  			qrName = *o.Name
  1454  		}
  1455  		qName := qrName
  1456  		if qName != "" {
  1457  
  1458  			if err := r.SetQueryParam("name", qName); err != nil {
  1459  				return err
  1460  			}
  1461  		}
  1462  	}
  1463  
  1464  	if o.NameEmpty != nil {
  1465  
  1466  		// query param name__empty
  1467  		var qrNameEmpty string
  1468  
  1469  		if o.NameEmpty != nil {
  1470  			qrNameEmpty = *o.NameEmpty
  1471  		}
  1472  		qNameEmpty := qrNameEmpty
  1473  		if qNameEmpty != "" {
  1474  
  1475  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  1476  				return err
  1477  			}
  1478  		}
  1479  	}
  1480  
  1481  	if o.NameIc != nil {
  1482  
  1483  		// query param name__ic
  1484  		var qrNameIc string
  1485  
  1486  		if o.NameIc != nil {
  1487  			qrNameIc = *o.NameIc
  1488  		}
  1489  		qNameIc := qrNameIc
  1490  		if qNameIc != "" {
  1491  
  1492  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  1493  				return err
  1494  			}
  1495  		}
  1496  	}
  1497  
  1498  	if o.NameIe != nil {
  1499  
  1500  		// query param name__ie
  1501  		var qrNameIe string
  1502  
  1503  		if o.NameIe != nil {
  1504  			qrNameIe = *o.NameIe
  1505  		}
  1506  		qNameIe := qrNameIe
  1507  		if qNameIe != "" {
  1508  
  1509  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  1510  				return err
  1511  			}
  1512  		}
  1513  	}
  1514  
  1515  	if o.NameIew != nil {
  1516  
  1517  		// query param name__iew
  1518  		var qrNameIew string
  1519  
  1520  		if o.NameIew != nil {
  1521  			qrNameIew = *o.NameIew
  1522  		}
  1523  		qNameIew := qrNameIew
  1524  		if qNameIew != "" {
  1525  
  1526  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  1527  				return err
  1528  			}
  1529  		}
  1530  	}
  1531  
  1532  	if o.NameIsw != nil {
  1533  
  1534  		// query param name__isw
  1535  		var qrNameIsw string
  1536  
  1537  		if o.NameIsw != nil {
  1538  			qrNameIsw = *o.NameIsw
  1539  		}
  1540  		qNameIsw := qrNameIsw
  1541  		if qNameIsw != "" {
  1542  
  1543  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  1544  				return err
  1545  			}
  1546  		}
  1547  	}
  1548  
  1549  	if o.Namen != nil {
  1550  
  1551  		// query param name__n
  1552  		var qrNamen string
  1553  
  1554  		if o.Namen != nil {
  1555  			qrNamen = *o.Namen
  1556  		}
  1557  		qNamen := qrNamen
  1558  		if qNamen != "" {
  1559  
  1560  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  1561  				return err
  1562  			}
  1563  		}
  1564  	}
  1565  
  1566  	if o.NameNic != nil {
  1567  
  1568  		// query param name__nic
  1569  		var qrNameNic string
  1570  
  1571  		if o.NameNic != nil {
  1572  			qrNameNic = *o.NameNic
  1573  		}
  1574  		qNameNic := qrNameNic
  1575  		if qNameNic != "" {
  1576  
  1577  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  1578  				return err
  1579  			}
  1580  		}
  1581  	}
  1582  
  1583  	if o.NameNie != nil {
  1584  
  1585  		// query param name__nie
  1586  		var qrNameNie string
  1587  
  1588  		if o.NameNie != nil {
  1589  			qrNameNie = *o.NameNie
  1590  		}
  1591  		qNameNie := qrNameNie
  1592  		if qNameNie != "" {
  1593  
  1594  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  1595  				return err
  1596  			}
  1597  		}
  1598  	}
  1599  
  1600  	if o.NameNiew != nil {
  1601  
  1602  		// query param name__niew
  1603  		var qrNameNiew string
  1604  
  1605  		if o.NameNiew != nil {
  1606  			qrNameNiew = *o.NameNiew
  1607  		}
  1608  		qNameNiew := qrNameNiew
  1609  		if qNameNiew != "" {
  1610  
  1611  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  1612  				return err
  1613  			}
  1614  		}
  1615  	}
  1616  
  1617  	if o.NameNisw != nil {
  1618  
  1619  		// query param name__nisw
  1620  		var qrNameNisw string
  1621  
  1622  		if o.NameNisw != nil {
  1623  			qrNameNisw = *o.NameNisw
  1624  		}
  1625  		qNameNisw := qrNameNisw
  1626  		if qNameNisw != "" {
  1627  
  1628  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  1629  				return err
  1630  			}
  1631  		}
  1632  	}
  1633  
  1634  	if o.Offset != nil {
  1635  
  1636  		// query param offset
  1637  		var qrOffset int64
  1638  
  1639  		if o.Offset != nil {
  1640  			qrOffset = *o.Offset
  1641  		}
  1642  		qOffset := swag.FormatInt64(qrOffset)
  1643  		if qOffset != "" {
  1644  
  1645  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  1646  				return err
  1647  			}
  1648  		}
  1649  	}
  1650  
  1651  	if o.Q != nil {
  1652  
  1653  		// query param q
  1654  		var qrQ string
  1655  
  1656  		if o.Q != nil {
  1657  			qrQ = *o.Q
  1658  		}
  1659  		qQ := qrQ
  1660  		if qQ != "" {
  1661  
  1662  			if err := r.SetQueryParam("q", qQ); err != nil {
  1663  				return err
  1664  			}
  1665  		}
  1666  	}
  1667  
  1668  	if o.Region != nil {
  1669  
  1670  		// query param region
  1671  		var qrRegion string
  1672  
  1673  		if o.Region != nil {
  1674  			qrRegion = *o.Region
  1675  		}
  1676  		qRegion := qrRegion
  1677  		if qRegion != "" {
  1678  
  1679  			if err := r.SetQueryParam("region", qRegion); err != nil {
  1680  				return err
  1681  			}
  1682  		}
  1683  	}
  1684  
  1685  	if o.Regionn != nil {
  1686  
  1687  		// query param region__n
  1688  		var qrRegionn string
  1689  
  1690  		if o.Regionn != nil {
  1691  			qrRegionn = *o.Regionn
  1692  		}
  1693  		qRegionn := qrRegionn
  1694  		if qRegionn != "" {
  1695  
  1696  			if err := r.SetQueryParam("region__n", qRegionn); err != nil {
  1697  				return err
  1698  			}
  1699  		}
  1700  	}
  1701  
  1702  	if o.RegionID != nil {
  1703  
  1704  		// query param region_id
  1705  		var qrRegionID string
  1706  
  1707  		if o.RegionID != nil {
  1708  			qrRegionID = *o.RegionID
  1709  		}
  1710  		qRegionID := qrRegionID
  1711  		if qRegionID != "" {
  1712  
  1713  			if err := r.SetQueryParam("region_id", qRegionID); err != nil {
  1714  				return err
  1715  			}
  1716  		}
  1717  	}
  1718  
  1719  	if o.RegionIDn != nil {
  1720  
  1721  		// query param region_id__n
  1722  		var qrRegionIDn string
  1723  
  1724  		if o.RegionIDn != nil {
  1725  			qrRegionIDn = *o.RegionIDn
  1726  		}
  1727  		qRegionIDn := qrRegionIDn
  1728  		if qRegionIDn != "" {
  1729  
  1730  			if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil {
  1731  				return err
  1732  			}
  1733  		}
  1734  	}
  1735  
  1736  	if o.Site != nil {
  1737  
  1738  		// query param site
  1739  		var qrSite string
  1740  
  1741  		if o.Site != nil {
  1742  			qrSite = *o.Site
  1743  		}
  1744  		qSite := qrSite
  1745  		if qSite != "" {
  1746  
  1747  			if err := r.SetQueryParam("site", qSite); err != nil {
  1748  				return err
  1749  			}
  1750  		}
  1751  	}
  1752  
  1753  	if o.Siten != nil {
  1754  
  1755  		// query param site__n
  1756  		var qrSiten string
  1757  
  1758  		if o.Siten != nil {
  1759  			qrSiten = *o.Siten
  1760  		}
  1761  		qSiten := qrSiten
  1762  		if qSiten != "" {
  1763  
  1764  			if err := r.SetQueryParam("site__n", qSiten); err != nil {
  1765  				return err
  1766  			}
  1767  		}
  1768  	}
  1769  
  1770  	if o.SiteGroup != nil {
  1771  
  1772  		// query param site_group
  1773  		var qrSiteGroup string
  1774  
  1775  		if o.SiteGroup != nil {
  1776  			qrSiteGroup = *o.SiteGroup
  1777  		}
  1778  		qSiteGroup := qrSiteGroup
  1779  		if qSiteGroup != "" {
  1780  
  1781  			if err := r.SetQueryParam("site_group", qSiteGroup); err != nil {
  1782  				return err
  1783  			}
  1784  		}
  1785  	}
  1786  
  1787  	if o.SiteGroupn != nil {
  1788  
  1789  		// query param site_group__n
  1790  		var qrSiteGroupn string
  1791  
  1792  		if o.SiteGroupn != nil {
  1793  			qrSiteGroupn = *o.SiteGroupn
  1794  		}
  1795  		qSiteGroupn := qrSiteGroupn
  1796  		if qSiteGroupn != "" {
  1797  
  1798  			if err := r.SetQueryParam("site_group__n", qSiteGroupn); err != nil {
  1799  				return err
  1800  			}
  1801  		}
  1802  	}
  1803  
  1804  	if o.SiteGroupID != nil {
  1805  
  1806  		// query param site_group_id
  1807  		var qrSiteGroupID string
  1808  
  1809  		if o.SiteGroupID != nil {
  1810  			qrSiteGroupID = *o.SiteGroupID
  1811  		}
  1812  		qSiteGroupID := qrSiteGroupID
  1813  		if qSiteGroupID != "" {
  1814  
  1815  			if err := r.SetQueryParam("site_group_id", qSiteGroupID); err != nil {
  1816  				return err
  1817  			}
  1818  		}
  1819  	}
  1820  
  1821  	if o.SiteGroupIDn != nil {
  1822  
  1823  		// query param site_group_id__n
  1824  		var qrSiteGroupIDn string
  1825  
  1826  		if o.SiteGroupIDn != nil {
  1827  			qrSiteGroupIDn = *o.SiteGroupIDn
  1828  		}
  1829  		qSiteGroupIDn := qrSiteGroupIDn
  1830  		if qSiteGroupIDn != "" {
  1831  
  1832  			if err := r.SetQueryParam("site_group_id__n", qSiteGroupIDn); err != nil {
  1833  				return err
  1834  			}
  1835  		}
  1836  	}
  1837  
  1838  	if o.SiteID != nil {
  1839  
  1840  		// query param site_id
  1841  		var qrSiteID string
  1842  
  1843  		if o.SiteID != nil {
  1844  			qrSiteID = *o.SiteID
  1845  		}
  1846  		qSiteID := qrSiteID
  1847  		if qSiteID != "" {
  1848  
  1849  			if err := r.SetQueryParam("site_id", qSiteID); err != nil {
  1850  				return err
  1851  			}
  1852  		}
  1853  	}
  1854  
  1855  	if o.SiteIDn != nil {
  1856  
  1857  		// query param site_id__n
  1858  		var qrSiteIDn string
  1859  
  1860  		if o.SiteIDn != nil {
  1861  			qrSiteIDn = *o.SiteIDn
  1862  		}
  1863  		qSiteIDn := qrSiteIDn
  1864  		if qSiteIDn != "" {
  1865  
  1866  			if err := r.SetQueryParam("site_id__n", qSiteIDn); err != nil {
  1867  				return err
  1868  			}
  1869  		}
  1870  	}
  1871  
  1872  	if o.Tag != nil {
  1873  
  1874  		// query param tag
  1875  		var qrTag string
  1876  
  1877  		if o.Tag != nil {
  1878  			qrTag = *o.Tag
  1879  		}
  1880  		qTag := qrTag
  1881  		if qTag != "" {
  1882  
  1883  			if err := r.SetQueryParam("tag", qTag); err != nil {
  1884  				return err
  1885  			}
  1886  		}
  1887  	}
  1888  
  1889  	if o.Tagn != nil {
  1890  
  1891  		// query param tag__n
  1892  		var qrTagn string
  1893  
  1894  		if o.Tagn != nil {
  1895  			qrTagn = *o.Tagn
  1896  		}
  1897  		qTagn := qrTagn
  1898  		if qTagn != "" {
  1899  
  1900  			if err := r.SetQueryParam("tag__n", qTagn); err != nil {
  1901  				return err
  1902  			}
  1903  		}
  1904  	}
  1905  
  1906  	if o.Tenant != nil {
  1907  
  1908  		// query param tenant
  1909  		var qrTenant string
  1910  
  1911  		if o.Tenant != nil {
  1912  			qrTenant = *o.Tenant
  1913  		}
  1914  		qTenant := qrTenant
  1915  		if qTenant != "" {
  1916  
  1917  			if err := r.SetQueryParam("tenant", qTenant); err != nil {
  1918  				return err
  1919  			}
  1920  		}
  1921  	}
  1922  
  1923  	if o.Tenantn != nil {
  1924  
  1925  		// query param tenant__n
  1926  		var qrTenantn string
  1927  
  1928  		if o.Tenantn != nil {
  1929  			qrTenantn = *o.Tenantn
  1930  		}
  1931  		qTenantn := qrTenantn
  1932  		if qTenantn != "" {
  1933  
  1934  			if err := r.SetQueryParam("tenant__n", qTenantn); err != nil {
  1935  				return err
  1936  			}
  1937  		}
  1938  	}
  1939  
  1940  	if o.TenantID != nil {
  1941  
  1942  		// query param tenant_id
  1943  		var qrTenantID string
  1944  
  1945  		if o.TenantID != nil {
  1946  			qrTenantID = *o.TenantID
  1947  		}
  1948  		qTenantID := qrTenantID
  1949  		if qTenantID != "" {
  1950  
  1951  			if err := r.SetQueryParam("tenant_id", qTenantID); err != nil {
  1952  				return err
  1953  			}
  1954  		}
  1955  	}
  1956  
  1957  	if o.TenantIDn != nil {
  1958  
  1959  		// query param tenant_id__n
  1960  		var qrTenantIDn string
  1961  
  1962  		if o.TenantIDn != nil {
  1963  			qrTenantIDn = *o.TenantIDn
  1964  		}
  1965  		qTenantIDn := qrTenantIDn
  1966  		if qTenantIDn != "" {
  1967  
  1968  			if err := r.SetQueryParam("tenant_id__n", qTenantIDn); err != nil {
  1969  				return err
  1970  			}
  1971  		}
  1972  	}
  1973  
  1974  	if len(res) > 0 {
  1975  		return errors.CompositeValidationError(res...)
  1976  	}
  1977  	return nil
  1978  }