tencentcloud-sdk-zj 1.0.200
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/lib/VERSION +1 -0
- data/lib/tencentcloud-sdk-zj.rb +11 -0
- data/lib/v20190121/client.rb +540 -0
- data/lib/v20190121/models.rb +1976 -0
- metadata +66 -0
@@ -0,0 +1,1976 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
module TencentCloud
|
18
|
+
module Zj
|
19
|
+
module V20190121
|
20
|
+
# AddCrowdPackInfo请求参数结构体
|
21
|
+
class AddCrowdPackInfoRequest < TencentCloud::Common::AbstractModel
|
22
|
+
# @param License: 商户证书
|
23
|
+
# @type License: String
|
24
|
+
# @param Name: 人群包名称
|
25
|
+
# @type Name: String
|
26
|
+
# @param FileName: 人群包文件名称,人群包文件必须为utf8编码,动态参数只能是汉字、数字、英文字母的组合,不能包含其他字符
|
27
|
+
# @type FileName: String
|
28
|
+
# @param Desc: 人群包描述
|
29
|
+
# @type Desc: String
|
30
|
+
# @param CosUrl: 已经上传好的人群包cos地址
|
31
|
+
# @type CosUrl: String
|
32
|
+
# @param PhoneNum: 人群包手机号数量
|
33
|
+
# @type PhoneNum: Integer
|
34
|
+
|
35
|
+
attr_accessor :License, :Name, :FileName, :Desc, :CosUrl, :PhoneNum
|
36
|
+
|
37
|
+
def initialize(license=nil, name=nil, filename=nil, desc=nil, cosurl=nil, phonenum=nil)
|
38
|
+
@License = license
|
39
|
+
@Name = name
|
40
|
+
@FileName = filename
|
41
|
+
@Desc = desc
|
42
|
+
@CosUrl = cosurl
|
43
|
+
@PhoneNum = phonenum
|
44
|
+
end
|
45
|
+
|
46
|
+
def deserialize(params)
|
47
|
+
@License = params['License']
|
48
|
+
@Name = params['Name']
|
49
|
+
@FileName = params['FileName']
|
50
|
+
@Desc = params['Desc']
|
51
|
+
@CosUrl = params['CosUrl']
|
52
|
+
@PhoneNum = params['PhoneNum']
|
53
|
+
end
|
54
|
+
end
|
55
|
+
|
56
|
+
# AddCrowdPackInfo返回参数结构体
|
57
|
+
class AddCrowdPackInfoResponse < TencentCloud::Common::AbstractModel
|
58
|
+
# @param Data: 接口返回
|
59
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsAddCrowdPackInfoResponse`
|
60
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
61
|
+
# @type RequestId: String
|
62
|
+
|
63
|
+
attr_accessor :Data, :RequestId
|
64
|
+
|
65
|
+
def initialize(data=nil, requestid=nil)
|
66
|
+
@Data = data
|
67
|
+
@RequestId = requestid
|
68
|
+
end
|
69
|
+
|
70
|
+
def deserialize(params)
|
71
|
+
unless params['Data'].nil?
|
72
|
+
@Data = SmsAddCrowdPackInfoResponse.new
|
73
|
+
@Data.deserialize(params['Data'])
|
74
|
+
end
|
75
|
+
@RequestId = params['RequestId']
|
76
|
+
end
|
77
|
+
end
|
78
|
+
|
79
|
+
# AddSmsSign请求参数结构体
|
80
|
+
class AddSmsSignRequest < TencentCloud::Common::AbstractModel
|
81
|
+
# @param License: 商户证书
|
82
|
+
# @type License: String
|
83
|
+
# @param SignType: 签名类型。其中每种类型后面标注了其可选的 DocumentType(证明类型):
|
84
|
+
# 0:公司(0,1,2,3)。
|
85
|
+
# 1:APP(0,1,2,3,4) 。
|
86
|
+
# 2:网站(0,1,2,3,5)。
|
87
|
+
# 3:公众号或者小程序(0,1,2,3,6)。
|
88
|
+
# 4:商标(7)。
|
89
|
+
# 5:政府/机关事业单位/其他机构(2,3)。
|
90
|
+
# 注:必须按照对应关系选择证明类型,否则会审核失败。
|
91
|
+
# @type SignType: Integer
|
92
|
+
# @param DocumentType: 证明类型:
|
93
|
+
# 0:三证合一。
|
94
|
+
# 1:企业营业执照。
|
95
|
+
# 2:组织机构代码证书。
|
96
|
+
# 3:社会信用代码证书。
|
97
|
+
# 4:应用后台管理截图(个人开发APP)。
|
98
|
+
# 5:网站备案后台截图(个人开发网站)。
|
99
|
+
# 6:小程序设置页面截图(个人认证小程序)。
|
100
|
+
# 7:商标注册书
|
101
|
+
# @type DocumentType: Integer
|
102
|
+
# @param International: 是否国际/港澳台短信:
|
103
|
+
# 0:表示国内短信。
|
104
|
+
# 1:表示国际/港澳台短信。
|
105
|
+
# @type International: Integer
|
106
|
+
# @param ProofImage: 资质图片url
|
107
|
+
# @type ProofImage: String
|
108
|
+
# @param SignName: 签名内容
|
109
|
+
# @type SignName: String
|
110
|
+
# @param Remark: 签名备注,比如申请原因,使用场景等,可以填空
|
111
|
+
# @type Remark: String
|
112
|
+
|
113
|
+
attr_accessor :License, :SignType, :DocumentType, :International, :ProofImage, :SignName, :Remark
|
114
|
+
|
115
|
+
def initialize(license=nil, signtype=nil, documenttype=nil, international=nil, proofimage=nil, signname=nil, remark=nil)
|
116
|
+
@License = license
|
117
|
+
@SignType = signtype
|
118
|
+
@DocumentType = documenttype
|
119
|
+
@International = international
|
120
|
+
@ProofImage = proofimage
|
121
|
+
@SignName = signname
|
122
|
+
@Remark = remark
|
123
|
+
end
|
124
|
+
|
125
|
+
def deserialize(params)
|
126
|
+
@License = params['License']
|
127
|
+
@SignType = params['SignType']
|
128
|
+
@DocumentType = params['DocumentType']
|
129
|
+
@International = params['International']
|
130
|
+
@ProofImage = params['ProofImage']
|
131
|
+
@SignName = params['SignName']
|
132
|
+
@Remark = params['Remark']
|
133
|
+
end
|
134
|
+
end
|
135
|
+
|
136
|
+
# AddSmsSign返回参数结构体
|
137
|
+
class AddSmsSignResponse < TencentCloud::Common::AbstractModel
|
138
|
+
# @param Data: 签名id数组
|
139
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.PaasCreateSignResp`
|
140
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
141
|
+
# @type RequestId: String
|
142
|
+
|
143
|
+
attr_accessor :Data, :RequestId
|
144
|
+
|
145
|
+
def initialize(data=nil, requestid=nil)
|
146
|
+
@Data = data
|
147
|
+
@RequestId = requestid
|
148
|
+
end
|
149
|
+
|
150
|
+
def deserialize(params)
|
151
|
+
unless params['Data'].nil?
|
152
|
+
@Data = PaasCreateSignResp.new
|
153
|
+
@Data.deserialize(params['Data'])
|
154
|
+
end
|
155
|
+
@RequestId = params['RequestId']
|
156
|
+
end
|
157
|
+
end
|
158
|
+
|
159
|
+
# 短信模板创建接口返回
|
160
|
+
class AddSmsTemplateDataStruct < TencentCloud::Common::AbstractModel
|
161
|
+
# @param TemplateId: 短信模板ID
|
162
|
+
# @type TemplateId: Integer
|
163
|
+
|
164
|
+
attr_accessor :TemplateId
|
165
|
+
|
166
|
+
def initialize(templateid=nil)
|
167
|
+
@TemplateId = templateid
|
168
|
+
end
|
169
|
+
|
170
|
+
def deserialize(params)
|
171
|
+
@TemplateId = params['TemplateId']
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# AddSmsTemplate请求参数结构体
|
176
|
+
class AddSmsTemplateRequest < TencentCloud::Common::AbstractModel
|
177
|
+
# @param License: 商户证书
|
178
|
+
# @type License: String
|
179
|
+
# @param SignID: 短信签名,创建签名时返回
|
180
|
+
# @type SignID: Integer
|
181
|
+
# @param TemplateName: 模板名称
|
182
|
+
# @type TemplateName: String
|
183
|
+
# @param TemplateContent: 短信内容,动态内容使用占位符{1},{2}等表示
|
184
|
+
# @type TemplateContent: String
|
185
|
+
# @param SmsType: 短信类型:{0:普通短信,1:营销短信}
|
186
|
+
# @type SmsType: Integer
|
187
|
+
# @param International: 是否国际/港澳台短信:
|
188
|
+
# 0:表示国内短信。
|
189
|
+
# 1:表示国际/港澳台短信。
|
190
|
+
# @type International: Integer
|
191
|
+
# @param Remark: 短信模板标签
|
192
|
+
# @type Remark: String
|
193
|
+
# @param Urls: 发送短信活动时配置的落地链接地址,仅用作短信活动
|
194
|
+
# @type Urls: Array
|
195
|
+
# @param CommonParams: 发送短信活动时用于展示人群包动态参数模板占位符序号或接口发送时变量占位符序号
|
196
|
+
# @type CommonParams: Array
|
197
|
+
# @param UrlParams: 发送短信活动时用于展示短连接模板占位符序号,仅用作短信活动
|
198
|
+
# @type UrlParams: Array
|
199
|
+
|
200
|
+
attr_accessor :License, :SignID, :TemplateName, :TemplateContent, :SmsType, :International, :Remark, :Urls, :CommonParams, :UrlParams
|
201
|
+
|
202
|
+
def initialize(license=nil, signid=nil, templatename=nil, templatecontent=nil, smstype=nil, international=nil, remark=nil, urls=nil, commonparams=nil, urlparams=nil)
|
203
|
+
@License = license
|
204
|
+
@SignID = signid
|
205
|
+
@TemplateName = templatename
|
206
|
+
@TemplateContent = templatecontent
|
207
|
+
@SmsType = smstype
|
208
|
+
@International = international
|
209
|
+
@Remark = remark
|
210
|
+
@Urls = urls
|
211
|
+
@CommonParams = commonparams
|
212
|
+
@UrlParams = urlparams
|
213
|
+
end
|
214
|
+
|
215
|
+
def deserialize(params)
|
216
|
+
@License = params['License']
|
217
|
+
@SignID = params['SignID']
|
218
|
+
@TemplateName = params['TemplateName']
|
219
|
+
@TemplateContent = params['TemplateContent']
|
220
|
+
@SmsType = params['SmsType']
|
221
|
+
@International = params['International']
|
222
|
+
@Remark = params['Remark']
|
223
|
+
@Urls = params['Urls']
|
224
|
+
@CommonParams = params['CommonParams']
|
225
|
+
@UrlParams = params['UrlParams']
|
226
|
+
end
|
227
|
+
end
|
228
|
+
|
229
|
+
# AddSmsTemplate返回参数结构体
|
230
|
+
class AddSmsTemplateResponse < TencentCloud::Common::AbstractModel
|
231
|
+
# @param Data: 短信模板创建接口返回
|
232
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.AddSmsTemplateDataStruct`
|
233
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
234
|
+
# @type RequestId: String
|
235
|
+
|
236
|
+
attr_accessor :Data, :RequestId
|
237
|
+
|
238
|
+
def initialize(data=nil, requestid=nil)
|
239
|
+
@Data = data
|
240
|
+
@RequestId = requestid
|
241
|
+
end
|
242
|
+
|
243
|
+
def deserialize(params)
|
244
|
+
unless params['Data'].nil?
|
245
|
+
@Data = AddSmsTemplateDataStruct.new
|
246
|
+
@Data.deserialize(params['Data'])
|
247
|
+
end
|
248
|
+
@RequestId = params['RequestId']
|
249
|
+
end
|
250
|
+
end
|
251
|
+
|
252
|
+
# 取消活动的返回值Data部分
|
253
|
+
class CancelActivityData < TencentCloud::Common::AbstractModel
|
254
|
+
# @param Message: 成功返回时的文字描述
|
255
|
+
# @type Message: String
|
256
|
+
|
257
|
+
attr_accessor :Message
|
258
|
+
|
259
|
+
def initialize(message=nil)
|
260
|
+
@Message = message
|
261
|
+
end
|
262
|
+
|
263
|
+
def deserialize(params)
|
264
|
+
@Message = params['Message']
|
265
|
+
end
|
266
|
+
end
|
267
|
+
|
268
|
+
# CancelCampaign请求参数结构体
|
269
|
+
class CancelCampaignRequest < TencentCloud::Common::AbstractModel
|
270
|
+
# @param License: 商户证书
|
271
|
+
# @type License: String
|
272
|
+
# @param CampaignId: 短信活动id
|
273
|
+
# @type CampaignId: Integer
|
274
|
+
|
275
|
+
attr_accessor :License, :CampaignId
|
276
|
+
|
277
|
+
def initialize(license=nil, campaignid=nil)
|
278
|
+
@License = license
|
279
|
+
@CampaignId = campaignid
|
280
|
+
end
|
281
|
+
|
282
|
+
def deserialize(params)
|
283
|
+
@License = params['License']
|
284
|
+
@CampaignId = params['CampaignId']
|
285
|
+
end
|
286
|
+
end
|
287
|
+
|
288
|
+
# CancelCampaign返回参数结构体
|
289
|
+
class CancelCampaignResponse < TencentCloud::Common::AbstractModel
|
290
|
+
# @param Data: 处理结果
|
291
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.CancelActivityData`
|
292
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
293
|
+
# @type RequestId: String
|
294
|
+
|
295
|
+
attr_accessor :Data, :RequestId
|
296
|
+
|
297
|
+
def initialize(data=nil, requestid=nil)
|
298
|
+
@Data = data
|
299
|
+
@RequestId = requestid
|
300
|
+
end
|
301
|
+
|
302
|
+
def deserialize(params)
|
303
|
+
unless params['Data'].nil?
|
304
|
+
@Data = CancelActivityData.new
|
305
|
+
@Data.deserialize(params['Data'])
|
306
|
+
end
|
307
|
+
@RequestId = params['RequestId']
|
308
|
+
end
|
309
|
+
end
|
310
|
+
|
311
|
+
# CreateCampaign请求参数结构体
|
312
|
+
class CreateCampaignRequest < TencentCloud::Common::AbstractModel
|
313
|
+
# @param License: 商户证书
|
314
|
+
# @type License: String
|
315
|
+
# @param SendTime: 短信活动发送时间
|
316
|
+
# @type SendTime: Integer
|
317
|
+
# @param Name: 短信活动名称
|
318
|
+
# @type Name: String
|
319
|
+
# @param Strategies: 发送策略
|
320
|
+
# @type Strategies: Array
|
321
|
+
# @param TemplateId: 废弃
|
322
|
+
# @type TemplateId: Integer
|
323
|
+
# @param CrowdID: 废弃
|
324
|
+
# @type CrowdID: Integer
|
325
|
+
# @param SmsType: 活动类型(0-短信,1-超短,不填默认为超短)
|
326
|
+
# @type SmsType: Integer
|
327
|
+
|
328
|
+
attr_accessor :License, :SendTime, :Name, :Strategies, :TemplateId, :CrowdID, :SmsType
|
329
|
+
|
330
|
+
def initialize(license=nil, sendtime=nil, name=nil, strategies=nil, templateid=nil, crowdid=nil, smstype=nil)
|
331
|
+
@License = license
|
332
|
+
@SendTime = sendtime
|
333
|
+
@Name = name
|
334
|
+
@Strategies = strategies
|
335
|
+
@TemplateId = templateid
|
336
|
+
@CrowdID = crowdid
|
337
|
+
@SmsType = smstype
|
338
|
+
end
|
339
|
+
|
340
|
+
def deserialize(params)
|
341
|
+
@License = params['License']
|
342
|
+
@SendTime = params['SendTime']
|
343
|
+
@Name = params['Name']
|
344
|
+
unless params['Strategies'].nil?
|
345
|
+
@Strategies = []
|
346
|
+
params['Strategies'].each do |i|
|
347
|
+
paasstrategy_tmp = PaasStrategy.new
|
348
|
+
paasstrategy_tmp.deserialize(i)
|
349
|
+
@Strategies << paasstrategy_tmp
|
350
|
+
end
|
351
|
+
end
|
352
|
+
@TemplateId = params['TemplateId']
|
353
|
+
@CrowdID = params['CrowdID']
|
354
|
+
@SmsType = params['SmsType']
|
355
|
+
end
|
356
|
+
end
|
357
|
+
|
358
|
+
# CreateCampaign返回参数结构体
|
359
|
+
class CreateCampaignResponse < TencentCloud::Common::AbstractModel
|
360
|
+
# @param Data: 活动信息
|
361
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsCreateCampaignResponse`
|
362
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
363
|
+
# @type RequestId: String
|
364
|
+
|
365
|
+
attr_accessor :Data, :RequestId
|
366
|
+
|
367
|
+
def initialize(data=nil, requestid=nil)
|
368
|
+
@Data = data
|
369
|
+
@RequestId = requestid
|
370
|
+
end
|
371
|
+
|
372
|
+
def deserialize(params)
|
373
|
+
unless params['Data'].nil?
|
374
|
+
@Data = SmsCreateCampaignResponse.new
|
375
|
+
@Data.deserialize(params['Data'])
|
376
|
+
end
|
377
|
+
@RequestId = params['RequestId']
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# 创建样例时候content元素
|
382
|
+
class CreateMmsInstanceItem < TencentCloud::Common::AbstractModel
|
383
|
+
# @param ContentType: 素材类型:1-文本 2-图片 3-视频 4-音频
|
384
|
+
# @type ContentType: Integer
|
385
|
+
# @param Content: 素材内容:如果素材是文本类型,直接填写文本内容,否则填写素材文件上传到cos后的url地址
|
386
|
+
# @type Content: String
|
387
|
+
|
388
|
+
attr_accessor :ContentType, :Content
|
389
|
+
|
390
|
+
def initialize(contenttype=nil, content=nil)
|
391
|
+
@ContentType = contenttype
|
392
|
+
@Content = content
|
393
|
+
end
|
394
|
+
|
395
|
+
def deserialize(params)
|
396
|
+
@ContentType = params['ContentType']
|
397
|
+
@Content = params['Content']
|
398
|
+
end
|
399
|
+
end
|
400
|
+
|
401
|
+
# CreateMmsInstance请求参数结构体
|
402
|
+
class CreateMmsInstanceRequest < TencentCloud::Common::AbstractModel
|
403
|
+
# @param License: 商户证书
|
404
|
+
# @type License: String
|
405
|
+
# @param InstanceName: 样例名称
|
406
|
+
# @type InstanceName: String
|
407
|
+
# @param Title: 标题
|
408
|
+
# @type Title: String
|
409
|
+
# @param Sign: 签名
|
410
|
+
# @type Sign: String
|
411
|
+
# @param Contents: 素材内容
|
412
|
+
# @type Contents: Array
|
413
|
+
# @param Urls: 样例中链接动态变量对应的链接,和占位符顺序一致
|
414
|
+
# @type Urls: Array
|
415
|
+
# @param PhoneType: 机型列表
|
416
|
+
# @type PhoneType: Array
|
417
|
+
# @param CommonParams: 发送超短活动时用于展示人群包动态参数模板占位符序号或接口发送时变量占位符序号
|
418
|
+
# @type CommonParams: Array
|
419
|
+
# @param UrlParams: 发送超短活动时用于展示短连接模板占位符序号,仅用作超短活动
|
420
|
+
# @type UrlParams: Array
|
421
|
+
|
422
|
+
attr_accessor :License, :InstanceName, :Title, :Sign, :Contents, :Urls, :PhoneType, :CommonParams, :UrlParams
|
423
|
+
|
424
|
+
def initialize(license=nil, instancename=nil, title=nil, sign=nil, contents=nil, urls=nil, phonetype=nil, commonparams=nil, urlparams=nil)
|
425
|
+
@License = license
|
426
|
+
@InstanceName = instancename
|
427
|
+
@Title = title
|
428
|
+
@Sign = sign
|
429
|
+
@Contents = contents
|
430
|
+
@Urls = urls
|
431
|
+
@PhoneType = phonetype
|
432
|
+
@CommonParams = commonparams
|
433
|
+
@UrlParams = urlparams
|
434
|
+
end
|
435
|
+
|
436
|
+
def deserialize(params)
|
437
|
+
@License = params['License']
|
438
|
+
@InstanceName = params['InstanceName']
|
439
|
+
@Title = params['Title']
|
440
|
+
@Sign = params['Sign']
|
441
|
+
unless params['Contents'].nil?
|
442
|
+
@Contents = []
|
443
|
+
params['Contents'].each do |i|
|
444
|
+
createmmsinstanceitem_tmp = CreateMmsInstanceItem.new
|
445
|
+
createmmsinstanceitem_tmp.deserialize(i)
|
446
|
+
@Contents << createmmsinstanceitem_tmp
|
447
|
+
end
|
448
|
+
end
|
449
|
+
@Urls = params['Urls']
|
450
|
+
@PhoneType = params['PhoneType']
|
451
|
+
@CommonParams = params['CommonParams']
|
452
|
+
@UrlParams = params['UrlParams']
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
# 创建超级短信样例返回结果
|
457
|
+
class CreateMmsInstanceResp < TencentCloud::Common::AbstractModel
|
458
|
+
# @param ReturnCode: 返回码:0-成功 其它-失败
|
459
|
+
# @type ReturnCode: Integer
|
460
|
+
# @param ReturnMsg: 返回信息
|
461
|
+
# @type ReturnMsg: String
|
462
|
+
# @param InstanceId: 样例id
|
463
|
+
# @type InstanceId: Integer
|
464
|
+
|
465
|
+
attr_accessor :ReturnCode, :ReturnMsg, :InstanceId
|
466
|
+
|
467
|
+
def initialize(returncode=nil, returnmsg=nil, instanceid=nil)
|
468
|
+
@ReturnCode = returncode
|
469
|
+
@ReturnMsg = returnmsg
|
470
|
+
@InstanceId = instanceid
|
471
|
+
end
|
472
|
+
|
473
|
+
def deserialize(params)
|
474
|
+
@ReturnCode = params['ReturnCode']
|
475
|
+
@ReturnMsg = params['ReturnMsg']
|
476
|
+
@InstanceId = params['InstanceId']
|
477
|
+
end
|
478
|
+
end
|
479
|
+
|
480
|
+
# CreateMmsInstance返回参数结构体
|
481
|
+
class CreateMmsInstanceResponse < TencentCloud::Common::AbstractModel
|
482
|
+
# @param Data: 创建样例返回信息
|
483
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.CreateMmsInstanceResp`
|
484
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
485
|
+
# @type RequestId: String
|
486
|
+
|
487
|
+
attr_accessor :Data, :RequestId
|
488
|
+
|
489
|
+
def initialize(data=nil, requestid=nil)
|
490
|
+
@Data = data
|
491
|
+
@RequestId = requestid
|
492
|
+
end
|
493
|
+
|
494
|
+
def deserialize(params)
|
495
|
+
unless params['Data'].nil?
|
496
|
+
@Data = CreateMmsInstanceResp.new
|
497
|
+
@Data.deserialize(params['Data'])
|
498
|
+
end
|
499
|
+
@RequestId = params['RequestId']
|
500
|
+
end
|
501
|
+
end
|
502
|
+
|
503
|
+
# DelCrowdPack请求参数结构体
|
504
|
+
class DelCrowdPackRequest < TencentCloud::Common::AbstractModel
|
505
|
+
# @param License: 商户证书
|
506
|
+
# @type License: String
|
507
|
+
# @param ID: 人群包id
|
508
|
+
# @type ID: Integer
|
509
|
+
|
510
|
+
attr_accessor :License, :ID
|
511
|
+
|
512
|
+
def initialize(license=nil, id=nil)
|
513
|
+
@License = license
|
514
|
+
@ID = id
|
515
|
+
end
|
516
|
+
|
517
|
+
def deserialize(params)
|
518
|
+
@License = params['License']
|
519
|
+
@ID = params['ID']
|
520
|
+
end
|
521
|
+
end
|
522
|
+
|
523
|
+
# DelCrowdPack返回参数结构体
|
524
|
+
class DelCrowdPackResponse < TencentCloud::Common::AbstractModel
|
525
|
+
# @param Data: 接口返回
|
526
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsSuccessResponse`
|
527
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
528
|
+
# @type RequestId: String
|
529
|
+
|
530
|
+
attr_accessor :Data, :RequestId
|
531
|
+
|
532
|
+
def initialize(data=nil, requestid=nil)
|
533
|
+
@Data = data
|
534
|
+
@RequestId = requestid
|
535
|
+
end
|
536
|
+
|
537
|
+
def deserialize(params)
|
538
|
+
unless params['Data'].nil?
|
539
|
+
@Data = SmsSuccessResponse.new
|
540
|
+
@Data.deserialize(params['Data'])
|
541
|
+
end
|
542
|
+
@RequestId = params['RequestId']
|
543
|
+
end
|
544
|
+
end
|
545
|
+
|
546
|
+
# 删除超短样例响应
|
547
|
+
class DelMmsInstanceData < TencentCloud::Common::AbstractModel
|
548
|
+
# @param InstanceId: 样例id
|
549
|
+
# @type InstanceId: Integer
|
550
|
+
|
551
|
+
attr_accessor :InstanceId
|
552
|
+
|
553
|
+
def initialize(instanceid=nil)
|
554
|
+
@InstanceId = instanceid
|
555
|
+
end
|
556
|
+
|
557
|
+
def deserialize(params)
|
558
|
+
@InstanceId = params['InstanceId']
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
# DelTemplate请求参数结构体
|
563
|
+
class DelTemplateRequest < TencentCloud::Common::AbstractModel
|
564
|
+
# @param License: 商户证书
|
565
|
+
# @type License: String
|
566
|
+
# @param TemplateID: 短信模板ID
|
567
|
+
# @type TemplateID: Integer
|
568
|
+
|
569
|
+
attr_accessor :License, :TemplateID
|
570
|
+
|
571
|
+
def initialize(license=nil, templateid=nil)
|
572
|
+
@License = license
|
573
|
+
@TemplateID = templateid
|
574
|
+
end
|
575
|
+
|
576
|
+
def deserialize(params)
|
577
|
+
@License = params['License']
|
578
|
+
@TemplateID = params['TemplateID']
|
579
|
+
end
|
580
|
+
end
|
581
|
+
|
582
|
+
# DelTemplate返回参数结构体
|
583
|
+
class DelTemplateResponse < TencentCloud::Common::AbstractModel
|
584
|
+
# @param Data: 接口返回
|
585
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsSuccessResponse`
|
586
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
587
|
+
# @type RequestId: String
|
588
|
+
|
589
|
+
attr_accessor :Data, :RequestId
|
590
|
+
|
591
|
+
def initialize(data=nil, requestid=nil)
|
592
|
+
@Data = data
|
593
|
+
@RequestId = requestid
|
594
|
+
end
|
595
|
+
|
596
|
+
def deserialize(params)
|
597
|
+
unless params['Data'].nil?
|
598
|
+
@Data = SmsSuccessResponse.new
|
599
|
+
@Data.deserialize(params['Data'])
|
600
|
+
end
|
601
|
+
@RequestId = params['RequestId']
|
602
|
+
end
|
603
|
+
end
|
604
|
+
|
605
|
+
# DeleteMmsInstance请求参数结构体
|
606
|
+
class DeleteMmsInstanceRequest < TencentCloud::Common::AbstractModel
|
607
|
+
# @param License: 商户证书
|
608
|
+
# @type License: String
|
609
|
+
# @param InstanceId: 超级短信样例id
|
610
|
+
# @type InstanceId: Integer
|
611
|
+
|
612
|
+
attr_accessor :License, :InstanceId
|
613
|
+
|
614
|
+
def initialize(license=nil, instanceid=nil)
|
615
|
+
@License = license
|
616
|
+
@InstanceId = instanceid
|
617
|
+
end
|
618
|
+
|
619
|
+
def deserialize(params)
|
620
|
+
@License = params['License']
|
621
|
+
@InstanceId = params['InstanceId']
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
# DeleteMmsInstance返回参数结构体
|
626
|
+
class DeleteMmsInstanceResponse < TencentCloud::Common::AbstractModel
|
627
|
+
# @param Data: 删除信息返回
|
628
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.DelMmsInstanceData`
|
629
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
630
|
+
# @type RequestId: String
|
631
|
+
|
632
|
+
attr_accessor :Data, :RequestId
|
633
|
+
|
634
|
+
def initialize(data=nil, requestid=nil)
|
635
|
+
@Data = data
|
636
|
+
@RequestId = requestid
|
637
|
+
end
|
638
|
+
|
639
|
+
def deserialize(params)
|
640
|
+
unless params['Data'].nil?
|
641
|
+
@Data = DelMmsInstanceData.new
|
642
|
+
@Data.deserialize(params['Data'])
|
643
|
+
end
|
644
|
+
@RequestId = params['RequestId']
|
645
|
+
end
|
646
|
+
end
|
647
|
+
|
648
|
+
# DescribeMmsInstanceInfo请求参数结构体
|
649
|
+
class DescribeMmsInstanceInfoRequest < TencentCloud::Common::AbstractModel
|
650
|
+
# @param License: 商户证书
|
651
|
+
# @type License: String
|
652
|
+
# @param InstanceId: 彩信实例id
|
653
|
+
# @type InstanceId: Integer
|
654
|
+
|
655
|
+
attr_accessor :License, :InstanceId
|
656
|
+
|
657
|
+
def initialize(license=nil, instanceid=nil)
|
658
|
+
@License = license
|
659
|
+
@InstanceId = instanceid
|
660
|
+
end
|
661
|
+
|
662
|
+
def deserialize(params)
|
663
|
+
@License = params['License']
|
664
|
+
@InstanceId = params['InstanceId']
|
665
|
+
end
|
666
|
+
end
|
667
|
+
|
668
|
+
# DescribeMmsInstanceInfo返回参数结构体
|
669
|
+
class DescribeMmsInstanceInfoResponse < TencentCloud::Common::AbstractModel
|
670
|
+
# @param Data: 彩信实例信息
|
671
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.MmsInstanceInfo`
|
672
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
673
|
+
# @type RequestId: String
|
674
|
+
|
675
|
+
attr_accessor :Data, :RequestId
|
676
|
+
|
677
|
+
def initialize(data=nil, requestid=nil)
|
678
|
+
@Data = data
|
679
|
+
@RequestId = requestid
|
680
|
+
end
|
681
|
+
|
682
|
+
def deserialize(params)
|
683
|
+
unless params['Data'].nil?
|
684
|
+
@Data = MmsInstanceInfo.new
|
685
|
+
@Data.deserialize(params['Data'])
|
686
|
+
end
|
687
|
+
@RequestId = params['RequestId']
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# DescribeMmsInstanceList请求参数结构体
|
692
|
+
class DescribeMmsInstanceListRequest < TencentCloud::Common::AbstractModel
|
693
|
+
# @param License: 商户证书
|
694
|
+
# @type License: String
|
695
|
+
# @param Offset: 偏移量
|
696
|
+
# @type Offset: Integer
|
697
|
+
# @param Limit: 返回数量
|
698
|
+
# @type Limit: Integer
|
699
|
+
# @param AppSubId: 业务代码
|
700
|
+
# @type AppSubId: String
|
701
|
+
# @param Title: 实例标题
|
702
|
+
# @type Title: String
|
703
|
+
|
704
|
+
attr_accessor :License, :Offset, :Limit, :AppSubId, :Title
|
705
|
+
|
706
|
+
def initialize(license=nil, offset=nil, limit=nil, appsubid=nil, title=nil)
|
707
|
+
@License = license
|
708
|
+
@Offset = offset
|
709
|
+
@Limit = limit
|
710
|
+
@AppSubId = appsubid
|
711
|
+
@Title = title
|
712
|
+
end
|
713
|
+
|
714
|
+
def deserialize(params)
|
715
|
+
@License = params['License']
|
716
|
+
@Offset = params['Offset']
|
717
|
+
@Limit = params['Limit']
|
718
|
+
@AppSubId = params['AppSubId']
|
719
|
+
@Title = params['Title']
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# DescribeMmsInstanceList返回参数结构体
|
724
|
+
class DescribeMmsInstanceListResponse < TencentCloud::Common::AbstractModel
|
725
|
+
# @param Data: 彩信实例信息列表返回
|
726
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.MmsInstanceInfoList`
|
727
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
728
|
+
# @type RequestId: String
|
729
|
+
|
730
|
+
attr_accessor :Data, :RequestId
|
731
|
+
|
732
|
+
def initialize(data=nil, requestid=nil)
|
733
|
+
@Data = data
|
734
|
+
@RequestId = requestid
|
735
|
+
end
|
736
|
+
|
737
|
+
def deserialize(params)
|
738
|
+
unless params['Data'].nil?
|
739
|
+
@Data = MmsInstanceInfoList.new
|
740
|
+
@Data.deserialize(params['Data'])
|
741
|
+
end
|
742
|
+
@RequestId = params['RequestId']
|
743
|
+
end
|
744
|
+
end
|
745
|
+
|
746
|
+
# DescribeSmsCampaignStatistics请求参数结构体
|
747
|
+
class DescribeSmsCampaignStatisticsRequest < TencentCloud::Common::AbstractModel
|
748
|
+
# @param CampaignId: 活动id
|
749
|
+
# @type CampaignId: Integer
|
750
|
+
# @param License: 商户证书
|
751
|
+
# @type License: String
|
752
|
+
|
753
|
+
attr_accessor :CampaignId, :License
|
754
|
+
|
755
|
+
def initialize(campaignid=nil, license=nil)
|
756
|
+
@CampaignId = campaignid
|
757
|
+
@License = license
|
758
|
+
end
|
759
|
+
|
760
|
+
def deserialize(params)
|
761
|
+
@CampaignId = params['CampaignId']
|
762
|
+
@License = params['License']
|
763
|
+
end
|
764
|
+
end
|
765
|
+
|
766
|
+
# DescribeSmsCampaignStatistics返回参数结构体
|
767
|
+
class DescribeSmsCampaignStatisticsResponse < TencentCloud::Common::AbstractModel
|
768
|
+
# @param Data: 响应数据
|
769
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsCampaignStatisticsData`
|
770
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
771
|
+
# @type RequestId: String
|
772
|
+
|
773
|
+
attr_accessor :Data, :RequestId
|
774
|
+
|
775
|
+
def initialize(data=nil, requestid=nil)
|
776
|
+
@Data = data
|
777
|
+
@RequestId = requestid
|
778
|
+
end
|
779
|
+
|
780
|
+
def deserialize(params)
|
781
|
+
unless params['Data'].nil?
|
782
|
+
@Data = SmsCampaignStatisticsData.new
|
783
|
+
@Data.deserialize(params['Data'])
|
784
|
+
end
|
785
|
+
@RequestId = params['RequestId']
|
786
|
+
end
|
787
|
+
end
|
788
|
+
|
789
|
+
# 获取普通短信签名信息返回信息
|
790
|
+
class DescribeSmsSignListDataStruct < TencentCloud::Common::AbstractModel
|
791
|
+
# @param SignId: 签名Id
|
792
|
+
# @type SignId: Integer
|
793
|
+
# @param International: 是否国际/港澳台短信:
|
794
|
+
# 0:表示国内短信。
|
795
|
+
# 1:表示国际/港澳台短信。
|
796
|
+
# @type International: Integer
|
797
|
+
# @param StatusCode: 申请签名状态。其中:
|
798
|
+
# 0:表示审核通过。
|
799
|
+
# -1:表示审核未通过或审核失败。
|
800
|
+
# @type StatusCode: Integer
|
801
|
+
# @param ReviewReply: 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
802
|
+
# @type ReviewReply: String
|
803
|
+
# @param SignName: 签名名称。
|
804
|
+
# @type SignName: String
|
805
|
+
# @param CreateTime: 提交审核时间,UNIX 时间戳(单位:秒)。
|
806
|
+
# @type CreateTime: Integer
|
807
|
+
|
808
|
+
attr_accessor :SignId, :International, :StatusCode, :ReviewReply, :SignName, :CreateTime
|
809
|
+
|
810
|
+
def initialize(signid=nil, international=nil, statuscode=nil, reviewreply=nil, signname=nil, createtime=nil)
|
811
|
+
@SignId = signid
|
812
|
+
@International = international
|
813
|
+
@StatusCode = statuscode
|
814
|
+
@ReviewReply = reviewreply
|
815
|
+
@SignName = signname
|
816
|
+
@CreateTime = createtime
|
817
|
+
end
|
818
|
+
|
819
|
+
def deserialize(params)
|
820
|
+
@SignId = params['SignId']
|
821
|
+
@International = params['International']
|
822
|
+
@StatusCode = params['StatusCode']
|
823
|
+
@ReviewReply = params['ReviewReply']
|
824
|
+
@SignName = params['SignName']
|
825
|
+
@CreateTime = params['CreateTime']
|
826
|
+
end
|
827
|
+
end
|
828
|
+
|
829
|
+
# DescribeSmsSignList请求参数结构体
|
830
|
+
class DescribeSmsSignListRequest < TencentCloud::Common::AbstractModel
|
831
|
+
# @param License: 商户证书
|
832
|
+
# @type License: String
|
833
|
+
# @param SignIdSet: 签名ID数组
|
834
|
+
# @type SignIdSet: Array
|
835
|
+
# @param International: 是否国际/港澳台短信:
|
836
|
+
# 0:表示国内短信。
|
837
|
+
# 1:表示国际/港澳台短信。
|
838
|
+
# @type International: Integer
|
839
|
+
|
840
|
+
attr_accessor :License, :SignIdSet, :International
|
841
|
+
|
842
|
+
def initialize(license=nil, signidset=nil, international=nil)
|
843
|
+
@License = license
|
844
|
+
@SignIdSet = signidset
|
845
|
+
@International = international
|
846
|
+
end
|
847
|
+
|
848
|
+
def deserialize(params)
|
849
|
+
@License = params['License']
|
850
|
+
@SignIdSet = params['SignIdSet']
|
851
|
+
@International = params['International']
|
852
|
+
end
|
853
|
+
end
|
854
|
+
|
855
|
+
# DescribeSmsSignList返回参数结构体
|
856
|
+
class DescribeSmsSignListResponse < TencentCloud::Common::AbstractModel
|
857
|
+
# @param Data: 返回数据
|
858
|
+
# @type Data: Array
|
859
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
860
|
+
# @type RequestId: String
|
861
|
+
|
862
|
+
attr_accessor :Data, :RequestId
|
863
|
+
|
864
|
+
def initialize(data=nil, requestid=nil)
|
865
|
+
@Data = data
|
866
|
+
@RequestId = requestid
|
867
|
+
end
|
868
|
+
|
869
|
+
def deserialize(params)
|
870
|
+
unless params['Data'].nil?
|
871
|
+
@Data = []
|
872
|
+
params['Data'].each do |i|
|
873
|
+
describesmssignlistdatastruct_tmp = DescribeSmsSignListDataStruct.new
|
874
|
+
describesmssignlistdatastruct_tmp.deserialize(i)
|
875
|
+
@Data << describesmssignlistdatastruct_tmp
|
876
|
+
end
|
877
|
+
end
|
878
|
+
@RequestId = params['RequestId']
|
879
|
+
end
|
880
|
+
end
|
881
|
+
|
882
|
+
# 获取短信模板状态返回
|
883
|
+
class DescribeSmsTemplateListDataStruct < TencentCloud::Common::AbstractModel
|
884
|
+
# @param TemplateId: 模板Id
|
885
|
+
# @type TemplateId: Integer
|
886
|
+
# @param International: 是否国际/港澳台短信:
|
887
|
+
# 0:表示国内短信。
|
888
|
+
# 1:表示国际/港澳台短信。
|
889
|
+
# @type International: Integer
|
890
|
+
# @param StatusCode: 申请签名状态。其中:
|
891
|
+
# 0:表示审核通过。
|
892
|
+
# -1:表示审核未通过或审核失败。
|
893
|
+
# @type StatusCode: Integer
|
894
|
+
# @param ReviewReply: 审核回复,审核人员审核后给出的回复,通常是审核未通过的原因。
|
895
|
+
# @type ReviewReply: String
|
896
|
+
# @param TemplateName: 模板名称。
|
897
|
+
# @type TemplateName: String
|
898
|
+
# @param CreateTime: 提交审核时间,UNIX 时间戳(单位:秒)。
|
899
|
+
# @type CreateTime: Integer
|
900
|
+
|
901
|
+
attr_accessor :TemplateId, :International, :StatusCode, :ReviewReply, :TemplateName, :CreateTime
|
902
|
+
|
903
|
+
def initialize(templateid=nil, international=nil, statuscode=nil, reviewreply=nil, templatename=nil, createtime=nil)
|
904
|
+
@TemplateId = templateid
|
905
|
+
@International = international
|
906
|
+
@StatusCode = statuscode
|
907
|
+
@ReviewReply = reviewreply
|
908
|
+
@TemplateName = templatename
|
909
|
+
@CreateTime = createtime
|
910
|
+
end
|
911
|
+
|
912
|
+
def deserialize(params)
|
913
|
+
@TemplateId = params['TemplateId']
|
914
|
+
@International = params['International']
|
915
|
+
@StatusCode = params['StatusCode']
|
916
|
+
@ReviewReply = params['ReviewReply']
|
917
|
+
@TemplateName = params['TemplateName']
|
918
|
+
@CreateTime = params['CreateTime']
|
919
|
+
end
|
920
|
+
end
|
921
|
+
|
922
|
+
# DescribeSmsTemplateList请求参数结构体
|
923
|
+
class DescribeSmsTemplateListRequest < TencentCloud::Common::AbstractModel
|
924
|
+
# @param License: 商户证书
|
925
|
+
# @type License: String
|
926
|
+
# @param TemplateIdSet: 短信模板id数组
|
927
|
+
# @type TemplateIdSet: Array
|
928
|
+
# @param International: 是否国际/港澳台短信:
|
929
|
+
# 0:表示国内短信。
|
930
|
+
# 1:表示国际/港澳台短信。
|
931
|
+
# @type International: Integer
|
932
|
+
|
933
|
+
attr_accessor :License, :TemplateIdSet, :International
|
934
|
+
|
935
|
+
def initialize(license=nil, templateidset=nil, international=nil)
|
936
|
+
@License = license
|
937
|
+
@TemplateIdSet = templateidset
|
938
|
+
@International = international
|
939
|
+
end
|
940
|
+
|
941
|
+
def deserialize(params)
|
942
|
+
@License = params['License']
|
943
|
+
@TemplateIdSet = params['TemplateIdSet']
|
944
|
+
@International = params['International']
|
945
|
+
end
|
946
|
+
end
|
947
|
+
|
948
|
+
# DescribeSmsTemplateList返回参数结构体
|
949
|
+
class DescribeSmsTemplateListResponse < TencentCloud::Common::AbstractModel
|
950
|
+
# @param Data: 返回数据信息
|
951
|
+
# @type Data: Array
|
952
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
953
|
+
# @type RequestId: String
|
954
|
+
|
955
|
+
attr_accessor :Data, :RequestId
|
956
|
+
|
957
|
+
def initialize(data=nil, requestid=nil)
|
958
|
+
@Data = data
|
959
|
+
@RequestId = requestid
|
960
|
+
end
|
961
|
+
|
962
|
+
def deserialize(params)
|
963
|
+
unless params['Data'].nil?
|
964
|
+
@Data = []
|
965
|
+
params['Data'].each do |i|
|
966
|
+
describesmstemplatelistdatastruct_tmp = DescribeSmsTemplateListDataStruct.new
|
967
|
+
describesmstemplatelistdatastruct_tmp.deserialize(i)
|
968
|
+
@Data << describesmstemplatelistdatastruct_tmp
|
969
|
+
end
|
970
|
+
end
|
971
|
+
@RequestId = params['RequestId']
|
972
|
+
end
|
973
|
+
end
|
974
|
+
|
975
|
+
# GetCrowdPackList请求参数结构体
|
976
|
+
class GetCrowdPackListRequest < TencentCloud::Common::AbstractModel
|
977
|
+
# @param License: 商户证书
|
978
|
+
# @type License: String
|
979
|
+
# @param Offset: 偏移量
|
980
|
+
# @type Offset: Integer
|
981
|
+
# @param Limit: 限制返回数量
|
982
|
+
# @type Limit: Integer
|
983
|
+
# @param Name: 人群包名称,用于过滤人群包
|
984
|
+
# @type Name: String
|
985
|
+
# @param Status: 人群包状态,默认-1,用于过滤人群包
|
986
|
+
# @type Status: Integer
|
987
|
+
|
988
|
+
attr_accessor :License, :Offset, :Limit, :Name, :Status
|
989
|
+
|
990
|
+
def initialize(license=nil, offset=nil, limit=nil, name=nil, status=nil)
|
991
|
+
@License = license
|
992
|
+
@Offset = offset
|
993
|
+
@Limit = limit
|
994
|
+
@Name = name
|
995
|
+
@Status = status
|
996
|
+
end
|
997
|
+
|
998
|
+
def deserialize(params)
|
999
|
+
@License = params['License']
|
1000
|
+
@Offset = params['Offset']
|
1001
|
+
@Limit = params['Limit']
|
1002
|
+
@Name = params['Name']
|
1003
|
+
@Status = params['Status']
|
1004
|
+
end
|
1005
|
+
end
|
1006
|
+
|
1007
|
+
# GetCrowdPackList返回参数结构体
|
1008
|
+
class GetCrowdPackListResponse < TencentCloud::Common::AbstractModel
|
1009
|
+
# @param Data: 人群包信息列表
|
1010
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsGetCrowdPackListResponse`
|
1011
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1012
|
+
# @type RequestId: String
|
1013
|
+
|
1014
|
+
attr_accessor :Data, :RequestId
|
1015
|
+
|
1016
|
+
def initialize(data=nil, requestid=nil)
|
1017
|
+
@Data = data
|
1018
|
+
@RequestId = requestid
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
def deserialize(params)
|
1022
|
+
unless params['Data'].nil?
|
1023
|
+
@Data = SmsGetCrowdPackListResponse.new
|
1024
|
+
@Data.deserialize(params['Data'])
|
1025
|
+
end
|
1026
|
+
@RequestId = params['RequestId']
|
1027
|
+
end
|
1028
|
+
end
|
1029
|
+
|
1030
|
+
# GetCrowdUploadInfo请求参数结构体
|
1031
|
+
class GetCrowdUploadInfoRequest < TencentCloud::Common::AbstractModel
|
1032
|
+
# @param License: 商户证书
|
1033
|
+
# @type License: String
|
1034
|
+
# @param FileName: 上传文件名称
|
1035
|
+
# @type FileName: String
|
1036
|
+
|
1037
|
+
attr_accessor :License, :FileName
|
1038
|
+
|
1039
|
+
def initialize(license=nil, filename=nil)
|
1040
|
+
@License = license
|
1041
|
+
@FileName = filename
|
1042
|
+
end
|
1043
|
+
|
1044
|
+
def deserialize(params)
|
1045
|
+
@License = params['License']
|
1046
|
+
@FileName = params['FileName']
|
1047
|
+
end
|
1048
|
+
end
|
1049
|
+
|
1050
|
+
# GetCrowdUploadInfo返回参数结构体
|
1051
|
+
class GetCrowdUploadInfoResponse < TencentCloud::Common::AbstractModel
|
1052
|
+
# @param Data: 返回信息
|
1053
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsGetCrowdUploadInfoResponse`
|
1054
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1055
|
+
# @type RequestId: String
|
1056
|
+
|
1057
|
+
attr_accessor :Data, :RequestId
|
1058
|
+
|
1059
|
+
def initialize(data=nil, requestid=nil)
|
1060
|
+
@Data = data
|
1061
|
+
@RequestId = requestid
|
1062
|
+
end
|
1063
|
+
|
1064
|
+
def deserialize(params)
|
1065
|
+
unless params['Data'].nil?
|
1066
|
+
@Data = SmsGetCrowdUploadInfoResponse.new
|
1067
|
+
@Data.deserialize(params['Data'])
|
1068
|
+
end
|
1069
|
+
@RequestId = params['RequestId']
|
1070
|
+
end
|
1071
|
+
end
|
1072
|
+
|
1073
|
+
# GetSmsAmountInfo请求参数结构体
|
1074
|
+
class GetSmsAmountInfoRequest < TencentCloud::Common::AbstractModel
|
1075
|
+
# @param License: 商户证书
|
1076
|
+
# @type License: String
|
1077
|
+
|
1078
|
+
attr_accessor :License
|
1079
|
+
|
1080
|
+
def initialize(license=nil)
|
1081
|
+
@License = license
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
def deserialize(params)
|
1085
|
+
@License = params['License']
|
1086
|
+
end
|
1087
|
+
end
|
1088
|
+
|
1089
|
+
# GetSmsAmountInfo返回参数结构体
|
1090
|
+
class GetSmsAmountInfoResponse < TencentCloud::Common::AbstractModel
|
1091
|
+
# @param Data: 短信账号额度接口
|
1092
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.SmsAmountDataStruct`
|
1093
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1094
|
+
# @type RequestId: String
|
1095
|
+
|
1096
|
+
attr_accessor :Data, :RequestId
|
1097
|
+
|
1098
|
+
def initialize(data=nil, requestid=nil)
|
1099
|
+
@Data = data
|
1100
|
+
@RequestId = requestid
|
1101
|
+
end
|
1102
|
+
|
1103
|
+
def deserialize(params)
|
1104
|
+
unless params['Data'].nil?
|
1105
|
+
@Data = SmsAmountDataStruct.new
|
1106
|
+
@Data.deserialize(params['Data'])
|
1107
|
+
end
|
1108
|
+
@RequestId = params['RequestId']
|
1109
|
+
end
|
1110
|
+
end
|
1111
|
+
|
1112
|
+
# GetSmsCampaignStatus请求参数结构体
|
1113
|
+
class GetSmsCampaignStatusRequest < TencentCloud::Common::AbstractModel
|
1114
|
+
# @param License: 商户证书
|
1115
|
+
# @type License: String
|
1116
|
+
# @param CampaignId: 活动ID
|
1117
|
+
# @type CampaignId: Integer
|
1118
|
+
|
1119
|
+
attr_accessor :License, :CampaignId
|
1120
|
+
|
1121
|
+
def initialize(license=nil, campaignid=nil)
|
1122
|
+
@License = license
|
1123
|
+
@CampaignId = campaignid
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
def deserialize(params)
|
1127
|
+
@License = params['License']
|
1128
|
+
@CampaignId = params['CampaignId']
|
1129
|
+
end
|
1130
|
+
end
|
1131
|
+
|
1132
|
+
# GetSmsCampaignStatus返回参数结构体
|
1133
|
+
class GetSmsCampaignStatusResponse < TencentCloud::Common::AbstractModel
|
1134
|
+
# @param Data: 活动状态
|
1135
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.PaasSmsCampaignStatusResp`
|
1136
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1137
|
+
# @type RequestId: String
|
1138
|
+
|
1139
|
+
attr_accessor :Data, :RequestId
|
1140
|
+
|
1141
|
+
def initialize(data=nil, requestid=nil)
|
1142
|
+
@Data = data
|
1143
|
+
@RequestId = requestid
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
def deserialize(params)
|
1147
|
+
unless params['Data'].nil?
|
1148
|
+
@Data = PaasSmsCampaignStatusResp.new
|
1149
|
+
@Data.deserialize(params['Data'])
|
1150
|
+
end
|
1151
|
+
@RequestId = params['RequestId']
|
1152
|
+
end
|
1153
|
+
end
|
1154
|
+
|
1155
|
+
# 彩信实例信息
|
1156
|
+
# InstanceId int
|
1157
|
+
# InstanceName string
|
1158
|
+
# Status int
|
1159
|
+
# StatusInfo string
|
1160
|
+
# AppSubId string
|
1161
|
+
# Title string
|
1162
|
+
# Sign string
|
1163
|
+
# Contents string
|
1164
|
+
# CreatedAt string
|
1165
|
+
class MmsInstanceInfo < TencentCloud::Common::AbstractModel
|
1166
|
+
# @param InstanceId: 彩信实例id
|
1167
|
+
# @type InstanceId: Integer
|
1168
|
+
# @param InstanceName: 彩信实例名称
|
1169
|
+
# @type InstanceName: String
|
1170
|
+
# @param Status: 状态是否通知
|
1171
|
+
# @type Status: Integer
|
1172
|
+
# @param StatusInfo: 实例审核状态信息
|
1173
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1174
|
+
# @type StatusInfo: Array
|
1175
|
+
# @param AppSubId: 业务码
|
1176
|
+
# @type AppSubId: String
|
1177
|
+
# @param Title: 彩信标题
|
1178
|
+
# @type Title: String
|
1179
|
+
# @param Sign: 签名
|
1180
|
+
# @type Sign: String
|
1181
|
+
# @param Contents: 彩信内容
|
1182
|
+
# @type Contents: String
|
1183
|
+
# @param CreatedAt: 创建时间
|
1184
|
+
# @type CreatedAt: String
|
1185
|
+
# @param Urls: 样例配置的链接地址
|
1186
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1187
|
+
# @type Urls: Array
|
1188
|
+
# @param PhoneType: 机型列表
|
1189
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1190
|
+
# @type PhoneType: Array
|
1191
|
+
# @param CommonParams: 普通参数序号数组
|
1192
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1193
|
+
# @type CommonParams: Array
|
1194
|
+
# @param UrlParams: 链接参数序号数组
|
1195
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1196
|
+
# @type UrlParams: Array
|
1197
|
+
|
1198
|
+
attr_accessor :InstanceId, :InstanceName, :Status, :StatusInfo, :AppSubId, :Title, :Sign, :Contents, :CreatedAt, :Urls, :PhoneType, :CommonParams, :UrlParams
|
1199
|
+
|
1200
|
+
def initialize(instanceid=nil, instancename=nil, status=nil, statusinfo=nil, appsubid=nil, title=nil, sign=nil, contents=nil, createdat=nil, urls=nil, phonetype=nil, commonparams=nil, urlparams=nil)
|
1201
|
+
@InstanceId = instanceid
|
1202
|
+
@InstanceName = instancename
|
1203
|
+
@Status = status
|
1204
|
+
@StatusInfo = statusinfo
|
1205
|
+
@AppSubId = appsubid
|
1206
|
+
@Title = title
|
1207
|
+
@Sign = sign
|
1208
|
+
@Contents = contents
|
1209
|
+
@CreatedAt = createdat
|
1210
|
+
@Urls = urls
|
1211
|
+
@PhoneType = phonetype
|
1212
|
+
@CommonParams = commonparams
|
1213
|
+
@UrlParams = urlparams
|
1214
|
+
end
|
1215
|
+
|
1216
|
+
def deserialize(params)
|
1217
|
+
@InstanceId = params['InstanceId']
|
1218
|
+
@InstanceName = params['InstanceName']
|
1219
|
+
@Status = params['Status']
|
1220
|
+
unless params['StatusInfo'].nil?
|
1221
|
+
@StatusInfo = []
|
1222
|
+
params['StatusInfo'].each do |i|
|
1223
|
+
mmsinstancestateinfo_tmp = MmsInstanceStateInfo.new
|
1224
|
+
mmsinstancestateinfo_tmp.deserialize(i)
|
1225
|
+
@StatusInfo << mmsinstancestateinfo_tmp
|
1226
|
+
end
|
1227
|
+
end
|
1228
|
+
@AppSubId = params['AppSubId']
|
1229
|
+
@Title = params['Title']
|
1230
|
+
@Sign = params['Sign']
|
1231
|
+
@Contents = params['Contents']
|
1232
|
+
@CreatedAt = params['CreatedAt']
|
1233
|
+
@Urls = params['Urls']
|
1234
|
+
@PhoneType = params['PhoneType']
|
1235
|
+
@CommonParams = params['CommonParams']
|
1236
|
+
@UrlParams = params['UrlParams']
|
1237
|
+
end
|
1238
|
+
end
|
1239
|
+
|
1240
|
+
# 彩信实例状态列表
|
1241
|
+
class MmsInstanceInfoList < TencentCloud::Common::AbstractModel
|
1242
|
+
# @param Total: 总数据量
|
1243
|
+
# @type Total: Integer
|
1244
|
+
# @param List: 彩信实例状态信息列表
|
1245
|
+
# @type List: Array
|
1246
|
+
|
1247
|
+
attr_accessor :Total, :List
|
1248
|
+
|
1249
|
+
def initialize(total=nil, list=nil)
|
1250
|
+
@Total = total
|
1251
|
+
@List = list
|
1252
|
+
end
|
1253
|
+
|
1254
|
+
def deserialize(params)
|
1255
|
+
@Total = params['Total']
|
1256
|
+
unless params['List'].nil?
|
1257
|
+
@List = []
|
1258
|
+
params['List'].each do |i|
|
1259
|
+
mmsinstanceinfo_tmp = MmsInstanceInfo.new
|
1260
|
+
mmsinstanceinfo_tmp.deserialize(i)
|
1261
|
+
@List << mmsinstanceinfo_tmp
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
end
|
1265
|
+
end
|
1266
|
+
|
1267
|
+
# 彩信实例审核状态
|
1268
|
+
class MmsInstanceStateInfo < TencentCloud::Common::AbstractModel
|
1269
|
+
# @param Operator: 运营商
|
1270
|
+
# @type Operator: String
|
1271
|
+
# @param State: 审核状态:0未审核,1审核通过,2审核拒绝
|
1272
|
+
# @type State: Integer
|
1273
|
+
|
1274
|
+
attr_accessor :Operator, :State
|
1275
|
+
|
1276
|
+
def initialize(operator=nil, state=nil)
|
1277
|
+
@Operator = operator
|
1278
|
+
@State = state
|
1279
|
+
end
|
1280
|
+
|
1281
|
+
def deserialize(params)
|
1282
|
+
@Operator = params['Operator']
|
1283
|
+
@State = params['State']
|
1284
|
+
end
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
# 短信模板编辑接口出参
|
1288
|
+
class ModifySmsTemplateDataStruct < TencentCloud::Common::AbstractModel
|
1289
|
+
# @param TemplateId: 短信模板id
|
1290
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1291
|
+
# @type TemplateId: Integer
|
1292
|
+
|
1293
|
+
attr_accessor :TemplateId
|
1294
|
+
|
1295
|
+
def initialize(templateid=nil)
|
1296
|
+
@TemplateId = templateid
|
1297
|
+
end
|
1298
|
+
|
1299
|
+
def deserialize(params)
|
1300
|
+
@TemplateId = params['TemplateId']
|
1301
|
+
end
|
1302
|
+
end
|
1303
|
+
|
1304
|
+
# ModifySmsTemplate请求参数结构体
|
1305
|
+
class ModifySmsTemplateRequest < TencentCloud::Common::AbstractModel
|
1306
|
+
# @param License: 商户证书
|
1307
|
+
# @type License: String
|
1308
|
+
# @param TemplateId: 短信模板id
|
1309
|
+
# @type TemplateId: Integer
|
1310
|
+
# @param SignID: 短信签名,创建签名时返回
|
1311
|
+
# @type SignID: Integer
|
1312
|
+
# @param TemplateName: 模板名称
|
1313
|
+
# @type TemplateName: String
|
1314
|
+
# @param TemplateContent: 短信内容,动态内容使用占位符{1},{2}等表示
|
1315
|
+
# @type TemplateContent: String
|
1316
|
+
# @param SmsType: 短信类型:{0:普通短信,1:营销短信}
|
1317
|
+
# @type SmsType: Integer
|
1318
|
+
# @param International: 是否国际/港澳台短信:
|
1319
|
+
# 0:表示国内短信。
|
1320
|
+
# 1:表示国际/港澳台短信。
|
1321
|
+
# @type International: Integer
|
1322
|
+
# @param Remark: 短信模板标签
|
1323
|
+
# @type Remark: String
|
1324
|
+
# @param Urls: 发送短信活动时配置的落地链接地址,仅用作短信活动
|
1325
|
+
# @type Urls: Array
|
1326
|
+
# @param CommonParams: 发送短信活动时用于展示人群包动态参数模板占位符序号,仅用作短信活动
|
1327
|
+
# @type CommonParams: Array
|
1328
|
+
# @param UrlParams: 发送短信活动时用于展示短连接模板占位符序号,仅用作短信活动
|
1329
|
+
# @type UrlParams: Array
|
1330
|
+
|
1331
|
+
attr_accessor :License, :TemplateId, :SignID, :TemplateName, :TemplateContent, :SmsType, :International, :Remark, :Urls, :CommonParams, :UrlParams
|
1332
|
+
|
1333
|
+
def initialize(license=nil, templateid=nil, signid=nil, templatename=nil, templatecontent=nil, smstype=nil, international=nil, remark=nil, urls=nil, commonparams=nil, urlparams=nil)
|
1334
|
+
@License = license
|
1335
|
+
@TemplateId = templateid
|
1336
|
+
@SignID = signid
|
1337
|
+
@TemplateName = templatename
|
1338
|
+
@TemplateContent = templatecontent
|
1339
|
+
@SmsType = smstype
|
1340
|
+
@International = international
|
1341
|
+
@Remark = remark
|
1342
|
+
@Urls = urls
|
1343
|
+
@CommonParams = commonparams
|
1344
|
+
@UrlParams = urlparams
|
1345
|
+
end
|
1346
|
+
|
1347
|
+
def deserialize(params)
|
1348
|
+
@License = params['License']
|
1349
|
+
@TemplateId = params['TemplateId']
|
1350
|
+
@SignID = params['SignID']
|
1351
|
+
@TemplateName = params['TemplateName']
|
1352
|
+
@TemplateContent = params['TemplateContent']
|
1353
|
+
@SmsType = params['SmsType']
|
1354
|
+
@International = params['International']
|
1355
|
+
@Remark = params['Remark']
|
1356
|
+
@Urls = params['Urls']
|
1357
|
+
@CommonParams = params['CommonParams']
|
1358
|
+
@UrlParams = params['UrlParams']
|
1359
|
+
end
|
1360
|
+
end
|
1361
|
+
|
1362
|
+
# ModifySmsTemplate返回参数结构体
|
1363
|
+
class ModifySmsTemplateResponse < TencentCloud::Common::AbstractModel
|
1364
|
+
# @param Data: 返回
|
1365
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.ModifySmsTemplateDataStruct`
|
1366
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1367
|
+
# @type RequestId: String
|
1368
|
+
|
1369
|
+
attr_accessor :Data, :RequestId
|
1370
|
+
|
1371
|
+
def initialize(data=nil, requestid=nil)
|
1372
|
+
@Data = data
|
1373
|
+
@RequestId = requestid
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
def deserialize(params)
|
1377
|
+
unless params['Data'].nil?
|
1378
|
+
@Data = ModifySmsTemplateDataStruct.new
|
1379
|
+
@Data.deserialize(params['Data'])
|
1380
|
+
end
|
1381
|
+
@RequestId = params['RequestId']
|
1382
|
+
end
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# 创建签名返回结构
|
1386
|
+
class PaasCreateSignResp < TencentCloud::Common::AbstractModel
|
1387
|
+
# @param SignId: 签名id
|
1388
|
+
# @type SignId: Integer
|
1389
|
+
|
1390
|
+
attr_accessor :SignId
|
1391
|
+
|
1392
|
+
def initialize(signid=nil)
|
1393
|
+
@SignId = signid
|
1394
|
+
end
|
1395
|
+
|
1396
|
+
def deserialize(params)
|
1397
|
+
@SignId = params['SignId']
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# 拉取活动状态返回
|
1402
|
+
class PaasSmsCampaignStatusResp < TencentCloud::Common::AbstractModel
|
1403
|
+
# @param Status: 0-未发送 1-发送中 2-发送结束 3-发送取消
|
1404
|
+
# @type Status: Integer
|
1405
|
+
|
1406
|
+
attr_accessor :Status
|
1407
|
+
|
1408
|
+
def initialize(status=nil)
|
1409
|
+
@Status = status
|
1410
|
+
end
|
1411
|
+
|
1412
|
+
def deserialize(params)
|
1413
|
+
@Status = params['Status']
|
1414
|
+
end
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
# 短信发送人群包策略
|
1418
|
+
class PaasStrategy < TencentCloud::Common::AbstractModel
|
1419
|
+
# @param CrowdID: 人群包id
|
1420
|
+
# @type CrowdID: Integer
|
1421
|
+
# @param Items: 待选素材数组
|
1422
|
+
# @type Items: Array
|
1423
|
+
|
1424
|
+
attr_accessor :CrowdID, :Items
|
1425
|
+
|
1426
|
+
def initialize(crowdid=nil, items=nil)
|
1427
|
+
@CrowdID = crowdid
|
1428
|
+
@Items = items
|
1429
|
+
end
|
1430
|
+
|
1431
|
+
def deserialize(params)
|
1432
|
+
@CrowdID = params['CrowdID']
|
1433
|
+
unless params['Items'].nil?
|
1434
|
+
@Items = []
|
1435
|
+
params['Items'].each do |i|
|
1436
|
+
paasstrategyitem_tmp = PaasStrategyItem.new
|
1437
|
+
paasstrategyitem_tmp.deserialize(i)
|
1438
|
+
@Items << paasstrategyitem_tmp
|
1439
|
+
end
|
1440
|
+
end
|
1441
|
+
end
|
1442
|
+
end
|
1443
|
+
|
1444
|
+
# 短信活动策略元素
|
1445
|
+
class PaasStrategyItem < TencentCloud::Common::AbstractModel
|
1446
|
+
# @param Id: 短信模板id或超级短信样例id
|
1447
|
+
# @type Id: Integer
|
1448
|
+
# @param ContentType: 素材类型 0-普短 1-超短
|
1449
|
+
# @type ContentType: Integer
|
1450
|
+
|
1451
|
+
attr_accessor :Id, :ContentType
|
1452
|
+
|
1453
|
+
def initialize(id=nil, contenttype=nil)
|
1454
|
+
@Id = id
|
1455
|
+
@ContentType = contenttype
|
1456
|
+
end
|
1457
|
+
|
1458
|
+
def deserialize(params)
|
1459
|
+
@Id = params['Id']
|
1460
|
+
@ContentType = params['ContentType']
|
1461
|
+
end
|
1462
|
+
end
|
1463
|
+
|
1464
|
+
# PushMmsContent请求参数结构体
|
1465
|
+
class PushMmsContentRequest < TencentCloud::Common::AbstractModel
|
1466
|
+
# @param License: 商户证书
|
1467
|
+
# @type License: String
|
1468
|
+
# @param InstanceId: 素材样例id
|
1469
|
+
# @type InstanceId: Integer
|
1470
|
+
# @param Tel: 手机号
|
1471
|
+
# @type Tel: String
|
1472
|
+
# @param Session: 附带数据字段
|
1473
|
+
# @type Session: String
|
1474
|
+
# @param DynamicParaKey: 动态参数key(即申请样例时设置的u_或p_开头的动态参数,要求序号有序)
|
1475
|
+
# @type DynamicParaKey: Array
|
1476
|
+
# @param DynamicParaValue: 动态参数值,和DynamicParaKey对应
|
1477
|
+
# @type DynamicParaValue: Array
|
1478
|
+
|
1479
|
+
attr_accessor :License, :InstanceId, :Tel, :Session, :DynamicParaKey, :DynamicParaValue
|
1480
|
+
|
1481
|
+
def initialize(license=nil, instanceid=nil, tel=nil, session=nil, dynamicparakey=nil, dynamicparavalue=nil)
|
1482
|
+
@License = license
|
1483
|
+
@InstanceId = instanceid
|
1484
|
+
@Tel = tel
|
1485
|
+
@Session = session
|
1486
|
+
@DynamicParaKey = dynamicparakey
|
1487
|
+
@DynamicParaValue = dynamicparavalue
|
1488
|
+
end
|
1489
|
+
|
1490
|
+
def deserialize(params)
|
1491
|
+
@License = params['License']
|
1492
|
+
@InstanceId = params['InstanceId']
|
1493
|
+
@Tel = params['Tel']
|
1494
|
+
@Session = params['Session']
|
1495
|
+
@DynamicParaKey = params['DynamicParaKey']
|
1496
|
+
@DynamicParaValue = params['DynamicParaValue']
|
1497
|
+
end
|
1498
|
+
end
|
1499
|
+
|
1500
|
+
# 发送超级短信返回
|
1501
|
+
class PushMmsContentResp < TencentCloud::Common::AbstractModel
|
1502
|
+
# @param ReturnCode: 返回码:0-成功 其它-失败
|
1503
|
+
# @type ReturnCode: Integer
|
1504
|
+
# @param ReturnMsg: 返回信息
|
1505
|
+
# @type ReturnMsg: String
|
1506
|
+
# @param MessageId: 消息回执id
|
1507
|
+
# @type MessageId: Integer
|
1508
|
+
|
1509
|
+
attr_accessor :ReturnCode, :ReturnMsg, :MessageId
|
1510
|
+
|
1511
|
+
def initialize(returncode=nil, returnmsg=nil, messageid=nil)
|
1512
|
+
@ReturnCode = returncode
|
1513
|
+
@ReturnMsg = returnmsg
|
1514
|
+
@MessageId = messageid
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
def deserialize(params)
|
1518
|
+
@ReturnCode = params['ReturnCode']
|
1519
|
+
@ReturnMsg = params['ReturnMsg']
|
1520
|
+
@MessageId = params['MessageId']
|
1521
|
+
end
|
1522
|
+
end
|
1523
|
+
|
1524
|
+
# PushMmsContent返回参数结构体
|
1525
|
+
class PushMmsContentResponse < TencentCloud::Common::AbstractModel
|
1526
|
+
# @param Data: 推送短信返回信息
|
1527
|
+
# @type Data: :class:`Tencentcloud::Zj.v20190121.models.PushMmsContentResp`
|
1528
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1529
|
+
# @type RequestId: String
|
1530
|
+
|
1531
|
+
attr_accessor :Data, :RequestId
|
1532
|
+
|
1533
|
+
def initialize(data=nil, requestid=nil)
|
1534
|
+
@Data = data
|
1535
|
+
@RequestId = requestid
|
1536
|
+
end
|
1537
|
+
|
1538
|
+
def deserialize(params)
|
1539
|
+
unless params['Data'].nil?
|
1540
|
+
@Data = PushMmsContentResp.new
|
1541
|
+
@Data.deserialize(params['Data'])
|
1542
|
+
end
|
1543
|
+
@RequestId = params['RequestId']
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
# 发送短信返回
|
1548
|
+
class SendSmsPaasDataStruct < TencentCloud::Common::AbstractModel
|
1549
|
+
# @param SerialNo: 发送流水号
|
1550
|
+
# @type SerialNo: String
|
1551
|
+
# @param PhoneNumber: 手机号码,e.164标准,+[国家或地区码][手机号] ,示例如:+8613711112222, 其中前面有一个+号 ,86为国家码,13711112222为手机号。
|
1552
|
+
# @type PhoneNumber: String
|
1553
|
+
# @param Fee: 计费条数
|
1554
|
+
# @type Fee: Integer
|
1555
|
+
# @param Code: OK为成功
|
1556
|
+
# @type Code: String
|
1557
|
+
# @param Message: 短信请求错误码描述
|
1558
|
+
# @type Message: String
|
1559
|
+
|
1560
|
+
attr_accessor :SerialNo, :PhoneNumber, :Fee, :Code, :Message
|
1561
|
+
|
1562
|
+
def initialize(serialno=nil, phonenumber=nil, fee=nil, code=nil, message=nil)
|
1563
|
+
@SerialNo = serialno
|
1564
|
+
@PhoneNumber = phonenumber
|
1565
|
+
@Fee = fee
|
1566
|
+
@Code = code
|
1567
|
+
@Message = message
|
1568
|
+
end
|
1569
|
+
|
1570
|
+
def deserialize(params)
|
1571
|
+
@SerialNo = params['SerialNo']
|
1572
|
+
@PhoneNumber = params['PhoneNumber']
|
1573
|
+
@Fee = params['Fee']
|
1574
|
+
@Code = params['Code']
|
1575
|
+
@Message = params['Message']
|
1576
|
+
end
|
1577
|
+
end
|
1578
|
+
|
1579
|
+
# SendSms请求参数结构体
|
1580
|
+
class SendSmsRequest < TencentCloud::Common::AbstractModel
|
1581
|
+
# @param License: 商户证书
|
1582
|
+
# @type License: String
|
1583
|
+
# @param Phone: 手机号码,采用 e.164 标准,格式为+[国家或地区码][手机号],单次请求最多支持200个手机号且要求全为境内手机号,如:+8613800138000
|
1584
|
+
# @type Phone: Array
|
1585
|
+
# @param TemplateId: 短信模板id(推荐使用模板id发送,使用内容发送时模板id留空)
|
1586
|
+
# @type TemplateId: String
|
1587
|
+
# @param Params: 模板参数,若无模板参数,则设置为空。
|
1588
|
+
# @type Params: Array
|
1589
|
+
# @param Sign: 短信签名内容,使用 UTF-8 编码,必须填写已审核通过的签名。注:国内短信为必填参数。
|
1590
|
+
# @type Sign: String
|
1591
|
+
# @param SenderId: 国际/港澳台短信 senderid,国内短信填空
|
1592
|
+
# @type SenderId: String
|
1593
|
+
# @param SmsType: 短信类型:{0:普通短信,1:营销短信},使用内容发送时必填
|
1594
|
+
# @type SmsType: Integer
|
1595
|
+
# @param International: 是否国际/港澳台短信:
|
1596
|
+
# 0:表示国内短信。
|
1597
|
+
# 1:表示国际/港澳台短信。使用内容发送时必填
|
1598
|
+
# @type International: Integer
|
1599
|
+
# @param Content: 发送使用的模板内容,如果有占位符,此处也包括占位符,占位符的实际内容通过Params参数传递,使用模板id发送时此字段为空
|
1600
|
+
# @type Content: String
|
1601
|
+
|
1602
|
+
attr_accessor :License, :Phone, :TemplateId, :Params, :Sign, :SenderId, :SmsType, :International, :Content
|
1603
|
+
|
1604
|
+
def initialize(license=nil, phone=nil, templateid=nil, params=nil, sign=nil, senderid=nil, smstype=nil, international=nil, content=nil)
|
1605
|
+
@License = license
|
1606
|
+
@Phone = phone
|
1607
|
+
@TemplateId = templateid
|
1608
|
+
@Params = params
|
1609
|
+
@Sign = sign
|
1610
|
+
@SenderId = senderid
|
1611
|
+
@SmsType = smstype
|
1612
|
+
@International = international
|
1613
|
+
@Content = content
|
1614
|
+
end
|
1615
|
+
|
1616
|
+
def deserialize(params)
|
1617
|
+
@License = params['License']
|
1618
|
+
@Phone = params['Phone']
|
1619
|
+
@TemplateId = params['TemplateId']
|
1620
|
+
@Params = params['Params']
|
1621
|
+
@Sign = params['Sign']
|
1622
|
+
@SenderId = params['SenderId']
|
1623
|
+
@SmsType = params['SmsType']
|
1624
|
+
@International = params['International']
|
1625
|
+
@Content = params['Content']
|
1626
|
+
end
|
1627
|
+
end
|
1628
|
+
|
1629
|
+
# SendSms返回参数结构体
|
1630
|
+
class SendSmsResponse < TencentCloud::Common::AbstractModel
|
1631
|
+
# @param Data: 出参数据
|
1632
|
+
# @type Data: Array
|
1633
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1634
|
+
# @type RequestId: String
|
1635
|
+
|
1636
|
+
attr_accessor :Data, :RequestId
|
1637
|
+
|
1638
|
+
def initialize(data=nil, requestid=nil)
|
1639
|
+
@Data = data
|
1640
|
+
@RequestId = requestid
|
1641
|
+
end
|
1642
|
+
|
1643
|
+
def deserialize(params)
|
1644
|
+
unless params['Data'].nil?
|
1645
|
+
@Data = []
|
1646
|
+
params['Data'].each do |i|
|
1647
|
+
sendsmspaasdatastruct_tmp = SendSmsPaasDataStruct.new
|
1648
|
+
sendsmspaasdatastruct_tmp.deserialize(i)
|
1649
|
+
@Data << sendsmspaasdatastruct_tmp
|
1650
|
+
end
|
1651
|
+
end
|
1652
|
+
@RequestId = params['RequestId']
|
1653
|
+
end
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
# 添加短信人群包信息接口返回
|
1657
|
+
class SmsAddCrowdPackInfoResponse < TencentCloud::Common::AbstractModel
|
1658
|
+
# @param ID: 人群包id
|
1659
|
+
# @type ID: Integer
|
1660
|
+
|
1661
|
+
attr_accessor :ID
|
1662
|
+
|
1663
|
+
def initialize(id=nil)
|
1664
|
+
@ID = id
|
1665
|
+
end
|
1666
|
+
|
1667
|
+
def deserialize(params)
|
1668
|
+
@ID = params['ID']
|
1669
|
+
end
|
1670
|
+
end
|
1671
|
+
|
1672
|
+
# 短信子账号额度接口出参
|
1673
|
+
class SmsAmountDataStruct < TencentCloud::Common::AbstractModel
|
1674
|
+
# @param SmsCampaignAmount: 短信活动配额
|
1675
|
+
# @type SmsCampaignAmount: Integer
|
1676
|
+
# @param SmsCampaignConsume: 短信活动消耗配额
|
1677
|
+
# @type SmsCampaignConsume: Integer
|
1678
|
+
# @param SmsSendAmount: 短信发送额度
|
1679
|
+
# @type SmsSendAmount: Integer
|
1680
|
+
# @param SmsSendConsume: 短信发送消耗额度
|
1681
|
+
# @type SmsSendConsume: Integer
|
1682
|
+
# @param MmsCampaignAmount: 超短活动额度
|
1683
|
+
# @type MmsCampaignAmount: Integer
|
1684
|
+
# @param MmsCampaignConsume: 超短活动消耗额度
|
1685
|
+
# @type MmsCampaignConsume: Integer
|
1686
|
+
# @param MmsSendAmount: 超短短信额度
|
1687
|
+
# @type MmsSendAmount: Integer
|
1688
|
+
# @param MmsSendConsume: 超短短信消耗额度
|
1689
|
+
# @type MmsSendConsume: Integer
|
1690
|
+
|
1691
|
+
attr_accessor :SmsCampaignAmount, :SmsCampaignConsume, :SmsSendAmount, :SmsSendConsume, :MmsCampaignAmount, :MmsCampaignConsume, :MmsSendAmount, :MmsSendConsume
|
1692
|
+
|
1693
|
+
def initialize(smscampaignamount=nil, smscampaignconsume=nil, smssendamount=nil, smssendconsume=nil, mmscampaignamount=nil, mmscampaignconsume=nil, mmssendamount=nil, mmssendconsume=nil)
|
1694
|
+
@SmsCampaignAmount = smscampaignamount
|
1695
|
+
@SmsCampaignConsume = smscampaignconsume
|
1696
|
+
@SmsSendAmount = smssendamount
|
1697
|
+
@SmsSendConsume = smssendconsume
|
1698
|
+
@MmsCampaignAmount = mmscampaignamount
|
1699
|
+
@MmsCampaignConsume = mmscampaignconsume
|
1700
|
+
@MmsSendAmount = mmssendamount
|
1701
|
+
@MmsSendConsume = mmssendconsume
|
1702
|
+
end
|
1703
|
+
|
1704
|
+
def deserialize(params)
|
1705
|
+
@SmsCampaignAmount = params['SmsCampaignAmount']
|
1706
|
+
@SmsCampaignConsume = params['SmsCampaignConsume']
|
1707
|
+
@SmsSendAmount = params['SmsSendAmount']
|
1708
|
+
@SmsSendConsume = params['SmsSendConsume']
|
1709
|
+
@MmsCampaignAmount = params['MmsCampaignAmount']
|
1710
|
+
@MmsCampaignConsume = params['MmsCampaignConsume']
|
1711
|
+
@MmsSendAmount = params['MmsSendAmount']
|
1712
|
+
@MmsSendConsume = params['MmsSendConsume']
|
1713
|
+
end
|
1714
|
+
end
|
1715
|
+
|
1716
|
+
# 短信活动统计人群包数据
|
1717
|
+
class SmsCampaignStatisticsCrowdData < TencentCloud::Common::AbstractModel
|
1718
|
+
# @param CrowdId: 人群包id
|
1719
|
+
# @type CrowdId: Integer
|
1720
|
+
# @param CrowdName: 人群包名称
|
1721
|
+
# @type CrowdName: String
|
1722
|
+
# @param CrowdCount: 人群包目标触达总数
|
1723
|
+
# @type CrowdCount: Integer
|
1724
|
+
# @param TemplateList: 模板列表
|
1725
|
+
# @type TemplateList: Array
|
1726
|
+
|
1727
|
+
attr_accessor :CrowdId, :CrowdName, :CrowdCount, :TemplateList
|
1728
|
+
|
1729
|
+
def initialize(crowdid=nil, crowdname=nil, crowdcount=nil, templatelist=nil)
|
1730
|
+
@CrowdId = crowdid
|
1731
|
+
@CrowdName = crowdname
|
1732
|
+
@CrowdCount = crowdcount
|
1733
|
+
@TemplateList = templatelist
|
1734
|
+
end
|
1735
|
+
|
1736
|
+
def deserialize(params)
|
1737
|
+
@CrowdId = params['CrowdId']
|
1738
|
+
@CrowdName = params['CrowdName']
|
1739
|
+
@CrowdCount = params['CrowdCount']
|
1740
|
+
unless params['TemplateList'].nil?
|
1741
|
+
@TemplateList = []
|
1742
|
+
params['TemplateList'].each do |i|
|
1743
|
+
smscampaignstatisticstemplatedata_tmp = SmsCampaignStatisticsTemplateData.new
|
1744
|
+
smscampaignstatisticstemplatedata_tmp.deserialize(i)
|
1745
|
+
@TemplateList << smscampaignstatisticstemplatedata_tmp
|
1746
|
+
end
|
1747
|
+
end
|
1748
|
+
end
|
1749
|
+
end
|
1750
|
+
|
1751
|
+
# 短信活动统计响应
|
1752
|
+
class SmsCampaignStatisticsData < TencentCloud::Common::AbstractModel
|
1753
|
+
# @param CampaignId: 活动Id
|
1754
|
+
# @type CampaignId: Integer
|
1755
|
+
# @param Statistics: 统计数据
|
1756
|
+
# @type Statistics: Array
|
1757
|
+
|
1758
|
+
attr_accessor :CampaignId, :Statistics
|
1759
|
+
|
1760
|
+
def initialize(campaignid=nil, statistics=nil)
|
1761
|
+
@CampaignId = campaignid
|
1762
|
+
@Statistics = statistics
|
1763
|
+
end
|
1764
|
+
|
1765
|
+
def deserialize(params)
|
1766
|
+
@CampaignId = params['CampaignId']
|
1767
|
+
unless params['Statistics'].nil?
|
1768
|
+
@Statistics = []
|
1769
|
+
params['Statistics'].each do |i|
|
1770
|
+
smscampaignstatisticscrowddata_tmp = SmsCampaignStatisticsCrowdData.new
|
1771
|
+
smscampaignstatisticscrowddata_tmp.deserialize(i)
|
1772
|
+
@Statistics << smscampaignstatisticscrowddata_tmp
|
1773
|
+
end
|
1774
|
+
end
|
1775
|
+
end
|
1776
|
+
end
|
1777
|
+
|
1778
|
+
# 短信活动统计模板展示结构
|
1779
|
+
class SmsCampaignStatisticsTemplateData < TencentCloud::Common::AbstractModel
|
1780
|
+
# @param TemplateId: 模板或样例id
|
1781
|
+
# @type TemplateId: String
|
1782
|
+
# @param TemplateContent: 模板内容
|
1783
|
+
# @type TemplateContent: String
|
1784
|
+
# @param SendCount: 触达成功数
|
1785
|
+
# @type SendCount: Integer
|
1786
|
+
# @param ClickCount: 短链点击数
|
1787
|
+
# @type ClickCount: Integer
|
1788
|
+
|
1789
|
+
attr_accessor :TemplateId, :TemplateContent, :SendCount, :ClickCount
|
1790
|
+
|
1791
|
+
def initialize(templateid=nil, templatecontent=nil, sendcount=nil, clickcount=nil)
|
1792
|
+
@TemplateId = templateid
|
1793
|
+
@TemplateContent = templatecontent
|
1794
|
+
@SendCount = sendcount
|
1795
|
+
@ClickCount = clickcount
|
1796
|
+
end
|
1797
|
+
|
1798
|
+
def deserialize(params)
|
1799
|
+
@TemplateId = params['TemplateId']
|
1800
|
+
@TemplateContent = params['TemplateContent']
|
1801
|
+
@SendCount = params['SendCount']
|
1802
|
+
@ClickCount = params['ClickCount']
|
1803
|
+
end
|
1804
|
+
end
|
1805
|
+
|
1806
|
+
# 创建短信活动返回结构
|
1807
|
+
class SmsCreateCampaignResponse < TencentCloud::Common::AbstractModel
|
1808
|
+
# @param CampaignId: 活动id
|
1809
|
+
# @type CampaignId: Integer
|
1810
|
+
|
1811
|
+
attr_accessor :CampaignId
|
1812
|
+
|
1813
|
+
def initialize(campaignid=nil)
|
1814
|
+
@CampaignId = campaignid
|
1815
|
+
end
|
1816
|
+
|
1817
|
+
def deserialize(params)
|
1818
|
+
@CampaignId = params['CampaignId']
|
1819
|
+
end
|
1820
|
+
end
|
1821
|
+
|
1822
|
+
# 短信获取人群包列表的返回数据信息
|
1823
|
+
class SmsGetCrowdPackList < TencentCloud::Common::AbstractModel
|
1824
|
+
# @param CreatedAt: 创建时间
|
1825
|
+
# @type CreatedAt: String
|
1826
|
+
# @param ID: 人群包id
|
1827
|
+
# @type ID: Integer
|
1828
|
+
# @param Name: 人群包名称
|
1829
|
+
# @type Name: String
|
1830
|
+
# @param Status: 人群包状态
|
1831
|
+
# @type Status: Integer
|
1832
|
+
# @param PhoneNum: 人群包手机号数量
|
1833
|
+
# @type PhoneNum: Integer
|
1834
|
+
# @param Tag: 人群包标签信息
|
1835
|
+
# @type Tag: String
|
1836
|
+
# @param MD5: 人群包md5
|
1837
|
+
# @type MD5: String
|
1838
|
+
# @param FileName: 人群包文件名称
|
1839
|
+
# @type FileName: String
|
1840
|
+
# @param Desc: 人群包描述
|
1841
|
+
# @type Desc: String
|
1842
|
+
|
1843
|
+
attr_accessor :CreatedAt, :ID, :Name, :Status, :PhoneNum, :Tag, :MD5, :FileName, :Desc
|
1844
|
+
|
1845
|
+
def initialize(createdat=nil, id=nil, name=nil, status=nil, phonenum=nil, tag=nil, md5=nil, filename=nil, desc=nil)
|
1846
|
+
@CreatedAt = createdat
|
1847
|
+
@ID = id
|
1848
|
+
@Name = name
|
1849
|
+
@Status = status
|
1850
|
+
@PhoneNum = phonenum
|
1851
|
+
@Tag = tag
|
1852
|
+
@MD5 = md5
|
1853
|
+
@FileName = filename
|
1854
|
+
@Desc = desc
|
1855
|
+
end
|
1856
|
+
|
1857
|
+
def deserialize(params)
|
1858
|
+
@CreatedAt = params['CreatedAt']
|
1859
|
+
@ID = params['ID']
|
1860
|
+
@Name = params['Name']
|
1861
|
+
@Status = params['Status']
|
1862
|
+
@PhoneNum = params['PhoneNum']
|
1863
|
+
@Tag = params['Tag']
|
1864
|
+
@MD5 = params['MD5']
|
1865
|
+
@FileName = params['FileName']
|
1866
|
+
@Desc = params['Desc']
|
1867
|
+
end
|
1868
|
+
end
|
1869
|
+
|
1870
|
+
# 短信人群包返回信息
|
1871
|
+
class SmsGetCrowdPackListResponse < TencentCloud::Common::AbstractModel
|
1872
|
+
# @param Total: 人群包总数
|
1873
|
+
# @type Total: Integer
|
1874
|
+
# @param List: 人群包返回数据列表
|
1875
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1876
|
+
# @type List: Array
|
1877
|
+
|
1878
|
+
attr_accessor :Total, :List
|
1879
|
+
|
1880
|
+
def initialize(total=nil, list=nil)
|
1881
|
+
@Total = total
|
1882
|
+
@List = list
|
1883
|
+
end
|
1884
|
+
|
1885
|
+
def deserialize(params)
|
1886
|
+
@Total = params['Total']
|
1887
|
+
unless params['List'].nil?
|
1888
|
+
@List = []
|
1889
|
+
params['List'].each do |i|
|
1890
|
+
smsgetcrowdpacklist_tmp = SmsGetCrowdPackList.new
|
1891
|
+
smsgetcrowdpacklist_tmp.deserialize(i)
|
1892
|
+
@List << smsgetcrowdpacklist_tmp
|
1893
|
+
end
|
1894
|
+
end
|
1895
|
+
end
|
1896
|
+
end
|
1897
|
+
|
1898
|
+
# 获取短信人群包上传信息返回
|
1899
|
+
class SmsGetCrowdUploadInfoResponse < TencentCloud::Common::AbstractModel
|
1900
|
+
# @param ExpiredTime: 过期时间
|
1901
|
+
# @type ExpiredTime: Integer
|
1902
|
+
# @param SessionToken: 会话token
|
1903
|
+
# @type SessionToken: String
|
1904
|
+
# @param TmpSecretId: 临时密钥id
|
1905
|
+
# @type TmpSecretId: String
|
1906
|
+
# @param TmpSecretKey: 临时密钥
|
1907
|
+
# @type TmpSecretKey: String
|
1908
|
+
# @param CosInfo: cos信息
|
1909
|
+
# @type CosInfo: :class:`Tencentcloud::Zj.v20190121.models.UploadFansInfoCosInfo`
|
1910
|
+
|
1911
|
+
attr_accessor :ExpiredTime, :SessionToken, :TmpSecretId, :TmpSecretKey, :CosInfo
|
1912
|
+
|
1913
|
+
def initialize(expiredtime=nil, sessiontoken=nil, tmpsecretid=nil, tmpsecretkey=nil, cosinfo=nil)
|
1914
|
+
@ExpiredTime = expiredtime
|
1915
|
+
@SessionToken = sessiontoken
|
1916
|
+
@TmpSecretId = tmpsecretid
|
1917
|
+
@TmpSecretKey = tmpsecretkey
|
1918
|
+
@CosInfo = cosinfo
|
1919
|
+
end
|
1920
|
+
|
1921
|
+
def deserialize(params)
|
1922
|
+
@ExpiredTime = params['ExpiredTime']
|
1923
|
+
@SessionToken = params['SessionToken']
|
1924
|
+
@TmpSecretId = params['TmpSecretId']
|
1925
|
+
@TmpSecretKey = params['TmpSecretKey']
|
1926
|
+
unless params['CosInfo'].nil?
|
1927
|
+
@CosInfo = UploadFansInfoCosInfo.new
|
1928
|
+
@CosInfo.deserialize(params['CosInfo'])
|
1929
|
+
end
|
1930
|
+
end
|
1931
|
+
end
|
1932
|
+
|
1933
|
+
# 短信api成功返回信息
|
1934
|
+
class SmsSuccessResponse < TencentCloud::Common::AbstractModel
|
1935
|
+
# @param Message: 成功返回信息
|
1936
|
+
# @type Message: String
|
1937
|
+
|
1938
|
+
attr_accessor :Message
|
1939
|
+
|
1940
|
+
def initialize(message=nil)
|
1941
|
+
@Message = message
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
def deserialize(params)
|
1945
|
+
@Message = params['Message']
|
1946
|
+
end
|
1947
|
+
end
|
1948
|
+
|
1949
|
+
# 接口返回给服务商的COS路径等信息
|
1950
|
+
class UploadFansInfoCosInfo < TencentCloud::Common::AbstractModel
|
1951
|
+
# @param Bucket: COS bucket
|
1952
|
+
# @type Bucket: String
|
1953
|
+
# @param Key: COS路径
|
1954
|
+
# @type Key: String
|
1955
|
+
# @param Region: COS区域
|
1956
|
+
# @type Region: String
|
1957
|
+
|
1958
|
+
attr_accessor :Bucket, :Key, :Region
|
1959
|
+
|
1960
|
+
def initialize(bucket=nil, key=nil, region=nil)
|
1961
|
+
@Bucket = bucket
|
1962
|
+
@Key = key
|
1963
|
+
@Region = region
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
def deserialize(params)
|
1967
|
+
@Bucket = params['Bucket']
|
1968
|
+
@Key = params['Key']
|
1969
|
+
@Region = params['Region']
|
1970
|
+
end
|
1971
|
+
end
|
1972
|
+
|
1973
|
+
end
|
1974
|
+
end
|
1975
|
+
end
|
1976
|
+
|