No Description

UmengUappEventInfo.class.php 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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 UmengUappEventInfo extends SDKDomain {
  5. private $name;
  6. /**
  7. * @return 事件名称
  8. */
  9. public function getName() {
  10. return $this->name;
  11. }
  12. /**
  13. * 设置事件名称
  14. * @param String $name
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setName( $name) {
  18. $this->name = $name;
  19. }
  20. private $count;
  21. /**
  22. * @return 统计次数
  23. */
  24. public function getCount() {
  25. return $this->count;
  26. }
  27. /**
  28. * 设置统计次数
  29. * @param Integer $count
  30. * 参数示例:<pre></pre>
  31. * 此参数必填 */
  32. public function setCount( $count) {
  33. $this->count = $count;
  34. }
  35. private $id;
  36. /**
  37. * @return ID
  38. */
  39. public function getId() {
  40. return $this->id;
  41. }
  42. /**
  43. * 设置ID
  44. * @param String $id
  45. * 参数示例:<pre></pre>
  46. * 此参数必填 */
  47. public function setId( $id) {
  48. $this->id = $id;
  49. }
  50. private $displayName;
  51. /**
  52. * @return 显示名称
  53. */
  54. public function getDisplayName() {
  55. return $this->displayName;
  56. }
  57. /**
  58. * 设置显示名称
  59. * @param String $displayName
  60. * 参数示例:<pre></pre>
  61. * 此参数必填 */
  62. public function setDisplayName( $displayName) {
  63. $this->displayName = $displayName;
  64. }
  65. private $stdResult;
  66. public function setStdResult($stdResult) {
  67. $this->stdResult = $stdResult;
  68. if (array_key_exists ( "name", $this->stdResult )) {
  69. $this->name = $this->stdResult->{"name"};
  70. }
  71. if (array_key_exists ( "count", $this->stdResult )) {
  72. $this->count = $this->stdResult->{"count"};
  73. }
  74. if (array_key_exists ( "id", $this->stdResult )) {
  75. $this->id = $this->stdResult->{"id"};
  76. }
  77. if (array_key_exists ( "displayName", $this->stdResult )) {
  78. $this->displayName = $this->stdResult->{"displayName"};
  79. }
  80. }
  81. private $arrayResult;
  82. public function setArrayResult($arrayResult) {
  83. $this->arrayResult = $arrayResult;
  84. if (array_key_exists ( "name", $this->arrayResult )) {
  85. $this->name = $arrayResult['name'];
  86. }
  87. if (array_key_exists ( "count", $this->arrayResult )) {
  88. $this->count = $arrayResult['count'];
  89. }
  90. if (array_key_exists ( "id", $this->arrayResult )) {
  91. $this->id = $arrayResult['id'];
  92. }
  93. if (array_key_exists ( "displayName", $this->arrayResult )) {
  94. $this->displayName = $arrayResult['displayName'];
  95. }
  96. }
  97. }
  98. ?>