code: def result(self, result):
          
          if result is None:
              raise ValueError("Invalid value for `result`, must not be `None`")  # noqa: E501
          allowed_values = ["OK", "ERROR"]  # noqa: E501
          if result not in allowed_values:
              raise ValueError(
                  "Invalid value for `result` ({0}), must be one of {1}"  # noqa: E501
                  .format(result, allowed_values)
              )
  
          self._result = result
docs: Sets the result of this ResponseStatus.
  
  
          :param result: The result of this ResponseStatus.  # noqa: E501
          :type: str