def fields(self): """Gets a value that specifies the collection of all fields in the list.""" if self.is_property_available('Fields'): return self.properties['Fields'] else: return FieldCollection(self.context, ResourcePath("Fields", self.resourcePath))
def fields(self): """Specifies the collection of all the fields (2) in the site (2).""" if self.is_property_available('Fields'): return self.properties['Fields'] else: return FieldCollection(self.context, ResourcePath("Fields", self.resource_path))