MarkdownToHtmlResponse.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. <?php
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # NO CHECKED-IN PROTOBUF GENCODE
  4. # source: morus.proto
  5. namespace Palm\Morus\V1;
  6. use Google\Protobuf\Internal\GPBType;
  7. use Google\Protobuf\Internal\RepeatedField;
  8. use Google\Protobuf\Internal\GPBUtil;
  9. /**
  10. * Generated from protobuf message <code>palm.morus.v1.MarkdownToHtmlResponse</code>
  11. */
  12. class MarkdownToHtmlResponse extends \Google\Protobuf\Internal\Message
  13. {
  14. /**
  15. * Generated from protobuf field <code>string payload = 1;</code>
  16. */
  17. protected $payload = '';
  18. /**
  19. * Constructor.
  20. *
  21. * @param array $data {
  22. * Optional. Data for populating the Message object.
  23. *
  24. * @type string $payload
  25. * }
  26. */
  27. public function __construct($data = NULL) {
  28. \GPBMetadata\Morus::initOnce();
  29. parent::__construct($data);
  30. }
  31. /**
  32. * Generated from protobuf field <code>string payload = 1;</code>
  33. * @return string
  34. */
  35. public function getPayload()
  36. {
  37. return $this->payload;
  38. }
  39. /**
  40. * Generated from protobuf field <code>string payload = 1;</code>
  41. * @param string $var
  42. * @return $this
  43. */
  44. public function setPayload($var)
  45. {
  46. GPBUtil::checkString($var, True);
  47. $this->payload = $var;
  48. return $this;
  49. }
  50. }