ChangeContactNoteMessage.php 887 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. <?php
  2. namespace App\Generated\V1_1\Messages\Friend;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class ChangeContactNoteMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $contactUid;
  10. protected $note;
  11. /**
  12. * @return int
  13. */
  14. public function getContactUid()
  15. {
  16. return $this->contactUid;
  17. }
  18. /**
  19. * @return string
  20. */
  21. public function getNote()
  22. {
  23. return $this->note;
  24. }
  25. public function requestRules()
  26. {
  27. return [
  28. ['contactUid', 'contact_uid', 'bail|integer', Constants::INTEGER, null],
  29. ['note', 'note', 'bail|string', Constants::STRING, null],
  30. ];
  31. }
  32. public function responseRules()
  33. {
  34. return [
  35. ];
  36. }
  37. public function setResponse()
  38. {
  39. }
  40. }