- self.address = of["address"] if of and "address" in of else None
- self.geoLocation = (
- of["geoLocation"] if of and "geoLocation" in of else GeoLocation()
- )
- self.url = of["url"] if of and "url" in of else self.id
-
- @property
- def address(self):
- return self._address
-
- @address.setter
- def address(self, value):
- self._address = value
-
- @property
- def geoLocation(self):
- return self._geographicalLocation
-
- @geoLocation.setter
- def geoLocation(self, value):
- self._geographicalLocation = value
-
- @property
- def url(self):
- return self._url