|
26 | 26 | make_request_options,
|
27 | 27 | )
|
28 | 28 | from ....types.intel.attack_surface_report import (
|
29 |
| - Product, |
30 |
| - Subject, |
31 |
| - IssueType, |
32 |
| - IssueClass, |
| 29 | + ProductParam, |
| 30 | + SubjectParam, |
| 31 | + IssueTypeParam, |
| 32 | + IssueClassParam, |
33 | 33 | IssueListResponse,
|
34 | 34 | IssueTypeResponse,
|
35 | 35 | IssueClassResponse,
|
@@ -60,18 +60,18 @@ def list(
|
60 | 60 | *,
|
61 | 61 | account_id: str,
|
62 | 62 | dismissed: bool | NotGiven = NOT_GIVEN,
|
63 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
64 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
65 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
66 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
| 63 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 64 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 65 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 66 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
67 | 67 | page: int | NotGiven = NOT_GIVEN,
|
68 | 68 | per_page: int | NotGiven = NOT_GIVEN,
|
69 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
70 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 69 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 70 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
71 | 71 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
72 | 72 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
73 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
74 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 73 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 74 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
75 | 75 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
76 | 76 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
77 | 77 | extra_headers: Headers | None = None,
|
@@ -134,16 +134,16 @@ def class_(
|
134 | 134 | *,
|
135 | 135 | account_id: str,
|
136 | 136 | dismissed: bool | NotGiven = NOT_GIVEN,
|
137 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
138 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
139 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
140 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
141 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
142 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 137 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 138 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 139 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 140 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 141 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 142 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
143 | 143 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
144 | 144 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
145 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
146 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 145 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 146 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
147 | 147 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
148 | 148 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
149 | 149 | extra_headers: Headers | None = None,
|
@@ -249,16 +249,16 @@ def severity(
|
249 | 249 | *,
|
250 | 250 | account_id: str,
|
251 | 251 | dismissed: bool | NotGiven = NOT_GIVEN,
|
252 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
253 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
254 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
255 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
256 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
257 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 252 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 253 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 254 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 255 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 256 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 257 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
258 | 258 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
259 | 259 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
260 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
261 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 260 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 261 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
262 | 262 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
263 | 263 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
264 | 264 | extra_headers: Headers | None = None,
|
@@ -315,16 +315,16 @@ def type(
|
315 | 315 | *,
|
316 | 316 | account_id: str,
|
317 | 317 | dismissed: bool | NotGiven = NOT_GIVEN,
|
318 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
319 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
320 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
321 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
322 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
323 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 318 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 319 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 320 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 321 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 322 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 323 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
324 | 324 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
325 | 325 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
326 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
327 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 326 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 327 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
328 | 328 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
329 | 329 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
330 | 330 | extra_headers: Headers | None = None,
|
@@ -391,18 +391,18 @@ def list(
|
391 | 391 | *,
|
392 | 392 | account_id: str,
|
393 | 393 | dismissed: bool | NotGiven = NOT_GIVEN,
|
394 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
395 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
396 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
397 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
| 394 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 395 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 396 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 397 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
398 | 398 | page: int | NotGiven = NOT_GIVEN,
|
399 | 399 | per_page: int | NotGiven = NOT_GIVEN,
|
400 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
401 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 400 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 401 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
402 | 402 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
403 | 403 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
404 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
405 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 404 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 405 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
406 | 406 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
407 | 407 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
408 | 408 | extra_headers: Headers | None = None,
|
@@ -465,16 +465,16 @@ async def class_(
|
465 | 465 | *,
|
466 | 466 | account_id: str,
|
467 | 467 | dismissed: bool | NotGiven = NOT_GIVEN,
|
468 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
469 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
470 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
471 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
472 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
473 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 468 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 469 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 470 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 471 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 472 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 473 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
474 | 474 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
475 | 475 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
476 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
477 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 476 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 477 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
478 | 478 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
479 | 479 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
480 | 480 | extra_headers: Headers | None = None,
|
@@ -580,16 +580,16 @@ async def severity(
|
580 | 580 | *,
|
581 | 581 | account_id: str,
|
582 | 582 | dismissed: bool | NotGiven = NOT_GIVEN,
|
583 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
584 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
585 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
586 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
587 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
588 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 583 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 584 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 585 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 586 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 587 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 588 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
589 | 589 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
590 | 590 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
591 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
592 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 591 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 592 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
593 | 593 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
594 | 594 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
595 | 595 | extra_headers: Headers | None = None,
|
@@ -646,16 +646,16 @@ async def type(
|
646 | 646 | *,
|
647 | 647 | account_id: str,
|
648 | 648 | dismissed: bool | NotGiven = NOT_GIVEN,
|
649 |
| - issue_class: List[IssueClass] | NotGiven = NOT_GIVEN, |
650 |
| - issue_class_neq: List[IssueClass] | NotGiven = NOT_GIVEN, |
651 |
| - issue_type: List[IssueType] | NotGiven = NOT_GIVEN, |
652 |
| - issue_type_neq: List[IssueType] | NotGiven = NOT_GIVEN, |
653 |
| - product: List[Product] | NotGiven = NOT_GIVEN, |
654 |
| - product_neq: List[Product] | NotGiven = NOT_GIVEN, |
| 649 | + issue_class: IssueClassParam | NotGiven = NOT_GIVEN, |
| 650 | + issue_class_neq: IssueClassParam | NotGiven = NOT_GIVEN, |
| 651 | + issue_type: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 652 | + issue_type_neq: IssueTypeParam | NotGiven = NOT_GIVEN, |
| 653 | + product: ProductParam | NotGiven = NOT_GIVEN, |
| 654 | + product_neq: ProductParam | NotGiven = NOT_GIVEN, |
655 | 655 | severity: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
656 | 656 | severity_neq: List[SeverityQueryParam] | NotGiven = NOT_GIVEN,
|
657 |
| - subject: List[Subject] | NotGiven = NOT_GIVEN, |
658 |
| - subject_neq: List[Subject] | NotGiven = NOT_GIVEN, |
| 657 | + subject: SubjectParam | NotGiven = NOT_GIVEN, |
| 658 | + subject_neq: SubjectParam | NotGiven = NOT_GIVEN, |
659 | 659 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
660 | 660 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
661 | 661 | extra_headers: Headers | None = None,
|
|
0 commit comments