authorityType = $authorityType; $this->apiParas["authority_type"] = $authorityType; } public function getAuthorityType() { return $this->authorityType; } public function setGroupType($groupType) { $this->groupType = $groupType; $this->apiParas["group_type"] = $groupType; } public function getGroupType() { return $this->groupType; } public function setGroupUniqId($groupUniqId) { $this->groupUniqId = $groupUniqId; $this->apiParas["group_uniq_id"] = $groupUniqId; } public function getGroupUniqId() { return $this->groupUniqId; } public function setMemberUserids($memberUserids) { $this->memberUserids = $memberUserids; $this->apiParas["member_userids"] = $memberUserids; } public function getMemberUserids() { return $this->memberUserids; } public function setOwnerUserid($ownerUserid) { $this->ownerUserid = $ownerUserid; $this->apiParas["owner_userid"] = $ownerUserid; } public function getOwnerUserid() { return $this->ownerUserid; } public function setTitle($title) { $this->title = $title; $this->apiParas["title"] = $title; } public function getTitle() { return $this->title; } public function getApiMethodName() { return "dingtalk.oapi.im.chat.controlgroup.create"; } public function getApiParas() { return $this->apiParas; } public function check() { RequestCheckUtil::checkNotNull($this->memberUserids,"memberUserids"); RequestCheckUtil::checkMaxListSize($this->memberUserids,20,"memberUserids"); RequestCheckUtil::checkNotNull($this->ownerUserid,"ownerUserid"); RequestCheckUtil::checkNotNull($this->title,"title"); RequestCheckUtil::checkMaxLength($this->title,256,"title"); } public function putOtherTextParam($key, $value) { $this->apiParas[$key] = $value; $this->$key = $value; } }