-
Notifications
You must be signed in to change notification settings - Fork 9
/
TaobaoFeedflowAccountRptdailylistAPIRequest.go
51 lines (43 loc) · 1.46 KB
/
TaobaoFeedflowAccountRptdailylistAPIRequest.go
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
package feedflow
import (
"net/url"
"github.com/bububa/opentaobao/model"
)
// TaobaoFeedflowAccountRptdailylistAPIRequest 获取广告主分日数据 API请求
// taobao.feedflow.account.rptdailylist
//
// 获取广告主分日数据
type TaobaoFeedflowAccountRptdailylistAPIRequest struct {
model.Params
// 查询条件
_rptQueryDTO *RptQueryDto
}
// NewTaobaoFeedflowAccountRptdailylistRequest 初始化TaobaoFeedflowAccountRptdailylistAPIRequest对象
func NewTaobaoFeedflowAccountRptdailylistRequest() *TaobaoFeedflowAccountRptdailylistAPIRequest {
return &TaobaoFeedflowAccountRptdailylistAPIRequest{
Params: model.NewParams(),
}
}
// GetApiMethodName IRequest interface 方法, 获取Api method
func (r TaobaoFeedflowAccountRptdailylistAPIRequest) GetApiMethodName() string {
return "taobao.feedflow.account.rptdailylist"
}
// GetApiParams IRequest interface 方法, 获取API参数
func (r TaobaoFeedflowAccountRptdailylistAPIRequest) GetApiParams() url.Values {
params := url.Values{}
for k, v := range r.GetRawParams() {
params.Set(k, v.String())
}
return params
}
// SetRptQueryDTO is RptQueryDTO Setter
// 查询条件
func (r *TaobaoFeedflowAccountRptdailylistAPIRequest) SetRptQueryDTO(_rptQueryDTO *RptQueryDto) error {
r._rptQueryDTO = _rptQueryDTO
r.Set("rpt_query_d_t_o", _rptQueryDTO)
return nil
}
// GetRptQueryDTO RptQueryDTO Getter
func (r TaobaoFeedflowAccountRptdailylistAPIRequest) GetRptQueryDTO() *RptQueryDto {
return r._rptQueryDTO
}