[docs]classSalesforceOrganization(Salesforce):"""Description"""type_name:str=Field(default="SalesforceOrganization",allow_mutation=False)@validator("type_name")defvalidate_type_name(cls,v):ifv!="SalesforceOrganization":raiseValueError("must be SalesforceOrganization")returnvdef__setattr__(self,name,value):ifnameinSalesforceOrganization._convenience_properties:returnobject.__setattr__(self,name,value)super().__setattr__(name,value)SOURCE_ID:ClassVar[TextField]=TextField("sourceId","sourceId")""" Identifier of the organization in Salesforce. """REPORTS:ClassVar[RelationField]=RelationField("reports")""" TBC """OBJECTS:ClassVar[RelationField]=RelationField("objects")""" TBC """DASHBOARDS:ClassVar[RelationField]=RelationField("dashboards")""" TBC """_convenience_properties:ClassVar[List[str]]=["source_id","reports","objects","dashboards",]@propertydefsource_id(self)->Optional[str]:returnNoneifself.attributesisNoneelseself.attributes.source_id@source_id.setterdefsource_id(self,source_id:Optional[str]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.source_id=source_id@propertydefreports(self)->Optional[List[SalesforceReport]]:returnNoneifself.attributesisNoneelseself.attributes.reports@reports.setterdefreports(self,reports:Optional[List[SalesforceReport]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.reports=reports@propertydefobjects(self)->Optional[List[SalesforceObject]]:returnNoneifself.attributesisNoneelseself.attributes.objects@objects.setterdefobjects(self,objects:Optional[List[SalesforceObject]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.objects=objects@propertydefdashboards(self)->Optional[List[SalesforceDashboard]]:returnNoneifself.attributesisNoneelseself.attributes.dashboards@dashboards.setterdefdashboards(self,dashboards:Optional[List[SalesforceDashboard]]):ifself.attributesisNone:self.attributes=self.Attributes()self.attributes.dashboards=dashboardsclassAttributes(Salesforce.Attributes):source_id:Optional[str]=Field(default=None,description="")reports:Optional[List[SalesforceReport]]=Field(default=None,description="")# relationshipobjects:Optional[List[SalesforceObject]]=Field(default=None,description="")# relationshipdashboards:Optional[List[SalesforceDashboard]]=Field(default=None,description="")# relationshipattributes:SalesforceOrganization.Attributes=Field(default_factory=lambda:SalesforceOrganization.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."),)