123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.calendar.delete request
- *
- * @author auto create
- * @since 1.0, 2020.04.20
- */
- class OapiCalendarDeleteRequest
- {
- /**
- * 日程id
- **/
- private $calendarId;
-
- /**
- * 员工id
- **/
- private $userid;
-
- private $apiParas = array();
-
- public function setCalendarId($calendarId)
- {
- $this->calendarId = $calendarId;
- $this->apiParas["calendar_id"] = $calendarId;
- }
- public function getCalendarId()
- {
- return $this->calendarId;
- }
- public function setUserid($userid)
- {
- $this->userid = $userid;
- $this->apiParas["userid"] = $userid;
- }
- public function getUserid()
- {
- return $this->userid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.calendar.delete";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|