No Description

UmengBrandAddCampaignResult.class.php 1.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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 UmengBrandAddCampaignResult {
  5. private $campaignId;
  6. /**
  7. * @return 活动id
  8. */
  9. public function getCampaignId() {
  10. return $this->campaignId;
  11. }
  12. /**
  13. * 设置活动id
  14. * @param Integer $campaignId
  15. * 此参数必填 */
  16. public function setCampaignId( $campaignId) {
  17. $this->campaignId = $campaignId;
  18. }
  19. private $stdResult;
  20. public function setStdResult($stdResult) {
  21. $this->stdResult = $stdResult;
  22. if (array_key_exists ( "campaignId", $this->stdResult )) {
  23. $this->campaignId = $this->stdResult->{"campaignId"};
  24. }
  25. }
  26. private $arrayResult;
  27. public function setArrayResult($arrayResult) {
  28. $this->arrayResult = $arrayResult;
  29. if (array_key_exists ( "campaignId", $this->arrayResult )) {
  30. $this->campaignId = $arrayResult['campaignId'];
  31. }
  32. }
  33. }
  34. ?>