1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.attendance.shift.delete request
- *
- * @author auto create
- * @since 1.0, 2020.08.26
- */
- class OapiAttendanceShiftDeleteRequest
- {
- /**
- * 操作人
- **/
- private $opUserId;
-
- /**
- * 班次id
- **/
- private $shiftId;
-
- private $apiParas = array();
-
- public function setOpUserId($opUserId)
- {
- $this->opUserId = $opUserId;
- $this->apiParas["op_user_id"] = $opUserId;
- }
- public function getOpUserId()
- {
- return $this->opUserId;
- }
- public function setShiftId($shiftId)
- {
- $this->shiftId = $shiftId;
- $this->apiParas["shift_id"] = $shiftId;
- }
- public function getShiftId()
- {
- return $this->shiftId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.attendance.shift.delete";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->opUserId,"opUserId");
- RequestCheckUtil::checkNotNull($this->shiftId,"shiftId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|