code: def data_type(self, data_type):
          
          allowed_values = ["string", "number", "date", "color"]
          if data_type is not None and data_type not in allowed_values:
              raise ValueError(
                  "Invalid value for `data_type` ({0}), must be one of {1}"
                  .format(data_type, allowed_values)
              )
  
          self._data_type = data_type
docs: Sets the data_type of this Option.
  
  
          :param data_type: The data_type of this Option.
          :type: str