1212from gcore .types .cloud .registries import (
1313 RegistryUser ,
1414 RegistryUserList ,
15- RegistryUserCreated ,
15+ RegistryUserCreate ,
1616 UserRefreshSecretResponse ,
1717)
1818
@@ -31,7 +31,7 @@ def test_method_create(self, client: Gcore) -> None:
3131 duration = 14 ,
3232 name = "user1" ,
3333 )
34- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
34+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
3535
3636 @parametrize
3737 def test_method_create_with_all_params (self , client : Gcore ) -> None :
@@ -44,7 +44,7 @@ def test_method_create_with_all_params(self, client: Gcore) -> None:
4444 read_only = False ,
4545 secret = "secret" ,
4646 )
47- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
47+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
4848
4949 @parametrize
5050 def test_raw_response_create (self , client : Gcore ) -> None :
@@ -59,7 +59,7 @@ def test_raw_response_create(self, client: Gcore) -> None:
5959 assert response .is_closed is True
6060 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
6161 user = response .parse ()
62- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
62+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
6363
6464 @parametrize
6565 def test_streaming_response_create (self , client : Gcore ) -> None :
@@ -74,7 +74,7 @@ def test_streaming_response_create(self, client: Gcore) -> None:
7474 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
7575
7676 user = response .parse ()
77- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
77+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
7878
7979 assert cast (Any , response .is_closed ) is True
8080
@@ -223,7 +223,7 @@ def test_method_create_multiple(self, client: Gcore) -> None:
223223 }
224224 ],
225225 )
226- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
226+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
227227
228228 @parametrize
229229 def test_raw_response_create_multiple (self , client : Gcore ) -> None :
@@ -242,7 +242,7 @@ def test_raw_response_create_multiple(self, client: Gcore) -> None:
242242 assert response .is_closed is True
243243 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
244244 user = response .parse ()
245- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
245+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
246246
247247 @parametrize
248248 def test_streaming_response_create_multiple (self , client : Gcore ) -> None :
@@ -261,7 +261,7 @@ def test_streaming_response_create_multiple(self, client: Gcore) -> None:
261261 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
262262
263263 user = response .parse ()
264- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
264+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
265265
266266 assert cast (Any , response .is_closed ) is True
267267
@@ -320,7 +320,7 @@ async def test_method_create(self, async_client: AsyncGcore) -> None:
320320 duration = 14 ,
321321 name = "user1" ,
322322 )
323- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
323+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
324324
325325 @parametrize
326326 async def test_method_create_with_all_params (self , async_client : AsyncGcore ) -> None :
@@ -333,7 +333,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGcore) ->
333333 read_only = False ,
334334 secret = "secret" ,
335335 )
336- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
336+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
337337
338338 @parametrize
339339 async def test_raw_response_create (self , async_client : AsyncGcore ) -> None :
@@ -348,7 +348,7 @@ async def test_raw_response_create(self, async_client: AsyncGcore) -> None:
348348 assert response .is_closed is True
349349 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
350350 user = await response .parse ()
351- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
351+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
352352
353353 @parametrize
354354 async def test_streaming_response_create (self , async_client : AsyncGcore ) -> None :
@@ -363,7 +363,7 @@ async def test_streaming_response_create(self, async_client: AsyncGcore) -> None
363363 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
364364
365365 user = await response .parse ()
366- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
366+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
367367
368368 assert cast (Any , response .is_closed ) is True
369369
@@ -512,7 +512,7 @@ async def test_method_create_multiple(self, async_client: AsyncGcore) -> None:
512512 }
513513 ],
514514 )
515- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
515+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
516516
517517 @parametrize
518518 async def test_raw_response_create_multiple (self , async_client : AsyncGcore ) -> None :
@@ -531,7 +531,7 @@ async def test_raw_response_create_multiple(self, async_client: AsyncGcore) -> N
531531 assert response .is_closed is True
532532 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
533533 user = await response .parse ()
534- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
534+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
535535
536536 @parametrize
537537 async def test_streaming_response_create_multiple (self , async_client : AsyncGcore ) -> None :
@@ -550,7 +550,7 @@ async def test_streaming_response_create_multiple(self, async_client: AsyncGcore
550550 assert response .http_request .headers .get ("X-Stainless-Lang" ) == "python"
551551
552552 user = await response .parse ()
553- assert_matches_type (RegistryUserCreated , user , path = ["response" ])
553+ assert_matches_type (RegistryUserCreate , user , path = ["response" ])
554554
555555 assert cast (Any , response .is_closed ) is True
556556
0 commit comments