12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.chat.updategroupnick request
- *
- * @author auto create
- * @since 1.0, 2018.07.25
- */
- class OapiChatUpdategroupnickRequest
- {
- /**
- * chatid
- **/
- private $chatid;
-
- /**
- * 群昵称
- **/
- private $groupNick;
-
- /**
- * 用户userid
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setChatid($chatid)
- {
- $this->chatid = $chatid;
- $this->apiParas["chatid"] = $chatid;
- }
- public function getChatid()
- {
- return $this->chatid;
- }
- public function setGroupNick($groupNick)
- {
- $this->groupNick = $groupNick;
- $this->apiParas["group_nick"] = $groupNick;
- }
- public function getGroupNick()
- {
- return $this->groupNick;
- }
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.chat.updategroupnick";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->chatid,"chatid");
- RequestCheckUtil::checkNotNull($this->groupNick,"groupNick");
- RequestCheckUtil::checkNotNull($this->userid,"userid");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|