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