StarFriendMessage.php 677 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. namespace App\Generated\V1\Messages\DeedFriend;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. class StarFriendMessage extends Message
  7. {
  8. use ValueHelper;
  9. protected $friendUid;
  10. /**
  11. * @return int
  12. */
  13. public function getFriendUid()
  14. {
  15. return $this->friendUid;
  16. }
  17. public function requestRules()
  18. {
  19. return [
  20. ['friendUid', 'friend_uid', 'bail|integer', Constants::INTEGER, null],
  21. ];
  22. }
  23. public function responseRules()
  24. {
  25. return [
  26. ];
  27. }
  28. public function setResponse()
  29. {
  30. }
  31. }