Skip to content

Commit 78c0bdd

Browse files
feat: [backend] Adding direct_share field to groups
1 parent 9cd272f commit 78c0bdd

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 167
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-a7829781a00de0869ad8536dcd67bdbbf224a42f5f3f922065a44e73b0534bbf.yml
3-
openapi_spec_hash: 59381e16e5de8d6de09f92abc0433e02
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-dfd13e2785a9e0e662f79aab0c03d45144d803fedd87510ec27791b79ede6162.yml
3+
openapi_spec_hash: 8dcab0c2c65f9eb778e9b2cf3c44bf5c
44
config_hash: 21bab2a4731f1e55c0a2c62588576282

src/gitpod/types/group.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,12 @@ class Group(BaseModel):
107107

108108
description: Optional[str] = None
109109

110+
direct_share: Optional[bool] = FieldInfo(alias="directShare", default=None)
111+
"""
112+
direct_share indicates that this group is used for direct user sharing on
113+
resources. These groups are hidden from regular group listings.
114+
"""
115+
110116
member_count: Optional[int] = FieldInfo(alias="memberCount", default=None)
111117
"""member_count is the total number of members in this group"""
112118

0 commit comments

Comments
 (0)