[docs]@dataclasses.dataclass(frozen=True)classGetFolderDirectChildrenResponseResult(BaseResponse):"""ChildrenResponse schema - represents a single child in the results array."""@cached_propertydefid(self)->str:"""ID of the child content."""returnself._get("id")@cached_propertydefstatus(self)->str:"""OnlyArchivedAndCurrentContentStatus enum: current, archived."""returnself._get("status")@cached_propertydeftitle(self)->str:"""Title of the child content."""returnself._get("title")@cached_propertydeftype(self)->str:"""Hierarchical content type: database, embed, folder, page, whiteboard."""returnself._get("type")@cached_propertydefspaceId(self)->str:"""ID of the space the content is in."""returnself._get("spaceId")@cached_propertydefchildPosition(self)->int:"""Numerical value indicating position relative to siblings."""returnself._get("childPosition")
[docs]@dataclasses.dataclass(frozen=True)classGetFolderDirectChildrenResponse(BaseResponse):"""MultiEntityResult<ChildrenResponse> schema - top level response."""@cached_propertydefresults(self)->list[GetFolderDirectChildrenResponseResult]:returnself._new_many(GetFolderDirectChildrenResponseResult,"results")@cached_propertydeflinks(self)->Links:returnself._new(Links,"_links")