public function addToThirdSegmentsIds($item)
{
// validation for constraint: itemType
if (!is_int($item)) {
throw new \InvalidArgumentException(sprintf('The thirdSegmentsIds property can only contain items of int, "%s" given', is_object($item) ? get_class($item) : gettype($item)), __LINE__);
}
$this->thirdSegmentsIds[] = $item;
return $this;
}