# ------------------------------------------------------------------------------# Output# ------------------------------------------------------------------------------# --- Deepest nested objects first ---
[docs]@dataclasses.dataclass(frozen=True)classGetDirectPageChildrenResponseResult(BaseResponse):"""ChildrenResponse schema - represents a single direct child in the results array."""@cached_propertydefid(self)->str:"""ID of the child content."""returnself._get("id")@cached_propertydefstatus(self)->str:"""ContentStatus enum: current, archived."""returnself._get("status")@cached_propertydeftitle(self)->str:"""Title of the child content."""returnself._get("title")@cached_propertydeftype(self)->str:"""Content type: database, embed, folder, page, or whiteboard."""returnself._get("type")@cached_propertydefspaceId(self)->str:"""ID of the space the content is in."""returnself._get("spaceId")@cached_propertydefchildPosition(self)->int:"""Ordinal position among siblings in content hierarchy."""returnself._get("childPosition")
# --- Top level response objects ---
[docs]@dataclasses.dataclass(frozen=True)classGetDirectPageChildrenResponse(BaseResponse):"""MultiEntityResult<ChildrenResponse> schema - top level response."""@cached_propertydefresults(self)->list[GetDirectPageChildrenResponseResult]:returnself._new_many(GetDirectPageChildrenResponseResult,"results")@cached_propertydeflinks(self)->Links:returnself._new(Links,"_links")