docs: def write(self, oprot):
          '''
          Write this object to the given output protocol and return self.
  
          :type oprot: thryft.protocol._output_protocol._OutputProtocol
          :rtype: pastpy.gen.database.impl.online.online_database_object_detail_image.OnlineDatabaseObjectDetailImage
          '''
  
          oprot.write_struct_begin('OnlineDatabaseObjectDetailImage')
  
          oprot.write_field_begin(name='full_size_url', type=11, id=None)
          oprot.write_string(self.full_size_url)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='mediaid', type=11, id=None)
          oprot.write_string(self.mediaid)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='objectid', type=11, id=None)
          oprot.write_string(self.objectid)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='src', type=11, id=None)
          oprot.write_string(self.src)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='thumbnail_url', type=11, id=None)
          oprot.write_string(self.thumbnail_url)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='title', type=11, id=None)
          oprot.write_string(self.title)
          oprot.write_field_end()
  
          oprot.write_field_begin(name='type', type=11, id=None)
          oprot.write_string(str(self.type))
          oprot.write_field_end()
  
          oprot.write_field_stop()
  
          oprot.write_struct_end()
  
          return self