No Description

UmengUappActiveAccountInfo.class.php 2.6KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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 UmengUappActiveAccountInfo 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 $activeUser;
  21. /**
  22. * @return 活跃用户
  23. */
  24. public function getActiveUser() {
  25. return $this->activeUser;
  26. }
  27. /**
  28. * 设置活跃用户
  29. * @param Integer $activeUser
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setActiveUser( $activeUser) {
  33. $this->activeUser = $activeUser;
  34. }
  35. private $activeAccount;
  36. /**
  37. * @return 活跃账号
  38. */
  39. public function getActiveAccount() {
  40. return $this->activeAccount;
  41. }
  42. /**
  43. * 设置活跃账号
  44. * @param Integer $activeAccount
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setActiveAccount( $activeAccount) {
  48. $this->activeAccount = $activeAccount;
  49. }
  50. private $stdResult;
  51. public function setStdResult($stdResult) {
  52. $this->stdResult = $stdResult;
  53. if (array_key_exists ( "date", $this->stdResult )) {
  54. $this->date = $this->stdResult->{"date"};
  55. }
  56. if (array_key_exists ( "activeUser", $this->stdResult )) {
  57. $this->activeUser = $this->stdResult->{"activeUser"};
  58. }
  59. if (array_key_exists ( "activeAccount", $this->stdResult )) {
  60. $this->activeAccount = $this->stdResult->{"activeAccount"};
  61. }
  62. }
  63. private $arrayResult;
  64. public function setArrayResult($arrayResult) {
  65. $this->arrayResult = $arrayResult;
  66. if (array_key_exists ( "date", $this->arrayResult )) {
  67. $this->date = $arrayResult['date'];
  68. }
  69. if (array_key_exists ( "activeUser", $this->arrayResult )) {
  70. $this->activeUser = $arrayResult['activeUser'];
  71. }
  72. if (array_key_exists ( "activeAccount", $this->arrayResult )) {
  73. $this->activeAccount = $arrayResult['activeAccount'];
  74. }
  75. }
  76. }
  77. ?>