github.com/digitalocean/go-netbox@v0.0.2/netbox/client/ipam/ipam_vlan_groups_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 ipam
    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  // NewIpamVlanGroupsListParams creates a new IpamVlanGroupsListParams 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 NewIpamVlanGroupsListParams() *IpamVlanGroupsListParams {
    42  	return &IpamVlanGroupsListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewIpamVlanGroupsListParamsWithTimeout creates a new IpamVlanGroupsListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewIpamVlanGroupsListParamsWithTimeout(timeout time.Duration) *IpamVlanGroupsListParams {
    50  	return &IpamVlanGroupsListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewIpamVlanGroupsListParamsWithContext creates a new IpamVlanGroupsListParams object
    56  // with the ability to set a context for a request.
    57  func NewIpamVlanGroupsListParamsWithContext(ctx context.Context) *IpamVlanGroupsListParams {
    58  	return &IpamVlanGroupsListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewIpamVlanGroupsListParamsWithHTTPClient creates a new IpamVlanGroupsListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewIpamVlanGroupsListParamsWithHTTPClient(client *http.Client) *IpamVlanGroupsListParams {
    66  	return &IpamVlanGroupsListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* IpamVlanGroupsListParams contains all the parameters to send to the API endpoint
    72     for the ipam vlan groups list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type IpamVlanGroupsListParams struct {
    77  
    78  	// Cluster.
    79  	Cluster *float64
    80  
    81  	// Clustergroup.
    82  	Clustergroup *float64
    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  	// ID.
   127  	ID *string
   128  
   129  	// IDGt.
   130  	IDGt *string
   131  
   132  	// IDGte.
   133  	IDGte *string
   134  
   135  	// IDLt.
   136  	IDLt *string
   137  
   138  	// IDLte.
   139  	IDLte *string
   140  
   141  	// IDn.
   142  	IDn *string
   143  
   144  	// LastUpdated.
   145  	LastUpdated *string
   146  
   147  	// LastUpdatedGte.
   148  	LastUpdatedGte *string
   149  
   150  	// LastUpdatedLte.
   151  	LastUpdatedLte *string
   152  
   153  	/* Limit.
   154  
   155  	   Number of results to return per page.
   156  	*/
   157  	Limit *int64
   158  
   159  	// Location.
   160  	Location *float64
   161  
   162  	// Name.
   163  	Name *string
   164  
   165  	// NameEmpty.
   166  	NameEmpty *string
   167  
   168  	// NameIc.
   169  	NameIc *string
   170  
   171  	// NameIe.
   172  	NameIe *string
   173  
   174  	// NameIew.
   175  	NameIew *string
   176  
   177  	// NameIsw.
   178  	NameIsw *string
   179  
   180  	// Namen.
   181  	Namen *string
   182  
   183  	// NameNic.
   184  	NameNic *string
   185  
   186  	// NameNie.
   187  	NameNie *string
   188  
   189  	// NameNiew.
   190  	NameNiew *string
   191  
   192  	// NameNisw.
   193  	NameNisw *string
   194  
   195  	/* Offset.
   196  
   197  	   The initial index from which to return the results.
   198  	*/
   199  	Offset *int64
   200  
   201  	// Q.
   202  	Q *string
   203  
   204  	// Rack.
   205  	Rack *float64
   206  
   207  	// Region.
   208  	Region *float64
   209  
   210  	// ScopeID.
   211  	ScopeID *string
   212  
   213  	// ScopeIDGt.
   214  	ScopeIDGt *string
   215  
   216  	// ScopeIDGte.
   217  	ScopeIDGte *string
   218  
   219  	// ScopeIDLt.
   220  	ScopeIDLt *string
   221  
   222  	// ScopeIDLte.
   223  	ScopeIDLte *string
   224  
   225  	// ScopeIDn.
   226  	ScopeIDn *string
   227  
   228  	// ScopeType.
   229  	ScopeType *string
   230  
   231  	// ScopeTypen.
   232  	ScopeTypen *string
   233  
   234  	// Site.
   235  	Site *float64
   236  
   237  	// Sitegroup.
   238  	Sitegroup *float64
   239  
   240  	// Slug.
   241  	Slug *string
   242  
   243  	// SlugEmpty.
   244  	SlugEmpty *string
   245  
   246  	// SlugIc.
   247  	SlugIc *string
   248  
   249  	// SlugIe.
   250  	SlugIe *string
   251  
   252  	// SlugIew.
   253  	SlugIew *string
   254  
   255  	// SlugIsw.
   256  	SlugIsw *string
   257  
   258  	// Slugn.
   259  	Slugn *string
   260  
   261  	// SlugNic.
   262  	SlugNic *string
   263  
   264  	// SlugNie.
   265  	SlugNie *string
   266  
   267  	// SlugNiew.
   268  	SlugNiew *string
   269  
   270  	// SlugNisw.
   271  	SlugNisw *string
   272  
   273  	timeout    time.Duration
   274  	Context    context.Context
   275  	HTTPClient *http.Client
   276  }
   277  
   278  // WithDefaults hydrates default values in the ipam vlan groups list params (not the query body).
   279  //
   280  // All values with no default are reset to their zero value.
   281  func (o *IpamVlanGroupsListParams) WithDefaults() *IpamVlanGroupsListParams {
   282  	o.SetDefaults()
   283  	return o
   284  }
   285  
   286  // SetDefaults hydrates default values in the ipam vlan groups list params (not the query body).
   287  //
   288  // All values with no default are reset to their zero value.
   289  func (o *IpamVlanGroupsListParams) SetDefaults() {
   290  	// no default values defined for this parameter
   291  }
   292  
   293  // WithTimeout adds the timeout to the ipam vlan groups list params
   294  func (o *IpamVlanGroupsListParams) WithTimeout(timeout time.Duration) *IpamVlanGroupsListParams {
   295  	o.SetTimeout(timeout)
   296  	return o
   297  }
   298  
   299  // SetTimeout adds the timeout to the ipam vlan groups list params
   300  func (o *IpamVlanGroupsListParams) SetTimeout(timeout time.Duration) {
   301  	o.timeout = timeout
   302  }
   303  
   304  // WithContext adds the context to the ipam vlan groups list params
   305  func (o *IpamVlanGroupsListParams) WithContext(ctx context.Context) *IpamVlanGroupsListParams {
   306  	o.SetContext(ctx)
   307  	return o
   308  }
   309  
   310  // SetContext adds the context to the ipam vlan groups list params
   311  func (o *IpamVlanGroupsListParams) SetContext(ctx context.Context) {
   312  	o.Context = ctx
   313  }
   314  
   315  // WithHTTPClient adds the HTTPClient to the ipam vlan groups list params
   316  func (o *IpamVlanGroupsListParams) WithHTTPClient(client *http.Client) *IpamVlanGroupsListParams {
   317  	o.SetHTTPClient(client)
   318  	return o
   319  }
   320  
   321  // SetHTTPClient adds the HTTPClient to the ipam vlan groups list params
   322  func (o *IpamVlanGroupsListParams) SetHTTPClient(client *http.Client) {
   323  	o.HTTPClient = client
   324  }
   325  
   326  // WithCluster adds the cluster to the ipam vlan groups list params
   327  func (o *IpamVlanGroupsListParams) WithCluster(cluster *float64) *IpamVlanGroupsListParams {
   328  	o.SetCluster(cluster)
   329  	return o
   330  }
   331  
   332  // SetCluster adds the cluster to the ipam vlan groups list params
   333  func (o *IpamVlanGroupsListParams) SetCluster(cluster *float64) {
   334  	o.Cluster = cluster
   335  }
   336  
   337  // WithClustergroup adds the clustergroup to the ipam vlan groups list params
   338  func (o *IpamVlanGroupsListParams) WithClustergroup(clustergroup *float64) *IpamVlanGroupsListParams {
   339  	o.SetClustergroup(clustergroup)
   340  	return o
   341  }
   342  
   343  // SetClustergroup adds the clustergroup to the ipam vlan groups list params
   344  func (o *IpamVlanGroupsListParams) SetClustergroup(clustergroup *float64) {
   345  	o.Clustergroup = clustergroup
   346  }
   347  
   348  // WithCreated adds the created to the ipam vlan groups list params
   349  func (o *IpamVlanGroupsListParams) WithCreated(created *string) *IpamVlanGroupsListParams {
   350  	o.SetCreated(created)
   351  	return o
   352  }
   353  
   354  // SetCreated adds the created to the ipam vlan groups list params
   355  func (o *IpamVlanGroupsListParams) SetCreated(created *string) {
   356  	o.Created = created
   357  }
   358  
   359  // WithCreatedGte adds the createdGte to the ipam vlan groups list params
   360  func (o *IpamVlanGroupsListParams) WithCreatedGte(createdGte *string) *IpamVlanGroupsListParams {
   361  	o.SetCreatedGte(createdGte)
   362  	return o
   363  }
   364  
   365  // SetCreatedGte adds the createdGte to the ipam vlan groups list params
   366  func (o *IpamVlanGroupsListParams) SetCreatedGte(createdGte *string) {
   367  	o.CreatedGte = createdGte
   368  }
   369  
   370  // WithCreatedLte adds the createdLte to the ipam vlan groups list params
   371  func (o *IpamVlanGroupsListParams) WithCreatedLte(createdLte *string) *IpamVlanGroupsListParams {
   372  	o.SetCreatedLte(createdLte)
   373  	return o
   374  }
   375  
   376  // SetCreatedLte adds the createdLte to the ipam vlan groups list params
   377  func (o *IpamVlanGroupsListParams) SetCreatedLte(createdLte *string) {
   378  	o.CreatedLte = createdLte
   379  }
   380  
   381  // WithDescription adds the description to the ipam vlan groups list params
   382  func (o *IpamVlanGroupsListParams) WithDescription(description *string) *IpamVlanGroupsListParams {
   383  	o.SetDescription(description)
   384  	return o
   385  }
   386  
   387  // SetDescription adds the description to the ipam vlan groups list params
   388  func (o *IpamVlanGroupsListParams) SetDescription(description *string) {
   389  	o.Description = description
   390  }
   391  
   392  // WithDescriptionEmpty adds the descriptionEmpty to the ipam vlan groups list params
   393  func (o *IpamVlanGroupsListParams) WithDescriptionEmpty(descriptionEmpty *string) *IpamVlanGroupsListParams {
   394  	o.SetDescriptionEmpty(descriptionEmpty)
   395  	return o
   396  }
   397  
   398  // SetDescriptionEmpty adds the descriptionEmpty to the ipam vlan groups list params
   399  func (o *IpamVlanGroupsListParams) SetDescriptionEmpty(descriptionEmpty *string) {
   400  	o.DescriptionEmpty = descriptionEmpty
   401  }
   402  
   403  // WithDescriptionIc adds the descriptionIc to the ipam vlan groups list params
   404  func (o *IpamVlanGroupsListParams) WithDescriptionIc(descriptionIc *string) *IpamVlanGroupsListParams {
   405  	o.SetDescriptionIc(descriptionIc)
   406  	return o
   407  }
   408  
   409  // SetDescriptionIc adds the descriptionIc to the ipam vlan groups list params
   410  func (o *IpamVlanGroupsListParams) SetDescriptionIc(descriptionIc *string) {
   411  	o.DescriptionIc = descriptionIc
   412  }
   413  
   414  // WithDescriptionIe adds the descriptionIe to the ipam vlan groups list params
   415  func (o *IpamVlanGroupsListParams) WithDescriptionIe(descriptionIe *string) *IpamVlanGroupsListParams {
   416  	o.SetDescriptionIe(descriptionIe)
   417  	return o
   418  }
   419  
   420  // SetDescriptionIe adds the descriptionIe to the ipam vlan groups list params
   421  func (o *IpamVlanGroupsListParams) SetDescriptionIe(descriptionIe *string) {
   422  	o.DescriptionIe = descriptionIe
   423  }
   424  
   425  // WithDescriptionIew adds the descriptionIew to the ipam vlan groups list params
   426  func (o *IpamVlanGroupsListParams) WithDescriptionIew(descriptionIew *string) *IpamVlanGroupsListParams {
   427  	o.SetDescriptionIew(descriptionIew)
   428  	return o
   429  }
   430  
   431  // SetDescriptionIew adds the descriptionIew to the ipam vlan groups list params
   432  func (o *IpamVlanGroupsListParams) SetDescriptionIew(descriptionIew *string) {
   433  	o.DescriptionIew = descriptionIew
   434  }
   435  
   436  // WithDescriptionIsw adds the descriptionIsw to the ipam vlan groups list params
   437  func (o *IpamVlanGroupsListParams) WithDescriptionIsw(descriptionIsw *string) *IpamVlanGroupsListParams {
   438  	o.SetDescriptionIsw(descriptionIsw)
   439  	return o
   440  }
   441  
   442  // SetDescriptionIsw adds the descriptionIsw to the ipam vlan groups list params
   443  func (o *IpamVlanGroupsListParams) SetDescriptionIsw(descriptionIsw *string) {
   444  	o.DescriptionIsw = descriptionIsw
   445  }
   446  
   447  // WithDescriptionn adds the descriptionn to the ipam vlan groups list params
   448  func (o *IpamVlanGroupsListParams) WithDescriptionn(descriptionn *string) *IpamVlanGroupsListParams {
   449  	o.SetDescriptionn(descriptionn)
   450  	return o
   451  }
   452  
   453  // SetDescriptionn adds the descriptionN to the ipam vlan groups list params
   454  func (o *IpamVlanGroupsListParams) SetDescriptionn(descriptionn *string) {
   455  	o.Descriptionn = descriptionn
   456  }
   457  
   458  // WithDescriptionNic adds the descriptionNic to the ipam vlan groups list params
   459  func (o *IpamVlanGroupsListParams) WithDescriptionNic(descriptionNic *string) *IpamVlanGroupsListParams {
   460  	o.SetDescriptionNic(descriptionNic)
   461  	return o
   462  }
   463  
   464  // SetDescriptionNic adds the descriptionNic to the ipam vlan groups list params
   465  func (o *IpamVlanGroupsListParams) SetDescriptionNic(descriptionNic *string) {
   466  	o.DescriptionNic = descriptionNic
   467  }
   468  
   469  // WithDescriptionNie adds the descriptionNie to the ipam vlan groups list params
   470  func (o *IpamVlanGroupsListParams) WithDescriptionNie(descriptionNie *string) *IpamVlanGroupsListParams {
   471  	o.SetDescriptionNie(descriptionNie)
   472  	return o
   473  }
   474  
   475  // SetDescriptionNie adds the descriptionNie to the ipam vlan groups list params
   476  func (o *IpamVlanGroupsListParams) SetDescriptionNie(descriptionNie *string) {
   477  	o.DescriptionNie = descriptionNie
   478  }
   479  
   480  // WithDescriptionNiew adds the descriptionNiew to the ipam vlan groups list params
   481  func (o *IpamVlanGroupsListParams) WithDescriptionNiew(descriptionNiew *string) *IpamVlanGroupsListParams {
   482  	o.SetDescriptionNiew(descriptionNiew)
   483  	return o
   484  }
   485  
   486  // SetDescriptionNiew adds the descriptionNiew to the ipam vlan groups list params
   487  func (o *IpamVlanGroupsListParams) SetDescriptionNiew(descriptionNiew *string) {
   488  	o.DescriptionNiew = descriptionNiew
   489  }
   490  
   491  // WithDescriptionNisw adds the descriptionNisw to the ipam vlan groups list params
   492  func (o *IpamVlanGroupsListParams) WithDescriptionNisw(descriptionNisw *string) *IpamVlanGroupsListParams {
   493  	o.SetDescriptionNisw(descriptionNisw)
   494  	return o
   495  }
   496  
   497  // SetDescriptionNisw adds the descriptionNisw to the ipam vlan groups list params
   498  func (o *IpamVlanGroupsListParams) SetDescriptionNisw(descriptionNisw *string) {
   499  	o.DescriptionNisw = descriptionNisw
   500  }
   501  
   502  // WithID adds the id to the ipam vlan groups list params
   503  func (o *IpamVlanGroupsListParams) WithID(id *string) *IpamVlanGroupsListParams {
   504  	o.SetID(id)
   505  	return o
   506  }
   507  
   508  // SetID adds the id to the ipam vlan groups list params
   509  func (o *IpamVlanGroupsListParams) SetID(id *string) {
   510  	o.ID = id
   511  }
   512  
   513  // WithIDGt adds the iDGt to the ipam vlan groups list params
   514  func (o *IpamVlanGroupsListParams) WithIDGt(iDGt *string) *IpamVlanGroupsListParams {
   515  	o.SetIDGt(iDGt)
   516  	return o
   517  }
   518  
   519  // SetIDGt adds the idGt to the ipam vlan groups list params
   520  func (o *IpamVlanGroupsListParams) SetIDGt(iDGt *string) {
   521  	o.IDGt = iDGt
   522  }
   523  
   524  // WithIDGte adds the iDGte to the ipam vlan groups list params
   525  func (o *IpamVlanGroupsListParams) WithIDGte(iDGte *string) *IpamVlanGroupsListParams {
   526  	o.SetIDGte(iDGte)
   527  	return o
   528  }
   529  
   530  // SetIDGte adds the idGte to the ipam vlan groups list params
   531  func (o *IpamVlanGroupsListParams) SetIDGte(iDGte *string) {
   532  	o.IDGte = iDGte
   533  }
   534  
   535  // WithIDLt adds the iDLt to the ipam vlan groups list params
   536  func (o *IpamVlanGroupsListParams) WithIDLt(iDLt *string) *IpamVlanGroupsListParams {
   537  	o.SetIDLt(iDLt)
   538  	return o
   539  }
   540  
   541  // SetIDLt adds the idLt to the ipam vlan groups list params
   542  func (o *IpamVlanGroupsListParams) SetIDLt(iDLt *string) {
   543  	o.IDLt = iDLt
   544  }
   545  
   546  // WithIDLte adds the iDLte to the ipam vlan groups list params
   547  func (o *IpamVlanGroupsListParams) WithIDLte(iDLte *string) *IpamVlanGroupsListParams {
   548  	o.SetIDLte(iDLte)
   549  	return o
   550  }
   551  
   552  // SetIDLte adds the idLte to the ipam vlan groups list params
   553  func (o *IpamVlanGroupsListParams) SetIDLte(iDLte *string) {
   554  	o.IDLte = iDLte
   555  }
   556  
   557  // WithIDn adds the iDn to the ipam vlan groups list params
   558  func (o *IpamVlanGroupsListParams) WithIDn(iDn *string) *IpamVlanGroupsListParams {
   559  	o.SetIDn(iDn)
   560  	return o
   561  }
   562  
   563  // SetIDn adds the idN to the ipam vlan groups list params
   564  func (o *IpamVlanGroupsListParams) SetIDn(iDn *string) {
   565  	o.IDn = iDn
   566  }
   567  
   568  // WithLastUpdated adds the lastUpdated to the ipam vlan groups list params
   569  func (o *IpamVlanGroupsListParams) WithLastUpdated(lastUpdated *string) *IpamVlanGroupsListParams {
   570  	o.SetLastUpdated(lastUpdated)
   571  	return o
   572  }
   573  
   574  // SetLastUpdated adds the lastUpdated to the ipam vlan groups list params
   575  func (o *IpamVlanGroupsListParams) SetLastUpdated(lastUpdated *string) {
   576  	o.LastUpdated = lastUpdated
   577  }
   578  
   579  // WithLastUpdatedGte adds the lastUpdatedGte to the ipam vlan groups list params
   580  func (o *IpamVlanGroupsListParams) WithLastUpdatedGte(lastUpdatedGte *string) *IpamVlanGroupsListParams {
   581  	o.SetLastUpdatedGte(lastUpdatedGte)
   582  	return o
   583  }
   584  
   585  // SetLastUpdatedGte adds the lastUpdatedGte to the ipam vlan groups list params
   586  func (o *IpamVlanGroupsListParams) SetLastUpdatedGte(lastUpdatedGte *string) {
   587  	o.LastUpdatedGte = lastUpdatedGte
   588  }
   589  
   590  // WithLastUpdatedLte adds the lastUpdatedLte to the ipam vlan groups list params
   591  func (o *IpamVlanGroupsListParams) WithLastUpdatedLte(lastUpdatedLte *string) *IpamVlanGroupsListParams {
   592  	o.SetLastUpdatedLte(lastUpdatedLte)
   593  	return o
   594  }
   595  
   596  // SetLastUpdatedLte adds the lastUpdatedLte to the ipam vlan groups list params
   597  func (o *IpamVlanGroupsListParams) SetLastUpdatedLte(lastUpdatedLte *string) {
   598  	o.LastUpdatedLte = lastUpdatedLte
   599  }
   600  
   601  // WithLimit adds the limit to the ipam vlan groups list params
   602  func (o *IpamVlanGroupsListParams) WithLimit(limit *int64) *IpamVlanGroupsListParams {
   603  	o.SetLimit(limit)
   604  	return o
   605  }
   606  
   607  // SetLimit adds the limit to the ipam vlan groups list params
   608  func (o *IpamVlanGroupsListParams) SetLimit(limit *int64) {
   609  	o.Limit = limit
   610  }
   611  
   612  // WithLocation adds the location to the ipam vlan groups list params
   613  func (o *IpamVlanGroupsListParams) WithLocation(location *float64) *IpamVlanGroupsListParams {
   614  	o.SetLocation(location)
   615  	return o
   616  }
   617  
   618  // SetLocation adds the location to the ipam vlan groups list params
   619  func (o *IpamVlanGroupsListParams) SetLocation(location *float64) {
   620  	o.Location = location
   621  }
   622  
   623  // WithName adds the name to the ipam vlan groups list params
   624  func (o *IpamVlanGroupsListParams) WithName(name *string) *IpamVlanGroupsListParams {
   625  	o.SetName(name)
   626  	return o
   627  }
   628  
   629  // SetName adds the name to the ipam vlan groups list params
   630  func (o *IpamVlanGroupsListParams) SetName(name *string) {
   631  	o.Name = name
   632  }
   633  
   634  // WithNameEmpty adds the nameEmpty to the ipam vlan groups list params
   635  func (o *IpamVlanGroupsListParams) WithNameEmpty(nameEmpty *string) *IpamVlanGroupsListParams {
   636  	o.SetNameEmpty(nameEmpty)
   637  	return o
   638  }
   639  
   640  // SetNameEmpty adds the nameEmpty to the ipam vlan groups list params
   641  func (o *IpamVlanGroupsListParams) SetNameEmpty(nameEmpty *string) {
   642  	o.NameEmpty = nameEmpty
   643  }
   644  
   645  // WithNameIc adds the nameIc to the ipam vlan groups list params
   646  func (o *IpamVlanGroupsListParams) WithNameIc(nameIc *string) *IpamVlanGroupsListParams {
   647  	o.SetNameIc(nameIc)
   648  	return o
   649  }
   650  
   651  // SetNameIc adds the nameIc to the ipam vlan groups list params
   652  func (o *IpamVlanGroupsListParams) SetNameIc(nameIc *string) {
   653  	o.NameIc = nameIc
   654  }
   655  
   656  // WithNameIe adds the nameIe to the ipam vlan groups list params
   657  func (o *IpamVlanGroupsListParams) WithNameIe(nameIe *string) *IpamVlanGroupsListParams {
   658  	o.SetNameIe(nameIe)
   659  	return o
   660  }
   661  
   662  // SetNameIe adds the nameIe to the ipam vlan groups list params
   663  func (o *IpamVlanGroupsListParams) SetNameIe(nameIe *string) {
   664  	o.NameIe = nameIe
   665  }
   666  
   667  // WithNameIew adds the nameIew to the ipam vlan groups list params
   668  func (o *IpamVlanGroupsListParams) WithNameIew(nameIew *string) *IpamVlanGroupsListParams {
   669  	o.SetNameIew(nameIew)
   670  	return o
   671  }
   672  
   673  // SetNameIew adds the nameIew to the ipam vlan groups list params
   674  func (o *IpamVlanGroupsListParams) SetNameIew(nameIew *string) {
   675  	o.NameIew = nameIew
   676  }
   677  
   678  // WithNameIsw adds the nameIsw to the ipam vlan groups list params
   679  func (o *IpamVlanGroupsListParams) WithNameIsw(nameIsw *string) *IpamVlanGroupsListParams {
   680  	o.SetNameIsw(nameIsw)
   681  	return o
   682  }
   683  
   684  // SetNameIsw adds the nameIsw to the ipam vlan groups list params
   685  func (o *IpamVlanGroupsListParams) SetNameIsw(nameIsw *string) {
   686  	o.NameIsw = nameIsw
   687  }
   688  
   689  // WithNamen adds the namen to the ipam vlan groups list params
   690  func (o *IpamVlanGroupsListParams) WithNamen(namen *string) *IpamVlanGroupsListParams {
   691  	o.SetNamen(namen)
   692  	return o
   693  }
   694  
   695  // SetNamen adds the nameN to the ipam vlan groups list params
   696  func (o *IpamVlanGroupsListParams) SetNamen(namen *string) {
   697  	o.Namen = namen
   698  }
   699  
   700  // WithNameNic adds the nameNic to the ipam vlan groups list params
   701  func (o *IpamVlanGroupsListParams) WithNameNic(nameNic *string) *IpamVlanGroupsListParams {
   702  	o.SetNameNic(nameNic)
   703  	return o
   704  }
   705  
   706  // SetNameNic adds the nameNic to the ipam vlan groups list params
   707  func (o *IpamVlanGroupsListParams) SetNameNic(nameNic *string) {
   708  	o.NameNic = nameNic
   709  }
   710  
   711  // WithNameNie adds the nameNie to the ipam vlan groups list params
   712  func (o *IpamVlanGroupsListParams) WithNameNie(nameNie *string) *IpamVlanGroupsListParams {
   713  	o.SetNameNie(nameNie)
   714  	return o
   715  }
   716  
   717  // SetNameNie adds the nameNie to the ipam vlan groups list params
   718  func (o *IpamVlanGroupsListParams) SetNameNie(nameNie *string) {
   719  	o.NameNie = nameNie
   720  }
   721  
   722  // WithNameNiew adds the nameNiew to the ipam vlan groups list params
   723  func (o *IpamVlanGroupsListParams) WithNameNiew(nameNiew *string) *IpamVlanGroupsListParams {
   724  	o.SetNameNiew(nameNiew)
   725  	return o
   726  }
   727  
   728  // SetNameNiew adds the nameNiew to the ipam vlan groups list params
   729  func (o *IpamVlanGroupsListParams) SetNameNiew(nameNiew *string) {
   730  	o.NameNiew = nameNiew
   731  }
   732  
   733  // WithNameNisw adds the nameNisw to the ipam vlan groups list params
   734  func (o *IpamVlanGroupsListParams) WithNameNisw(nameNisw *string) *IpamVlanGroupsListParams {
   735  	o.SetNameNisw(nameNisw)
   736  	return o
   737  }
   738  
   739  // SetNameNisw adds the nameNisw to the ipam vlan groups list params
   740  func (o *IpamVlanGroupsListParams) SetNameNisw(nameNisw *string) {
   741  	o.NameNisw = nameNisw
   742  }
   743  
   744  // WithOffset adds the offset to the ipam vlan groups list params
   745  func (o *IpamVlanGroupsListParams) WithOffset(offset *int64) *IpamVlanGroupsListParams {
   746  	o.SetOffset(offset)
   747  	return o
   748  }
   749  
   750  // SetOffset adds the offset to the ipam vlan groups list params
   751  func (o *IpamVlanGroupsListParams) SetOffset(offset *int64) {
   752  	o.Offset = offset
   753  }
   754  
   755  // WithQ adds the q to the ipam vlan groups list params
   756  func (o *IpamVlanGroupsListParams) WithQ(q *string) *IpamVlanGroupsListParams {
   757  	o.SetQ(q)
   758  	return o
   759  }
   760  
   761  // SetQ adds the q to the ipam vlan groups list params
   762  func (o *IpamVlanGroupsListParams) SetQ(q *string) {
   763  	o.Q = q
   764  }
   765  
   766  // WithRack adds the rack to the ipam vlan groups list params
   767  func (o *IpamVlanGroupsListParams) WithRack(rack *float64) *IpamVlanGroupsListParams {
   768  	o.SetRack(rack)
   769  	return o
   770  }
   771  
   772  // SetRack adds the rack to the ipam vlan groups list params
   773  func (o *IpamVlanGroupsListParams) SetRack(rack *float64) {
   774  	o.Rack = rack
   775  }
   776  
   777  // WithRegion adds the region to the ipam vlan groups list params
   778  func (o *IpamVlanGroupsListParams) WithRegion(region *float64) *IpamVlanGroupsListParams {
   779  	o.SetRegion(region)
   780  	return o
   781  }
   782  
   783  // SetRegion adds the region to the ipam vlan groups list params
   784  func (o *IpamVlanGroupsListParams) SetRegion(region *float64) {
   785  	o.Region = region
   786  }
   787  
   788  // WithScopeID adds the scopeID to the ipam vlan groups list params
   789  func (o *IpamVlanGroupsListParams) WithScopeID(scopeID *string) *IpamVlanGroupsListParams {
   790  	o.SetScopeID(scopeID)
   791  	return o
   792  }
   793  
   794  // SetScopeID adds the scopeId to the ipam vlan groups list params
   795  func (o *IpamVlanGroupsListParams) SetScopeID(scopeID *string) {
   796  	o.ScopeID = scopeID
   797  }
   798  
   799  // WithScopeIDGt adds the scopeIDGt to the ipam vlan groups list params
   800  func (o *IpamVlanGroupsListParams) WithScopeIDGt(scopeIDGt *string) *IpamVlanGroupsListParams {
   801  	o.SetScopeIDGt(scopeIDGt)
   802  	return o
   803  }
   804  
   805  // SetScopeIDGt adds the scopeIdGt to the ipam vlan groups list params
   806  func (o *IpamVlanGroupsListParams) SetScopeIDGt(scopeIDGt *string) {
   807  	o.ScopeIDGt = scopeIDGt
   808  }
   809  
   810  // WithScopeIDGte adds the scopeIDGte to the ipam vlan groups list params
   811  func (o *IpamVlanGroupsListParams) WithScopeIDGte(scopeIDGte *string) *IpamVlanGroupsListParams {
   812  	o.SetScopeIDGte(scopeIDGte)
   813  	return o
   814  }
   815  
   816  // SetScopeIDGte adds the scopeIdGte to the ipam vlan groups list params
   817  func (o *IpamVlanGroupsListParams) SetScopeIDGte(scopeIDGte *string) {
   818  	o.ScopeIDGte = scopeIDGte
   819  }
   820  
   821  // WithScopeIDLt adds the scopeIDLt to the ipam vlan groups list params
   822  func (o *IpamVlanGroupsListParams) WithScopeIDLt(scopeIDLt *string) *IpamVlanGroupsListParams {
   823  	o.SetScopeIDLt(scopeIDLt)
   824  	return o
   825  }
   826  
   827  // SetScopeIDLt adds the scopeIdLt to the ipam vlan groups list params
   828  func (o *IpamVlanGroupsListParams) SetScopeIDLt(scopeIDLt *string) {
   829  	o.ScopeIDLt = scopeIDLt
   830  }
   831  
   832  // WithScopeIDLte adds the scopeIDLte to the ipam vlan groups list params
   833  func (o *IpamVlanGroupsListParams) WithScopeIDLte(scopeIDLte *string) *IpamVlanGroupsListParams {
   834  	o.SetScopeIDLte(scopeIDLte)
   835  	return o
   836  }
   837  
   838  // SetScopeIDLte adds the scopeIdLte to the ipam vlan groups list params
   839  func (o *IpamVlanGroupsListParams) SetScopeIDLte(scopeIDLte *string) {
   840  	o.ScopeIDLte = scopeIDLte
   841  }
   842  
   843  // WithScopeIDn adds the scopeIDn to the ipam vlan groups list params
   844  func (o *IpamVlanGroupsListParams) WithScopeIDn(scopeIDn *string) *IpamVlanGroupsListParams {
   845  	o.SetScopeIDn(scopeIDn)
   846  	return o
   847  }
   848  
   849  // SetScopeIDn adds the scopeIdN to the ipam vlan groups list params
   850  func (o *IpamVlanGroupsListParams) SetScopeIDn(scopeIDn *string) {
   851  	o.ScopeIDn = scopeIDn
   852  }
   853  
   854  // WithScopeType adds the scopeType to the ipam vlan groups list params
   855  func (o *IpamVlanGroupsListParams) WithScopeType(scopeType *string) *IpamVlanGroupsListParams {
   856  	o.SetScopeType(scopeType)
   857  	return o
   858  }
   859  
   860  // SetScopeType adds the scopeType to the ipam vlan groups list params
   861  func (o *IpamVlanGroupsListParams) SetScopeType(scopeType *string) {
   862  	o.ScopeType = scopeType
   863  }
   864  
   865  // WithScopeTypen adds the scopeTypen to the ipam vlan groups list params
   866  func (o *IpamVlanGroupsListParams) WithScopeTypen(scopeTypen *string) *IpamVlanGroupsListParams {
   867  	o.SetScopeTypen(scopeTypen)
   868  	return o
   869  }
   870  
   871  // SetScopeTypen adds the scopeTypeN to the ipam vlan groups list params
   872  func (o *IpamVlanGroupsListParams) SetScopeTypen(scopeTypen *string) {
   873  	o.ScopeTypen = scopeTypen
   874  }
   875  
   876  // WithSite adds the site to the ipam vlan groups list params
   877  func (o *IpamVlanGroupsListParams) WithSite(site *float64) *IpamVlanGroupsListParams {
   878  	o.SetSite(site)
   879  	return o
   880  }
   881  
   882  // SetSite adds the site to the ipam vlan groups list params
   883  func (o *IpamVlanGroupsListParams) SetSite(site *float64) {
   884  	o.Site = site
   885  }
   886  
   887  // WithSitegroup adds the sitegroup to the ipam vlan groups list params
   888  func (o *IpamVlanGroupsListParams) WithSitegroup(sitegroup *float64) *IpamVlanGroupsListParams {
   889  	o.SetSitegroup(sitegroup)
   890  	return o
   891  }
   892  
   893  // SetSitegroup adds the sitegroup to the ipam vlan groups list params
   894  func (o *IpamVlanGroupsListParams) SetSitegroup(sitegroup *float64) {
   895  	o.Sitegroup = sitegroup
   896  }
   897  
   898  // WithSlug adds the slug to the ipam vlan groups list params
   899  func (o *IpamVlanGroupsListParams) WithSlug(slug *string) *IpamVlanGroupsListParams {
   900  	o.SetSlug(slug)
   901  	return o
   902  }
   903  
   904  // SetSlug adds the slug to the ipam vlan groups list params
   905  func (o *IpamVlanGroupsListParams) SetSlug(slug *string) {
   906  	o.Slug = slug
   907  }
   908  
   909  // WithSlugEmpty adds the slugEmpty to the ipam vlan groups list params
   910  func (o *IpamVlanGroupsListParams) WithSlugEmpty(slugEmpty *string) *IpamVlanGroupsListParams {
   911  	o.SetSlugEmpty(slugEmpty)
   912  	return o
   913  }
   914  
   915  // SetSlugEmpty adds the slugEmpty to the ipam vlan groups list params
   916  func (o *IpamVlanGroupsListParams) SetSlugEmpty(slugEmpty *string) {
   917  	o.SlugEmpty = slugEmpty
   918  }
   919  
   920  // WithSlugIc adds the slugIc to the ipam vlan groups list params
   921  func (o *IpamVlanGroupsListParams) WithSlugIc(slugIc *string) *IpamVlanGroupsListParams {
   922  	o.SetSlugIc(slugIc)
   923  	return o
   924  }
   925  
   926  // SetSlugIc adds the slugIc to the ipam vlan groups list params
   927  func (o *IpamVlanGroupsListParams) SetSlugIc(slugIc *string) {
   928  	o.SlugIc = slugIc
   929  }
   930  
   931  // WithSlugIe adds the slugIe to the ipam vlan groups list params
   932  func (o *IpamVlanGroupsListParams) WithSlugIe(slugIe *string) *IpamVlanGroupsListParams {
   933  	o.SetSlugIe(slugIe)
   934  	return o
   935  }
   936  
   937  // SetSlugIe adds the slugIe to the ipam vlan groups list params
   938  func (o *IpamVlanGroupsListParams) SetSlugIe(slugIe *string) {
   939  	o.SlugIe = slugIe
   940  }
   941  
   942  // WithSlugIew adds the slugIew to the ipam vlan groups list params
   943  func (o *IpamVlanGroupsListParams) WithSlugIew(slugIew *string) *IpamVlanGroupsListParams {
   944  	o.SetSlugIew(slugIew)
   945  	return o
   946  }
   947  
   948  // SetSlugIew adds the slugIew to the ipam vlan groups list params
   949  func (o *IpamVlanGroupsListParams) SetSlugIew(slugIew *string) {
   950  	o.SlugIew = slugIew
   951  }
   952  
   953  // WithSlugIsw adds the slugIsw to the ipam vlan groups list params
   954  func (o *IpamVlanGroupsListParams) WithSlugIsw(slugIsw *string) *IpamVlanGroupsListParams {
   955  	o.SetSlugIsw(slugIsw)
   956  	return o
   957  }
   958  
   959  // SetSlugIsw adds the slugIsw to the ipam vlan groups list params
   960  func (o *IpamVlanGroupsListParams) SetSlugIsw(slugIsw *string) {
   961  	o.SlugIsw = slugIsw
   962  }
   963  
   964  // WithSlugn adds the slugn to the ipam vlan groups list params
   965  func (o *IpamVlanGroupsListParams) WithSlugn(slugn *string) *IpamVlanGroupsListParams {
   966  	o.SetSlugn(slugn)
   967  	return o
   968  }
   969  
   970  // SetSlugn adds the slugN to the ipam vlan groups list params
   971  func (o *IpamVlanGroupsListParams) SetSlugn(slugn *string) {
   972  	o.Slugn = slugn
   973  }
   974  
   975  // WithSlugNic adds the slugNic to the ipam vlan groups list params
   976  func (o *IpamVlanGroupsListParams) WithSlugNic(slugNic *string) *IpamVlanGroupsListParams {
   977  	o.SetSlugNic(slugNic)
   978  	return o
   979  }
   980  
   981  // SetSlugNic adds the slugNic to the ipam vlan groups list params
   982  func (o *IpamVlanGroupsListParams) SetSlugNic(slugNic *string) {
   983  	o.SlugNic = slugNic
   984  }
   985  
   986  // WithSlugNie adds the slugNie to the ipam vlan groups list params
   987  func (o *IpamVlanGroupsListParams) WithSlugNie(slugNie *string) *IpamVlanGroupsListParams {
   988  	o.SetSlugNie(slugNie)
   989  	return o
   990  }
   991  
   992  // SetSlugNie adds the slugNie to the ipam vlan groups list params
   993  func (o *IpamVlanGroupsListParams) SetSlugNie(slugNie *string) {
   994  	o.SlugNie = slugNie
   995  }
   996  
   997  // WithSlugNiew adds the slugNiew to the ipam vlan groups list params
   998  func (o *IpamVlanGroupsListParams) WithSlugNiew(slugNiew *string) *IpamVlanGroupsListParams {
   999  	o.SetSlugNiew(slugNiew)
  1000  	return o
  1001  }
  1002  
  1003  // SetSlugNiew adds the slugNiew to the ipam vlan groups list params
  1004  func (o *IpamVlanGroupsListParams) SetSlugNiew(slugNiew *string) {
  1005  	o.SlugNiew = slugNiew
  1006  }
  1007  
  1008  // WithSlugNisw adds the slugNisw to the ipam vlan groups list params
  1009  func (o *IpamVlanGroupsListParams) WithSlugNisw(slugNisw *string) *IpamVlanGroupsListParams {
  1010  	o.SetSlugNisw(slugNisw)
  1011  	return o
  1012  }
  1013  
  1014  // SetSlugNisw adds the slugNisw to the ipam vlan groups list params
  1015  func (o *IpamVlanGroupsListParams) SetSlugNisw(slugNisw *string) {
  1016  	o.SlugNisw = slugNisw
  1017  }
  1018  
  1019  // WriteToRequest writes these params to a swagger request
  1020  func (o *IpamVlanGroupsListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
  1021  
  1022  	if err := r.SetTimeout(o.timeout); err != nil {
  1023  		return err
  1024  	}
  1025  	var res []error
  1026  
  1027  	if o.Cluster != nil {
  1028  
  1029  		// query param cluster
  1030  		var qrCluster float64
  1031  
  1032  		if o.Cluster != nil {
  1033  			qrCluster = *o.Cluster
  1034  		}
  1035  		qCluster := swag.FormatFloat64(qrCluster)
  1036  		if qCluster != "" {
  1037  
  1038  			if err := r.SetQueryParam("cluster", qCluster); err != nil {
  1039  				return err
  1040  			}
  1041  		}
  1042  	}
  1043  
  1044  	if o.Clustergroup != nil {
  1045  
  1046  		// query param clustergroup
  1047  		var qrClustergroup float64
  1048  
  1049  		if o.Clustergroup != nil {
  1050  			qrClustergroup = *o.Clustergroup
  1051  		}
  1052  		qClustergroup := swag.FormatFloat64(qrClustergroup)
  1053  		if qClustergroup != "" {
  1054  
  1055  			if err := r.SetQueryParam("clustergroup", qClustergroup); err != nil {
  1056  				return err
  1057  			}
  1058  		}
  1059  	}
  1060  
  1061  	if o.Created != nil {
  1062  
  1063  		// query param created
  1064  		var qrCreated string
  1065  
  1066  		if o.Created != nil {
  1067  			qrCreated = *o.Created
  1068  		}
  1069  		qCreated := qrCreated
  1070  		if qCreated != "" {
  1071  
  1072  			if err := r.SetQueryParam("created", qCreated); err != nil {
  1073  				return err
  1074  			}
  1075  		}
  1076  	}
  1077  
  1078  	if o.CreatedGte != nil {
  1079  
  1080  		// query param created__gte
  1081  		var qrCreatedGte string
  1082  
  1083  		if o.CreatedGte != nil {
  1084  			qrCreatedGte = *o.CreatedGte
  1085  		}
  1086  		qCreatedGte := qrCreatedGte
  1087  		if qCreatedGte != "" {
  1088  
  1089  			if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil {
  1090  				return err
  1091  			}
  1092  		}
  1093  	}
  1094  
  1095  	if o.CreatedLte != nil {
  1096  
  1097  		// query param created__lte
  1098  		var qrCreatedLte string
  1099  
  1100  		if o.CreatedLte != nil {
  1101  			qrCreatedLte = *o.CreatedLte
  1102  		}
  1103  		qCreatedLte := qrCreatedLte
  1104  		if qCreatedLte != "" {
  1105  
  1106  			if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil {
  1107  				return err
  1108  			}
  1109  		}
  1110  	}
  1111  
  1112  	if o.Description != nil {
  1113  
  1114  		// query param description
  1115  		var qrDescription string
  1116  
  1117  		if o.Description != nil {
  1118  			qrDescription = *o.Description
  1119  		}
  1120  		qDescription := qrDescription
  1121  		if qDescription != "" {
  1122  
  1123  			if err := r.SetQueryParam("description", qDescription); err != nil {
  1124  				return err
  1125  			}
  1126  		}
  1127  	}
  1128  
  1129  	if o.DescriptionEmpty != nil {
  1130  
  1131  		// query param description__empty
  1132  		var qrDescriptionEmpty string
  1133  
  1134  		if o.DescriptionEmpty != nil {
  1135  			qrDescriptionEmpty = *o.DescriptionEmpty
  1136  		}
  1137  		qDescriptionEmpty := qrDescriptionEmpty
  1138  		if qDescriptionEmpty != "" {
  1139  
  1140  			if err := r.SetQueryParam("description__empty", qDescriptionEmpty); err != nil {
  1141  				return err
  1142  			}
  1143  		}
  1144  	}
  1145  
  1146  	if o.DescriptionIc != nil {
  1147  
  1148  		// query param description__ic
  1149  		var qrDescriptionIc string
  1150  
  1151  		if o.DescriptionIc != nil {
  1152  			qrDescriptionIc = *o.DescriptionIc
  1153  		}
  1154  		qDescriptionIc := qrDescriptionIc
  1155  		if qDescriptionIc != "" {
  1156  
  1157  			if err := r.SetQueryParam("description__ic", qDescriptionIc); err != nil {
  1158  				return err
  1159  			}
  1160  		}
  1161  	}
  1162  
  1163  	if o.DescriptionIe != nil {
  1164  
  1165  		// query param description__ie
  1166  		var qrDescriptionIe string
  1167  
  1168  		if o.DescriptionIe != nil {
  1169  			qrDescriptionIe = *o.DescriptionIe
  1170  		}
  1171  		qDescriptionIe := qrDescriptionIe
  1172  		if qDescriptionIe != "" {
  1173  
  1174  			if err := r.SetQueryParam("description__ie", qDescriptionIe); err != nil {
  1175  				return err
  1176  			}
  1177  		}
  1178  	}
  1179  
  1180  	if o.DescriptionIew != nil {
  1181  
  1182  		// query param description__iew
  1183  		var qrDescriptionIew string
  1184  
  1185  		if o.DescriptionIew != nil {
  1186  			qrDescriptionIew = *o.DescriptionIew
  1187  		}
  1188  		qDescriptionIew := qrDescriptionIew
  1189  		if qDescriptionIew != "" {
  1190  
  1191  			if err := r.SetQueryParam("description__iew", qDescriptionIew); err != nil {
  1192  				return err
  1193  			}
  1194  		}
  1195  	}
  1196  
  1197  	if o.DescriptionIsw != nil {
  1198  
  1199  		// query param description__isw
  1200  		var qrDescriptionIsw string
  1201  
  1202  		if o.DescriptionIsw != nil {
  1203  			qrDescriptionIsw = *o.DescriptionIsw
  1204  		}
  1205  		qDescriptionIsw := qrDescriptionIsw
  1206  		if qDescriptionIsw != "" {
  1207  
  1208  			if err := r.SetQueryParam("description__isw", qDescriptionIsw); err != nil {
  1209  				return err
  1210  			}
  1211  		}
  1212  	}
  1213  
  1214  	if o.Descriptionn != nil {
  1215  
  1216  		// query param description__n
  1217  		var qrDescriptionn string
  1218  
  1219  		if o.Descriptionn != nil {
  1220  			qrDescriptionn = *o.Descriptionn
  1221  		}
  1222  		qDescriptionn := qrDescriptionn
  1223  		if qDescriptionn != "" {
  1224  
  1225  			if err := r.SetQueryParam("description__n", qDescriptionn); err != nil {
  1226  				return err
  1227  			}
  1228  		}
  1229  	}
  1230  
  1231  	if o.DescriptionNic != nil {
  1232  
  1233  		// query param description__nic
  1234  		var qrDescriptionNic string
  1235  
  1236  		if o.DescriptionNic != nil {
  1237  			qrDescriptionNic = *o.DescriptionNic
  1238  		}
  1239  		qDescriptionNic := qrDescriptionNic
  1240  		if qDescriptionNic != "" {
  1241  
  1242  			if err := r.SetQueryParam("description__nic", qDescriptionNic); err != nil {
  1243  				return err
  1244  			}
  1245  		}
  1246  	}
  1247  
  1248  	if o.DescriptionNie != nil {
  1249  
  1250  		// query param description__nie
  1251  		var qrDescriptionNie string
  1252  
  1253  		if o.DescriptionNie != nil {
  1254  			qrDescriptionNie = *o.DescriptionNie
  1255  		}
  1256  		qDescriptionNie := qrDescriptionNie
  1257  		if qDescriptionNie != "" {
  1258  
  1259  			if err := r.SetQueryParam("description__nie", qDescriptionNie); err != nil {
  1260  				return err
  1261  			}
  1262  		}
  1263  	}
  1264  
  1265  	if o.DescriptionNiew != nil {
  1266  
  1267  		// query param description__niew
  1268  		var qrDescriptionNiew string
  1269  
  1270  		if o.DescriptionNiew != nil {
  1271  			qrDescriptionNiew = *o.DescriptionNiew
  1272  		}
  1273  		qDescriptionNiew := qrDescriptionNiew
  1274  		if qDescriptionNiew != "" {
  1275  
  1276  			if err := r.SetQueryParam("description__niew", qDescriptionNiew); err != nil {
  1277  				return err
  1278  			}
  1279  		}
  1280  	}
  1281  
  1282  	if o.DescriptionNisw != nil {
  1283  
  1284  		// query param description__nisw
  1285  		var qrDescriptionNisw string
  1286  
  1287  		if o.DescriptionNisw != nil {
  1288  			qrDescriptionNisw = *o.DescriptionNisw
  1289  		}
  1290  		qDescriptionNisw := qrDescriptionNisw
  1291  		if qDescriptionNisw != "" {
  1292  
  1293  			if err := r.SetQueryParam("description__nisw", qDescriptionNisw); err != nil {
  1294  				return err
  1295  			}
  1296  		}
  1297  	}
  1298  
  1299  	if o.ID != nil {
  1300  
  1301  		// query param id
  1302  		var qrID string
  1303  
  1304  		if o.ID != nil {
  1305  			qrID = *o.ID
  1306  		}
  1307  		qID := qrID
  1308  		if qID != "" {
  1309  
  1310  			if err := r.SetQueryParam("id", qID); err != nil {
  1311  				return err
  1312  			}
  1313  		}
  1314  	}
  1315  
  1316  	if o.IDGt != nil {
  1317  
  1318  		// query param id__gt
  1319  		var qrIDGt string
  1320  
  1321  		if o.IDGt != nil {
  1322  			qrIDGt = *o.IDGt
  1323  		}
  1324  		qIDGt := qrIDGt
  1325  		if qIDGt != "" {
  1326  
  1327  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1328  				return err
  1329  			}
  1330  		}
  1331  	}
  1332  
  1333  	if o.IDGte != nil {
  1334  
  1335  		// query param id__gte
  1336  		var qrIDGte string
  1337  
  1338  		if o.IDGte != nil {
  1339  			qrIDGte = *o.IDGte
  1340  		}
  1341  		qIDGte := qrIDGte
  1342  		if qIDGte != "" {
  1343  
  1344  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1345  				return err
  1346  			}
  1347  		}
  1348  	}
  1349  
  1350  	if o.IDLt != nil {
  1351  
  1352  		// query param id__lt
  1353  		var qrIDLt string
  1354  
  1355  		if o.IDLt != nil {
  1356  			qrIDLt = *o.IDLt
  1357  		}
  1358  		qIDLt := qrIDLt
  1359  		if qIDLt != "" {
  1360  
  1361  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1362  				return err
  1363  			}
  1364  		}
  1365  	}
  1366  
  1367  	if o.IDLte != nil {
  1368  
  1369  		// query param id__lte
  1370  		var qrIDLte string
  1371  
  1372  		if o.IDLte != nil {
  1373  			qrIDLte = *o.IDLte
  1374  		}
  1375  		qIDLte := qrIDLte
  1376  		if qIDLte != "" {
  1377  
  1378  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1379  				return err
  1380  			}
  1381  		}
  1382  	}
  1383  
  1384  	if o.IDn != nil {
  1385  
  1386  		// query param id__n
  1387  		var qrIDn string
  1388  
  1389  		if o.IDn != nil {
  1390  			qrIDn = *o.IDn
  1391  		}
  1392  		qIDn := qrIDn
  1393  		if qIDn != "" {
  1394  
  1395  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1396  				return err
  1397  			}
  1398  		}
  1399  	}
  1400  
  1401  	if o.LastUpdated != nil {
  1402  
  1403  		// query param last_updated
  1404  		var qrLastUpdated string
  1405  
  1406  		if o.LastUpdated != nil {
  1407  			qrLastUpdated = *o.LastUpdated
  1408  		}
  1409  		qLastUpdated := qrLastUpdated
  1410  		if qLastUpdated != "" {
  1411  
  1412  			if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil {
  1413  				return err
  1414  			}
  1415  		}
  1416  	}
  1417  
  1418  	if o.LastUpdatedGte != nil {
  1419  
  1420  		// query param last_updated__gte
  1421  		var qrLastUpdatedGte string
  1422  
  1423  		if o.LastUpdatedGte != nil {
  1424  			qrLastUpdatedGte = *o.LastUpdatedGte
  1425  		}
  1426  		qLastUpdatedGte := qrLastUpdatedGte
  1427  		if qLastUpdatedGte != "" {
  1428  
  1429  			if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil {
  1430  				return err
  1431  			}
  1432  		}
  1433  	}
  1434  
  1435  	if o.LastUpdatedLte != nil {
  1436  
  1437  		// query param last_updated__lte
  1438  		var qrLastUpdatedLte string
  1439  
  1440  		if o.LastUpdatedLte != nil {
  1441  			qrLastUpdatedLte = *o.LastUpdatedLte
  1442  		}
  1443  		qLastUpdatedLte := qrLastUpdatedLte
  1444  		if qLastUpdatedLte != "" {
  1445  
  1446  			if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil {
  1447  				return err
  1448  			}
  1449  		}
  1450  	}
  1451  
  1452  	if o.Limit != nil {
  1453  
  1454  		// query param limit
  1455  		var qrLimit int64
  1456  
  1457  		if o.Limit != nil {
  1458  			qrLimit = *o.Limit
  1459  		}
  1460  		qLimit := swag.FormatInt64(qrLimit)
  1461  		if qLimit != "" {
  1462  
  1463  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  1464  				return err
  1465  			}
  1466  		}
  1467  	}
  1468  
  1469  	if o.Location != nil {
  1470  
  1471  		// query param location
  1472  		var qrLocation float64
  1473  
  1474  		if o.Location != nil {
  1475  			qrLocation = *o.Location
  1476  		}
  1477  		qLocation := swag.FormatFloat64(qrLocation)
  1478  		if qLocation != "" {
  1479  
  1480  			if err := r.SetQueryParam("location", qLocation); err != nil {
  1481  				return err
  1482  			}
  1483  		}
  1484  	}
  1485  
  1486  	if o.Name != nil {
  1487  
  1488  		// query param name
  1489  		var qrName string
  1490  
  1491  		if o.Name != nil {
  1492  			qrName = *o.Name
  1493  		}
  1494  		qName := qrName
  1495  		if qName != "" {
  1496  
  1497  			if err := r.SetQueryParam("name", qName); err != nil {
  1498  				return err
  1499  			}
  1500  		}
  1501  	}
  1502  
  1503  	if o.NameEmpty != nil {
  1504  
  1505  		// query param name__empty
  1506  		var qrNameEmpty string
  1507  
  1508  		if o.NameEmpty != nil {
  1509  			qrNameEmpty = *o.NameEmpty
  1510  		}
  1511  		qNameEmpty := qrNameEmpty
  1512  		if qNameEmpty != "" {
  1513  
  1514  			if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil {
  1515  				return err
  1516  			}
  1517  		}
  1518  	}
  1519  
  1520  	if o.NameIc != nil {
  1521  
  1522  		// query param name__ic
  1523  		var qrNameIc string
  1524  
  1525  		if o.NameIc != nil {
  1526  			qrNameIc = *o.NameIc
  1527  		}
  1528  		qNameIc := qrNameIc
  1529  		if qNameIc != "" {
  1530  
  1531  			if err := r.SetQueryParam("name__ic", qNameIc); err != nil {
  1532  				return err
  1533  			}
  1534  		}
  1535  	}
  1536  
  1537  	if o.NameIe != nil {
  1538  
  1539  		// query param name__ie
  1540  		var qrNameIe string
  1541  
  1542  		if o.NameIe != nil {
  1543  			qrNameIe = *o.NameIe
  1544  		}
  1545  		qNameIe := qrNameIe
  1546  		if qNameIe != "" {
  1547  
  1548  			if err := r.SetQueryParam("name__ie", qNameIe); err != nil {
  1549  				return err
  1550  			}
  1551  		}
  1552  	}
  1553  
  1554  	if o.NameIew != nil {
  1555  
  1556  		// query param name__iew
  1557  		var qrNameIew string
  1558  
  1559  		if o.NameIew != nil {
  1560  			qrNameIew = *o.NameIew
  1561  		}
  1562  		qNameIew := qrNameIew
  1563  		if qNameIew != "" {
  1564  
  1565  			if err := r.SetQueryParam("name__iew", qNameIew); err != nil {
  1566  				return err
  1567  			}
  1568  		}
  1569  	}
  1570  
  1571  	if o.NameIsw != nil {
  1572  
  1573  		// query param name__isw
  1574  		var qrNameIsw string
  1575  
  1576  		if o.NameIsw != nil {
  1577  			qrNameIsw = *o.NameIsw
  1578  		}
  1579  		qNameIsw := qrNameIsw
  1580  		if qNameIsw != "" {
  1581  
  1582  			if err := r.SetQueryParam("name__isw", qNameIsw); err != nil {
  1583  				return err
  1584  			}
  1585  		}
  1586  	}
  1587  
  1588  	if o.Namen != nil {
  1589  
  1590  		// query param name__n
  1591  		var qrNamen string
  1592  
  1593  		if o.Namen != nil {
  1594  			qrNamen = *o.Namen
  1595  		}
  1596  		qNamen := qrNamen
  1597  		if qNamen != "" {
  1598  
  1599  			if err := r.SetQueryParam("name__n", qNamen); err != nil {
  1600  				return err
  1601  			}
  1602  		}
  1603  	}
  1604  
  1605  	if o.NameNic != nil {
  1606  
  1607  		// query param name__nic
  1608  		var qrNameNic string
  1609  
  1610  		if o.NameNic != nil {
  1611  			qrNameNic = *o.NameNic
  1612  		}
  1613  		qNameNic := qrNameNic
  1614  		if qNameNic != "" {
  1615  
  1616  			if err := r.SetQueryParam("name__nic", qNameNic); err != nil {
  1617  				return err
  1618  			}
  1619  		}
  1620  	}
  1621  
  1622  	if o.NameNie != nil {
  1623  
  1624  		// query param name__nie
  1625  		var qrNameNie string
  1626  
  1627  		if o.NameNie != nil {
  1628  			qrNameNie = *o.NameNie
  1629  		}
  1630  		qNameNie := qrNameNie
  1631  		if qNameNie != "" {
  1632  
  1633  			if err := r.SetQueryParam("name__nie", qNameNie); err != nil {
  1634  				return err
  1635  			}
  1636  		}
  1637  	}
  1638  
  1639  	if o.NameNiew != nil {
  1640  
  1641  		// query param name__niew
  1642  		var qrNameNiew string
  1643  
  1644  		if o.NameNiew != nil {
  1645  			qrNameNiew = *o.NameNiew
  1646  		}
  1647  		qNameNiew := qrNameNiew
  1648  		if qNameNiew != "" {
  1649  
  1650  			if err := r.SetQueryParam("name__niew", qNameNiew); err != nil {
  1651  				return err
  1652  			}
  1653  		}
  1654  	}
  1655  
  1656  	if o.NameNisw != nil {
  1657  
  1658  		// query param name__nisw
  1659  		var qrNameNisw string
  1660  
  1661  		if o.NameNisw != nil {
  1662  			qrNameNisw = *o.NameNisw
  1663  		}
  1664  		qNameNisw := qrNameNisw
  1665  		if qNameNisw != "" {
  1666  
  1667  			if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil {
  1668  				return err
  1669  			}
  1670  		}
  1671  	}
  1672  
  1673  	if o.Offset != nil {
  1674  
  1675  		// query param offset
  1676  		var qrOffset int64
  1677  
  1678  		if o.Offset != nil {
  1679  			qrOffset = *o.Offset
  1680  		}
  1681  		qOffset := swag.FormatInt64(qrOffset)
  1682  		if qOffset != "" {
  1683  
  1684  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  1685  				return err
  1686  			}
  1687  		}
  1688  	}
  1689  
  1690  	if o.Q != nil {
  1691  
  1692  		// query param q
  1693  		var qrQ string
  1694  
  1695  		if o.Q != nil {
  1696  			qrQ = *o.Q
  1697  		}
  1698  		qQ := qrQ
  1699  		if qQ != "" {
  1700  
  1701  			if err := r.SetQueryParam("q", qQ); err != nil {
  1702  				return err
  1703  			}
  1704  		}
  1705  	}
  1706  
  1707  	if o.Rack != nil {
  1708  
  1709  		// query param rack
  1710  		var qrRack float64
  1711  
  1712  		if o.Rack != nil {
  1713  			qrRack = *o.Rack
  1714  		}
  1715  		qRack := swag.FormatFloat64(qrRack)
  1716  		if qRack != "" {
  1717  
  1718  			if err := r.SetQueryParam("rack", qRack); err != nil {
  1719  				return err
  1720  			}
  1721  		}
  1722  	}
  1723  
  1724  	if o.Region != nil {
  1725  
  1726  		// query param region
  1727  		var qrRegion float64
  1728  
  1729  		if o.Region != nil {
  1730  			qrRegion = *o.Region
  1731  		}
  1732  		qRegion := swag.FormatFloat64(qrRegion)
  1733  		if qRegion != "" {
  1734  
  1735  			if err := r.SetQueryParam("region", qRegion); err != nil {
  1736  				return err
  1737  			}
  1738  		}
  1739  	}
  1740  
  1741  	if o.ScopeID != nil {
  1742  
  1743  		// query param scope_id
  1744  		var qrScopeID string
  1745  
  1746  		if o.ScopeID != nil {
  1747  			qrScopeID = *o.ScopeID
  1748  		}
  1749  		qScopeID := qrScopeID
  1750  		if qScopeID != "" {
  1751  
  1752  			if err := r.SetQueryParam("scope_id", qScopeID); err != nil {
  1753  				return err
  1754  			}
  1755  		}
  1756  	}
  1757  
  1758  	if o.ScopeIDGt != nil {
  1759  
  1760  		// query param scope_id__gt
  1761  		var qrScopeIDGt string
  1762  
  1763  		if o.ScopeIDGt != nil {
  1764  			qrScopeIDGt = *o.ScopeIDGt
  1765  		}
  1766  		qScopeIDGt := qrScopeIDGt
  1767  		if qScopeIDGt != "" {
  1768  
  1769  			if err := r.SetQueryParam("scope_id__gt", qScopeIDGt); err != nil {
  1770  				return err
  1771  			}
  1772  		}
  1773  	}
  1774  
  1775  	if o.ScopeIDGte != nil {
  1776  
  1777  		// query param scope_id__gte
  1778  		var qrScopeIDGte string
  1779  
  1780  		if o.ScopeIDGte != nil {
  1781  			qrScopeIDGte = *o.ScopeIDGte
  1782  		}
  1783  		qScopeIDGte := qrScopeIDGte
  1784  		if qScopeIDGte != "" {
  1785  
  1786  			if err := r.SetQueryParam("scope_id__gte", qScopeIDGte); err != nil {
  1787  				return err
  1788  			}
  1789  		}
  1790  	}
  1791  
  1792  	if o.ScopeIDLt != nil {
  1793  
  1794  		// query param scope_id__lt
  1795  		var qrScopeIDLt string
  1796  
  1797  		if o.ScopeIDLt != nil {
  1798  			qrScopeIDLt = *o.ScopeIDLt
  1799  		}
  1800  		qScopeIDLt := qrScopeIDLt
  1801  		if qScopeIDLt != "" {
  1802  
  1803  			if err := r.SetQueryParam("scope_id__lt", qScopeIDLt); err != nil {
  1804  				return err
  1805  			}
  1806  		}
  1807  	}
  1808  
  1809  	if o.ScopeIDLte != nil {
  1810  
  1811  		// query param scope_id__lte
  1812  		var qrScopeIDLte string
  1813  
  1814  		if o.ScopeIDLte != nil {
  1815  			qrScopeIDLte = *o.ScopeIDLte
  1816  		}
  1817  		qScopeIDLte := qrScopeIDLte
  1818  		if qScopeIDLte != "" {
  1819  
  1820  			if err := r.SetQueryParam("scope_id__lte", qScopeIDLte); err != nil {
  1821  				return err
  1822  			}
  1823  		}
  1824  	}
  1825  
  1826  	if o.ScopeIDn != nil {
  1827  
  1828  		// query param scope_id__n
  1829  		var qrScopeIDn string
  1830  
  1831  		if o.ScopeIDn != nil {
  1832  			qrScopeIDn = *o.ScopeIDn
  1833  		}
  1834  		qScopeIDn := qrScopeIDn
  1835  		if qScopeIDn != "" {
  1836  
  1837  			if err := r.SetQueryParam("scope_id__n", qScopeIDn); err != nil {
  1838  				return err
  1839  			}
  1840  		}
  1841  	}
  1842  
  1843  	if o.ScopeType != nil {
  1844  
  1845  		// query param scope_type
  1846  		var qrScopeType string
  1847  
  1848  		if o.ScopeType != nil {
  1849  			qrScopeType = *o.ScopeType
  1850  		}
  1851  		qScopeType := qrScopeType
  1852  		if qScopeType != "" {
  1853  
  1854  			if err := r.SetQueryParam("scope_type", qScopeType); err != nil {
  1855  				return err
  1856  			}
  1857  		}
  1858  	}
  1859  
  1860  	if o.ScopeTypen != nil {
  1861  
  1862  		// query param scope_type__n
  1863  		var qrScopeTypen string
  1864  
  1865  		if o.ScopeTypen != nil {
  1866  			qrScopeTypen = *o.ScopeTypen
  1867  		}
  1868  		qScopeTypen := qrScopeTypen
  1869  		if qScopeTypen != "" {
  1870  
  1871  			if err := r.SetQueryParam("scope_type__n", qScopeTypen); err != nil {
  1872  				return err
  1873  			}
  1874  		}
  1875  	}
  1876  
  1877  	if o.Site != nil {
  1878  
  1879  		// query param site
  1880  		var qrSite float64
  1881  
  1882  		if o.Site != nil {
  1883  			qrSite = *o.Site
  1884  		}
  1885  		qSite := swag.FormatFloat64(qrSite)
  1886  		if qSite != "" {
  1887  
  1888  			if err := r.SetQueryParam("site", qSite); err != nil {
  1889  				return err
  1890  			}
  1891  		}
  1892  	}
  1893  
  1894  	if o.Sitegroup != nil {
  1895  
  1896  		// query param sitegroup
  1897  		var qrSitegroup float64
  1898  
  1899  		if o.Sitegroup != nil {
  1900  			qrSitegroup = *o.Sitegroup
  1901  		}
  1902  		qSitegroup := swag.FormatFloat64(qrSitegroup)
  1903  		if qSitegroup != "" {
  1904  
  1905  			if err := r.SetQueryParam("sitegroup", qSitegroup); err != nil {
  1906  				return err
  1907  			}
  1908  		}
  1909  	}
  1910  
  1911  	if o.Slug != nil {
  1912  
  1913  		// query param slug
  1914  		var qrSlug string
  1915  
  1916  		if o.Slug != nil {
  1917  			qrSlug = *o.Slug
  1918  		}
  1919  		qSlug := qrSlug
  1920  		if qSlug != "" {
  1921  
  1922  			if err := r.SetQueryParam("slug", qSlug); err != nil {
  1923  				return err
  1924  			}
  1925  		}
  1926  	}
  1927  
  1928  	if o.SlugEmpty != nil {
  1929  
  1930  		// query param slug__empty
  1931  		var qrSlugEmpty string
  1932  
  1933  		if o.SlugEmpty != nil {
  1934  			qrSlugEmpty = *o.SlugEmpty
  1935  		}
  1936  		qSlugEmpty := qrSlugEmpty
  1937  		if qSlugEmpty != "" {
  1938  
  1939  			if err := r.SetQueryParam("slug__empty", qSlugEmpty); err != nil {
  1940  				return err
  1941  			}
  1942  		}
  1943  	}
  1944  
  1945  	if o.SlugIc != nil {
  1946  
  1947  		// query param slug__ic
  1948  		var qrSlugIc string
  1949  
  1950  		if o.SlugIc != nil {
  1951  			qrSlugIc = *o.SlugIc
  1952  		}
  1953  		qSlugIc := qrSlugIc
  1954  		if qSlugIc != "" {
  1955  
  1956  			if err := r.SetQueryParam("slug__ic", qSlugIc); err != nil {
  1957  				return err
  1958  			}
  1959  		}
  1960  	}
  1961  
  1962  	if o.SlugIe != nil {
  1963  
  1964  		// query param slug__ie
  1965  		var qrSlugIe string
  1966  
  1967  		if o.SlugIe != nil {
  1968  			qrSlugIe = *o.SlugIe
  1969  		}
  1970  		qSlugIe := qrSlugIe
  1971  		if qSlugIe != "" {
  1972  
  1973  			if err := r.SetQueryParam("slug__ie", qSlugIe); err != nil {
  1974  				return err
  1975  			}
  1976  		}
  1977  	}
  1978  
  1979  	if o.SlugIew != nil {
  1980  
  1981  		// query param slug__iew
  1982  		var qrSlugIew string
  1983  
  1984  		if o.SlugIew != nil {
  1985  			qrSlugIew = *o.SlugIew
  1986  		}
  1987  		qSlugIew := qrSlugIew
  1988  		if qSlugIew != "" {
  1989  
  1990  			if err := r.SetQueryParam("slug__iew", qSlugIew); err != nil {
  1991  				return err
  1992  			}
  1993  		}
  1994  	}
  1995  
  1996  	if o.SlugIsw != nil {
  1997  
  1998  		// query param slug__isw
  1999  		var qrSlugIsw string
  2000  
  2001  		if o.SlugIsw != nil {
  2002  			qrSlugIsw = *o.SlugIsw
  2003  		}
  2004  		qSlugIsw := qrSlugIsw
  2005  		if qSlugIsw != "" {
  2006  
  2007  			if err := r.SetQueryParam("slug__isw", qSlugIsw); err != nil {
  2008  				return err
  2009  			}
  2010  		}
  2011  	}
  2012  
  2013  	if o.Slugn != nil {
  2014  
  2015  		// query param slug__n
  2016  		var qrSlugn string
  2017  
  2018  		if o.Slugn != nil {
  2019  			qrSlugn = *o.Slugn
  2020  		}
  2021  		qSlugn := qrSlugn
  2022  		if qSlugn != "" {
  2023  
  2024  			if err := r.SetQueryParam("slug__n", qSlugn); err != nil {
  2025  				return err
  2026  			}
  2027  		}
  2028  	}
  2029  
  2030  	if o.SlugNic != nil {
  2031  
  2032  		// query param slug__nic
  2033  		var qrSlugNic string
  2034  
  2035  		if o.SlugNic != nil {
  2036  			qrSlugNic = *o.SlugNic
  2037  		}
  2038  		qSlugNic := qrSlugNic
  2039  		if qSlugNic != "" {
  2040  
  2041  			if err := r.SetQueryParam("slug__nic", qSlugNic); err != nil {
  2042  				return err
  2043  			}
  2044  		}
  2045  	}
  2046  
  2047  	if o.SlugNie != nil {
  2048  
  2049  		// query param slug__nie
  2050  		var qrSlugNie string
  2051  
  2052  		if o.SlugNie != nil {
  2053  			qrSlugNie = *o.SlugNie
  2054  		}
  2055  		qSlugNie := qrSlugNie
  2056  		if qSlugNie != "" {
  2057  
  2058  			if err := r.SetQueryParam("slug__nie", qSlugNie); err != nil {
  2059  				return err
  2060  			}
  2061  		}
  2062  	}
  2063  
  2064  	if o.SlugNiew != nil {
  2065  
  2066  		// query param slug__niew
  2067  		var qrSlugNiew string
  2068  
  2069  		if o.SlugNiew != nil {
  2070  			qrSlugNiew = *o.SlugNiew
  2071  		}
  2072  		qSlugNiew := qrSlugNiew
  2073  		if qSlugNiew != "" {
  2074  
  2075  			if err := r.SetQueryParam("slug__niew", qSlugNiew); err != nil {
  2076  				return err
  2077  			}
  2078  		}
  2079  	}
  2080  
  2081  	if o.SlugNisw != nil {
  2082  
  2083  		// query param slug__nisw
  2084  		var qrSlugNisw string
  2085  
  2086  		if o.SlugNisw != nil {
  2087  			qrSlugNisw = *o.SlugNisw
  2088  		}
  2089  		qSlugNisw := qrSlugNisw
  2090  		if qSlugNisw != "" {
  2091  
  2092  			if err := r.SetQueryParam("slug__nisw", qSlugNisw); err != nil {
  2093  				return err
  2094  			}
  2095  		}
  2096  	}
  2097  
  2098  	if len(res) > 0 {
  2099  		return errors.CompositeValidationError(res...)
  2100  	}
  2101  	return nil
  2102  }