File tree Expand file tree Collapse file tree 6 files changed +14
-14
lines changed
scaleway-async/scaleway_async/iam/v1alpha1
scaleway/scaleway/iam/v1alpha1 Expand file tree Collapse file tree 6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change 11# This file was automatically generated. DO NOT EDIT.
22# If you have any remark or suggestion do not hesitate to open an issue.
3- from .types import ListAPIKeysRequestBearerType
3+ from .types import BearerType
44from .types import ListAPIKeysRequestOrderBy
55from .types import ListApplicationsRequestOrderBy
66from .types import ListGroupsRequestOrderBy
3232from .api import IamV1Alpha1API
3333
3434__all__ = [
35- "ListAPIKeysRequestBearerType " ,
35+ "BearerType " ,
3636 "ListAPIKeysRequestOrderBy" ,
3737 "ListApplicationsRequestOrderBy" ,
3838 "ListGroupsRequestOrderBy" ,
Original file line number Diff line number Diff line change 1313 validate_path_param ,
1414)
1515from .types import (
16- ListAPIKeysRequestBearerType ,
16+ BearerType ,
1717 ListAPIKeysRequestOrderBy ,
1818 ListApplicationsRequestOrderBy ,
1919 ListGroupsRequestOrderBy ,
@@ -1477,7 +1477,7 @@ async def list_api_keys(
14771477 access_key : Optional [str ] = None ,
14781478 description : Optional [str ] = None ,
14791479 bearer_id : Optional [str ] = None ,
1480- bearer_type : ListAPIKeysRequestBearerType = ListAPIKeysRequestBearerType .UNKNOWN_BEARER_TYPE ,
1480+ bearer_type : BearerType = BearerType .UNKNOWN_BEARER_TYPE ,
14811481 ) -> ListAPIKeysResponse :
14821482 """
14831483 List API keys
@@ -1546,7 +1546,7 @@ async def list_api_keys_all(
15461546 access_key : Optional [str ] = None ,
15471547 description : Optional [str ] = None ,
15481548 bearer_id : Optional [str ] = None ,
1549- bearer_type : Optional [ListAPIKeysRequestBearerType ] = None ,
1549+ bearer_type : Optional [BearerType ] = None ,
15501550 ) -> List [APIKey ]:
15511551 """
15521552 List API keys
Original file line number Diff line number Diff line change 88from typing import List , Optional
99
1010
11- class ListAPIKeysRequestBearerType (str , Enum ):
11+ class BearerType (str , Enum ):
1212 UNKNOWN_BEARER_TYPE = "unknown_bearer_type"
1313 USER = "user"
1414 APPLICATION = "application"
@@ -1386,7 +1386,7 @@ class ListAPIKeysRequest:
13861386 Filter out by bearer ID
13871387 """
13881388
1389- bearer_type : Optional [ListAPIKeysRequestBearerType ]
1389+ bearer_type : Optional [BearerType ]
13901390 """
13911391 Filter out by type of bearer
13921392 """
Original file line number Diff line number Diff line change 11# This file was automatically generated. DO NOT EDIT.
22# If you have any remark or suggestion do not hesitate to open an issue.
3- from .types import ListAPIKeysRequestBearerType
3+ from .types import BearerType
44from .types import ListAPIKeysRequestOrderBy
55from .types import ListApplicationsRequestOrderBy
66from .types import ListGroupsRequestOrderBy
3232from .api import IamV1Alpha1API
3333
3434__all__ = [
35- "ListAPIKeysRequestBearerType " ,
35+ "BearerType " ,
3636 "ListAPIKeysRequestOrderBy" ,
3737 "ListApplicationsRequestOrderBy" ,
3838 "ListGroupsRequestOrderBy" ,
Original file line number Diff line number Diff line change 1313 validate_path_param ,
1414)
1515from .types import (
16- ListAPIKeysRequestBearerType ,
16+ BearerType ,
1717 ListAPIKeysRequestOrderBy ,
1818 ListApplicationsRequestOrderBy ,
1919 ListGroupsRequestOrderBy ,
@@ -1477,7 +1477,7 @@ def list_api_keys(
14771477 access_key : Optional [str ] = None ,
14781478 description : Optional [str ] = None ,
14791479 bearer_id : Optional [str ] = None ,
1480- bearer_type : ListAPIKeysRequestBearerType = ListAPIKeysRequestBearerType .UNKNOWN_BEARER_TYPE ,
1480+ bearer_type : BearerType = BearerType .UNKNOWN_BEARER_TYPE ,
14811481 ) -> ListAPIKeysResponse :
14821482 """
14831483 List API keys
@@ -1546,7 +1546,7 @@ def list_api_keys_all(
15461546 access_key : Optional [str ] = None ,
15471547 description : Optional [str ] = None ,
15481548 bearer_id : Optional [str ] = None ,
1549- bearer_type : Optional [ListAPIKeysRequestBearerType ] = None ,
1549+ bearer_type : Optional [BearerType ] = None ,
15501550 ) -> List [APIKey ]:
15511551 """
15521552 List API keys
Original file line number Diff line number Diff line change 88from typing import List , Optional
99
1010
11- class ListAPIKeysRequestBearerType (str , Enum ):
11+ class BearerType (str , Enum ):
1212 UNKNOWN_BEARER_TYPE = "unknown_bearer_type"
1313 USER = "user"
1414 APPLICATION = "application"
@@ -1386,7 +1386,7 @@ class ListAPIKeysRequest:
13861386 Filter out by bearer ID
13871387 """
13881388
1389- bearer_type : Optional [ListAPIKeysRequestBearerType ]
1389+ bearer_type : Optional [BearerType ]
13901390 """
13911391 Filter out by type of bearer
13921392 """
You can’t perform that action at this time.
0 commit comments