From 9b3c8f1630d42ec275a55554282c6421bdee4107 Mon Sep 17 00:00:00 2001 From: KnucklesSG1 Date: Wed, 7 Aug 2024 11:39:56 -0500 Subject: [PATCH] Added missing fields. --- gitlab_api/gitlab_db_models.py | 3 +++ gitlab_api/gitlab_models.py | 9 +++++++++ 2 files changed, 12 insertions(+) diff --git a/gitlab_api/gitlab_db_models.py b/gitlab_api/gitlab_db_models.py index 3a8b787..7f7945b 100644 --- a/gitlab_api/gitlab_db_models.py +++ b/gitlab_api/gitlab_db_models.py @@ -2366,6 +2366,9 @@ class NamespaceDBModel(BaseDBModel): avatar_url = Column(String, nullable=True) web_url = Column(String, nullable=True) billable_members_count = Column(Integer, nullable=True) + plan = Column(String, nullable=True) + trial_ends_on = Column(DateTime, nullable=True) + trial = Column(Boolean, nullable=True) parent_id = Column( Integer, diff --git a/gitlab_api/gitlab_models.py b/gitlab_api/gitlab_models.py index 0b1952b..99e925a 100644 --- a/gitlab_api/gitlab_models.py +++ b/gitlab_api/gitlab_models.py @@ -3413,6 +3413,15 @@ class Meta: billable_members_count: Optional[int] = Field( default=None, description="The Billable members count of the namespace, if any." ) + plan: Optional[str] = Field( + default=None, description="Plan of the Namespace" + ) + trial_ends_on: Optional[datetime] = Field( + default=None, description="The date the Trial ends" + ) + trial: Optional[bool] = Field( + default=None, description="Indicates if the namespace is a trial" + ) class Namespaces(BaseModel):