@@ -67,6 +67,15 @@ class SpacesList(BaseModel):
6767 results : Union [list [Space ], Any ] = Field (default = None )
6868 links : Union [SpacesListLinks , Any ] = Field (default = None , alias = "_links" )
6969
70+ class PageBody (BaseModel ):
71+ """Page body content"""
72+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
73+
74+ storage : Union [dict [str , Any ], Any ] = Field (default = None , description = "Storage format body" )
75+ """Storage format body"""
76+ atlas_doc_format : Union [dict [str , Any ], Any ] = Field (default = None , description = "Atlas doc format body" )
77+ """Atlas doc format body"""
78+
7079class PageLinks (BaseModel ):
7180 """Links related to the page"""
7281 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -99,15 +108,6 @@ class PageVersion(BaseModel):
99108 ncs_step_version : Union [Any , Any ] = Field (default = None , alias = "ncsStepVersion" , description = "NCS step version" )
100109 """NCS step version"""
101110
102- class PageBody (BaseModel ):
103- """Page body content"""
104- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
105-
106- storage : Union [dict [str , Any ], Any ] = Field (default = None , description = "Storage format body" )
107- """Storage format body"""
108- atlas_doc_format : Union [dict [str , Any ], Any ] = Field (default = None , description = "Atlas doc format body" )
109- """Atlas doc format body"""
110-
111111class Page (BaseModel ):
112112 """Confluence page object"""
113113 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -143,6 +143,30 @@ class PagesList(BaseModel):
143143 results : Union [list [Page ], Any ] = Field (default = None )
144144 links : Union [PagesListLinks , Any ] = Field (default = None , alias = "_links" )
145145
146+ class BlogPostLinks (BaseModel ):
147+ """Links related to the blog post"""
148+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
149+
150+ webui : Union [str , Any ] = Field (default = None , description = "Web UI link" )
151+ """Web UI link"""
152+ editui : Union [str , Any ] = Field (default = None , description = "Edit UI link" )
153+ """Edit UI link"""
154+ edituiv2 : Union [str , Any ] = Field (default = None , description = "Edit UI v2 link" )
155+ """Edit UI v2 link"""
156+ tinyui : Union [str , Any ] = Field (default = None , description = "Tiny UI link" )
157+ """Tiny UI link"""
158+ base : Union [str , Any ] = Field (default = None , description = "Base URL" )
159+ """Base URL"""
160+
161+ class BlogPostBody (BaseModel ):
162+ """Blog post body content"""
163+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
164+
165+ storage : Union [dict [str , Any ], Any ] = Field (default = None , description = "Storage format body" )
166+ """Storage format body"""
167+ atlas_doc_format : Union [dict [str , Any ], Any ] = Field (default = None , description = "Atlas doc format body" )
168+ """Atlas doc format body"""
169+
146170class BlogPostVersion (BaseModel ):
147171 """Version information"""
148172 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -160,30 +184,6 @@ class BlogPostVersion(BaseModel):
160184 ncs_step_version : Union [Any , Any ] = Field (default = None , alias = "ncsStepVersion" , description = "NCS step version" )
161185 """NCS step version"""
162186
163- class BlogPostBody (BaseModel ):
164- """Blog post body content"""
165- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
166-
167- storage : Union [dict [str , Any ], Any ] = Field (default = None , description = "Storage format body" )
168- """Storage format body"""
169- atlas_doc_format : Union [dict [str , Any ], Any ] = Field (default = None , description = "Atlas doc format body" )
170- """Atlas doc format body"""
171-
172- class BlogPostLinks (BaseModel ):
173- """Links related to the blog post"""
174- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
175-
176- webui : Union [str , Any ] = Field (default = None , description = "Web UI link" )
177- """Web UI link"""
178- editui : Union [str , Any ] = Field (default = None , description = "Edit UI link" )
179- """Edit UI link"""
180- edituiv2 : Union [str , Any ] = Field (default = None , description = "Edit UI v2 link" )
181- """Edit UI v2 link"""
182- tinyui : Union [str , Any ] = Field (default = None , description = "Tiny UI link" )
183- """Tiny UI link"""
184- base : Union [str , Any ] = Field (default = None , description = "Base URL" )
185- """Base URL"""
186-
187187class BlogPost (BaseModel ):
188188 """Confluence blog post object"""
189189 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -261,15 +261,6 @@ class AuditRecordAffectedobject(BaseModel):
261261 object_type : Union [str , Any ] = Field (default = None , alias = "objectType" , description = "Type of the affected object" )
262262 """Type of the affected object"""
263263
264- class AuditRecordAssociatedobjectsItem (BaseModel ):
265- """Nested schema for AuditRecord.associatedObjects_item"""
266- model_config = ConfigDict (extra = "allow" , populate_by_name = True )
267-
268- name : Union [str , Any ] = Field (default = None , description = "Name of the associated object" )
269- """Name of the associated object"""
270- object_type : Union [str , Any ] = Field (default = None , alias = "objectType" , description = "Type of the associated object" )
271- """Type of the associated object"""
272-
273264class AuditRecordAuthor (BaseModel ):
274265 """User who triggered the audit event"""
275266 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
@@ -289,6 +280,15 @@ class AuditRecordAuthor(BaseModel):
289280 operations : Union [Any , Any ] = Field (default = None , description = "Operations available for the author" )
290281 """Operations available for the author"""
291282
283+ class AuditRecordAssociatedobjectsItem (BaseModel ):
284+ """Nested schema for AuditRecord.associatedObjects_item"""
285+ model_config = ConfigDict (extra = "allow" , populate_by_name = True )
286+
287+ name : Union [str , Any ] = Field (default = None , description = "Name of the associated object" )
288+ """Name of the associated object"""
289+ object_type : Union [str , Any ] = Field (default = None , alias = "objectType" , description = "Type of the associated object" )
290+ """Type of the associated object"""
291+
292292class AuditRecord (BaseModel ):
293293 """Confluence audit record"""
294294 model_config = ConfigDict (extra = "allow" , populate_by_name = True )
0 commit comments