diff --git a/api.md b/api.md index d6933bf..dfcf5a9 100644 --- a/api.md +++ b/api.md @@ -2,7 +2,7 @@ ```python from gitpod.types import ( - AutomationTrigger, + AutomationTrigge, EnvironmentClass, FieldValue, OrganizationRole, diff --git a/src/gitpod/types/__init__.py b/src/gitpod/types/__init__.py index 03e376b..2f59c86 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 b21e2c6..15d0d3f 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_trigger import AutomationTrigger +from ...shared.automation_trigge import AutomationTrigge __all__ = ["ServiceMetadata"] @@ -128,5 +128,5 @@ class ServiceMetadata(BaseModel): identify the service in user interactions (e.g. the CLI). """ - triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None) + triggered_by: Optional[List[AutomationTrigge]] = 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 8599c69..614e053 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_trigger import AutomationTrigger +from ...shared_params.automation_trigge import AutomationTrigge __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[AutomationTrigger], PropertyInfo(alias="triggeredBy")] + triggered_by: Annotated[Iterable[AutomationTrigge], 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 80a22fb..1465e67 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_trigger import AutomationTrigger +from ...shared_params.automation_trigge import AutomationTrigge __all__ = ["ServiceUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec", "SpecCommands", "Status"] @@ -34,7 +34,7 @@ class ServiceUpdateParams(TypedDict, total=False): class MetadataTriggeredBy(TypedDict, total=False): - trigger: Iterable[AutomationTrigger] + trigger: Iterable[AutomationTrigge] 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 4b0d59a..5c6c0e1 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_trigger import AutomationTrigger +from ...shared_params.automation_trigge import AutomationTrigge __all__ = ["TaskUpdateParams", "Metadata", "MetadataTriggeredBy", "Spec"] @@ -24,7 +24,7 @@ class TaskUpdateParams(TypedDict, total=False): class MetadataTriggeredBy(TypedDict, total=False): - trigger: Iterable[AutomationTrigger] + trigger: Iterable[AutomationTrigge] class Metadata(TypedDict, total=False): diff --git a/src/gitpod/types/shared/__init__.py b/src/gitpod/types/shared/__init__.py index ba0e256..4e32020 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_trigger.py b/src/gitpod/types/shared/automation_trigge.py similarity index 86% rename from src/gitpod/types/shared/automation_trigger.py rename to src/gitpod/types/shared/automation_trigge.py index 2b5eba3..0aa1987 100644 --- a/src/gitpod/types/shared/automation_trigger.py +++ b/src/gitpod/types/shared/automation_trigge.py @@ -6,10 +6,10 @@ from ..._models import BaseModel -__all__ = ["AutomationTrigger"] +__all__ = ["AutomationTrigge"] -class AutomationTrigger(BaseModel): +class AutomationTrigge(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 23e6c2c..7365a70 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_trigger import AutomationTrigger +from .automation_trigge import AutomationTrigge __all__ = ["TaskMetadata"] @@ -128,5 +128,5 @@ class TaskMetadata(BaseModel): the task in user interactions (e.g. the CLI). """ - triggered_by: Optional[List[AutomationTrigger]] = FieldInfo(alias="triggeredBy", default=None) + triggered_by: Optional[List[AutomationTrigge]] = 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 51915e7..0b7a205 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_trigger.py b/src/gitpod/types/shared_params/automation_trigge.py similarity index 83% rename from src/gitpod/types/shared_params/automation_trigger.py rename to src/gitpod/types/shared_params/automation_trigge.py index 173dff4..772b75e 100644 --- a/src/gitpod/types/shared_params/automation_trigger.py +++ b/src/gitpod/types/shared_params/automation_trigge.py @@ -6,10 +6,10 @@ from ..._utils import PropertyInfo -__all__ = ["AutomationTrigger"] +__all__ = ["AutomationTrigge"] -class AutomationTrigger(TypedDict, total=False): +class AutomationTrigge(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 50ffda7..afd8788 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_trigger import AutomationTrigger +from .automation_trigge import AutomationTrigge __all__ = ["TaskMetadata"] @@ -129,5 +129,5 @@ class TaskMetadata(TypedDict, total=False): the task in user interactions (e.g. the CLI). """ - triggered_by: Annotated[Iterable[AutomationTrigger], PropertyInfo(alias="triggeredBy")] + triggered_by: Annotated[Iterable[AutomationTrigge], PropertyInfo(alias="triggeredBy")] """triggered_by is a list of trigger that start the task."""