code: def addBiosample(self, biosample):
          
          id_ = biosample.getId()
          self._biosampleIdMap[id_] = biosample
          self._biosampleIds.append(id_)
          self._biosampleNameMap[biosample.getName()] = biosample
docs: Adds the specified biosample to this dataset.