2121)
2222from ._utils import is_given , get_async_library
2323from ._version import __version__
24- from .resources import usage , events , groups , editors , secrets , accounts , identity
24+ from .resources import usage , events , groups , editors , secrets , accounts , gateways , identity
2525from ._streaming import Stream as Stream , AsyncStream as AsyncStream
2626from ._exceptions import GitpodError , APIStatusError
2727from ._base_client import (
@@ -43,6 +43,7 @@ class Gitpod(SyncAPIClient):
4343 editors : editors .EditorsResource
4444 environments : environments .EnvironmentsResource
4545 events : events .EventsResource
46+ gateways : gateways .GatewaysResource
4647 groups : groups .GroupsResource
4748 identity : identity .IdentityResource
4849 organizations : organizations .OrganizationsResource
@@ -112,6 +113,7 @@ def __init__(
112113 self .editors = editors .EditorsResource (self )
113114 self .environments = environments .EnvironmentsResource (self )
114115 self .events = events .EventsResource (self )
116+ self .gateways = gateways .GatewaysResource (self )
115117 self .groups = groups .GroupsResource (self )
116118 self .identity = identity .IdentityResource (self )
117119 self .organizations = organizations .OrganizationsResource (self )
@@ -233,6 +235,7 @@ class AsyncGitpod(AsyncAPIClient):
233235 editors : editors .AsyncEditorsResource
234236 environments : environments .AsyncEnvironmentsResource
235237 events : events .AsyncEventsResource
238+ gateways : gateways .AsyncGatewaysResource
236239 groups : groups .AsyncGroupsResource
237240 identity : identity .AsyncIdentityResource
238241 organizations : organizations .AsyncOrganizationsResource
@@ -302,6 +305,7 @@ def __init__(
302305 self .editors = editors .AsyncEditorsResource (self )
303306 self .environments = environments .AsyncEnvironmentsResource (self )
304307 self .events = events .AsyncEventsResource (self )
308+ self .gateways = gateways .AsyncGatewaysResource (self )
305309 self .groups = groups .AsyncGroupsResource (self )
306310 self .identity = identity .AsyncIdentityResource (self )
307311 self .organizations = organizations .AsyncOrganizationsResource (self )
@@ -424,6 +428,7 @@ def __init__(self, client: Gitpod) -> None:
424428 self .editors = editors .EditorsResourceWithRawResponse (client .editors )
425429 self .environments = environments .EnvironmentsResourceWithRawResponse (client .environments )
426430 self .events = events .EventsResourceWithRawResponse (client .events )
431+ self .gateways = gateways .GatewaysResourceWithRawResponse (client .gateways )
427432 self .groups = groups .GroupsResourceWithRawResponse (client .groups )
428433 self .identity = identity .IdentityResourceWithRawResponse (client .identity )
429434 self .organizations = organizations .OrganizationsResourceWithRawResponse (client .organizations )
@@ -440,6 +445,7 @@ def __init__(self, client: AsyncGitpod) -> None:
440445 self .editors = editors .AsyncEditorsResourceWithRawResponse (client .editors )
441446 self .environments = environments .AsyncEnvironmentsResourceWithRawResponse (client .environments )
442447 self .events = events .AsyncEventsResourceWithRawResponse (client .events )
448+ self .gateways = gateways .AsyncGatewaysResourceWithRawResponse (client .gateways )
443449 self .groups = groups .AsyncGroupsResourceWithRawResponse (client .groups )
444450 self .identity = identity .AsyncIdentityResourceWithRawResponse (client .identity )
445451 self .organizations = organizations .AsyncOrganizationsResourceWithRawResponse (client .organizations )
@@ -456,6 +462,7 @@ def __init__(self, client: Gitpod) -> None:
456462 self .editors = editors .EditorsResourceWithStreamingResponse (client .editors )
457463 self .environments = environments .EnvironmentsResourceWithStreamingResponse (client .environments )
458464 self .events = events .EventsResourceWithStreamingResponse (client .events )
465+ self .gateways = gateways .GatewaysResourceWithStreamingResponse (client .gateways )
459466 self .groups = groups .GroupsResourceWithStreamingResponse (client .groups )
460467 self .identity = identity .IdentityResourceWithStreamingResponse (client .identity )
461468 self .organizations = organizations .OrganizationsResourceWithStreamingResponse (client .organizations )
@@ -472,6 +479,7 @@ def __init__(self, client: AsyncGitpod) -> None:
472479 self .editors = editors .AsyncEditorsResourceWithStreamingResponse (client .editors )
473480 self .environments = environments .AsyncEnvironmentsResourceWithStreamingResponse (client .environments )
474481 self .events = events .AsyncEventsResourceWithStreamingResponse (client .events )
482+ self .gateways = gateways .AsyncGatewaysResourceWithStreamingResponse (client .gateways )
475483 self .groups = groups .AsyncGroupsResourceWithStreamingResponse (client .groups )
476484 self .identity = identity .AsyncIdentityResourceWithStreamingResponse (client .identity )
477485 self .organizations = organizations .AsyncOrganizationsResourceWithStreamingResponse (client .organizations )
0 commit comments