No Description

UmengUappGetYesterdayDataResult.class.php 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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. class UmengUappGetYesterdayDataResult {
  6. private $yesterdayData;
  7. /**
  8. * @return
  9. */
  10. public function getYesterdayData() {
  11. return $this->yesterdayData;
  12. }
  13. /**
  14. * 设置
  15. * @param UmengUappDailyDataInfo $yesterdayData
  16. * 此参数必填 */
  17. public function setYesterdayData(UmengUappDailyDataInfo $yesterdayData) {
  18. $this->yesterdayData = $yesterdayData;
  19. }
  20. private $stdResult;
  21. public function setStdResult($stdResult) {
  22. $this->stdResult = $stdResult;
  23. if (array_key_exists ( "yesterdayData", $this->stdResult )) {
  24. $yesterdayDataResult=$this->stdResult->{"yesterdayData"};
  25. $this->yesterdayData = new UmengUappDailyDataInfo();
  26. $this->yesterdayData->setStdResult ( $yesterdayDataResult);
  27. }
  28. }
  29. private $arrayResult;
  30. public function setArrayResult($arrayResult) {
  31. $this->arrayResult = $arrayResult;
  32. if (array_key_exists ( "yesterdayData", $this->arrayResult )) {
  33. $yesterdayDataResult=$arrayResult['yesterdayData'];
  34. $this->yesterdayData = new UmengUappDailyDataInfo();
  35. $this->yesterdayData->setStdResult ( $yesterdayDataResult);
  36. }
  37. }
  38. }
  39. ?>