No Description

UmengUappVersionInfo.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 UmengUappVersionInfo 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 $totalUserRate;
  21. /**
  22. * @return 当前版本总用户数在总用户数中的比例
  23. */
  24. public function getTotalUserRate() {
  25. return $this->totalUserRate;
  26. }
  27. /**
  28. * 设置当前版本总用户数在总用户数中的比例
  29. * @param Double $totalUserRate
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setTotalUserRate( $totalUserRate) {
  33. $this->totalUserRate = $totalUserRate;
  34. }
  35. private $activeUser;
  36. /**
  37. * @return 活跃用户
  38. */
  39. public function getActiveUser() {
  40. return $this->activeUser;
  41. }
  42. /**
  43. * 设置活跃用户
  44. * @param Integer $activeUser
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setActiveUser( $activeUser) {
  48. $this->activeUser = $activeUser;
  49. }
  50. private $newUser;
  51. /**
  52. * @return 新增用户
  53. */
  54. public function getNewUser() {
  55. return $this->newUser;
  56. }
  57. /**
  58. * 设置新增用户
  59. * @param Integer $newUser
  60. * 参数示例:<pre></pre>
  61. * 此参数必填 */
  62. public function setNewUser( $newUser) {
  63. $this->newUser = $newUser;
  64. }
  65. private $totalUser;
  66. /**
  67. * @return 当前版本总用户数
  68. */
  69. public function getTotalUser() {
  70. return $this->totalUser;
  71. }
  72. /**
  73. * 设置当前版本总用户数
  74. * @param Integer $totalUser
  75. * 参数示例:<pre></pre>
  76. * 此参数必填 */
  77. public function setTotalUser( $totalUser) {
  78. $this->totalUser = $totalUser;
  79. }
  80. private $version;
  81. /**
  82. * @return 版本号
  83. */
  84. public function getVersion() {
  85. return $this->version;
  86. }
  87. /**
  88. * 设置版本号
  89. * @param String $version
  90. * 参数示例:<pre></pre>
  91. * 此参数必填 */
  92. public function setVersion( $version) {
  93. $this->version = $version;
  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 ( "totalUserRate", $this->stdResult )) {
  102. $this->totalUserRate = $this->stdResult->{"totalUserRate"};
  103. }
  104. if (array_key_exists ( "activeUser", $this->stdResult )) {
  105. $this->activeUser = $this->stdResult->{"activeUser"};
  106. }
  107. if (array_key_exists ( "newUser", $this->stdResult )) {
  108. $this->newUser = $this->stdResult->{"newUser"};
  109. }
  110. if (array_key_exists ( "totalUser", $this->stdResult )) {
  111. $this->totalUser = $this->stdResult->{"totalUser"};
  112. }
  113. if (array_key_exists ( "version", $this->stdResult )) {
  114. $this->version = $this->stdResult->{"version"};
  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 ( "totalUserRate", $this->arrayResult )) {
  124. $this->totalUserRate = $arrayResult['totalUserRate'];
  125. }
  126. if (array_key_exists ( "activeUser", $this->arrayResult )) {
  127. $this->activeUser = $arrayResult['activeUser'];
  128. }
  129. if (array_key_exists ( "newUser", $this->arrayResult )) {
  130. $this->newUser = $arrayResult['newUser'];
  131. }
  132. if (array_key_exists ( "totalUser", $this->arrayResult )) {
  133. $this->totalUser = $arrayResult['totalUser'];
  134. }
  135. if (array_key_exists ( "version", $this->arrayResult )) {
  136. $this->version = $arrayResult['version'];
  137. }
  138. }
  139. }
  140. ?>