No Description

UmengUappAppInfoData.class.php 6.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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 UmengUappAppInfoData extends SDKDomain {
  5. private $updatedAt;
  6. /**
  7. * @return 更新时间
  8. */
  9. public function getUpdatedAt() {
  10. return $this->updatedAt;
  11. }
  12. /**
  13. * 设置更新时间
  14. * @param String $updatedAt
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setUpdatedAt( $updatedAt) {
  18. $this->updatedAt = $updatedAt;
  19. }
  20. private $useGameSdk;
  21. /**
  22. * @return 是否为游戏
  23. */
  24. public function getUseGameSdk() {
  25. return $this->useGameSdk;
  26. }
  27. /**
  28. * 设置是否为游戏
  29. * @param Boolean $useGameSdk
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setUseGameSdk( $useGameSdk) {
  33. $this->useGameSdk = $useGameSdk;
  34. }
  35. private $name;
  36. /**
  37. * @return App名称
  38. */
  39. public function getName() {
  40. return $this->name;
  41. }
  42. /**
  43. * 设置App名称
  44. * @param String $name
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setName( $name) {
  48. $this->name = $name;
  49. }
  50. private $createdAt;
  51. /**
  52. * @return 创建时间
  53. */
  54. public function getCreatedAt() {
  55. return $this->createdAt;
  56. }
  57. /**
  58. * 设置创建时间
  59. * @param String $createdAt
  60. * 参数示例:<pre></pre>
  61. * 此参数必填 */
  62. public function setCreatedAt( $createdAt) {
  63. $this->createdAt = $createdAt;
  64. }
  65. private $appkey;
  66. /**
  67. * @return 应用ID
  68. */
  69. public function getAppkey() {
  70. return $this->appkey;
  71. }
  72. /**
  73. * 设置应用ID
  74. * @param String $appkey
  75. * 参数示例:<pre></pre>
  76. * 此参数必填 */
  77. public function setAppkey( $appkey) {
  78. $this->appkey = $appkey;
  79. }
  80. private $category;
  81. /**
  82. * @return 类别
  83. */
  84. public function getCategory() {
  85. return $this->category;
  86. }
  87. /**
  88. * 设置类别
  89. * @param String $category
  90. * 参数示例:<pre></pre>
  91. * 此参数必填 */
  92. public function setCategory( $category) {
  93. $this->category = $category;
  94. }
  95. private $popular;
  96. /**
  97. * @return 是否关注
  98. */
  99. public function getPopular() {
  100. return $this->popular;
  101. }
  102. /**
  103. * 设置是否关注
  104. * @param Integer $popular
  105. * 参数示例:<pre>0</pre>
  106. * 此参数必填 */
  107. public function setPopular( $popular) {
  108. $this->popular = $popular;
  109. }
  110. private $platform;
  111. /**
  112. * @return 平台(iphone,android)
  113. */
  114. public function getPlatform() {
  115. return $this->platform;
  116. }
  117. /**
  118. * 设置平台(iphone,android)
  119. * @param String $platform
  120. * 参数示例:<pre>iphone</pre>
  121. * 此参数必填 */
  122. public function setPlatform( $platform) {
  123. $this->platform = $platform;
  124. }
  125. private $stdResult;
  126. public function setStdResult($stdResult) {
  127. $this->stdResult = $stdResult;
  128. if (array_key_exists ( "updatedAt", $this->stdResult )) {
  129. $this->updatedAt = $this->stdResult->{"updatedAt"};
  130. }
  131. if (array_key_exists ( "useGameSdk", $this->stdResult )) {
  132. $this->useGameSdk = $this->stdResult->{"useGameSdk"};
  133. }
  134. if (array_key_exists ( "name", $this->stdResult )) {
  135. $this->name = $this->stdResult->{"name"};
  136. }
  137. if (array_key_exists ( "createdAt", $this->stdResult )) {
  138. $this->createdAt = $this->stdResult->{"createdAt"};
  139. }
  140. if (array_key_exists ( "appkey", $this->stdResult )) {
  141. $this->appkey = $this->stdResult->{"appkey"};
  142. }
  143. if (array_key_exists ( "category", $this->stdResult )) {
  144. $this->category = $this->stdResult->{"category"};
  145. }
  146. if (array_key_exists ( "popular", $this->stdResult )) {
  147. $this->popular = $this->stdResult->{"popular"};
  148. }
  149. if (array_key_exists ( "platform", $this->stdResult )) {
  150. $this->platform = $this->stdResult->{"platform"};
  151. }
  152. }
  153. private $arrayResult;
  154. public function setArrayResult($arrayResult) {
  155. $this->arrayResult = $arrayResult;
  156. if (array_key_exists ( "updatedAt", $this->arrayResult )) {
  157. $this->updatedAt = $arrayResult['updatedAt'];
  158. }
  159. if (array_key_exists ( "useGameSdk", $this->arrayResult )) {
  160. $this->useGameSdk = $arrayResult['useGameSdk'];
  161. }
  162. if (array_key_exists ( "name", $this->arrayResult )) {
  163. $this->name = $arrayResult['name'];
  164. }
  165. if (array_key_exists ( "createdAt", $this->arrayResult )) {
  166. $this->createdAt = $arrayResult['createdAt'];
  167. }
  168. if (array_key_exists ( "appkey", $this->arrayResult )) {
  169. $this->appkey = $arrayResult['appkey'];
  170. }
  171. if (array_key_exists ( "category", $this->arrayResult )) {
  172. $this->category = $arrayResult['category'];
  173. }
  174. if (array_key_exists ( "popular", $this->arrayResult )) {
  175. $this->popular = $arrayResult['popular'];
  176. }
  177. if (array_key_exists ( "platform", $this->arrayResult )) {
  178. $this->platform = $arrayResult['platform'];
  179. }
  180. }
  181. }
  182. ?>