getThesaurusId() public method

Get Thesaurus ID
public getThesaurusId ( ) : integer | null
return integer | null
 /**
  * Delete a thesaurus
  *
  * @param \Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface $thesaurus Thesaurus data
  *
  * @throws \Magento\Framework\Exception\NoSuchEntityException
  *
  * @return \Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface
  */
 public function delete(\Smile\ElasticsuiteThesaurus\Api\Data\ThesaurusInterface $thesaurus)
 {
     $thesaurusId = $thesaurus->getThesaurusId();
     $thesaurus->delete();
     if (isset($this->thesaurusRepositoryById[$thesaurusId])) {
         unset($this->thesaurusRepositoryById[$thesaurusId]);
     }
     return $thesaurus;
 }