12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.smartwork.hrm.employee.update request
- *
- * @author auto create
- * @since 1.0, 2020.06.05
- */
- class OapiSmartworkHrmEmployeeUpdateRequest
- {
- /**
- * 微应用在企业的AgentId
- **/
- private $agentid;
-
- /**
- * 添加待入职入参
- **/
- private $param;
-
- private $apiParas = array();
-
- public function setAgentid($agentid)
- {
- $this->agentid = $agentid;
- $this->apiParas["agentid"] = $agentid;
- }
- public function getAgentid()
- {
- return $this->agentid;
- }
- public function setParam($param)
- {
- $this->param = $param;
- $this->apiParas["param"] = $param;
- }
- public function getParam()
- {
- return $this->param;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.smartwork.hrm.employee.update";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->agentid,"agentid");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|