2020)
2121from ...._base_client import make_request_options
2222from ....types .api_gateway .settings import schema_validation_edit_params , schema_validation_update_params
23- from ....types .api_gateway .settings .schema_validation_get_response import SchemaValidationGetResponse
24- from ....types .api_gateway .settings .schema_validation_edit_response import SchemaValidationEditResponse
25- from ....types .api_gateway .settings .schema_validation_update_response import SchemaValidationUpdateResponse
23+ from ....types .api_gateway .settings .settings import Settings
2624
2725__all__ = ["SchemaValidationResource" , "AsyncSchemaValidationResource" ]
2826
@@ -62,7 +60,7 @@ def update(
6260 extra_query : Query | None = None ,
6361 extra_body : Body | None = None ,
6462 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
65- ) -> SchemaValidationUpdateResponse :
63+ ) -> Settings :
6664 """
6765 Updates zone level schema validation settings on the zone
6866
@@ -109,7 +107,7 @@ def update(
109107 options = make_request_options (
110108 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
111109 ),
112- cast_to = SchemaValidationUpdateResponse ,
110+ cast_to = Settings ,
113111 )
114112
115113 @typing_extensions .deprecated (
@@ -127,7 +125,7 @@ def edit(
127125 extra_query : Query | None = None ,
128126 extra_body : Body | None = None ,
129127 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
130- ) -> SchemaValidationEditResponse :
128+ ) -> Settings :
131129 """
132130 Updates zone level schema validation settings on the zone
133131
@@ -175,7 +173,7 @@ def edit(
175173 options = make_request_options (
176174 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
177175 ),
178- cast_to = SchemaValidationEditResponse ,
176+ cast_to = Settings ,
179177 )
180178
181179 @typing_extensions .deprecated (
@@ -191,7 +189,7 @@ def get(
191189 extra_query : Query | None = None ,
192190 extra_body : Body | None = None ,
193191 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
194- ) -> SchemaValidationGetResponse :
192+ ) -> Settings :
195193 """
196194 Retrieves zone level schema validation settings currently set on the zone
197195
@@ -213,7 +211,7 @@ def get(
213211 options = make_request_options (
214212 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
215213 ),
216- cast_to = SchemaValidationGetResponse ,
214+ cast_to = Settings ,
217215 )
218216
219217
@@ -252,7 +250,7 @@ async def update(
252250 extra_query : Query | None = None ,
253251 extra_body : Body | None = None ,
254252 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
255- ) -> SchemaValidationUpdateResponse :
253+ ) -> Settings :
256254 """
257255 Updates zone level schema validation settings on the zone
258256
@@ -299,7 +297,7 @@ async def update(
299297 options = make_request_options (
300298 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
301299 ),
302- cast_to = SchemaValidationUpdateResponse ,
300+ cast_to = Settings ,
303301 )
304302
305303 @typing_extensions .deprecated (
@@ -317,7 +315,7 @@ async def edit(
317315 extra_query : Query | None = None ,
318316 extra_body : Body | None = None ,
319317 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
320- ) -> SchemaValidationEditResponse :
318+ ) -> Settings :
321319 """
322320 Updates zone level schema validation settings on the zone
323321
@@ -365,7 +363,7 @@ async def edit(
365363 options = make_request_options (
366364 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
367365 ),
368- cast_to = SchemaValidationEditResponse ,
366+ cast_to = Settings ,
369367 )
370368
371369 @typing_extensions .deprecated (
@@ -381,7 +379,7 @@ async def get(
381379 extra_query : Query | None = None ,
382380 extra_body : Body | None = None ,
383381 timeout : float | httpx .Timeout | None | NotGiven = not_given ,
384- ) -> SchemaValidationGetResponse :
382+ ) -> Settings :
385383 """
386384 Retrieves zone level schema validation settings currently set on the zone
387385
@@ -403,7 +401,7 @@ async def get(
403401 options = make_request_options (
404402 extra_headers = extra_headers , extra_query = extra_query , extra_body = extra_body , timeout = timeout
405403 ),
406- cast_to = SchemaValidationGetResponse ,
404+ cast_to = Settings ,
407405 )
408406
409407
0 commit comments