12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.attendance.vacation.quota.init request
- *
- * @author auto create
- * @since 1.0, 2019.07.01
- */
- class OapiAttendanceVacationQuotaInitRequest
- {
- /**
- * 待初始化的假期余额记录
- **/
- private $leaveQuotas;
-
- /**
- * 操作者ID
- **/
- private $opUserid;
-
- private $apiParas = array();
-
- public function setLeaveQuotas($leaveQuotas)
- {
- $this->leaveQuotas = $leaveQuotas;
- $this->apiParas["leave_quotas"] = $leaveQuotas;
- }
- public function getLeaveQuotas()
- {
- return $this->leaveQuotas;
- }
- public function setOpUserid($opUserid)
- {
- $this->opUserid = $opUserid;
- $this->apiParas["op_userid"] = $opUserid;
- }
- public function getOpUserid()
- {
- return $this->opUserid;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.attendance.vacation.quota.init";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->opUserid,"opUserid");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|