OapiHrmEmployeeUpdateresumerecordRequest.php 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?php
  2. /**
  3. * dingtalk API: dingtalk.oapi.hrm.employee.updateresumerecord request
  4. *
  5. * @author auto create
  6. * @since 1.0, 2019.07.03
  7. */
  8. class OapiHrmEmployeeUpdateresumerecordRequest
  9. {
  10. /**
  11. * 成长记录第一条内容
  12. **/
  13. private $content;
  14. /**
  15. * 成长记录kv展示内容:json格式,顺序展示
  16. **/
  17. private $kVContent;
  18. /**
  19. * pc端url
  20. **/
  21. private $pcUrl;
  22. /**
  23. * 手机端url
  24. **/
  25. private $phoneUrl;
  26. /**
  27. * 20180428 零点零分零秒
  28. **/
  29. private $recordTimestamp;
  30. /**
  31. * 成长记录唯一标识
  32. **/
  33. private $resumeId;
  34. /**
  35. * 成长记录title
  36. **/
  37. private $title;
  38. /**
  39. * 被操作人员工userid
  40. **/
  41. private $userid;
  42. /**
  43. * webOA后台url
  44. **/
  45. private $webUrl;
  46. private $apiParas = array();
  47. public function setContent($content)
  48. {
  49. $this->content = $content;
  50. $this->apiParas["content"] = $content;
  51. }
  52. public function getContent()
  53. {
  54. return $this->content;
  55. }
  56. public function setkVContent($kVContent)
  57. {
  58. $this->kVContent = $kVContent;
  59. $this->apiParas["k_v_content"] = $kVContent;
  60. }
  61. public function getkVContent()
  62. {
  63. return $this->kVContent;
  64. }
  65. public function setPcUrl($pcUrl)
  66. {
  67. $this->pcUrl = $pcUrl;
  68. $this->apiParas["pc_url"] = $pcUrl;
  69. }
  70. public function getPcUrl()
  71. {
  72. return $this->pcUrl;
  73. }
  74. public function setPhoneUrl($phoneUrl)
  75. {
  76. $this->phoneUrl = $phoneUrl;
  77. $this->apiParas["phone_url"] = $phoneUrl;
  78. }
  79. public function getPhoneUrl()
  80. {
  81. return $this->phoneUrl;
  82. }
  83. public function setRecordTimestamp($recordTimestamp)
  84. {
  85. $this->recordTimestamp = $recordTimestamp;
  86. $this->apiParas["record_timestamp"] = $recordTimestamp;
  87. }
  88. public function getRecordTimestamp()
  89. {
  90. return $this->recordTimestamp;
  91. }
  92. public function setResumeId($resumeId)
  93. {
  94. $this->resumeId = $resumeId;
  95. $this->apiParas["resume_id"] = $resumeId;
  96. }
  97. public function getResumeId()
  98. {
  99. return $this->resumeId;
  100. }
  101. public function setTitle($title)
  102. {
  103. $this->title = $title;
  104. $this->apiParas["title"] = $title;
  105. }
  106. public function getTitle()
  107. {
  108. return $this->title;
  109. }
  110. public function setUserid($userid)
  111. {
  112. $this->userid = $userid;
  113. $this->apiParas["userid"] = $userid;
  114. }
  115. public function getUserid()
  116. {
  117. return $this->userid;
  118. }
  119. public function setWebUrl($webUrl)
  120. {
  121. $this->webUrl = $webUrl;
  122. $this->apiParas["web_url"] = $webUrl;
  123. }
  124. public function getWebUrl()
  125. {
  126. return $this->webUrl;
  127. }
  128. public function getApiMethodName()
  129. {
  130. return "dingtalk.oapi.hrm.employee.updateresumerecord";
  131. }
  132. public function getApiParas()
  133. {
  134. return $this->apiParas;
  135. }
  136. public function check()
  137. {
  138. RequestCheckUtil::checkNotNull($this->resumeId,"resumeId");
  139. RequestCheckUtil::checkNotNull($this->userid,"userid");
  140. }
  141. public function putOtherTextParam($key, $value) {
  142. $this->apiParas[$key] = $value;
  143. $this->$key = $value;
  144. }
  145. }