Skip to content

Commit

Permalink
Added missing fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
Knucklessg1 committed Aug 7, 2024
1 parent 4032da5 commit 9b3c8f1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitlab_api/gitlab_db_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
9 changes: 9 additions & 0 deletions gitlab_api/gitlab_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 9b3c8f1

Please sign in to comment.