[docs]classSigmaWorkbook(Sigma):"""Description"""type_name:str=Field(default="SigmaWorkbook",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="SigmaWorkbook":raiseValueError("must be SigmaWorkbook")returnvdef__setattr__(self,name,value):ifnameinSigmaWorkbook._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)SIGMA_PAGE_COUNT:ClassVar[NumericField]=NumericField("sigmaPageCount","sigmaPageCount")""" Number of pages in this workbook. """SIGMA_PAGES:ClassVar[RelationField]=RelationField("sigmaPages")""" TBC """_convenience_properties:ClassVar[List[str]]=["sigma_page_count","sigma_pages",]@propertydefsigma_page_count(self)->Optional[int]:returnNoneifself.attributesisNoneelseself.attributes.sigma_page_count@sigma_page_count.setterdefsigma_page_count(self,sigma_page_count:Optional[int]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.sigma_page_count=sigma_page_count@propertydefsigma_pages(self)->Optional[List[SigmaPage]]:returnNoneifself.attributesisNoneelseself.attributes.sigma_pages@sigma_pages.setterdefsigma_pages(self,sigma_pages:Optional[List[SigmaPage]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.sigma_pages=sigma_pagesclassAttributes(Sigma.Attributes):sigma_page_count:Optional[int]=Field(default=None,description="")sigma_pages:Optional[List[SigmaPage]]=Field(default=None,description="")# relationshipattributes:SigmaWorkbook.Attributes=Field(default_factory=lambda:SigmaWorkbook.Attributes(),description=("Map of attributes in the instance and their values. ""The specific keys of this map will vary by type, ""so are described in the sub-types of this schema."),)