code: def stock_status(self, stock_status):
          
          allowed_values = ["available", "alert", "unavailable"]
          if stock_status is not None and stock_status not in allowed_values:
              raise ValueError(
                  "Invalid value for `stock_status` ({0}), must be one of {1}"
                  .format(stock_status, allowed_values)
              )
  
          self._stock_status = stock_status
docs: Sets the stock_status of this Product.
  
  
          :param stock_status: The stock_status of this Product.
          :type: str