diff --git a/api.md b/api.md index dfcf5a9..d6933bf 100644 --- a/api.md +++ b/api.md @@ -2,7 +2,7 @@ ```python from gitpod.types import ( - AutomationTrigge, + AutomationTrigger, EnvironmentClass, FieldValue, OrganizationRole, diff --git a/src/gitpod/types/__init__.py b/src/gitpod/types/__init__.py index 2f59c86..03e376b 100644 --- a/src/gitpod/types/__init__.py +++ b/src/gitpod/types/__init__.py @@ -18,9 +18,9 @@ UserStatus as UserStatus, TaskMetadata as TaskMetadata, TaskExecution as TaskExecution, - AutomationTrigge as AutomationTrigge, EnvironmentClass as EnvironmentClass, OrganizationRole as OrganizationRole, + AutomationTrigger as AutomationTrigger, TaskExecutionSpec as TaskExecutionSpec, TaskExecutionPhase as TaskExecutionPhase, TaskExecutionStatus as TaskExecutionStatus, diff --git a/src/gitpod/types/environments/automations/service_metadata.py b/src/gitpod/types/environments/automations/service_metadata.py index 15d0d3f..b21e2c6 100644 --- a/src/gitpod/types/environments/automations/service_metadata.py +++ b/src/gitpod/types/environments/automations/service_metadata.py @@ -7,7 +7,7 @@ from ...._models import BaseModel from ...shared.subject import Subject -from ...shared.automation_trigge import AutomationTrigge +from ...shared.automation_trigger import AutomationTrigger __all__ = ["ServiceMetadata"] @@ -128,5 +128,5 @@ class ServiceMetadata(BaseModel): identify the service in user interactions (e.g. the CLI). """ - triggered_by: Optional[List[AutomationTrigge]] = FieldInfo(alias="triggeredBy", default=None) + triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None) """triggered_by is a list of trigger that start the service.""" diff --git a/src/gitpod/types/environments/automations/service_metadata_param.py b/src/gitpod/types/environments/automations/service_metadata_param.py index 614e053..8599c69 100644 --- a/src/gitpod/types/environments/automations/service_metadata_param.py +++ b/src/gitpod/types/environments/automations/service_metadata_param.py @@ -8,7 +8,7 @@ from ...._utils import PropertyInfo from ...shared_params.subject import Subject -from ...shared_params.automation_trigge import AutomationTrigge +from ...shared_params.automation_trigger import AutomationTrigger __all__ = ["ServiceMetadataParam"] @@ -129,5 +129,5 @@ class ServiceMetadataParam(TypedDict, total=False): identify the service in user interactions (e.g. the CLI). """ - triggered_by: Annotated[Iterable[AutomationTrigge], PropertyInfo(alias="triggeredBy")] + triggered_by: Annotated[Iterable[AutomationTrigger], PropertyInfo(alias="triggeredBy")] """triggered_by is a list of trigger that start the service.""" diff --git a/src/gitpod/types/environments/automations/service_update_params.py b/src/gitpod/types/environments/automations/service_update_params.py index 1465e67..80a22fb 100644 --- a/src/gitpod/types/environments/automations/service_update_params.py +++ b/src/gitpod/types/environments/automations/service_update_params.py @@ -8,7 +8,7 @@ from ...._utils import PropertyInfo from .service_phase import ServicePhase from ...shared_params.runs_on import RunsOn -from ...shared_params.automation_trigge import AutomationTrigge +from ...shared_params.automation_trigger import AutomationTrigger __all__ = ["ServiceUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec", "SpecCommands", "Status"] @@ -34,7 +34,7 @@ class ServiceUpdateParams(TypedDict, total=False): class MetadataTriggeredBy(TypedDict, total=False): - trigger: Iterable[AutomationTrigge] + trigger: Iterable[AutomationTrigger] class Metadata(TypedDict, total=False): diff --git a/src/gitpod/types/environments/automations/task_update_params.py b/src/gitpod/types/environments/automations/task_update_params.py index 5c6c0e1..4b0d59a 100644 --- a/src/gitpod/types/environments/automations/task_update_params.py +++ b/src/gitpod/types/environments/automations/task_update_params.py @@ -7,7 +7,7 @@ from ...._utils import PropertyInfo from ...shared_params.runs_on import RunsOn -from ...shared_params.automation_trigge import AutomationTrigge +from ...shared_params.automation_trigger import AutomationTrigger __all__ = ["TaskUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec"] @@ -24,7 +24,7 @@ class TaskUpdateParams(TypedDict, total=False): class MetadataTriggeredBy(TypedDict, total=False): - trigger: Iterable[AutomationTrigge] + trigger: Iterable[AutomationTrigger] class Metadata(TypedDict, total=False): diff --git a/src/gitpod/types/shared/__init__.py b/src/gitpod/types/shared/__init__.py index 4e32020..ba0e256 100644 --- a/src/gitpod/types/shared/__init__.py +++ b/src/gitpod/types/shared/__init__.py @@ -9,9 +9,9 @@ from .user_status import UserStatus as UserStatus from .task_metadata import TaskMetadata as TaskMetadata from .task_execution import TaskExecution as TaskExecution -from .automation_trigge import AutomationTrigge as AutomationTrigge from .environment_class import EnvironmentClass as EnvironmentClass from .organization_role import OrganizationRole as OrganizationRole +from .automation_trigger import AutomationTrigger as AutomationTrigger from .task_execution_spec import TaskExecutionSpec as TaskExecutionSpec from .task_execution_phase import TaskExecutionPhase as TaskExecutionPhase from .task_execution_status import TaskExecutionStatus as TaskExecutionStatus diff --git a/src/gitpod/types/shared/automation_trigge.py b/src/gitpod/types/shared/automation_trigger.py similarity index 86% rename from src/gitpod/types/shared/automation_trigge.py rename to src/gitpod/types/shared/automation_trigger.py index 0aa1987..2b5eba3 100644 --- a/src/gitpod/types/shared/automation_trigge.py +++ b/src/gitpod/types/shared/automation_trigger.py @@ -6,10 +6,10 @@ from ..._models import BaseModel -__all__ = ["AutomationTrigge"] +__all__ = ["AutomationTrigger"] -class AutomationTrigge(BaseModel): +class AutomationTrigger(BaseModel): manual: Optional[bool] = None post_devcontainer_start: Optional[bool] = FieldInfo(alias="postDevcontainerStart", default=None) diff --git a/src/gitpod/types/shared/task_metadata.py b/src/gitpod/types/shared/task_metadata.py index 7365a70..23e6c2c 100644 --- a/src/gitpod/types/shared/task_metadata.py +++ b/src/gitpod/types/shared/task_metadata.py @@ -7,7 +7,7 @@ from .subject import Subject from ..._models import BaseModel -from .automation_trigge import AutomationTrigge +from .automation_trigger import AutomationTrigger __all__ = ["TaskMetadata"] @@ -128,5 +128,5 @@ class TaskMetadata(BaseModel): the task in user interactions (e.g. the CLI). """ - triggered_by: Optional[List[AutomationTrigge]] = FieldInfo(alias="triggeredBy", default=None) + triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None) """triggered_by is a list of trigger that start the task.""" diff --git a/src/gitpod/types/shared_params/__init__.py b/src/gitpod/types/shared_params/__init__.py index 0b7a205..51915e7 100644 --- a/src/gitpod/types/shared_params/__init__.py +++ b/src/gitpod/types/shared_params/__init__.py @@ -6,7 +6,7 @@ from .task_spec import TaskSpec as TaskSpec from .field_value import FieldValue as FieldValue from .task_metadata import TaskMetadata as TaskMetadata -from .automation_trigge import AutomationTrigge as AutomationTrigge from .environment_class import EnvironmentClass as EnvironmentClass from .organization_role import OrganizationRole as OrganizationRole +from .automation_trigger import AutomationTrigger as AutomationTrigger from .task_execution_phase import TaskExecutionPhase as TaskExecutionPhase diff --git a/src/gitpod/types/shared_params/automation_trigge.py b/src/gitpod/types/shared_params/automation_trigger.py similarity index 83% rename from src/gitpod/types/shared_params/automation_trigge.py rename to src/gitpod/types/shared_params/automation_trigger.py index 772b75e..173dff4 100644 --- a/src/gitpod/types/shared_params/automation_trigge.py +++ b/src/gitpod/types/shared_params/automation_trigger.py @@ -6,10 +6,10 @@ from ..._utils import PropertyInfo -__all__ = ["AutomationTrigge"] +__all__ = ["AutomationTrigger"] -class AutomationTrigge(TypedDict, total=False): +class AutomationTrigger(TypedDict, total=False): manual: bool post_devcontainer_start: Annotated[bool, PropertyInfo(alias="postDevcontainerStart")] diff --git a/src/gitpod/types/shared_params/task_metadata.py b/src/gitpod/types/shared_params/task_metadata.py index afd8788..50ffda7 100644 --- a/src/gitpod/types/shared_params/task_metadata.py +++ b/src/gitpod/types/shared_params/task_metadata.py @@ -8,7 +8,7 @@ from .subject import Subject from ..._utils import PropertyInfo -from .automation_trigge import AutomationTrigge +from .automation_trigger import AutomationTrigger __all__ = ["TaskMetadata"] @@ -129,5 +129,5 @@ class TaskMetadata(TypedDict, total=False): the task in user interactions (e.g. the CLI). """ - triggered_by: Annotated[Iterable[AutomationTrigge], PropertyInfo(alias="triggeredBy")] + triggered_by: Annotated[Iterable[AutomationTrigger], PropertyInfo(alias="triggeredBy")] """triggered_by is a list of trigger that start the task."""