colly_wyx
2018-06-13 e4d5467f055ece8cc9dfdc02dd836bcc187034a5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<?php
/**
 * TOP API: alibaba.aliqin.fc.sms.num.query request
 * 
 * @author auto create
 * @since 1.0, 2016.03.01
 */
class AlibabaAliqinFcSmsNumQueryRequest
{
    /** 
     * 短信发送流水
     **/
    private $bizId;
    
    /** 
     * 分页参数,页码
     **/
    private $currentPage;
    
    /** 
     * 分页参数,每页数量。最大值50
     **/
    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;
    }
}