1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.ats.candidate.get request
- *
- * @author auto create
- * @since 1.0, 2020.07.30
- */
- class OapiAtsCandidateGetRequest
- {
- /**
- * 招聘业务标识
- **/
- private $bizCode;
-
- /**
- * 候选人id
- **/
- private $candidateId;
-
- private $apiParas = array();
-
- public function setBizCode($bizCode)
- {
- $this->bizCode = $bizCode;
- $this->apiParas["biz_code"] = $bizCode;
- }
- public function getBizCode()
- {
- return $this->bizCode;
- }
- public function setCandidateId($candidateId)
- {
- $this->candidateId = $candidateId;
- $this->apiParas["candidate_id"] = $candidateId;
- }
- public function getCandidateId()
- {
- return $this->candidateId;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.ats.candidate.get";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->bizCode,"bizCode");
- RequestCheckUtil::checkNotNull($this->candidateId,"candidateId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|