No Description

UmengUappEventCreateResult.class.php 1.6KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. <?php
  2. include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
  3. include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');
  4. class UmengUappEventCreateResult {
  5. private $status;
  6. /**
  7. * @return 响应码
  8. */
  9. public function getStatus() {
  10. return $this->status;
  11. }
  12. /**
  13. * 设置响应码
  14. * @param Integer $status
  15. * 此参数必填 */
  16. public function setStatus( $status) {
  17. $this->status = $status;
  18. }
  19. private $msg;
  20. /**
  21. * @return 响应信息
  22. */
  23. public function getMsg() {
  24. return $this->msg;
  25. }
  26. /**
  27. * 设置响应信息
  28. * @param String $msg
  29. * 此参数必填 */
  30. public function setMsg( $msg) {
  31. $this->msg = $msg;
  32. }
  33. private $stdResult;
  34. public function setStdResult($stdResult) {
  35. $this->stdResult = $stdResult;
  36. if (array_key_exists ( "status", $this->stdResult )) {
  37. $this->status = $this->stdResult->{"status"};
  38. }
  39. if (array_key_exists ( "msg", $this->stdResult )) {
  40. $this->msg = $this->stdResult->{"msg"};
  41. }
  42. }
  43. private $arrayResult;
  44. public function setArrayResult($arrayResult) {
  45. $this->arrayResult = $arrayResult;
  46. if (array_key_exists ( "status", $this->arrayResult )) {
  47. $this->status = $arrayResult['status'];
  48. }
  49. if (array_key_exists ( "msg", $this->arrayResult )) {
  50. $this->msg = $arrayResult['msg'];
  51. }
  52. }
  53. }
  54. ?>