# ------------------------------------------------------------------------------# Output# ------------------------------------------------------------------------------# --- Deepest nested objects first ---
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResultBodyStorage(BaseResponse):"""BodyType schema for storage representation."""@cached_propertydefrepresentation(self)->str:returnself._get("representation")@cached_propertydefvalue(self)->str:returnself._get("value")
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResultBodyAtlasDocFormat(BaseResponse):"""BodyType schema for atlas_doc_format representation."""@cached_propertydefrepresentation(self)->str:returnself._get("representation")@cached_propertydefvalue(self)->str:returnself._get("value")
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResultBody(BaseResponse):"""BodyBulk schema - contains fields for each representation type requested."""@cached_propertydefstorage(self)->GetPagesInSpaceResponseResultBodyStorage:returnself._new(GetPagesInSpaceResponseResultBodyStorage,"storage")@cached_propertydefatlas_doc_format(self)->GetPagesInSpaceResponseResultBodyAtlasDocFormat:returnself._new(GetPagesInSpaceResponseResultBodyAtlasDocFormat,"atlas_doc_format")
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResultVersion(BaseResponse):"""Version schema."""@cached_propertydefcreatedAt(self)->str:"""Date and time when the version was created. ISO 8601 format."""returnself._get("createdAt")@cached_propertydefmessage(self)->str:"""Message associated with the current version."""returnself._get("message")@cached_propertydefnumber(self)->int:"""The version number."""returnself._get("number")@cached_propertydefminorEdit(self)->bool:"""Describes if this version is a minor version."""returnself._get("minorEdit")@cached_propertydefauthorId(self)->str:"""The account ID of the user who created this version."""returnself._get("authorId")
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResultLinks(BaseResponse):"""AbstractPageLinks schema."""@cached_propertydefwebui(self)->str:"""Web UI link of the content."""returnself._get("webui")@cached_propertydefeditui(self)->str:"""Edit UI link of the content."""returnself._get("editui")@cached_propertydeftinyui(self)->str:"""Tiny UI link of the content."""returnself._get("tinyui")
# --- Main result object ---
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponseResult(BaseResponse):"""PageBulk schema - represents a single page in the results array."""@cached_propertydefid(self)->str:"""ID of the page."""returnself._get("id")@cached_propertydefstatus(self)->str:"""ContentStatus enum: current, draft, archived, historical, trashed, deleted, any."""returnself._get("status")@cached_propertydeftitle(self)->str:"""Title of the page."""returnself._get("title")@cached_propertydefspaceId(self)->str:"""ID of the space the page is in."""returnself._get("spaceId")@cached_propertydefparentId(self)->str:"""ID of the parent page, or null if there is no parent page."""returnself._get("parentId")@cached_propertydefparentType(self)->str:"""ParentContentType enum: page, whiteboard, database, embed, folder."""returnself._get("parentType")@cached_propertydefposition(self)->int:"""Position of child page within the given parent page tree."""returnself._get("position")@cached_propertydefauthorId(self)->str:"""The account ID of the user who created this page originally."""returnself._get("authorId")@cached_propertydefownerId(self)->str:"""The account ID of the user who owns this page."""returnself._get("ownerId")@cached_propertydeflastOwnerId(self)->str:"""The account ID of the user who owned this page previously, or null."""returnself._get("lastOwnerId")@cached_propertydefsubtype(self)->str:"""The subtype of the page."""returnself._get("subtype")@cached_propertydefcreatedAt(self)->str:"""Date and time when the page was created. ISO 8601 format."""returnself._get("createdAt")@cached_propertydefversion(self)->GetPagesInSpaceResponseResultVersion:returnself._new(GetPagesInSpaceResponseResultVersion,"version")@cached_propertydefbody(self)->GetPagesInSpaceResponseResultBody:returnself._new(GetPagesInSpaceResponseResultBody,"body")@cached_propertydeflinks(self)->GetPagesInSpaceResponseResultLinks:returnself._new(GetPagesInSpaceResponseResultLinks,"_links")
# --- Top level response objects ---
[docs]@dataclasses.dataclass(frozen=True)classGetPagesInSpaceResponse(BaseResponse):"""MultiEntityResult<PageBulk> schema - top level response."""@cached_propertydefresults(self)->list[GetPagesInSpaceResponseResult]:returnself._new_many(GetPagesInSpaceResponseResult,"results")@cached_propertydeflinks(self)->Links:returnself._new(Links,"_links")