github.com/digitalocean/go-netbox@v0.0.2/netbox/client/extras/extras_object_changes_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 extras
    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  // NewExtrasObjectChangesListParams creates a new ExtrasObjectChangesListParams 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 NewExtrasObjectChangesListParams() *ExtrasObjectChangesListParams {
    42  	return &ExtrasObjectChangesListParams{
    43  		timeout: cr.DefaultTimeout,
    44  	}
    45  }
    46  
    47  // NewExtrasObjectChangesListParamsWithTimeout creates a new ExtrasObjectChangesListParams object
    48  // with the ability to set a timeout on a request.
    49  func NewExtrasObjectChangesListParamsWithTimeout(timeout time.Duration) *ExtrasObjectChangesListParams {
    50  	return &ExtrasObjectChangesListParams{
    51  		timeout: timeout,
    52  	}
    53  }
    54  
    55  // NewExtrasObjectChangesListParamsWithContext creates a new ExtrasObjectChangesListParams object
    56  // with the ability to set a context for a request.
    57  func NewExtrasObjectChangesListParamsWithContext(ctx context.Context) *ExtrasObjectChangesListParams {
    58  	return &ExtrasObjectChangesListParams{
    59  		Context: ctx,
    60  	}
    61  }
    62  
    63  // NewExtrasObjectChangesListParamsWithHTTPClient creates a new ExtrasObjectChangesListParams object
    64  // with the ability to set a custom HTTPClient for a request.
    65  func NewExtrasObjectChangesListParamsWithHTTPClient(client *http.Client) *ExtrasObjectChangesListParams {
    66  	return &ExtrasObjectChangesListParams{
    67  		HTTPClient: client,
    68  	}
    69  }
    70  
    71  /* ExtrasObjectChangesListParams contains all the parameters to send to the API endpoint
    72     for the extras object changes list operation.
    73  
    74     Typically these are written to a http.Request.
    75  */
    76  type ExtrasObjectChangesListParams struct {
    77  
    78  	// Action.
    79  	Action *string
    80  
    81  	// Actionn.
    82  	Actionn *string
    83  
    84  	// ChangedObjectID.
    85  	ChangedObjectID *string
    86  
    87  	// ChangedObjectIDGt.
    88  	ChangedObjectIDGt *string
    89  
    90  	// ChangedObjectIDGte.
    91  	ChangedObjectIDGte *string
    92  
    93  	// ChangedObjectIDLt.
    94  	ChangedObjectIDLt *string
    95  
    96  	// ChangedObjectIDLte.
    97  	ChangedObjectIDLte *string
    98  
    99  	// ChangedObjectIDn.
   100  	ChangedObjectIDn *string
   101  
   102  	// ChangedObjectType.
   103  	ChangedObjectType *string
   104  
   105  	// ChangedObjectTypen.
   106  	ChangedObjectTypen *string
   107  
   108  	// ChangedObjectTypeID.
   109  	ChangedObjectTypeID *string
   110  
   111  	// ChangedObjectTypeIDn.
   112  	ChangedObjectTypeIDn *string
   113  
   114  	// ID.
   115  	ID *string
   116  
   117  	// IDGt.
   118  	IDGt *string
   119  
   120  	// IDGte.
   121  	IDGte *string
   122  
   123  	// IDLt.
   124  	IDLt *string
   125  
   126  	// IDLte.
   127  	IDLte *string
   128  
   129  	// IDn.
   130  	IDn *string
   131  
   132  	/* Limit.
   133  
   134  	   Number of results to return per page.
   135  	*/
   136  	Limit *int64
   137  
   138  	// ObjectRepr.
   139  	ObjectRepr *string
   140  
   141  	// ObjectReprEmpty.
   142  	ObjectReprEmpty *string
   143  
   144  	// ObjectReprIc.
   145  	ObjectReprIc *string
   146  
   147  	// ObjectReprIe.
   148  	ObjectReprIe *string
   149  
   150  	// ObjectReprIew.
   151  	ObjectReprIew *string
   152  
   153  	// ObjectReprIsw.
   154  	ObjectReprIsw *string
   155  
   156  	// ObjectReprn.
   157  	ObjectReprn *string
   158  
   159  	// ObjectReprNic.
   160  	ObjectReprNic *string
   161  
   162  	// ObjectReprNie.
   163  	ObjectReprNie *string
   164  
   165  	// ObjectReprNiew.
   166  	ObjectReprNiew *string
   167  
   168  	// ObjectReprNisw.
   169  	ObjectReprNisw *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  	// RequestID.
   181  	RequestID *string
   182  
   183  	// Time.
   184  	Time *string
   185  
   186  	// User.
   187  	User *string
   188  
   189  	// Usern.
   190  	Usern *string
   191  
   192  	// UserID.
   193  	UserID *string
   194  
   195  	// UserIDn.
   196  	UserIDn *string
   197  
   198  	// UserName.
   199  	UserName *string
   200  
   201  	// UserNameEmpty.
   202  	UserNameEmpty *string
   203  
   204  	// UserNameIc.
   205  	UserNameIc *string
   206  
   207  	// UserNameIe.
   208  	UserNameIe *string
   209  
   210  	// UserNameIew.
   211  	UserNameIew *string
   212  
   213  	// UserNameIsw.
   214  	UserNameIsw *string
   215  
   216  	// UserNamen.
   217  	UserNamen *string
   218  
   219  	// UserNameNic.
   220  	UserNameNic *string
   221  
   222  	// UserNameNie.
   223  	UserNameNie *string
   224  
   225  	// UserNameNiew.
   226  	UserNameNiew *string
   227  
   228  	// UserNameNisw.
   229  	UserNameNisw *string
   230  
   231  	timeout    time.Duration
   232  	Context    context.Context
   233  	HTTPClient *http.Client
   234  }
   235  
   236  // WithDefaults hydrates default values in the extras object changes list params (not the query body).
   237  //
   238  // All values with no default are reset to their zero value.
   239  func (o *ExtrasObjectChangesListParams) WithDefaults() *ExtrasObjectChangesListParams {
   240  	o.SetDefaults()
   241  	return o
   242  }
   243  
   244  // SetDefaults hydrates default values in the extras object changes list params (not the query body).
   245  //
   246  // All values with no default are reset to their zero value.
   247  func (o *ExtrasObjectChangesListParams) SetDefaults() {
   248  	// no default values defined for this parameter
   249  }
   250  
   251  // WithTimeout adds the timeout to the extras object changes list params
   252  func (o *ExtrasObjectChangesListParams) WithTimeout(timeout time.Duration) *ExtrasObjectChangesListParams {
   253  	o.SetTimeout(timeout)
   254  	return o
   255  }
   256  
   257  // SetTimeout adds the timeout to the extras object changes list params
   258  func (o *ExtrasObjectChangesListParams) SetTimeout(timeout time.Duration) {
   259  	o.timeout = timeout
   260  }
   261  
   262  // WithContext adds the context to the extras object changes list params
   263  func (o *ExtrasObjectChangesListParams) WithContext(ctx context.Context) *ExtrasObjectChangesListParams {
   264  	o.SetContext(ctx)
   265  	return o
   266  }
   267  
   268  // SetContext adds the context to the extras object changes list params
   269  func (o *ExtrasObjectChangesListParams) SetContext(ctx context.Context) {
   270  	o.Context = ctx
   271  }
   272  
   273  // WithHTTPClient adds the HTTPClient to the extras object changes list params
   274  func (o *ExtrasObjectChangesListParams) WithHTTPClient(client *http.Client) *ExtrasObjectChangesListParams {
   275  	o.SetHTTPClient(client)
   276  	return o
   277  }
   278  
   279  // SetHTTPClient adds the HTTPClient to the extras object changes list params
   280  func (o *ExtrasObjectChangesListParams) SetHTTPClient(client *http.Client) {
   281  	o.HTTPClient = client
   282  }
   283  
   284  // WithAction adds the action to the extras object changes list params
   285  func (o *ExtrasObjectChangesListParams) WithAction(action *string) *ExtrasObjectChangesListParams {
   286  	o.SetAction(action)
   287  	return o
   288  }
   289  
   290  // SetAction adds the action to the extras object changes list params
   291  func (o *ExtrasObjectChangesListParams) SetAction(action *string) {
   292  	o.Action = action
   293  }
   294  
   295  // WithActionn adds the actionn to the extras object changes list params
   296  func (o *ExtrasObjectChangesListParams) WithActionn(actionn *string) *ExtrasObjectChangesListParams {
   297  	o.SetActionn(actionn)
   298  	return o
   299  }
   300  
   301  // SetActionn adds the actionN to the extras object changes list params
   302  func (o *ExtrasObjectChangesListParams) SetActionn(actionn *string) {
   303  	o.Actionn = actionn
   304  }
   305  
   306  // WithChangedObjectID adds the changedObjectID to the extras object changes list params
   307  func (o *ExtrasObjectChangesListParams) WithChangedObjectID(changedObjectID *string) *ExtrasObjectChangesListParams {
   308  	o.SetChangedObjectID(changedObjectID)
   309  	return o
   310  }
   311  
   312  // SetChangedObjectID adds the changedObjectId to the extras object changes list params
   313  func (o *ExtrasObjectChangesListParams) SetChangedObjectID(changedObjectID *string) {
   314  	o.ChangedObjectID = changedObjectID
   315  }
   316  
   317  // WithChangedObjectIDGt adds the changedObjectIDGt to the extras object changes list params
   318  func (o *ExtrasObjectChangesListParams) WithChangedObjectIDGt(changedObjectIDGt *string) *ExtrasObjectChangesListParams {
   319  	o.SetChangedObjectIDGt(changedObjectIDGt)
   320  	return o
   321  }
   322  
   323  // SetChangedObjectIDGt adds the changedObjectIdGt to the extras object changes list params
   324  func (o *ExtrasObjectChangesListParams) SetChangedObjectIDGt(changedObjectIDGt *string) {
   325  	o.ChangedObjectIDGt = changedObjectIDGt
   326  }
   327  
   328  // WithChangedObjectIDGte adds the changedObjectIDGte to the extras object changes list params
   329  func (o *ExtrasObjectChangesListParams) WithChangedObjectIDGte(changedObjectIDGte *string) *ExtrasObjectChangesListParams {
   330  	o.SetChangedObjectIDGte(changedObjectIDGte)
   331  	return o
   332  }
   333  
   334  // SetChangedObjectIDGte adds the changedObjectIdGte to the extras object changes list params
   335  func (o *ExtrasObjectChangesListParams) SetChangedObjectIDGte(changedObjectIDGte *string) {
   336  	o.ChangedObjectIDGte = changedObjectIDGte
   337  }
   338  
   339  // WithChangedObjectIDLt adds the changedObjectIDLt to the extras object changes list params
   340  func (o *ExtrasObjectChangesListParams) WithChangedObjectIDLt(changedObjectIDLt *string) *ExtrasObjectChangesListParams {
   341  	o.SetChangedObjectIDLt(changedObjectIDLt)
   342  	return o
   343  }
   344  
   345  // SetChangedObjectIDLt adds the changedObjectIdLt to the extras object changes list params
   346  func (o *ExtrasObjectChangesListParams) SetChangedObjectIDLt(changedObjectIDLt *string) {
   347  	o.ChangedObjectIDLt = changedObjectIDLt
   348  }
   349  
   350  // WithChangedObjectIDLte adds the changedObjectIDLte to the extras object changes list params
   351  func (o *ExtrasObjectChangesListParams) WithChangedObjectIDLte(changedObjectIDLte *string) *ExtrasObjectChangesListParams {
   352  	o.SetChangedObjectIDLte(changedObjectIDLte)
   353  	return o
   354  }
   355  
   356  // SetChangedObjectIDLte adds the changedObjectIdLte to the extras object changes list params
   357  func (o *ExtrasObjectChangesListParams) SetChangedObjectIDLte(changedObjectIDLte *string) {
   358  	o.ChangedObjectIDLte = changedObjectIDLte
   359  }
   360  
   361  // WithChangedObjectIDn adds the changedObjectIDn to the extras object changes list params
   362  func (o *ExtrasObjectChangesListParams) WithChangedObjectIDn(changedObjectIDn *string) *ExtrasObjectChangesListParams {
   363  	o.SetChangedObjectIDn(changedObjectIDn)
   364  	return o
   365  }
   366  
   367  // SetChangedObjectIDn adds the changedObjectIdN to the extras object changes list params
   368  func (o *ExtrasObjectChangesListParams) SetChangedObjectIDn(changedObjectIDn *string) {
   369  	o.ChangedObjectIDn = changedObjectIDn
   370  }
   371  
   372  // WithChangedObjectType adds the changedObjectType to the extras object changes list params
   373  func (o *ExtrasObjectChangesListParams) WithChangedObjectType(changedObjectType *string) *ExtrasObjectChangesListParams {
   374  	o.SetChangedObjectType(changedObjectType)
   375  	return o
   376  }
   377  
   378  // SetChangedObjectType adds the changedObjectType to the extras object changes list params
   379  func (o *ExtrasObjectChangesListParams) SetChangedObjectType(changedObjectType *string) {
   380  	o.ChangedObjectType = changedObjectType
   381  }
   382  
   383  // WithChangedObjectTypen adds the changedObjectTypen to the extras object changes list params
   384  func (o *ExtrasObjectChangesListParams) WithChangedObjectTypen(changedObjectTypen *string) *ExtrasObjectChangesListParams {
   385  	o.SetChangedObjectTypen(changedObjectTypen)
   386  	return o
   387  }
   388  
   389  // SetChangedObjectTypen adds the changedObjectTypeN to the extras object changes list params
   390  func (o *ExtrasObjectChangesListParams) SetChangedObjectTypen(changedObjectTypen *string) {
   391  	o.ChangedObjectTypen = changedObjectTypen
   392  }
   393  
   394  // WithChangedObjectTypeID adds the changedObjectTypeID to the extras object changes list params
   395  func (o *ExtrasObjectChangesListParams) WithChangedObjectTypeID(changedObjectTypeID *string) *ExtrasObjectChangesListParams {
   396  	o.SetChangedObjectTypeID(changedObjectTypeID)
   397  	return o
   398  }
   399  
   400  // SetChangedObjectTypeID adds the changedObjectTypeId to the extras object changes list params
   401  func (o *ExtrasObjectChangesListParams) SetChangedObjectTypeID(changedObjectTypeID *string) {
   402  	o.ChangedObjectTypeID = changedObjectTypeID
   403  }
   404  
   405  // WithChangedObjectTypeIDn adds the changedObjectTypeIDn to the extras object changes list params
   406  func (o *ExtrasObjectChangesListParams) WithChangedObjectTypeIDn(changedObjectTypeIDn *string) *ExtrasObjectChangesListParams {
   407  	o.SetChangedObjectTypeIDn(changedObjectTypeIDn)
   408  	return o
   409  }
   410  
   411  // SetChangedObjectTypeIDn adds the changedObjectTypeIdN to the extras object changes list params
   412  func (o *ExtrasObjectChangesListParams) SetChangedObjectTypeIDn(changedObjectTypeIDn *string) {
   413  	o.ChangedObjectTypeIDn = changedObjectTypeIDn
   414  }
   415  
   416  // WithID adds the id to the extras object changes list params
   417  func (o *ExtrasObjectChangesListParams) WithID(id *string) *ExtrasObjectChangesListParams {
   418  	o.SetID(id)
   419  	return o
   420  }
   421  
   422  // SetID adds the id to the extras object changes list params
   423  func (o *ExtrasObjectChangesListParams) SetID(id *string) {
   424  	o.ID = id
   425  }
   426  
   427  // WithIDGt adds the iDGt to the extras object changes list params
   428  func (o *ExtrasObjectChangesListParams) WithIDGt(iDGt *string) *ExtrasObjectChangesListParams {
   429  	o.SetIDGt(iDGt)
   430  	return o
   431  }
   432  
   433  // SetIDGt adds the idGt to the extras object changes list params
   434  func (o *ExtrasObjectChangesListParams) SetIDGt(iDGt *string) {
   435  	o.IDGt = iDGt
   436  }
   437  
   438  // WithIDGte adds the iDGte to the extras object changes list params
   439  func (o *ExtrasObjectChangesListParams) WithIDGte(iDGte *string) *ExtrasObjectChangesListParams {
   440  	o.SetIDGte(iDGte)
   441  	return o
   442  }
   443  
   444  // SetIDGte adds the idGte to the extras object changes list params
   445  func (o *ExtrasObjectChangesListParams) SetIDGte(iDGte *string) {
   446  	o.IDGte = iDGte
   447  }
   448  
   449  // WithIDLt adds the iDLt to the extras object changes list params
   450  func (o *ExtrasObjectChangesListParams) WithIDLt(iDLt *string) *ExtrasObjectChangesListParams {
   451  	o.SetIDLt(iDLt)
   452  	return o
   453  }
   454  
   455  // SetIDLt adds the idLt to the extras object changes list params
   456  func (o *ExtrasObjectChangesListParams) SetIDLt(iDLt *string) {
   457  	o.IDLt = iDLt
   458  }
   459  
   460  // WithIDLte adds the iDLte to the extras object changes list params
   461  func (o *ExtrasObjectChangesListParams) WithIDLte(iDLte *string) *ExtrasObjectChangesListParams {
   462  	o.SetIDLte(iDLte)
   463  	return o
   464  }
   465  
   466  // SetIDLte adds the idLte to the extras object changes list params
   467  func (o *ExtrasObjectChangesListParams) SetIDLte(iDLte *string) {
   468  	o.IDLte = iDLte
   469  }
   470  
   471  // WithIDn adds the iDn to the extras object changes list params
   472  func (o *ExtrasObjectChangesListParams) WithIDn(iDn *string) *ExtrasObjectChangesListParams {
   473  	o.SetIDn(iDn)
   474  	return o
   475  }
   476  
   477  // SetIDn adds the idN to the extras object changes list params
   478  func (o *ExtrasObjectChangesListParams) SetIDn(iDn *string) {
   479  	o.IDn = iDn
   480  }
   481  
   482  // WithLimit adds the limit to the extras object changes list params
   483  func (o *ExtrasObjectChangesListParams) WithLimit(limit *int64) *ExtrasObjectChangesListParams {
   484  	o.SetLimit(limit)
   485  	return o
   486  }
   487  
   488  // SetLimit adds the limit to the extras object changes list params
   489  func (o *ExtrasObjectChangesListParams) SetLimit(limit *int64) {
   490  	o.Limit = limit
   491  }
   492  
   493  // WithObjectRepr adds the objectRepr to the extras object changes list params
   494  func (o *ExtrasObjectChangesListParams) WithObjectRepr(objectRepr *string) *ExtrasObjectChangesListParams {
   495  	o.SetObjectRepr(objectRepr)
   496  	return o
   497  }
   498  
   499  // SetObjectRepr adds the objectRepr to the extras object changes list params
   500  func (o *ExtrasObjectChangesListParams) SetObjectRepr(objectRepr *string) {
   501  	o.ObjectRepr = objectRepr
   502  }
   503  
   504  // WithObjectReprEmpty adds the objectReprEmpty to the extras object changes list params
   505  func (o *ExtrasObjectChangesListParams) WithObjectReprEmpty(objectReprEmpty *string) *ExtrasObjectChangesListParams {
   506  	o.SetObjectReprEmpty(objectReprEmpty)
   507  	return o
   508  }
   509  
   510  // SetObjectReprEmpty adds the objectReprEmpty to the extras object changes list params
   511  func (o *ExtrasObjectChangesListParams) SetObjectReprEmpty(objectReprEmpty *string) {
   512  	o.ObjectReprEmpty = objectReprEmpty
   513  }
   514  
   515  // WithObjectReprIc adds the objectReprIc to the extras object changes list params
   516  func (o *ExtrasObjectChangesListParams) WithObjectReprIc(objectReprIc *string) *ExtrasObjectChangesListParams {
   517  	o.SetObjectReprIc(objectReprIc)
   518  	return o
   519  }
   520  
   521  // SetObjectReprIc adds the objectReprIc to the extras object changes list params
   522  func (o *ExtrasObjectChangesListParams) SetObjectReprIc(objectReprIc *string) {
   523  	o.ObjectReprIc = objectReprIc
   524  }
   525  
   526  // WithObjectReprIe adds the objectReprIe to the extras object changes list params
   527  func (o *ExtrasObjectChangesListParams) WithObjectReprIe(objectReprIe *string) *ExtrasObjectChangesListParams {
   528  	o.SetObjectReprIe(objectReprIe)
   529  	return o
   530  }
   531  
   532  // SetObjectReprIe adds the objectReprIe to the extras object changes list params
   533  func (o *ExtrasObjectChangesListParams) SetObjectReprIe(objectReprIe *string) {
   534  	o.ObjectReprIe = objectReprIe
   535  }
   536  
   537  // WithObjectReprIew adds the objectReprIew to the extras object changes list params
   538  func (o *ExtrasObjectChangesListParams) WithObjectReprIew(objectReprIew *string) *ExtrasObjectChangesListParams {
   539  	o.SetObjectReprIew(objectReprIew)
   540  	return o
   541  }
   542  
   543  // SetObjectReprIew adds the objectReprIew to the extras object changes list params
   544  func (o *ExtrasObjectChangesListParams) SetObjectReprIew(objectReprIew *string) {
   545  	o.ObjectReprIew = objectReprIew
   546  }
   547  
   548  // WithObjectReprIsw adds the objectReprIsw to the extras object changes list params
   549  func (o *ExtrasObjectChangesListParams) WithObjectReprIsw(objectReprIsw *string) *ExtrasObjectChangesListParams {
   550  	o.SetObjectReprIsw(objectReprIsw)
   551  	return o
   552  }
   553  
   554  // SetObjectReprIsw adds the objectReprIsw to the extras object changes list params
   555  func (o *ExtrasObjectChangesListParams) SetObjectReprIsw(objectReprIsw *string) {
   556  	o.ObjectReprIsw = objectReprIsw
   557  }
   558  
   559  // WithObjectReprn adds the objectReprn to the extras object changes list params
   560  func (o *ExtrasObjectChangesListParams) WithObjectReprn(objectReprn *string) *ExtrasObjectChangesListParams {
   561  	o.SetObjectReprn(objectReprn)
   562  	return o
   563  }
   564  
   565  // SetObjectReprn adds the objectReprN to the extras object changes list params
   566  func (o *ExtrasObjectChangesListParams) SetObjectReprn(objectReprn *string) {
   567  	o.ObjectReprn = objectReprn
   568  }
   569  
   570  // WithObjectReprNic adds the objectReprNic to the extras object changes list params
   571  func (o *ExtrasObjectChangesListParams) WithObjectReprNic(objectReprNic *string) *ExtrasObjectChangesListParams {
   572  	o.SetObjectReprNic(objectReprNic)
   573  	return o
   574  }
   575  
   576  // SetObjectReprNic adds the objectReprNic to the extras object changes list params
   577  func (o *ExtrasObjectChangesListParams) SetObjectReprNic(objectReprNic *string) {
   578  	o.ObjectReprNic = objectReprNic
   579  }
   580  
   581  // WithObjectReprNie adds the objectReprNie to the extras object changes list params
   582  func (o *ExtrasObjectChangesListParams) WithObjectReprNie(objectReprNie *string) *ExtrasObjectChangesListParams {
   583  	o.SetObjectReprNie(objectReprNie)
   584  	return o
   585  }
   586  
   587  // SetObjectReprNie adds the objectReprNie to the extras object changes list params
   588  func (o *ExtrasObjectChangesListParams) SetObjectReprNie(objectReprNie *string) {
   589  	o.ObjectReprNie = objectReprNie
   590  }
   591  
   592  // WithObjectReprNiew adds the objectReprNiew to the extras object changes list params
   593  func (o *ExtrasObjectChangesListParams) WithObjectReprNiew(objectReprNiew *string) *ExtrasObjectChangesListParams {
   594  	o.SetObjectReprNiew(objectReprNiew)
   595  	return o
   596  }
   597  
   598  // SetObjectReprNiew adds the objectReprNiew to the extras object changes list params
   599  func (o *ExtrasObjectChangesListParams) SetObjectReprNiew(objectReprNiew *string) {
   600  	o.ObjectReprNiew = objectReprNiew
   601  }
   602  
   603  // WithObjectReprNisw adds the objectReprNisw to the extras object changes list params
   604  func (o *ExtrasObjectChangesListParams) WithObjectReprNisw(objectReprNisw *string) *ExtrasObjectChangesListParams {
   605  	o.SetObjectReprNisw(objectReprNisw)
   606  	return o
   607  }
   608  
   609  // SetObjectReprNisw adds the objectReprNisw to the extras object changes list params
   610  func (o *ExtrasObjectChangesListParams) SetObjectReprNisw(objectReprNisw *string) {
   611  	o.ObjectReprNisw = objectReprNisw
   612  }
   613  
   614  // WithOffset adds the offset to the extras object changes list params
   615  func (o *ExtrasObjectChangesListParams) WithOffset(offset *int64) *ExtrasObjectChangesListParams {
   616  	o.SetOffset(offset)
   617  	return o
   618  }
   619  
   620  // SetOffset adds the offset to the extras object changes list params
   621  func (o *ExtrasObjectChangesListParams) SetOffset(offset *int64) {
   622  	o.Offset = offset
   623  }
   624  
   625  // WithQ adds the q to the extras object changes list params
   626  func (o *ExtrasObjectChangesListParams) WithQ(q *string) *ExtrasObjectChangesListParams {
   627  	o.SetQ(q)
   628  	return o
   629  }
   630  
   631  // SetQ adds the q to the extras object changes list params
   632  func (o *ExtrasObjectChangesListParams) SetQ(q *string) {
   633  	o.Q = q
   634  }
   635  
   636  // WithRequestID adds the requestID to the extras object changes list params
   637  func (o *ExtrasObjectChangesListParams) WithRequestID(requestID *string) *ExtrasObjectChangesListParams {
   638  	o.SetRequestID(requestID)
   639  	return o
   640  }
   641  
   642  // SetRequestID adds the requestId to the extras object changes list params
   643  func (o *ExtrasObjectChangesListParams) SetRequestID(requestID *string) {
   644  	o.RequestID = requestID
   645  }
   646  
   647  // WithTime adds the time to the extras object changes list params
   648  func (o *ExtrasObjectChangesListParams) WithTime(time *string) *ExtrasObjectChangesListParams {
   649  	o.SetTime(time)
   650  	return o
   651  }
   652  
   653  // SetTime adds the time to the extras object changes list params
   654  func (o *ExtrasObjectChangesListParams) SetTime(time *string) {
   655  	o.Time = time
   656  }
   657  
   658  // WithUser adds the user to the extras object changes list params
   659  func (o *ExtrasObjectChangesListParams) WithUser(user *string) *ExtrasObjectChangesListParams {
   660  	o.SetUser(user)
   661  	return o
   662  }
   663  
   664  // SetUser adds the user to the extras object changes list params
   665  func (o *ExtrasObjectChangesListParams) SetUser(user *string) {
   666  	o.User = user
   667  }
   668  
   669  // WithUsern adds the usern to the extras object changes list params
   670  func (o *ExtrasObjectChangesListParams) WithUsern(usern *string) *ExtrasObjectChangesListParams {
   671  	o.SetUsern(usern)
   672  	return o
   673  }
   674  
   675  // SetUsern adds the userN to the extras object changes list params
   676  func (o *ExtrasObjectChangesListParams) SetUsern(usern *string) {
   677  	o.Usern = usern
   678  }
   679  
   680  // WithUserID adds the userID to the extras object changes list params
   681  func (o *ExtrasObjectChangesListParams) WithUserID(userID *string) *ExtrasObjectChangesListParams {
   682  	o.SetUserID(userID)
   683  	return o
   684  }
   685  
   686  // SetUserID adds the userId to the extras object changes list params
   687  func (o *ExtrasObjectChangesListParams) SetUserID(userID *string) {
   688  	o.UserID = userID
   689  }
   690  
   691  // WithUserIDn adds the userIDn to the extras object changes list params
   692  func (o *ExtrasObjectChangesListParams) WithUserIDn(userIDn *string) *ExtrasObjectChangesListParams {
   693  	o.SetUserIDn(userIDn)
   694  	return o
   695  }
   696  
   697  // SetUserIDn adds the userIdN to the extras object changes list params
   698  func (o *ExtrasObjectChangesListParams) SetUserIDn(userIDn *string) {
   699  	o.UserIDn = userIDn
   700  }
   701  
   702  // WithUserName adds the userName to the extras object changes list params
   703  func (o *ExtrasObjectChangesListParams) WithUserName(userName *string) *ExtrasObjectChangesListParams {
   704  	o.SetUserName(userName)
   705  	return o
   706  }
   707  
   708  // SetUserName adds the userName to the extras object changes list params
   709  func (o *ExtrasObjectChangesListParams) SetUserName(userName *string) {
   710  	o.UserName = userName
   711  }
   712  
   713  // WithUserNameEmpty adds the userNameEmpty to the extras object changes list params
   714  func (o *ExtrasObjectChangesListParams) WithUserNameEmpty(userNameEmpty *string) *ExtrasObjectChangesListParams {
   715  	o.SetUserNameEmpty(userNameEmpty)
   716  	return o
   717  }
   718  
   719  // SetUserNameEmpty adds the userNameEmpty to the extras object changes list params
   720  func (o *ExtrasObjectChangesListParams) SetUserNameEmpty(userNameEmpty *string) {
   721  	o.UserNameEmpty = userNameEmpty
   722  }
   723  
   724  // WithUserNameIc adds the userNameIc to the extras object changes list params
   725  func (o *ExtrasObjectChangesListParams) WithUserNameIc(userNameIc *string) *ExtrasObjectChangesListParams {
   726  	o.SetUserNameIc(userNameIc)
   727  	return o
   728  }
   729  
   730  // SetUserNameIc adds the userNameIc to the extras object changes list params
   731  func (o *ExtrasObjectChangesListParams) SetUserNameIc(userNameIc *string) {
   732  	o.UserNameIc = userNameIc
   733  }
   734  
   735  // WithUserNameIe adds the userNameIe to the extras object changes list params
   736  func (o *ExtrasObjectChangesListParams) WithUserNameIe(userNameIe *string) *ExtrasObjectChangesListParams {
   737  	o.SetUserNameIe(userNameIe)
   738  	return o
   739  }
   740  
   741  // SetUserNameIe adds the userNameIe to the extras object changes list params
   742  func (o *ExtrasObjectChangesListParams) SetUserNameIe(userNameIe *string) {
   743  	o.UserNameIe = userNameIe
   744  }
   745  
   746  // WithUserNameIew adds the userNameIew to the extras object changes list params
   747  func (o *ExtrasObjectChangesListParams) WithUserNameIew(userNameIew *string) *ExtrasObjectChangesListParams {
   748  	o.SetUserNameIew(userNameIew)
   749  	return o
   750  }
   751  
   752  // SetUserNameIew adds the userNameIew to the extras object changes list params
   753  func (o *ExtrasObjectChangesListParams) SetUserNameIew(userNameIew *string) {
   754  	o.UserNameIew = userNameIew
   755  }
   756  
   757  // WithUserNameIsw adds the userNameIsw to the extras object changes list params
   758  func (o *ExtrasObjectChangesListParams) WithUserNameIsw(userNameIsw *string) *ExtrasObjectChangesListParams {
   759  	o.SetUserNameIsw(userNameIsw)
   760  	return o
   761  }
   762  
   763  // SetUserNameIsw adds the userNameIsw to the extras object changes list params
   764  func (o *ExtrasObjectChangesListParams) SetUserNameIsw(userNameIsw *string) {
   765  	o.UserNameIsw = userNameIsw
   766  }
   767  
   768  // WithUserNamen adds the userNamen to the extras object changes list params
   769  func (o *ExtrasObjectChangesListParams) WithUserNamen(userNamen *string) *ExtrasObjectChangesListParams {
   770  	o.SetUserNamen(userNamen)
   771  	return o
   772  }
   773  
   774  // SetUserNamen adds the userNameN to the extras object changes list params
   775  func (o *ExtrasObjectChangesListParams) SetUserNamen(userNamen *string) {
   776  	o.UserNamen = userNamen
   777  }
   778  
   779  // WithUserNameNic adds the userNameNic to the extras object changes list params
   780  func (o *ExtrasObjectChangesListParams) WithUserNameNic(userNameNic *string) *ExtrasObjectChangesListParams {
   781  	o.SetUserNameNic(userNameNic)
   782  	return o
   783  }
   784  
   785  // SetUserNameNic adds the userNameNic to the extras object changes list params
   786  func (o *ExtrasObjectChangesListParams) SetUserNameNic(userNameNic *string) {
   787  	o.UserNameNic = userNameNic
   788  }
   789  
   790  // WithUserNameNie adds the userNameNie to the extras object changes list params
   791  func (o *ExtrasObjectChangesListParams) WithUserNameNie(userNameNie *string) *ExtrasObjectChangesListParams {
   792  	o.SetUserNameNie(userNameNie)
   793  	return o
   794  }
   795  
   796  // SetUserNameNie adds the userNameNie to the extras object changes list params
   797  func (o *ExtrasObjectChangesListParams) SetUserNameNie(userNameNie *string) {
   798  	o.UserNameNie = userNameNie
   799  }
   800  
   801  // WithUserNameNiew adds the userNameNiew to the extras object changes list params
   802  func (o *ExtrasObjectChangesListParams) WithUserNameNiew(userNameNiew *string) *ExtrasObjectChangesListParams {
   803  	o.SetUserNameNiew(userNameNiew)
   804  	return o
   805  }
   806  
   807  // SetUserNameNiew adds the userNameNiew to the extras object changes list params
   808  func (o *ExtrasObjectChangesListParams) SetUserNameNiew(userNameNiew *string) {
   809  	o.UserNameNiew = userNameNiew
   810  }
   811  
   812  // WithUserNameNisw adds the userNameNisw to the extras object changes list params
   813  func (o *ExtrasObjectChangesListParams) WithUserNameNisw(userNameNisw *string) *ExtrasObjectChangesListParams {
   814  	o.SetUserNameNisw(userNameNisw)
   815  	return o
   816  }
   817  
   818  // SetUserNameNisw adds the userNameNisw to the extras object changes list params
   819  func (o *ExtrasObjectChangesListParams) SetUserNameNisw(userNameNisw *string) {
   820  	o.UserNameNisw = userNameNisw
   821  }
   822  
   823  // WriteToRequest writes these params to a swagger request
   824  func (o *ExtrasObjectChangesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {
   825  
   826  	if err := r.SetTimeout(o.timeout); err != nil {
   827  		return err
   828  	}
   829  	var res []error
   830  
   831  	if o.Action != nil {
   832  
   833  		// query param action
   834  		var qrAction string
   835  
   836  		if o.Action != nil {
   837  			qrAction = *o.Action
   838  		}
   839  		qAction := qrAction
   840  		if qAction != "" {
   841  
   842  			if err := r.SetQueryParam("action", qAction); err != nil {
   843  				return err
   844  			}
   845  		}
   846  	}
   847  
   848  	if o.Actionn != nil {
   849  
   850  		// query param action__n
   851  		var qrActionn string
   852  
   853  		if o.Actionn != nil {
   854  			qrActionn = *o.Actionn
   855  		}
   856  		qActionn := qrActionn
   857  		if qActionn != "" {
   858  
   859  			if err := r.SetQueryParam("action__n", qActionn); err != nil {
   860  				return err
   861  			}
   862  		}
   863  	}
   864  
   865  	if o.ChangedObjectID != nil {
   866  
   867  		// query param changed_object_id
   868  		var qrChangedObjectID string
   869  
   870  		if o.ChangedObjectID != nil {
   871  			qrChangedObjectID = *o.ChangedObjectID
   872  		}
   873  		qChangedObjectID := qrChangedObjectID
   874  		if qChangedObjectID != "" {
   875  
   876  			if err := r.SetQueryParam("changed_object_id", qChangedObjectID); err != nil {
   877  				return err
   878  			}
   879  		}
   880  	}
   881  
   882  	if o.ChangedObjectIDGt != nil {
   883  
   884  		// query param changed_object_id__gt
   885  		var qrChangedObjectIDGt string
   886  
   887  		if o.ChangedObjectIDGt != nil {
   888  			qrChangedObjectIDGt = *o.ChangedObjectIDGt
   889  		}
   890  		qChangedObjectIDGt := qrChangedObjectIDGt
   891  		if qChangedObjectIDGt != "" {
   892  
   893  			if err := r.SetQueryParam("changed_object_id__gt", qChangedObjectIDGt); err != nil {
   894  				return err
   895  			}
   896  		}
   897  	}
   898  
   899  	if o.ChangedObjectIDGte != nil {
   900  
   901  		// query param changed_object_id__gte
   902  		var qrChangedObjectIDGte string
   903  
   904  		if o.ChangedObjectIDGte != nil {
   905  			qrChangedObjectIDGte = *o.ChangedObjectIDGte
   906  		}
   907  		qChangedObjectIDGte := qrChangedObjectIDGte
   908  		if qChangedObjectIDGte != "" {
   909  
   910  			if err := r.SetQueryParam("changed_object_id__gte", qChangedObjectIDGte); err != nil {
   911  				return err
   912  			}
   913  		}
   914  	}
   915  
   916  	if o.ChangedObjectIDLt != nil {
   917  
   918  		// query param changed_object_id__lt
   919  		var qrChangedObjectIDLt string
   920  
   921  		if o.ChangedObjectIDLt != nil {
   922  			qrChangedObjectIDLt = *o.ChangedObjectIDLt
   923  		}
   924  		qChangedObjectIDLt := qrChangedObjectIDLt
   925  		if qChangedObjectIDLt != "" {
   926  
   927  			if err := r.SetQueryParam("changed_object_id__lt", qChangedObjectIDLt); err != nil {
   928  				return err
   929  			}
   930  		}
   931  	}
   932  
   933  	if o.ChangedObjectIDLte != nil {
   934  
   935  		// query param changed_object_id__lte
   936  		var qrChangedObjectIDLte string
   937  
   938  		if o.ChangedObjectIDLte != nil {
   939  			qrChangedObjectIDLte = *o.ChangedObjectIDLte
   940  		}
   941  		qChangedObjectIDLte := qrChangedObjectIDLte
   942  		if qChangedObjectIDLte != "" {
   943  
   944  			if err := r.SetQueryParam("changed_object_id__lte", qChangedObjectIDLte); err != nil {
   945  				return err
   946  			}
   947  		}
   948  	}
   949  
   950  	if o.ChangedObjectIDn != nil {
   951  
   952  		// query param changed_object_id__n
   953  		var qrChangedObjectIDn string
   954  
   955  		if o.ChangedObjectIDn != nil {
   956  			qrChangedObjectIDn = *o.ChangedObjectIDn
   957  		}
   958  		qChangedObjectIDn := qrChangedObjectIDn
   959  		if qChangedObjectIDn != "" {
   960  
   961  			if err := r.SetQueryParam("changed_object_id__n", qChangedObjectIDn); err != nil {
   962  				return err
   963  			}
   964  		}
   965  	}
   966  
   967  	if o.ChangedObjectType != nil {
   968  
   969  		// query param changed_object_type
   970  		var qrChangedObjectType string
   971  
   972  		if o.ChangedObjectType != nil {
   973  			qrChangedObjectType = *o.ChangedObjectType
   974  		}
   975  		qChangedObjectType := qrChangedObjectType
   976  		if qChangedObjectType != "" {
   977  
   978  			if err := r.SetQueryParam("changed_object_type", qChangedObjectType); err != nil {
   979  				return err
   980  			}
   981  		}
   982  	}
   983  
   984  	if o.ChangedObjectTypen != nil {
   985  
   986  		// query param changed_object_type__n
   987  		var qrChangedObjectTypen string
   988  
   989  		if o.ChangedObjectTypen != nil {
   990  			qrChangedObjectTypen = *o.ChangedObjectTypen
   991  		}
   992  		qChangedObjectTypen := qrChangedObjectTypen
   993  		if qChangedObjectTypen != "" {
   994  
   995  			if err := r.SetQueryParam("changed_object_type__n", qChangedObjectTypen); err != nil {
   996  				return err
   997  			}
   998  		}
   999  	}
  1000  
  1001  	if o.ChangedObjectTypeID != nil {
  1002  
  1003  		// query param changed_object_type_id
  1004  		var qrChangedObjectTypeID string
  1005  
  1006  		if o.ChangedObjectTypeID != nil {
  1007  			qrChangedObjectTypeID = *o.ChangedObjectTypeID
  1008  		}
  1009  		qChangedObjectTypeID := qrChangedObjectTypeID
  1010  		if qChangedObjectTypeID != "" {
  1011  
  1012  			if err := r.SetQueryParam("changed_object_type_id", qChangedObjectTypeID); err != nil {
  1013  				return err
  1014  			}
  1015  		}
  1016  	}
  1017  
  1018  	if o.ChangedObjectTypeIDn != nil {
  1019  
  1020  		// query param changed_object_type_id__n
  1021  		var qrChangedObjectTypeIDn string
  1022  
  1023  		if o.ChangedObjectTypeIDn != nil {
  1024  			qrChangedObjectTypeIDn = *o.ChangedObjectTypeIDn
  1025  		}
  1026  		qChangedObjectTypeIDn := qrChangedObjectTypeIDn
  1027  		if qChangedObjectTypeIDn != "" {
  1028  
  1029  			if err := r.SetQueryParam("changed_object_type_id__n", qChangedObjectTypeIDn); err != nil {
  1030  				return err
  1031  			}
  1032  		}
  1033  	}
  1034  
  1035  	if o.ID != nil {
  1036  
  1037  		// query param id
  1038  		var qrID string
  1039  
  1040  		if o.ID != nil {
  1041  			qrID = *o.ID
  1042  		}
  1043  		qID := qrID
  1044  		if qID != "" {
  1045  
  1046  			if err := r.SetQueryParam("id", qID); err != nil {
  1047  				return err
  1048  			}
  1049  		}
  1050  	}
  1051  
  1052  	if o.IDGt != nil {
  1053  
  1054  		// query param id__gt
  1055  		var qrIDGt string
  1056  
  1057  		if o.IDGt != nil {
  1058  			qrIDGt = *o.IDGt
  1059  		}
  1060  		qIDGt := qrIDGt
  1061  		if qIDGt != "" {
  1062  
  1063  			if err := r.SetQueryParam("id__gt", qIDGt); err != nil {
  1064  				return err
  1065  			}
  1066  		}
  1067  	}
  1068  
  1069  	if o.IDGte != nil {
  1070  
  1071  		// query param id__gte
  1072  		var qrIDGte string
  1073  
  1074  		if o.IDGte != nil {
  1075  			qrIDGte = *o.IDGte
  1076  		}
  1077  		qIDGte := qrIDGte
  1078  		if qIDGte != "" {
  1079  
  1080  			if err := r.SetQueryParam("id__gte", qIDGte); err != nil {
  1081  				return err
  1082  			}
  1083  		}
  1084  	}
  1085  
  1086  	if o.IDLt != nil {
  1087  
  1088  		// query param id__lt
  1089  		var qrIDLt string
  1090  
  1091  		if o.IDLt != nil {
  1092  			qrIDLt = *o.IDLt
  1093  		}
  1094  		qIDLt := qrIDLt
  1095  		if qIDLt != "" {
  1096  
  1097  			if err := r.SetQueryParam("id__lt", qIDLt); err != nil {
  1098  				return err
  1099  			}
  1100  		}
  1101  	}
  1102  
  1103  	if o.IDLte != nil {
  1104  
  1105  		// query param id__lte
  1106  		var qrIDLte string
  1107  
  1108  		if o.IDLte != nil {
  1109  			qrIDLte = *o.IDLte
  1110  		}
  1111  		qIDLte := qrIDLte
  1112  		if qIDLte != "" {
  1113  
  1114  			if err := r.SetQueryParam("id__lte", qIDLte); err != nil {
  1115  				return err
  1116  			}
  1117  		}
  1118  	}
  1119  
  1120  	if o.IDn != nil {
  1121  
  1122  		// query param id__n
  1123  		var qrIDn string
  1124  
  1125  		if o.IDn != nil {
  1126  			qrIDn = *o.IDn
  1127  		}
  1128  		qIDn := qrIDn
  1129  		if qIDn != "" {
  1130  
  1131  			if err := r.SetQueryParam("id__n", qIDn); err != nil {
  1132  				return err
  1133  			}
  1134  		}
  1135  	}
  1136  
  1137  	if o.Limit != nil {
  1138  
  1139  		// query param limit
  1140  		var qrLimit int64
  1141  
  1142  		if o.Limit != nil {
  1143  			qrLimit = *o.Limit
  1144  		}
  1145  		qLimit := swag.FormatInt64(qrLimit)
  1146  		if qLimit != "" {
  1147  
  1148  			if err := r.SetQueryParam("limit", qLimit); err != nil {
  1149  				return err
  1150  			}
  1151  		}
  1152  	}
  1153  
  1154  	if o.ObjectRepr != nil {
  1155  
  1156  		// query param object_repr
  1157  		var qrObjectRepr string
  1158  
  1159  		if o.ObjectRepr != nil {
  1160  			qrObjectRepr = *o.ObjectRepr
  1161  		}
  1162  		qObjectRepr := qrObjectRepr
  1163  		if qObjectRepr != "" {
  1164  
  1165  			if err := r.SetQueryParam("object_repr", qObjectRepr); err != nil {
  1166  				return err
  1167  			}
  1168  		}
  1169  	}
  1170  
  1171  	if o.ObjectReprEmpty != nil {
  1172  
  1173  		// query param object_repr__empty
  1174  		var qrObjectReprEmpty string
  1175  
  1176  		if o.ObjectReprEmpty != nil {
  1177  			qrObjectReprEmpty = *o.ObjectReprEmpty
  1178  		}
  1179  		qObjectReprEmpty := qrObjectReprEmpty
  1180  		if qObjectReprEmpty != "" {
  1181  
  1182  			if err := r.SetQueryParam("object_repr__empty", qObjectReprEmpty); err != nil {
  1183  				return err
  1184  			}
  1185  		}
  1186  	}
  1187  
  1188  	if o.ObjectReprIc != nil {
  1189  
  1190  		// query param object_repr__ic
  1191  		var qrObjectReprIc string
  1192  
  1193  		if o.ObjectReprIc != nil {
  1194  			qrObjectReprIc = *o.ObjectReprIc
  1195  		}
  1196  		qObjectReprIc := qrObjectReprIc
  1197  		if qObjectReprIc != "" {
  1198  
  1199  			if err := r.SetQueryParam("object_repr__ic", qObjectReprIc); err != nil {
  1200  				return err
  1201  			}
  1202  		}
  1203  	}
  1204  
  1205  	if o.ObjectReprIe != nil {
  1206  
  1207  		// query param object_repr__ie
  1208  		var qrObjectReprIe string
  1209  
  1210  		if o.ObjectReprIe != nil {
  1211  			qrObjectReprIe = *o.ObjectReprIe
  1212  		}
  1213  		qObjectReprIe := qrObjectReprIe
  1214  		if qObjectReprIe != "" {
  1215  
  1216  			if err := r.SetQueryParam("object_repr__ie", qObjectReprIe); err != nil {
  1217  				return err
  1218  			}
  1219  		}
  1220  	}
  1221  
  1222  	if o.ObjectReprIew != nil {
  1223  
  1224  		// query param object_repr__iew
  1225  		var qrObjectReprIew string
  1226  
  1227  		if o.ObjectReprIew != nil {
  1228  			qrObjectReprIew = *o.ObjectReprIew
  1229  		}
  1230  		qObjectReprIew := qrObjectReprIew
  1231  		if qObjectReprIew != "" {
  1232  
  1233  			if err := r.SetQueryParam("object_repr__iew", qObjectReprIew); err != nil {
  1234  				return err
  1235  			}
  1236  		}
  1237  	}
  1238  
  1239  	if o.ObjectReprIsw != nil {
  1240  
  1241  		// query param object_repr__isw
  1242  		var qrObjectReprIsw string
  1243  
  1244  		if o.ObjectReprIsw != nil {
  1245  			qrObjectReprIsw = *o.ObjectReprIsw
  1246  		}
  1247  		qObjectReprIsw := qrObjectReprIsw
  1248  		if qObjectReprIsw != "" {
  1249  
  1250  			if err := r.SetQueryParam("object_repr__isw", qObjectReprIsw); err != nil {
  1251  				return err
  1252  			}
  1253  		}
  1254  	}
  1255  
  1256  	if o.ObjectReprn != nil {
  1257  
  1258  		// query param object_repr__n
  1259  		var qrObjectReprn string
  1260  
  1261  		if o.ObjectReprn != nil {
  1262  			qrObjectReprn = *o.ObjectReprn
  1263  		}
  1264  		qObjectReprn := qrObjectReprn
  1265  		if qObjectReprn != "" {
  1266  
  1267  			if err := r.SetQueryParam("object_repr__n", qObjectReprn); err != nil {
  1268  				return err
  1269  			}
  1270  		}
  1271  	}
  1272  
  1273  	if o.ObjectReprNic != nil {
  1274  
  1275  		// query param object_repr__nic
  1276  		var qrObjectReprNic string
  1277  
  1278  		if o.ObjectReprNic != nil {
  1279  			qrObjectReprNic = *o.ObjectReprNic
  1280  		}
  1281  		qObjectReprNic := qrObjectReprNic
  1282  		if qObjectReprNic != "" {
  1283  
  1284  			if err := r.SetQueryParam("object_repr__nic", qObjectReprNic); err != nil {
  1285  				return err
  1286  			}
  1287  		}
  1288  	}
  1289  
  1290  	if o.ObjectReprNie != nil {
  1291  
  1292  		// query param object_repr__nie
  1293  		var qrObjectReprNie string
  1294  
  1295  		if o.ObjectReprNie != nil {
  1296  			qrObjectReprNie = *o.ObjectReprNie
  1297  		}
  1298  		qObjectReprNie := qrObjectReprNie
  1299  		if qObjectReprNie != "" {
  1300  
  1301  			if err := r.SetQueryParam("object_repr__nie", qObjectReprNie); err != nil {
  1302  				return err
  1303  			}
  1304  		}
  1305  	}
  1306  
  1307  	if o.ObjectReprNiew != nil {
  1308  
  1309  		// query param object_repr__niew
  1310  		var qrObjectReprNiew string
  1311  
  1312  		if o.ObjectReprNiew != nil {
  1313  			qrObjectReprNiew = *o.ObjectReprNiew
  1314  		}
  1315  		qObjectReprNiew := qrObjectReprNiew
  1316  		if qObjectReprNiew != "" {
  1317  
  1318  			if err := r.SetQueryParam("object_repr__niew", qObjectReprNiew); err != nil {
  1319  				return err
  1320  			}
  1321  		}
  1322  	}
  1323  
  1324  	if o.ObjectReprNisw != nil {
  1325  
  1326  		// query param object_repr__nisw
  1327  		var qrObjectReprNisw string
  1328  
  1329  		if o.ObjectReprNisw != nil {
  1330  			qrObjectReprNisw = *o.ObjectReprNisw
  1331  		}
  1332  		qObjectReprNisw := qrObjectReprNisw
  1333  		if qObjectReprNisw != "" {
  1334  
  1335  			if err := r.SetQueryParam("object_repr__nisw", qObjectReprNisw); err != nil {
  1336  				return err
  1337  			}
  1338  		}
  1339  	}
  1340  
  1341  	if o.Offset != nil {
  1342  
  1343  		// query param offset
  1344  		var qrOffset int64
  1345  
  1346  		if o.Offset != nil {
  1347  			qrOffset = *o.Offset
  1348  		}
  1349  		qOffset := swag.FormatInt64(qrOffset)
  1350  		if qOffset != "" {
  1351  
  1352  			if err := r.SetQueryParam("offset", qOffset); err != nil {
  1353  				return err
  1354  			}
  1355  		}
  1356  	}
  1357  
  1358  	if o.Q != nil {
  1359  
  1360  		// query param q
  1361  		var qrQ string
  1362  
  1363  		if o.Q != nil {
  1364  			qrQ = *o.Q
  1365  		}
  1366  		qQ := qrQ
  1367  		if qQ != "" {
  1368  
  1369  			if err := r.SetQueryParam("q", qQ); err != nil {
  1370  				return err
  1371  			}
  1372  		}
  1373  	}
  1374  
  1375  	if o.RequestID != nil {
  1376  
  1377  		// query param request_id
  1378  		var qrRequestID string
  1379  
  1380  		if o.RequestID != nil {
  1381  			qrRequestID = *o.RequestID
  1382  		}
  1383  		qRequestID := qrRequestID
  1384  		if qRequestID != "" {
  1385  
  1386  			if err := r.SetQueryParam("request_id", qRequestID); err != nil {
  1387  				return err
  1388  			}
  1389  		}
  1390  	}
  1391  
  1392  	if o.Time != nil {
  1393  
  1394  		// query param time
  1395  		var qrTime string
  1396  
  1397  		if o.Time != nil {
  1398  			qrTime = *o.Time
  1399  		}
  1400  		qTime := qrTime
  1401  		if qTime != "" {
  1402  
  1403  			if err := r.SetQueryParam("time", qTime); err != nil {
  1404  				return err
  1405  			}
  1406  		}
  1407  	}
  1408  
  1409  	if o.User != nil {
  1410  
  1411  		// query param user
  1412  		var qrUser string
  1413  
  1414  		if o.User != nil {
  1415  			qrUser = *o.User
  1416  		}
  1417  		qUser := qrUser
  1418  		if qUser != "" {
  1419  
  1420  			if err := r.SetQueryParam("user", qUser); err != nil {
  1421  				return err
  1422  			}
  1423  		}
  1424  	}
  1425  
  1426  	if o.Usern != nil {
  1427  
  1428  		// query param user__n
  1429  		var qrUsern string
  1430  
  1431  		if o.Usern != nil {
  1432  			qrUsern = *o.Usern
  1433  		}
  1434  		qUsern := qrUsern
  1435  		if qUsern != "" {
  1436  
  1437  			if err := r.SetQueryParam("user__n", qUsern); err != nil {
  1438  				return err
  1439  			}
  1440  		}
  1441  	}
  1442  
  1443  	if o.UserID != nil {
  1444  
  1445  		// query param user_id
  1446  		var qrUserID string
  1447  
  1448  		if o.UserID != nil {
  1449  			qrUserID = *o.UserID
  1450  		}
  1451  		qUserID := qrUserID
  1452  		if qUserID != "" {
  1453  
  1454  			if err := r.SetQueryParam("user_id", qUserID); err != nil {
  1455  				return err
  1456  			}
  1457  		}
  1458  	}
  1459  
  1460  	if o.UserIDn != nil {
  1461  
  1462  		// query param user_id__n
  1463  		var qrUserIDn string
  1464  
  1465  		if o.UserIDn != nil {
  1466  			qrUserIDn = *o.UserIDn
  1467  		}
  1468  		qUserIDn := qrUserIDn
  1469  		if qUserIDn != "" {
  1470  
  1471  			if err := r.SetQueryParam("user_id__n", qUserIDn); err != nil {
  1472  				return err
  1473  			}
  1474  		}
  1475  	}
  1476  
  1477  	if o.UserName != nil {
  1478  
  1479  		// query param user_name
  1480  		var qrUserName string
  1481  
  1482  		if o.UserName != nil {
  1483  			qrUserName = *o.UserName
  1484  		}
  1485  		qUserName := qrUserName
  1486  		if qUserName != "" {
  1487  
  1488  			if err := r.SetQueryParam("user_name", qUserName); err != nil {
  1489  				return err
  1490  			}
  1491  		}
  1492  	}
  1493  
  1494  	if o.UserNameEmpty != nil {
  1495  
  1496  		// query param user_name__empty
  1497  		var qrUserNameEmpty string
  1498  
  1499  		if o.UserNameEmpty != nil {
  1500  			qrUserNameEmpty = *o.UserNameEmpty
  1501  		}
  1502  		qUserNameEmpty := qrUserNameEmpty
  1503  		if qUserNameEmpty != "" {
  1504  
  1505  			if err := r.SetQueryParam("user_name__empty", qUserNameEmpty); err != nil {
  1506  				return err
  1507  			}
  1508  		}
  1509  	}
  1510  
  1511  	if o.UserNameIc != nil {
  1512  
  1513  		// query param user_name__ic
  1514  		var qrUserNameIc string
  1515  
  1516  		if o.UserNameIc != nil {
  1517  			qrUserNameIc = *o.UserNameIc
  1518  		}
  1519  		qUserNameIc := qrUserNameIc
  1520  		if qUserNameIc != "" {
  1521  
  1522  			if err := r.SetQueryParam("user_name__ic", qUserNameIc); err != nil {
  1523  				return err
  1524  			}
  1525  		}
  1526  	}
  1527  
  1528  	if o.UserNameIe != nil {
  1529  
  1530  		// query param user_name__ie
  1531  		var qrUserNameIe string
  1532  
  1533  		if o.UserNameIe != nil {
  1534  			qrUserNameIe = *o.UserNameIe
  1535  		}
  1536  		qUserNameIe := qrUserNameIe
  1537  		if qUserNameIe != "" {
  1538  
  1539  			if err := r.SetQueryParam("user_name__ie", qUserNameIe); err != nil {
  1540  				return err
  1541  			}
  1542  		}
  1543  	}
  1544  
  1545  	if o.UserNameIew != nil {
  1546  
  1547  		// query param user_name__iew
  1548  		var qrUserNameIew string
  1549  
  1550  		if o.UserNameIew != nil {
  1551  			qrUserNameIew = *o.UserNameIew
  1552  		}
  1553  		qUserNameIew := qrUserNameIew
  1554  		if qUserNameIew != "" {
  1555  
  1556  			if err := r.SetQueryParam("user_name__iew", qUserNameIew); err != nil {
  1557  				return err
  1558  			}
  1559  		}
  1560  	}
  1561  
  1562  	if o.UserNameIsw != nil {
  1563  
  1564  		// query param user_name__isw
  1565  		var qrUserNameIsw string
  1566  
  1567  		if o.UserNameIsw != nil {
  1568  			qrUserNameIsw = *o.UserNameIsw
  1569  		}
  1570  		qUserNameIsw := qrUserNameIsw
  1571  		if qUserNameIsw != "" {
  1572  
  1573  			if err := r.SetQueryParam("user_name__isw", qUserNameIsw); err != nil {
  1574  				return err
  1575  			}
  1576  		}
  1577  	}
  1578  
  1579  	if o.UserNamen != nil {
  1580  
  1581  		// query param user_name__n
  1582  		var qrUserNamen string
  1583  
  1584  		if o.UserNamen != nil {
  1585  			qrUserNamen = *o.UserNamen
  1586  		}
  1587  		qUserNamen := qrUserNamen
  1588  		if qUserNamen != "" {
  1589  
  1590  			if err := r.SetQueryParam("user_name__n", qUserNamen); err != nil {
  1591  				return err
  1592  			}
  1593  		}
  1594  	}
  1595  
  1596  	if o.UserNameNic != nil {
  1597  
  1598  		// query param user_name__nic
  1599  		var qrUserNameNic string
  1600  
  1601  		if o.UserNameNic != nil {
  1602  			qrUserNameNic = *o.UserNameNic
  1603  		}
  1604  		qUserNameNic := qrUserNameNic
  1605  		if qUserNameNic != "" {
  1606  
  1607  			if err := r.SetQueryParam("user_name__nic", qUserNameNic); err != nil {
  1608  				return err
  1609  			}
  1610  		}
  1611  	}
  1612  
  1613  	if o.UserNameNie != nil {
  1614  
  1615  		// query param user_name__nie
  1616  		var qrUserNameNie string
  1617  
  1618  		if o.UserNameNie != nil {
  1619  			qrUserNameNie = *o.UserNameNie
  1620  		}
  1621  		qUserNameNie := qrUserNameNie
  1622  		if qUserNameNie != "" {
  1623  
  1624  			if err := r.SetQueryParam("user_name__nie", qUserNameNie); err != nil {
  1625  				return err
  1626  			}
  1627  		}
  1628  	}
  1629  
  1630  	if o.UserNameNiew != nil {
  1631  
  1632  		// query param user_name__niew
  1633  		var qrUserNameNiew string
  1634  
  1635  		if o.UserNameNiew != nil {
  1636  			qrUserNameNiew = *o.UserNameNiew
  1637  		}
  1638  		qUserNameNiew := qrUserNameNiew
  1639  		if qUserNameNiew != "" {
  1640  
  1641  			if err := r.SetQueryParam("user_name__niew", qUserNameNiew); err != nil {
  1642  				return err
  1643  			}
  1644  		}
  1645  	}
  1646  
  1647  	if o.UserNameNisw != nil {
  1648  
  1649  		// query param user_name__nisw
  1650  		var qrUserNameNisw string
  1651  
  1652  		if o.UserNameNisw != nil {
  1653  			qrUserNameNisw = *o.UserNameNisw
  1654  		}
  1655  		qUserNameNisw := qrUserNameNisw
  1656  		if qUserNameNisw != "" {
  1657  
  1658  			if err := r.SetQueryParam("user_name__nisw", qUserNameNisw); err != nil {
  1659  				return err
  1660  			}
  1661  		}
  1662  	}
  1663  
  1664  	if len(res) > 0 {
  1665  		return errors.CompositeValidationError(res...)
  1666  	}
  1667  	return nil
  1668  }