Skip to content

Commit 71f8113

Browse files
Generate serviceaccount
1 parent d1ada67 commit 71f8113

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

services/serviceaccount/oas_commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f15f0e449d347f36dde5feac11c328b72d7f10dc
1+
18fae4fac0a9d9b1d0146a37d5513022ad3710cb

services/serviceaccount/src/stackit/serviceaccount/models/service_account.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,10 @@ class ServiceAccount(BaseModel):
4141
)
4242
internal: StrictBool = Field(description="Flag indicating internal service accounts")
4343
project_id: StrictStr = Field(description="ID of the related project", alias="projectId")
44-
__properties: ClassVar[List[str]] = ["email", "id", "internal", "projectId"]
44+
token_endpoint: StrictStr = Field(
45+
description="Endpoint used to obtain access tokens for the service account", alias="tokenEndpoint"
46+
)
47+
__properties: ClassVar[List[str]] = ["email", "id", "internal", "projectId", "tokenEndpoint"]
4548

4649
model_config = ConfigDict(
4750
populate_by_name=True,
@@ -97,6 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]:
97100
"id": obj.get("id"),
98101
"internal": obj.get("internal"),
99102
"projectId": obj.get("projectId"),
103+
"tokenEndpoint": obj.get("tokenEndpoint"),
100104
}
101105
)
102106
return _obj

0 commit comments

Comments
 (0)