# ------------------------------------------------------------------------------# Output# ------------------------------------------------------------------------------# --- Deepest nested objects first ---
[docs]@dataclasses.dataclass(frozen=True)classGetSpacesResponseResultDescriptionPlain(BaseResponse):"""BodyType schema for plain text representation."""@cached_propertydefrepresentation(self)->str:returnself._get("representation")@cached_propertydefvalue(self)->str:returnself._get("value")
[docs]@dataclasses.dataclass(frozen=True)classGetSpacesResponseResultDescriptionView(BaseResponse):"""BodyType schema for view (HTML) representation."""@cached_propertydefrepresentation(self)->str:returnself._get("representation")@cached_propertydefvalue(self)->str:returnself._get("value")
[docs]@dataclasses.dataclass(frozen=True)classGetSpacesResponseResult(BaseResponse):"""SpaceBulk schema - represents a single space in the results array."""@cached_propertydefid(self)->str:returnself._get("id")@cached_propertydefkey(self)->str:returnself._get("key")@cached_propertydefname(self)->str:returnself._get("name")@cached_propertydeftype(self)->str:"""SpaceType enum: global, collaboration, knowledge_base, personal, etc."""returnself._get("type")@cached_propertydefstatus(self)->str:"""SpaceStatus enum: current, archived."""returnself._get("status")@cached_propertydefauthorId(self)->str:returnself._get("authorId")@cached_propertydefcurrentActiveAlias(self)->str:returnself._get("currentActiveAlias")@cached_propertydefcreatedAt(self)->str:"""ISO 8601 date-time string."""returnself._get("createdAt")@cached_propertydefhomepageId(self)->str:returnself._get("homepageId")@cached_propertydefdescription(self)->GetSpacesResponseResultDescription:returnself._new(GetSpacesResponseResultDescription,"description")@cached_propertydeficon(self)->GetSpacesResponseResultIcon:returnself._new(GetSpacesResponseResultIcon,"icon")@cached_propertydeflinks(self)->GetSpacesResponseResultLinks:returnself._new(GetSpacesResponseResultLinks,"_links")
# --- Top level response objects ---
[docs]@dataclasses.dataclass(frozen=True)classGetSpacesResponse(BaseResponse):"""MultiEntityResult<SpaceBulk> schema - top level response."""@cached_propertydefresults(self)->list[GetSpacesResponseResult]:returnself._new_many(GetSpacesResponseResult,"results")@cached_propertydeflinks(self)->Links:returnself._new(Links,"_links")