github.com/digitalocean/go-netbox@v0.0.2/netbox/client/extras/extras_webhooks_list_parameters.go (about) 1 // Code generated by go-swagger; DO NOT EDIT. 2 3 // Copyright 2020 The go-netbox Authors. 4 // 5 // Licensed under the Apache License, Version 2.0 (the "License"); 6 // you may not use this file except in compliance with the License. 7 // You may obtain a copy of the License at 8 // 9 // http://www.apache.org/licenses/LICENSE-2.0 10 // 11 // Unless required by applicable law or agreed to in writing, software 12 // distributed under the License is distributed on an "AS IS" BASIS, 13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 // See the License for the specific language governing permissions and 15 // limitations under the License. 16 // 17 18 package extras 19 20 // This file was generated by the swagger tool. 21 // Editing this file might prove futile when you re-run the swagger generate command 22 23 import ( 24 "context" 25 "net/http" 26 "time" 27 28 "github.com/go-openapi/errors" 29 "github.com/go-openapi/runtime" 30 cr "github.com/go-openapi/runtime/client" 31 "github.com/go-openapi/strfmt" 32 "github.com/go-openapi/swag" 33 ) 34 35 // NewExtrasWebhooksListParams creates a new ExtrasWebhooksListParams 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 NewExtrasWebhooksListParams() *ExtrasWebhooksListParams { 42 return &ExtrasWebhooksListParams{ 43 timeout: cr.DefaultTimeout, 44 } 45 } 46 47 // NewExtrasWebhooksListParamsWithTimeout creates a new ExtrasWebhooksListParams object 48 // with the ability to set a timeout on a request. 49 func NewExtrasWebhooksListParamsWithTimeout(timeout time.Duration) *ExtrasWebhooksListParams { 50 return &ExtrasWebhooksListParams{ 51 timeout: timeout, 52 } 53 } 54 55 // NewExtrasWebhooksListParamsWithContext creates a new ExtrasWebhooksListParams object 56 // with the ability to set a context for a request. 57 func NewExtrasWebhooksListParamsWithContext(ctx context.Context) *ExtrasWebhooksListParams { 58 return &ExtrasWebhooksListParams{ 59 Context: ctx, 60 } 61 } 62 63 // NewExtrasWebhooksListParamsWithHTTPClient creates a new ExtrasWebhooksListParams object 64 // with the ability to set a custom HTTPClient for a request. 65 func NewExtrasWebhooksListParamsWithHTTPClient(client *http.Client) *ExtrasWebhooksListParams { 66 return &ExtrasWebhooksListParams{ 67 HTTPClient: client, 68 } 69 } 70 71 /* ExtrasWebhooksListParams contains all the parameters to send to the API endpoint 72 for the extras webhooks list operation. 73 74 Typically these are written to a http.Request. 75 */ 76 type ExtrasWebhooksListParams struct { 77 78 // CaFilePath. 79 CaFilePath *string 80 81 // CaFilePathEmpty. 82 CaFilePathEmpty *string 83 84 // CaFilePathIc. 85 CaFilePathIc *string 86 87 // CaFilePathIe. 88 CaFilePathIe *string 89 90 // CaFilePathIew. 91 CaFilePathIew *string 92 93 // CaFilePathIsw. 94 CaFilePathIsw *string 95 96 // CaFilePathn. 97 CaFilePathn *string 98 99 // CaFilePathNic. 100 CaFilePathNic *string 101 102 // CaFilePathNie. 103 CaFilePathNie *string 104 105 // CaFilePathNiew. 106 CaFilePathNiew *string 107 108 // CaFilePathNisw. 109 CaFilePathNisw *string 110 111 // ContentTypes. 112 ContentTypes *string 113 114 // ContentTypesIc. 115 ContentTypesIc *string 116 117 // ContentTypesIe. 118 ContentTypesIe *string 119 120 // ContentTypesIew. 121 ContentTypesIew *string 122 123 // ContentTypesIsw. 124 ContentTypesIsw *string 125 126 // ContentTypesn. 127 ContentTypesn *string 128 129 // ContentTypesNic. 130 ContentTypesNic *string 131 132 // ContentTypesNie. 133 ContentTypesNie *string 134 135 // ContentTypesNiew. 136 ContentTypesNiew *string 137 138 // ContentTypesNisw. 139 ContentTypesNisw *string 140 141 // Enabled. 142 Enabled *string 143 144 // HTTPContentType. 145 HTTPContentType *string 146 147 // HTTPContentTypeEmpty. 148 HTTPContentTypeEmpty *string 149 150 // HTTPContentTypeIc. 151 HTTPContentTypeIc *string 152 153 // HTTPContentTypeIe. 154 HTTPContentTypeIe *string 155 156 // HTTPContentTypeIew. 157 HTTPContentTypeIew *string 158 159 // HTTPContentTypeIsw. 160 HTTPContentTypeIsw *string 161 162 // HTTPContentTypen. 163 HTTPContentTypen *string 164 165 // HTTPContentTypeNic. 166 HTTPContentTypeNic *string 167 168 // HTTPContentTypeNie. 169 HTTPContentTypeNie *string 170 171 // HTTPContentTypeNiew. 172 HTTPContentTypeNiew *string 173 174 // HTTPContentTypeNisw. 175 HTTPContentTypeNisw *string 176 177 // HTTPMethod. 178 HTTPMethod *string 179 180 // HTTPMethodn. 181 HTTPMethodn *string 182 183 // ID. 184 ID *string 185 186 // IDGt. 187 IDGt *string 188 189 // IDGte. 190 IDGte *string 191 192 // IDLt. 193 IDLt *string 194 195 // IDLte. 196 IDLte *string 197 198 // IDn. 199 IDn *string 200 201 /* Limit. 202 203 Number of results to return per page. 204 */ 205 Limit *int64 206 207 // Name. 208 Name *string 209 210 // NameEmpty. 211 NameEmpty *string 212 213 // NameIc. 214 NameIc *string 215 216 // NameIe. 217 NameIe *string 218 219 // NameIew. 220 NameIew *string 221 222 // NameIsw. 223 NameIsw *string 224 225 // Namen. 226 Namen *string 227 228 // NameNic. 229 NameNic *string 230 231 // NameNie. 232 NameNie *string 233 234 // NameNiew. 235 NameNiew *string 236 237 // NameNisw. 238 NameNisw *string 239 240 /* Offset. 241 242 The initial index from which to return the results. 243 */ 244 Offset *int64 245 246 // PayloadURL. 247 PayloadURL *string 248 249 // PayloadURLEmpty. 250 PayloadURLEmpty *string 251 252 // PayloadURLIc. 253 PayloadURLIc *string 254 255 // PayloadURLIe. 256 PayloadURLIe *string 257 258 // PayloadURLIew. 259 PayloadURLIew *string 260 261 // PayloadURLIsw. 262 PayloadURLIsw *string 263 264 // PayloadURLn. 265 PayloadURLn *string 266 267 // PayloadURLNic. 268 PayloadURLNic *string 269 270 // PayloadURLNie. 271 PayloadURLNie *string 272 273 // PayloadURLNiew. 274 PayloadURLNiew *string 275 276 // PayloadURLNisw. 277 PayloadURLNisw *string 278 279 // Secret. 280 Secret *string 281 282 // SecretEmpty. 283 SecretEmpty *string 284 285 // SecretIc. 286 SecretIc *string 287 288 // SecretIe. 289 SecretIe *string 290 291 // SecretIew. 292 SecretIew *string 293 294 // SecretIsw. 295 SecretIsw *string 296 297 // Secretn. 298 Secretn *string 299 300 // SecretNic. 301 SecretNic *string 302 303 // SecretNie. 304 SecretNie *string 305 306 // SecretNiew. 307 SecretNiew *string 308 309 // SecretNisw. 310 SecretNisw *string 311 312 // SslVerification. 313 SslVerification *string 314 315 // TypeCreate. 316 TypeCreate *string 317 318 // TypeDelete. 319 TypeDelete *string 320 321 // TypeUpdate. 322 TypeUpdate *string 323 324 timeout time.Duration 325 Context context.Context 326 HTTPClient *http.Client 327 } 328 329 // WithDefaults hydrates default values in the extras webhooks list params (not the query body). 330 // 331 // All values with no default are reset to their zero value. 332 func (o *ExtrasWebhooksListParams) WithDefaults() *ExtrasWebhooksListParams { 333 o.SetDefaults() 334 return o 335 } 336 337 // SetDefaults hydrates default values in the extras webhooks list params (not the query body). 338 // 339 // All values with no default are reset to their zero value. 340 func (o *ExtrasWebhooksListParams) SetDefaults() { 341 // no default values defined for this parameter 342 } 343 344 // WithTimeout adds the timeout to the extras webhooks list params 345 func (o *ExtrasWebhooksListParams) WithTimeout(timeout time.Duration) *ExtrasWebhooksListParams { 346 o.SetTimeout(timeout) 347 return o 348 } 349 350 // SetTimeout adds the timeout to the extras webhooks list params 351 func (o *ExtrasWebhooksListParams) SetTimeout(timeout time.Duration) { 352 o.timeout = timeout 353 } 354 355 // WithContext adds the context to the extras webhooks list params 356 func (o *ExtrasWebhooksListParams) WithContext(ctx context.Context) *ExtrasWebhooksListParams { 357 o.SetContext(ctx) 358 return o 359 } 360 361 // SetContext adds the context to the extras webhooks list params 362 func (o *ExtrasWebhooksListParams) SetContext(ctx context.Context) { 363 o.Context = ctx 364 } 365 366 // WithHTTPClient adds the HTTPClient to the extras webhooks list params 367 func (o *ExtrasWebhooksListParams) WithHTTPClient(client *http.Client) *ExtrasWebhooksListParams { 368 o.SetHTTPClient(client) 369 return o 370 } 371 372 // SetHTTPClient adds the HTTPClient to the extras webhooks list params 373 func (o *ExtrasWebhooksListParams) SetHTTPClient(client *http.Client) { 374 o.HTTPClient = client 375 } 376 377 // WithCaFilePath adds the caFilePath to the extras webhooks list params 378 func (o *ExtrasWebhooksListParams) WithCaFilePath(caFilePath *string) *ExtrasWebhooksListParams { 379 o.SetCaFilePath(caFilePath) 380 return o 381 } 382 383 // SetCaFilePath adds the caFilePath to the extras webhooks list params 384 func (o *ExtrasWebhooksListParams) SetCaFilePath(caFilePath *string) { 385 o.CaFilePath = caFilePath 386 } 387 388 // WithCaFilePathEmpty adds the caFilePathEmpty to the extras webhooks list params 389 func (o *ExtrasWebhooksListParams) WithCaFilePathEmpty(caFilePathEmpty *string) *ExtrasWebhooksListParams { 390 o.SetCaFilePathEmpty(caFilePathEmpty) 391 return o 392 } 393 394 // SetCaFilePathEmpty adds the caFilePathEmpty to the extras webhooks list params 395 func (o *ExtrasWebhooksListParams) SetCaFilePathEmpty(caFilePathEmpty *string) { 396 o.CaFilePathEmpty = caFilePathEmpty 397 } 398 399 // WithCaFilePathIc adds the caFilePathIc to the extras webhooks list params 400 func (o *ExtrasWebhooksListParams) WithCaFilePathIc(caFilePathIc *string) *ExtrasWebhooksListParams { 401 o.SetCaFilePathIc(caFilePathIc) 402 return o 403 } 404 405 // SetCaFilePathIc adds the caFilePathIc to the extras webhooks list params 406 func (o *ExtrasWebhooksListParams) SetCaFilePathIc(caFilePathIc *string) { 407 o.CaFilePathIc = caFilePathIc 408 } 409 410 // WithCaFilePathIe adds the caFilePathIe to the extras webhooks list params 411 func (o *ExtrasWebhooksListParams) WithCaFilePathIe(caFilePathIe *string) *ExtrasWebhooksListParams { 412 o.SetCaFilePathIe(caFilePathIe) 413 return o 414 } 415 416 // SetCaFilePathIe adds the caFilePathIe to the extras webhooks list params 417 func (o *ExtrasWebhooksListParams) SetCaFilePathIe(caFilePathIe *string) { 418 o.CaFilePathIe = caFilePathIe 419 } 420 421 // WithCaFilePathIew adds the caFilePathIew to the extras webhooks list params 422 func (o *ExtrasWebhooksListParams) WithCaFilePathIew(caFilePathIew *string) *ExtrasWebhooksListParams { 423 o.SetCaFilePathIew(caFilePathIew) 424 return o 425 } 426 427 // SetCaFilePathIew adds the caFilePathIew to the extras webhooks list params 428 func (o *ExtrasWebhooksListParams) SetCaFilePathIew(caFilePathIew *string) { 429 o.CaFilePathIew = caFilePathIew 430 } 431 432 // WithCaFilePathIsw adds the caFilePathIsw to the extras webhooks list params 433 func (o *ExtrasWebhooksListParams) WithCaFilePathIsw(caFilePathIsw *string) *ExtrasWebhooksListParams { 434 o.SetCaFilePathIsw(caFilePathIsw) 435 return o 436 } 437 438 // SetCaFilePathIsw adds the caFilePathIsw to the extras webhooks list params 439 func (o *ExtrasWebhooksListParams) SetCaFilePathIsw(caFilePathIsw *string) { 440 o.CaFilePathIsw = caFilePathIsw 441 } 442 443 // WithCaFilePathn adds the caFilePathn to the extras webhooks list params 444 func (o *ExtrasWebhooksListParams) WithCaFilePathn(caFilePathn *string) *ExtrasWebhooksListParams { 445 o.SetCaFilePathn(caFilePathn) 446 return o 447 } 448 449 // SetCaFilePathn adds the caFilePathN to the extras webhooks list params 450 func (o *ExtrasWebhooksListParams) SetCaFilePathn(caFilePathn *string) { 451 o.CaFilePathn = caFilePathn 452 } 453 454 // WithCaFilePathNic adds the caFilePathNic to the extras webhooks list params 455 func (o *ExtrasWebhooksListParams) WithCaFilePathNic(caFilePathNic *string) *ExtrasWebhooksListParams { 456 o.SetCaFilePathNic(caFilePathNic) 457 return o 458 } 459 460 // SetCaFilePathNic adds the caFilePathNic to the extras webhooks list params 461 func (o *ExtrasWebhooksListParams) SetCaFilePathNic(caFilePathNic *string) { 462 o.CaFilePathNic = caFilePathNic 463 } 464 465 // WithCaFilePathNie adds the caFilePathNie to the extras webhooks list params 466 func (o *ExtrasWebhooksListParams) WithCaFilePathNie(caFilePathNie *string) *ExtrasWebhooksListParams { 467 o.SetCaFilePathNie(caFilePathNie) 468 return o 469 } 470 471 // SetCaFilePathNie adds the caFilePathNie to the extras webhooks list params 472 func (o *ExtrasWebhooksListParams) SetCaFilePathNie(caFilePathNie *string) { 473 o.CaFilePathNie = caFilePathNie 474 } 475 476 // WithCaFilePathNiew adds the caFilePathNiew to the extras webhooks list params 477 func (o *ExtrasWebhooksListParams) WithCaFilePathNiew(caFilePathNiew *string) *ExtrasWebhooksListParams { 478 o.SetCaFilePathNiew(caFilePathNiew) 479 return o 480 } 481 482 // SetCaFilePathNiew adds the caFilePathNiew to the extras webhooks list params 483 func (o *ExtrasWebhooksListParams) SetCaFilePathNiew(caFilePathNiew *string) { 484 o.CaFilePathNiew = caFilePathNiew 485 } 486 487 // WithCaFilePathNisw adds the caFilePathNisw to the extras webhooks list params 488 func (o *ExtrasWebhooksListParams) WithCaFilePathNisw(caFilePathNisw *string) *ExtrasWebhooksListParams { 489 o.SetCaFilePathNisw(caFilePathNisw) 490 return o 491 } 492 493 // SetCaFilePathNisw adds the caFilePathNisw to the extras webhooks list params 494 func (o *ExtrasWebhooksListParams) SetCaFilePathNisw(caFilePathNisw *string) { 495 o.CaFilePathNisw = caFilePathNisw 496 } 497 498 // WithContentTypes adds the contentTypes to the extras webhooks list params 499 func (o *ExtrasWebhooksListParams) WithContentTypes(contentTypes *string) *ExtrasWebhooksListParams { 500 o.SetContentTypes(contentTypes) 501 return o 502 } 503 504 // SetContentTypes adds the contentTypes to the extras webhooks list params 505 func (o *ExtrasWebhooksListParams) SetContentTypes(contentTypes *string) { 506 o.ContentTypes = contentTypes 507 } 508 509 // WithContentTypesIc adds the contentTypesIc to the extras webhooks list params 510 func (o *ExtrasWebhooksListParams) WithContentTypesIc(contentTypesIc *string) *ExtrasWebhooksListParams { 511 o.SetContentTypesIc(contentTypesIc) 512 return o 513 } 514 515 // SetContentTypesIc adds the contentTypesIc to the extras webhooks list params 516 func (o *ExtrasWebhooksListParams) SetContentTypesIc(contentTypesIc *string) { 517 o.ContentTypesIc = contentTypesIc 518 } 519 520 // WithContentTypesIe adds the contentTypesIe to the extras webhooks list params 521 func (o *ExtrasWebhooksListParams) WithContentTypesIe(contentTypesIe *string) *ExtrasWebhooksListParams { 522 o.SetContentTypesIe(contentTypesIe) 523 return o 524 } 525 526 // SetContentTypesIe adds the contentTypesIe to the extras webhooks list params 527 func (o *ExtrasWebhooksListParams) SetContentTypesIe(contentTypesIe *string) { 528 o.ContentTypesIe = contentTypesIe 529 } 530 531 // WithContentTypesIew adds the contentTypesIew to the extras webhooks list params 532 func (o *ExtrasWebhooksListParams) WithContentTypesIew(contentTypesIew *string) *ExtrasWebhooksListParams { 533 o.SetContentTypesIew(contentTypesIew) 534 return o 535 } 536 537 // SetContentTypesIew adds the contentTypesIew to the extras webhooks list params 538 func (o *ExtrasWebhooksListParams) SetContentTypesIew(contentTypesIew *string) { 539 o.ContentTypesIew = contentTypesIew 540 } 541 542 // WithContentTypesIsw adds the contentTypesIsw to the extras webhooks list params 543 func (o *ExtrasWebhooksListParams) WithContentTypesIsw(contentTypesIsw *string) *ExtrasWebhooksListParams { 544 o.SetContentTypesIsw(contentTypesIsw) 545 return o 546 } 547 548 // SetContentTypesIsw adds the contentTypesIsw to the extras webhooks list params 549 func (o *ExtrasWebhooksListParams) SetContentTypesIsw(contentTypesIsw *string) { 550 o.ContentTypesIsw = contentTypesIsw 551 } 552 553 // WithContentTypesn adds the contentTypesn to the extras webhooks list params 554 func (o *ExtrasWebhooksListParams) WithContentTypesn(contentTypesn *string) *ExtrasWebhooksListParams { 555 o.SetContentTypesn(contentTypesn) 556 return o 557 } 558 559 // SetContentTypesn adds the contentTypesN to the extras webhooks list params 560 func (o *ExtrasWebhooksListParams) SetContentTypesn(contentTypesn *string) { 561 o.ContentTypesn = contentTypesn 562 } 563 564 // WithContentTypesNic adds the contentTypesNic to the extras webhooks list params 565 func (o *ExtrasWebhooksListParams) WithContentTypesNic(contentTypesNic *string) *ExtrasWebhooksListParams { 566 o.SetContentTypesNic(contentTypesNic) 567 return o 568 } 569 570 // SetContentTypesNic adds the contentTypesNic to the extras webhooks list params 571 func (o *ExtrasWebhooksListParams) SetContentTypesNic(contentTypesNic *string) { 572 o.ContentTypesNic = contentTypesNic 573 } 574 575 // WithContentTypesNie adds the contentTypesNie to the extras webhooks list params 576 func (o *ExtrasWebhooksListParams) WithContentTypesNie(contentTypesNie *string) *ExtrasWebhooksListParams { 577 o.SetContentTypesNie(contentTypesNie) 578 return o 579 } 580 581 // SetContentTypesNie adds the contentTypesNie to the extras webhooks list params 582 func (o *ExtrasWebhooksListParams) SetContentTypesNie(contentTypesNie *string) { 583 o.ContentTypesNie = contentTypesNie 584 } 585 586 // WithContentTypesNiew adds the contentTypesNiew to the extras webhooks list params 587 func (o *ExtrasWebhooksListParams) WithContentTypesNiew(contentTypesNiew *string) *ExtrasWebhooksListParams { 588 o.SetContentTypesNiew(contentTypesNiew) 589 return o 590 } 591 592 // SetContentTypesNiew adds the contentTypesNiew to the extras webhooks list params 593 func (o *ExtrasWebhooksListParams) SetContentTypesNiew(contentTypesNiew *string) { 594 o.ContentTypesNiew = contentTypesNiew 595 } 596 597 // WithContentTypesNisw adds the contentTypesNisw to the extras webhooks list params 598 func (o *ExtrasWebhooksListParams) WithContentTypesNisw(contentTypesNisw *string) *ExtrasWebhooksListParams { 599 o.SetContentTypesNisw(contentTypesNisw) 600 return o 601 } 602 603 // SetContentTypesNisw adds the contentTypesNisw to the extras webhooks list params 604 func (o *ExtrasWebhooksListParams) SetContentTypesNisw(contentTypesNisw *string) { 605 o.ContentTypesNisw = contentTypesNisw 606 } 607 608 // WithEnabled adds the enabled to the extras webhooks list params 609 func (o *ExtrasWebhooksListParams) WithEnabled(enabled *string) *ExtrasWebhooksListParams { 610 o.SetEnabled(enabled) 611 return o 612 } 613 614 // SetEnabled adds the enabled to the extras webhooks list params 615 func (o *ExtrasWebhooksListParams) SetEnabled(enabled *string) { 616 o.Enabled = enabled 617 } 618 619 // WithHTTPContentType adds the hTTPContentType to the extras webhooks list params 620 func (o *ExtrasWebhooksListParams) WithHTTPContentType(hTTPContentType *string) *ExtrasWebhooksListParams { 621 o.SetHTTPContentType(hTTPContentType) 622 return o 623 } 624 625 // SetHTTPContentType adds the httpContentType to the extras webhooks list params 626 func (o *ExtrasWebhooksListParams) SetHTTPContentType(hTTPContentType *string) { 627 o.HTTPContentType = hTTPContentType 628 } 629 630 // WithHTTPContentTypeEmpty adds the hTTPContentTypeEmpty to the extras webhooks list params 631 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeEmpty(hTTPContentTypeEmpty *string) *ExtrasWebhooksListParams { 632 o.SetHTTPContentTypeEmpty(hTTPContentTypeEmpty) 633 return o 634 } 635 636 // SetHTTPContentTypeEmpty adds the httpContentTypeEmpty to the extras webhooks list params 637 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeEmpty(hTTPContentTypeEmpty *string) { 638 o.HTTPContentTypeEmpty = hTTPContentTypeEmpty 639 } 640 641 // WithHTTPContentTypeIc adds the hTTPContentTypeIc to the extras webhooks list params 642 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeIc(hTTPContentTypeIc *string) *ExtrasWebhooksListParams { 643 o.SetHTTPContentTypeIc(hTTPContentTypeIc) 644 return o 645 } 646 647 // SetHTTPContentTypeIc adds the httpContentTypeIc to the extras webhooks list params 648 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeIc(hTTPContentTypeIc *string) { 649 o.HTTPContentTypeIc = hTTPContentTypeIc 650 } 651 652 // WithHTTPContentTypeIe adds the hTTPContentTypeIe to the extras webhooks list params 653 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeIe(hTTPContentTypeIe *string) *ExtrasWebhooksListParams { 654 o.SetHTTPContentTypeIe(hTTPContentTypeIe) 655 return o 656 } 657 658 // SetHTTPContentTypeIe adds the httpContentTypeIe to the extras webhooks list params 659 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeIe(hTTPContentTypeIe *string) { 660 o.HTTPContentTypeIe = hTTPContentTypeIe 661 } 662 663 // WithHTTPContentTypeIew adds the hTTPContentTypeIew to the extras webhooks list params 664 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeIew(hTTPContentTypeIew *string) *ExtrasWebhooksListParams { 665 o.SetHTTPContentTypeIew(hTTPContentTypeIew) 666 return o 667 } 668 669 // SetHTTPContentTypeIew adds the httpContentTypeIew to the extras webhooks list params 670 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeIew(hTTPContentTypeIew *string) { 671 o.HTTPContentTypeIew = hTTPContentTypeIew 672 } 673 674 // WithHTTPContentTypeIsw adds the hTTPContentTypeIsw to the extras webhooks list params 675 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeIsw(hTTPContentTypeIsw *string) *ExtrasWebhooksListParams { 676 o.SetHTTPContentTypeIsw(hTTPContentTypeIsw) 677 return o 678 } 679 680 // SetHTTPContentTypeIsw adds the httpContentTypeIsw to the extras webhooks list params 681 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeIsw(hTTPContentTypeIsw *string) { 682 o.HTTPContentTypeIsw = hTTPContentTypeIsw 683 } 684 685 // WithHTTPContentTypen adds the hTTPContentTypen to the extras webhooks list params 686 func (o *ExtrasWebhooksListParams) WithHTTPContentTypen(hTTPContentTypen *string) *ExtrasWebhooksListParams { 687 o.SetHTTPContentTypen(hTTPContentTypen) 688 return o 689 } 690 691 // SetHTTPContentTypen adds the httpContentTypeN to the extras webhooks list params 692 func (o *ExtrasWebhooksListParams) SetHTTPContentTypen(hTTPContentTypen *string) { 693 o.HTTPContentTypen = hTTPContentTypen 694 } 695 696 // WithHTTPContentTypeNic adds the hTTPContentTypeNic to the extras webhooks list params 697 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeNic(hTTPContentTypeNic *string) *ExtrasWebhooksListParams { 698 o.SetHTTPContentTypeNic(hTTPContentTypeNic) 699 return o 700 } 701 702 // SetHTTPContentTypeNic adds the httpContentTypeNic to the extras webhooks list params 703 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeNic(hTTPContentTypeNic *string) { 704 o.HTTPContentTypeNic = hTTPContentTypeNic 705 } 706 707 // WithHTTPContentTypeNie adds the hTTPContentTypeNie to the extras webhooks list params 708 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeNie(hTTPContentTypeNie *string) *ExtrasWebhooksListParams { 709 o.SetHTTPContentTypeNie(hTTPContentTypeNie) 710 return o 711 } 712 713 // SetHTTPContentTypeNie adds the httpContentTypeNie to the extras webhooks list params 714 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeNie(hTTPContentTypeNie *string) { 715 o.HTTPContentTypeNie = hTTPContentTypeNie 716 } 717 718 // WithHTTPContentTypeNiew adds the hTTPContentTypeNiew to the extras webhooks list params 719 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeNiew(hTTPContentTypeNiew *string) *ExtrasWebhooksListParams { 720 o.SetHTTPContentTypeNiew(hTTPContentTypeNiew) 721 return o 722 } 723 724 // SetHTTPContentTypeNiew adds the httpContentTypeNiew to the extras webhooks list params 725 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeNiew(hTTPContentTypeNiew *string) { 726 o.HTTPContentTypeNiew = hTTPContentTypeNiew 727 } 728 729 // WithHTTPContentTypeNisw adds the hTTPContentTypeNisw to the extras webhooks list params 730 func (o *ExtrasWebhooksListParams) WithHTTPContentTypeNisw(hTTPContentTypeNisw *string) *ExtrasWebhooksListParams { 731 o.SetHTTPContentTypeNisw(hTTPContentTypeNisw) 732 return o 733 } 734 735 // SetHTTPContentTypeNisw adds the httpContentTypeNisw to the extras webhooks list params 736 func (o *ExtrasWebhooksListParams) SetHTTPContentTypeNisw(hTTPContentTypeNisw *string) { 737 o.HTTPContentTypeNisw = hTTPContentTypeNisw 738 } 739 740 // WithHTTPMethod adds the hTTPMethod to the extras webhooks list params 741 func (o *ExtrasWebhooksListParams) WithHTTPMethod(hTTPMethod *string) *ExtrasWebhooksListParams { 742 o.SetHTTPMethod(hTTPMethod) 743 return o 744 } 745 746 // SetHTTPMethod adds the httpMethod to the extras webhooks list params 747 func (o *ExtrasWebhooksListParams) SetHTTPMethod(hTTPMethod *string) { 748 o.HTTPMethod = hTTPMethod 749 } 750 751 // WithHTTPMethodn adds the hTTPMethodn to the extras webhooks list params 752 func (o *ExtrasWebhooksListParams) WithHTTPMethodn(hTTPMethodn *string) *ExtrasWebhooksListParams { 753 o.SetHTTPMethodn(hTTPMethodn) 754 return o 755 } 756 757 // SetHTTPMethodn adds the httpMethodN to the extras webhooks list params 758 func (o *ExtrasWebhooksListParams) SetHTTPMethodn(hTTPMethodn *string) { 759 o.HTTPMethodn = hTTPMethodn 760 } 761 762 // WithID adds the id to the extras webhooks list params 763 func (o *ExtrasWebhooksListParams) WithID(id *string) *ExtrasWebhooksListParams { 764 o.SetID(id) 765 return o 766 } 767 768 // SetID adds the id to the extras webhooks list params 769 func (o *ExtrasWebhooksListParams) SetID(id *string) { 770 o.ID = id 771 } 772 773 // WithIDGt adds the iDGt to the extras webhooks list params 774 func (o *ExtrasWebhooksListParams) WithIDGt(iDGt *string) *ExtrasWebhooksListParams { 775 o.SetIDGt(iDGt) 776 return o 777 } 778 779 // SetIDGt adds the idGt to the extras webhooks list params 780 func (o *ExtrasWebhooksListParams) SetIDGt(iDGt *string) { 781 o.IDGt = iDGt 782 } 783 784 // WithIDGte adds the iDGte to the extras webhooks list params 785 func (o *ExtrasWebhooksListParams) WithIDGte(iDGte *string) *ExtrasWebhooksListParams { 786 o.SetIDGte(iDGte) 787 return o 788 } 789 790 // SetIDGte adds the idGte to the extras webhooks list params 791 func (o *ExtrasWebhooksListParams) SetIDGte(iDGte *string) { 792 o.IDGte = iDGte 793 } 794 795 // WithIDLt adds the iDLt to the extras webhooks list params 796 func (o *ExtrasWebhooksListParams) WithIDLt(iDLt *string) *ExtrasWebhooksListParams { 797 o.SetIDLt(iDLt) 798 return o 799 } 800 801 // SetIDLt adds the idLt to the extras webhooks list params 802 func (o *ExtrasWebhooksListParams) SetIDLt(iDLt *string) { 803 o.IDLt = iDLt 804 } 805 806 // WithIDLte adds the iDLte to the extras webhooks list params 807 func (o *ExtrasWebhooksListParams) WithIDLte(iDLte *string) *ExtrasWebhooksListParams { 808 o.SetIDLte(iDLte) 809 return o 810 } 811 812 // SetIDLte adds the idLte to the extras webhooks list params 813 func (o *ExtrasWebhooksListParams) SetIDLte(iDLte *string) { 814 o.IDLte = iDLte 815 } 816 817 // WithIDn adds the iDn to the extras webhooks list params 818 func (o *ExtrasWebhooksListParams) WithIDn(iDn *string) *ExtrasWebhooksListParams { 819 o.SetIDn(iDn) 820 return o 821 } 822 823 // SetIDn adds the idN to the extras webhooks list params 824 func (o *ExtrasWebhooksListParams) SetIDn(iDn *string) { 825 o.IDn = iDn 826 } 827 828 // WithLimit adds the limit to the extras webhooks list params 829 func (o *ExtrasWebhooksListParams) WithLimit(limit *int64) *ExtrasWebhooksListParams { 830 o.SetLimit(limit) 831 return o 832 } 833 834 // SetLimit adds the limit to the extras webhooks list params 835 func (o *ExtrasWebhooksListParams) SetLimit(limit *int64) { 836 o.Limit = limit 837 } 838 839 // WithName adds the name to the extras webhooks list params 840 func (o *ExtrasWebhooksListParams) WithName(name *string) *ExtrasWebhooksListParams { 841 o.SetName(name) 842 return o 843 } 844 845 // SetName adds the name to the extras webhooks list params 846 func (o *ExtrasWebhooksListParams) SetName(name *string) { 847 o.Name = name 848 } 849 850 // WithNameEmpty adds the nameEmpty to the extras webhooks list params 851 func (o *ExtrasWebhooksListParams) WithNameEmpty(nameEmpty *string) *ExtrasWebhooksListParams { 852 o.SetNameEmpty(nameEmpty) 853 return o 854 } 855 856 // SetNameEmpty adds the nameEmpty to the extras webhooks list params 857 func (o *ExtrasWebhooksListParams) SetNameEmpty(nameEmpty *string) { 858 o.NameEmpty = nameEmpty 859 } 860 861 // WithNameIc adds the nameIc to the extras webhooks list params 862 func (o *ExtrasWebhooksListParams) WithNameIc(nameIc *string) *ExtrasWebhooksListParams { 863 o.SetNameIc(nameIc) 864 return o 865 } 866 867 // SetNameIc adds the nameIc to the extras webhooks list params 868 func (o *ExtrasWebhooksListParams) SetNameIc(nameIc *string) { 869 o.NameIc = nameIc 870 } 871 872 // WithNameIe adds the nameIe to the extras webhooks list params 873 func (o *ExtrasWebhooksListParams) WithNameIe(nameIe *string) *ExtrasWebhooksListParams { 874 o.SetNameIe(nameIe) 875 return o 876 } 877 878 // SetNameIe adds the nameIe to the extras webhooks list params 879 func (o *ExtrasWebhooksListParams) SetNameIe(nameIe *string) { 880 o.NameIe = nameIe 881 } 882 883 // WithNameIew adds the nameIew to the extras webhooks list params 884 func (o *ExtrasWebhooksListParams) WithNameIew(nameIew *string) *ExtrasWebhooksListParams { 885 o.SetNameIew(nameIew) 886 return o 887 } 888 889 // SetNameIew adds the nameIew to the extras webhooks list params 890 func (o *ExtrasWebhooksListParams) SetNameIew(nameIew *string) { 891 o.NameIew = nameIew 892 } 893 894 // WithNameIsw adds the nameIsw to the extras webhooks list params 895 func (o *ExtrasWebhooksListParams) WithNameIsw(nameIsw *string) *ExtrasWebhooksListParams { 896 o.SetNameIsw(nameIsw) 897 return o 898 } 899 900 // SetNameIsw adds the nameIsw to the extras webhooks list params 901 func (o *ExtrasWebhooksListParams) SetNameIsw(nameIsw *string) { 902 o.NameIsw = nameIsw 903 } 904 905 // WithNamen adds the namen to the extras webhooks list params 906 func (o *ExtrasWebhooksListParams) WithNamen(namen *string) *ExtrasWebhooksListParams { 907 o.SetNamen(namen) 908 return o 909 } 910 911 // SetNamen adds the nameN to the extras webhooks list params 912 func (o *ExtrasWebhooksListParams) SetNamen(namen *string) { 913 o.Namen = namen 914 } 915 916 // WithNameNic adds the nameNic to the extras webhooks list params 917 func (o *ExtrasWebhooksListParams) WithNameNic(nameNic *string) *ExtrasWebhooksListParams { 918 o.SetNameNic(nameNic) 919 return o 920 } 921 922 // SetNameNic adds the nameNic to the extras webhooks list params 923 func (o *ExtrasWebhooksListParams) SetNameNic(nameNic *string) { 924 o.NameNic = nameNic 925 } 926 927 // WithNameNie adds the nameNie to the extras webhooks list params 928 func (o *ExtrasWebhooksListParams) WithNameNie(nameNie *string) *ExtrasWebhooksListParams { 929 o.SetNameNie(nameNie) 930 return o 931 } 932 933 // SetNameNie adds the nameNie to the extras webhooks list params 934 func (o *ExtrasWebhooksListParams) SetNameNie(nameNie *string) { 935 o.NameNie = nameNie 936 } 937 938 // WithNameNiew adds the nameNiew to the extras webhooks list params 939 func (o *ExtrasWebhooksListParams) WithNameNiew(nameNiew *string) *ExtrasWebhooksListParams { 940 o.SetNameNiew(nameNiew) 941 return o 942 } 943 944 // SetNameNiew adds the nameNiew to the extras webhooks list params 945 func (o *ExtrasWebhooksListParams) SetNameNiew(nameNiew *string) { 946 o.NameNiew = nameNiew 947 } 948 949 // WithNameNisw adds the nameNisw to the extras webhooks list params 950 func (o *ExtrasWebhooksListParams) WithNameNisw(nameNisw *string) *ExtrasWebhooksListParams { 951 o.SetNameNisw(nameNisw) 952 return o 953 } 954 955 // SetNameNisw adds the nameNisw to the extras webhooks list params 956 func (o *ExtrasWebhooksListParams) SetNameNisw(nameNisw *string) { 957 o.NameNisw = nameNisw 958 } 959 960 // WithOffset adds the offset to the extras webhooks list params 961 func (o *ExtrasWebhooksListParams) WithOffset(offset *int64) *ExtrasWebhooksListParams { 962 o.SetOffset(offset) 963 return o 964 } 965 966 // SetOffset adds the offset to the extras webhooks list params 967 func (o *ExtrasWebhooksListParams) SetOffset(offset *int64) { 968 o.Offset = offset 969 } 970 971 // WithPayloadURL adds the payloadURL to the extras webhooks list params 972 func (o *ExtrasWebhooksListParams) WithPayloadURL(payloadURL *string) *ExtrasWebhooksListParams { 973 o.SetPayloadURL(payloadURL) 974 return o 975 } 976 977 // SetPayloadURL adds the payloadUrl to the extras webhooks list params 978 func (o *ExtrasWebhooksListParams) SetPayloadURL(payloadURL *string) { 979 o.PayloadURL = payloadURL 980 } 981 982 // WithPayloadURLEmpty adds the payloadURLEmpty to the extras webhooks list params 983 func (o *ExtrasWebhooksListParams) WithPayloadURLEmpty(payloadURLEmpty *string) *ExtrasWebhooksListParams { 984 o.SetPayloadURLEmpty(payloadURLEmpty) 985 return o 986 } 987 988 // SetPayloadURLEmpty adds the payloadUrlEmpty to the extras webhooks list params 989 func (o *ExtrasWebhooksListParams) SetPayloadURLEmpty(payloadURLEmpty *string) { 990 o.PayloadURLEmpty = payloadURLEmpty 991 } 992 993 // WithPayloadURLIc adds the payloadURLIc to the extras webhooks list params 994 func (o *ExtrasWebhooksListParams) WithPayloadURLIc(payloadURLIc *string) *ExtrasWebhooksListParams { 995 o.SetPayloadURLIc(payloadURLIc) 996 return o 997 } 998 999 // SetPayloadURLIc adds the payloadUrlIc to the extras webhooks list params 1000 func (o *ExtrasWebhooksListParams) SetPayloadURLIc(payloadURLIc *string) { 1001 o.PayloadURLIc = payloadURLIc 1002 } 1003 1004 // WithPayloadURLIe adds the payloadURLIe to the extras webhooks list params 1005 func (o *ExtrasWebhooksListParams) WithPayloadURLIe(payloadURLIe *string) *ExtrasWebhooksListParams { 1006 o.SetPayloadURLIe(payloadURLIe) 1007 return o 1008 } 1009 1010 // SetPayloadURLIe adds the payloadUrlIe to the extras webhooks list params 1011 func (o *ExtrasWebhooksListParams) SetPayloadURLIe(payloadURLIe *string) { 1012 o.PayloadURLIe = payloadURLIe 1013 } 1014 1015 // WithPayloadURLIew adds the payloadURLIew to the extras webhooks list params 1016 func (o *ExtrasWebhooksListParams) WithPayloadURLIew(payloadURLIew *string) *ExtrasWebhooksListParams { 1017 o.SetPayloadURLIew(payloadURLIew) 1018 return o 1019 } 1020 1021 // SetPayloadURLIew adds the payloadUrlIew to the extras webhooks list params 1022 func (o *ExtrasWebhooksListParams) SetPayloadURLIew(payloadURLIew *string) { 1023 o.PayloadURLIew = payloadURLIew 1024 } 1025 1026 // WithPayloadURLIsw adds the payloadURLIsw to the extras webhooks list params 1027 func (o *ExtrasWebhooksListParams) WithPayloadURLIsw(payloadURLIsw *string) *ExtrasWebhooksListParams { 1028 o.SetPayloadURLIsw(payloadURLIsw) 1029 return o 1030 } 1031 1032 // SetPayloadURLIsw adds the payloadUrlIsw to the extras webhooks list params 1033 func (o *ExtrasWebhooksListParams) SetPayloadURLIsw(payloadURLIsw *string) { 1034 o.PayloadURLIsw = payloadURLIsw 1035 } 1036 1037 // WithPayloadURLn adds the payloadURLn to the extras webhooks list params 1038 func (o *ExtrasWebhooksListParams) WithPayloadURLn(payloadURLn *string) *ExtrasWebhooksListParams { 1039 o.SetPayloadURLn(payloadURLn) 1040 return o 1041 } 1042 1043 // SetPayloadURLn adds the payloadUrlN to the extras webhooks list params 1044 func (o *ExtrasWebhooksListParams) SetPayloadURLn(payloadURLn *string) { 1045 o.PayloadURLn = payloadURLn 1046 } 1047 1048 // WithPayloadURLNic adds the payloadURLNic to the extras webhooks list params 1049 func (o *ExtrasWebhooksListParams) WithPayloadURLNic(payloadURLNic *string) *ExtrasWebhooksListParams { 1050 o.SetPayloadURLNic(payloadURLNic) 1051 return o 1052 } 1053 1054 // SetPayloadURLNic adds the payloadUrlNic to the extras webhooks list params 1055 func (o *ExtrasWebhooksListParams) SetPayloadURLNic(payloadURLNic *string) { 1056 o.PayloadURLNic = payloadURLNic 1057 } 1058 1059 // WithPayloadURLNie adds the payloadURLNie to the extras webhooks list params 1060 func (o *ExtrasWebhooksListParams) WithPayloadURLNie(payloadURLNie *string) *ExtrasWebhooksListParams { 1061 o.SetPayloadURLNie(payloadURLNie) 1062 return o 1063 } 1064 1065 // SetPayloadURLNie adds the payloadUrlNie to the extras webhooks list params 1066 func (o *ExtrasWebhooksListParams) SetPayloadURLNie(payloadURLNie *string) { 1067 o.PayloadURLNie = payloadURLNie 1068 } 1069 1070 // WithPayloadURLNiew adds the payloadURLNiew to the extras webhooks list params 1071 func (o *ExtrasWebhooksListParams) WithPayloadURLNiew(payloadURLNiew *string) *ExtrasWebhooksListParams { 1072 o.SetPayloadURLNiew(payloadURLNiew) 1073 return o 1074 } 1075 1076 // SetPayloadURLNiew adds the payloadUrlNiew to the extras webhooks list params 1077 func (o *ExtrasWebhooksListParams) SetPayloadURLNiew(payloadURLNiew *string) { 1078 o.PayloadURLNiew = payloadURLNiew 1079 } 1080 1081 // WithPayloadURLNisw adds the payloadURLNisw to the extras webhooks list params 1082 func (o *ExtrasWebhooksListParams) WithPayloadURLNisw(payloadURLNisw *string) *ExtrasWebhooksListParams { 1083 o.SetPayloadURLNisw(payloadURLNisw) 1084 return o 1085 } 1086 1087 // SetPayloadURLNisw adds the payloadUrlNisw to the extras webhooks list params 1088 func (o *ExtrasWebhooksListParams) SetPayloadURLNisw(payloadURLNisw *string) { 1089 o.PayloadURLNisw = payloadURLNisw 1090 } 1091 1092 // WithSecret adds the secret to the extras webhooks list params 1093 func (o *ExtrasWebhooksListParams) WithSecret(secret *string) *ExtrasWebhooksListParams { 1094 o.SetSecret(secret) 1095 return o 1096 } 1097 1098 // SetSecret adds the secret to the extras webhooks list params 1099 func (o *ExtrasWebhooksListParams) SetSecret(secret *string) { 1100 o.Secret = secret 1101 } 1102 1103 // WithSecretEmpty adds the secretEmpty to the extras webhooks list params 1104 func (o *ExtrasWebhooksListParams) WithSecretEmpty(secretEmpty *string) *ExtrasWebhooksListParams { 1105 o.SetSecretEmpty(secretEmpty) 1106 return o 1107 } 1108 1109 // SetSecretEmpty adds the secretEmpty to the extras webhooks list params 1110 func (o *ExtrasWebhooksListParams) SetSecretEmpty(secretEmpty *string) { 1111 o.SecretEmpty = secretEmpty 1112 } 1113 1114 // WithSecretIc adds the secretIc to the extras webhooks list params 1115 func (o *ExtrasWebhooksListParams) WithSecretIc(secretIc *string) *ExtrasWebhooksListParams { 1116 o.SetSecretIc(secretIc) 1117 return o 1118 } 1119 1120 // SetSecretIc adds the secretIc to the extras webhooks list params 1121 func (o *ExtrasWebhooksListParams) SetSecretIc(secretIc *string) { 1122 o.SecretIc = secretIc 1123 } 1124 1125 // WithSecretIe adds the secretIe to the extras webhooks list params 1126 func (o *ExtrasWebhooksListParams) WithSecretIe(secretIe *string) *ExtrasWebhooksListParams { 1127 o.SetSecretIe(secretIe) 1128 return o 1129 } 1130 1131 // SetSecretIe adds the secretIe to the extras webhooks list params 1132 func (o *ExtrasWebhooksListParams) SetSecretIe(secretIe *string) { 1133 o.SecretIe = secretIe 1134 } 1135 1136 // WithSecretIew adds the secretIew to the extras webhooks list params 1137 func (o *ExtrasWebhooksListParams) WithSecretIew(secretIew *string) *ExtrasWebhooksListParams { 1138 o.SetSecretIew(secretIew) 1139 return o 1140 } 1141 1142 // SetSecretIew adds the secretIew to the extras webhooks list params 1143 func (o *ExtrasWebhooksListParams) SetSecretIew(secretIew *string) { 1144 o.SecretIew = secretIew 1145 } 1146 1147 // WithSecretIsw adds the secretIsw to the extras webhooks list params 1148 func (o *ExtrasWebhooksListParams) WithSecretIsw(secretIsw *string) *ExtrasWebhooksListParams { 1149 o.SetSecretIsw(secretIsw) 1150 return o 1151 } 1152 1153 // SetSecretIsw adds the secretIsw to the extras webhooks list params 1154 func (o *ExtrasWebhooksListParams) SetSecretIsw(secretIsw *string) { 1155 o.SecretIsw = secretIsw 1156 } 1157 1158 // WithSecretn adds the secretn to the extras webhooks list params 1159 func (o *ExtrasWebhooksListParams) WithSecretn(secretn *string) *ExtrasWebhooksListParams { 1160 o.SetSecretn(secretn) 1161 return o 1162 } 1163 1164 // SetSecretn adds the secretN to the extras webhooks list params 1165 func (o *ExtrasWebhooksListParams) SetSecretn(secretn *string) { 1166 o.Secretn = secretn 1167 } 1168 1169 // WithSecretNic adds the secretNic to the extras webhooks list params 1170 func (o *ExtrasWebhooksListParams) WithSecretNic(secretNic *string) *ExtrasWebhooksListParams { 1171 o.SetSecretNic(secretNic) 1172 return o 1173 } 1174 1175 // SetSecretNic adds the secretNic to the extras webhooks list params 1176 func (o *ExtrasWebhooksListParams) SetSecretNic(secretNic *string) { 1177 o.SecretNic = secretNic 1178 } 1179 1180 // WithSecretNie adds the secretNie to the extras webhooks list params 1181 func (o *ExtrasWebhooksListParams) WithSecretNie(secretNie *string) *ExtrasWebhooksListParams { 1182 o.SetSecretNie(secretNie) 1183 return o 1184 } 1185 1186 // SetSecretNie adds the secretNie to the extras webhooks list params 1187 func (o *ExtrasWebhooksListParams) SetSecretNie(secretNie *string) { 1188 o.SecretNie = secretNie 1189 } 1190 1191 // WithSecretNiew adds the secretNiew to the extras webhooks list params 1192 func (o *ExtrasWebhooksListParams) WithSecretNiew(secretNiew *string) *ExtrasWebhooksListParams { 1193 o.SetSecretNiew(secretNiew) 1194 return o 1195 } 1196 1197 // SetSecretNiew adds the secretNiew to the extras webhooks list params 1198 func (o *ExtrasWebhooksListParams) SetSecretNiew(secretNiew *string) { 1199 o.SecretNiew = secretNiew 1200 } 1201 1202 // WithSecretNisw adds the secretNisw to the extras webhooks list params 1203 func (o *ExtrasWebhooksListParams) WithSecretNisw(secretNisw *string) *ExtrasWebhooksListParams { 1204 o.SetSecretNisw(secretNisw) 1205 return o 1206 } 1207 1208 // SetSecretNisw adds the secretNisw to the extras webhooks list params 1209 func (o *ExtrasWebhooksListParams) SetSecretNisw(secretNisw *string) { 1210 o.SecretNisw = secretNisw 1211 } 1212 1213 // WithSslVerification adds the sslVerification to the extras webhooks list params 1214 func (o *ExtrasWebhooksListParams) WithSslVerification(sslVerification *string) *ExtrasWebhooksListParams { 1215 o.SetSslVerification(sslVerification) 1216 return o 1217 } 1218 1219 // SetSslVerification adds the sslVerification to the extras webhooks list params 1220 func (o *ExtrasWebhooksListParams) SetSslVerification(sslVerification *string) { 1221 o.SslVerification = sslVerification 1222 } 1223 1224 // WithTypeCreate adds the typeCreate to the extras webhooks list params 1225 func (o *ExtrasWebhooksListParams) WithTypeCreate(typeCreate *string) *ExtrasWebhooksListParams { 1226 o.SetTypeCreate(typeCreate) 1227 return o 1228 } 1229 1230 // SetTypeCreate adds the typeCreate to the extras webhooks list params 1231 func (o *ExtrasWebhooksListParams) SetTypeCreate(typeCreate *string) { 1232 o.TypeCreate = typeCreate 1233 } 1234 1235 // WithTypeDelete adds the typeDelete to the extras webhooks list params 1236 func (o *ExtrasWebhooksListParams) WithTypeDelete(typeDelete *string) *ExtrasWebhooksListParams { 1237 o.SetTypeDelete(typeDelete) 1238 return o 1239 } 1240 1241 // SetTypeDelete adds the typeDelete to the extras webhooks list params 1242 func (o *ExtrasWebhooksListParams) SetTypeDelete(typeDelete *string) { 1243 o.TypeDelete = typeDelete 1244 } 1245 1246 // WithTypeUpdate adds the typeUpdate to the extras webhooks list params 1247 func (o *ExtrasWebhooksListParams) WithTypeUpdate(typeUpdate *string) *ExtrasWebhooksListParams { 1248 o.SetTypeUpdate(typeUpdate) 1249 return o 1250 } 1251 1252 // SetTypeUpdate adds the typeUpdate to the extras webhooks list params 1253 func (o *ExtrasWebhooksListParams) SetTypeUpdate(typeUpdate *string) { 1254 o.TypeUpdate = typeUpdate 1255 } 1256 1257 // WriteToRequest writes these params to a swagger request 1258 func (o *ExtrasWebhooksListParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error { 1259 1260 if err := r.SetTimeout(o.timeout); err != nil { 1261 return err 1262 } 1263 var res []error 1264 1265 if o.CaFilePath != nil { 1266 1267 // query param ca_file_path 1268 var qrCaFilePath string 1269 1270 if o.CaFilePath != nil { 1271 qrCaFilePath = *o.CaFilePath 1272 } 1273 qCaFilePath := qrCaFilePath 1274 if qCaFilePath != "" { 1275 1276 if err := r.SetQueryParam("ca_file_path", qCaFilePath); err != nil { 1277 return err 1278 } 1279 } 1280 } 1281 1282 if o.CaFilePathEmpty != nil { 1283 1284 // query param ca_file_path__empty 1285 var qrCaFilePathEmpty string 1286 1287 if o.CaFilePathEmpty != nil { 1288 qrCaFilePathEmpty = *o.CaFilePathEmpty 1289 } 1290 qCaFilePathEmpty := qrCaFilePathEmpty 1291 if qCaFilePathEmpty != "" { 1292 1293 if err := r.SetQueryParam("ca_file_path__empty", qCaFilePathEmpty); err != nil { 1294 return err 1295 } 1296 } 1297 } 1298 1299 if o.CaFilePathIc != nil { 1300 1301 // query param ca_file_path__ic 1302 var qrCaFilePathIc string 1303 1304 if o.CaFilePathIc != nil { 1305 qrCaFilePathIc = *o.CaFilePathIc 1306 } 1307 qCaFilePathIc := qrCaFilePathIc 1308 if qCaFilePathIc != "" { 1309 1310 if err := r.SetQueryParam("ca_file_path__ic", qCaFilePathIc); err != nil { 1311 return err 1312 } 1313 } 1314 } 1315 1316 if o.CaFilePathIe != nil { 1317 1318 // query param ca_file_path__ie 1319 var qrCaFilePathIe string 1320 1321 if o.CaFilePathIe != nil { 1322 qrCaFilePathIe = *o.CaFilePathIe 1323 } 1324 qCaFilePathIe := qrCaFilePathIe 1325 if qCaFilePathIe != "" { 1326 1327 if err := r.SetQueryParam("ca_file_path__ie", qCaFilePathIe); err != nil { 1328 return err 1329 } 1330 } 1331 } 1332 1333 if o.CaFilePathIew != nil { 1334 1335 // query param ca_file_path__iew 1336 var qrCaFilePathIew string 1337 1338 if o.CaFilePathIew != nil { 1339 qrCaFilePathIew = *o.CaFilePathIew 1340 } 1341 qCaFilePathIew := qrCaFilePathIew 1342 if qCaFilePathIew != "" { 1343 1344 if err := r.SetQueryParam("ca_file_path__iew", qCaFilePathIew); err != nil { 1345 return err 1346 } 1347 } 1348 } 1349 1350 if o.CaFilePathIsw != nil { 1351 1352 // query param ca_file_path__isw 1353 var qrCaFilePathIsw string 1354 1355 if o.CaFilePathIsw != nil { 1356 qrCaFilePathIsw = *o.CaFilePathIsw 1357 } 1358 qCaFilePathIsw := qrCaFilePathIsw 1359 if qCaFilePathIsw != "" { 1360 1361 if err := r.SetQueryParam("ca_file_path__isw", qCaFilePathIsw); err != nil { 1362 return err 1363 } 1364 } 1365 } 1366 1367 if o.CaFilePathn != nil { 1368 1369 // query param ca_file_path__n 1370 var qrCaFilePathn string 1371 1372 if o.CaFilePathn != nil { 1373 qrCaFilePathn = *o.CaFilePathn 1374 } 1375 qCaFilePathn := qrCaFilePathn 1376 if qCaFilePathn != "" { 1377 1378 if err := r.SetQueryParam("ca_file_path__n", qCaFilePathn); err != nil { 1379 return err 1380 } 1381 } 1382 } 1383 1384 if o.CaFilePathNic != nil { 1385 1386 // query param ca_file_path__nic 1387 var qrCaFilePathNic string 1388 1389 if o.CaFilePathNic != nil { 1390 qrCaFilePathNic = *o.CaFilePathNic 1391 } 1392 qCaFilePathNic := qrCaFilePathNic 1393 if qCaFilePathNic != "" { 1394 1395 if err := r.SetQueryParam("ca_file_path__nic", qCaFilePathNic); err != nil { 1396 return err 1397 } 1398 } 1399 } 1400 1401 if o.CaFilePathNie != nil { 1402 1403 // query param ca_file_path__nie 1404 var qrCaFilePathNie string 1405 1406 if o.CaFilePathNie != nil { 1407 qrCaFilePathNie = *o.CaFilePathNie 1408 } 1409 qCaFilePathNie := qrCaFilePathNie 1410 if qCaFilePathNie != "" { 1411 1412 if err := r.SetQueryParam("ca_file_path__nie", qCaFilePathNie); err != nil { 1413 return err 1414 } 1415 } 1416 } 1417 1418 if o.CaFilePathNiew != nil { 1419 1420 // query param ca_file_path__niew 1421 var qrCaFilePathNiew string 1422 1423 if o.CaFilePathNiew != nil { 1424 qrCaFilePathNiew = *o.CaFilePathNiew 1425 } 1426 qCaFilePathNiew := qrCaFilePathNiew 1427 if qCaFilePathNiew != "" { 1428 1429 if err := r.SetQueryParam("ca_file_path__niew", qCaFilePathNiew); err != nil { 1430 return err 1431 } 1432 } 1433 } 1434 1435 if o.CaFilePathNisw != nil { 1436 1437 // query param ca_file_path__nisw 1438 var qrCaFilePathNisw string 1439 1440 if o.CaFilePathNisw != nil { 1441 qrCaFilePathNisw = *o.CaFilePathNisw 1442 } 1443 qCaFilePathNisw := qrCaFilePathNisw 1444 if qCaFilePathNisw != "" { 1445 1446 if err := r.SetQueryParam("ca_file_path__nisw", qCaFilePathNisw); err != nil { 1447 return err 1448 } 1449 } 1450 } 1451 1452 if o.ContentTypes != nil { 1453 1454 // query param content_types 1455 var qrContentTypes string 1456 1457 if o.ContentTypes != nil { 1458 qrContentTypes = *o.ContentTypes 1459 } 1460 qContentTypes := qrContentTypes 1461 if qContentTypes != "" { 1462 1463 if err := r.SetQueryParam("content_types", qContentTypes); err != nil { 1464 return err 1465 } 1466 } 1467 } 1468 1469 if o.ContentTypesIc != nil { 1470 1471 // query param content_types__ic 1472 var qrContentTypesIc string 1473 1474 if o.ContentTypesIc != nil { 1475 qrContentTypesIc = *o.ContentTypesIc 1476 } 1477 qContentTypesIc := qrContentTypesIc 1478 if qContentTypesIc != "" { 1479 1480 if err := r.SetQueryParam("content_types__ic", qContentTypesIc); err != nil { 1481 return err 1482 } 1483 } 1484 } 1485 1486 if o.ContentTypesIe != nil { 1487 1488 // query param content_types__ie 1489 var qrContentTypesIe string 1490 1491 if o.ContentTypesIe != nil { 1492 qrContentTypesIe = *o.ContentTypesIe 1493 } 1494 qContentTypesIe := qrContentTypesIe 1495 if qContentTypesIe != "" { 1496 1497 if err := r.SetQueryParam("content_types__ie", qContentTypesIe); err != nil { 1498 return err 1499 } 1500 } 1501 } 1502 1503 if o.ContentTypesIew != nil { 1504 1505 // query param content_types__iew 1506 var qrContentTypesIew string 1507 1508 if o.ContentTypesIew != nil { 1509 qrContentTypesIew = *o.ContentTypesIew 1510 } 1511 qContentTypesIew := qrContentTypesIew 1512 if qContentTypesIew != "" { 1513 1514 if err := r.SetQueryParam("content_types__iew", qContentTypesIew); err != nil { 1515 return err 1516 } 1517 } 1518 } 1519 1520 if o.ContentTypesIsw != nil { 1521 1522 // query param content_types__isw 1523 var qrContentTypesIsw string 1524 1525 if o.ContentTypesIsw != nil { 1526 qrContentTypesIsw = *o.ContentTypesIsw 1527 } 1528 qContentTypesIsw := qrContentTypesIsw 1529 if qContentTypesIsw != "" { 1530 1531 if err := r.SetQueryParam("content_types__isw", qContentTypesIsw); err != nil { 1532 return err 1533 } 1534 } 1535 } 1536 1537 if o.ContentTypesn != nil { 1538 1539 // query param content_types__n 1540 var qrContentTypesn string 1541 1542 if o.ContentTypesn != nil { 1543 qrContentTypesn = *o.ContentTypesn 1544 } 1545 qContentTypesn := qrContentTypesn 1546 if qContentTypesn != "" { 1547 1548 if err := r.SetQueryParam("content_types__n", qContentTypesn); err != nil { 1549 return err 1550 } 1551 } 1552 } 1553 1554 if o.ContentTypesNic != nil { 1555 1556 // query param content_types__nic 1557 var qrContentTypesNic string 1558 1559 if o.ContentTypesNic != nil { 1560 qrContentTypesNic = *o.ContentTypesNic 1561 } 1562 qContentTypesNic := qrContentTypesNic 1563 if qContentTypesNic != "" { 1564 1565 if err := r.SetQueryParam("content_types__nic", qContentTypesNic); err != nil { 1566 return err 1567 } 1568 } 1569 } 1570 1571 if o.ContentTypesNie != nil { 1572 1573 // query param content_types__nie 1574 var qrContentTypesNie string 1575 1576 if o.ContentTypesNie != nil { 1577 qrContentTypesNie = *o.ContentTypesNie 1578 } 1579 qContentTypesNie := qrContentTypesNie 1580 if qContentTypesNie != "" { 1581 1582 if err := r.SetQueryParam("content_types__nie", qContentTypesNie); err != nil { 1583 return err 1584 } 1585 } 1586 } 1587 1588 if o.ContentTypesNiew != nil { 1589 1590 // query param content_types__niew 1591 var qrContentTypesNiew string 1592 1593 if o.ContentTypesNiew != nil { 1594 qrContentTypesNiew = *o.ContentTypesNiew 1595 } 1596 qContentTypesNiew := qrContentTypesNiew 1597 if qContentTypesNiew != "" { 1598 1599 if err := r.SetQueryParam("content_types__niew", qContentTypesNiew); err != nil { 1600 return err 1601 } 1602 } 1603 } 1604 1605 if o.ContentTypesNisw != nil { 1606 1607 // query param content_types__nisw 1608 var qrContentTypesNisw string 1609 1610 if o.ContentTypesNisw != nil { 1611 qrContentTypesNisw = *o.ContentTypesNisw 1612 } 1613 qContentTypesNisw := qrContentTypesNisw 1614 if qContentTypesNisw != "" { 1615 1616 if err := r.SetQueryParam("content_types__nisw", qContentTypesNisw); err != nil { 1617 return err 1618 } 1619 } 1620 } 1621 1622 if o.Enabled != nil { 1623 1624 // query param enabled 1625 var qrEnabled string 1626 1627 if o.Enabled != nil { 1628 qrEnabled = *o.Enabled 1629 } 1630 qEnabled := qrEnabled 1631 if qEnabled != "" { 1632 1633 if err := r.SetQueryParam("enabled", qEnabled); err != nil { 1634 return err 1635 } 1636 } 1637 } 1638 1639 if o.HTTPContentType != nil { 1640 1641 // query param http_content_type 1642 var qrHTTPContentType string 1643 1644 if o.HTTPContentType != nil { 1645 qrHTTPContentType = *o.HTTPContentType 1646 } 1647 qHTTPContentType := qrHTTPContentType 1648 if qHTTPContentType != "" { 1649 1650 if err := r.SetQueryParam("http_content_type", qHTTPContentType); err != nil { 1651 return err 1652 } 1653 } 1654 } 1655 1656 if o.HTTPContentTypeEmpty != nil { 1657 1658 // query param http_content_type__empty 1659 var qrHTTPContentTypeEmpty string 1660 1661 if o.HTTPContentTypeEmpty != nil { 1662 qrHTTPContentTypeEmpty = *o.HTTPContentTypeEmpty 1663 } 1664 qHTTPContentTypeEmpty := qrHTTPContentTypeEmpty 1665 if qHTTPContentTypeEmpty != "" { 1666 1667 if err := r.SetQueryParam("http_content_type__empty", qHTTPContentTypeEmpty); err != nil { 1668 return err 1669 } 1670 } 1671 } 1672 1673 if o.HTTPContentTypeIc != nil { 1674 1675 // query param http_content_type__ic 1676 var qrHTTPContentTypeIc string 1677 1678 if o.HTTPContentTypeIc != nil { 1679 qrHTTPContentTypeIc = *o.HTTPContentTypeIc 1680 } 1681 qHTTPContentTypeIc := qrHTTPContentTypeIc 1682 if qHTTPContentTypeIc != "" { 1683 1684 if err := r.SetQueryParam("http_content_type__ic", qHTTPContentTypeIc); err != nil { 1685 return err 1686 } 1687 } 1688 } 1689 1690 if o.HTTPContentTypeIe != nil { 1691 1692 // query param http_content_type__ie 1693 var qrHTTPContentTypeIe string 1694 1695 if o.HTTPContentTypeIe != nil { 1696 qrHTTPContentTypeIe = *o.HTTPContentTypeIe 1697 } 1698 qHTTPContentTypeIe := qrHTTPContentTypeIe 1699 if qHTTPContentTypeIe != "" { 1700 1701 if err := r.SetQueryParam("http_content_type__ie", qHTTPContentTypeIe); err != nil { 1702 return err 1703 } 1704 } 1705 } 1706 1707 if o.HTTPContentTypeIew != nil { 1708 1709 // query param http_content_type__iew 1710 var qrHTTPContentTypeIew string 1711 1712 if o.HTTPContentTypeIew != nil { 1713 qrHTTPContentTypeIew = *o.HTTPContentTypeIew 1714 } 1715 qHTTPContentTypeIew := qrHTTPContentTypeIew 1716 if qHTTPContentTypeIew != "" { 1717 1718 if err := r.SetQueryParam("http_content_type__iew", qHTTPContentTypeIew); err != nil { 1719 return err 1720 } 1721 } 1722 } 1723 1724 if o.HTTPContentTypeIsw != nil { 1725 1726 // query param http_content_type__isw 1727 var qrHTTPContentTypeIsw string 1728 1729 if o.HTTPContentTypeIsw != nil { 1730 qrHTTPContentTypeIsw = *o.HTTPContentTypeIsw 1731 } 1732 qHTTPContentTypeIsw := qrHTTPContentTypeIsw 1733 if qHTTPContentTypeIsw != "" { 1734 1735 if err := r.SetQueryParam("http_content_type__isw", qHTTPContentTypeIsw); err != nil { 1736 return err 1737 } 1738 } 1739 } 1740 1741 if o.HTTPContentTypen != nil { 1742 1743 // query param http_content_type__n 1744 var qrHTTPContentTypen string 1745 1746 if o.HTTPContentTypen != nil { 1747 qrHTTPContentTypen = *o.HTTPContentTypen 1748 } 1749 qHTTPContentTypen := qrHTTPContentTypen 1750 if qHTTPContentTypen != "" { 1751 1752 if err := r.SetQueryParam("http_content_type__n", qHTTPContentTypen); err != nil { 1753 return err 1754 } 1755 } 1756 } 1757 1758 if o.HTTPContentTypeNic != nil { 1759 1760 // query param http_content_type__nic 1761 var qrHTTPContentTypeNic string 1762 1763 if o.HTTPContentTypeNic != nil { 1764 qrHTTPContentTypeNic = *o.HTTPContentTypeNic 1765 } 1766 qHTTPContentTypeNic := qrHTTPContentTypeNic 1767 if qHTTPContentTypeNic != "" { 1768 1769 if err := r.SetQueryParam("http_content_type__nic", qHTTPContentTypeNic); err != nil { 1770 return err 1771 } 1772 } 1773 } 1774 1775 if o.HTTPContentTypeNie != nil { 1776 1777 // query param http_content_type__nie 1778 var qrHTTPContentTypeNie string 1779 1780 if o.HTTPContentTypeNie != nil { 1781 qrHTTPContentTypeNie = *o.HTTPContentTypeNie 1782 } 1783 qHTTPContentTypeNie := qrHTTPContentTypeNie 1784 if qHTTPContentTypeNie != "" { 1785 1786 if err := r.SetQueryParam("http_content_type__nie", qHTTPContentTypeNie); err != nil { 1787 return err 1788 } 1789 } 1790 } 1791 1792 if o.HTTPContentTypeNiew != nil { 1793 1794 // query param http_content_type__niew 1795 var qrHTTPContentTypeNiew string 1796 1797 if o.HTTPContentTypeNiew != nil { 1798 qrHTTPContentTypeNiew = *o.HTTPContentTypeNiew 1799 } 1800 qHTTPContentTypeNiew := qrHTTPContentTypeNiew 1801 if qHTTPContentTypeNiew != "" { 1802 1803 if err := r.SetQueryParam("http_content_type__niew", qHTTPContentTypeNiew); err != nil { 1804 return err 1805 } 1806 } 1807 } 1808 1809 if o.HTTPContentTypeNisw != nil { 1810 1811 // query param http_content_type__nisw 1812 var qrHTTPContentTypeNisw string 1813 1814 if o.HTTPContentTypeNisw != nil { 1815 qrHTTPContentTypeNisw = *o.HTTPContentTypeNisw 1816 } 1817 qHTTPContentTypeNisw := qrHTTPContentTypeNisw 1818 if qHTTPContentTypeNisw != "" { 1819 1820 if err := r.SetQueryParam("http_content_type__nisw", qHTTPContentTypeNisw); err != nil { 1821 return err 1822 } 1823 } 1824 } 1825 1826 if o.HTTPMethod != nil { 1827 1828 // query param http_method 1829 var qrHTTPMethod string 1830 1831 if o.HTTPMethod != nil { 1832 qrHTTPMethod = *o.HTTPMethod 1833 } 1834 qHTTPMethod := qrHTTPMethod 1835 if qHTTPMethod != "" { 1836 1837 if err := r.SetQueryParam("http_method", qHTTPMethod); err != nil { 1838 return err 1839 } 1840 } 1841 } 1842 1843 if o.HTTPMethodn != nil { 1844 1845 // query param http_method__n 1846 var qrHTTPMethodn string 1847 1848 if o.HTTPMethodn != nil { 1849 qrHTTPMethodn = *o.HTTPMethodn 1850 } 1851 qHTTPMethodn := qrHTTPMethodn 1852 if qHTTPMethodn != "" { 1853 1854 if err := r.SetQueryParam("http_method__n", qHTTPMethodn); err != nil { 1855 return err 1856 } 1857 } 1858 } 1859 1860 if o.ID != nil { 1861 1862 // query param id 1863 var qrID string 1864 1865 if o.ID != nil { 1866 qrID = *o.ID 1867 } 1868 qID := qrID 1869 if qID != "" { 1870 1871 if err := r.SetQueryParam("id", qID); err != nil { 1872 return err 1873 } 1874 } 1875 } 1876 1877 if o.IDGt != nil { 1878 1879 // query param id__gt 1880 var qrIDGt string 1881 1882 if o.IDGt != nil { 1883 qrIDGt = *o.IDGt 1884 } 1885 qIDGt := qrIDGt 1886 if qIDGt != "" { 1887 1888 if err := r.SetQueryParam("id__gt", qIDGt); err != nil { 1889 return err 1890 } 1891 } 1892 } 1893 1894 if o.IDGte != nil { 1895 1896 // query param id__gte 1897 var qrIDGte string 1898 1899 if o.IDGte != nil { 1900 qrIDGte = *o.IDGte 1901 } 1902 qIDGte := qrIDGte 1903 if qIDGte != "" { 1904 1905 if err := r.SetQueryParam("id__gte", qIDGte); err != nil { 1906 return err 1907 } 1908 } 1909 } 1910 1911 if o.IDLt != nil { 1912 1913 // query param id__lt 1914 var qrIDLt string 1915 1916 if o.IDLt != nil { 1917 qrIDLt = *o.IDLt 1918 } 1919 qIDLt := qrIDLt 1920 if qIDLt != "" { 1921 1922 if err := r.SetQueryParam("id__lt", qIDLt); err != nil { 1923 return err 1924 } 1925 } 1926 } 1927 1928 if o.IDLte != nil { 1929 1930 // query param id__lte 1931 var qrIDLte string 1932 1933 if o.IDLte != nil { 1934 qrIDLte = *o.IDLte 1935 } 1936 qIDLte := qrIDLte 1937 if qIDLte != "" { 1938 1939 if err := r.SetQueryParam("id__lte", qIDLte); err != nil { 1940 return err 1941 } 1942 } 1943 } 1944 1945 if o.IDn != nil { 1946 1947 // query param id__n 1948 var qrIDn string 1949 1950 if o.IDn != nil { 1951 qrIDn = *o.IDn 1952 } 1953 qIDn := qrIDn 1954 if qIDn != "" { 1955 1956 if err := r.SetQueryParam("id__n", qIDn); err != nil { 1957 return err 1958 } 1959 } 1960 } 1961 1962 if o.Limit != nil { 1963 1964 // query param limit 1965 var qrLimit int64 1966 1967 if o.Limit != nil { 1968 qrLimit = *o.Limit 1969 } 1970 qLimit := swag.FormatInt64(qrLimit) 1971 if qLimit != "" { 1972 1973 if err := r.SetQueryParam("limit", qLimit); err != nil { 1974 return err 1975 } 1976 } 1977 } 1978 1979 if o.Name != nil { 1980 1981 // query param name 1982 var qrName string 1983 1984 if o.Name != nil { 1985 qrName = *o.Name 1986 } 1987 qName := qrName 1988 if qName != "" { 1989 1990 if err := r.SetQueryParam("name", qName); err != nil { 1991 return err 1992 } 1993 } 1994 } 1995 1996 if o.NameEmpty != nil { 1997 1998 // query param name__empty 1999 var qrNameEmpty string 2000 2001 if o.NameEmpty != nil { 2002 qrNameEmpty = *o.NameEmpty 2003 } 2004 qNameEmpty := qrNameEmpty 2005 if qNameEmpty != "" { 2006 2007 if err := r.SetQueryParam("name__empty", qNameEmpty); err != nil { 2008 return err 2009 } 2010 } 2011 } 2012 2013 if o.NameIc != nil { 2014 2015 // query param name__ic 2016 var qrNameIc string 2017 2018 if o.NameIc != nil { 2019 qrNameIc = *o.NameIc 2020 } 2021 qNameIc := qrNameIc 2022 if qNameIc != "" { 2023 2024 if err := r.SetQueryParam("name__ic", qNameIc); err != nil { 2025 return err 2026 } 2027 } 2028 } 2029 2030 if o.NameIe != nil { 2031 2032 // query param name__ie 2033 var qrNameIe string 2034 2035 if o.NameIe != nil { 2036 qrNameIe = *o.NameIe 2037 } 2038 qNameIe := qrNameIe 2039 if qNameIe != "" { 2040 2041 if err := r.SetQueryParam("name__ie", qNameIe); err != nil { 2042 return err 2043 } 2044 } 2045 } 2046 2047 if o.NameIew != nil { 2048 2049 // query param name__iew 2050 var qrNameIew string 2051 2052 if o.NameIew != nil { 2053 qrNameIew = *o.NameIew 2054 } 2055 qNameIew := qrNameIew 2056 if qNameIew != "" { 2057 2058 if err := r.SetQueryParam("name__iew", qNameIew); err != nil { 2059 return err 2060 } 2061 } 2062 } 2063 2064 if o.NameIsw != nil { 2065 2066 // query param name__isw 2067 var qrNameIsw string 2068 2069 if o.NameIsw != nil { 2070 qrNameIsw = *o.NameIsw 2071 } 2072 qNameIsw := qrNameIsw 2073 if qNameIsw != "" { 2074 2075 if err := r.SetQueryParam("name__isw", qNameIsw); err != nil { 2076 return err 2077 } 2078 } 2079 } 2080 2081 if o.Namen != nil { 2082 2083 // query param name__n 2084 var qrNamen string 2085 2086 if o.Namen != nil { 2087 qrNamen = *o.Namen 2088 } 2089 qNamen := qrNamen 2090 if qNamen != "" { 2091 2092 if err := r.SetQueryParam("name__n", qNamen); err != nil { 2093 return err 2094 } 2095 } 2096 } 2097 2098 if o.NameNic != nil { 2099 2100 // query param name__nic 2101 var qrNameNic string 2102 2103 if o.NameNic != nil { 2104 qrNameNic = *o.NameNic 2105 } 2106 qNameNic := qrNameNic 2107 if qNameNic != "" { 2108 2109 if err := r.SetQueryParam("name__nic", qNameNic); err != nil { 2110 return err 2111 } 2112 } 2113 } 2114 2115 if o.NameNie != nil { 2116 2117 // query param name__nie 2118 var qrNameNie string 2119 2120 if o.NameNie != nil { 2121 qrNameNie = *o.NameNie 2122 } 2123 qNameNie := qrNameNie 2124 if qNameNie != "" { 2125 2126 if err := r.SetQueryParam("name__nie", qNameNie); err != nil { 2127 return err 2128 } 2129 } 2130 } 2131 2132 if o.NameNiew != nil { 2133 2134 // query param name__niew 2135 var qrNameNiew string 2136 2137 if o.NameNiew != nil { 2138 qrNameNiew = *o.NameNiew 2139 } 2140 qNameNiew := qrNameNiew 2141 if qNameNiew != "" { 2142 2143 if err := r.SetQueryParam("name__niew", qNameNiew); err != nil { 2144 return err 2145 } 2146 } 2147 } 2148 2149 if o.NameNisw != nil { 2150 2151 // query param name__nisw 2152 var qrNameNisw string 2153 2154 if o.NameNisw != nil { 2155 qrNameNisw = *o.NameNisw 2156 } 2157 qNameNisw := qrNameNisw 2158 if qNameNisw != "" { 2159 2160 if err := r.SetQueryParam("name__nisw", qNameNisw); err != nil { 2161 return err 2162 } 2163 } 2164 } 2165 2166 if o.Offset != nil { 2167 2168 // query param offset 2169 var qrOffset int64 2170 2171 if o.Offset != nil { 2172 qrOffset = *o.Offset 2173 } 2174 qOffset := swag.FormatInt64(qrOffset) 2175 if qOffset != "" { 2176 2177 if err := r.SetQueryParam("offset", qOffset); err != nil { 2178 return err 2179 } 2180 } 2181 } 2182 2183 if o.PayloadURL != nil { 2184 2185 // query param payload_url 2186 var qrPayloadURL string 2187 2188 if o.PayloadURL != nil { 2189 qrPayloadURL = *o.PayloadURL 2190 } 2191 qPayloadURL := qrPayloadURL 2192 if qPayloadURL != "" { 2193 2194 if err := r.SetQueryParam("payload_url", qPayloadURL); err != nil { 2195 return err 2196 } 2197 } 2198 } 2199 2200 if o.PayloadURLEmpty != nil { 2201 2202 // query param payload_url__empty 2203 var qrPayloadURLEmpty string 2204 2205 if o.PayloadURLEmpty != nil { 2206 qrPayloadURLEmpty = *o.PayloadURLEmpty 2207 } 2208 qPayloadURLEmpty := qrPayloadURLEmpty 2209 if qPayloadURLEmpty != "" { 2210 2211 if err := r.SetQueryParam("payload_url__empty", qPayloadURLEmpty); err != nil { 2212 return err 2213 } 2214 } 2215 } 2216 2217 if o.PayloadURLIc != nil { 2218 2219 // query param payload_url__ic 2220 var qrPayloadURLIc string 2221 2222 if o.PayloadURLIc != nil { 2223 qrPayloadURLIc = *o.PayloadURLIc 2224 } 2225 qPayloadURLIc := qrPayloadURLIc 2226 if qPayloadURLIc != "" { 2227 2228 if err := r.SetQueryParam("payload_url__ic", qPayloadURLIc); err != nil { 2229 return err 2230 } 2231 } 2232 } 2233 2234 if o.PayloadURLIe != nil { 2235 2236 // query param payload_url__ie 2237 var qrPayloadURLIe string 2238 2239 if o.PayloadURLIe != nil { 2240 qrPayloadURLIe = *o.PayloadURLIe 2241 } 2242 qPayloadURLIe := qrPayloadURLIe 2243 if qPayloadURLIe != "" { 2244 2245 if err := r.SetQueryParam("payload_url__ie", qPayloadURLIe); err != nil { 2246 return err 2247 } 2248 } 2249 } 2250 2251 if o.PayloadURLIew != nil { 2252 2253 // query param payload_url__iew 2254 var qrPayloadURLIew string 2255 2256 if o.PayloadURLIew != nil { 2257 qrPayloadURLIew = *o.PayloadURLIew 2258 } 2259 qPayloadURLIew := qrPayloadURLIew 2260 if qPayloadURLIew != "" { 2261 2262 if err := r.SetQueryParam("payload_url__iew", qPayloadURLIew); err != nil { 2263 return err 2264 } 2265 } 2266 } 2267 2268 if o.PayloadURLIsw != nil { 2269 2270 // query param payload_url__isw 2271 var qrPayloadURLIsw string 2272 2273 if o.PayloadURLIsw != nil { 2274 qrPayloadURLIsw = *o.PayloadURLIsw 2275 } 2276 qPayloadURLIsw := qrPayloadURLIsw 2277 if qPayloadURLIsw != "" { 2278 2279 if err := r.SetQueryParam("payload_url__isw", qPayloadURLIsw); err != nil { 2280 return err 2281 } 2282 } 2283 } 2284 2285 if o.PayloadURLn != nil { 2286 2287 // query param payload_url__n 2288 var qrPayloadURLn string 2289 2290 if o.PayloadURLn != nil { 2291 qrPayloadURLn = *o.PayloadURLn 2292 } 2293 qPayloadURLn := qrPayloadURLn 2294 if qPayloadURLn != "" { 2295 2296 if err := r.SetQueryParam("payload_url__n", qPayloadURLn); err != nil { 2297 return err 2298 } 2299 } 2300 } 2301 2302 if o.PayloadURLNic != nil { 2303 2304 // query param payload_url__nic 2305 var qrPayloadURLNic string 2306 2307 if o.PayloadURLNic != nil { 2308 qrPayloadURLNic = *o.PayloadURLNic 2309 } 2310 qPayloadURLNic := qrPayloadURLNic 2311 if qPayloadURLNic != "" { 2312 2313 if err := r.SetQueryParam("payload_url__nic", qPayloadURLNic); err != nil { 2314 return err 2315 } 2316 } 2317 } 2318 2319 if o.PayloadURLNie != nil { 2320 2321 // query param payload_url__nie 2322 var qrPayloadURLNie string 2323 2324 if o.PayloadURLNie != nil { 2325 qrPayloadURLNie = *o.PayloadURLNie 2326 } 2327 qPayloadURLNie := qrPayloadURLNie 2328 if qPayloadURLNie != "" { 2329 2330 if err := r.SetQueryParam("payload_url__nie", qPayloadURLNie); err != nil { 2331 return err 2332 } 2333 } 2334 } 2335 2336 if o.PayloadURLNiew != nil { 2337 2338 // query param payload_url__niew 2339 var qrPayloadURLNiew string 2340 2341 if o.PayloadURLNiew != nil { 2342 qrPayloadURLNiew = *o.PayloadURLNiew 2343 } 2344 qPayloadURLNiew := qrPayloadURLNiew 2345 if qPayloadURLNiew != "" { 2346 2347 if err := r.SetQueryParam("payload_url__niew", qPayloadURLNiew); err != nil { 2348 return err 2349 } 2350 } 2351 } 2352 2353 if o.PayloadURLNisw != nil { 2354 2355 // query param payload_url__nisw 2356 var qrPayloadURLNisw string 2357 2358 if o.PayloadURLNisw != nil { 2359 qrPayloadURLNisw = *o.PayloadURLNisw 2360 } 2361 qPayloadURLNisw := qrPayloadURLNisw 2362 if qPayloadURLNisw != "" { 2363 2364 if err := r.SetQueryParam("payload_url__nisw", qPayloadURLNisw); err != nil { 2365 return err 2366 } 2367 } 2368 } 2369 2370 if o.Secret != nil { 2371 2372 // query param secret 2373 var qrSecret string 2374 2375 if o.Secret != nil { 2376 qrSecret = *o.Secret 2377 } 2378 qSecret := qrSecret 2379 if qSecret != "" { 2380 2381 if err := r.SetQueryParam("secret", qSecret); err != nil { 2382 return err 2383 } 2384 } 2385 } 2386 2387 if o.SecretEmpty != nil { 2388 2389 // query param secret__empty 2390 var qrSecretEmpty string 2391 2392 if o.SecretEmpty != nil { 2393 qrSecretEmpty = *o.SecretEmpty 2394 } 2395 qSecretEmpty := qrSecretEmpty 2396 if qSecretEmpty != "" { 2397 2398 if err := r.SetQueryParam("secret__empty", qSecretEmpty); err != nil { 2399 return err 2400 } 2401 } 2402 } 2403 2404 if o.SecretIc != nil { 2405 2406 // query param secret__ic 2407 var qrSecretIc string 2408 2409 if o.SecretIc != nil { 2410 qrSecretIc = *o.SecretIc 2411 } 2412 qSecretIc := qrSecretIc 2413 if qSecretIc != "" { 2414 2415 if err := r.SetQueryParam("secret__ic", qSecretIc); err != nil { 2416 return err 2417 } 2418 } 2419 } 2420 2421 if o.SecretIe != nil { 2422 2423 // query param secret__ie 2424 var qrSecretIe string 2425 2426 if o.SecretIe != nil { 2427 qrSecretIe = *o.SecretIe 2428 } 2429 qSecretIe := qrSecretIe 2430 if qSecretIe != "" { 2431 2432 if err := r.SetQueryParam("secret__ie", qSecretIe); err != nil { 2433 return err 2434 } 2435 } 2436 } 2437 2438 if o.SecretIew != nil { 2439 2440 // query param secret__iew 2441 var qrSecretIew string 2442 2443 if o.SecretIew != nil { 2444 qrSecretIew = *o.SecretIew 2445 } 2446 qSecretIew := qrSecretIew 2447 if qSecretIew != "" { 2448 2449 if err := r.SetQueryParam("secret__iew", qSecretIew); err != nil { 2450 return err 2451 } 2452 } 2453 } 2454 2455 if o.SecretIsw != nil { 2456 2457 // query param secret__isw 2458 var qrSecretIsw string 2459 2460 if o.SecretIsw != nil { 2461 qrSecretIsw = *o.SecretIsw 2462 } 2463 qSecretIsw := qrSecretIsw 2464 if qSecretIsw != "" { 2465 2466 if err := r.SetQueryParam("secret__isw", qSecretIsw); err != nil { 2467 return err 2468 } 2469 } 2470 } 2471 2472 if o.Secretn != nil { 2473 2474 // query param secret__n 2475 var qrSecretn string 2476 2477 if o.Secretn != nil { 2478 qrSecretn = *o.Secretn 2479 } 2480 qSecretn := qrSecretn 2481 if qSecretn != "" { 2482 2483 if err := r.SetQueryParam("secret__n", qSecretn); err != nil { 2484 return err 2485 } 2486 } 2487 } 2488 2489 if o.SecretNic != nil { 2490 2491 // query param secret__nic 2492 var qrSecretNic string 2493 2494 if o.SecretNic != nil { 2495 qrSecretNic = *o.SecretNic 2496 } 2497 qSecretNic := qrSecretNic 2498 if qSecretNic != "" { 2499 2500 if err := r.SetQueryParam("secret__nic", qSecretNic); err != nil { 2501 return err 2502 } 2503 } 2504 } 2505 2506 if o.SecretNie != nil { 2507 2508 // query param secret__nie 2509 var qrSecretNie string 2510 2511 if o.SecretNie != nil { 2512 qrSecretNie = *o.SecretNie 2513 } 2514 qSecretNie := qrSecretNie 2515 if qSecretNie != "" { 2516 2517 if err := r.SetQueryParam("secret__nie", qSecretNie); err != nil { 2518 return err 2519 } 2520 } 2521 } 2522 2523 if o.SecretNiew != nil { 2524 2525 // query param secret__niew 2526 var qrSecretNiew string 2527 2528 if o.SecretNiew != nil { 2529 qrSecretNiew = *o.SecretNiew 2530 } 2531 qSecretNiew := qrSecretNiew 2532 if qSecretNiew != "" { 2533 2534 if err := r.SetQueryParam("secret__niew", qSecretNiew); err != nil { 2535 return err 2536 } 2537 } 2538 } 2539 2540 if o.SecretNisw != nil { 2541 2542 // query param secret__nisw 2543 var qrSecretNisw string 2544 2545 if o.SecretNisw != nil { 2546 qrSecretNisw = *o.SecretNisw 2547 } 2548 qSecretNisw := qrSecretNisw 2549 if qSecretNisw != "" { 2550 2551 if err := r.SetQueryParam("secret__nisw", qSecretNisw); err != nil { 2552 return err 2553 } 2554 } 2555 } 2556 2557 if o.SslVerification != nil { 2558 2559 // query param ssl_verification 2560 var qrSslVerification string 2561 2562 if o.SslVerification != nil { 2563 qrSslVerification = *o.SslVerification 2564 } 2565 qSslVerification := qrSslVerification 2566 if qSslVerification != "" { 2567 2568 if err := r.SetQueryParam("ssl_verification", qSslVerification); err != nil { 2569 return err 2570 } 2571 } 2572 } 2573 2574 if o.TypeCreate != nil { 2575 2576 // query param type_create 2577 var qrTypeCreate string 2578 2579 if o.TypeCreate != nil { 2580 qrTypeCreate = *o.TypeCreate 2581 } 2582 qTypeCreate := qrTypeCreate 2583 if qTypeCreate != "" { 2584 2585 if err := r.SetQueryParam("type_create", qTypeCreate); err != nil { 2586 return err 2587 } 2588 } 2589 } 2590 2591 if o.TypeDelete != nil { 2592 2593 // query param type_delete 2594 var qrTypeDelete string 2595 2596 if o.TypeDelete != nil { 2597 qrTypeDelete = *o.TypeDelete 2598 } 2599 qTypeDelete := qrTypeDelete 2600 if qTypeDelete != "" { 2601 2602 if err := r.SetQueryParam("type_delete", qTypeDelete); err != nil { 2603 return err 2604 } 2605 } 2606 } 2607 2608 if o.TypeUpdate != nil { 2609 2610 // query param type_update 2611 var qrTypeUpdate string 2612 2613 if o.TypeUpdate != nil { 2614 qrTypeUpdate = *o.TypeUpdate 2615 } 2616 qTypeUpdate := qrTypeUpdate 2617 if qTypeUpdate != "" { 2618 2619 if err := r.SetQueryParam("type_update", qTypeUpdate); err != nil { 2620 return err 2621 } 2622 } 2623 } 2624 2625 if len(res) > 0 { 2626 return errors.CompositeValidationError(res...) 2627 } 2628 return nil 2629 }