123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596 |
- <?php
- /**
- * TOP API: alibaba.aliqin.fc.sms.num.query request
- *
- * @author auto create
- * @since 1.0, 2015.12.18
- */
- class AlibabaAliqinFcSmsNumQueryRequest {
- /**
- * 短信发送流水
- **/
- private $bizId;
- /**
- * 分页参数,页码
- **/
- private $currentPage;
- /**
- * 分页参数,每页数量。最大值100
- **/
- private $pageSize;
- /**
- * 短信发送日期,支持近30天记录查询,格式yyyyMMdd
- **/
- private $queryDate;
- /**
- * 短信接收号码
- **/
- private $recNum;
- private $apiParas = array();
- public function setBizId($bizId) {
- $this->bizId = $bizId;
- $this->apiParas["biz_id"] = $bizId;
- }
- public function getBizId() {
- return $this->bizId;
- }
- public function setCurrentPage($currentPage) {
- $this->currentPage = $currentPage;
- $this->apiParas["current_page"] = $currentPage;
- }
- public function getCurrentPage() {
- return $this->currentPage;
- }
- public function setPageSize($pageSize) {
- $this->pageSize = $pageSize;
- $this->apiParas["page_size"] = $pageSize;
- }
- public function getPageSize() {
- return $this->pageSize;
- }
- public function setQueryDate($queryDate) {
- $this->queryDate = $queryDate;
- $this->apiParas["query_date"] = $queryDate;
- }
- public function getQueryDate() {
- return $this->queryDate;
- }
- public function setRecNum($recNum) {
- $this->recNum = $recNum;
- $this->apiParas["rec_num"] = $recNum;
- }
- public function getRecNum() {
- return $this->recNum;
- }
- public function getApiMethodName() {
- return "alibaba.aliqin.fc.sms.num.query";
- }
- public function getApiParas() {
- return $this->apiParas;
- }
- public function check() {
- RequestCheckUtil::checkNotNull($this->currentPage, "currentPage");
- RequestCheckUtil::checkNotNull($this->pageSize, "pageSize");
- RequestCheckUtil::checkNotNull($this->queryDate, "queryDate");
- RequestCheckUtil::checkNotNull($this->recNum, "recNum");
- }
- public function putOtherTextParam($key, $value) {
- $this->apiParas[$key] = $value;
- $this->$key = $value;
- }
- }
|