Skip to content

Commit 74b9fa3

Browse files
feat(api): add announcement banner fields to organization proto
1 parent ed3b654 commit 74b9fa3

12 files changed

Lines changed: 677 additions & 4 deletions

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 170
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-7094f695e14998d4c22ae9f95f44c57d551a1499bcee445df15d7d55999ded39.yml
3-
openapi_spec_hash: d156e0330620815b6f5f0e20f29d74c6
4-
config_hash: 83bee2a76e377c5645fe54cd8edec02d
1+
configured_endpoints: 172
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-b1f3c630c150b9219800d95b3bb4df29bede775d34f46fc2eb3af34cb91110b5.yml
3+
openapi_spec_hash: 49ece69cbfc81e6172f62a7542b2541a
4+
config_hash: dad4ee53c894c682895d6d045c4c2105

api.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -365,6 +365,23 @@ Methods:
365365
- <code title="post /gitpod.v1.OrganizationService/ListMembers">client.organizations.<a href="./src/gitpod/resources/organizations/organizations.py">list_members</a>(\*\*<a href="src/gitpod/types/organization_list_members_params.py">params</a>) -> <a href="./src/gitpod/types/organization_member.py">SyncMembersPage[OrganizationMember]</a></code>
366366
- <code title="post /gitpod.v1.OrganizationService/SetRole">client.organizations.<a href="./src/gitpod/resources/organizations/organizations.py">set_role</a>(\*\*<a href="src/gitpod/types/organization_set_role_params.py">params</a>) -> object</code>
367367

368+
## AnnouncementBanner
369+
370+
Types:
371+
372+
```python
373+
from gitpod.types.organizations import (
374+
AnnouncementBanner,
375+
AnnouncementBannerUpdateResponse,
376+
AnnouncementBannerGetResponse,
377+
)
378+
```
379+
380+
Methods:
381+
382+
- <code title="post /gitpod.v1.OrganizationService/UpdateAnnouncementBanner">client.organizations.announcement_banner.<a href="./src/gitpod/resources/organizations/announcement_banner.py">update</a>(\*\*<a href="src/gitpod/types/organizations/announcement_banner_update_params.py">params</a>) -> <a href="./src/gitpod/types/organizations/announcement_banner_update_response.py">AnnouncementBannerUpdateResponse</a></code>
383+
- <code title="post /gitpod.v1.OrganizationService/GetAnnouncementBanner">client.organizations.announcement_banner.<a href="./src/gitpod/resources/organizations/announcement_banner.py">get</a>(\*\*<a href="src/gitpod/types/organizations/announcement_banner_get_params.py">params</a>) -> <a href="./src/gitpod/types/organizations/announcement_banner_get_response.py">AnnouncementBannerGetResponse</a></code>
384+
368385
## CustomDomains
369386

370387
Types:

src/gitpod/resources/organizations/__init__.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,14 @@
4040
SSOConfigurationsResourceWithStreamingResponse,
4141
AsyncSSOConfigurationsResourceWithStreamingResponse,
4242
)
43+
from .announcement_banner import (
44+
AnnouncementBannerResource,
45+
AsyncAnnouncementBannerResource,
46+
AnnouncementBannerResourceWithRawResponse,
47+
AsyncAnnouncementBannerResourceWithRawResponse,
48+
AnnouncementBannerResourceWithStreamingResponse,
49+
AsyncAnnouncementBannerResourceWithStreamingResponse,
50+
)
4351
from .scim_configurations import (
4452
ScimConfigurationsResource,
4553
AsyncScimConfigurationsResource,
@@ -58,6 +66,12 @@
5866
)
5967

6068
__all__ = [
69+
"AnnouncementBannerResource",
70+
"AsyncAnnouncementBannerResource",
71+
"AnnouncementBannerResourceWithRawResponse",
72+
"AsyncAnnouncementBannerResourceWithRawResponse",
73+
"AnnouncementBannerResourceWithStreamingResponse",
74+
"AsyncAnnouncementBannerResourceWithStreamingResponse",
6175
"CustomDomainsResource",
6276
"AsyncCustomDomainsResource",
6377
"CustomDomainsResourceWithRawResponse",

0 commit comments

Comments
 (0)