-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenvironment.py
More file actions
36 lines (26 loc) · 1016 Bytes
/
environment.py
File metadata and controls
36 lines (26 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from typing import Optional
from .._models import BaseModel
from .environment_spec import EnvironmentSpec
from .environment_status import EnvironmentStatus
from .environment_metadata import EnvironmentMetadata
__all__ = ["Environment"]
class Environment(BaseModel):
"""+resource get environment"""
id: str
"""ID is a unique identifier of this environment.
No other environment with the same name must be managed by this environment
manager
"""
metadata: Optional[EnvironmentMetadata] = None
"""
Metadata is data associated with this environment that's required for other
parts of Gitpod to function
"""
spec: Optional[EnvironmentSpec] = None
"""
Spec is the configuration of the environment that's required for the runner to
start the environment
"""
status: Optional[EnvironmentStatus] = None
"""Status is the current status of the environment"""