No Description

UmengUappGetDurationsParam.class.php 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  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 UmengUappGetDurationsParam {
  5. /**
  6. * @return 应用ID
  7. */
  8. public function getAppkey() {
  9. $tempResult = $this->sdkStdResult["appkey"];
  10. return $tempResult;
  11. }
  12. /**
  13. * 设置应用ID
  14. * @param String $appkey
  15. * 参数示例:<pre></pre>
  16. * 此参数必填 */
  17. public function setAppkey( $appkey) {
  18. $this->sdkStdResult["appkey"] = $appkey;
  19. }
  20. /**
  21. * @return 查询日期
  22. */
  23. public function getDate() {
  24. $tempResult = $this->sdkStdResult["date"];
  25. return $tempResult;
  26. }
  27. /**
  28. * 设置查询日期
  29. * @param String $date
  30. * 参数示例:<pre>2018-01-01</pre>
  31. * 此参数必填 */
  32. public function setDate( $date) {
  33. $this->sdkStdResult["date"] = $date;
  34. }
  35. /**
  36. * @return 查询时长统计类型(按天daily,按次daily_per_launch)
  37. */
  38. public function getStatType() {
  39. $tempResult = $this->sdkStdResult["statType"];
  40. return $tempResult;
  41. }
  42. /**
  43. * 设置查询时长统计类型(按天daily,按次daily_per_launch)
  44. * @param String $statType
  45. * 参数示例:<pre>daily</pre>
  46. * 此参数为可选参数
  47. * 默认值:<pre>daily</pre>
  48. */
  49. public function setStatType( $statType) {
  50. $this->sdkStdResult["statType"] = $statType;
  51. }
  52. /**
  53. * @return 渠道名称(仅限一个App%20Store)
  54. */
  55. public function getChannel() {
  56. $tempResult = $this->sdkStdResult["channel"];
  57. return $tempResult;
  58. }
  59. /**
  60. * 设置渠道名称(仅限一个App%20Store)
  61. * @param String $channel
  62. * 参数示例:<pre>App%20Store</pre>
  63. * 此参数为可选参数
  64. * 默认值:<pre></pre>
  65. */
  66. public function setChannel( $channel) {
  67. $this->sdkStdResult["channel"] = $channel;
  68. }
  69. /**
  70. * @return 版本名称(仅限一个1.0.0)
  71. */
  72. public function getVersion() {
  73. $tempResult = $this->sdkStdResult["version"];
  74. return $tempResult;
  75. }
  76. /**
  77. * 设置版本名称(仅限一个1.0.0)
  78. * @param String $version
  79. * 参数示例:<pre>1.0.0</pre>
  80. * 此参数为可选参数
  81. * 默认值:<pre></pre>
  82. */
  83. public function setVersion( $version) {
  84. $this->sdkStdResult["version"] = $version;
  85. }
  86. private $sdkStdResult=array();
  87. public function getSdkStdResult(){
  88. return $this->sdkStdResult;
  89. }
  90. }
  91. ?>