tencentcloud-sdk-wav 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1586 @@
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 Wav
19
+ module V20210129
20
+ # 活动详情
21
+ class ActivityDetail < TencentCloud::Common::AbstractModel
22
+ # @param ActivityId: 活动id
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type ActivityId: Integer
25
+ # @param ActivityName: 活动名称
26
+ # 注意:此字段可能返回 null,表示取不到有效值。
27
+ # @type ActivityName: String
28
+ # @param ActivityState: 活动状态,10:未开始状态、20:已开始(进行中)状态、30:已结束状态
29
+ # 注意:此字段可能返回 null,表示取不到有效值。
30
+ # @type ActivityState: Integer
31
+ # @param ActivityType: 活动类型,100:留资活动
32
+ # 注意:此字段可能返回 null,表示取不到有效值。
33
+ # @type ActivityType: Integer
34
+ # @param StartTime: 活动开始时间戳,单位:秒
35
+ # 注意:此字段可能返回 null,表示取不到有效值。
36
+ # @type StartTime: Integer
37
+ # @param EndTime: 活动结束时间戳,单位:秒
38
+ # 注意:此字段可能返回 null,表示取不到有效值。
39
+ # @type EndTime: Integer
40
+ # @param MainPhoto: 活动主图
41
+ # 注意:此字段可能返回 null,表示取不到有效值。
42
+ # @type MainPhoto: String
43
+ # @param PrivacyAgreementId: 协议编号
44
+ # 注意:此字段可能返回 null,表示取不到有效值。
45
+ # @type PrivacyAgreementId: String
46
+ # @param UpdateTime: 活动更新时间戳,单位:秒
47
+ # 注意:此字段可能返回 null,表示取不到有效值。
48
+ # @type UpdateTime: Integer
49
+ # @param ActivityDataList: 活动数据列表
50
+ # 注意:此字段可能返回 null,表示取不到有效值。
51
+ # @type ActivityDataList: String
52
+
53
+ attr_accessor :ActivityId, :ActivityName, :ActivityState, :ActivityType, :StartTime, :EndTime, :MainPhoto, :PrivacyAgreementId, :UpdateTime, :ActivityDataList
54
+
55
+ def initialize(activityid=nil, activityname=nil, activitystate=nil, activitytype=nil, starttime=nil, endtime=nil, mainphoto=nil, privacyagreementid=nil, updatetime=nil, activitydatalist=nil)
56
+ @ActivityId = activityid
57
+ @ActivityName = activityname
58
+ @ActivityState = activitystate
59
+ @ActivityType = activitytype
60
+ @StartTime = starttime
61
+ @EndTime = endtime
62
+ @MainPhoto = mainphoto
63
+ @PrivacyAgreementId = privacyagreementid
64
+ @UpdateTime = updatetime
65
+ @ActivityDataList = activitydatalist
66
+ end
67
+
68
+ def deserialize(params)
69
+ @ActivityId = params['ActivityId']
70
+ @ActivityName = params['ActivityName']
71
+ @ActivityState = params['ActivityState']
72
+ @ActivityType = params['ActivityType']
73
+ @StartTime = params['StartTime']
74
+ @EndTime = params['EndTime']
75
+ @MainPhoto = params['MainPhoto']
76
+ @PrivacyAgreementId = params['PrivacyAgreementId']
77
+ @UpdateTime = params['UpdateTime']
78
+ @ActivityDataList = params['ActivityDataList']
79
+ end
80
+ end
81
+
82
+ # 活动参与详情
83
+ class ActivityJoinDetail < TencentCloud::Common::AbstractModel
84
+ # @param ActivityId: 活动id
85
+ # 注意:此字段可能返回 null,表示取不到有效值。
86
+ # @type ActivityId: Integer
87
+ # @param ActivityName: 活动名称
88
+ # 注意:此字段可能返回 null,表示取不到有效值。
89
+ # @type ActivityName: String
90
+ # @param SalesName: 销售姓名
91
+ # 注意:此字段可能返回 null,表示取不到有效值。
92
+ # @type SalesName: String
93
+ # @param SalesPhone: 销售电话
94
+ # 注意:此字段可能返回 null,表示取不到有效值。
95
+ # @type SalesPhone: String
96
+ # @param JoinId: 参与id
97
+ # 注意:此字段可能返回 null,表示取不到有效值。
98
+ # @type JoinId: Integer
99
+ # @param LiveCodeId: 活码id
100
+ # 注意:此字段可能返回 null,表示取不到有效值。
101
+ # @type LiveCodeId: Integer
102
+ # @param UserPhone: 用户电话
103
+ # 注意:此字段可能返回 null,表示取不到有效值。
104
+ # @type UserPhone: String
105
+ # @param UserName: 用户姓名
106
+ # 注意:此字段可能返回 null,表示取不到有效值。
107
+ # @type UserName: String
108
+ # @param ActivityData: 活动数据
109
+ # 注意:此字段可能返回 null,表示取不到有效值。
110
+ # @type ActivityData: String
111
+ # @param LeadId: 线索id
112
+ # 注意:此字段可能返回 null,表示取不到有效值。
113
+ # @type LeadId: Integer
114
+ # @param JoinTime: 参与时间戳,单位:秒
115
+ # 注意:此字段可能返回 null,表示取不到有效值。
116
+ # @type JoinTime: Integer
117
+ # @param Duplicate: 线索是否是重复创建, 0 :新建、 1:合并、 2:重复, 默认为0
118
+ # 注意:此字段可能返回 null,表示取不到有效值。
119
+ # @type Duplicate: Integer
120
+ # @param DuplicateLeadId: 重复线索id
121
+ # 注意:此字段可能返回 null,表示取不到有效值。
122
+ # @type DuplicateLeadId: Integer
123
+ # @param JoinState: 是否为参与多次活动, 1:参与一次、2、参与多次,默认为0
124
+ # 注意:此字段可能返回 null,表示取不到有效值。
125
+ # @type JoinState: Integer
126
+ # @param CreateTime: 创建时间戳,单位:秒
127
+ # 注意:此字段可能返回 null,表示取不到有效值。
128
+ # @type CreateTime: Integer
129
+ # @param UpdateTime: 更新时间戳,单位:秒
130
+ # 注意:此字段可能返回 null,表示取不到有效值。
131
+ # @type UpdateTime: Integer
132
+
133
+ attr_accessor :ActivityId, :ActivityName, :SalesName, :SalesPhone, :JoinId, :LiveCodeId, :UserPhone, :UserName, :ActivityData, :LeadId, :JoinTime, :Duplicate, :DuplicateLeadId, :JoinState, :CreateTime, :UpdateTime
134
+
135
+ def initialize(activityid=nil, activityname=nil, salesname=nil, salesphone=nil, joinid=nil, livecodeid=nil, userphone=nil, username=nil, activitydata=nil, leadid=nil, jointime=nil, duplicate=nil, duplicateleadid=nil, joinstate=nil, createtime=nil, updatetime=nil)
136
+ @ActivityId = activityid
137
+ @ActivityName = activityname
138
+ @SalesName = salesname
139
+ @SalesPhone = salesphone
140
+ @JoinId = joinid
141
+ @LiveCodeId = livecodeid
142
+ @UserPhone = userphone
143
+ @UserName = username
144
+ @ActivityData = activitydata
145
+ @LeadId = leadid
146
+ @JoinTime = jointime
147
+ @Duplicate = duplicate
148
+ @DuplicateLeadId = duplicateleadid
149
+ @JoinState = joinstate
150
+ @CreateTime = createtime
151
+ @UpdateTime = updatetime
152
+ end
153
+
154
+ def deserialize(params)
155
+ @ActivityId = params['ActivityId']
156
+ @ActivityName = params['ActivityName']
157
+ @SalesName = params['SalesName']
158
+ @SalesPhone = params['SalesPhone']
159
+ @JoinId = params['JoinId']
160
+ @LiveCodeId = params['LiveCodeId']
161
+ @UserPhone = params['UserPhone']
162
+ @UserName = params['UserName']
163
+ @ActivityData = params['ActivityData']
164
+ @LeadId = params['LeadId']
165
+ @JoinTime = params['JoinTime']
166
+ @Duplicate = params['Duplicate']
167
+ @DuplicateLeadId = params['DuplicateLeadId']
168
+ @JoinState = params['JoinState']
169
+ @CreateTime = params['CreateTime']
170
+ @UpdateTime = params['UpdateTime']
171
+ end
172
+ end
173
+
174
+ # 渠道活码详情
175
+ class ChannelCodeInnerDetail < TencentCloud::Common::AbstractModel
176
+ # @param Id: 渠道活码id
177
+ # @type Id: Integer
178
+ # @param Type: 欢迎语类型,0:普通欢迎语、1:渠道欢迎语
179
+ # @type Type: Integer
180
+ # @param Source: 渠道来源
181
+ # @type Source: String
182
+ # @param SourceName: 渠道来源名称
183
+ # @type SourceName: String
184
+ # @param Name: 二维码名称
185
+ # @type Name: String
186
+ # @param UseUserIdList: 使用成员用户id集
187
+ # @type UseUserIdList: Array
188
+ # @param UseUserOpenIdList: 使用成员企微账号id集
189
+ # @type UseUserOpenIdList: Array
190
+ # @param TagList: 标签
191
+ # @type TagList: Array
192
+ # @param SkipVerify: 自动通过好友,0:开启、1:关闭,默认0开启
193
+ # @type SkipVerify: Integer
194
+ # @param Friends: 添加好友人数
195
+ # @type Friends: Integer
196
+ # @param Remark: 备注
197
+ # @type Remark: String
198
+ # @param MsgId: 欢迎语id(通过欢迎语新增返回的id)
199
+ # @type MsgId: Integer
200
+ # @param ConfigId: 联系我config_id
201
+ # @type ConfigId: String
202
+ # @param QrCodeUrl: 联系我二维码地址
203
+ # @type QrCodeUrl: String
204
+ # @param RecStatus: 记录状态, 0:有效、1:无效
205
+ # @type RecStatus: Integer
206
+ # @param AppId: 应用ID
207
+ # @type AppId: String
208
+
209
+ attr_accessor :Id, :Type, :Source, :SourceName, :Name, :UseUserIdList, :UseUserOpenIdList, :TagList, :SkipVerify, :Friends, :Remark, :MsgId, :ConfigId, :QrCodeUrl, :RecStatus, :AppId
210
+
211
+ def initialize(id=nil, type=nil, source=nil, sourcename=nil, name=nil, useuseridlist=nil, useuseropenidlist=nil, taglist=nil, skipverify=nil, friends=nil, remark=nil, msgid=nil, configid=nil, qrcodeurl=nil, recstatus=nil, appid=nil)
212
+ @Id = id
213
+ @Type = type
214
+ @Source = source
215
+ @SourceName = sourcename
216
+ @Name = name
217
+ @UseUserIdList = useuseridlist
218
+ @UseUserOpenIdList = useuseropenidlist
219
+ @TagList = taglist
220
+ @SkipVerify = skipverify
221
+ @Friends = friends
222
+ @Remark = remark
223
+ @MsgId = msgid
224
+ @ConfigId = configid
225
+ @QrCodeUrl = qrcodeurl
226
+ @RecStatus = recstatus
227
+ @AppId = appid
228
+ end
229
+
230
+ def deserialize(params)
231
+ @Id = params['Id']
232
+ @Type = params['Type']
233
+ @Source = params['Source']
234
+ @SourceName = params['SourceName']
235
+ @Name = params['Name']
236
+ @UseUserIdList = params['UseUserIdList']
237
+ @UseUserOpenIdList = params['UseUserOpenIdList']
238
+ unless params['TagList'].nil?
239
+ @TagList = []
240
+ params['TagList'].each do |i|
241
+ wecomtagdetail_tmp = WeComTagDetail.new
242
+ wecomtagdetail_tmp.deserialize(i)
243
+ @TagList << wecomtagdetail_tmp
244
+ end
245
+ end
246
+ @SkipVerify = params['SkipVerify']
247
+ @Friends = params['Friends']
248
+ @Remark = params['Remark']
249
+ @MsgId = params['MsgId']
250
+ @ConfigId = params['ConfigId']
251
+ @QrCodeUrl = params['QrCodeUrl']
252
+ @RecStatus = params['RecStatus']
253
+ @AppId = params['AppId']
254
+ end
255
+ end
256
+
257
+ # 会话存档数据详情
258
+ class ChatArchivingDetail < TencentCloud::Common::AbstractModel
259
+ # @param MsgId: 消息id
260
+ # @type MsgId: String
261
+ # @param Action: 动作名称,switch表示切换企微账号,send表示企微普通消息
262
+ # @type Action: String
263
+ # @param MsgType: 消息类型,当Action != "switch"时存在,例如video, text, voice 等,和企微开放文档一一对应
264
+ # https://open.work.weixin.qq.com/api/doc/90000/90135/91774
265
+ # 注意:此字段可能返回 null,表示取不到有效值。
266
+ # @type MsgType: String
267
+ # @param From: 消息发送人
268
+ # 注意:此字段可能返回 null,表示取不到有效值。
269
+ # @type From: String
270
+ # @param ToList: 消息接收人列表,注意接收人可能只有一个
271
+ # 注意:此字段可能返回 null,表示取不到有效值。
272
+ # @type ToList: Array
273
+ # @param RoomId: 如果是群消息,则不为空
274
+ # 注意:此字段可能返回 null,表示取不到有效值。
275
+ # @type RoomId: String
276
+ # @param MsgTime: 消息发送的时间戳,单位为秒
277
+ # 注意:此字段可能返回 null,表示取不到有效值。
278
+ # @type MsgTime: Integer
279
+ # @param Video: MsgType=video时的消息体,忽略此字段,见BodyJson字段
280
+ # 注意:此字段可能返回 null,表示取不到有效值。
281
+ # @type Video: :class:`Tencentcloud::Wav.v20210129.models.ChatArchivingMsgTypeVideo`
282
+ # @param BodyJson: 根据MsgType的不同取值,解析内容不同,参考:https://open.work.weixin.qq.com/api/doc/90000/90135/91774
283
+ # 注意:此字段可能返回 null,表示取不到有效值。
284
+ # @type BodyJson: String
285
+
286
+ attr_accessor :MsgId, :Action, :MsgType, :From, :ToList, :RoomId, :MsgTime, :Video, :BodyJson
287
+
288
+ def initialize(msgid=nil, action=nil, msgtype=nil, from=nil, tolist=nil, roomid=nil, msgtime=nil, video=nil, bodyjson=nil)
289
+ @MsgId = msgid
290
+ @Action = action
291
+ @MsgType = msgtype
292
+ @From = from
293
+ @ToList = tolist
294
+ @RoomId = roomid
295
+ @MsgTime = msgtime
296
+ @Video = video
297
+ @BodyJson = bodyjson
298
+ end
299
+
300
+ def deserialize(params)
301
+ @MsgId = params['MsgId']
302
+ @Action = params['Action']
303
+ @MsgType = params['MsgType']
304
+ @From = params['From']
305
+ @ToList = params['ToList']
306
+ @RoomId = params['RoomId']
307
+ @MsgTime = params['MsgTime']
308
+ unless params['Video'].nil?
309
+ @Video = ChatArchivingMsgTypeVideo.new
310
+ @Video.deserialize(params['Video'])
311
+ end
312
+ @BodyJson = params['BodyJson']
313
+ end
314
+ end
315
+
316
+ # 会话存档的视频消息类型
317
+ class ChatArchivingMsgTypeVideo < TencentCloud::Common::AbstractModel
318
+ # @param PlayLength: 视频时长,单位秒
319
+ # 注意:此字段可能返回 null,表示取不到有效值。
320
+ # @type PlayLength: Integer
321
+ # @param FileSize: 文件大小
322
+ # 注意:此字段可能返回 null,表示取不到有效值。
323
+ # @type FileSize: Integer
324
+ # @param CosKey: 视频资源对象Cos下载地址
325
+ # @type CosKey: String
326
+
327
+ attr_accessor :PlayLength, :FileSize, :CosKey
328
+
329
+ def initialize(playlength=nil, filesize=nil, coskey=nil)
330
+ @PlayLength = playlength
331
+ @FileSize = filesize
332
+ @CosKey = coskey
333
+ end
334
+
335
+ def deserialize(params)
336
+ @PlayLength = params['PlayLength']
337
+ @FileSize = params['FileSize']
338
+ @CosKey = params['CosKey']
339
+ end
340
+ end
341
+
342
+ # 线索信息详情
343
+ class ClueInfoDetail < TencentCloud::Common::AbstractModel
344
+ # @param ClueId: 线索id,线索唯一识别编码
345
+ # @type ClueId: String
346
+ # @param DealerId: 接待客户经销商顾问所属组织id,多个组织使用逗号分割
347
+ # @type DealerId: String
348
+ # @param EnquireTime: 线索获取时间,用户添加企业微信时间,单位是秒
349
+ # @type EnquireTime: Integer
350
+ # @param UnionId: 客户在微信生态中唯一识别码
351
+ # @type UnionId: String
352
+ # @param Name: 微信昵称
353
+ # @type Name: String
354
+ # @param Phone: 联系方式
355
+ # @type Phone: String
356
+ # @param SeriesCode: 车系编号
357
+ # @type SeriesCode: String
358
+ # @param ModelCode: 车型编号
359
+ # @type ModelCode: String
360
+ # @param ProvinceCode: 省份编号
361
+ # @type ProvinceCode: String
362
+ # @param CityCode: 城市编号
363
+ # @type CityCode: String
364
+ # @param SalesName: 顾问名称
365
+ # @type SalesName: String
366
+ # @param SalesPhone: 顾问电话
367
+ # @type SalesPhone: String
368
+ # @param Remark: 备注
369
+ # @type Remark: String
370
+ # @param TagList: 标签
371
+ # @type TagList: Array
372
+
373
+ attr_accessor :ClueId, :DealerId, :EnquireTime, :UnionId, :Name, :Phone, :SeriesCode, :ModelCode, :ProvinceCode, :CityCode, :SalesName, :SalesPhone, :Remark, :TagList
374
+
375
+ def initialize(clueid=nil, dealerid=nil, enquiretime=nil, unionid=nil, name=nil, phone=nil, seriescode=nil, modelcode=nil, provincecode=nil, citycode=nil, salesname=nil, salesphone=nil, remark=nil, taglist=nil)
376
+ @ClueId = clueid
377
+ @DealerId = dealerid
378
+ @EnquireTime = enquiretime
379
+ @UnionId = unionid
380
+ @Name = name
381
+ @Phone = phone
382
+ @SeriesCode = seriescode
383
+ @ModelCode = modelcode
384
+ @ProvinceCode = provincecode
385
+ @CityCode = citycode
386
+ @SalesName = salesname
387
+ @SalesPhone = salesphone
388
+ @Remark = remark
389
+ @TagList = taglist
390
+ end
391
+
392
+ def deserialize(params)
393
+ @ClueId = params['ClueId']
394
+ @DealerId = params['DealerId']
395
+ @EnquireTime = params['EnquireTime']
396
+ @UnionId = params['UnionId']
397
+ @Name = params['Name']
398
+ @Phone = params['Phone']
399
+ @SeriesCode = params['SeriesCode']
400
+ @ModelCode = params['ModelCode']
401
+ @ProvinceCode = params['ProvinceCode']
402
+ @CityCode = params['CityCode']
403
+ @SalesName = params['SalesName']
404
+ @SalesPhone = params['SalesPhone']
405
+ @Remark = params['Remark']
406
+ @TagList = params['TagList']
407
+ end
408
+ end
409
+
410
+ # CreateChannelCode请求参数结构体
411
+ class CreateChannelCodeRequest < TencentCloud::Common::AbstractModel
412
+ # @param Type: 欢迎语类型:0普通欢迎语,1渠道欢迎语
413
+ # @type Type: Integer
414
+ # @param UseUserId: 使用成员用户id集
415
+ # @type UseUserId: Array
416
+ # @param UseUserOpenId: 使用成员企微账号id集
417
+ # @type UseUserOpenId: Array
418
+ # @param AppIds: 应用ID,字典表中的APP_TYPE值,多个已逗号分隔
419
+ # @type AppIds: String
420
+ # @param Source: 渠道来源
421
+ # @type Source: String
422
+ # @param SourceName: 渠道来源名称
423
+ # @type SourceName: String
424
+ # @param Name: 二维码名称
425
+ # @type Name: String
426
+ # @param Tag: 标签
427
+ # @type Tag: Array
428
+ # @param SkipVerify: 自动通过好友:0开启 1关闭, 默认开启
429
+ # @type SkipVerify: Integer
430
+ # @param MsgId: 欢迎语id(通过欢迎语新增返回的id)
431
+ # @type MsgId: Integer
432
+ # @param Remark: 备注
433
+ # @type Remark: String
434
+ # @param SourceType: 渠道类型 0 未知 1 公域 2私域
435
+ # @type SourceType: Integer
436
+
437
+ attr_accessor :Type, :UseUserId, :UseUserOpenId, :AppIds, :Source, :SourceName, :Name, :Tag, :SkipVerify, :MsgId, :Remark, :SourceType
438
+
439
+ def initialize(type=nil, useuserid=nil, useuseropenid=nil, appids=nil, source=nil, sourcename=nil, name=nil, tag=nil, skipverify=nil, msgid=nil, remark=nil, sourcetype=nil)
440
+ @Type = type
441
+ @UseUserId = useuserid
442
+ @UseUserOpenId = useuseropenid
443
+ @AppIds = appids
444
+ @Source = source
445
+ @SourceName = sourcename
446
+ @Name = name
447
+ @Tag = tag
448
+ @SkipVerify = skipverify
449
+ @MsgId = msgid
450
+ @Remark = remark
451
+ @SourceType = sourcetype
452
+ end
453
+
454
+ def deserialize(params)
455
+ @Type = params['Type']
456
+ @UseUserId = params['UseUserId']
457
+ @UseUserOpenId = params['UseUserOpenId']
458
+ @AppIds = params['AppIds']
459
+ @Source = params['Source']
460
+ @SourceName = params['SourceName']
461
+ @Name = params['Name']
462
+ unless params['Tag'].nil?
463
+ @Tag = []
464
+ params['Tag'].each do |i|
465
+ wecomtagdetail_tmp = WeComTagDetail.new
466
+ wecomtagdetail_tmp.deserialize(i)
467
+ @Tag << wecomtagdetail_tmp
468
+ end
469
+ end
470
+ @SkipVerify = params['SkipVerify']
471
+ @MsgId = params['MsgId']
472
+ @Remark = params['Remark']
473
+ @SourceType = params['SourceType']
474
+ end
475
+ end
476
+
477
+ # CreateChannelCode返回参数结构体
478
+ class CreateChannelCodeResponse < TencentCloud::Common::AbstractModel
479
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
480
+ # @type RequestId: String
481
+
482
+ attr_accessor :RequestId
483
+
484
+ def initialize(requestid=nil)
485
+ @RequestId = requestid
486
+ end
487
+
488
+ def deserialize(params)
489
+ @RequestId = params['RequestId']
490
+ end
491
+ end
492
+
493
+ # CreateCorpTag请求参数结构体
494
+ class CreateCorpTagRequest < TencentCloud::Common::AbstractModel
495
+ # @param GroupName: 标签组名称,最长为15个字符
496
+ # @type GroupName: String
497
+ # @param Tags: 标签信息数组
498
+ # @type Tags: Array
499
+ # @param Sort: 标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)
500
+ # @type Sort: Integer
501
+
502
+ attr_accessor :GroupName, :Tags, :Sort
503
+
504
+ def initialize(groupname=nil, tags=nil, sort=nil)
505
+ @GroupName = groupname
506
+ @Tags = tags
507
+ @Sort = sort
508
+ end
509
+
510
+ def deserialize(params)
511
+ @GroupName = params['GroupName']
512
+ unless params['Tags'].nil?
513
+ @Tags = []
514
+ params['Tags'].each do |i|
515
+ taginfo_tmp = TagInfo.new
516
+ taginfo_tmp.deserialize(i)
517
+ @Tags << taginfo_tmp
518
+ end
519
+ end
520
+ @Sort = params['Sort']
521
+ end
522
+ end
523
+
524
+ # CreateCorpTag返回参数结构体
525
+ class CreateCorpTagResponse < TencentCloud::Common::AbstractModel
526
+ # @param TagGroup: 标签组信息
527
+ # @type TagGroup: :class:`Tencentcloud::Wav.v20210129.models.TagGroup`
528
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
529
+ # @type RequestId: String
530
+
531
+ attr_accessor :TagGroup, :RequestId
532
+
533
+ def initialize(taggroup=nil, requestid=nil)
534
+ @TagGroup = taggroup
535
+ @RequestId = requestid
536
+ end
537
+
538
+ def deserialize(params)
539
+ unless params['TagGroup'].nil?
540
+ @TagGroup = TagGroup.new
541
+ @TagGroup.deserialize(params['TagGroup'])
542
+ end
543
+ @RequestId = params['RequestId']
544
+ end
545
+ end
546
+
547
+ # 客户信息
548
+ class ExternalContact < TencentCloud::Common::AbstractModel
549
+ # @param ExternalUserId: 外部联系人的userId
550
+ # @type ExternalUserId: String
551
+ # @param Gender: 外部联系人性别 0-未知 1-男性 2-女性
552
+ # @type Gender: Integer
553
+ # @param Name: 外部联系人的名称
554
+ # @type Name: String
555
+ # @param Type: 外部联系人的类型,1表示该外部联系人是微信用户,2表示该外部联系人是企业微信用户
556
+ # @type Type: Integer
557
+ # @param UnionId: 外部联系人在微信开放平台的唯一身份标识(微信unionid),通过此字段企业可将外部联系人与公众号/小程序用户关联起来。仅当联系人类型是微信用户,且企业或第三方服务商绑定了微信开发者ID有此字段。
558
+ # 注意:此字段可能返回 null,表示取不到有效值。
559
+ # @type UnionId: String
560
+ # @param Phone: 外部联系人联系电话
561
+ # 注意:此字段可能返回 null,表示取不到有效值。
562
+ # @type Phone: String
563
+
564
+ attr_accessor :ExternalUserId, :Gender, :Name, :Type, :UnionId, :Phone
565
+
566
+ def initialize(externaluserid=nil, gender=nil, name=nil, type=nil, unionid=nil, phone=nil)
567
+ @ExternalUserId = externaluserid
568
+ @Gender = gender
569
+ @Name = name
570
+ @Type = type
571
+ @UnionId = unionid
572
+ @Phone = phone
573
+ end
574
+
575
+ def deserialize(params)
576
+ @ExternalUserId = params['ExternalUserId']
577
+ @Gender = params['Gender']
578
+ @Name = params['Name']
579
+ @Type = params['Type']
580
+ @UnionId = params['UnionId']
581
+ @Phone = params['Phone']
582
+ end
583
+ end
584
+
585
+ # 列部联系人简短信息
586
+ class ExternalContactSimpleInfo < TencentCloud::Common::AbstractModel
587
+ # @param ExternalUserId: 外部联系人的userId
588
+ # @type ExternalUserId: String
589
+ # @param UserId: 添加了此外部联系人的企业成员userId
590
+ # @type UserId: String
591
+ # @param SalesName: 添加了此外部联系人的企业成员的姓名
592
+ # 注意:此字段可能返回 null,表示取不到有效值。
593
+ # @type SalesName: String
594
+ # @param DepartmentIdList: 添加了此外部联系人的企业成员的归属部门id列表
595
+ # @type DepartmentIdList: Array
596
+
597
+ attr_accessor :ExternalUserId, :UserId, :SalesName, :DepartmentIdList
598
+
599
+ def initialize(externaluserid=nil, userid=nil, salesname=nil, departmentidlist=nil)
600
+ @ExternalUserId = externaluserid
601
+ @UserId = userid
602
+ @SalesName = salesname
603
+ @DepartmentIdList = departmentidlist
604
+ end
605
+
606
+ def deserialize(params)
607
+ @ExternalUserId = params['ExternalUserId']
608
+ @UserId = params['UserId']
609
+ @SalesName = params['SalesName']
610
+ @DepartmentIdList = params['DepartmentIdList']
611
+ end
612
+ end
613
+
614
+ # 外部联系人标签
615
+ class ExternalContactTag < TencentCloud::Common::AbstractModel
616
+ # @param GroupName: 该成员添加此外部联系人所打标签的分组名称(标签功能需要企业微信升级到2.7.5及以上版本)
617
+ # 注意:此字段可能返回 null,表示取不到有效值。
618
+ # @type GroupName: String
619
+ # @param TagName: 该成员添加此外部联系人所打标签名称
620
+ # 注意:此字段可能返回 null,表示取不到有效值。
621
+ # @type TagName: String
622
+ # @param Type: 该成员添加此外部联系人所打标签类型, 1-企业设置, 2-用户自定义
623
+ # 注意:此字段可能返回 null,表示取不到有效值。
624
+ # @type Type: Integer
625
+ # @param TagId: 该成员添加此外部联系人所打企业标签的id,仅企业设置(type为1)的标签返回
626
+ # 注意:此字段可能返回 null,表示取不到有效值。
627
+ # @type TagId: String
628
+
629
+ attr_accessor :GroupName, :TagName, :Type, :TagId
630
+
631
+ def initialize(groupname=nil, tagname=nil, type=nil, tagid=nil)
632
+ @GroupName = groupname
633
+ @TagName = tagname
634
+ @Type = type
635
+ @TagId = tagid
636
+ end
637
+
638
+ def deserialize(params)
639
+ @GroupName = params['GroupName']
640
+ @TagName = params['TagName']
641
+ @Type = params['Type']
642
+ @TagId = params['TagId']
643
+ end
644
+ end
645
+
646
+ # 外部联系人映射信息
647
+ class ExternalUserMappingInfo < TencentCloud::Common::AbstractModel
648
+ # @param CorpExternalUserId: 企业主体对应的外部联系人userId
649
+ # @type CorpExternalUserId: String
650
+ # @param ExternalUserId: 乐销车应用主体对应的外部联系人, 当不存在好友关系时,该字段值为空
651
+ # 注意:此字段可能返回 null,表示取不到有效值。
652
+ # @type ExternalUserId: String
653
+
654
+ attr_accessor :CorpExternalUserId, :ExternalUserId
655
+
656
+ def initialize(corpexternaluserid=nil, externaluserid=nil)
657
+ @CorpExternalUserId = corpexternaluserid
658
+ @ExternalUserId = externaluserid
659
+ end
660
+
661
+ def deserialize(params)
662
+ @CorpExternalUserId = params['CorpExternalUserId']
663
+ @ExternalUserId = params['ExternalUserId']
664
+ end
665
+ end
666
+
667
+ # 添加了此外部联系人的企业成员信息
668
+ class FollowUser < TencentCloud::Common::AbstractModel
669
+ # @param UserId: 添加了此外部联系人的企业成员userid
670
+ # @type UserId: String
671
+ # @param Remark: 该成员对此外部联系人的备注
672
+ # 注意:此字段可能返回 null,表示取不到有效值。
673
+ # @type Remark: String
674
+ # @param Description: 该成员对此外部联系人的描述
675
+ # 注意:此字段可能返回 null,表示取不到有效值。
676
+ # @type Description: String
677
+ # @param CreateTime: 该成员添加此外部联系人的时间戳,单位为秒
678
+ # @type CreateTime: Integer
679
+ # @param AddWay: 该成员添加此客户的来源,具体含义详见<a href="https://work.weixin.qq.com/api/doc/90000/90135/92114#%E6%9D%A5%E6%BA%90%E5%AE%9A%E4%B9%89">来源定义</a>
680
+ # @type AddWay: Integer
681
+ # @param OperUserId: 发起添加的userid,如果成员主动添加,为成员的userid;如果是客户主动添加,则为客户的外部联系人userid;如果是内部成员共享/管理员分配,则为对应的成员/管理员userid
682
+ # @type OperUserId: String
683
+ # @param Tags: 该成员添加此外部联系人所打标签信息
684
+ # 注意:此字段可能返回 null,表示取不到有效值。
685
+ # @type Tags: Array
686
+
687
+ attr_accessor :UserId, :Remark, :Description, :CreateTime, :AddWay, :OperUserId, :Tags
688
+
689
+ def initialize(userid=nil, remark=nil, description=nil, createtime=nil, addway=nil, operuserid=nil, tags=nil)
690
+ @UserId = userid
691
+ @Remark = remark
692
+ @Description = description
693
+ @CreateTime = createtime
694
+ @AddWay = addway
695
+ @OperUserId = operuserid
696
+ @Tags = tags
697
+ end
698
+
699
+ def deserialize(params)
700
+ @UserId = params['UserId']
701
+ @Remark = params['Remark']
702
+ @Description = params['Description']
703
+ @CreateTime = params['CreateTime']
704
+ @AddWay = params['AddWay']
705
+ @OperUserId = params['OperUserId']
706
+ unless params['Tags'].nil?
707
+ @Tags = []
708
+ params['Tags'].each do |i|
709
+ externalcontacttag_tmp = ExternalContactTag.new
710
+ externalcontacttag_tmp.deserialize(i)
711
+ @Tags << externalcontacttag_tmp
712
+ end
713
+ end
714
+ end
715
+ end
716
+
717
+ # license相关信息
718
+ class LicenseInfo < TencentCloud::Common::AbstractModel
719
+ # @param License: license编号
720
+ # @type License: String
721
+ # @param LicenseEdition: license版本;1-基础版,2-标准版,3-增值版
722
+ # @type LicenseEdition: Integer
723
+ # @param ResourceStartTime: 生效开始时间, 格式yyyy-MM-dd HH:mm:ss
724
+ # @type ResourceStartTime: String
725
+ # @param ResourceEndTime: 生效结束时间, 格式yyyy-MM-dd HH:mm:ss
726
+ # @type ResourceEndTime: String
727
+ # @param IsolationDeadline: 隔离截止时间, 格式yyyy-MM-dd HH:mm:ss
728
+ # 注意:此字段可能返回 null,表示取不到有效值。
729
+ # @type IsolationDeadline: String
730
+ # @param DestroyTime: 资源计划销毁时间, 格式yyyy-MM-dd HH:mm:ss
731
+ # 注意:此字段可能返回 null,表示取不到有效值。
732
+ # @type DestroyTime: String
733
+ # @param Status: 资源状态,1.正常,2.隔离,3.销毁
734
+ # @type Status: Integer
735
+ # @param Extra: 扩展信息
736
+ # 注意:此字段可能返回 null,表示取不到有效值。
737
+ # @type Extra: String
738
+
739
+ attr_accessor :License, :LicenseEdition, :ResourceStartTime, :ResourceEndTime, :IsolationDeadline, :DestroyTime, :Status, :Extra
740
+
741
+ def initialize(license=nil, licenseedition=nil, resourcestarttime=nil, resourceendtime=nil, isolationdeadline=nil, destroytime=nil, status=nil, extra=nil)
742
+ @License = license
743
+ @LicenseEdition = licenseedition
744
+ @ResourceStartTime = resourcestarttime
745
+ @ResourceEndTime = resourceendtime
746
+ @IsolationDeadline = isolationdeadline
747
+ @DestroyTime = destroytime
748
+ @Status = status
749
+ @Extra = extra
750
+ end
751
+
752
+ def deserialize(params)
753
+ @License = params['License']
754
+ @LicenseEdition = params['LicenseEdition']
755
+ @ResourceStartTime = params['ResourceStartTime']
756
+ @ResourceEndTime = params['ResourceEndTime']
757
+ @IsolationDeadline = params['IsolationDeadline']
758
+ @DestroyTime = params['DestroyTime']
759
+ @Status = params['Status']
760
+ @Extra = params['Extra']
761
+ end
762
+ end
763
+
764
+ # 活动活码详情
765
+ class LiveCodeDetail < TencentCloud::Common::AbstractModel
766
+ # @param LiveCodeId: 活码id
767
+ # @type LiveCodeId: Integer
768
+ # @param LiveCodeName: 活码名称
769
+ # @type LiveCodeName: String
770
+ # @param ShortChainAddress: 短链url
771
+ # 注意:此字段可能返回 null,表示取不到有效值。
772
+ # @type ShortChainAddress: String
773
+ # @param LiveCodePreview: 活码二维码
774
+ # 注意:此字段可能返回 null,表示取不到有效值。
775
+ # @type LiveCodePreview: String
776
+ # @param ActivityId: 活动id
777
+ # @type ActivityId: Integer
778
+ # @param ActivityName: 活动名称
779
+ # @type ActivityName: String
780
+ # @param LiveCodeState: 活码状态,-1:删除,0:启用,1禁用,默认为0
781
+ # @type LiveCodeState: Integer
782
+ # @param LiveCodeData: 活码参数,每个活码参数都是不一样的, 这个的值对应的是字符串json类型
783
+ # 注意:此字段可能返回 null,表示取不到有效值。
784
+ # @type LiveCodeData: String
785
+ # @param CreateTime: 创建时间戳,单位为秒
786
+ # @type CreateTime: Integer
787
+ # @param UpdateTime: 更新时间戳,单位为秒
788
+ # @type UpdateTime: Integer
789
+
790
+ attr_accessor :LiveCodeId, :LiveCodeName, :ShortChainAddress, :LiveCodePreview, :ActivityId, :ActivityName, :LiveCodeState, :LiveCodeData, :CreateTime, :UpdateTime
791
+
792
+ def initialize(livecodeid=nil, livecodename=nil, shortchainaddress=nil, livecodepreview=nil, activityid=nil, activityname=nil, livecodestate=nil, livecodedata=nil, createtime=nil, updatetime=nil)
793
+ @LiveCodeId = livecodeid
794
+ @LiveCodeName = livecodename
795
+ @ShortChainAddress = shortchainaddress
796
+ @LiveCodePreview = livecodepreview
797
+ @ActivityId = activityid
798
+ @ActivityName = activityname
799
+ @LiveCodeState = livecodestate
800
+ @LiveCodeData = livecodedata
801
+ @CreateTime = createtime
802
+ @UpdateTime = updatetime
803
+ end
804
+
805
+ def deserialize(params)
806
+ @LiveCodeId = params['LiveCodeId']
807
+ @LiveCodeName = params['LiveCodeName']
808
+ @ShortChainAddress = params['ShortChainAddress']
809
+ @LiveCodePreview = params['LiveCodePreview']
810
+ @ActivityId = params['ActivityId']
811
+ @ActivityName = params['ActivityName']
812
+ @LiveCodeState = params['LiveCodeState']
813
+ @LiveCodeData = params['LiveCodeData']
814
+ @CreateTime = params['CreateTime']
815
+ @UpdateTime = params['UpdateTime']
816
+ end
817
+ end
818
+
819
+ # 小程序码信息
820
+ class MiniAppCodeInfo < TencentCloud::Common::AbstractModel
821
+ # @param Id: 主键id
822
+ # @type Id: Integer
823
+ # @param MiniAppName: 小程序名称
824
+ # @type MiniAppName: String
825
+ # @param MiniAppLogo: 小程序logo
826
+ # @type MiniAppLogo: String
827
+ # @param MiniAdminUrl: 小程序管理端地址
828
+ # @type MiniAdminUrl: String
829
+ # @param State: 状态:0正常,1删除
830
+ # @type State: Integer
831
+ # @param CreateTime: 创建时间戳,单位为秒
832
+ # @type CreateTime: Integer
833
+ # @param UpdateTime: 更新时间戳,单位为秒
834
+ # @type UpdateTime: Integer
835
+
836
+ attr_accessor :Id, :MiniAppName, :MiniAppLogo, :MiniAdminUrl, :State, :CreateTime, :UpdateTime
837
+
838
+ def initialize(id=nil, miniappname=nil, miniapplogo=nil, miniadminurl=nil, state=nil, createtime=nil, updatetime=nil)
839
+ @Id = id
840
+ @MiniAppName = miniappname
841
+ @MiniAppLogo = miniapplogo
842
+ @MiniAdminUrl = miniadminurl
843
+ @State = state
844
+ @CreateTime = createtime
845
+ @UpdateTime = updatetime
846
+ end
847
+
848
+ def deserialize(params)
849
+ @Id = params['Id']
850
+ @MiniAppName = params['MiniAppName']
851
+ @MiniAppLogo = params['MiniAppLogo']
852
+ @MiniAdminUrl = params['MiniAdminUrl']
853
+ @State = params['State']
854
+ @CreateTime = params['CreateTime']
855
+ @UpdateTime = params['UpdateTime']
856
+ end
857
+ end
858
+
859
+ # QueryActivityJoinList请求参数结构体
860
+ class QueryActivityJoinListRequest < TencentCloud::Common::AbstractModel
861
+ # @param ActivityId: 活动id
862
+ # @type ActivityId: Integer
863
+ # @param Cursor: 分页游标,对应结果返回的NextCursor,首次请求保持为空
864
+ # @type Cursor: String
865
+ # @param Limit: 单页数据限制
866
+ # @type Limit: Integer
867
+
868
+ attr_accessor :ActivityId, :Cursor, :Limit
869
+
870
+ def initialize(activityid=nil, cursor=nil, limit=nil)
871
+ @ActivityId = activityid
872
+ @Cursor = cursor
873
+ @Limit = limit
874
+ end
875
+
876
+ def deserialize(params)
877
+ @ActivityId = params['ActivityId']
878
+ @Cursor = params['Cursor']
879
+ @Limit = params['Limit']
880
+ end
881
+ end
882
+
883
+ # QueryActivityJoinList返回参数结构体
884
+ class QueryActivityJoinListResponse < TencentCloud::Common::AbstractModel
885
+ # @param NextCursor: 分页游标
886
+ # 注意:此字段可能返回 null,表示取不到有效值。
887
+ # @type NextCursor: String
888
+ # @param PageData: 活码列表响应参数
889
+ # 注意:此字段可能返回 null,表示取不到有效值。
890
+ # @type PageData: Array
891
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
892
+ # @type RequestId: String
893
+
894
+ attr_accessor :NextCursor, :PageData, :RequestId
895
+
896
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
897
+ @NextCursor = nextcursor
898
+ @PageData = pagedata
899
+ @RequestId = requestid
900
+ end
901
+
902
+ def deserialize(params)
903
+ @NextCursor = params['NextCursor']
904
+ unless params['PageData'].nil?
905
+ @PageData = []
906
+ params['PageData'].each do |i|
907
+ activityjoindetail_tmp = ActivityJoinDetail.new
908
+ activityjoindetail_tmp.deserialize(i)
909
+ @PageData << activityjoindetail_tmp
910
+ end
911
+ end
912
+ @RequestId = params['RequestId']
913
+ end
914
+ end
915
+
916
+ # QueryActivityList请求参数结构体
917
+ class QueryActivityListRequest < TencentCloud::Common::AbstractModel
918
+ # @param Cursor: 分页游标,对应结果返回的NextCursor,首次请求保持为空
919
+ # @type Cursor: String
920
+ # @param Limit: 单页数据限制
921
+ # @type Limit: Integer
922
+
923
+ attr_accessor :Cursor, :Limit
924
+
925
+ def initialize(cursor=nil, limit=nil)
926
+ @Cursor = cursor
927
+ @Limit = limit
928
+ end
929
+
930
+ def deserialize(params)
931
+ @Cursor = params['Cursor']
932
+ @Limit = params['Limit']
933
+ end
934
+ end
935
+
936
+ # QueryActivityList返回参数结构体
937
+ class QueryActivityListResponse < TencentCloud::Common::AbstractModel
938
+ # @param NextCursor: 分页游标
939
+ # 注意:此字段可能返回 null,表示取不到有效值。
940
+ # @type NextCursor: String
941
+ # @param PageData: 活码列表响应参数
942
+ # 注意:此字段可能返回 null,表示取不到有效值。
943
+ # @type PageData: Array
944
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
945
+ # @type RequestId: String
946
+
947
+ attr_accessor :NextCursor, :PageData, :RequestId
948
+
949
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
950
+ @NextCursor = nextcursor
951
+ @PageData = pagedata
952
+ @RequestId = requestid
953
+ end
954
+
955
+ def deserialize(params)
956
+ @NextCursor = params['NextCursor']
957
+ unless params['PageData'].nil?
958
+ @PageData = []
959
+ params['PageData'].each do |i|
960
+ activitydetail_tmp = ActivityDetail.new
961
+ activitydetail_tmp.deserialize(i)
962
+ @PageData << activitydetail_tmp
963
+ end
964
+ end
965
+ @RequestId = params['RequestId']
966
+ end
967
+ end
968
+
969
+ # QueryActivityLiveCodeList请求参数结构体
970
+ class QueryActivityLiveCodeListRequest < TencentCloud::Common::AbstractModel
971
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
972
+ # @type Cursor: String
973
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
974
+ # @type Limit: Integer
975
+
976
+ attr_accessor :Cursor, :Limit
977
+
978
+ def initialize(cursor=nil, limit=nil)
979
+ @Cursor = cursor
980
+ @Limit = limit
981
+ end
982
+
983
+ def deserialize(params)
984
+ @Cursor = params['Cursor']
985
+ @Limit = params['Limit']
986
+ end
987
+ end
988
+
989
+ # QueryActivityLiveCodeList返回参数结构体
990
+ class QueryActivityLiveCodeListResponse < TencentCloud::Common::AbstractModel
991
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
992
+ # 注意:此字段可能返回 null,表示取不到有效值。
993
+ # @type NextCursor: String
994
+ # @param PageData: 活码列表响应参数
995
+ # 注意:此字段可能返回 null,表示取不到有效值。
996
+ # @type PageData: Array
997
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
998
+ # @type RequestId: String
999
+
1000
+ attr_accessor :NextCursor, :PageData, :RequestId
1001
+
1002
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1003
+ @NextCursor = nextcursor
1004
+ @PageData = pagedata
1005
+ @RequestId = requestid
1006
+ end
1007
+
1008
+ def deserialize(params)
1009
+ @NextCursor = params['NextCursor']
1010
+ unless params['PageData'].nil?
1011
+ @PageData = []
1012
+ params['PageData'].each do |i|
1013
+ livecodedetail_tmp = LiveCodeDetail.new
1014
+ livecodedetail_tmp.deserialize(i)
1015
+ @PageData << livecodedetail_tmp
1016
+ end
1017
+ end
1018
+ @RequestId = params['RequestId']
1019
+ end
1020
+ end
1021
+
1022
+ # QueryChannelCodeList请求参数结构体
1023
+ class QueryChannelCodeListRequest < TencentCloud::Common::AbstractModel
1024
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1025
+ # @type Cursor: String
1026
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1027
+ # @type Limit: Integer
1028
+
1029
+ attr_accessor :Cursor, :Limit
1030
+
1031
+ def initialize(cursor=nil, limit=nil)
1032
+ @Cursor = cursor
1033
+ @Limit = limit
1034
+ end
1035
+
1036
+ def deserialize(params)
1037
+ @Cursor = params['Cursor']
1038
+ @Limit = params['Limit']
1039
+ end
1040
+ end
1041
+
1042
+ # QueryChannelCodeList返回参数结构体
1043
+ class QueryChannelCodeListResponse < TencentCloud::Common::AbstractModel
1044
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1045
+ # 注意:此字段可能返回 null,表示取不到有效值。
1046
+ # @type NextCursor: String
1047
+ # @param PageData: 活码列表响应参数
1048
+ # 注意:此字段可能返回 null,表示取不到有效值。
1049
+ # @type PageData: Array
1050
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1051
+ # @type RequestId: String
1052
+
1053
+ attr_accessor :NextCursor, :PageData, :RequestId
1054
+
1055
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1056
+ @NextCursor = nextcursor
1057
+ @PageData = pagedata
1058
+ @RequestId = requestid
1059
+ end
1060
+
1061
+ def deserialize(params)
1062
+ @NextCursor = params['NextCursor']
1063
+ unless params['PageData'].nil?
1064
+ @PageData = []
1065
+ params['PageData'].each do |i|
1066
+ channelcodeinnerdetail_tmp = ChannelCodeInnerDetail.new
1067
+ channelcodeinnerdetail_tmp.deserialize(i)
1068
+ @PageData << channelcodeinnerdetail_tmp
1069
+ end
1070
+ end
1071
+ @RequestId = params['RequestId']
1072
+ end
1073
+ end
1074
+
1075
+ # QueryChatArchivingList请求参数结构体
1076
+ class QueryChatArchivingListRequest < TencentCloud::Common::AbstractModel
1077
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1078
+ # @type Cursor: String
1079
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1080
+ # @type Limit: Integer
1081
+
1082
+ attr_accessor :Cursor, :Limit
1083
+
1084
+ def initialize(cursor=nil, limit=nil)
1085
+ @Cursor = cursor
1086
+ @Limit = limit
1087
+ end
1088
+
1089
+ def deserialize(params)
1090
+ @Cursor = params['Cursor']
1091
+ @Limit = params['Limit']
1092
+ end
1093
+ end
1094
+
1095
+ # QueryChatArchivingList返回参数结构体
1096
+ class QueryChatArchivingListResponse < TencentCloud::Common::AbstractModel
1097
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1098
+ # 注意:此字段可能返回 null,表示取不到有效值。
1099
+ # @type NextCursor: String
1100
+ # @param PageData: 会话存档列表响应参数
1101
+ # 注意:此字段可能返回 null,表示取不到有效值。
1102
+ # @type PageData: Array
1103
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1104
+ # @type RequestId: String
1105
+
1106
+ attr_accessor :NextCursor, :PageData, :RequestId
1107
+
1108
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1109
+ @NextCursor = nextcursor
1110
+ @PageData = pagedata
1111
+ @RequestId = requestid
1112
+ end
1113
+
1114
+ def deserialize(params)
1115
+ @NextCursor = params['NextCursor']
1116
+ unless params['PageData'].nil?
1117
+ @PageData = []
1118
+ params['PageData'].each do |i|
1119
+ chatarchivingdetail_tmp = ChatArchivingDetail.new
1120
+ chatarchivingdetail_tmp.deserialize(i)
1121
+ @PageData << chatarchivingdetail_tmp
1122
+ end
1123
+ end
1124
+ @RequestId = params['RequestId']
1125
+ end
1126
+ end
1127
+
1128
+ # QueryClueInfoList请求参数结构体
1129
+ class QueryClueInfoListRequest < TencentCloud::Common::AbstractModel
1130
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1131
+ # @type Cursor: String
1132
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1133
+ # @type Limit: Integer
1134
+
1135
+ attr_accessor :Cursor, :Limit
1136
+
1137
+ def initialize(cursor=nil, limit=nil)
1138
+ @Cursor = cursor
1139
+ @Limit = limit
1140
+ end
1141
+
1142
+ def deserialize(params)
1143
+ @Cursor = params['Cursor']
1144
+ @Limit = params['Limit']
1145
+ end
1146
+ end
1147
+
1148
+ # QueryClueInfoList返回参数结构体
1149
+ class QueryClueInfoListResponse < TencentCloud::Common::AbstractModel
1150
+ # @param PageData: 线索信息列表
1151
+ # 注意:此字段可能返回 null,表示取不到有效值。
1152
+ # @type PageData: Array
1153
+ # @param NextCursor: 分页游标,下次调用带上该值,则从当前的位置继续往后拉,以实现增量拉取。
1154
+ # 注意:此字段可能返回 null,表示取不到有效值。
1155
+ # @type NextCursor: String
1156
+ # @param HasMore: 是否还有更多数据。0-否;1-是。
1157
+ # 注意:此字段可能返回 null,表示取不到有效值。
1158
+ # @type HasMore: Integer
1159
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1160
+ # @type RequestId: String
1161
+
1162
+ attr_accessor :PageData, :NextCursor, :HasMore, :RequestId
1163
+
1164
+ def initialize(pagedata=nil, nextcursor=nil, hasmore=nil, requestid=nil)
1165
+ @PageData = pagedata
1166
+ @NextCursor = nextcursor
1167
+ @HasMore = hasmore
1168
+ @RequestId = requestid
1169
+ end
1170
+
1171
+ def deserialize(params)
1172
+ unless params['PageData'].nil?
1173
+ @PageData = []
1174
+ params['PageData'].each do |i|
1175
+ clueinfodetail_tmp = ClueInfoDetail.new
1176
+ clueinfodetail_tmp.deserialize(i)
1177
+ @PageData << clueinfodetail_tmp
1178
+ end
1179
+ end
1180
+ @NextCursor = params['NextCursor']
1181
+ @HasMore = params['HasMore']
1182
+ @RequestId = params['RequestId']
1183
+ end
1184
+ end
1185
+
1186
+ # QueryExternalContactDetail请求参数结构体
1187
+ class QueryExternalContactDetailRequest < TencentCloud::Common::AbstractModel
1188
+ # @param ExternalUserId: 外部联系人的userid,注意不是企业成员的帐号
1189
+ # @type ExternalUserId: String
1190
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填。当客户在企业内的跟进人超过500人时需要使用cursor参数进行分页获取
1191
+ # @type Cursor: String
1192
+ # @param Limit: 当前接口Limit不需要传参, 保留Limit只是为了保持向后兼容性, Limit默认值为500,当返回结果超过500时, NextCursor才有返回值
1193
+ # @type Limit: Integer
1194
+
1195
+ attr_accessor :ExternalUserId, :Cursor, :Limit
1196
+
1197
+ def initialize(externaluserid=nil, cursor=nil, limit=nil)
1198
+ @ExternalUserId = externaluserid
1199
+ @Cursor = cursor
1200
+ @Limit = limit
1201
+ end
1202
+
1203
+ def deserialize(params)
1204
+ @ExternalUserId = params['ExternalUserId']
1205
+ @Cursor = params['Cursor']
1206
+ @Limit = params['Limit']
1207
+ end
1208
+ end
1209
+
1210
+ # QueryExternalContactDetail返回参数结构体
1211
+ class QueryExternalContactDetailResponse < TencentCloud::Common::AbstractModel
1212
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1213
+ # 注意:此字段可能返回 null,表示取不到有效值。
1214
+ # @type NextCursor: String
1215
+ # @param Customer: 客户信息
1216
+ # 注意:此字段可能返回 null,表示取不到有效值。
1217
+ # @type Customer: :class:`Tencentcloud::Wav.v20210129.models.ExternalContact`
1218
+ # @param FollowUser: 添加了此外部联系人的企业成员信息
1219
+ # 注意:此字段可能返回 null,表示取不到有效值。
1220
+ # @type FollowUser: Array
1221
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1222
+ # @type RequestId: String
1223
+
1224
+ attr_accessor :NextCursor, :Customer, :FollowUser, :RequestId
1225
+
1226
+ def initialize(nextcursor=nil, customer=nil, followuser=nil, requestid=nil)
1227
+ @NextCursor = nextcursor
1228
+ @Customer = customer
1229
+ @FollowUser = followuser
1230
+ @RequestId = requestid
1231
+ end
1232
+
1233
+ def deserialize(params)
1234
+ @NextCursor = params['NextCursor']
1235
+ unless params['Customer'].nil?
1236
+ @Customer = ExternalContact.new
1237
+ @Customer.deserialize(params['Customer'])
1238
+ end
1239
+ unless params['FollowUser'].nil?
1240
+ @FollowUser = []
1241
+ params['FollowUser'].each do |i|
1242
+ followuser_tmp = FollowUser.new
1243
+ followuser_tmp.deserialize(i)
1244
+ @FollowUser << followuser_tmp
1245
+ end
1246
+ end
1247
+ @RequestId = params['RequestId']
1248
+ end
1249
+ end
1250
+
1251
+ # QueryExternalContactList请求参数结构体
1252
+ class QueryExternalContactListRequest < TencentCloud::Common::AbstractModel
1253
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1254
+ # @type Cursor: String
1255
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1256
+ # @type Limit: Integer
1257
+
1258
+ attr_accessor :Cursor, :Limit
1259
+
1260
+ def initialize(cursor=nil, limit=nil)
1261
+ @Cursor = cursor
1262
+ @Limit = limit
1263
+ end
1264
+
1265
+ def deserialize(params)
1266
+ @Cursor = params['Cursor']
1267
+ @Limit = params['Limit']
1268
+ end
1269
+ end
1270
+
1271
+ # QueryExternalContactList返回参数结构体
1272
+ class QueryExternalContactListResponse < TencentCloud::Common::AbstractModel
1273
+ # @param PageData: 外部联系人信息列表
1274
+ # 注意:此字段可能返回 null,表示取不到有效值。
1275
+ # @type PageData: Array
1276
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1277
+ # 注意:此字段可能返回 null,表示取不到有效值。
1278
+ # @type NextCursor: String
1279
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1280
+ # @type RequestId: String
1281
+
1282
+ attr_accessor :PageData, :NextCursor, :RequestId
1283
+
1284
+ def initialize(pagedata=nil, nextcursor=nil, requestid=nil)
1285
+ @PageData = pagedata
1286
+ @NextCursor = nextcursor
1287
+ @RequestId = requestid
1288
+ end
1289
+
1290
+ def deserialize(params)
1291
+ unless params['PageData'].nil?
1292
+ @PageData = []
1293
+ params['PageData'].each do |i|
1294
+ externalcontactsimpleinfo_tmp = ExternalContactSimpleInfo.new
1295
+ externalcontactsimpleinfo_tmp.deserialize(i)
1296
+ @PageData << externalcontactsimpleinfo_tmp
1297
+ end
1298
+ end
1299
+ @NextCursor = params['NextCursor']
1300
+ @RequestId = params['RequestId']
1301
+ end
1302
+ end
1303
+
1304
+ # QueryExternalUserMappingInfo请求参数结构体
1305
+ class QueryExternalUserMappingInfoRequest < TencentCloud::Common::AbstractModel
1306
+ # @param CorpExternalUserIdList: 企业主体对应的外部联系人id列表,列表长度限制最大为50。
1307
+ # @type CorpExternalUserIdList: Array
1308
+
1309
+ attr_accessor :CorpExternalUserIdList
1310
+
1311
+ def initialize(corpexternaluseridlist=nil)
1312
+ @CorpExternalUserIdList = corpexternaluseridlist
1313
+ end
1314
+
1315
+ def deserialize(params)
1316
+ @CorpExternalUserIdList = params['CorpExternalUserIdList']
1317
+ end
1318
+ end
1319
+
1320
+ # QueryExternalUserMappingInfo返回参数结构体
1321
+ class QueryExternalUserMappingInfoResponse < TencentCloud::Common::AbstractModel
1322
+ # @param ExternalUserIdMapping: 外部联系人映射信息, 只返回映射成功的记录
1323
+ # 注意:此字段可能返回 null,表示取不到有效值。
1324
+ # @type ExternalUserIdMapping: Array
1325
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1326
+ # @type RequestId: String
1327
+
1328
+ attr_accessor :ExternalUserIdMapping, :RequestId
1329
+
1330
+ def initialize(externaluseridmapping=nil, requestid=nil)
1331
+ @ExternalUserIdMapping = externaluseridmapping
1332
+ @RequestId = requestid
1333
+ end
1334
+
1335
+ def deserialize(params)
1336
+ unless params['ExternalUserIdMapping'].nil?
1337
+ @ExternalUserIdMapping = []
1338
+ params['ExternalUserIdMapping'].each do |i|
1339
+ externalusermappinginfo_tmp = ExternalUserMappingInfo.new
1340
+ externalusermappinginfo_tmp.deserialize(i)
1341
+ @ExternalUserIdMapping << externalusermappinginfo_tmp
1342
+ end
1343
+ end
1344
+ @RequestId = params['RequestId']
1345
+ end
1346
+ end
1347
+
1348
+ # QueryLicenseInfo请求参数结构体
1349
+ class QueryLicenseInfoRequest < TencentCloud::Common::AbstractModel
1350
+ # @param License: license编号
1351
+ # @type License: String
1352
+
1353
+ attr_accessor :License
1354
+
1355
+ def initialize(license=nil)
1356
+ @License = license
1357
+ end
1358
+
1359
+ def deserialize(params)
1360
+ @License = params['License']
1361
+ end
1362
+ end
1363
+
1364
+ # QueryLicenseInfo返回参数结构体
1365
+ class QueryLicenseInfoResponse < TencentCloud::Common::AbstractModel
1366
+ # @param LicenseInfo: license响应信息
1367
+ # 注意:此字段可能返回 null,表示取不到有效值。
1368
+ # @type LicenseInfo: :class:`Tencentcloud::Wav.v20210129.models.LicenseInfo`
1369
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1370
+ # @type RequestId: String
1371
+
1372
+ attr_accessor :LicenseInfo, :RequestId
1373
+
1374
+ def initialize(licenseinfo=nil, requestid=nil)
1375
+ @LicenseInfo = licenseinfo
1376
+ @RequestId = requestid
1377
+ end
1378
+
1379
+ def deserialize(params)
1380
+ unless params['LicenseInfo'].nil?
1381
+ @LicenseInfo = LicenseInfo.new
1382
+ @LicenseInfo.deserialize(params['LicenseInfo'])
1383
+ end
1384
+ @RequestId = params['RequestId']
1385
+ end
1386
+ end
1387
+
1388
+ # QueryMiniAppCodeList请求参数结构体
1389
+ class QueryMiniAppCodeListRequest < TencentCloud::Common::AbstractModel
1390
+ # @param Cursor: 用于分页查询的游标,字符串类型,由上一次调用返回,首次调用可不填
1391
+ # @type Cursor: String
1392
+ # @param Limit: 返回的最大记录数,整型,最大值100,默认值50,超过最大值时取最大值
1393
+ # @type Limit: Integer
1394
+
1395
+ attr_accessor :Cursor, :Limit
1396
+
1397
+ def initialize(cursor=nil, limit=nil)
1398
+ @Cursor = cursor
1399
+ @Limit = limit
1400
+ end
1401
+
1402
+ def deserialize(params)
1403
+ @Cursor = params['Cursor']
1404
+ @Limit = params['Limit']
1405
+ end
1406
+ end
1407
+
1408
+ # QueryMiniAppCodeList返回参数结构体
1409
+ class QueryMiniAppCodeListResponse < TencentCloud::Common::AbstractModel
1410
+ # @param NextCursor: 分页游标,再下次请求时填写以获取之后分页的记录,如果已经没有更多的数据则返回空
1411
+ # 注意:此字段可能返回 null,表示取不到有效值。
1412
+ # @type NextCursor: String
1413
+ # @param PageData: 小程序码列表响应数据
1414
+ # 注意:此字段可能返回 null,表示取不到有效值。
1415
+ # @type PageData: Array
1416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1417
+ # @type RequestId: String
1418
+
1419
+ attr_accessor :NextCursor, :PageData, :RequestId
1420
+
1421
+ def initialize(nextcursor=nil, pagedata=nil, requestid=nil)
1422
+ @NextCursor = nextcursor
1423
+ @PageData = pagedata
1424
+ @RequestId = requestid
1425
+ end
1426
+
1427
+ def deserialize(params)
1428
+ @NextCursor = params['NextCursor']
1429
+ unless params['PageData'].nil?
1430
+ @PageData = []
1431
+ params['PageData'].each do |i|
1432
+ miniappcodeinfo_tmp = MiniAppCodeInfo.new
1433
+ miniappcodeinfo_tmp.deserialize(i)
1434
+ @PageData << miniappcodeinfo_tmp
1435
+ end
1436
+ end
1437
+ @RequestId = params['RequestId']
1438
+ end
1439
+ end
1440
+
1441
+ # 标签详细信息
1442
+ class TagDetailInfo < TencentCloud::Common::AbstractModel
1443
+ # @param TagName: 标签名称
1444
+ # @type TagName: String
1445
+ # @param BizTagId: 标签业务ID
1446
+ # @type BizTagId: String
1447
+ # @param TagId: 企微标签ID
1448
+ # @type TagId: String
1449
+ # @param Sort: 标签排序的次序值,sort值大的排序靠前。有效的值范围是[0, 2^32)
1450
+ # @type Sort: Integer
1451
+ # @param CreateTime: 标签创建时间,单位为秒
1452
+ # @type CreateTime: Integer
1453
+
1454
+ attr_accessor :TagName, :BizTagId, :TagId, :Sort, :CreateTime
1455
+
1456
+ def initialize(tagname=nil, biztagid=nil, tagid=nil, sort=nil, createtime=nil)
1457
+ @TagName = tagname
1458
+ @BizTagId = biztagid
1459
+ @TagId = tagid
1460
+ @Sort = sort
1461
+ @CreateTime = createtime
1462
+ end
1463
+
1464
+ def deserialize(params)
1465
+ @TagName = params['TagName']
1466
+ @BizTagId = params['BizTagId']
1467
+ @TagId = params['TagId']
1468
+ @Sort = params['Sort']
1469
+ @CreateTime = params['CreateTime']
1470
+ end
1471
+ end
1472
+
1473
+ # 标签组信息
1474
+ class TagGroup < TencentCloud::Common::AbstractModel
1475
+ # @param GroupId: 企微标签组id
1476
+ # @type GroupId: String
1477
+ # @param BizGroupId: 标签组业务id
1478
+ # @type BizGroupId: String
1479
+ # @param GroupName: 企微标签组名称,不能超过15个字符
1480
+ # @type GroupName: String
1481
+ # @param Sort: 标签组次序值。sort值大的排序靠前。有效的值范围是[0, 2^32)
1482
+ # @type Sort: Integer
1483
+ # @param CreateTime: 标签组创建时间,单位为秒
1484
+ # @type CreateTime: Integer
1485
+ # @param Tags: 标签组内的标签列表, 上限为20
1486
+ # @type Tags: Array
1487
+
1488
+ attr_accessor :GroupId, :BizGroupId, :GroupName, :Sort, :CreateTime, :Tags
1489
+
1490
+ def initialize(groupid=nil, bizgroupid=nil, groupname=nil, sort=nil, createtime=nil, tags=nil)
1491
+ @GroupId = groupid
1492
+ @BizGroupId = bizgroupid
1493
+ @GroupName = groupname
1494
+ @Sort = sort
1495
+ @CreateTime = createtime
1496
+ @Tags = tags
1497
+ end
1498
+
1499
+ def deserialize(params)
1500
+ @GroupId = params['GroupId']
1501
+ @BizGroupId = params['BizGroupId']
1502
+ @GroupName = params['GroupName']
1503
+ @Sort = params['Sort']
1504
+ @CreateTime = params['CreateTime']
1505
+ unless params['Tags'].nil?
1506
+ @Tags = []
1507
+ params['Tags'].each do |i|
1508
+ tagdetailinfo_tmp = TagDetailInfo.new
1509
+ tagdetailinfo_tmp.deserialize(i)
1510
+ @Tags << tagdetailinfo_tmp
1511
+ end
1512
+ end
1513
+ end
1514
+ end
1515
+
1516
+ # 标签信息
1517
+ class TagInfo < TencentCloud::Common::AbstractModel
1518
+ # @param TagName: 标签名称, 最大长度限制15个字符
1519
+ # @type TagName: String
1520
+ # @param Sort: 标签组排序,值越大,排序越靠前
1521
+ # @type Sort: Integer
1522
+
1523
+ attr_accessor :TagName, :Sort
1524
+
1525
+ def initialize(tagname=nil, sort=nil)
1526
+ @TagName = tagname
1527
+ @Sort = sort
1528
+ end
1529
+
1530
+ def deserialize(params)
1531
+ @TagName = params['TagName']
1532
+ @Sort = params['Sort']
1533
+ end
1534
+ end
1535
+
1536
+ # 企微个人标签信息,渠道活码使用
1537
+ class WeComTagDetail < TencentCloud::Common::AbstractModel
1538
+ # @param GroupName: 标签分组名称
1539
+ # 注意:此字段可能返回 null,表示取不到有效值。
1540
+ # @type GroupName: String
1541
+ # @param BizGroupId: 标签分组业务ID
1542
+ # 注意:此字段可能返回 null,表示取不到有效值。
1543
+ # @type BizGroupId: String
1544
+ # @param TagName: 标签名称
1545
+ # 注意:此字段可能返回 null,表示取不到有效值。
1546
+ # @type TagName: String
1547
+ # @param TagId: 标签ID
1548
+ # 注意:此字段可能返回 null,表示取不到有效值。
1549
+ # @type TagId: String
1550
+ # @param BizTagId: 标签业务ID
1551
+ # 注意:此字段可能返回 null,表示取不到有效值。
1552
+ # @type BizTagId: String
1553
+ # @param Type: 标签分类,1:企业设置、2:用户自定义
1554
+ # 注意:此字段可能返回 null,表示取不到有效值。
1555
+ # @type Type: Integer
1556
+ # @param BizTagIdStr: 标签业务ID字符串格式
1557
+ # 注意:此字段可能返回 null,表示取不到有效值。
1558
+ # @type BizTagIdStr: String
1559
+
1560
+ attr_accessor :GroupName, :BizGroupId, :TagName, :TagId, :BizTagId, :Type, :BizTagIdStr
1561
+
1562
+ def initialize(groupname=nil, bizgroupid=nil, tagname=nil, tagid=nil, biztagid=nil, type=nil, biztagidstr=nil)
1563
+ @GroupName = groupname
1564
+ @BizGroupId = bizgroupid
1565
+ @TagName = tagname
1566
+ @TagId = tagid
1567
+ @BizTagId = biztagid
1568
+ @Type = type
1569
+ @BizTagIdStr = biztagidstr
1570
+ end
1571
+
1572
+ def deserialize(params)
1573
+ @GroupName = params['GroupName']
1574
+ @BizGroupId = params['BizGroupId']
1575
+ @TagName = params['TagName']
1576
+ @TagId = params['TagId']
1577
+ @BizTagId = params['BizTagId']
1578
+ @Type = params['Type']
1579
+ @BizTagIdStr = params['BizTagIdStr']
1580
+ end
1581
+ end
1582
+
1583
+ end
1584
+ end
1585
+ end
1586
+