@@ -69,7 +69,7 @@ def create(
6969 self ,
7070 * ,
7171 zone_id : str ,
72- body : Iterable [operation_create_params .Body ],
72+ operations : Iterable [operation_create_params .Operation ],
7373 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
7474 # The extra values given here take precedence over values defined on the client or passed to this method.
7575 extra_headers : Headers | None = None ,
@@ -100,7 +100,7 @@ def create(
100100 raise ValueError (f"Expected a non-empty value for `zone_id` but received { zone_id !r} " )
101101 return self ._post (
102102 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 ]),
104104 options = make_request_options (
105105 extra_headers = extra_headers ,
106106 extra_query = extra_query ,
@@ -344,7 +344,7 @@ async def create(
344344 self ,
345345 * ,
346346 zone_id : str ,
347- body : Iterable [operation_create_params .Body ],
347+ operations : Iterable [operation_create_params .Operation ],
348348 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
349349 # The extra values given here take precedence over values defined on the client or passed to this method.
350350 extra_headers : Headers | None = None ,
@@ -375,7 +375,7 @@ async def create(
375375 raise ValueError (f"Expected a non-empty value for `zone_id` but received { zone_id !r} " )
376376 return await self ._post (
377377 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 ]),
379379 options = make_request_options (
380380 extra_headers = extra_headers ,
381381 extra_query = extra_query ,
0 commit comments