SendFriendApplyMessage.php 877 B

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