OpenimChatlogsImportRequest.php 722 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <?php
  2. /**
  3. * TOP API: taobao.openim.chatlogs.import request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2015.12.31
  7. */
  8. class OpenimChatlogsImportRequest
  9. {
  10. /**
  11. * 消息序列
  12. **/
  13. private $messages;
  14. private $apiParas = array();
  15. public function setMessages($messages)
  16. {
  17. $this->messages = $messages;
  18. $this->apiParas["messages"] = $messages;
  19. }
  20. public function getMessages()
  21. {
  22. return $this->messages;
  23. }
  24. public function getApiMethodName()
  25. {
  26. return "taobao.openim.chatlogs.import";
  27. }
  28. public function getApiParas()
  29. {
  30. return $this->apiParas;
  31. }
  32. public function check()
  33. {
  34. }
  35. public function putOtherTextParam($key, $value) {
  36. $this->apiParas[$key] = $value;
  37. $this->$key = $value;
  38. }
  39. }