LockLikeMeMessage.php 920 B

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