-
Notifications
You must be signed in to change notification settings - Fork 9
/
TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest.go
54 lines (45 loc) · 1.85 KB
/
TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest.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
52
53
54
package simba
import (
"net/url"
"github.com/bububa/opentaobao/model"
)
// TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest 查询dmp浮层配置 API请求
// taobao.universalbp.label.dmp.finddmpmoduleconfig
//
// 入参账号信息,出参达摩盘相关配置信息
type TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest struct {
model.Params
// topServiceContext
_topServiceContext *TopServiceContext
}
// NewTaobaoUniversalbpLabelDmpFinddmpmoduleconfigRequest 初始化TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest对象
func NewTaobaoUniversalbpLabelDmpFinddmpmoduleconfigRequest() *TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest {
return &TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest{
Params: model.NewParams(),
}
}
// GetApiMethodName IRequest interface 方法, 获取Api method
func (r TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest) GetApiMethodName() string {
return "taobao.universalbp.label.dmp.finddmpmoduleconfig"
}
// GetApiParams IRequest interface 方法, 获取API参数
func (r TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest) GetApiParams(params url.Values) {
for k, v := range r.Params {
params.Set(k, v.String())
}
}
// GetRawParams IRequest interface 方法, 获取API原始参数
func (r TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest) GetRawParams() model.Params {
return r.Params
}
// SetTopServiceContext is TopServiceContext Setter
// topServiceContext
func (r *TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest) SetTopServiceContext(_topServiceContext *TopServiceContext) error {
r._topServiceContext = _topServiceContext
r.Set("top_service_context", _topServiceContext)
return nil
}
// GetTopServiceContext TopServiceContext Getter
func (r TaobaoUniversalbpLabelDmpFinddmpmoduleconfigAPIRequest) GetTopServiceContext() *TopServiceContext {
return r._topServiceContext
}