FeedLogMessage.php 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <?php
  2. namespace App\Generated\V1\Messages\ReportLog;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class FeedLogMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $partnerId;
  10. protected $uid;
  11. protected $data;
  12. /**
  13. * @return int
  14. */
  15. public function getPartnerId()
  16. {
  17. return $this->partnerId;
  18. }
  19. /**
  20. * @return int
  21. */
  22. public function getUid()
  23. {
  24. return $this->uid;
  25. }
  26. /**
  27. * @return null
  28. */
  29. public function getData()
  30. {
  31. return $this->data;
  32. }
  33. public function requestRules()
  34. {
  35. return [
  36. ['partnerId', 'partner_id', 'bail|integer', Constants::INTEGER, null],
  37. ['uid', 'uid', 'bail|integer', Constants::INTEGER, null],
  38. ['data', 'data', 'bail', null, null],
  39. ];
  40. }
  41. public function responseRules()
  42. {
  43. return [
  44. ];
  45. }
  46. public function setResponse()
  47. {
  48. }
  49. }