github.com/digitalocean/go-netbox@v0.0.2/netbox/client/dcim/dcim_sites_list_parameters.go (about) 1 // Code generated by go-swagger; DO NOT EDIT. 2 3 // Copyright 2020 The go-netbox Authors. 4 // 5 // Licensed under the Apache License, Version 2.0 (the "License"); 6 // you may not use this file except in compliance with the License. 7 // You may obtain a copy of the License at 8 // 9 // http://www.apache.org/licenses/LICENSE-2.0 10 // 11 // Unless required by applicable law or agreed to in writing, software 12 // distributed under the License is distributed on an "AS IS" BASIS, 13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 // See the License for the specific language governing permissions and 15 // limitations under the License. 16 // 17 18 package dcim 19 20 // This file was generated by the swagger tool. 21 // Editing this file might prove futile when you re-run the swagger generate command 22 23 import ( 24 "context" 25 "net/http" 26 "time" 27 28 "github.com/go-openapi/errors" 29 "github.com/go-openapi/runtime" 30 cr "github.com/go-openapi/runtime/client" 31 "github.com/go-openapi/strfmt" 32 "github.com/go-openapi/swag" 33 ) 34 35 // NewDcimSitesListParams creates a new DcimSitesListParams 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 NewDcimSitesListParams() *DcimSitesListParams { 42 return &DcimSitesListParams{ 43 timeout: cr.DefaultTimeout, 44 } 45 } 46 47 // NewDcimSitesListParamsWithTimeout creates a new DcimSitesListParams object 48 // with the ability to set a timeout on a request. 49 func NewDcimSitesListParamsWithTimeout(timeout time.Duration) *DcimSitesListParams { 50 return &DcimSitesListParams{ 51 timeout: timeout, 52 } 53 } 54 55 // NewDcimSitesListParamsWithContext creates a new DcimSitesListParams object 56 // with the ability to set a context for a request. 57 func NewDcimSitesListParamsWithContext(ctx context.Context) *DcimSitesListParams { 58 return &DcimSitesListParams{ 59 Context: ctx, 60 } 61 } 62 63 // NewDcimSitesListParamsWithHTTPClient creates a new DcimSitesListParams object 64 // with the ability to set a custom HTTPClient for a request. 65 func NewDcimSitesListParamsWithHTTPClient(client *http.Client) *DcimSitesListParams { 66 return &DcimSitesListParams{ 67 HTTPClient: client, 68 } 69 } 70 71 /* DcimSitesListParams contains all the parameters to send to the API endpoint 72 for the dcim sites list operation. 73 74 Typically these are written to a http.Request. 75 */ 76 type DcimSitesListParams struct { 77 78 // Asn. 79 Asn *string 80 81 // AsnGt. 82 AsnGt *string 83 84 // AsnGte. 85 AsnGte *string 86 87 // AsnLt. 88 AsnLt *string 89 90 // AsnLte. 91 AsnLte *string 92 93 // Asnn. 94 Asnn *string 95 96 // ContactEmail. 97 ContactEmail *string 98 99 // ContactEmailEmpty. 100 ContactEmailEmpty *string 101 102 // ContactEmailIc. 103 ContactEmailIc *string 104 105 // ContactEmailIe. 106 ContactEmailIe *string 107 108 // ContactEmailIew. 109 ContactEmailIew *string 110 111 // ContactEmailIsw. 112 ContactEmailIsw *string 113 114 // ContactEmailn. 115 ContactEmailn *string 116 117 // ContactEmailNic. 118 ContactEmailNic *string 119 120 // ContactEmailNie. 121 ContactEmailNie *string 122 123 // ContactEmailNiew. 124 ContactEmailNiew *string 125 126 // ContactEmailNisw. 127 ContactEmailNisw *string 128 129 // ContactName. 130 ContactName *string 131 132 // ContactNameEmpty. 133 ContactNameEmpty *string 134 135 // ContactNameIc. 136 ContactNameIc *string 137 138 // ContactNameIe. 139 ContactNameIe *string 140 141 // ContactNameIew. 142 ContactNameIew *string 143 144 // ContactNameIsw. 145 ContactNameIsw *string 146 147 // ContactNamen. 148 ContactNamen *string 149 150 // ContactNameNic. 151 ContactNameNic *string 152 153 // ContactNameNie. 154 ContactNameNie *string 155 156 // ContactNameNiew. 157 ContactNameNiew *string 158 159 // ContactNameNisw. 160 ContactNameNisw *string 161 162 // ContactPhone. 163 ContactPhone *string 164 165 // ContactPhoneEmpty. 166 ContactPhoneEmpty *string 167 168 // ContactPhoneIc. 169 ContactPhoneIc *string 170 171 // ContactPhoneIe. 172 ContactPhoneIe *string 173 174 // ContactPhoneIew. 175 ContactPhoneIew *string 176 177 // ContactPhoneIsw. 178 ContactPhoneIsw *string 179 180 // ContactPhonen. 181 ContactPhonen *string 182 183 // ContactPhoneNic. 184 ContactPhoneNic *string 185 186 // ContactPhoneNie. 187 ContactPhoneNie *string 188 189 // ContactPhoneNiew. 190 ContactPhoneNiew *string 191 192 // ContactPhoneNisw. 193 ContactPhoneNisw *string 194 195 // Created. 196 Created *string 197 198 // CreatedGte. 199 CreatedGte *string 200 201 // CreatedLte. 202 CreatedLte *string 203 204 // Facility. 205 Facility *string 206 207 // FacilityEmpty. 208 FacilityEmpty *string 209 210 // FacilityIc. 211 FacilityIc *string 212 213 // FacilityIe. 214 FacilityIe *string 215 216 // FacilityIew. 217 FacilityIew *string 218 219 // FacilityIsw. 220 FacilityIsw *string 221 222 // Facilityn. 223 Facilityn *string 224 225 // FacilityNic. 226 FacilityNic *string 227 228 // FacilityNie. 229 FacilityNie *string 230 231 // FacilityNiew. 232 FacilityNiew *string 233 234 // FacilityNisw. 235 FacilityNisw *string 236 237 // Group. 238 Group *string 239 240 // Groupn. 241 Groupn *string 242 243 // GroupID. 244 GroupID *string 245 246 // GroupIDn. 247 GroupIDn *string 248 249 // ID. 250 ID *string 251 252 // IDGt. 253 IDGt *string 254 255 // IDGte. 256 IDGte *string 257 258 // IDLt. 259 IDLt *string 260 261 // IDLte. 262 IDLte *string 263 264 // IDn. 265 IDn *string 266 267 // LastUpdated. 268 LastUpdated *string 269 270 // LastUpdatedGte. 271 LastUpdatedGte *string 272 273 // LastUpdatedLte. 274 LastUpdatedLte *string 275 276 // Latitude. 277 Latitude *string 278 279 // LatitudeGt. 280 LatitudeGt *string 281 282 // LatitudeGte. 283 LatitudeGte *string 284 285 // LatitudeLt. 286 LatitudeLt *string 287 288 // LatitudeLte. 289 LatitudeLte *string 290 291 // Latituden. 292 Latituden *string 293 294 /* Limit. 295 296 Number of results to return per page. 297 */ 298 Limit *int64 299 300 // Longitude. 301 Longitude *string 302 303 // LongitudeGt. 304 LongitudeGt *string 305 306 // LongitudeGte. 307 LongitudeGte *string 308 309 // LongitudeLt. 310 LongitudeLt *string 311 312 // LongitudeLte. 313 LongitudeLte *string 314 315 // Longituden. 316 Longituden *string 317 318 // Name. 319 Name *string 320 321 // NameEmpty. 322 NameEmpty *string 323 324 // NameIc. 325 NameIc *string 326 327 // NameIe. 328 NameIe *string 329 330 // NameIew. 331 NameIew *string 332 333 // NameIsw. 334 NameIsw *string 335 336 // Namen. 337 Namen *string 338 339 // NameNic. 340 NameNic *string 341 342 // NameNie. 343 NameNie *string 344 345 // NameNiew. 346 NameNiew *string 347 348 // NameNisw. 349 NameNisw *string 350 351 /* Offset. 352 353 The initial index from which to return the results. 354 */ 355 Offset *int64 356 357 // Q. 358 Q *string 359 360 // Region. 361 Region *string 362 363 // Regionn. 364 Regionn *string 365 366 // RegionID. 367 RegionID *string 368 369 // RegionIDn. 370 RegionIDn *string 371 372 // Slug. 373 Slug *string 374 375 // SlugEmpty. 376 SlugEmpty *string 377 378 // SlugIc. 379 SlugIc *string 380 381 // SlugIe. 382 SlugIe *string 383 384 // SlugIew. 385 SlugIew *string 386 387 // SlugIsw. 388 SlugIsw *string 389 390 // Slugn. 391 Slugn *string 392 393 // SlugNic. 394 SlugNic *string 395 396 // SlugNie. 397 SlugNie *string 398 399 // SlugNiew. 400 SlugNiew *string 401 402 // SlugNisw. 403 SlugNisw *string 404 405 // Status. 406 Status *string 407 408 // Statusn. 409 Statusn *string 410 411 // Tag. 412 Tag *string 413 414 // Tagn. 415 Tagn *string 416 417 // Tenant. 418 Tenant *string 419 420 // Tenantn. 421 Tenantn *string 422 423 // TenantGroup. 424 TenantGroup *string 425 426 // TenantGroupn. 427 TenantGroupn *string 428 429 // TenantGroupID. 430 TenantGroupID *string 431 432 // TenantGroupIDn. 433 TenantGroupIDn *string 434 435 // TenantID. 436 TenantID *string 437 438 // TenantIDn. 439 TenantIDn *string 440 441 timeout time.Duration 442 Context context.Context 443 HTTPClient *http.Client 444 } 445 446 // WithDefaults hydrates default values in the dcim sites list params (not the query body). 447 // 448 // All values with no default are reset to their zero value. 449 func (o *DcimSitesListParams) WithDefaults() *DcimSitesListParams { 450 o.SetDefaults() 451 return o 452 } 453 454 // SetDefaults hydrates default values in the dcim sites list params (not the query body). 455 // 456 // All values with no default are reset to their zero value. 457 func (o *DcimSitesListParams) SetDefaults() { 458 // no default values defined for this parameter 459 } 460 461 // WithTimeout adds the timeout to the dcim sites list params 462 func (o *DcimSitesListParams) WithTimeout(timeout time.Duration) *DcimSitesListParams { 463 o.SetTimeout(timeout) 464 return o 465 } 466 467 // SetTimeout adds the timeout to the dcim sites list params 468 func (o *DcimSitesListParams) SetTimeout(timeout time.Duration) { 469 o.timeout = timeout 470 } 471 472 // WithContext adds the context to the dcim sites list params 473 func (o *DcimSitesListParams) WithContext(ctx context.Context) *DcimSitesListParams { 474 o.SetContext(ctx) 475 return o 476 } 477 478 // SetContext adds the context to the dcim sites list params 479 func (o *DcimSitesListParams) SetContext(ctx context.Context) { 480 o.Context = ctx 481 } 482 483 // WithHTTPClient adds the HTTPClient to the dcim sites list params 484 func (o *DcimSitesListParams) WithHTTPClient(client *http.Client) *DcimSitesListParams { 485 o.SetHTTPClient(client) 486 return o 487 } 488 489 // SetHTTPClient adds the HTTPClient to the dcim sites list params 490 func (o *DcimSitesListParams) SetHTTPClient(client *http.Client) { 491 o.HTTPClient = client 492 } 493 494 // WithAsn adds the asn to the dcim sites list params 495 func (o *DcimSitesListParams) WithAsn(asn *string) *DcimSitesListParams { 496 o.SetAsn(asn) 497 return o 498 } 499 500 // SetAsn adds the asn to the dcim sites list params 501 func (o *DcimSitesListParams) SetAsn(asn *string) { 502 o.Asn = asn 503 } 504 505 // WithAsnGt adds the asnGt to the dcim sites list params 506 func (o *DcimSitesListParams) WithAsnGt(asnGt *string) *DcimSitesListParams { 507 o.SetAsnGt(asnGt) 508 return o 509 } 510 511 // SetAsnGt adds the asnGt to the dcim sites list params 512 func (o *DcimSitesListParams) SetAsnGt(asnGt *string) { 513 o.AsnGt = asnGt 514 } 515 516 // WithAsnGte adds the asnGte to the dcim sites list params 517 func (o *DcimSitesListParams) WithAsnGte(asnGte *string) *DcimSitesListParams { 518 o.SetAsnGte(asnGte) 519 return o 520 } 521 522 // SetAsnGte adds the asnGte to the dcim sites list params 523 func (o *DcimSitesListParams) SetAsnGte(asnGte *string) { 524 o.AsnGte = asnGte 525 } 526 527 // WithAsnLt adds the asnLt to the dcim sites list params 528 func (o *DcimSitesListParams) WithAsnLt(asnLt *string) *DcimSitesListParams { 529 o.SetAsnLt(asnLt) 530 return o 531 } 532 533 // SetAsnLt adds the asnLt to the dcim sites list params 534 func (o *DcimSitesListParams) SetAsnLt(asnLt *string) { 535 o.AsnLt = asnLt 536 } 537 538 // WithAsnLte adds the asnLte to the dcim sites list params 539 func (o *DcimSitesListParams) WithAsnLte(asnLte *string) *DcimSitesListParams { 540 o.SetAsnLte(asnLte) 541 return o 542 } 543 544 // SetAsnLte adds the asnLte to the dcim sites list params 545 func (o *DcimSitesListParams) SetAsnLte(asnLte *string) { 546 o.AsnLte = asnLte 547 } 548 549 // WithAsnn adds the asnn to the dcim sites list params 550 func (o *DcimSitesListParams) WithAsnn(asnn *string) *DcimSitesListParams { 551 o.SetAsnn(asnn) 552 return o 553 } 554 555 // SetAsnn adds the asnN to the dcim sites list params 556 func (o *DcimSitesListParams) SetAsnn(asnn *string) { 557 o.Asnn = asnn 558 } 559 560 // WithContactEmail adds the contactEmail to the dcim sites list params 561 func (o *DcimSitesListParams) WithContactEmail(contactEmail *string) *DcimSitesListParams { 562 o.SetContactEmail(contactEmail) 563 return o 564 } 565 566 // SetContactEmail adds the contactEmail to the dcim sites list params 567 func (o *DcimSitesListParams) SetContactEmail(contactEmail *string) { 568 o.ContactEmail = contactEmail 569 } 570 571 // WithContactEmailEmpty adds the contactEmailEmpty to the dcim sites list params 572 func (o *DcimSitesListParams) WithContactEmailEmpty(contactEmailEmpty *string) *DcimSitesListParams { 573 o.SetContactEmailEmpty(contactEmailEmpty) 574 return o 575 } 576 577 // SetContactEmailEmpty adds the contactEmailEmpty to the dcim sites list params 578 func (o *DcimSitesListParams) SetContactEmailEmpty(contactEmailEmpty *string) { 579 o.ContactEmailEmpty = contactEmailEmpty 580 } 581 582 // WithContactEmailIc adds the contactEmailIc to the dcim sites list params 583 func (o *DcimSitesListParams) WithContactEmailIc(contactEmailIc *string) *DcimSitesListParams { 584 o.SetContactEmailIc(contactEmailIc) 585 return o 586 } 587 588 // SetContactEmailIc adds the contactEmailIc to the dcim sites list params 589 func (o *DcimSitesListParams) SetContactEmailIc(contactEmailIc *string) { 590 o.ContactEmailIc = contactEmailIc 591 } 592 593 // WithContactEmailIe adds the contactEmailIe to the dcim sites list params 594 func (o *DcimSitesListParams) WithContactEmailIe(contactEmailIe *string) *DcimSitesListParams { 595 o.SetContactEmailIe(contactEmailIe) 596 return o 597 } 598 599 // SetContactEmailIe adds the contactEmailIe to the dcim sites list params 600 func (o *DcimSitesListParams) SetContactEmailIe(contactEmailIe *string) { 601 o.ContactEmailIe = contactEmailIe 602 } 603 604 // WithContactEmailIew adds the contactEmailIew to the dcim sites list params 605 func (o *DcimSitesListParams) WithContactEmailIew(contactEmailIew *string) *DcimSitesListParams { 606 o.SetContactEmailIew(contactEmailIew) 607 return o 608 } 609 610 // SetContactEmailIew adds the contactEmailIew to the dcim sites list params 611 func (o *DcimSitesListParams) SetContactEmailIew(contactEmailIew *string) { 612 o.ContactEmailIew = contactEmailIew 613 } 614 615 // WithContactEmailIsw adds the contactEmailIsw to the dcim sites list params 616 func (o *DcimSitesListParams) WithContactEmailIsw(contactEmailIsw *string) *DcimSitesListParams { 617 o.SetContactEmailIsw(contactEmailIsw) 618 return o 619 } 620 621 // SetContactEmailIsw adds the contactEmailIsw to the dcim sites list params 622 func (o *DcimSitesListParams) SetContactEmailIsw(contactEmailIsw *string) { 623 o.ContactEmailIsw = contactEmailIsw 624 } 625 626 // WithContactEmailn adds the contactEmailn to the dcim sites list params 627 func (o *DcimSitesListParams) WithContactEmailn(contactEmailn *string) *DcimSitesListParams { 628 o.SetContactEmailn(contactEmailn) 629 return o 630 } 631 632 // SetContactEmailn adds the contactEmailN to the dcim sites list params 633 func (o *DcimSitesListParams) SetContactEmailn(contactEmailn *string) { 634 o.ContactEmailn = contactEmailn 635 } 636 637 // WithContactEmailNic adds the contactEmailNic to the dcim sites list params 638 func (o *DcimSitesListParams) WithContactEmailNic(contactEmailNic *string) *DcimSitesListParams { 639 o.SetContactEmailNic(contactEmailNic) 640 return o 641 } 642 643 // SetContactEmailNic adds the contactEmailNic to the dcim sites list params 644 func (o *DcimSitesListParams) SetContactEmailNic(contactEmailNic *string) { 645 o.ContactEmailNic = contactEmailNic 646 } 647 648 // WithContactEmailNie adds the contactEmailNie to the dcim sites list params 649 func (o *DcimSitesListParams) WithContactEmailNie(contactEmailNie *string) *DcimSitesListParams { 650 o.SetContactEmailNie(contactEmailNie) 651 return o 652 } 653 654 // SetContactEmailNie adds the contactEmailNie to the dcim sites list params 655 func (o *DcimSitesListParams) SetContactEmailNie(contactEmailNie *string) { 656 o.ContactEmailNie = contactEmailNie 657 } 658 659 // WithContactEmailNiew adds the contactEmailNiew to the dcim sites list params 660 func (o *DcimSitesListParams) WithContactEmailNiew(contactEmailNiew *string) *DcimSitesListParams { 661 o.SetContactEmailNiew(contactEmailNiew) 662 return o 663 } 664 665 // SetContactEmailNiew adds the contactEmailNiew to the dcim sites list params 666 func (o *DcimSitesListParams) SetContactEmailNiew(contactEmailNiew *string) { 667 o.ContactEmailNiew = contactEmailNiew 668 } 669 670 // WithContactEmailNisw adds the contactEmailNisw to the dcim sites list params 671 func (o *DcimSitesListParams) WithContactEmailNisw(contactEmailNisw *string) *DcimSitesListParams { 672 o.SetContactEmailNisw(contactEmailNisw) 673 return o 674 } 675 676 // SetContactEmailNisw adds the contactEmailNisw to the dcim sites list params 677 func (o *DcimSitesListParams) SetContactEmailNisw(contactEmailNisw *string) { 678 o.ContactEmailNisw = contactEmailNisw 679 } 680 681 // WithContactName adds the contactName to the dcim sites list params 682 func (o *DcimSitesListParams) WithContactName(contactName *string) *DcimSitesListParams { 683 o.SetContactName(contactName) 684 return o 685 } 686 687 // SetContactName adds the contactName to the dcim sites list params 688 func (o *DcimSitesListParams) SetContactName(contactName *string) { 689 o.ContactName = contactName 690 } 691 692 // WithContactNameEmpty adds the contactNameEmpty to the dcim sites list params 693 func (o *DcimSitesListParams) WithContactNameEmpty(contactNameEmpty *string) *DcimSitesListParams { 694 o.SetContactNameEmpty(contactNameEmpty) 695 return o 696 } 697 698 // SetContactNameEmpty adds the contactNameEmpty to the dcim sites list params 699 func (o *DcimSitesListParams) SetContactNameEmpty(contactNameEmpty *string) { 700 o.ContactNameEmpty = contactNameEmpty 701 } 702 703 // WithContactNameIc adds the contactNameIc to the dcim sites list params 704 func (o *DcimSitesListParams) WithContactNameIc(contactNameIc *string) *DcimSitesListParams { 705 o.SetContactNameIc(contactNameIc) 706 return o 707 } 708 709 // SetContactNameIc adds the contactNameIc to the dcim sites list params 710 func (o *DcimSitesListParams) SetContactNameIc(contactNameIc *string) { 711 o.ContactNameIc = contactNameIc 712 } 713 714 // WithContactNameIe adds the contactNameIe to the dcim sites list params 715 func (o *DcimSitesListParams) WithContactNameIe(contactNameIe *string) *DcimSitesListParams { 716 o.SetContactNameIe(contactNameIe) 717 return o 718 } 719 720 // SetContactNameIe adds the contactNameIe to the dcim sites list params 721 func (o *DcimSitesListParams) SetContactNameIe(contactNameIe *string) { 722 o.ContactNameIe = contactNameIe 723 } 724 725 // WithContactNameIew adds the contactNameIew to the dcim sites list params 726 func (o *DcimSitesListParams) WithContactNameIew(contactNameIew *string) *DcimSitesListParams { 727 o.SetContactNameIew(contactNameIew) 728 return o 729 } 730 731 // SetContactNameIew adds the contactNameIew to the dcim sites list params 732 func (o *DcimSitesListParams) SetContactNameIew(contactNameIew *string) { 733 o.ContactNameIew = contactNameIew 734 } 735 736 // WithContactNameIsw adds the contactNameIsw to the dcim sites list params 737 func (o *DcimSitesListParams) WithContactNameIsw(contactNameIsw *string) *DcimSitesListParams { 738 o.SetContactNameIsw(contactNameIsw) 739 return o 740 } 741 742 // SetContactNameIsw adds the contactNameIsw to the dcim sites list params 743 func (o *DcimSitesListParams) SetContactNameIsw(contactNameIsw *string) { 744 o.ContactNameIsw = contactNameIsw 745 } 746 747 // WithContactNamen adds the contactNamen to the dcim sites list params 748 func (o *DcimSitesListParams) WithContactNamen(contactNamen *string) *DcimSitesListParams { 749 o.SetContactNamen(contactNamen) 750 return o 751 } 752 753 // SetContactNamen adds the contactNameN to the dcim sites list params 754 func (o *DcimSitesListParams) SetContactNamen(contactNamen *string) { 755 o.ContactNamen = contactNamen 756 } 757 758 // WithContactNameNic adds the contactNameNic to the dcim sites list params 759 func (o *DcimSitesListParams) WithContactNameNic(contactNameNic *string) *DcimSitesListParams { 760 o.SetContactNameNic(contactNameNic) 761 return o 762 } 763 764 // SetContactNameNic adds the contactNameNic to the dcim sites list params 765 func (o *DcimSitesListParams) SetContactNameNic(contactNameNic *string) { 766 o.ContactNameNic = contactNameNic 767 } 768 769 // WithContactNameNie adds the contactNameNie to the dcim sites list params 770 func (o *DcimSitesListParams) WithContactNameNie(contactNameNie *string) *DcimSitesListParams { 771 o.SetContactNameNie(contactNameNie) 772 return o 773 } 774 775 // SetContactNameNie adds the contactNameNie to the dcim sites list params 776 func (o *DcimSitesListParams) SetContactNameNie(contactNameNie *string) { 777 o.ContactNameNie = contactNameNie 778 } 779 780 // WithContactNameNiew adds the contactNameNiew to the dcim sites list params 781 func (o *DcimSitesListParams) WithContactNameNiew(contactNameNiew *string) *DcimSitesListParams { 782 o.SetContactNameNiew(contactNameNiew) 783 return o 784 } 785 786 // SetContactNameNiew adds the contactNameNiew to the dcim sites list params 787 func (o *DcimSitesListParams) SetContactNameNiew(contactNameNiew *string) { 788 o.ContactNameNiew = contactNameNiew 789 } 790 791 // WithContactNameNisw adds the contactNameNisw to the dcim sites list params 792 func (o *DcimSitesListParams) WithContactNameNisw(contactNameNisw *string) *DcimSitesListParams { 793 o.SetContactNameNisw(contactNameNisw) 794 return o 795 } 796 797 // SetContactNameNisw adds the contactNameNisw to the dcim sites list params 798 func (o *DcimSitesListParams) SetContactNameNisw(contactNameNisw *string) { 799 o.ContactNameNisw = contactNameNisw 800 } 801 802 // WithContactPhone adds the contactPhone to the dcim sites list params 803 func (o *DcimSitesListParams) WithContactPhone(contactPhone *string) *DcimSitesListParams { 804 o.SetContactPhone(contactPhone) 805 return o 806 } 807 808 // SetContactPhone adds the contactPhone to the dcim sites list params 809 func (o *DcimSitesListParams) SetContactPhone(contactPhone *string) { 810 o.ContactPhone = contactPhone 811 } 812 813 // WithContactPhoneEmpty adds the contactPhoneEmpty to the dcim sites list params 814 func (o *DcimSitesListParams) WithContactPhoneEmpty(contactPhoneEmpty *string) *DcimSitesListParams { 815 o.SetContactPhoneEmpty(contactPhoneEmpty) 816 return o 817 } 818 819 // SetContactPhoneEmpty adds the contactPhoneEmpty to the dcim sites list params 820 func (o *DcimSitesListParams) SetContactPhoneEmpty(contactPhoneEmpty *string) { 821 o.ContactPhoneEmpty = contactPhoneEmpty 822 } 823 824 // WithContactPhoneIc adds the contactPhoneIc to the dcim sites list params 825 func (o *DcimSitesListParams) WithContactPhoneIc(contactPhoneIc *string) *DcimSitesListParams { 826 o.SetContactPhoneIc(contactPhoneIc) 827 return o 828 } 829 830 // SetContactPhoneIc adds the contactPhoneIc to the dcim sites list params 831 func (o *DcimSitesListParams) SetContactPhoneIc(contactPhoneIc *string) { 832 o.ContactPhoneIc = contactPhoneIc 833 } 834 835 // WithContactPhoneIe adds the contactPhoneIe to the dcim sites list params 836 func (o *DcimSitesListParams) WithContactPhoneIe(contactPhoneIe *string) *DcimSitesListParams { 837 o.SetContactPhoneIe(contactPhoneIe) 838 return o 839 } 840 841 // SetContactPhoneIe adds the contactPhoneIe to the dcim sites list params 842 func (o *DcimSitesListParams) SetContactPhoneIe(contactPhoneIe *string) { 843 o.ContactPhoneIe = contactPhoneIe 844 } 845 846 // WithContactPhoneIew adds the contactPhoneIew to the dcim sites list params 847 func (o *DcimSitesListParams) WithContactPhoneIew(contactPhoneIew *string) *DcimSitesListParams { 848 o.SetContactPhoneIew(contactPhoneIew) 849 return o 850 } 851 852 // SetContactPhoneIew adds the contactPhoneIew to the dcim sites list params 853 func (o *DcimSitesListParams) SetContactPhoneIew(contactPhoneIew *string) { 854 o.ContactPhoneIew = contactPhoneIew 855 } 856 857 // WithContactPhoneIsw adds the contactPhoneIsw to the dcim sites list params 858 func (o *DcimSitesListParams) WithContactPhoneIsw(contactPhoneIsw *string) *DcimSitesListParams { 859 o.SetContactPhoneIsw(contactPhoneIsw) 860 return o 861 } 862 863 // SetContactPhoneIsw adds the contactPhoneIsw to the dcim sites list params 864 func (o *DcimSitesListParams) SetContactPhoneIsw(contactPhoneIsw *string) { 865 o.ContactPhoneIsw = contactPhoneIsw 866 } 867 868 // WithContactPhonen adds the contactPhonen to the dcim sites list params 869 func (o *DcimSitesListParams) WithContactPhonen(contactPhonen *string) *DcimSitesListParams { 870 o.SetContactPhonen(contactPhonen) 871 return o 872 } 873 874 // SetContactPhonen adds the contactPhoneN to the dcim sites list params 875 func (o *DcimSitesListParams) SetContactPhonen(contactPhonen *string) { 876 o.ContactPhonen = contactPhonen 877 } 878 879 // WithContactPhoneNic adds the contactPhoneNic to the dcim sites list params 880 func (o *DcimSitesListParams) WithContactPhoneNic(contactPhoneNic *string) *DcimSitesListParams { 881 o.SetContactPhoneNic(contactPhoneNic) 882 return o 883 } 884 885 // SetContactPhoneNic adds the contactPhoneNic to the dcim sites list params 886 func (o *DcimSitesListParams) SetContactPhoneNic(contactPhoneNic *string) { 887 o.ContactPhoneNic = contactPhoneNic 888 } 889 890 // WithContactPhoneNie adds the contactPhoneNie to the dcim sites list params 891 func (o *DcimSitesListParams) WithContactPhoneNie(contactPhoneNie *string) *DcimSitesListParams { 892 o.SetContactPhoneNie(contactPhoneNie) 893 return o 894 } 895 896 // SetContactPhoneNie adds the contactPhoneNie to the dcim sites list params 897 func (o *DcimSitesListParams) SetContactPhoneNie(contactPhoneNie *string) { 898 o.ContactPhoneNie = contactPhoneNie 899 } 900 901 // WithContactPhoneNiew adds the contactPhoneNiew to the dcim sites list params 902 func (o *DcimSitesListParams) WithContactPhoneNiew(contactPhoneNiew *string) *DcimSitesListParams { 903 o.SetContactPhoneNiew(contactPhoneNiew) 904 return o 905 } 906 907 // SetContactPhoneNiew adds the contactPhoneNiew to the dcim sites list params 908 func (o *DcimSitesListParams) SetContactPhoneNiew(contactPhoneNiew *string) { 909 o.ContactPhoneNiew = contactPhoneNiew 910 } 911 912 // WithContactPhoneNisw adds the contactPhoneNisw to the dcim sites list params 913 func (o *DcimSitesListParams) WithContactPhoneNisw(contactPhoneNisw *string) *DcimSitesListParams { 914 o.SetContactPhoneNisw(contactPhoneNisw) 915 return o 916 } 917 918 // SetContactPhoneNisw adds the contactPhoneNisw to the dcim sites list params 919 func (o *DcimSitesListParams) SetContactPhoneNisw(contactPhoneNisw *string) { 920 o.ContactPhoneNisw = contactPhoneNisw 921 } 922 923 // WithCreated adds the created to the dcim sites list params 924 func (o *DcimSitesListParams) WithCreated(created *string) *DcimSitesListParams { 925 o.SetCreated(created) 926 return o 927 } 928 929 // SetCreated adds the created to the dcim sites list params 930 func (o *DcimSitesListParams) SetCreated(created *string) { 931 o.Created = created 932 } 933 934 // WithCreatedGte adds the createdGte to the dcim sites list params 935 func (o *DcimSitesListParams) WithCreatedGte(createdGte *string) *DcimSitesListParams { 936 o.SetCreatedGte(createdGte) 937 return o 938 } 939 940 // SetCreatedGte adds the createdGte to the dcim sites list params 941 func (o *DcimSitesListParams) SetCreatedGte(createdGte *string) { 942 o.CreatedGte = createdGte 943 } 944 945 // WithCreatedLte adds the createdLte to the dcim sites list params 946 func (o *DcimSitesListParams) WithCreatedLte(createdLte *string) *DcimSitesListParams { 947 o.SetCreatedLte(createdLte) 948 return o 949 } 950 951 // SetCreatedLte adds the createdLte to the dcim sites list params 952 func (o *DcimSitesListParams) SetCreatedLte(createdLte *string) { 953 o.CreatedLte = createdLte 954 } 955 956 // WithFacility adds the facility to the dcim sites list params 957 func (o *DcimSitesListParams) WithFacility(facility *string) *DcimSitesListParams { 958 o.SetFacility(facility) 959 return o 960 } 961 962 // SetFacility adds the facility to the dcim sites list params 963 func (o *DcimSitesListParams) SetFacility(facility *string) { 964 o.Facility = facility 965 } 966 967 // WithFacilityEmpty adds the facilityEmpty to the dcim sites list params 968 func (o *DcimSitesListParams) WithFacilityEmpty(facilityEmpty *string) *DcimSitesListParams { 969 o.SetFacilityEmpty(facilityEmpty) 970 return o 971 } 972 973 // SetFacilityEmpty adds the facilityEmpty to the dcim sites list params 974 func (o *DcimSitesListParams) SetFacilityEmpty(facilityEmpty *string) { 975 o.FacilityEmpty = facilityEmpty 976 } 977 978 // WithFacilityIc adds the facilityIc to the dcim sites list params 979 func (o *DcimSitesListParams) WithFacilityIc(facilityIc *string) *DcimSitesListParams { 980 o.SetFacilityIc(facilityIc) 981 return o 982 } 983 984 // SetFacilityIc adds the facilityIc to the dcim sites list params 985 func (o *DcimSitesListParams) SetFacilityIc(facilityIc *string) { 986 o.FacilityIc = facilityIc 987 } 988 989 // WithFacilityIe adds the facilityIe to the dcim sites list params 990 func (o *DcimSitesListParams) WithFacilityIe(facilityIe *string) *DcimSitesListParams { 991 o.SetFacilityIe(facilityIe) 992 return o 993 } 994 995 // SetFacilityIe adds the facilityIe to the dcim sites list params 996 func (o *DcimSitesListParams) SetFacilityIe(facilityIe *string) { 997 o.FacilityIe = facilityIe 998 } 999 1000 // WithFacilityIew adds the facilityIew to the dcim sites list params 1001 func (o *DcimSitesListParams) WithFacilityIew(facilityIew *string) *DcimSitesListParams { 1002 o.SetFacilityIew(facilityIew) 1003 return o 1004 } 1005 1006 // SetFacilityIew adds the facilityIew to the dcim sites list params 1007 func (o *DcimSitesListParams) SetFacilityIew(facilityIew *string) { 1008 o.FacilityIew = facilityIew 1009 } 1010 1011 // WithFacilityIsw adds the facilityIsw to the dcim sites list params 1012 func (o *DcimSitesListParams) WithFacilityIsw(facilityIsw *string) *DcimSitesListParams { 1013 o.SetFacilityIsw(facilityIsw) 1014 return o 1015 } 1016 1017 // SetFacilityIsw adds the facilityIsw to the dcim sites list params 1018 func (o *DcimSitesListParams) SetFacilityIsw(facilityIsw *string) { 1019 o.FacilityIsw = facilityIsw 1020 } 1021 1022 // WithFacilityn adds the facilityn to the dcim sites list params 1023 func (o *DcimSitesListParams) WithFacilityn(facilityn *string) *DcimSitesListParams { 1024 o.SetFacilityn(facilityn) 1025 return o 1026 } 1027 1028 // SetFacilityn adds the facilityN to the dcim sites list params 1029 func (o *DcimSitesListParams) SetFacilityn(facilityn *string) { 1030 o.Facilityn = facilityn 1031 } 1032 1033 // WithFacilityNic adds the facilityNic to the dcim sites list params 1034 func (o *DcimSitesListParams) WithFacilityNic(facilityNic *string) *DcimSitesListParams { 1035 o.SetFacilityNic(facilityNic) 1036 return o 1037 } 1038 1039 // SetFacilityNic adds the facilityNic to the dcim sites list params 1040 func (o *DcimSitesListParams) SetFacilityNic(facilityNic *string) { 1041 o.FacilityNic = facilityNic 1042 } 1043 1044 // WithFacilityNie adds the facilityNie to the dcim sites list params 1045 func (o *DcimSitesListParams) WithFacilityNie(facilityNie *string) *DcimSitesListParams { 1046 o.SetFacilityNie(facilityNie) 1047 return o 1048 } 1049 1050 // SetFacilityNie adds the facilityNie to the dcim sites list params 1051 func (o *DcimSitesListParams) SetFacilityNie(facilityNie *string) { 1052 o.FacilityNie = facilityNie 1053 } 1054 1055 // WithFacilityNiew adds the facilityNiew to the dcim sites list params 1056 func (o *DcimSitesListParams) WithFacilityNiew(facilityNiew *string) *DcimSitesListParams { 1057 o.SetFacilityNiew(facilityNiew) 1058 return o 1059 } 1060 1061 // SetFacilityNiew adds the facilityNiew to the dcim sites list params 1062 func (o *DcimSitesListParams) SetFacilityNiew(facilityNiew *string) { 1063 o.FacilityNiew = facilityNiew 1064 } 1065 1066 // WithFacilityNisw adds the facilityNisw to the dcim sites list params 1067 func (o *DcimSitesListParams) WithFacilityNisw(facilityNisw *string) *DcimSitesListParams { 1068 o.SetFacilityNisw(facilityNisw) 1069 return o 1070 } 1071 1072 // SetFacilityNisw adds the facilityNisw to the dcim sites list params 1073 func (o *DcimSitesListParams) SetFacilityNisw(facilityNisw *string) { 1074 o.FacilityNisw = facilityNisw 1075 } 1076 1077 // WithGroup adds the group to the dcim sites list params 1078 func (o *DcimSitesListParams) WithGroup(group *string) *DcimSitesListParams { 1079 o.SetGroup(group) 1080 return o 1081 } 1082 1083 // SetGroup adds the group to the dcim sites list params 1084 func (o *DcimSitesListParams) SetGroup(group *string) { 1085 o.Group = group 1086 } 1087 1088 // WithGroupn adds the groupn to the dcim sites list params 1089 func (o *DcimSitesListParams) WithGroupn(groupn *string) *DcimSitesListParams { 1090 o.SetGroupn(groupn) 1091 return o 1092 } 1093 1094 // SetGroupn adds the groupN to the dcim sites list params 1095 func (o *DcimSitesListParams) SetGroupn(groupn *string) { 1096 o.Groupn = groupn 1097 } 1098 1099 // WithGroupID adds the groupID to the dcim sites list params 1100 func (o *DcimSitesListParams) WithGroupID(groupID *string) *DcimSitesListParams { 1101 o.SetGroupID(groupID) 1102 return o 1103 } 1104 1105 // SetGroupID adds the groupId to the dcim sites list params 1106 func (o *DcimSitesListParams) SetGroupID(groupID *string) { 1107 o.GroupID = groupID 1108 } 1109 1110 // WithGroupIDn adds the groupIDn to the dcim sites list params 1111 func (o *DcimSitesListParams) WithGroupIDn(groupIDn *string) *DcimSitesListParams { 1112 o.SetGroupIDn(groupIDn) 1113 return o 1114 } 1115 1116 // SetGroupIDn adds the groupIdN to the dcim sites list params 1117 func (o *DcimSitesListParams) SetGroupIDn(groupIDn *string) { 1118 o.GroupIDn = groupIDn 1119 } 1120 1121 // WithID adds the id to the dcim sites list params 1122 func (o *DcimSitesListParams) WithID(id *string) *DcimSitesListParams { 1123 o.SetID(id) 1124 return o 1125 } 1126 1127 // SetID adds the id to the dcim sites list params 1128 func (o *DcimSitesListParams) SetID(id *string) { 1129 o.ID = id 1130 } 1131 1132 // WithIDGt adds the iDGt to the dcim sites list params 1133 func (o *DcimSitesListParams) WithIDGt(iDGt *string) *DcimSitesListParams { 1134 o.SetIDGt(iDGt) 1135 return o 1136 } 1137 1138 // SetIDGt adds the idGt to the dcim sites list params 1139 func (o *DcimSitesListParams) SetIDGt(iDGt *string) { 1140 o.IDGt = iDGt 1141 } 1142 1143 // WithIDGte adds the iDGte to the dcim sites list params 1144 func (o *DcimSitesListParams) WithIDGte(iDGte *string) *DcimSitesListParams { 1145 o.SetIDGte(iDGte) 1146 return o 1147 } 1148 1149 // SetIDGte adds the idGte to the dcim sites list params 1150 func (o *DcimSitesListParams) SetIDGte(iDGte *string) { 1151 o.IDGte = iDGte 1152 } 1153 1154 // WithIDLt adds the iDLt to the dcim sites list params 1155 func (o *DcimSitesListParams) WithIDLt(iDLt *string) *DcimSitesListParams { 1156 o.SetIDLt(iDLt) 1157 return o 1158 } 1159 1160 // SetIDLt adds the idLt to the dcim sites list params 1161 func (o *DcimSitesListParams) SetIDLt(iDLt *string) { 1162 o.IDLt = iDLt 1163 } 1164 1165 // WithIDLte adds the iDLte to the dcim sites list params 1166 func (o *DcimSitesListParams) WithIDLte(iDLte *string) *DcimSitesListParams { 1167 o.SetIDLte(iDLte) 1168 return o 1169 } 1170 1171 // SetIDLte adds the idLte to the dcim sites list params 1172 func (o *DcimSitesListParams) SetIDLte(iDLte *string) { 1173 o.IDLte = iDLte 1174 } 1175 1176 // WithIDn adds the iDn to the dcim sites list params 1177 func (o *DcimSitesListParams) WithIDn(iDn *string) *DcimSitesListParams { 1178 o.SetIDn(iDn) 1179 return o 1180 } 1181 1182 // SetIDn adds the idN to the dcim sites list params 1183 func (o *DcimSitesListParams) SetIDn(iDn *string) { 1184 o.IDn = iDn 1185 } 1186 1187 // WithLastUpdated adds the lastUpdated to the dcim sites list params 1188 func (o *DcimSitesListParams) WithLastUpdated(lastUpdated *string) *DcimSitesListParams { 1189 o.SetLastUpdated(lastUpdated) 1190 return o 1191 } 1192 1193 // SetLastUpdated adds the lastUpdated to the dcim sites list params 1194 func (o *DcimSitesListParams) SetLastUpdated(lastUpdated *string) { 1195 o.LastUpdated = lastUpdated 1196 } 1197 1198 // WithLastUpdatedGte adds the lastUpdatedGte to the dcim sites list params 1199 func (o *DcimSitesListParams) WithLastUpdatedGte(lastUpdatedGte *string) *DcimSitesListParams { 1200 o.SetLastUpdatedGte(lastUpdatedGte) 1201 return o 1202 } 1203 1204 // SetLastUpdatedGte adds the lastUpdatedGte to the dcim sites list params 1205 func (o *DcimSitesListParams) SetLastUpdatedGte(lastUpdatedGte *string) { 1206 o.LastUpdatedGte = lastUpdatedGte 1207 } 1208 1209 // WithLastUpdatedLte adds the lastUpdatedLte to the dcim sites list params 1210 func (o *DcimSitesListParams) WithLastUpdatedLte(lastUpdatedLte *string) *DcimSitesListParams { 1211 o.SetLastUpdatedLte(lastUpdatedLte) 1212 return o 1213 } 1214 1215 // SetLastUpdatedLte adds the lastUpdatedLte to the dcim sites list params 1216 func (o *DcimSitesListParams) SetLastUpdatedLte(lastUpdatedLte *string) { 1217 o.LastUpdatedLte = lastUpdatedLte 1218 } 1219 1220 // WithLatitude adds the latitude to the dcim sites list params 1221 func (o *DcimSitesListParams) WithLatitude(latitude *string) *DcimSitesListParams { 1222 o.SetLatitude(latitude) 1223 return o 1224 } 1225 1226 // SetLatitude adds the latitude to the dcim sites list params 1227 func (o *DcimSitesListParams) SetLatitude(latitude *string) { 1228 o.Latitude = latitude 1229 } 1230 1231 // WithLatitudeGt adds the latitudeGt to the dcim sites list params 1232 func (o *DcimSitesListParams) WithLatitudeGt(latitudeGt *string) *DcimSitesListParams { 1233 o.SetLatitudeGt(latitudeGt) 1234 return o 1235 } 1236 1237 // SetLatitudeGt adds the latitudeGt to the dcim sites list params 1238 func (o *DcimSitesListParams) SetLatitudeGt(latitudeGt *string) { 1239 o.LatitudeGt = latitudeGt 1240 } 1241 1242 // WithLatitudeGte adds the latitudeGte to the dcim sites list params 1243 func (o *DcimSitesListParams) WithLatitudeGte(latitudeGte *string) *DcimSitesListParams { 1244 o.SetLatitudeGte(latitudeGte) 1245 return o 1246 } 1247 1248 // SetLatitudeGte adds the latitudeGte to the dcim sites list params 1249 func (o *DcimSitesListParams) SetLatitudeGte(latitudeGte *string) { 1250 o.LatitudeGte = latitudeGte 1251 } 1252 1253 // WithLatitudeLt adds the latitudeLt to the dcim sites list params 1254 func (o *DcimSitesListParams) WithLatitudeLt(latitudeLt *string) *DcimSitesListParams { 1255 o.SetLatitudeLt(latitudeLt) 1256 return o 1257 } 1258 1259 // SetLatitudeLt adds the latitudeLt to the dcim sites list params 1260 func (o *DcimSitesListParams) SetLatitudeLt(latitudeLt *string) { 1261 o.LatitudeLt = latitudeLt 1262 } 1263 1264 // WithLatitudeLte adds the latitudeLte to the dcim sites list params 1265 func (o *DcimSitesListParams) WithLatitudeLte(latitudeLte *string) *DcimSitesListParams { 1266 o.SetLatitudeLte(latitudeLte) 1267 return o 1268 } 1269 1270 // SetLatitudeLte adds the latitudeLte to the dcim sites list params 1271 func (o *DcimSitesListParams) SetLatitudeLte(latitudeLte *string) { 1272 o.LatitudeLte = latitudeLte 1273 } 1274 1275 // WithLatituden adds the latituden to the dcim sites list params 1276 func (o *DcimSitesListParams) WithLatituden(latituden *string) *DcimSitesListParams { 1277 o.SetLatituden(latituden) 1278 return o 1279 } 1280 1281 // SetLatituden adds the latitudeN to the dcim sites list params 1282 func (o *DcimSitesListParams) SetLatituden(latituden *string) { 1283 o.Latituden = latituden 1284 } 1285 1286 // WithLimit adds the limit to the dcim sites list params 1287 func (o *DcimSitesListParams) WithLimit(limit *int64) *DcimSitesListParams { 1288 o.SetLimit(limit) 1289 return o 1290 } 1291 1292 // SetLimit adds the limit to the dcim sites list params 1293 func (o *DcimSitesListParams) SetLimit(limit *int64) { 1294 o.Limit = limit 1295 } 1296 1297 // WithLongitude adds the longitude to the dcim sites list params 1298 func (o *DcimSitesListParams) WithLongitude(longitude *string) *DcimSitesListParams { 1299 o.SetLongitude(longitude) 1300 return o 1301 } 1302 1303 // SetLongitude adds the longitude to the dcim sites list params 1304 func (o *DcimSitesListParams) SetLongitude(longitude *string) { 1305 o.Longitude = longitude 1306 } 1307 1308 // WithLongitudeGt adds the longitudeGt to the dcim sites list params 1309 func (o *DcimSitesListParams) WithLongitudeGt(longitudeGt *string) *DcimSitesListParams { 1310 o.SetLongitudeGt(longitudeGt) 1311 return o 1312 } 1313 1314 // SetLongitudeGt adds the longitudeGt to the dcim sites list params 1315 func (o *DcimSitesListParams) SetLongitudeGt(longitudeGt *string) { 1316 o.LongitudeGt = longitudeGt 1317 } 1318 1319 // WithLongitudeGte adds the longitudeGte to the dcim sites list params 1320 func (o *DcimSitesListParams) WithLongitudeGte(longitudeGte *string) *DcimSitesListParams { 1321 o.SetLongitudeGte(longitudeGte) 1322 return o 1323 } 1324 1325 // SetLongitudeGte adds the longitudeGte to the dcim sites list params 1326 func (o *DcimSitesListParams) SetLongitudeGte(longitudeGte *string) { 1327 o.LongitudeGte = longitudeGte 1328 } 1329 1330 // WithLongitudeLt adds the longitudeLt to the dcim sites list params 1331 func (o *DcimSitesListParams) WithLongitudeLt(longitudeLt *string) *DcimSitesListParams { 1332 o.SetLongitudeLt(longitudeLt) 1333 return o 1334 } 1335 1336 // SetLongitudeLt adds the longitudeLt to the dcim sites list params 1337 func (o *DcimSitesListParams) SetLongitudeLt(longitudeLt *string) { 1338 o.LongitudeLt = longitudeLt 1339 } 1340 1341 // WithLongitudeLte adds the longitudeLte to the dcim sites list params 1342 func (o *DcimSitesListParams) WithLongitudeLte(longitudeLte *string) *DcimSitesListParams { 1343 o.SetLongitudeLte(longitudeLte) 1344 return o 1345 } 1346 1347 // SetLongitudeLte adds the longitudeLte to the dcim sites list params 1348 func (o *DcimSitesListParams) SetLongitudeLte(longitudeLte *string) { 1349 o.LongitudeLte = longitudeLte 1350 } 1351 1352 // WithLongituden adds the longituden to the dcim sites list params 1353 func (o *DcimSitesListParams) WithLongituden(longituden *string) *DcimSitesListParams { 1354 o.SetLongituden(longituden) 1355 return o 1356 } 1357 1358 // SetLongituden adds the longitudeN to the dcim sites list params 1359 func (o *DcimSitesListParams) SetLongituden(longituden *string) { 1360 o.Longituden = longituden 1361 } 1362 1363 // WithName adds the name to the dcim sites list params 1364 func (o *DcimSitesListParams) WithName(name *string) *DcimSitesListParams { 1365 o.SetName(name) 1366 return o 1367 } 1368 1369 // SetName adds the name to the dcim sites list params 1370 func (o *DcimSitesListParams) SetName(name *string) { 1371 o.Name = name 1372 } 1373 1374 // WithNameEmpty adds the nameEmpty to the dcim sites list params 1375 func (o *DcimSitesListParams) WithNameEmpty(nameEmpty *string) *DcimSitesListParams { 1376 o.SetNameEmpty(nameEmpty) 1377 return o 1378 } 1379 1380 // SetNameEmpty adds the nameEmpty to the dcim sites list params 1381 func (o *DcimSitesListParams) SetNameEmpty(nameEmpty *string) { 1382 o.NameEmpty = nameEmpty 1383 } 1384 1385 // WithNameIc adds the nameIc to the dcim sites list params 1386 func (o *DcimSitesListParams) WithNameIc(nameIc *string) *DcimSitesListParams { 1387 o.SetNameIc(nameIc) 1388 return o 1389 } 1390 1391 // SetNameIc adds the nameIc to the dcim sites list params 1392 func (o *DcimSitesListParams) SetNameIc(nameIc *string) { 1393 o.NameIc = nameIc 1394 } 1395 1396 // WithNameIe adds the nameIe to the dcim sites list params 1397 func (o *DcimSitesListParams) WithNameIe(nameIe *string) *DcimSitesListParams { 1398 o.SetNameIe(nameIe) 1399 return o 1400 } 1401 1402 // SetNameIe adds the nameIe to the dcim sites list params 1403 func (o *DcimSitesListParams) SetNameIe(nameIe *string) { 1404 o.NameIe = nameIe 1405 } 1406 1407 // WithNameIew adds the nameIew to the dcim sites list params 1408 func (o *DcimSitesListParams) WithNameIew(nameIew *string) *DcimSitesListParams { 1409 o.SetNameIew(nameIew) 1410 return o 1411 } 1412 1413 // SetNameIew adds the nameIew to the dcim sites list params 1414 func (o *DcimSitesListParams) SetNameIew(nameIew *string) { 1415 o.NameIew = nameIew 1416 } 1417 1418 // WithNameIsw adds the nameIsw to the dcim sites list params 1419 func (o *DcimSitesListParams) WithNameIsw(nameIsw *string) *DcimSitesListParams { 1420 o.SetNameIsw(nameIsw) 1421 return o 1422 } 1423 1424 // SetNameIsw adds the nameIsw to the dcim sites list params 1425 func (o *DcimSitesListParams) SetNameIsw(nameIsw *string) { 1426 o.NameIsw = nameIsw 1427 } 1428 1429 // WithNamen adds the namen to the dcim sites list params 1430 func (o *DcimSitesListParams) WithNamen(namen *string) *DcimSitesListParams { 1431 o.SetNamen(namen) 1432 return o 1433 } 1434 1435 // SetNamen adds the nameN to the dcim sites list params 1436 func (o *DcimSitesListParams) SetNamen(namen *string) { 1437 o.Namen = namen 1438 } 1439 1440 // WithNameNic adds the nameNic to the dcim sites list params 1441 func (o *DcimSitesListParams) WithNameNic(nameNic *string) *DcimSitesListParams { 1442 o.SetNameNic(nameNic) 1443 return o 1444 } 1445 1446 // SetNameNic adds the nameNic to the dcim sites list params 1447 func (o *DcimSitesListParams) SetNameNic(nameNic *string) { 1448 o.NameNic = nameNic 1449 } 1450 1451 // WithNameNie adds the nameNie to the dcim sites list params 1452 func (o *DcimSitesListParams) WithNameNie(nameNie *string) *DcimSitesListParams { 1453 o.SetNameNie(nameNie) 1454 return o 1455 } 1456 1457 // SetNameNie adds the nameNie to the dcim sites list params 1458 func (o *DcimSitesListParams) SetNameNie(nameNie *string) { 1459 o.NameNie = nameNie 1460 } 1461 1462 // WithNameNiew adds the nameNiew to the dcim sites list params 1463 func (o *DcimSitesListParams) WithNameNiew(nameNiew *string) *DcimSitesListParams { 1464 o.SetNameNiew(nameNiew) 1465 return o 1466 } 1467 1468 // SetNameNiew adds the nameNiew to the dcim sites list params 1469 func (o *DcimSitesListParams) SetNameNiew(nameNiew *string) { 1470 o.NameNiew = nameNiew 1471 } 1472 1473 // WithNameNisw adds the nameNisw to the dcim sites list params 1474 func (o *DcimSitesListParams) WithNameNisw(nameNisw *string) *DcimSitesListParams { 1475 o.SetNameNisw(nameNisw) 1476 return o 1477 } 1478 1479 // SetNameNisw adds the nameNisw to the dcim sites list params 1480 func (o *DcimSitesListParams) SetNameNisw(nameNisw *string) { 1481 o.NameNisw = nameNisw 1482 } 1483 1484 // WithOffset adds the offset to the dcim sites list params 1485 func (o *DcimSitesListParams) WithOffset(offset *int64) *DcimSitesListParams { 1486 o.SetOffset(offset) 1487 return o 1488 } 1489 1490 // SetOffset adds the offset to the dcim sites list params 1491 func (o *DcimSitesListParams) SetOffset(offset *int64) { 1492 o.Offset = offset 1493 } 1494 1495 // WithQ adds the q to the dcim sites list params 1496 func (o *DcimSitesListParams) WithQ(q *string) *DcimSitesListParams { 1497 o.SetQ(q) 1498 return o 1499 } 1500 1501 // SetQ adds the q to the dcim sites list params 1502 func (o *DcimSitesListParams) SetQ(q *string) { 1503 o.Q = q 1504 } 1505 1506 // WithRegion adds the region to the dcim sites list params 1507 func (o *DcimSitesListParams) WithRegion(region *string) *DcimSitesListParams { 1508 o.SetRegion(region) 1509 return o 1510 } 1511 1512 // SetRegion adds the region to the dcim sites list params 1513 func (o *DcimSitesListParams) SetRegion(region *string) { 1514 o.Region = region 1515 } 1516 1517 // WithRegionn adds the regionn to the dcim sites list params 1518 func (o *DcimSitesListParams) WithRegionn(regionn *string) *DcimSitesListParams { 1519 o.SetRegionn(regionn) 1520 return o 1521 } 1522 1523 // SetRegionn adds the regionN to the dcim sites list params 1524 func (o *DcimSitesListParams) SetRegionn(regionn *string) { 1525 o.Regionn = regionn 1526 } 1527 1528 // WithRegionID adds the regionID to the dcim sites list params 1529 func (o *DcimSitesListParams) WithRegionID(regionID *string) *DcimSitesListParams { 1530 o.SetRegionID(regionID) 1531 return o 1532 } 1533 1534 // SetRegionID adds the regionId to the dcim sites list params 1535 func (o *DcimSitesListParams) SetRegionID(regionID *string) { 1536 o.RegionID = regionID 1537 } 1538 1539 // WithRegionIDn adds the regionIDn to the dcim sites list params 1540 func (o *DcimSitesListParams) WithRegionIDn(regionIDn *string) *DcimSitesListParams { 1541 o.SetRegionIDn(regionIDn) 1542 return o 1543 } 1544 1545 // SetRegionIDn adds the regionIdN to the dcim sites list params 1546 func (o *DcimSitesListParams) SetRegionIDn(regionIDn *string) { 1547 o.RegionIDn = regionIDn 1548 } 1549 1550 // WithSlug adds the slug to the dcim sites list params 1551 func (o *DcimSitesListParams) WithSlug(slug *string) *DcimSitesListParams { 1552 o.SetSlug(slug) 1553 return o 1554 } 1555 1556 // SetSlug adds the slug to the dcim sites list params 1557 func (o *DcimSitesListParams) SetSlug(slug *string) { 1558 o.Slug = slug 1559 } 1560 1561 // WithSlugEmpty adds the slugEmpty to the dcim sites list params 1562 func (o *DcimSitesListParams) WithSlugEmpty(slugEmpty *string) *DcimSitesListParams { 1563 o.SetSlugEmpty(slugEmpty) 1564 return o 1565 } 1566 1567 // SetSlugEmpty adds the slugEmpty to the dcim sites list params 1568 func (o *DcimSitesListParams) SetSlugEmpty(slugEmpty *string) { 1569 o.SlugEmpty = slugEmpty 1570 } 1571 1572 // WithSlugIc adds the slugIc to the dcim sites list params 1573 func (o *DcimSitesListParams) WithSlugIc(slugIc *string) *DcimSitesListParams { 1574 o.SetSlugIc(slugIc) 1575 return o 1576 } 1577 1578 // SetSlugIc adds the slugIc to the dcim sites list params 1579 func (o *DcimSitesListParams) SetSlugIc(slugIc *string) { 1580 o.SlugIc = slugIc 1581 } 1582 1583 // WithSlugIe adds the slugIe to the dcim sites list params 1584 func (o *DcimSitesListParams) WithSlugIe(slugIe *string) *DcimSitesListParams { 1585 o.SetSlugIe(slugIe) 1586 return o 1587 } 1588 1589 // SetSlugIe adds the slugIe to the dcim sites list params 1590 func (o *DcimSitesListParams) SetSlugIe(slugIe *string) { 1591 o.SlugIe = slugIe 1592 } 1593 1594 // WithSlugIew adds the slugIew to the dcim sites list params 1595 func (o *DcimSitesListParams) WithSlugIew(slugIew *string) *DcimSitesListParams { 1596 o.SetSlugIew(slugIew) 1597 return o 1598 } 1599 1600 // SetSlugIew adds the slugIew to the dcim sites list params 1601 func (o *DcimSitesListParams) SetSlugIew(slugIew *string) { 1602 o.SlugIew = slugIew 1603 } 1604 1605 // WithSlugIsw adds the slugIsw to the dcim sites list params 1606 func (o *DcimSitesListParams) WithSlugIsw(slugIsw *string) *DcimSitesListParams { 1607 o.SetSlugIsw(slugIsw) 1608 return o 1609 } 1610 1611 // SetSlugIsw adds the slugIsw to the dcim sites list params 1612 func (o *DcimSitesListParams) SetSlugIsw(slugIsw *string) { 1613 o.SlugIsw = slugIsw 1614 } 1615 1616 // WithSlugn adds the slugn to the dcim sites list params 1617 func (o *DcimSitesListParams) WithSlugn(slugn *string) *DcimSitesListParams { 1618 o.SetSlugn(slugn) 1619 return o 1620 } 1621 1622 // SetSlugn adds the slugN to the dcim sites list params 1623 func (o *DcimSitesListParams) SetSlugn(slugn *string) { 1624 o.Slugn = slugn 1625 } 1626 1627 // WithSlugNic adds the slugNic to the dcim sites list params 1628 func (o *DcimSitesListParams) WithSlugNic(slugNic *string) *DcimSitesListParams { 1629 o.SetSlugNic(slugNic) 1630 return o 1631 } 1632 1633 // SetSlugNic adds the slugNic to the dcim sites list params 1634 func (o *DcimSitesListParams) SetSlugNic(slugNic *string) { 1635 o.SlugNic = slugNic 1636 } 1637 1638 // WithSlugNie adds the slugNie to the dcim sites list params 1639 func (o *DcimSitesListParams) WithSlugNie(slugNie *string) *DcimSitesListParams { 1640 o.SetSlugNie(slugNie) 1641 return o 1642 } 1643 1644 // SetSlugNie adds the slugNie to the dcim sites list params 1645 func (o *DcimSitesListParams) SetSlugNie(slugNie *string) { 1646 o.SlugNie = slugNie 1647 } 1648 1649 // WithSlugNiew adds the slugNiew to the dcim sites list params 1650 func (o *DcimSitesListParams) WithSlugNiew(slugNiew *string) *DcimSitesListParams { 1651 o.SetSlugNiew(slugNiew) 1652 return o 1653 } 1654 1655 // SetSlugNiew adds the slugNiew to the dcim sites list params 1656 func (o *DcimSitesListParams) SetSlugNiew(slugNiew *string) { 1657 o.SlugNiew = slugNiew 1658 } 1659 1660 // WithSlugNisw adds the slugNisw to the dcim sites list params 1661 func (o *DcimSitesListParams) WithSlugNisw(slugNisw *string) *DcimSitesListParams { 1662 o.SetSlugNisw(slugNisw) 1663 return o 1664 } 1665 1666 // SetSlugNisw adds the slugNisw to the dcim sites list params 1667 func (o *DcimSitesListParams) SetSlugNisw(slugNisw *string) { 1668 o.SlugNisw = slugNisw 1669 } 1670 1671 // WithStatus adds the status to the dcim sites list params 1672 func (o *DcimSitesListParams) WithStatus(status *string) *DcimSitesListParams { 1673 o.SetStatus(status) 1674 return o 1675 } 1676 1677 // SetStatus adds the status to the dcim sites list params 1678 func (o *DcimSitesListParams) SetStatus(status *string) { 1679 o.Status = status 1680 } 1681 1682 // WithStatusn adds the statusn to the dcim sites list params 1683 func (o *DcimSitesListParams) WithStatusn(statusn *string) *DcimSitesListParams { 1684 o.SetStatusn(statusn) 1685 return o 1686 } 1687 1688 // SetStatusn adds the statusN to the dcim sites list params 1689 func (o *DcimSitesListParams) SetStatusn(statusn *string) { 1690 o.Statusn = statusn 1691 } 1692 1693 // WithTag adds the tag to the dcim sites list params 1694 func (o *DcimSitesListParams) WithTag(tag *string) *DcimSitesListParams { 1695 o.SetTag(tag) 1696 return o 1697 } 1698 1699 // SetTag adds the tag to the dcim sites list params 1700 func (o *DcimSitesListParams) SetTag(tag *string) { 1701 o.Tag = tag 1702 } 1703 1704 // WithTagn adds the tagn to the dcim sites list params 1705 func (o *DcimSitesListParams) WithTagn(tagn *string) *DcimSitesListParams { 1706 o.SetTagn(tagn) 1707 return o 1708 } 1709 1710 // SetTagn adds the tagN to the dcim sites list params 1711 func (o *DcimSitesListParams) SetTagn(tagn *string) { 1712 o.Tagn = tagn 1713 } 1714 1715 // WithTenant adds the tenant to the dcim sites list params 1716 func (o *DcimSitesListParams) WithTenant(tenant *string) *DcimSitesListParams { 1717 o.SetTenant(tenant) 1718 return o 1719 } 1720 1721 // SetTenant adds the tenant to the dcim sites list params 1722 func (o *DcimSitesListParams) SetTenant(tenant *string) { 1723 o.Tenant = tenant 1724 } 1725 1726 // WithTenantn adds the tenantn to the dcim sites list params 1727 func (o *DcimSitesListParams) WithTenantn(tenantn *string) *DcimSitesListParams { 1728 o.SetTenantn(tenantn) 1729 return o 1730 } 1731 1732 // SetTenantn adds the tenantN to the dcim sites list params 1733 func (o *DcimSitesListParams) SetTenantn(tenantn *string) { 1734 o.Tenantn = tenantn 1735 } 1736 1737 // WithTenantGroup adds the tenantGroup to the dcim sites list params 1738 func (o *DcimSitesListParams) WithTenantGroup(tenantGroup *string) *DcimSitesListParams { 1739 o.SetTenantGroup(tenantGroup) 1740 return o 1741 } 1742 1743 // SetTenantGroup adds the tenantGroup to the dcim sites list params 1744 func (o *DcimSitesListParams) SetTenantGroup(tenantGroup *string) { 1745 o.TenantGroup = tenantGroup 1746 } 1747 1748 // WithTenantGroupn adds the tenantGroupn to the dcim sites list params 1749 func (o *DcimSitesListParams) WithTenantGroupn(tenantGroupn *string) *DcimSitesListParams { 1750 o.SetTenantGroupn(tenantGroupn) 1751 return o 1752 } 1753 1754 // SetTenantGroupn adds the tenantGroupN to the dcim sites list params 1755 func (o *DcimSitesListParams) SetTenantGroupn(tenantGroupn *string) { 1756 o.TenantGroupn = tenantGroupn 1757 } 1758 1759 // WithTenantGroupID adds the tenantGroupID to the dcim sites list params 1760 func (o *DcimSitesListParams) WithTenantGroupID(tenantGroupID *string) *DcimSitesListParams { 1761 o.SetTenantGroupID(tenantGroupID) 1762 return o 1763 } 1764 1765 // SetTenantGroupID adds the tenantGroupId to the dcim sites list params 1766 func (o *DcimSitesListParams) SetTenantGroupID(tenantGroupID *string) { 1767 o.TenantGroupID = tenantGroupID 1768 } 1769 1770 // WithTenantGroupIDn adds the tenantGroupIDn to the dcim sites list params 1771 func (o *DcimSitesListParams) WithTenantGroupIDn(tenantGroupIDn *string) *DcimSitesListParams { 1772 o.SetTenantGroupIDn(tenantGroupIDn) 1773 return o 1774 } 1775 1776 // SetTenantGroupIDn adds the tenantGroupIdN to the dcim sites list params 1777 func (o *DcimSitesListParams) SetTenantGroupIDn(tenantGroupIDn *string) { 1778 o.TenantGroupIDn = tenantGroupIDn 1779 } 1780 1781 // WithTenantID adds the tenantID to the dcim sites list params 1782 func (o *DcimSitesListParams) WithTenantID(tenantID *string) *DcimSitesListParams { 1783 o.SetTenantID(tenantID) 1784 return o 1785 } 1786 1787 // SetTenantID adds the tenantId to the dcim sites list params 1788 func (o *DcimSitesListParams) SetTenantID(tenantID *string) { 1789 o.TenantID = tenantID 1790 } 1791 1792 // WithTenantIDn adds the tenantIDn to the dcim sites list params 1793 func (o *DcimSitesListParams) WithTenantIDn(tenantIDn *string) *DcimSitesListParams { 1794 o.SetTenantIDn(tenantIDn) 1795 return o 1796 } 1797 1798 // SetTenantIDn adds the tenantIdN to the dcim sites list params 1799 func (o *DcimSitesListParams) SetTenantIDn(tenantIDn *string) { 1800 o.TenantIDn = tenantIDn 1801 } 1802 1803 // WriteToRequest writes these params to a swagger request 1804 func (o *DcimSitesListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { 1805 1806 if err := r.SetTimeout(o.timeout); err != nil { 1807 return err 1808 } 1809 var res []error 1810 1811 if o.Asn != nil { 1812 1813 // query param asn 1814 var qrAsn string 1815 1816 if o.Asn != nil { 1817 qrAsn = *o.Asn 1818 } 1819 qAsn := qrAsn 1820 if qAsn != "" { 1821 1822 if err := r.SetQueryParam("asn", qAsn); err != nil { 1823 return err 1824 } 1825 } 1826 } 1827 1828 if o.AsnGt != nil { 1829 1830 // query param asn__gt 1831 var qrAsnGt string 1832 1833 if o.AsnGt != nil { 1834 qrAsnGt = *o.AsnGt 1835 } 1836 qAsnGt := qrAsnGt 1837 if qAsnGt != "" { 1838 1839 if err := r.SetQueryParam("asn__gt", qAsnGt); err != nil { 1840 return err 1841 } 1842 } 1843 } 1844 1845 if o.AsnGte != nil { 1846 1847 // query param asn__gte 1848 var qrAsnGte string 1849 1850 if o.AsnGte != nil { 1851 qrAsnGte = *o.AsnGte 1852 } 1853 qAsnGte := qrAsnGte 1854 if qAsnGte != "" { 1855 1856 if err := r.SetQueryParam("asn__gte", qAsnGte); err != nil { 1857 return err 1858 } 1859 } 1860 } 1861 1862 if o.AsnLt != nil { 1863 1864 // query param asn__lt 1865 var qrAsnLt string 1866 1867 if o.AsnLt != nil { 1868 qrAsnLt = *o.AsnLt 1869 } 1870 qAsnLt := qrAsnLt 1871 if qAsnLt != "" { 1872 1873 if err := r.SetQueryParam("asn__lt", qAsnLt); err != nil { 1874 return err 1875 } 1876 } 1877 } 1878 1879 if o.AsnLte != nil { 1880 1881 // query param asn__lte 1882 var qrAsnLte string 1883 1884 if o.AsnLte != nil { 1885 qrAsnLte = *o.AsnLte 1886 } 1887 qAsnLte := qrAsnLte 1888 if qAsnLte != "" { 1889 1890 if err := r.SetQueryParam("asn__lte", qAsnLte); err != nil { 1891 return err 1892 } 1893 } 1894 } 1895 1896 if o.Asnn != nil { 1897 1898 // query param asn__n 1899 var qrAsnn string 1900 1901 if o.Asnn != nil { 1902 qrAsnn = *o.Asnn 1903 } 1904 qAsnn := qrAsnn 1905 if qAsnn != "" { 1906 1907 if err := r.SetQueryParam("asn__n", qAsnn); err != nil { 1908 return err 1909 } 1910 } 1911 } 1912 1913 if o.ContactEmail != nil { 1914 1915 // query param contact_email 1916 var qrContactEmail string 1917 1918 if o.ContactEmail != nil { 1919 qrContactEmail = *o.ContactEmail 1920 } 1921 qContactEmail := qrContactEmail 1922 if qContactEmail != "" { 1923 1924 if err := r.SetQueryParam("contact_email", qContactEmail); err != nil { 1925 return err 1926 } 1927 } 1928 } 1929 1930 if o.ContactEmailEmpty != nil { 1931 1932 // query param contact_email__empty 1933 var qrContactEmailEmpty string 1934 1935 if o.ContactEmailEmpty != nil { 1936 qrContactEmailEmpty = *o.ContactEmailEmpty 1937 } 1938 qContactEmailEmpty := qrContactEmailEmpty 1939 if qContactEmailEmpty != "" { 1940 1941 if err := r.SetQueryParam("contact_email__empty", qContactEmailEmpty); err != nil { 1942 return err 1943 } 1944 } 1945 } 1946 1947 if o.ContactEmailIc != nil { 1948 1949 // query param contact_email__ic 1950 var qrContactEmailIc string 1951 1952 if o.ContactEmailIc != nil { 1953 qrContactEmailIc = *o.ContactEmailIc 1954 } 1955 qContactEmailIc := qrContactEmailIc 1956 if qContactEmailIc != "" { 1957 1958 if err := r.SetQueryParam("contact_email__ic", qContactEmailIc); err != nil { 1959 return err 1960 } 1961 } 1962 } 1963 1964 if o.ContactEmailIe != nil { 1965 1966 // query param contact_email__ie 1967 var qrContactEmailIe string 1968 1969 if o.ContactEmailIe != nil { 1970 qrContactEmailIe = *o.ContactEmailIe 1971 } 1972 qContactEmailIe := qrContactEmailIe 1973 if qContactEmailIe != "" { 1974 1975 if err := r.SetQueryParam("contact_email__ie", qContactEmailIe); err != nil { 1976 return err 1977 } 1978 } 1979 } 1980 1981 if o.ContactEmailIew != nil { 1982 1983 // query param contact_email__iew 1984 var qrContactEmailIew string 1985 1986 if o.ContactEmailIew != nil { 1987 qrContactEmailIew = *o.ContactEmailIew 1988 } 1989 qContactEmailIew := qrContactEmailIew 1990 if qContactEmailIew != "" { 1991 1992 if err := r.SetQueryParam("contact_email__iew", qContactEmailIew); err != nil { 1993 return err 1994 } 1995 } 1996 } 1997 1998 if o.ContactEmailIsw != nil { 1999 2000 // query param contact_email__isw 2001 var qrContactEmailIsw string 2002 2003 if o.ContactEmailIsw != nil { 2004 qrContactEmailIsw = *o.ContactEmailIsw 2005 } 2006 qContactEmailIsw := qrContactEmailIsw 2007 if qContactEmailIsw != "" { 2008 2009 if err := r.SetQueryParam("contact_email__isw", qContactEmailIsw); err != nil { 2010 return err 2011 } 2012 } 2013 } 2014 2015 if o.ContactEmailn != nil { 2016 2017 // query param contact_email__n 2018 var qrContactEmailn string 2019 2020 if o.ContactEmailn != nil { 2021 qrContactEmailn = *o.ContactEmailn 2022 } 2023 qContactEmailn := qrContactEmailn 2024 if qContactEmailn != "" { 2025 2026 if err := r.SetQueryParam("contact_email__n", qContactEmailn); err != nil { 2027 return err 2028 } 2029 } 2030 } 2031 2032 if o.ContactEmailNic != nil { 2033 2034 // query param contact_email__nic 2035 var qrContactEmailNic string 2036 2037 if o.ContactEmailNic != nil { 2038 qrContactEmailNic = *o.ContactEmailNic 2039 } 2040 qContactEmailNic := qrContactEmailNic 2041 if qContactEmailNic != "" { 2042 2043 if err := r.SetQueryParam("contact_email__nic", qContactEmailNic); err != nil { 2044 return err 2045 } 2046 } 2047 } 2048 2049 if o.ContactEmailNie != nil { 2050 2051 // query param contact_email__nie 2052 var qrContactEmailNie string 2053 2054 if o.ContactEmailNie != nil { 2055 qrContactEmailNie = *o.ContactEmailNie 2056 } 2057 qContactEmailNie := qrContactEmailNie 2058 if qContactEmailNie != "" { 2059 2060 if err := r.SetQueryParam("contact_email__nie", qContactEmailNie); err != nil { 2061 return err 2062 } 2063 } 2064 } 2065 2066 if o.ContactEmailNiew != nil { 2067 2068 // query param contact_email__niew 2069 var qrContactEmailNiew string 2070 2071 if o.ContactEmailNiew != nil { 2072 qrContactEmailNiew = *o.ContactEmailNiew 2073 } 2074 qContactEmailNiew := qrContactEmailNiew 2075 if qContactEmailNiew != "" { 2076 2077 if err := r.SetQueryParam("contact_email__niew", qContactEmailNiew); err != nil { 2078 return err 2079 } 2080 } 2081 } 2082 2083 if o.ContactEmailNisw != nil { 2084 2085 // query param contact_email__nisw 2086 var qrContactEmailNisw string 2087 2088 if o.ContactEmailNisw != nil { 2089 qrContactEmailNisw = *o.ContactEmailNisw 2090 } 2091 qContactEmailNisw := qrContactEmailNisw 2092 if qContactEmailNisw != "" { 2093 2094 if err := r.SetQueryParam("contact_email__nisw", qContactEmailNisw); err != nil { 2095 return err 2096 } 2097 } 2098 } 2099 2100 if o.ContactName != nil { 2101 2102 // query param contact_name 2103 var qrContactName string 2104 2105 if o.ContactName != nil { 2106 qrContactName = *o.ContactName 2107 } 2108 qContactName := qrContactName 2109 if qContactName != "" { 2110 2111 if err := r.SetQueryParam("contact_name", qContactName); err != nil { 2112 return err 2113 } 2114 } 2115 } 2116 2117 if o.ContactNameEmpty != nil { 2118 2119 // query param contact_name__empty 2120 var qrContactNameEmpty string 2121 2122 if o.ContactNameEmpty != nil { 2123 qrContactNameEmpty = *o.ContactNameEmpty 2124 } 2125 qContactNameEmpty := qrContactNameEmpty 2126 if qContactNameEmpty != "" { 2127 2128 if err := r.SetQueryParam("contact_name__empty", qContactNameEmpty); err != nil { 2129 return err 2130 } 2131 } 2132 } 2133 2134 if o.ContactNameIc != nil { 2135 2136 // query param contact_name__ic 2137 var qrContactNameIc string 2138 2139 if o.ContactNameIc != nil { 2140 qrContactNameIc = *o.ContactNameIc 2141 } 2142 qContactNameIc := qrContactNameIc 2143 if qContactNameIc != "" { 2144 2145 if err := r.SetQueryParam("contact_name__ic", qContactNameIc); err != nil { 2146 return err 2147 } 2148 } 2149 } 2150 2151 if o.ContactNameIe != nil { 2152 2153 // query param contact_name__ie 2154 var qrContactNameIe string 2155 2156 if o.ContactNameIe != nil { 2157 qrContactNameIe = *o.ContactNameIe 2158 } 2159 qContactNameIe := qrContactNameIe 2160 if qContactNameIe != "" { 2161 2162 if err := r.SetQueryParam("contact_name__ie", qContactNameIe); err != nil { 2163 return err 2164 } 2165 } 2166 } 2167 2168 if o.ContactNameIew != nil { 2169 2170 // query param contact_name__iew 2171 var qrContactNameIew string 2172 2173 if o.ContactNameIew != nil { 2174 qrContactNameIew = *o.ContactNameIew 2175 } 2176 qContactNameIew := qrContactNameIew 2177 if qContactNameIew != "" { 2178 2179 if err := r.SetQueryParam("contact_name__iew", qContactNameIew); err != nil { 2180 return err 2181 } 2182 } 2183 } 2184 2185 if o.ContactNameIsw != nil { 2186 2187 // query param contact_name__isw 2188 var qrContactNameIsw string 2189 2190 if o.ContactNameIsw != nil { 2191 qrContactNameIsw = *o.ContactNameIsw 2192 } 2193 qContactNameIsw := qrContactNameIsw 2194 if qContactNameIsw != "" { 2195 2196 if err := r.SetQueryParam("contact_name__isw", qContactNameIsw); err != nil { 2197 return err 2198 } 2199 } 2200 } 2201 2202 if o.ContactNamen != nil { 2203 2204 // query param contact_name__n 2205 var qrContactNamen string 2206 2207 if o.ContactNamen != nil { 2208 qrContactNamen = *o.ContactNamen 2209 } 2210 qContactNamen := qrContactNamen 2211 if qContactNamen != "" { 2212 2213 if err := r.SetQueryParam("contact_name__n", qContactNamen); err != nil { 2214 return err 2215 } 2216 } 2217 } 2218 2219 if o.ContactNameNic != nil { 2220 2221 // query param contact_name__nic 2222 var qrContactNameNic string 2223 2224 if o.ContactNameNic != nil { 2225 qrContactNameNic = *o.ContactNameNic 2226 } 2227 qContactNameNic := qrContactNameNic 2228 if qContactNameNic != "" { 2229 2230 if err := r.SetQueryParam("contact_name__nic", qContactNameNic); err != nil { 2231 return err 2232 } 2233 } 2234 } 2235 2236 if o.ContactNameNie != nil { 2237 2238 // query param contact_name__nie 2239 var qrContactNameNie string 2240 2241 if o.ContactNameNie != nil { 2242 qrContactNameNie = *o.ContactNameNie 2243 } 2244 qContactNameNie := qrContactNameNie 2245 if qContactNameNie != "" { 2246 2247 if err := r.SetQueryParam("contact_name__nie", qContactNameNie); err != nil { 2248 return err 2249 } 2250 } 2251 } 2252 2253 if o.ContactNameNiew != nil { 2254 2255 // query param contact_name__niew 2256 var qrContactNameNiew string 2257 2258 if o.ContactNameNiew != nil { 2259 qrContactNameNiew = *o.ContactNameNiew 2260 } 2261 qContactNameNiew := qrContactNameNiew 2262 if qContactNameNiew != "" { 2263 2264 if err := r.SetQueryParam("contact_name__niew", qContactNameNiew); err != nil { 2265 return err 2266 } 2267 } 2268 } 2269 2270 if o.ContactNameNisw != nil { 2271 2272 // query param contact_name__nisw 2273 var qrContactNameNisw string 2274 2275 if o.ContactNameNisw != nil { 2276 qrContactNameNisw = *o.ContactNameNisw 2277 } 2278 qContactNameNisw := qrContactNameNisw 2279 if qContactNameNisw != "" { 2280 2281 if err := r.SetQueryParam("contact_name__nisw", qContactNameNisw); err != nil { 2282 return err 2283 } 2284 } 2285 } 2286 2287 if o.ContactPhone != nil { 2288 2289 // query param contact_phone 2290 var qrContactPhone string 2291 2292 if o.ContactPhone != nil { 2293 qrContactPhone = *o.ContactPhone 2294 } 2295 qContactPhone := qrContactPhone 2296 if qContactPhone != "" { 2297 2298 if err := r.SetQueryParam("contact_phone", qContactPhone); err != nil { 2299 return err 2300 } 2301 } 2302 } 2303 2304 if o.ContactPhoneEmpty != nil { 2305 2306 // query param contact_phone__empty 2307 var qrContactPhoneEmpty string 2308 2309 if o.ContactPhoneEmpty != nil { 2310 qrContactPhoneEmpty = *o.ContactPhoneEmpty 2311 } 2312 qContactPhoneEmpty := qrContactPhoneEmpty 2313 if qContactPhoneEmpty != "" { 2314 2315 if err := r.SetQueryParam("contact_phone__empty", qContactPhoneEmpty); err != nil { 2316 return err 2317 } 2318 } 2319 } 2320 2321 if o.ContactPhoneIc != nil { 2322 2323 // query param contact_phone__ic 2324 var qrContactPhoneIc string 2325 2326 if o.ContactPhoneIc != nil { 2327 qrContactPhoneIc = *o.ContactPhoneIc 2328 } 2329 qContactPhoneIc := qrContactPhoneIc 2330 if qContactPhoneIc != "" { 2331 2332 if err := r.SetQueryParam("contact_phone__ic", qContactPhoneIc); err != nil { 2333 return err 2334 } 2335 } 2336 } 2337 2338 if o.ContactPhoneIe != nil { 2339 2340 // query param contact_phone__ie 2341 var qrContactPhoneIe string 2342 2343 if o.ContactPhoneIe != nil { 2344 qrContactPhoneIe = *o.ContactPhoneIe 2345 } 2346 qContactPhoneIe := qrContactPhoneIe 2347 if qContactPhoneIe != "" { 2348 2349 if err := r.SetQueryParam("contact_phone__ie", qContactPhoneIe); err != nil { 2350 return err 2351 } 2352 } 2353 } 2354 2355 if o.ContactPhoneIew != nil { 2356 2357 // query param contact_phone__iew 2358 var qrContactPhoneIew string 2359 2360 if o.ContactPhoneIew != nil { 2361 qrContactPhoneIew = *o.ContactPhoneIew 2362 } 2363 qContactPhoneIew := qrContactPhoneIew 2364 if qContactPhoneIew != "" { 2365 2366 if err := r.SetQueryParam("contact_phone__iew", qContactPhoneIew); err != nil { 2367 return err 2368 } 2369 } 2370 } 2371 2372 if o.ContactPhoneIsw != nil { 2373 2374 // query param contact_phone__isw 2375 var qrContactPhoneIsw string 2376 2377 if o.ContactPhoneIsw != nil { 2378 qrContactPhoneIsw = *o.ContactPhoneIsw 2379 } 2380 qContactPhoneIsw := qrContactPhoneIsw 2381 if qContactPhoneIsw != "" { 2382 2383 if err := r.SetQueryParam("contact_phone__isw", qContactPhoneIsw); err != nil { 2384 return err 2385 } 2386 } 2387 } 2388 2389 if o.ContactPhonen != nil { 2390 2391 // query param contact_phone__n 2392 var qrContactPhonen string 2393 2394 if o.ContactPhonen != nil { 2395 qrContactPhonen = *o.ContactPhonen 2396 } 2397 qContactPhonen := qrContactPhonen 2398 if qContactPhonen != "" { 2399 2400 if err := r.SetQueryParam("contact_phone__n", qContactPhonen); err != nil { 2401 return err 2402 } 2403 } 2404 } 2405 2406 if o.ContactPhoneNic != nil { 2407 2408 // query param contact_phone__nic 2409 var qrContactPhoneNic string 2410 2411 if o.ContactPhoneNic != nil { 2412 qrContactPhoneNic = *o.ContactPhoneNic 2413 } 2414 qContactPhoneNic := qrContactPhoneNic 2415 if qContactPhoneNic != "" { 2416 2417 if err := r.SetQueryParam("contact_phone__nic", qContactPhoneNic); err != nil { 2418 return err 2419 } 2420 } 2421 } 2422 2423 if o.ContactPhoneNie != nil { 2424 2425 // query param contact_phone__nie 2426 var qrContactPhoneNie string 2427 2428 if o.ContactPhoneNie != nil { 2429 qrContactPhoneNie = *o.ContactPhoneNie 2430 } 2431 qContactPhoneNie := qrContactPhoneNie 2432 if qContactPhoneNie != "" { 2433 2434 if err := r.SetQueryParam("contact_phone__nie", qContactPhoneNie); err != nil { 2435 return err 2436 } 2437 } 2438 } 2439 2440 if o.ContactPhoneNiew != nil { 2441 2442 // query param contact_phone__niew 2443 var qrContactPhoneNiew string 2444 2445 if o.ContactPhoneNiew != nil { 2446 qrContactPhoneNiew = *o.ContactPhoneNiew 2447 } 2448 qContactPhoneNiew := qrContactPhoneNiew 2449 if qContactPhoneNiew != "" { 2450 2451 if err := r.SetQueryParam("contact_phone__niew", qContactPhoneNiew); err != nil { 2452 return err 2453 } 2454 } 2455 } 2456 2457 if o.ContactPhoneNisw != nil { 2458 2459 // query param contact_phone__nisw 2460 var qrContactPhoneNisw string 2461 2462 if o.ContactPhoneNisw != nil { 2463 qrContactPhoneNisw = *o.ContactPhoneNisw 2464 } 2465 qContactPhoneNisw := qrContactPhoneNisw 2466 if qContactPhoneNisw != "" { 2467 2468 if err := r.SetQueryParam("contact_phone__nisw", qContactPhoneNisw); err != nil { 2469 return err 2470 } 2471 } 2472 } 2473 2474 if o.Created != nil { 2475 2476 // query param created 2477 var qrCreated string 2478 2479 if o.Created != nil { 2480 qrCreated = *o.Created 2481 } 2482 qCreated := qrCreated 2483 if qCreated != "" { 2484 2485 if err := r.SetQueryParam("created", qCreated); err != nil { 2486 return err 2487 } 2488 } 2489 } 2490 2491 if o.CreatedGte != nil { 2492 2493 // query param created__gte 2494 var qrCreatedGte string 2495 2496 if o.CreatedGte != nil { 2497 qrCreatedGte = *o.CreatedGte 2498 } 2499 qCreatedGte := qrCreatedGte 2500 if qCreatedGte != "" { 2501 2502 if err := r.SetQueryParam("created__gte", qCreatedGte); err != nil { 2503 return err 2504 } 2505 } 2506 } 2507 2508 if o.CreatedLte != nil { 2509 2510 // query param created__lte 2511 var qrCreatedLte string 2512 2513 if o.CreatedLte != nil { 2514 qrCreatedLte = *o.CreatedLte 2515 } 2516 qCreatedLte := qrCreatedLte 2517 if qCreatedLte != "" { 2518 2519 if err := r.SetQueryParam("created__lte", qCreatedLte); err != nil { 2520 return err 2521 } 2522 } 2523 } 2524 2525 if o.Facility != nil { 2526 2527 // query param facility 2528 var qrFacility string 2529 2530 if o.Facility != nil { 2531 qrFacility = *o.Facility 2532 } 2533 qFacility := qrFacility 2534 if qFacility != "" { 2535 2536 if err := r.SetQueryParam("facility", qFacility); err != nil { 2537 return err 2538 } 2539 } 2540 } 2541 2542 if o.FacilityEmpty != nil { 2543 2544 // query param facility__empty 2545 var qrFacilityEmpty string 2546 2547 if o.FacilityEmpty != nil { 2548 qrFacilityEmpty = *o.FacilityEmpty 2549 } 2550 qFacilityEmpty := qrFacilityEmpty 2551 if qFacilityEmpty != "" { 2552 2553 if err := r.SetQueryParam("facility__empty", qFacilityEmpty); err != nil { 2554 return err 2555 } 2556 } 2557 } 2558 2559 if o.FacilityIc != nil { 2560 2561 // query param facility__ic 2562 var qrFacilityIc string 2563 2564 if o.FacilityIc != nil { 2565 qrFacilityIc = *o.FacilityIc 2566 } 2567 qFacilityIc := qrFacilityIc 2568 if qFacilityIc != "" { 2569 2570 if err := r.SetQueryParam("facility__ic", qFacilityIc); err != nil { 2571 return err 2572 } 2573 } 2574 } 2575 2576 if o.FacilityIe != nil { 2577 2578 // query param facility__ie 2579 var qrFacilityIe string 2580 2581 if o.FacilityIe != nil { 2582 qrFacilityIe = *o.FacilityIe 2583 } 2584 qFacilityIe := qrFacilityIe 2585 if qFacilityIe != "" { 2586 2587 if err := r.SetQueryParam("facility__ie", qFacilityIe); err != nil { 2588 return err 2589 } 2590 } 2591 } 2592 2593 if o.FacilityIew != nil { 2594 2595 // query param facility__iew 2596 var qrFacilityIew string 2597 2598 if o.FacilityIew != nil { 2599 qrFacilityIew = *o.FacilityIew 2600 } 2601 qFacilityIew := qrFacilityIew 2602 if qFacilityIew != "" { 2603 2604 if err := r.SetQueryParam("facility__iew", qFacilityIew); err != nil { 2605 return err 2606 } 2607 } 2608 } 2609 2610 if o.FacilityIsw != nil { 2611 2612 // query param facility__isw 2613 var qrFacilityIsw string 2614 2615 if o.FacilityIsw != nil { 2616 qrFacilityIsw = *o.FacilityIsw 2617 } 2618 qFacilityIsw := qrFacilityIsw 2619 if qFacilityIsw != "" { 2620 2621 if err := r.SetQueryParam("facility__isw", qFacilityIsw); err != nil { 2622 return err 2623 } 2624 } 2625 } 2626 2627 if o.Facilityn != nil { 2628 2629 // query param facility__n 2630 var qrFacilityn string 2631 2632 if o.Facilityn != nil { 2633 qrFacilityn = *o.Facilityn 2634 } 2635 qFacilityn := qrFacilityn 2636 if qFacilityn != "" { 2637 2638 if err := r.SetQueryParam("facility__n", qFacilityn); err != nil { 2639 return err 2640 } 2641 } 2642 } 2643 2644 if o.FacilityNic != nil { 2645 2646 // query param facility__nic 2647 var qrFacilityNic string 2648 2649 if o.FacilityNic != nil { 2650 qrFacilityNic = *o.FacilityNic 2651 } 2652 qFacilityNic := qrFacilityNic 2653 if qFacilityNic != "" { 2654 2655 if err := r.SetQueryParam("facility__nic", qFacilityNic); err != nil { 2656 return err 2657 } 2658 } 2659 } 2660 2661 if o.FacilityNie != nil { 2662 2663 // query param facility__nie 2664 var qrFacilityNie string 2665 2666 if o.FacilityNie != nil { 2667 qrFacilityNie = *o.FacilityNie 2668 } 2669 qFacilityNie := qrFacilityNie 2670 if qFacilityNie != "" { 2671 2672 if err := r.SetQueryParam("facility__nie", qFacilityNie); err != nil { 2673 return err 2674 } 2675 } 2676 } 2677 2678 if o.FacilityNiew != nil { 2679 2680 // query param facility__niew 2681 var qrFacilityNiew string 2682 2683 if o.FacilityNiew != nil { 2684 qrFacilityNiew = *o.FacilityNiew 2685 } 2686 qFacilityNiew := qrFacilityNiew 2687 if qFacilityNiew != "" { 2688 2689 if err := r.SetQueryParam("facility__niew", qFacilityNiew); err != nil { 2690 return err 2691 } 2692 } 2693 } 2694 2695 if o.FacilityNisw != nil { 2696 2697 // query param facility__nisw 2698 var qrFacilityNisw string 2699 2700 if o.FacilityNisw != nil { 2701 qrFacilityNisw = *o.FacilityNisw 2702 } 2703 qFacilityNisw := qrFacilityNisw 2704 if qFacilityNisw != "" { 2705 2706 if err := r.SetQueryParam("facility__nisw", qFacilityNisw); err != nil { 2707 return err 2708 } 2709 } 2710 } 2711 2712 if o.Group != nil { 2713 2714 // query param group 2715 var qrGroup string 2716 2717 if o.Group != nil { 2718 qrGroup = *o.Group 2719 } 2720 qGroup := qrGroup 2721 if qGroup != "" { 2722 2723 if err := r.SetQueryParam("group", qGroup); err != nil { 2724 return err 2725 } 2726 } 2727 } 2728 2729 if o.Groupn != nil { 2730 2731 // query param group__n 2732 var qrGroupn string 2733 2734 if o.Groupn != nil { 2735 qrGroupn = *o.Groupn 2736 } 2737 qGroupn := qrGroupn 2738 if qGroupn != "" { 2739 2740 if err := r.SetQueryParam("group__n", qGroupn); err != nil { 2741 return err 2742 } 2743 } 2744 } 2745 2746 if o.GroupID != nil { 2747 2748 // query param group_id 2749 var qrGroupID string 2750 2751 if o.GroupID != nil { 2752 qrGroupID = *o.GroupID 2753 } 2754 qGroupID := qrGroupID 2755 if qGroupID != "" { 2756 2757 if err := r.SetQueryParam("group_id", qGroupID); err != nil { 2758 return err 2759 } 2760 } 2761 } 2762 2763 if o.GroupIDn != nil { 2764 2765 // query param group_id__n 2766 var qrGroupIDn string 2767 2768 if o.GroupIDn != nil { 2769 qrGroupIDn = *o.GroupIDn 2770 } 2771 qGroupIDn := qrGroupIDn 2772 if qGroupIDn != "" { 2773 2774 if err := r.SetQueryParam("group_id__n", qGroupIDn); err != nil { 2775 return err 2776 } 2777 } 2778 } 2779 2780 if o.ID != nil { 2781 2782 // query param id 2783 var qrID string 2784 2785 if o.ID != nil { 2786 qrID = *o.ID 2787 } 2788 qID := qrID 2789 if qID != "" { 2790 2791 if err := r.SetQueryParam("id", qID); err != nil { 2792 return err 2793 } 2794 } 2795 } 2796 2797 if o.IDGt != nil { 2798 2799 // query param id__gt 2800 var qrIDGt string 2801 2802 if o.IDGt != nil { 2803 qrIDGt = *o.IDGt 2804 } 2805 qIDGt := qrIDGt 2806 if qIDGt != "" { 2807 2808 if err := r.SetQueryParam("id__gt", qIDGt); err != nil { 2809 return err 2810 } 2811 } 2812 } 2813 2814 if o.IDGte != nil { 2815 2816 // query param id__gte 2817 var qrIDGte string 2818 2819 if o.IDGte != nil { 2820 qrIDGte = *o.IDGte 2821 } 2822 qIDGte := qrIDGte 2823 if qIDGte != "" { 2824 2825 if err := r.SetQueryParam("id__gte", qIDGte); err != nil { 2826 return err 2827 } 2828 } 2829 } 2830 2831 if o.IDLt != nil { 2832 2833 // query param id__lt 2834 var qrIDLt string 2835 2836 if o.IDLt != nil { 2837 qrIDLt = *o.IDLt 2838 } 2839 qIDLt := qrIDLt 2840 if qIDLt != "" { 2841 2842 if err := r.SetQueryParam("id__lt", qIDLt); err != nil { 2843 return err 2844 } 2845 } 2846 } 2847 2848 if o.IDLte != nil { 2849 2850 // query param id__lte 2851 var qrIDLte string 2852 2853 if o.IDLte != nil { 2854 qrIDLte = *o.IDLte 2855 } 2856 qIDLte := qrIDLte 2857 if qIDLte != "" { 2858 2859 if err := r.SetQueryParam("id__lte", qIDLte); err != nil { 2860 return err 2861 } 2862 } 2863 } 2864 2865 if o.IDn != nil { 2866 2867 // query param id__n 2868 var qrIDn string 2869 2870 if o.IDn != nil { 2871 qrIDn = *o.IDn 2872 } 2873 qIDn := qrIDn 2874 if qIDn != "" { 2875 2876 if err := r.SetQueryParam("id__n", qIDn); err != nil { 2877 return err 2878 } 2879 } 2880 } 2881 2882 if o.LastUpdated != nil { 2883 2884 // query param last_updated 2885 var qrLastUpdated string 2886 2887 if o.LastUpdated != nil { 2888 qrLastUpdated = *o.LastUpdated 2889 } 2890 qLastUpdated := qrLastUpdated 2891 if qLastUpdated != "" { 2892 2893 if err := r.SetQueryParam("last_updated", qLastUpdated); err != nil { 2894 return err 2895 } 2896 } 2897 } 2898 2899 if o.LastUpdatedGte != nil { 2900 2901 // query param last_updated__gte 2902 var qrLastUpdatedGte string 2903 2904 if o.LastUpdatedGte != nil { 2905 qrLastUpdatedGte = *o.LastUpdatedGte 2906 } 2907 qLastUpdatedGte := qrLastUpdatedGte 2908 if qLastUpdatedGte != "" { 2909 2910 if err := r.SetQueryParam("last_updated__gte", qLastUpdatedGte); err != nil { 2911 return err 2912 } 2913 } 2914 } 2915 2916 if o.LastUpdatedLte != nil { 2917 2918 // query param last_updated__lte 2919 var qrLastUpdatedLte string 2920 2921 if o.LastUpdatedLte != nil { 2922 qrLastUpdatedLte = *o.LastUpdatedLte 2923 } 2924 qLastUpdatedLte := qrLastUpdatedLte 2925 if qLastUpdatedLte != "" { 2926 2927 if err := r.SetQueryParam("last_updated__lte", qLastUpdatedLte); err != nil { 2928 return err 2929 } 2930 } 2931 } 2932 2933 if o.Latitude != nil { 2934 2935 // query param latitude 2936 var qrLatitude string 2937 2938 if o.Latitude != nil { 2939 qrLatitude = *o.Latitude 2940 } 2941 qLatitude := qrLatitude 2942 if qLatitude != "" { 2943 2944 if err := r.SetQueryParam("latitude", qLatitude); err != nil { 2945 return err 2946 } 2947 } 2948 } 2949 2950 if o.LatitudeGt != nil { 2951 2952 // query param latitude__gt 2953 var qrLatitudeGt string 2954 2955 if o.LatitudeGt != nil { 2956 qrLatitudeGt = *o.LatitudeGt 2957 } 2958 qLatitudeGt := qrLatitudeGt 2959 if qLatitudeGt != "" { 2960 2961 if err := r.SetQueryParam("latitude__gt", qLatitudeGt); err != nil { 2962 return err 2963 } 2964 } 2965 } 2966 2967 if o.LatitudeGte != nil { 2968 2969 // query param latitude__gte 2970 var qrLatitudeGte string 2971 2972 if o.LatitudeGte != nil { 2973 qrLatitudeGte = *o.LatitudeGte 2974 } 2975 qLatitudeGte := qrLatitudeGte 2976 if qLatitudeGte != "" { 2977 2978 if err := r.SetQueryParam("latitude__gte", qLatitudeGte); err != nil { 2979 return err 2980 } 2981 } 2982 } 2983 2984 if o.LatitudeLt != nil { 2985 2986 // query param latitude__lt 2987 var qrLatitudeLt string 2988 2989 if o.LatitudeLt != nil { 2990 qrLatitudeLt = *o.LatitudeLt 2991 } 2992 qLatitudeLt := qrLatitudeLt 2993 if qLatitudeLt != "" { 2994 2995 if err := r.SetQueryParam("latitude__lt", qLatitudeLt); err != nil { 2996 return err 2997 } 2998 } 2999 } 3000 3001 if o.LatitudeLte != nil { 3002 3003 // query param latitude__lte 3004 var qrLatitudeLte string 3005 3006 if o.LatitudeLte != nil { 3007 qrLatitudeLte = *o.LatitudeLte 3008 } 3009 qLatitudeLte := qrLatitudeLte 3010 if qLatitudeLte != "" { 3011 3012 if err := r.SetQueryParam("latitude__lte", qLatitudeLte); err != nil { 3013 return err 3014 } 3015 } 3016 } 3017 3018 if o.Latituden != nil { 3019 3020 // query param latitude__n 3021 var qrLatituden string 3022 3023 if o.Latituden != nil { 3024 qrLatituden = *o.Latituden 3025 } 3026 qLatituden := qrLatituden 3027 if qLatituden != "" { 3028 3029 if err := r.SetQueryParam("latitude__n", qLatituden); err != nil { 3030 return err 3031 } 3032 } 3033 } 3034 3035 if o.Limit != nil { 3036 3037 // query param limit 3038 var qrLimit int64 3039 3040 if o.Limit != nil { 3041 qrLimit = *o.Limit 3042 } 3043 qLimit := swag.FormatInt64(qrLimit) 3044 if qLimit != "" { 3045 3046 if err := r.SetQueryParam("limit", qLimit); err != nil { 3047 return err 3048 } 3049 } 3050 } 3051 3052 if o.Longitude != nil { 3053 3054 // query param longitude 3055 var qrLongitude string 3056 3057 if o.Longitude != nil { 3058 qrLongitude = *o.Longitude 3059 } 3060 qLongitude := qrLongitude 3061 if qLongitude != "" { 3062 3063 if err := r.SetQueryParam("longitude", qLongitude); err != nil { 3064 return err 3065 } 3066 } 3067 } 3068 3069 if o.LongitudeGt != nil { 3070 3071 // query param longitude__gt 3072 var qrLongitudeGt string 3073 3074 if o.LongitudeGt != nil { 3075 qrLongitudeGt = *o.LongitudeGt 3076 } 3077 qLongitudeGt := qrLongitudeGt 3078 if qLongitudeGt != "" { 3079 3080 if err := r.SetQueryParam("longitude__gt", qLongitudeGt); err != nil { 3081 return err 3082 } 3083 } 3084 } 3085 3086 if o.LongitudeGte != nil { 3087 3088 // query param longitude__gte 3089 var qrLongitudeGte string 3090 3091 if o.LongitudeGte != nil { 3092 qrLongitudeGte = *o.LongitudeGte 3093 } 3094 qLongitudeGte := qrLongitudeGte 3095 if qLongitudeGte != "" { 3096 3097 if err := r.SetQueryParam("longitude__gte", qLongitudeGte); err != nil { 3098 return err 3099 } 3100 } 3101 } 3102 3103 if o.LongitudeLt != nil { 3104 3105 // query param longitude__lt 3106 var qrLongitudeLt string 3107 3108 if o.LongitudeLt != nil { 3109 qrLongitudeLt = *o.LongitudeLt 3110 } 3111 qLongitudeLt := qrLongitudeLt 3112 if qLongitudeLt != "" { 3113 3114 if err := r.SetQueryParam("longitude__lt", qLongitudeLt); err != nil { 3115 return err 3116 } 3117 } 3118 } 3119 3120 if o.LongitudeLte != nil { 3121 3122 // query param longitude__lte 3123 var qrLongitudeLte string 3124 3125 if o.LongitudeLte != nil { 3126 qrLongitudeLte = *o.LongitudeLte 3127 } 3128 qLongitudeLte := qrLongitudeLte 3129 if qLongitudeLte != "" { 3130 3131 if err := r.SetQueryParam("longitude__lte", qLongitudeLte); err != nil { 3132 return err 3133 } 3134 } 3135 } 3136 3137 if o.Longituden != nil { 3138 3139 // query param longitude__n 3140 var qrLongituden string 3141 3142 if o.Longituden != nil { 3143 qrLongituden = *o.Longituden 3144 } 3145 qLongituden := qrLongituden 3146 if qLongituden != "" { 3147 3148 if err := r.SetQueryParam("longitude__n", qLongituden); err != nil { 3149 return err 3150 } 3151 } 3152 } 3153 3154 if o.Name != nil { 3155 3156 // query param name 3157 var qrName string 3158 3159 if o.Name != nil { 3160 qrName = *o.Name 3161 } 3162 qName := qrName 3163 if qName != "" { 3164 3165 if err := r.SetQueryParam("name", qName); err != nil { 3166 return err 3167 } 3168 } 3169 } 3170 3171 if o.NameEmpty != nil { 3172 3173 // query param name__empty 3174 var qrNameEmpty string 3175 3176 if o.NameEmpty != nil { 3177 qrNameEmpty = *o.NameEmpty 3178 } 3179 qNameEmpty := qrNameEmpty 3180 if qNameEmpty != "" { 3181 3182 if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil { 3183 return err 3184 } 3185 } 3186 } 3187 3188 if o.NameIc != nil { 3189 3190 // query param name__ic 3191 var qrNameIc string 3192 3193 if o.NameIc != nil { 3194 qrNameIc = *o.NameIc 3195 } 3196 qNameIc := qrNameIc 3197 if qNameIc != "" { 3198 3199 if err := r.SetQueryParam("name__ic", qNameIc); err != nil { 3200 return err 3201 } 3202 } 3203 } 3204 3205 if o.NameIe != nil { 3206 3207 // query param name__ie 3208 var qrNameIe string 3209 3210 if o.NameIe != nil { 3211 qrNameIe = *o.NameIe 3212 } 3213 qNameIe := qrNameIe 3214 if qNameIe != "" { 3215 3216 if err := r.SetQueryParam("name__ie", qNameIe); err != nil { 3217 return err 3218 } 3219 } 3220 } 3221 3222 if o.NameIew != nil { 3223 3224 // query param name__iew 3225 var qrNameIew string 3226 3227 if o.NameIew != nil { 3228 qrNameIew = *o.NameIew 3229 } 3230 qNameIew := qrNameIew 3231 if qNameIew != "" { 3232 3233 if err := r.SetQueryParam("name__iew", qNameIew); err != nil { 3234 return err 3235 } 3236 } 3237 } 3238 3239 if o.NameIsw != nil { 3240 3241 // query param name__isw 3242 var qrNameIsw string 3243 3244 if o.NameIsw != nil { 3245 qrNameIsw = *o.NameIsw 3246 } 3247 qNameIsw := qrNameIsw 3248 if qNameIsw != "" { 3249 3250 if err := r.SetQueryParam("name__isw", qNameIsw); err != nil { 3251 return err 3252 } 3253 } 3254 } 3255 3256 if o.Namen != nil { 3257 3258 // query param name__n 3259 var qrNamen string 3260 3261 if o.Namen != nil { 3262 qrNamen = *o.Namen 3263 } 3264 qNamen := qrNamen 3265 if qNamen != "" { 3266 3267 if err := r.SetQueryParam("name__n", qNamen); err != nil { 3268 return err 3269 } 3270 } 3271 } 3272 3273 if o.NameNic != nil { 3274 3275 // query param name__nic 3276 var qrNameNic string 3277 3278 if o.NameNic != nil { 3279 qrNameNic = *o.NameNic 3280 } 3281 qNameNic := qrNameNic 3282 if qNameNic != "" { 3283 3284 if err := r.SetQueryParam("name__nic", qNameNic); err != nil { 3285 return err 3286 } 3287 } 3288 } 3289 3290 if o.NameNie != nil { 3291 3292 // query param name__nie 3293 var qrNameNie string 3294 3295 if o.NameNie != nil { 3296 qrNameNie = *o.NameNie 3297 } 3298 qNameNie := qrNameNie 3299 if qNameNie != "" { 3300 3301 if err := r.SetQueryParam("name__nie", qNameNie); err != nil { 3302 return err 3303 } 3304 } 3305 } 3306 3307 if o.NameNiew != nil { 3308 3309 // query param name__niew 3310 var qrNameNiew string 3311 3312 if o.NameNiew != nil { 3313 qrNameNiew = *o.NameNiew 3314 } 3315 qNameNiew := qrNameNiew 3316 if qNameNiew != "" { 3317 3318 if err := r.SetQueryParam("name__niew", qNameNiew); err != nil { 3319 return err 3320 } 3321 } 3322 } 3323 3324 if o.NameNisw != nil { 3325 3326 // query param name__nisw 3327 var qrNameNisw string 3328 3329 if o.NameNisw != nil { 3330 qrNameNisw = *o.NameNisw 3331 } 3332 qNameNisw := qrNameNisw 3333 if qNameNisw != "" { 3334 3335 if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil { 3336 return err 3337 } 3338 } 3339 } 3340 3341 if o.Offset != nil { 3342 3343 // query param offset 3344 var qrOffset int64 3345 3346 if o.Offset != nil { 3347 qrOffset = *o.Offset 3348 } 3349 qOffset := swag.FormatInt64(qrOffset) 3350 if qOffset != "" { 3351 3352 if err := r.SetQueryParam("offset", qOffset); err != nil { 3353 return err 3354 } 3355 } 3356 } 3357 3358 if o.Q != nil { 3359 3360 // query param q 3361 var qrQ string 3362 3363 if o.Q != nil { 3364 qrQ = *o.Q 3365 } 3366 qQ := qrQ 3367 if qQ != "" { 3368 3369 if err := r.SetQueryParam("q", qQ); err != nil { 3370 return err 3371 } 3372 } 3373 } 3374 3375 if o.Region != nil { 3376 3377 // query param region 3378 var qrRegion string 3379 3380 if o.Region != nil { 3381 qrRegion = *o.Region 3382 } 3383 qRegion := qrRegion 3384 if qRegion != "" { 3385 3386 if err := r.SetQueryParam("region", qRegion); err != nil { 3387 return err 3388 } 3389 } 3390 } 3391 3392 if o.Regionn != nil { 3393 3394 // query param region__n 3395 var qrRegionn string 3396 3397 if o.Regionn != nil { 3398 qrRegionn = *o.Regionn 3399 } 3400 qRegionn := qrRegionn 3401 if qRegionn != "" { 3402 3403 if err := r.SetQueryParam("region__n", qRegionn); err != nil { 3404 return err 3405 } 3406 } 3407 } 3408 3409 if o.RegionID != nil { 3410 3411 // query param region_id 3412 var qrRegionID string 3413 3414 if o.RegionID != nil { 3415 qrRegionID = *o.RegionID 3416 } 3417 qRegionID := qrRegionID 3418 if qRegionID != "" { 3419 3420 if err := r.SetQueryParam("region_id", qRegionID); err != nil { 3421 return err 3422 } 3423 } 3424 } 3425 3426 if o.RegionIDn != nil { 3427 3428 // query param region_id__n 3429 var qrRegionIDn string 3430 3431 if o.RegionIDn != nil { 3432 qrRegionIDn = *o.RegionIDn 3433 } 3434 qRegionIDn := qrRegionIDn 3435 if qRegionIDn != "" { 3436 3437 if err := r.SetQueryParam("region_id__n", qRegionIDn); err != nil { 3438 return err 3439 } 3440 } 3441 } 3442 3443 if o.Slug != nil { 3444 3445 // query param slug 3446 var qrSlug string 3447 3448 if o.Slug != nil { 3449 qrSlug = *o.Slug 3450 } 3451 qSlug := qrSlug 3452 if qSlug != "" { 3453 3454 if err := r.SetQueryParam("slug", qSlug); err != nil { 3455 return err 3456 } 3457 } 3458 } 3459 3460 if o.SlugEmpty != nil { 3461 3462 // query param slug__empty 3463 var qrSlugEmpty string 3464 3465 if o.SlugEmpty != nil { 3466 qrSlugEmpty = *o.SlugEmpty 3467 } 3468 qSlugEmpty := qrSlugEmpty 3469 if qSlugEmpty != "" { 3470 3471 if err := r.SetQueryParam("slug__empty", qSlugEmpty); err != nil { 3472 return err 3473 } 3474 } 3475 } 3476 3477 if o.SlugIc != nil { 3478 3479 // query param slug__ic 3480 var qrSlugIc string 3481 3482 if o.SlugIc != nil { 3483 qrSlugIc = *o.SlugIc 3484 } 3485 qSlugIc := qrSlugIc 3486 if qSlugIc != "" { 3487 3488 if err := r.SetQueryParam("slug__ic", qSlugIc); err != nil { 3489 return err 3490 } 3491 } 3492 } 3493 3494 if o.SlugIe != nil { 3495 3496 // query param slug__ie 3497 var qrSlugIe string 3498 3499 if o.SlugIe != nil { 3500 qrSlugIe = *o.SlugIe 3501 } 3502 qSlugIe := qrSlugIe 3503 if qSlugIe != "" { 3504 3505 if err := r.SetQueryParam("slug__ie", qSlugIe); err != nil { 3506 return err 3507 } 3508 } 3509 } 3510 3511 if o.SlugIew != nil { 3512 3513 // query param slug__iew 3514 var qrSlugIew string 3515 3516 if o.SlugIew != nil { 3517 qrSlugIew = *o.SlugIew 3518 } 3519 qSlugIew := qrSlugIew 3520 if qSlugIew != "" { 3521 3522 if err := r.SetQueryParam("slug__iew", qSlugIew); err != nil { 3523 return err 3524 } 3525 } 3526 } 3527 3528 if o.SlugIsw != nil { 3529 3530 // query param slug__isw 3531 var qrSlugIsw string 3532 3533 if o.SlugIsw != nil { 3534 qrSlugIsw = *o.SlugIsw 3535 } 3536 qSlugIsw := qrSlugIsw 3537 if qSlugIsw != "" { 3538 3539 if err := r.SetQueryParam("slug__isw", qSlugIsw); err != nil { 3540 return err 3541 } 3542 } 3543 } 3544 3545 if o.Slugn != nil { 3546 3547 // query param slug__n 3548 var qrSlugn string 3549 3550 if o.Slugn != nil { 3551 qrSlugn = *o.Slugn 3552 } 3553 qSlugn := qrSlugn 3554 if qSlugn != "" { 3555 3556 if err := r.SetQueryParam("slug__n", qSlugn); err != nil { 3557 return err 3558 } 3559 } 3560 } 3561 3562 if o.SlugNic != nil { 3563 3564 // query param slug__nic 3565 var qrSlugNic string 3566 3567 if o.SlugNic != nil { 3568 qrSlugNic = *o.SlugNic 3569 } 3570 qSlugNic := qrSlugNic 3571 if qSlugNic != "" { 3572 3573 if err := r.SetQueryParam("slug__nic", qSlugNic); err != nil { 3574 return err 3575 } 3576 } 3577 } 3578 3579 if o.SlugNie != nil { 3580 3581 // query param slug__nie 3582 var qrSlugNie string 3583 3584 if o.SlugNie != nil { 3585 qrSlugNie = *o.SlugNie 3586 } 3587 qSlugNie := qrSlugNie 3588 if qSlugNie != "" { 3589 3590 if err := r.SetQueryParam("slug__nie", qSlugNie); err != nil { 3591 return err 3592 } 3593 } 3594 } 3595 3596 if o.SlugNiew != nil { 3597 3598 // query param slug__niew 3599 var qrSlugNiew string 3600 3601 if o.SlugNiew != nil { 3602 qrSlugNiew = *o.SlugNiew 3603 } 3604 qSlugNiew := qrSlugNiew 3605 if qSlugNiew != "" { 3606 3607 if err := r.SetQueryParam("slug__niew", qSlugNiew); err != nil { 3608 return err 3609 } 3610 } 3611 } 3612 3613 if o.SlugNisw != nil { 3614 3615 // query param slug__nisw 3616 var qrSlugNisw string 3617 3618 if o.SlugNisw != nil { 3619 qrSlugNisw = *o.SlugNisw 3620 } 3621 qSlugNisw := qrSlugNisw 3622 if qSlugNisw != "" { 3623 3624 if err := r.SetQueryParam("slug__nisw", qSlugNisw); err != nil { 3625 return err 3626 } 3627 } 3628 } 3629 3630 if o.Status != nil { 3631 3632 // query param status 3633 var qrStatus string 3634 3635 if o.Status != nil { 3636 qrStatus = *o.Status 3637 } 3638 qStatus := qrStatus 3639 if qStatus != "" { 3640 3641 if err := r.SetQueryParam("status", qStatus); err != nil { 3642 return err 3643 } 3644 } 3645 } 3646 3647 if o.Statusn != nil { 3648 3649 // query param status__n 3650 var qrStatusn string 3651 3652 if o.Statusn != nil { 3653 qrStatusn = *o.Statusn 3654 } 3655 qStatusn := qrStatusn 3656 if qStatusn != "" { 3657 3658 if err := r.SetQueryParam("status__n", qStatusn); err != nil { 3659 return err 3660 } 3661 } 3662 } 3663 3664 if o.Tag != nil { 3665 3666 // query param tag 3667 var qrTag string 3668 3669 if o.Tag != nil { 3670 qrTag = *o.Tag 3671 } 3672 qTag := qrTag 3673 if qTag != "" { 3674 3675 if err := r.SetQueryParam("tag", qTag); err != nil { 3676 return err 3677 } 3678 } 3679 } 3680 3681 if o.Tagn != nil { 3682 3683 // query param tag__n 3684 var qrTagn string 3685 3686 if o.Tagn != nil { 3687 qrTagn = *o.Tagn 3688 } 3689 qTagn := qrTagn 3690 if qTagn != "" { 3691 3692 if err := r.SetQueryParam("tag__n", qTagn); err != nil { 3693 return err 3694 } 3695 } 3696 } 3697 3698 if o.Tenant != nil { 3699 3700 // query param tenant 3701 var qrTenant string 3702 3703 if o.Tenant != nil { 3704 qrTenant = *o.Tenant 3705 } 3706 qTenant := qrTenant 3707 if qTenant != "" { 3708 3709 if err := r.SetQueryParam("tenant", qTenant); err != nil { 3710 return err 3711 } 3712 } 3713 } 3714 3715 if o.Tenantn != nil { 3716 3717 // query param tenant__n 3718 var qrTenantn string 3719 3720 if o.Tenantn != nil { 3721 qrTenantn = *o.Tenantn 3722 } 3723 qTenantn := qrTenantn 3724 if qTenantn != "" { 3725 3726 if err := r.SetQueryParam("tenant__n", qTenantn); err != nil { 3727 return err 3728 } 3729 } 3730 } 3731 3732 if o.TenantGroup != nil { 3733 3734 // query param tenant_group 3735 var qrTenantGroup string 3736 3737 if o.TenantGroup != nil { 3738 qrTenantGroup = *o.TenantGroup 3739 } 3740 qTenantGroup := qrTenantGroup 3741 if qTenantGroup != "" { 3742 3743 if err := r.SetQueryParam("tenant_group", qTenantGroup); err != nil { 3744 return err 3745 } 3746 } 3747 } 3748 3749 if o.TenantGroupn != nil { 3750 3751 // query param tenant_group__n 3752 var qrTenantGroupn string 3753 3754 if o.TenantGroupn != nil { 3755 qrTenantGroupn = *o.TenantGroupn 3756 } 3757 qTenantGroupn := qrTenantGroupn 3758 if qTenantGroupn != "" { 3759 3760 if err := r.SetQueryParam("tenant_group__n", qTenantGroupn); err != nil { 3761 return err 3762 } 3763 } 3764 } 3765 3766 if o.TenantGroupID != nil { 3767 3768 // query param tenant_group_id 3769 var qrTenantGroupID string 3770 3771 if o.TenantGroupID != nil { 3772 qrTenantGroupID = *o.TenantGroupID 3773 } 3774 qTenantGroupID := qrTenantGroupID 3775 if qTenantGroupID != "" { 3776 3777 if err := r.SetQueryParam("tenant_group_id", qTenantGroupID); err != nil { 3778 return err 3779 } 3780 } 3781 } 3782 3783 if o.TenantGroupIDn != nil { 3784 3785 // query param tenant_group_id__n 3786 var qrTenantGroupIDn string 3787 3788 if o.TenantGroupIDn != nil { 3789 qrTenantGroupIDn = *o.TenantGroupIDn 3790 } 3791 qTenantGroupIDn := qrTenantGroupIDn 3792 if qTenantGroupIDn != "" { 3793 3794 if err := r.SetQueryParam("tenant_group_id__n", qTenantGroupIDn); err != nil { 3795 return err 3796 } 3797 } 3798 } 3799 3800 if o.TenantID != nil { 3801 3802 // query param tenant_id 3803 var qrTenantID string 3804 3805 if o.TenantID != nil { 3806 qrTenantID = *o.TenantID 3807 } 3808 qTenantID := qrTenantID 3809 if qTenantID != "" { 3810 3811 if err := r.SetQueryParam("tenant_id", qTenantID); err != nil { 3812 return err 3813 } 3814 } 3815 } 3816 3817 if o.TenantIDn != nil { 3818 3819 // query param tenant_id__n 3820 var qrTenantIDn string 3821 3822 if o.TenantIDn != nil { 3823 qrTenantIDn = *o.TenantIDn 3824 } 3825 qTenantIDn := qrTenantIDn 3826 if qTenantIDn != "" { 3827 3828 if err := r.SetQueryParam("tenant_id__n", qTenantIDn); err != nil { 3829 return err 3830 } 3831 } 3832 } 3833 3834 if len(res) > 0 { 3835 return errors.CompositeValidationError(res...) 3836 } 3837 return nil 3838 }