code: def segment(self):
          
          if self._segment is None:
              self.assert_bind_client()
              if self.id is not None:
                  self._segment = self.bind_client.get_segment(self.id)
          return self._segment
docs: Associated (full) :class:`stravalib.model.Segment` object.