PairVipCheckMessage.php 786 B

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