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