|
41 | 41 | from ....pagination import SyncSinglePage, AsyncSinglePage
|
42 | 42 | from ...._base_client import AsyncPaginator, make_request_options
|
43 | 43 | from ....types.magic_transit import pcap_create_params
|
| 44 | +from ....types.magic_transit.pcap_filter_param import PCAPFilterParam |
44 | 45 | from ....types.magic_transit.pcap_get_response import PCAPGetResponse
|
45 | 46 | from ....types.magic_transit.pcap_list_response import PCAPListResponse
|
46 | 47 | from ....types.magic_transit.pcap_create_response import PCAPCreateResponse
|
@@ -85,7 +86,7 @@ def create(
|
85 | 86 | system: Literal["magic-transit"],
|
86 | 87 | time_limit: float,
|
87 | 88 | type: Literal["simple", "full"],
|
88 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestSimpleFilterV1 | NotGiven = NOT_GIVEN, |
| 89 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
89 | 90 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
90 | 91 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
91 | 92 | extra_headers: Headers | None = None,
|
@@ -131,7 +132,7 @@ def create(
|
131 | 132 | time_limit: float,
|
132 | 133 | type: Literal["simple", "full"],
|
133 | 134 | byte_limit: float | NotGiven = NOT_GIVEN,
|
134 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestFullFilterV1 | NotGiven = NOT_GIVEN, |
| 135 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
135 | 136 | packet_limit: float | NotGiven = NOT_GIVEN,
|
136 | 137 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
137 | 138 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
@@ -188,7 +189,7 @@ def create(
|
188 | 189 | system: Literal["magic-transit"],
|
189 | 190 | time_limit: float,
|
190 | 191 | type: Literal["simple", "full"],
|
191 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestSimpleFilterV1 | NotGiven = NOT_GIVEN, |
| 192 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
192 | 193 | colo_name: str | NotGiven = NOT_GIVEN,
|
193 | 194 | destination_conf: str | NotGiven = NOT_GIVEN,
|
194 | 195 | byte_limit: float | NotGiven = NOT_GIVEN,
|
@@ -354,7 +355,7 @@ async def create(
|
354 | 355 | system: Literal["magic-transit"],
|
355 | 356 | time_limit: float,
|
356 | 357 | type: Literal["simple", "full"],
|
357 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestSimpleFilterV1 | NotGiven = NOT_GIVEN, |
| 358 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
358 | 359 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
359 | 360 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
360 | 361 | extra_headers: Headers | None = None,
|
@@ -400,7 +401,7 @@ async def create(
|
400 | 401 | time_limit: float,
|
401 | 402 | type: Literal["simple", "full"],
|
402 | 403 | byte_limit: float | NotGiven = NOT_GIVEN,
|
403 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestFullFilterV1 | NotGiven = NOT_GIVEN, |
| 404 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
404 | 405 | packet_limit: float | NotGiven = NOT_GIVEN,
|
405 | 406 | # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
|
406 | 407 | # The extra values given here take precedence over values defined on the client or passed to this method.
|
@@ -457,7 +458,7 @@ async def create(
|
457 | 458 | system: Literal["magic-transit"],
|
458 | 459 | time_limit: float,
|
459 | 460 | type: Literal["simple", "full"],
|
460 |
| - filter_v1: pcap_create_params.MagicVisibilityPCAPsPCAPsRequestSimpleFilterV1 | NotGiven = NOT_GIVEN, |
| 461 | + filter_v1: PCAPFilterParam | NotGiven = NOT_GIVEN, |
461 | 462 | colo_name: str | NotGiven = NOT_GIVEN,
|
462 | 463 | destination_conf: str | NotGiven = NOT_GIVEN,
|
463 | 464 | byte_limit: float | NotGiven = NOT_GIVEN,
|
|
0 commit comments