No Description

UmengUappGetTodayYesterdayDataResult.class.php 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. include_once ('com/umeng/uapp/param/UmengUappDailyDataInfo.class.php');
  5. include_once ('com/umeng/uapp/param/UmengUappDailyDataInfo.class.php');
  6. class UmengUappGetTodayYesterdayDataResult {
  7. private $todayData;
  8. /**
  9. * @return
  10. */
  11. public function getTodayData() {
  12. return $this->todayData;
  13. }
  14. /**
  15. * 设置
  16. * @param UmengUappDailyDataInfo $todayData
  17. * 此参数必填 */
  18. public function setTodayData(UmengUappDailyDataInfo $todayData) {
  19. $this->todayData = $todayData;
  20. }
  21. private $yesterdayData;
  22. /**
  23. * @return
  24. */
  25. public function getYesterdayData() {
  26. return $this->yesterdayData;
  27. }
  28. /**
  29. * 设置
  30. * @param UmengUappDailyDataInfo $yesterdayData
  31. * 此参数必填 */
  32. public function setYesterdayData(UmengUappDailyDataInfo $yesterdayData) {
  33. $this->yesterdayData = $yesterdayData;
  34. }
  35. private $stdResult;
  36. public function setStdResult($stdResult) {
  37. $this->stdResult = $stdResult;
  38. if (array_key_exists ( "todayData", $this->stdResult )) {
  39. $todayDataResult=$this->stdResult->{"todayData"};
  40. $this->todayData = new UmengUappDailyDataInfo();
  41. $this->todayData->setStdResult ( $todayDataResult);
  42. }
  43. if (array_key_exists ( "yesterdayData", $this->stdResult )) {
  44. $yesterdayDataResult=$this->stdResult->{"yesterdayData"};
  45. $this->yesterdayData = new UmengUappDailyDataInfo();
  46. $this->yesterdayData->setStdResult ( $yesterdayDataResult);
  47. }
  48. }
  49. private $arrayResult;
  50. public function setArrayResult($arrayResult) {
  51. $this->arrayResult = $arrayResult;
  52. if (array_key_exists ( "todayData", $this->arrayResult )) {
  53. $todayDataResult=$arrayResult['todayData'];
  54. $this->todayData = new UmengUappDailyDataInfo();
  55. $this->todayData->setStdResult ( $todayDataResult);
  56. }
  57. if (array_key_exists ( "yesterdayData", $this->arrayResult )) {
  58. $yesterdayDataResult=$arrayResult['yesterdayData'];
  59. $this->yesterdayData = new UmengUappDailyDataInfo();
  60. $this->yesterdayData->setStdResult ( $yesterdayDataResult);
  61. }
  62. }
  63. }
  64. ?>