@@ -115,26 +115,37 @@ class ItemWorkspaceMonthlyUsage(BaseModel):
115
115
116
116
class ItemWorkspace (BaseModel ):
117
117
id : str
118
+ """The workspace id."""
118
119
119
120
creator_id : Optional [str ] = FieldInfo (alias = "creatorId" , default = None )
121
+ """The workspace creator id."""
120
122
121
123
date_created : datetime = FieldInfo (alias = "dateCreated" )
124
+ """The workspace creation date."""
122
125
123
126
date_updated : datetime = FieldInfo (alias = "dateUpdated" )
127
+ """The workspace last updated date."""
124
128
125
129
invite_count : int = FieldInfo (alias = "inviteCount" )
130
+ """The number of invites in the workspace."""
126
131
127
132
member_count : int = FieldInfo (alias = "memberCount" )
133
+ """The number of members in the workspace."""
128
134
129
135
name : str
136
+ """The workspace name."""
130
137
131
138
period_end_date : Optional [datetime ] = FieldInfo (alias = "periodEndDate" , default = None )
139
+ """The end date of the current billing period."""
132
140
133
141
period_start_date : Optional [datetime ] = FieldInfo (alias = "periodStartDate" , default = None )
142
+ """The start date of the current billing period."""
134
143
135
144
project_count : int = FieldInfo (alias = "projectCount" )
145
+ """The number of projects in the workspace."""
136
146
137
147
slug : str
148
+ """The workspace slug."""
138
149
139
150
status : Literal [
140
151
"active" , "past_due" , "unpaid" , "canceled" , "incomplete" , "incomplete_expired" , "trialing" , "paused"
@@ -143,6 +154,7 @@ class ItemWorkspace(BaseModel):
143
154
monthly_usage : Optional [List [ItemWorkspaceMonthlyUsage ]] = FieldInfo (alias = "monthlyUsage" , default = None )
144
155
145
156
saml_only_access : Optional [bool ] = FieldInfo (alias = "samlOnlyAccess" , default = None )
157
+ """Whether the workspace only allows SAML authentication."""
146
158
147
159
wildcard_domains : Optional [List [str ]] = FieldInfo (alias = "wildcardDomains" , default = None )
148
160
0 commit comments