No Description

UmengApptrackAppMonitors.class.php 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  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 UmengApptrackAppMonitors extends SDKDomain {
  5. private $mid;
  6. /**
  7. * @return 单元id
  8. */
  9. public function getMid() {
  10. return $this->mid;
  11. }
  12. /**
  13. * 设置单元id
  14. * @param Long $mid
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setMid( $mid) {
  18. $this->mid = $mid;
  19. }
  20. private $mName;
  21. /**
  22. * @return 单元名称
  23. */
  24. public function getMName() {
  25. return $this->mName;
  26. }
  27. /**
  28. * 设置单元名称
  29. * @param String $mName
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setMName( $mName) {
  33. $this->mName = $mName;
  34. }
  35. private $chanName;
  36. /**
  37. * @return 渠道名称
  38. */
  39. public function getChanName() {
  40. return $this->chanName;
  41. }
  42. /**
  43. * 设置渠道名称
  44. * @param String $chanName
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setChanName( $chanName) {
  48. $this->chanName = $chanName;
  49. }
  50. private $downloadUrl;
  51. /**
  52. * @return 下载地址
  53. */
  54. public function getDownloadUrl() {
  55. return $this->downloadUrl;
  56. }
  57. /**
  58. * 设置下载地址
  59. * @param String $downloadUrl
  60. * 参数示例:<pre></pre>
  61. * 此参数必填 */
  62. public function setDownloadUrl( $downloadUrl) {
  63. $this->downloadUrl = $downloadUrl;
  64. }
  65. private $shortUrl;
  66. /**
  67. * @return 短链地址
  68. */
  69. public function getShortUrl() {
  70. return $this->shortUrl;
  71. }
  72. /**
  73. * 设置短链地址
  74. * @param String $shortUrl
  75. * 参数示例:<pre></pre>
  76. * 此参数必填 */
  77. public function setShortUrl( $shortUrl) {
  78. $this->shortUrl = $shortUrl;
  79. }
  80. private $stdResult;
  81. public function setStdResult($stdResult) {
  82. $this->stdResult = $stdResult;
  83. if (array_key_exists ( "mid", $this->stdResult )) {
  84. $this->mid = $this->stdResult->{"mid"};
  85. }
  86. if (array_key_exists ( "mName", $this->stdResult )) {
  87. $this->mName = $this->stdResult->{"mName"};
  88. }
  89. if (array_key_exists ( "chanName", $this->stdResult )) {
  90. $this->chanName = $this->stdResult->{"chanName"};
  91. }
  92. if (array_key_exists ( "downloadUrl", $this->stdResult )) {
  93. $this->downloadUrl = $this->stdResult->{"downloadUrl"};
  94. }
  95. if (array_key_exists ( "shortUrl", $this->stdResult )) {
  96. $this->shortUrl = $this->stdResult->{"shortUrl"};
  97. }
  98. }
  99. private $arrayResult;
  100. public function setArrayResult($arrayResult) {
  101. $this->arrayResult = $arrayResult;
  102. if (array_key_exists ( "mid", $this->arrayResult )) {
  103. $this->mid = $arrayResult['mid'];
  104. }
  105. if (array_key_exists ( "mName", $this->arrayResult )) {
  106. $this->mName = $arrayResult['mName'];
  107. }
  108. if (array_key_exists ( "chanName", $this->arrayResult )) {
  109. $this->chanName = $arrayResult['chanName'];
  110. }
  111. if (array_key_exists ( "downloadUrl", $this->arrayResult )) {
  112. $this->downloadUrl = $arrayResult['downloadUrl'];
  113. }
  114. if (array_key_exists ( "shortUrl", $this->arrayResult )) {
  115. $this->shortUrl = $arrayResult['shortUrl'];
  116. }
  117. }
  118. }
  119. ?>