@@ -69,7 +69,7 @@ def create(
69
69
self ,
70
70
* ,
71
71
zone_id : str ,
72
- body : Iterable [operation_create_params .Body ],
72
+ operations : Iterable [operation_create_params .Operation ],
73
73
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
74
74
# The extra values given here take precedence over values defined on the client or passed to this method.
75
75
extra_headers : Headers | None = None ,
@@ -100,7 +100,7 @@ def create(
100
100
raise ValueError (f"Expected a non-empty value for `zone_id` but received { zone_id !r} " )
101
101
return self ._post (
102
102
f"/zones/{ zone_id } /api_gateway/operations" ,
103
- body = maybe_transform (body , Iterable [operation_create_params .Body ]),
103
+ body = maybe_transform (operations , Iterable [operation_create_params .Operation ]),
104
104
options = make_request_options (
105
105
extra_headers = extra_headers ,
106
106
extra_query = extra_query ,
@@ -344,7 +344,7 @@ async def create(
344
344
self ,
345
345
* ,
346
346
zone_id : str ,
347
- body : Iterable [operation_create_params .Body ],
347
+ operations : Iterable [operation_create_params .Operation ],
348
348
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
349
349
# The extra values given here take precedence over values defined on the client or passed to this method.
350
350
extra_headers : Headers | None = None ,
@@ -375,7 +375,7 @@ async def create(
375
375
raise ValueError (f"Expected a non-empty value for `zone_id` but received { zone_id !r} " )
376
376
return await self ._post (
377
377
f"/zones/{ zone_id } /api_gateway/operations" ,
378
- body = await async_maybe_transform (body , Iterable [operation_create_params .Body ]),
378
+ body = await async_maybe_transform (operations , Iterable [operation_create_params .Operation ]),
379
379
options = make_request_options (
380
380
extra_headers = extra_headers ,
381
381
extra_query = extra_query ,
0 commit comments