123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.mcs.conference.create request
- *
- * @author auto create
- * @since 1.0, 2020.01.06
- */
- class OapiMcsConferenceCreateRequest
- {
- /**
- * 由MCS颁发给调用三方的使用凭证
- **/
- private $bizKey;
-
- /**
- * 是否推送通话记录
- **/
- private $isPushRecord;
-
- /**
- * 倾向发起地 目前支持 CN-HZ/CN-HK/CN-BJ
- **/
- private $preferenceRegion;
-
- /**
- * 视频会议从创建之时起的最多保留时间
- **/
- private $roomValidTime;
-
- /**
- * 视频会议标题
- **/
- private $title;
-
- private $apiParas = array();
-
- public function setBizKey($bizKey)
- {
- $this->bizKey = $bizKey;
- $this->apiParas["biz_key"] = $bizKey;
- }
- public function getBizKey()
- {
- return $this->bizKey;
- }
- public function setIsPushRecord($isPushRecord)
- {
- $this->isPushRecord = $isPushRecord;
- $this->apiParas["is_push_record"] = $isPushRecord;
- }
- public function getIsPushRecord()
- {
- return $this->isPushRecord;
- }
- public function setPreferenceRegion($preferenceRegion)
- {
- $this->preferenceRegion = $preferenceRegion;
- $this->apiParas["preference_region"] = $preferenceRegion;
- }
- public function getPreferenceRegion()
- {
- return $this->preferenceRegion;
- }
- public function setRoomValidTime($roomValidTime)
- {
- $this->roomValidTime = $roomValidTime;
- $this->apiParas["room_valid_time"] = $roomValidTime;
- }
- public function getRoomValidTime()
- {
- return $this->roomValidTime;
- }
- public function setTitle($title)
- {
- $this->title = $title;
- $this->apiParas["title"] = $title;
- }
- public function getTitle()
- {
- return $this->title;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.mcs.conference.create";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->bizKey,"bizKey");
- RequestCheckUtil::checkNotNull($this->roomValidTime,"roomValidTime");
- RequestCheckUtil::checkNotNull($this->title,"title");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|