RevokeMessage.php 709 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <?php
  2. namespace App\Generated\V1\Messages\Im;
  3. use Kamicloud\StubApi\Concerns\ValueHelper;
  4. use Kamicloud\StubApi\Http\Messages\Message;
  5. use Kamicloud\StubApi\Utils\Constants;
  6. use App\Generated\V1\DTOs\TimMessageDTO;
  7. class RevokeMessage extends Message
  8. {
  9. use ValueHelper;
  10. protected $message;
  11. /**
  12. * @return TimMessageDTO
  13. */
  14. public function getMessage()
  15. {
  16. return $this->message;
  17. }
  18. public function requestRules()
  19. {
  20. return [
  21. ['message', 'message', TimMessageDTO::class, Constants::MODEL, null],
  22. ];
  23. }
  24. public function responseRules()
  25. {
  26. return [
  27. ];
  28. }
  29. public function setResponse()
  30. {
  31. }
  32. }