-
Notifications
You must be signed in to change notification settings - Fork 9
/
AlibabaHealthVaccinPovUpdateAPIRequest.go
126 lines (108 loc) · 3.3 KB
/
AlibabaHealthVaccinPovUpdateAPIRequest.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
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
116
117
118
119
120
121
122
123
124
125
126
package vaccin
import (
"net/url"
"github.com/bububa/opentaobao/model"
)
// AlibabaHealthVaccinPovUpdateAPIRequest 新增/变更接种点信息 API请求
// alibaba.health.vaccin.pov.update
//
// ISV 将疫苗的接种点信息同步到免疫规划中心,提醒用户接种时可提供接种点详情。
type AlibabaHealthVaccinPovUpdateAPIRequest struct {
model.Params
// 接种点编码
_povNo string
// 接种点名称
_povName string
// 接种点联系电话
_telephone string
// 接种点具体地址
_address string
// 接种点介绍
_description string
// 服务时间
_businessTime string
}
// NewAlibabaHealthVaccinPovUpdateRequest 初始化AlibabaHealthVaccinPovUpdateAPIRequest对象
func NewAlibabaHealthVaccinPovUpdateRequest() *AlibabaHealthVaccinPovUpdateAPIRequest {
return &AlibabaHealthVaccinPovUpdateAPIRequest{
Params: model.NewParams(),
}
}
// GetApiMethodName IRequest interface 方法, 获取Api method
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetApiMethodName() string {
return "alibaba.health.vaccin.pov.update"
}
// GetApiParams IRequest interface 方法, 获取API参数
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetApiParams() url.Values {
params := url.Values{}
for k, v := range r.GetRawParams() {
params.Set(k, v.String())
}
return params
}
// SetPovNo is PovNo Setter
// 接种点编码
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetPovNo(_povNo string) error {
r._povNo = _povNo
r.Set("pov_no", _povNo)
return nil
}
// GetPovNo PovNo Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetPovNo() string {
return r._povNo
}
// SetPovName is PovName Setter
// 接种点名称
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetPovName(_povName string) error {
r._povName = _povName
r.Set("pov_name", _povName)
return nil
}
// GetPovName PovName Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetPovName() string {
return r._povName
}
// SetTelephone is Telephone Setter
// 接种点联系电话
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetTelephone(_telephone string) error {
r._telephone = _telephone
r.Set("telephone", _telephone)
return nil
}
// GetTelephone Telephone Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetTelephone() string {
return r._telephone
}
// SetAddress is Address Setter
// 接种点具体地址
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetAddress(_address string) error {
r._address = _address
r.Set("address", _address)
return nil
}
// GetAddress Address Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetAddress() string {
return r._address
}
// SetDescription is Description Setter
// 接种点介绍
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetDescription(_description string) error {
r._description = _description
r.Set("description", _description)
return nil
}
// GetDescription Description Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetDescription() string {
return r._description
}
// SetBusinessTime is BusinessTime Setter
// 服务时间
func (r *AlibabaHealthVaccinPovUpdateAPIRequest) SetBusinessTime(_businessTime string) error {
r._businessTime = _businessTime
r.Set("business_time", _businessTime)
return nil
}
// GetBusinessTime BusinessTime Getter
func (r AlibabaHealthVaccinPovUpdateAPIRequest) GetBusinessTime() string {
return r._businessTime
}