No Description

UmengUappAccountInfo.class.php 4.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <?php
  2. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/SDKDomain.class.php');
  3. include_once (app_path('/libs/Umeng/').'com/alibaba/openapi/client/entity/ByteArray.class.php');
  4. class UmengUappAccountInfo 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>2018-01-01</pre>
  16. * 此参数必填 */
  17. public function setDate( $date) {
  18. $this->date = $date;
  19. }
  20. private $newUser;
  21. /**
  22. * @return 新增用户
  23. */
  24. public function getNewUser() {
  25. return $this->newUser;
  26. }
  27. /**
  28. * 设置新增用户
  29. * @param Integer $newUser
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setNewUser( $newUser) {
  33. $this->newUser = $newUser;
  34. }
  35. private $newAccount;
  36. /**
  37. * @return 新增账号
  38. */
  39. public function getNewAccount() {
  40. return $this->newAccount;
  41. }
  42. /**
  43. * 设置新增账号
  44. * @param Integer $newAccount
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setNewAccount( $newAccount) {
  48. $this->newAccount = $newAccount;
  49. }
  50. private $hourNewUser;
  51. /**
  52. * @return 小时新增用户(按小时查询时)
  53. */
  54. public function getHourNewUser() {
  55. return $this->hourNewUser;
  56. }
  57. /**
  58. * 设置小时新增用户(按小时查询时)
  59. * @param array include @see Integer[] $hourNewUser
  60. * 参数示例:<pre>[11,65,49,4,4,8,25,29,31,29,32,29,38,63,39,33,34,41,40,53,12,77,86,50]</pre>
  61. * 此参数必填 */
  62. public function setHourNewUser( $hourNewUser) {
  63. $this->hourNewUser = $hourNewUser;
  64. }
  65. private $hourNewAccount;
  66. /**
  67. * @return 小时新增账号(按小时查询时)
  68. */
  69. public function getHourNewAccount() {
  70. return $this->hourNewAccount;
  71. }
  72. /**
  73. * 设置小时新增账号(按小时查询时)
  74. * @param array include @see Integer[] $hourNewAccount
  75. * 参数示例:<pre>[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]</pre>
  76. * 此参数必填 */
  77. public function setHourNewAccount( $hourNewAccount) {
  78. $this->hourNewAccount = $hourNewAccount;
  79. }
  80. private $stdResult;
  81. public function setStdResult($stdResult) {
  82. $this->stdResult = $stdResult;
  83. if (array_key_exists ( "date", $this->stdResult )) {
  84. $this->date = $this->stdResult->{"date"};
  85. }
  86. if (array_key_exists ( "newUser", $this->stdResult )) {
  87. $this->newUser = $this->stdResult->{"newUser"};
  88. }
  89. if (array_key_exists ( "newAccount", $this->stdResult )) {
  90. $this->newAccount = $this->stdResult->{"newAccount"};
  91. }
  92. if (array_key_exists ( "hourNewUser", $this->stdResult )) {
  93. $this->hourNewUser = $this->stdResult->{"hourNewUser"};
  94. }
  95. if (array_key_exists ( "hourNewAccount", $this->stdResult )) {
  96. $this->hourNewAccount = $this->stdResult->{"hourNewAccount"};
  97. }
  98. }
  99. private $arrayResult;
  100. public function setArrayResult($arrayResult) {
  101. $this->arrayResult = $arrayResult;
  102. if (array_key_exists ( "date", $this->arrayResult )) {
  103. $this->date = $arrayResult['date'];
  104. }
  105. if (array_key_exists ( "newUser", $this->arrayResult )) {
  106. $this->newUser = $arrayResult['newUser'];
  107. }
  108. if (array_key_exists ( "newAccount", $this->arrayResult )) {
  109. $this->newAccount = $arrayResult['newAccount'];
  110. }
  111. if (array_key_exists ( "hourNewUser", $this->arrayResult )) {
  112. $this->hourNewUser = $arrayResult['hourNewUser'];
  113. }
  114. if (array_key_exists ( "hourNewAccount", $this->arrayResult )) {
  115. $this->hourNewAccount = $arrayResult['hourNewAccount'];
  116. }
  117. }
  118. }
  119. ?>