1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <?php
- /**
- * dingtalk API: dingtalk.oapi.report.comment.list request
- *
- * @author auto create
- * @since 1.0, 2020.06.19
- */
- class OapiReportCommentListRequest
- {
- /**
- * 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值,默认值为0
- **/
- private $offset;
-
- /**
- * 日志id
- **/
- private $reportId;
-
- /**
- * 分页参数,每页大小,最多传20,默认值为20
- **/
- private $size;
-
- private $apiParas = array();
-
- public function setOffset($offset)
- {
- $this->offset = $offset;
- $this->apiParas["offset"] = $offset;
- }
- public function getOffset()
- {
- return $this->offset;
- }
- public function setReportId($reportId)
- {
- $this->reportId = $reportId;
- $this->apiParas["report_id"] = $reportId;
- }
- public function getReportId()
- {
- return $this->reportId;
- }
- public function setSize($size)
- {
- $this->size = $size;
- $this->apiParas["size"] = $size;
- }
- public function getSize()
- {
- return $this->size;
- }
- public function getApiMethodName()
- {
- return "dingtalk.oapi.report.comment.list";
- }
-
- public function getApiParas()
- {
- return $this->apiParas;
- }
-
- public function check()
- {
-
- RequestCheckUtil::checkNotNull($this->reportId,"reportId");
- }
-
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|