123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.attendance.group.schedule.async request
- *
- * @author auto create
- * @since 1.0, 2021.01.27
- */
- class OapiAttendanceGroupScheduleAsyncRequest
- {
- /**
- * 考勤组id
- **/
- private $groupId;
-
- /**
- * 操作者userId
- **/
- private $opUserId;
-
- /**
- * 系统自动生成
- **/
- private $schedules;
-
- private $apiParas = array();
-
- public function setGroupId($groupId)
- {
- $this->groupId = $groupId;
- $this->apiParas["group_id"] = $groupId;
- }
- public function getGroupId()
- {
- return $this->groupId;
- }
- public function setOpUserId($opUserId)
- {
- $this->opUserId = $opUserId;
- $this->apiParas["op_user_id"] = $opUserId;
- }
- public function getOpUserId()
- {
- return $this->opUserId;
- }
- public function setSchedules($schedules)
- {
- $this->schedules = $schedules;
- $this->apiParas["schedules"] = $schedules;
- }
- public function getSchedules()
- {
- return $this->schedules;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.attendance.group.schedule.async";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->groupId,"groupId");
- RequestCheckUtil::checkNotNull($this->opUserId,"opUserId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|