anchorId = $anchorId; $this->apiParas["anchor_id"] = $anchorId; } public function getAnchorId() { return $this->anchorId; } public function setAppointBeginTime($appointBeginTime) { $this->appointBeginTime = $appointBeginTime; $this->apiParas["appoint_begin_time"] = $appointBeginTime; } public function getAppointBeginTime() { return $this->appointBeginTime; } public function setCoverUrl($coverUrl) { $this->coverUrl = $coverUrl; $this->apiParas["cover_url"] = $coverUrl; } public function getCoverUrl() { return $this->coverUrl; } public function setFeedType($feedType) { $this->feedType = $feedType; $this->apiParas["feed_type"] = $feedType; } public function getFeedType() { return $this->feedType; } public function setGroupIdType($groupIdType) { $this->groupIdType = $groupIdType; $this->apiParas["group_id_type"] = $groupIdType; } public function getGroupIdType() { return $this->groupIdType; } public function setGroupIds($groupIds) { $this->groupIds = $groupIds; $this->apiParas["group_ids"] = $groupIds; } public function getGroupIds() { return $this->groupIds; } public function setIntroduction($introduction) { $this->introduction = $introduction; $this->apiParas["introduction"] = $introduction; } public function getIntroduction() { return $this->introduction; } public function setOpenAppId($openAppId) { $this->openAppId = $openAppId; $this->apiParas["open_app_id"] = $openAppId; } public function getOpenAppId() { return $this->openAppId; } public function setPicIntroductionUrl($picIntroductionUrl) { $this->picIntroductionUrl = $picIntroductionUrl; $this->apiParas["pic_introduction_url"] = $picIntroductionUrl; } public function getPicIntroductionUrl() { return $this->picIntroductionUrl; } public function setPreVideoUrl($preVideoUrl) { $this->preVideoUrl = $preVideoUrl; $this->apiParas["pre_video_url"] = $preVideoUrl; } public function getPreVideoUrl() { return $this->preVideoUrl; } public function setTitle($title) { $this->title = $title; $this->apiParas["title"] = $title; } public function getTitle() { return $this->title; } public function getApiMethodName() { return "dingtalk.oapi.planetom.feeds.create"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->anchorId,"anchorId"); RequestCheckUtil::checkNotNull($this->appointBeginTime,"appointBeginTime"); RequestCheckUtil::checkNotNull($this->feedType,"feedType"); RequestCheckUtil::checkMaxListSize($this->groupIds,999,"groupIds"); RequestCheckUtil::checkNotNull($this->openAppId,"openAppId"); RequestCheckUtil::checkNotNull($this->title,"title"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }