-
Notifications
You must be signed in to change notification settings - Fork 9
/
AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest.go
156 lines (134 loc) · 4.43 KB
/
AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest.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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
package vaccin
import (
"net/url"
"github.com/bububa/opentaobao/model"
)
// AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest 疫苗预约时间段提醒 API请求
// alibaba.health.vaccin.notice.timebucket.remind
//
// 疫苗预约时间段提醒
type AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest struct {
model.Params
// 432421
_alipayUserId string
// 疫苗名称
_vaccineName string
// 预约日期:2019-02-08 严格按照
_reserveDate string
// 接种人姓名
_name string
// 针次
_theTimes string
// 接种点名称(通知方)
_povStoreName string
// 可预约时段
_reserveTime string
// 用户授权的手机号
_mobile string
}
// NewAlibabaHealthVaccinNoticeTimebucketRemindRequest 初始化AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest对象
func NewAlibabaHealthVaccinNoticeTimebucketRemindRequest() *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest {
return &AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest{
Params: model.NewParams(),
}
}
// GetApiMethodName IRequest interface 方法, 获取Api method
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetApiMethodName() string {
return "alibaba.health.vaccin.notice.timebucket.remind"
}
// GetApiParams IRequest interface 方法, 获取API参数
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetApiParams() url.Values {
params := url.Values{}
for k, v := range r.GetRawParams() {
params.Set(k, v.String())
}
return params
}
// SetAlipayUserId is AlipayUserId Setter
// 432421
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetAlipayUserId(_alipayUserId string) error {
r._alipayUserId = _alipayUserId
r.Set("alipay_user_id", _alipayUserId)
return nil
}
// GetAlipayUserId AlipayUserId Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetAlipayUserId() string {
return r._alipayUserId
}
// SetVaccineName is VaccineName Setter
// 疫苗名称
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetVaccineName(_vaccineName string) error {
r._vaccineName = _vaccineName
r.Set("vaccine_name", _vaccineName)
return nil
}
// GetVaccineName VaccineName Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetVaccineName() string {
return r._vaccineName
}
// SetReserveDate is ReserveDate Setter
// 预约日期:2019-02-08 严格按照
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetReserveDate(_reserveDate string) error {
r._reserveDate = _reserveDate
r.Set("reserve_date", _reserveDate)
return nil
}
// GetReserveDate ReserveDate Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetReserveDate() string {
return r._reserveDate
}
// SetName is Name Setter
// 接种人姓名
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetName(_name string) error {
r._name = _name
r.Set("name", _name)
return nil
}
// GetName Name Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetName() string {
return r._name
}
// SetTheTimes is TheTimes Setter
// 针次
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetTheTimes(_theTimes string) error {
r._theTimes = _theTimes
r.Set("the_times", _theTimes)
return nil
}
// GetTheTimes TheTimes Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetTheTimes() string {
return r._theTimes
}
// SetPovStoreName is PovStoreName Setter
// 接种点名称(通知方)
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetPovStoreName(_povStoreName string) error {
r._povStoreName = _povStoreName
r.Set("pov_store_name", _povStoreName)
return nil
}
// GetPovStoreName PovStoreName Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetPovStoreName() string {
return r._povStoreName
}
// SetReserveTime is ReserveTime Setter
// 可预约时段
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetReserveTime(_reserveTime string) error {
r._reserveTime = _reserveTime
r.Set("reserve_time", _reserveTime)
return nil
}
// GetReserveTime ReserveTime Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetReserveTime() string {
return r._reserveTime
}
// SetMobile is Mobile Setter
// 用户授权的手机号
func (r *AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) SetMobile(_mobile string) error {
r._mobile = _mobile
r.Set("mobile", _mobile)
return nil
}
// GetMobile Mobile Getter
func (r AlibabaHealthVaccinNoticeTimebucketRemindAPIRequest) GetMobile() string {
return r._mobile
}