No Description

UmengUappDailyDataInfo.class.php 4.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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 UmengUappDailyDataInfo extends SDKDomain {
  5. private $date;
  6. /**
  7. * @return 统计日期
  8. */
  9. public function getDate() {
  10. return $this->date;
  11. }
  12. /**
  13. * 设置统计日期
  14. * @param String $date
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setDate( $date) {
  18. $this->date = $date;
  19. }
  20. private $activityUsers;
  21. /**
  22. * @return 活跃用户数
  23. */
  24. public function getActivityUsers() {
  25. return $this->activityUsers;
  26. }
  27. /**
  28. * 设置活跃用户数
  29. * @param Integer $activityUsers
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setActivityUsers( $activityUsers) {
  33. $this->activityUsers = $activityUsers;
  34. }
  35. private $totalUsers;
  36. /**
  37. * @return 总用户数
  38. */
  39. public function getTotalUsers() {
  40. return $this->totalUsers;
  41. }
  42. /**
  43. * 设置总用户数
  44. * @param Integer $totalUsers
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setTotalUsers( $totalUsers) {
  48. $this->totalUsers = $totalUsers;
  49. }
  50. private $launches;
  51. /**
  52. * @return 启动数
  53. */
  54. public function getLaunches() {
  55. return $this->launches;
  56. }
  57. /**
  58. * 设置启动数
  59. * @param Integer $launches
  60. * 参数示例:<pre></pre>
  61. * 此参数必填 */
  62. public function setLaunches( $launches) {
  63. $this->launches = $launches;
  64. }
  65. private $newUsers;
  66. /**
  67. * @return 新增用户数
  68. */
  69. public function getNewUsers() {
  70. return $this->newUsers;
  71. }
  72. /**
  73. * 设置新增用户数
  74. * @param Integer $newUsers
  75. * 参数示例:<pre></pre>
  76. * 此参数必填 */
  77. public function setNewUsers( $newUsers) {
  78. $this->newUsers = $newUsers;
  79. }
  80. private $payUsers;
  81. /**
  82. * @return 游戏付费用户数(仅游戏sdk)
  83. */
  84. public function getPayUsers() {
  85. return $this->payUsers;
  86. }
  87. /**
  88. * 设置游戏付费用户数(仅游戏sdk)
  89. * @param Integer $payUsers
  90. * 参数示例:<pre></pre>
  91. * 此参数必填 */
  92. public function setPayUsers( $payUsers) {
  93. $this->payUsers = $payUsers;
  94. }
  95. private $stdResult;
  96. public function setStdResult($stdResult) {
  97. $this->stdResult = $stdResult;
  98. if (array_key_exists ( "date", $this->stdResult )) {
  99. $this->date = $this->stdResult->{"date"};
  100. }
  101. if (array_key_exists ( "activityUsers", $this->stdResult )) {
  102. $this->activityUsers = $this->stdResult->{"activityUsers"};
  103. }
  104. if (array_key_exists ( "totalUsers", $this->stdResult )) {
  105. $this->totalUsers = $this->stdResult->{"totalUsers"};
  106. }
  107. if (array_key_exists ( "launches", $this->stdResult )) {
  108. $this->launches = $this->stdResult->{"launches"};
  109. }
  110. if (array_key_exists ( "newUsers", $this->stdResult )) {
  111. $this->newUsers = $this->stdResult->{"newUsers"};
  112. }
  113. if (array_key_exists ( "payUsers", $this->stdResult )) {
  114. $this->payUsers = $this->stdResult->{"payUsers"};
  115. }
  116. }
  117. private $arrayResult;
  118. public function setArrayResult($arrayResult) {
  119. $this->arrayResult = $arrayResult;
  120. if (array_key_exists ( "date", $this->arrayResult )) {
  121. $this->date = $arrayResult['date'];
  122. }
  123. if (array_key_exists ( "activityUsers", $this->arrayResult )) {
  124. $this->activityUsers = $arrayResult['activityUsers'];
  125. }
  126. if (array_key_exists ( "totalUsers", $this->arrayResult )) {
  127. $this->totalUsers = $arrayResult['totalUsers'];
  128. }
  129. if (array_key_exists ( "launches", $this->arrayResult )) {
  130. $this->launches = $arrayResult['launches'];
  131. }
  132. if (array_key_exists ( "newUsers", $this->arrayResult )) {
  133. $this->newUsers = $arrayResult['newUsers'];
  134. }
  135. if (array_key_exists ( "payUsers", $this->arrayResult )) {
  136. $this->payUsers = $arrayResult['payUsers'];
  137. }
  138. }
  139. }
  140. ?>