tencentcloud-sdk-solar 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1422 @@
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 Solar
19
+ module V20181011
20
+ # 活动详情
21
+ class ActivityInfo < TencentCloud::Common::AbstractModel
22
+ # @param TemplateId: 活动使用模板id
23
+ # 注意:此字段可能返回 null,表示取不到有效值。
24
+ # @type TemplateId: String
25
+ # @param ActivityTitle: 活动标题
26
+ # 注意:此字段可能返回 null,表示取不到有效值。
27
+ # @type ActivityTitle: String
28
+ # @param ActivityDesc: 活动描述
29
+ # 注意:此字段可能返回 null,表示取不到有效值。
30
+ # @type ActivityDesc: String
31
+ # @param ActivityCover: 活动封面地址
32
+ # 注意:此字段可能返回 null,表示取不到有效值。
33
+ # @type ActivityCover: String
34
+ # @param ActivityType: 活动类型
35
+ # 注意:此字段可能返回 null,表示取不到有效值。
36
+ # @type ActivityType: String
37
+ # @param ActivityId: 活动id
38
+ # 注意:此字段可能返回 null,表示取不到有效值。
39
+ # @type ActivityId: String
40
+ # @param PersonalConfig: 活动模板自定义配置
41
+ # 注意:此字段可能返回 null,表示取不到有效值。
42
+ # @type PersonalConfig: String
43
+
44
+ attr_accessor :TemplateId, :ActivityTitle, :ActivityDesc, :ActivityCover, :ActivityType, :ActivityId, :PersonalConfig
45
+
46
+ def initialize(templateid=nil, activitytitle=nil, activitydesc=nil, activitycover=nil, activitytype=nil, activityid=nil, personalconfig=nil)
47
+ @TemplateId = templateid
48
+ @ActivityTitle = activitytitle
49
+ @ActivityDesc = activitydesc
50
+ @ActivityCover = activitycover
51
+ @ActivityType = activitytype
52
+ @ActivityId = activityid
53
+ @PersonalConfig = personalconfig
54
+ end
55
+
56
+ def deserialize(params)
57
+ @TemplateId = params['TemplateId']
58
+ @ActivityTitle = params['ActivityTitle']
59
+ @ActivityDesc = params['ActivityDesc']
60
+ @ActivityCover = params['ActivityCover']
61
+ @ActivityType = params['ActivityType']
62
+ @ActivityId = params['ActivityId']
63
+ @PersonalConfig = params['PersonalConfig']
64
+ end
65
+ end
66
+
67
+ # CheckStaffChUser请求参数结构体
68
+ class CheckStaffChUserRequest < TencentCloud::Common::AbstractModel
69
+ # @param UserId: 员工ID
70
+ # @type UserId: Array
71
+ # @param OperateType: 渠道状态:checkpass审核通过, checkreject审核拒绝, enableoperate启用, stopoperate停用
72
+ # @type OperateType: String
73
+
74
+ attr_accessor :UserId, :OperateType
75
+
76
+ def initialize(userid=nil, operatetype=nil)
77
+ @UserId = userid
78
+ @OperateType = operatetype
79
+ end
80
+
81
+ def deserialize(params)
82
+ @UserId = params['UserId']
83
+ @OperateType = params['OperateType']
84
+ end
85
+ end
86
+
87
+ # CheckStaffChUser返回参数结构体
88
+ class CheckStaffChUserResponse < TencentCloud::Common::AbstractModel
89
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
90
+ # @type RequestId: String
91
+
92
+ attr_accessor :RequestId
93
+
94
+ def initialize(requestid=nil)
95
+ @RequestId = requestid
96
+ end
97
+
98
+ def deserialize(params)
99
+ @RequestId = params['RequestId']
100
+ end
101
+ end
102
+
103
+ # CopyActivityChannel请求参数结构体
104
+ class CopyActivityChannelRequest < TencentCloud::Common::AbstractModel
105
+ # @param ActivityId: 活动ID
106
+ # @type ActivityId: String
107
+ # @param ChannelFrom: 来源渠道ID
108
+ # @type ChannelFrom: String
109
+ # @param ChannelTo: 目的渠道id
110
+ # @type ChannelTo: Array
111
+
112
+ attr_accessor :ActivityId, :ChannelFrom, :ChannelTo
113
+
114
+ def initialize(activityid=nil, channelfrom=nil, channelto=nil)
115
+ @ActivityId = activityid
116
+ @ChannelFrom = channelfrom
117
+ @ChannelTo = channelto
118
+ end
119
+
120
+ def deserialize(params)
121
+ @ActivityId = params['ActivityId']
122
+ @ChannelFrom = params['ChannelFrom']
123
+ @ChannelTo = params['ChannelTo']
124
+ end
125
+ end
126
+
127
+ # CopyActivityChannel返回参数结构体
128
+ class CopyActivityChannelResponse < TencentCloud::Common::AbstractModel
129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
130
+ # @type RequestId: String
131
+
132
+ attr_accessor :RequestId
133
+
134
+ def initialize(requestid=nil)
135
+ @RequestId = requestid
136
+ end
137
+
138
+ def deserialize(params)
139
+ @RequestId = params['RequestId']
140
+ end
141
+ end
142
+
143
+ # CreateProject请求参数结构体
144
+ class CreateProjectRequest < TencentCloud::Common::AbstractModel
145
+ # @param ProjectName: 项目名称
146
+ # @type ProjectName: String
147
+ # @param ProjectOrg: 项目机构
148
+ # @type ProjectOrg: String
149
+ # @param ProjectBudget: 项目预算
150
+ # @type ProjectBudget: String
151
+ # @param ProjectIntroduction: 项目简介
152
+ # @type ProjectIntroduction: String
153
+ # @param ProjectOrgId: 所属部门ID
154
+ # @type ProjectOrgId: String
155
+
156
+ attr_accessor :ProjectName, :ProjectOrg, :ProjectBudget, :ProjectIntroduction, :ProjectOrgId
157
+
158
+ def initialize(projectname=nil, projectorg=nil, projectbudget=nil, projectintroduction=nil, projectorgid=nil)
159
+ @ProjectName = projectname
160
+ @ProjectOrg = projectorg
161
+ @ProjectBudget = projectbudget
162
+ @ProjectIntroduction = projectintroduction
163
+ @ProjectOrgId = projectorgid
164
+ end
165
+
166
+ def deserialize(params)
167
+ @ProjectName = params['ProjectName']
168
+ @ProjectOrg = params['ProjectOrg']
169
+ @ProjectBudget = params['ProjectBudget']
170
+ @ProjectIntroduction = params['ProjectIntroduction']
171
+ @ProjectOrgId = params['ProjectOrgId']
172
+ end
173
+ end
174
+
175
+ # CreateProject返回参数结构体
176
+ class CreateProjectResponse < TencentCloud::Common::AbstractModel
177
+ # @param ProjectId: 项目ID
178
+ # @type ProjectId: String
179
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
180
+ # @type RequestId: String
181
+
182
+ attr_accessor :ProjectId, :RequestId
183
+
184
+ def initialize(projectid=nil, requestid=nil)
185
+ @ProjectId = projectid
186
+ @RequestId = requestid
187
+ end
188
+
189
+ def deserialize(params)
190
+ @ProjectId = params['ProjectId']
191
+ @RequestId = params['RequestId']
192
+ end
193
+ end
194
+
195
+ # CreateSubProject请求参数结构体
196
+ class CreateSubProjectRequest < TencentCloud::Common::AbstractModel
197
+ # @param ProjectId: 所属项目id
198
+ # @type ProjectId: String
199
+ # @param SubProjectName: 子项目名称
200
+ # @type SubProjectName: String
201
+
202
+ attr_accessor :ProjectId, :SubProjectName
203
+
204
+ def initialize(projectid=nil, subprojectname=nil)
205
+ @ProjectId = projectid
206
+ @SubProjectName = subprojectname
207
+ end
208
+
209
+ def deserialize(params)
210
+ @ProjectId = params['ProjectId']
211
+ @SubProjectName = params['SubProjectName']
212
+ end
213
+ end
214
+
215
+ # CreateSubProject返回参数结构体
216
+ class CreateSubProjectResponse < TencentCloud::Common::AbstractModel
217
+ # @param SubProjectId: 子项目id
218
+ # @type SubProjectId: String
219
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
220
+ # @type RequestId: String
221
+
222
+ attr_accessor :SubProjectId, :RequestId
223
+
224
+ def initialize(subprojectid=nil, requestid=nil)
225
+ @SubProjectId = subprojectid
226
+ @RequestId = requestid
227
+ end
228
+
229
+ def deserialize(params)
230
+ @SubProjectId = params['SubProjectId']
231
+ @RequestId = params['RequestId']
232
+ end
233
+ end
234
+
235
+ # 客户档案
236
+ class CustomerInfo < TencentCloud::Common::AbstractModel
237
+ # @param Activity: 总活跃度
238
+ # 注意:此字段可能返回 null,表示取不到有效值。
239
+ # @type Activity: Integer
240
+ # @param AudienceUserId: 客户ID
241
+ # @type AudienceUserId: String
242
+ # @param Avatar: 头像
243
+ # 注意:此字段可能返回 null,表示取不到有效值。
244
+ # @type Avatar: String
245
+ # @param City: 最近记录城市
246
+ # 注意:此字段可能返回 null,表示取不到有效值。
247
+ # @type City: String
248
+ # @param LastActiveTime: 最活跃时间
249
+ # 注意:此字段可能返回 null,表示取不到有效值。
250
+ # @type LastActiveTime: String
251
+ # @param MarkFlag: 是否星标客户
252
+ # 注意:此字段可能返回 null,表示取不到有效值。
253
+ # @type MarkFlag: String
254
+ # @param MonthActive: 30天活跃度
255
+ # 注意:此字段可能返回 null,表示取不到有效值。
256
+ # @type MonthActive: Integer
257
+ # @param MonthRecommend: 30天推荐度
258
+ # 注意:此字段可能返回 null,表示取不到有效值。
259
+ # @type MonthRecommend: Integer
260
+ # @param Phone: 手机号
261
+ # 注意:此字段可能返回 null,表示取不到有效值。
262
+ # @type Phone: String
263
+ # @param Province: 最近记录省份
264
+ # 注意:此字段可能返回 null,表示取不到有效值。
265
+ # @type Province: String
266
+ # @param RealName: 姓名
267
+ # 注意:此字段可能返回 null,表示取不到有效值。
268
+ # @type RealName: String
269
+ # @param RelChannelFlag: 员工标识 0 未关联 1 已关联
270
+ # 注意:此字段可能返回 null,表示取不到有效值。
271
+ # @type RelChannelFlag: Integer
272
+ # @param Sex: 性别 1男 2女
273
+ # 注意:此字段可能返回 null,表示取不到有效值。
274
+ # @type Sex: Integer
275
+ # @param Spread: 传播力(好友数)
276
+ # 注意:此字段可能返回 null,表示取不到有效值。
277
+ # @type Spread: Integer
278
+ # @param WeekActive: 7天活跃度
279
+ # 注意:此字段可能返回 null,表示取不到有效值。
280
+ # @type WeekActive: Integer
281
+ # @param WeekRecommend: 7天推荐度
282
+ # 注意:此字段可能返回 null,表示取不到有效值。
283
+ # @type WeekRecommend: Integer
284
+ # @param WxCity: 微信城市
285
+ # 注意:此字段可能返回 null,表示取不到有效值。
286
+ # @type WxCity: String
287
+ # @param WxCountry: 微信国家或地区
288
+ # 注意:此字段可能返回 null,表示取不到有效值。
289
+ # @type WxCountry: String
290
+ # @param WxNickname: 微信呢称
291
+ # 注意:此字段可能返回 null,表示取不到有效值。
292
+ # @type WxNickname: String
293
+ # @param WxProvince: 微信省份
294
+ # 注意:此字段可能返回 null,表示取不到有效值。
295
+ # @type WxProvince: String
296
+
297
+ attr_accessor :Activity, :AudienceUserId, :Avatar, :City, :LastActiveTime, :MarkFlag, :MonthActive, :MonthRecommend, :Phone, :Province, :RealName, :RelChannelFlag, :Sex, :Spread, :WeekActive, :WeekRecommend, :WxCity, :WxCountry, :WxNickname, :WxProvince
298
+
299
+ def initialize(activity=nil, audienceuserid=nil, avatar=nil, city=nil, lastactivetime=nil, markflag=nil, monthactive=nil, monthrecommend=nil, phone=nil, province=nil, realname=nil, relchannelflag=nil, sex=nil, spread=nil, weekactive=nil, weekrecommend=nil, wxcity=nil, wxcountry=nil, wxnickname=nil, wxprovince=nil)
300
+ @Activity = activity
301
+ @AudienceUserId = audienceuserid
302
+ @Avatar = avatar
303
+ @City = city
304
+ @LastActiveTime = lastactivetime
305
+ @MarkFlag = markflag
306
+ @MonthActive = monthactive
307
+ @MonthRecommend = monthrecommend
308
+ @Phone = phone
309
+ @Province = province
310
+ @RealName = realname
311
+ @RelChannelFlag = relchannelflag
312
+ @Sex = sex
313
+ @Spread = spread
314
+ @WeekActive = weekactive
315
+ @WeekRecommend = weekrecommend
316
+ @WxCity = wxcity
317
+ @WxCountry = wxcountry
318
+ @WxNickname = wxnickname
319
+ @WxProvince = wxprovince
320
+ end
321
+
322
+ def deserialize(params)
323
+ @Activity = params['Activity']
324
+ @AudienceUserId = params['AudienceUserId']
325
+ @Avatar = params['Avatar']
326
+ @City = params['City']
327
+ @LastActiveTime = params['LastActiveTime']
328
+ @MarkFlag = params['MarkFlag']
329
+ @MonthActive = params['MonthActive']
330
+ @MonthRecommend = params['MonthRecommend']
331
+ @Phone = params['Phone']
332
+ @Province = params['Province']
333
+ @RealName = params['RealName']
334
+ @RelChannelFlag = params['RelChannelFlag']
335
+ @Sex = params['Sex']
336
+ @Spread = params['Spread']
337
+ @WeekActive = params['WeekActive']
338
+ @WeekRecommend = params['WeekRecommend']
339
+ @WxCity = params['WxCity']
340
+ @WxCountry = params['WxCountry']
341
+ @WxNickname = params['WxNickname']
342
+ @WxProvince = params['WxProvince']
343
+ end
344
+ end
345
+
346
+ # DeleteProject请求参数结构体
347
+ class DeleteProjectRequest < TencentCloud::Common::AbstractModel
348
+ # @param ProjectId: 项目ID
349
+ # @type ProjectId: String
350
+
351
+ attr_accessor :ProjectId
352
+
353
+ def initialize(projectid=nil)
354
+ @ProjectId = projectid
355
+ end
356
+
357
+ def deserialize(params)
358
+ @ProjectId = params['ProjectId']
359
+ end
360
+ end
361
+
362
+ # DeleteProject返回参数结构体
363
+ class DeleteProjectResponse < TencentCloud::Common::AbstractModel
364
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
365
+ # @type RequestId: String
366
+
367
+ attr_accessor :RequestId
368
+
369
+ def initialize(requestid=nil)
370
+ @RequestId = requestid
371
+ end
372
+
373
+ def deserialize(params)
374
+ @RequestId = params['RequestId']
375
+ end
376
+ end
377
+
378
+ # DescribeCustomer请求参数结构体
379
+ class DescribeCustomerRequest < TencentCloud::Common::AbstractModel
380
+ # @param UserId: 用户ID
381
+ # @type UserId: String
382
+
383
+ attr_accessor :UserId
384
+
385
+ def initialize(userid=nil)
386
+ @UserId = userid
387
+ end
388
+
389
+ def deserialize(params)
390
+ @UserId = params['UserId']
391
+ end
392
+ end
393
+
394
+ # DescribeCustomer返回参数结构体
395
+ class DescribeCustomerResponse < TencentCloud::Common::AbstractModel
396
+ # @param AddressList: 地址列表
397
+ # 注意:此字段可能返回 null,表示取不到有效值。
398
+ # @type AddressList: Array
399
+ # @param UserId: 用户id
400
+ # 注意:此字段可能返回 null,表示取不到有效值。
401
+ # @type UserId: String
402
+ # @param Avatar: 头像
403
+ # 注意:此字段可能返回 null,表示取不到有效值。
404
+ # @type Avatar: String
405
+ # @param Birthday: 生日
406
+ # 注意:此字段可能返回 null,表示取不到有效值。
407
+ # @type Birthday: String
408
+ # @param City: 城市
409
+ # 注意:此字段可能返回 null,表示取不到有效值。
410
+ # @type City: String
411
+ # @param CreateTime: 创建时间
412
+ # 注意:此字段可能返回 null,表示取不到有效值。
413
+ # @type CreateTime: String
414
+ # @param Device: 设备
415
+ # 注意:此字段可能返回 null,表示取不到有效值。
416
+ # @type Device: String
417
+ # @param Industrys: 行业
418
+ # 注意:此字段可能返回 null,表示取不到有效值。
419
+ # @type Industrys: Array
420
+ # @param LastActiveTime: 上次登录时间
421
+ # 注意:此字段可能返回 null,表示取不到有效值。
422
+ # @type LastActiveTime: String
423
+ # @param MarkFlag: 是否星标 1是 0否
424
+ # 注意:此字段可能返回 null,表示取不到有效值。
425
+ # @type MarkFlag: String
426
+ # @param Model: 手机型号
427
+ # 注意:此字段可能返回 null,表示取不到有效值。
428
+ # @type Model: String
429
+ # @param OpenId: 微信openid
430
+ # 注意:此字段可能返回 null,表示取不到有效值。
431
+ # @type OpenId: String
432
+ # @param PayFeature: 消费特点
433
+ # 注意:此字段可能返回 null,表示取不到有效值。
434
+ # @type PayFeature: String
435
+ # @param Phone: 手机号
436
+ # 注意:此字段可能返回 null,表示取不到有效值。
437
+ # @type Phone: String
438
+ # @param PhoneList: 手机号码列表
439
+ # 注意:此字段可能返回 null,表示取不到有效值。
440
+ # @type PhoneList: String
441
+ # @param Province: 最近记录省份
442
+ # 注意:此字段可能返回 null,表示取不到有效值。
443
+ # @type Province: String
444
+ # @param RealName: 姓名
445
+ # 注意:此字段可能返回 null,表示取不到有效值。
446
+ # @type RealName: String
447
+ # @param RelChannelFlag: 员工标识 0:非员工 1:员工
448
+ # 注意:此字段可能返回 null,表示取不到有效值。
449
+ # @type RelChannelFlag: String
450
+ # @param Remark: 备注
451
+ # 注意:此字段可能返回 null,表示取不到有效值。
452
+ # @type Remark: String
453
+ # @param Sex: 性别 1男 2女
454
+ # 注意:此字段可能返回 null,表示取不到有效值。
455
+ # @type Sex: String
456
+ # @param SourceAudienceVo: 最初来源
457
+ # 注意:此字段可能返回 null,表示取不到有效值。
458
+ # @type SourceAudienceVo: String
459
+ # @param SubWechats: 关注公众号列表
460
+ # 注意:此字段可能返回 null,表示取不到有效值。
461
+ # @type SubWechats: Array
462
+ # @param UnionId: 微信unionid
463
+ # 注意:此字段可能返回 null,表示取不到有效值。
464
+ # @type UnionId: String
465
+ # @param UpdateTime: 更新时间
466
+ # 注意:此字段可能返回 null,表示取不到有效值。
467
+ # @type UpdateTime: String
468
+ # @param UserTypes: 用户类型
469
+ # 注意:此字段可能返回 null,表示取不到有效值。
470
+ # @type UserTypes: Array
471
+ # @param WxCity: 城市
472
+ # 注意:此字段可能返回 null,表示取不到有效值。
473
+ # @type WxCity: String
474
+ # @param WxCountry: 国家
475
+ # 注意:此字段可能返回 null,表示取不到有效值。
476
+ # @type WxCountry: String
477
+ # @param WxNickname: 昵称
478
+ # 注意:此字段可能返回 null,表示取不到有效值。
479
+ # @type WxNickname: String
480
+ # @param WxProvince: 省份
481
+ # 注意:此字段可能返回 null,表示取不到有效值。
482
+ # @type WxProvince: String
483
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
484
+ # @type RequestId: String
485
+
486
+ attr_accessor :AddressList, :UserId, :Avatar, :Birthday, :City, :CreateTime, :Device, :Industrys, :LastActiveTime, :MarkFlag, :Model, :OpenId, :PayFeature, :Phone, :PhoneList, :Province, :RealName, :RelChannelFlag, :Remark, :Sex, :SourceAudienceVo, :SubWechats, :UnionId, :UpdateTime, :UserTypes, :WxCity, :WxCountry, :WxNickname, :WxProvince, :RequestId
487
+
488
+ def initialize(addresslist=nil, userid=nil, avatar=nil, birthday=nil, city=nil, createtime=nil, device=nil, industrys=nil, lastactivetime=nil, markflag=nil, model=nil, openid=nil, payfeature=nil, phone=nil, phonelist=nil, province=nil, realname=nil, relchannelflag=nil, remark=nil, sex=nil, sourceaudiencevo=nil, subwechats=nil, unionid=nil, updatetime=nil, usertypes=nil, wxcity=nil, wxcountry=nil, wxnickname=nil, wxprovince=nil, requestid=nil)
489
+ @AddressList = addresslist
490
+ @UserId = userid
491
+ @Avatar = avatar
492
+ @Birthday = birthday
493
+ @City = city
494
+ @CreateTime = createtime
495
+ @Device = device
496
+ @Industrys = industrys
497
+ @LastActiveTime = lastactivetime
498
+ @MarkFlag = markflag
499
+ @Model = model
500
+ @OpenId = openid
501
+ @PayFeature = payfeature
502
+ @Phone = phone
503
+ @PhoneList = phonelist
504
+ @Province = province
505
+ @RealName = realname
506
+ @RelChannelFlag = relchannelflag
507
+ @Remark = remark
508
+ @Sex = sex
509
+ @SourceAudienceVo = sourceaudiencevo
510
+ @SubWechats = subwechats
511
+ @UnionId = unionid
512
+ @UpdateTime = updatetime
513
+ @UserTypes = usertypes
514
+ @WxCity = wxcity
515
+ @WxCountry = wxcountry
516
+ @WxNickname = wxnickname
517
+ @WxProvince = wxprovince
518
+ @RequestId = requestid
519
+ end
520
+
521
+ def deserialize(params)
522
+ @AddressList = params['AddressList']
523
+ @UserId = params['UserId']
524
+ @Avatar = params['Avatar']
525
+ @Birthday = params['Birthday']
526
+ @City = params['City']
527
+ @CreateTime = params['CreateTime']
528
+ @Device = params['Device']
529
+ @Industrys = params['Industrys']
530
+ @LastActiveTime = params['LastActiveTime']
531
+ @MarkFlag = params['MarkFlag']
532
+ @Model = params['Model']
533
+ @OpenId = params['OpenId']
534
+ @PayFeature = params['PayFeature']
535
+ @Phone = params['Phone']
536
+ @PhoneList = params['PhoneList']
537
+ @Province = params['Province']
538
+ @RealName = params['RealName']
539
+ @RelChannelFlag = params['RelChannelFlag']
540
+ @Remark = params['Remark']
541
+ @Sex = params['Sex']
542
+ @SourceAudienceVo = params['SourceAudienceVo']
543
+ @SubWechats = params['SubWechats']
544
+ @UnionId = params['UnionId']
545
+ @UpdateTime = params['UpdateTime']
546
+ @UserTypes = params['UserTypes']
547
+ @WxCity = params['WxCity']
548
+ @WxCountry = params['WxCountry']
549
+ @WxNickname = params['WxNickname']
550
+ @WxProvince = params['WxProvince']
551
+ @RequestId = params['RequestId']
552
+ end
553
+ end
554
+
555
+ # DescribeCustomers请求参数结构体
556
+ class DescribeCustomersRequest < TencentCloud::Common::AbstractModel
557
+ # @param QueryType: 查询类型,0.个人,1负责部门,2.指定部门
558
+ # @type QueryType: String
559
+ # @param GroupId: 分组ID
560
+ # @type GroupId: String
561
+ # @param MarkFlag: 是否星级标记 1是 0否
562
+ # @type MarkFlag: Integer
563
+ # @param TagIds: 客户标签,多个标签用逗号隔开
564
+ # @type TagIds: String
565
+ # @param RelChannelFlag: 员工标识筛选,0:非员工,1:员工
566
+ # @type RelChannelFlag: String
567
+ # @param NeedPhoneFlag: 必须存在手机 1是 0否
568
+ # @type NeedPhoneFlag: Integer
569
+ # @param Province: 省份
570
+ # @type Province: String
571
+ # @param City: 城市
572
+ # @type City: String
573
+ # @param Sex: 性别 1男 2女
574
+ # @type Sex: String
575
+ # @param KeyWord: 城市
576
+ # @type KeyWord: String
577
+ # @param Offset: 查询开始位置
578
+ # @type Offset: Integer
579
+ # @param Limit: 每页记录条数
580
+ # @type Limit: Integer
581
+ # @param SubProjectId: 子项目ID
582
+ # @type SubProjectId: String
583
+
584
+ attr_accessor :QueryType, :GroupId, :MarkFlag, :TagIds, :RelChannelFlag, :NeedPhoneFlag, :Province, :City, :Sex, :KeyWord, :Offset, :Limit, :SubProjectId
585
+
586
+ def initialize(querytype=nil, groupid=nil, markflag=nil, tagids=nil, relchannelflag=nil, needphoneflag=nil, province=nil, city=nil, sex=nil, keyword=nil, offset=nil, limit=nil, subprojectid=nil)
587
+ @QueryType = querytype
588
+ @GroupId = groupid
589
+ @MarkFlag = markflag
590
+ @TagIds = tagids
591
+ @RelChannelFlag = relchannelflag
592
+ @NeedPhoneFlag = needphoneflag
593
+ @Province = province
594
+ @City = city
595
+ @Sex = sex
596
+ @KeyWord = keyword
597
+ @Offset = offset
598
+ @Limit = limit
599
+ @SubProjectId = subprojectid
600
+ end
601
+
602
+ def deserialize(params)
603
+ @QueryType = params['QueryType']
604
+ @GroupId = params['GroupId']
605
+ @MarkFlag = params['MarkFlag']
606
+ @TagIds = params['TagIds']
607
+ @RelChannelFlag = params['RelChannelFlag']
608
+ @NeedPhoneFlag = params['NeedPhoneFlag']
609
+ @Province = params['Province']
610
+ @City = params['City']
611
+ @Sex = params['Sex']
612
+ @KeyWord = params['KeyWord']
613
+ @Offset = params['Offset']
614
+ @Limit = params['Limit']
615
+ @SubProjectId = params['SubProjectId']
616
+ end
617
+ end
618
+
619
+ # DescribeCustomers返回参数结构体
620
+ class DescribeCustomersResponse < TencentCloud::Common::AbstractModel
621
+ # @param TotalCount: 总记录条数
622
+ # @type TotalCount: Integer
623
+ # @param UserList: 数据列表
624
+ # 注意:此字段可能返回 null,表示取不到有效值。
625
+ # @type UserList: Array
626
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
627
+ # @type RequestId: String
628
+
629
+ attr_accessor :TotalCount, :UserList, :RequestId
630
+
631
+ def initialize(totalcount=nil, userlist=nil, requestid=nil)
632
+ @TotalCount = totalcount
633
+ @UserList = userlist
634
+ @RequestId = requestid
635
+ end
636
+
637
+ def deserialize(params)
638
+ @TotalCount = params['TotalCount']
639
+ unless params['UserList'].nil?
640
+ @UserList = []
641
+ params['UserList'].each do |i|
642
+ customerinfo_tmp = CustomerInfo.new
643
+ customerinfo_tmp.deserialize(i)
644
+ @UserList << customerinfo_tmp
645
+ end
646
+ end
647
+ @RequestId = params['RequestId']
648
+ end
649
+ end
650
+
651
+ # DescribeProject请求参数结构体
652
+ class DescribeProjectRequest < TencentCloud::Common::AbstractModel
653
+ # @param ProjectId: 项目ID
654
+ # @type ProjectId: String
655
+
656
+ attr_accessor :ProjectId
657
+
658
+ def initialize(projectid=nil)
659
+ @ProjectId = projectid
660
+ end
661
+
662
+ def deserialize(params)
663
+ @ProjectId = params['ProjectId']
664
+ end
665
+ end
666
+
667
+ # DescribeProject返回参数结构体
668
+ class DescribeProjectResponse < TencentCloud::Common::AbstractModel
669
+ # @param ProjectId: 项目id
670
+ # @type ProjectId: String
671
+ # @param ProjectName: 项目名称
672
+ # @type ProjectName: String
673
+ # @param ProjectBudget: 项目预算
674
+ # @type ProjectBudget: Float
675
+ # @param ProjectOrg: 项目机构
676
+ # @type ProjectOrg: String
677
+ # @param ProjectIntroduction: 项目简介
678
+ # @type ProjectIntroduction: String
679
+ # @param SubProjectList: 子项目列表
680
+ # @type SubProjectList: Array
681
+ # @param ProjectStatus: 项目状态
682
+ # @type ProjectStatus: String
683
+ # @param ProjectOrgId: 项目机构Id
684
+ # 注意:此字段可能返回 null,表示取不到有效值。
685
+ # @type ProjectOrgId: String
686
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
687
+ # @type RequestId: String
688
+
689
+ attr_accessor :ProjectId, :ProjectName, :ProjectBudget, :ProjectOrg, :ProjectIntroduction, :SubProjectList, :ProjectStatus, :ProjectOrgId, :RequestId
690
+
691
+ def initialize(projectid=nil, projectname=nil, projectbudget=nil, projectorg=nil, projectintroduction=nil, subprojectlist=nil, projectstatus=nil, projectorgid=nil, requestid=nil)
692
+ @ProjectId = projectid
693
+ @ProjectName = projectname
694
+ @ProjectBudget = projectbudget
695
+ @ProjectOrg = projectorg
696
+ @ProjectIntroduction = projectintroduction
697
+ @SubProjectList = subprojectlist
698
+ @ProjectStatus = projectstatus
699
+ @ProjectOrgId = projectorgid
700
+ @RequestId = requestid
701
+ end
702
+
703
+ def deserialize(params)
704
+ @ProjectId = params['ProjectId']
705
+ @ProjectName = params['ProjectName']
706
+ @ProjectBudget = params['ProjectBudget']
707
+ @ProjectOrg = params['ProjectOrg']
708
+ @ProjectIntroduction = params['ProjectIntroduction']
709
+ unless params['SubProjectList'].nil?
710
+ @SubProjectList = []
711
+ params['SubProjectList'].each do |i|
712
+ subprojectinfo_tmp = SubProjectInfo.new
713
+ subprojectinfo_tmp.deserialize(i)
714
+ @SubProjectList << subprojectinfo_tmp
715
+ end
716
+ end
717
+ @ProjectStatus = params['ProjectStatus']
718
+ @ProjectOrgId = params['ProjectOrgId']
719
+ @RequestId = params['RequestId']
720
+ end
721
+ end
722
+
723
+ # DescribeProjectStock请求参数结构体
724
+ class DescribeProjectStockRequest < TencentCloud::Common::AbstractModel
725
+ # @param SubProjectId: 子项目id
726
+ # @type SubProjectId: String
727
+
728
+ attr_accessor :SubProjectId
729
+
730
+ def initialize(subprojectid=nil)
731
+ @SubProjectId = subprojectid
732
+ end
733
+
734
+ def deserialize(params)
735
+ @SubProjectId = params['SubProjectId']
736
+ end
737
+ end
738
+
739
+ # DescribeProjectStock返回参数结构体
740
+ class DescribeProjectStockResponse < TencentCloud::Common::AbstractModel
741
+ # @param ProjectStocks: 项目库存列表
742
+ # @type ProjectStocks: Array
743
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
744
+ # @type RequestId: String
745
+
746
+ attr_accessor :ProjectStocks, :RequestId
747
+
748
+ def initialize(projectstocks=nil, requestid=nil)
749
+ @ProjectStocks = projectstocks
750
+ @RequestId = requestid
751
+ end
752
+
753
+ def deserialize(params)
754
+ unless params['ProjectStocks'].nil?
755
+ @ProjectStocks = []
756
+ params['ProjectStocks'].each do |i|
757
+ projectstock_tmp = ProjectStock.new
758
+ projectstock_tmp.deserialize(i)
759
+ @ProjectStocks << projectstock_tmp
760
+ end
761
+ end
762
+ @RequestId = params['RequestId']
763
+ end
764
+ end
765
+
766
+ # DescribeProjects请求参数结构体
767
+ class DescribeProjectsRequest < TencentCloud::Common::AbstractModel
768
+ # @param PageNo: 页码
769
+ # @type PageNo: Integer
770
+ # @param PageSize: 页面大小
771
+ # @type PageSize: Integer
772
+ # @param SearchWord: 过滤规则
773
+ # @type SearchWord: String
774
+ # @param Filters: 部门范围过滤
775
+ # @type Filters: :class:`Tencentcloud::Solar.v20181011.models.Filters`
776
+ # @param ProjectStatus: 项目状态, 0:编辑中 1:运营中 2:已下线 3:已删除 4:审批中
777
+ # @type ProjectStatus: Integer
778
+
779
+ attr_accessor :PageNo, :PageSize, :SearchWord, :Filters, :ProjectStatus
780
+
781
+ def initialize(pageno=nil, pagesize=nil, searchword=nil, filters=nil, projectstatus=nil)
782
+ @PageNo = pageno
783
+ @PageSize = pagesize
784
+ @SearchWord = searchword
785
+ @Filters = filters
786
+ @ProjectStatus = projectstatus
787
+ end
788
+
789
+ def deserialize(params)
790
+ @PageNo = params['PageNo']
791
+ @PageSize = params['PageSize']
792
+ @SearchWord = params['SearchWord']
793
+ unless params['Filters'].nil?
794
+ @Filters = Filters.new
795
+ @Filters.deserialize(params['Filters'])
796
+ end
797
+ @ProjectStatus = params['ProjectStatus']
798
+ end
799
+ end
800
+
801
+ # DescribeProjects返回参数结构体
802
+ class DescribeProjectsResponse < TencentCloud::Common::AbstractModel
803
+ # @param ProjectList: 项目列表
804
+ # @type ProjectList: Array
805
+ # @param TotalCount: 项目数
806
+ # @type TotalCount: Integer
807
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
808
+ # @type RequestId: String
809
+
810
+ attr_accessor :ProjectList, :TotalCount, :RequestId
811
+
812
+ def initialize(projectlist=nil, totalcount=nil, requestid=nil)
813
+ @ProjectList = projectlist
814
+ @TotalCount = totalcount
815
+ @RequestId = requestid
816
+ end
817
+
818
+ def deserialize(params)
819
+ unless params['ProjectList'].nil?
820
+ @ProjectList = []
821
+ params['ProjectList'].each do |i|
822
+ projectinfo_tmp = ProjectInfo.new
823
+ projectinfo_tmp.deserialize(i)
824
+ @ProjectList << projectinfo_tmp
825
+ end
826
+ end
827
+ @TotalCount = params['TotalCount']
828
+ @RequestId = params['RequestId']
829
+ end
830
+ end
831
+
832
+ # DescribeResourceTemplateHeaders请求参数结构体
833
+ class DescribeResourceTemplateHeadersRequest < TencentCloud::Common::AbstractModel
834
+ # @param WxAppId: 微信公众号appId
835
+ # @type WxAppId: String
836
+
837
+ attr_accessor :WxAppId
838
+
839
+ def initialize(wxappid=nil)
840
+ @WxAppId = wxappid
841
+ end
842
+
843
+ def deserialize(params)
844
+ @WxAppId = params['WxAppId']
845
+ end
846
+ end
847
+
848
+ # DescribeResourceTemplateHeaders返回参数结构体
849
+ class DescribeResourceTemplateHeadersResponse < TencentCloud::Common::AbstractModel
850
+ # @param TotalCount: 记录条数
851
+ # @type TotalCount: Integer
852
+ # @param TmplList: 模板列表
853
+ # 注意:此字段可能返回 null,表示取不到有效值。
854
+ # @type TmplList: Array
855
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
856
+ # @type RequestId: String
857
+
858
+ attr_accessor :TotalCount, :TmplList, :RequestId
859
+
860
+ def initialize(totalcount=nil, tmpllist=nil, requestid=nil)
861
+ @TotalCount = totalcount
862
+ @TmplList = tmpllist
863
+ @RequestId = requestid
864
+ end
865
+
866
+ def deserialize(params)
867
+ @TotalCount = params['TotalCount']
868
+ unless params['TmplList'].nil?
869
+ @TmplList = []
870
+ params['TmplList'].each do |i|
871
+ resourcetemplateheader_tmp = ResourceTemplateHeader.new
872
+ resourcetemplateheader_tmp.deserialize(i)
873
+ @TmplList << resourcetemplateheader_tmp
874
+ end
875
+ end
876
+ @RequestId = params['RequestId']
877
+ end
878
+ end
879
+
880
+ # DescribeSubProject请求参数结构体
881
+ class DescribeSubProjectRequest < TencentCloud::Common::AbstractModel
882
+ # @param SubProjectId: 子项目id
883
+ # @type SubProjectId: String
884
+
885
+ attr_accessor :SubProjectId
886
+
887
+ def initialize(subprojectid=nil)
888
+ @SubProjectId = subprojectid
889
+ end
890
+
891
+ def deserialize(params)
892
+ @SubProjectId = params['SubProjectId']
893
+ end
894
+ end
895
+
896
+ # DescribeSubProject返回参数结构体
897
+ class DescribeSubProjectResponse < TencentCloud::Common::AbstractModel
898
+ # @param ProductInfo: 作品信息
899
+ # 注意:此字段可能返回 null,表示取不到有效值。
900
+ # @type ProductInfo: :class:`Tencentcloud::Solar.v20181011.models.ProductInfo`
901
+ # @param ActivityInfo: 活动信息
902
+ # 注意:此字段可能返回 null,表示取不到有效值。
903
+ # @type ActivityInfo: :class:`Tencentcloud::Solar.v20181011.models.ActivityInfo`
904
+ # @param ShareTitle: 分享标题
905
+ # 注意:此字段可能返回 null,表示取不到有效值。
906
+ # @type ShareTitle: String
907
+ # @param ShareDesc: 分享描述
908
+ # 注意:此字段可能返回 null,表示取不到有效值。
909
+ # @type ShareDesc: String
910
+ # @param ShareImg: 分享图标
911
+ # 注意:此字段可能返回 null,表示取不到有效值。
912
+ # @type ShareImg: String
913
+ # @param HasStrategy: 是否已创建策略
914
+ # 注意:此字段可能返回 null,表示取不到有效值。
915
+ # @type HasStrategy: Integer
916
+ # @param SubProjectStatus: 子项目状态
917
+ # 注意:此字段可能返回 null,表示取不到有效值。
918
+ # @type SubProjectStatus: String
919
+ # @param ShareAppId: 分享公众号的appId
920
+ # 注意:此字段可能返回 null,表示取不到有效值。
921
+ # @type ShareAppId: String
922
+ # @param ShareWsId: 分享公众号的wsId
923
+ # 注意:此字段可能返回 null,表示取不到有效值。
924
+ # @type ShareWsId: String
925
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
926
+ # @type RequestId: String
927
+
928
+ attr_accessor :ProductInfo, :ActivityInfo, :ShareTitle, :ShareDesc, :ShareImg, :HasStrategy, :SubProjectStatus, :ShareAppId, :ShareWsId, :RequestId
929
+
930
+ def initialize(productinfo=nil, activityinfo=nil, sharetitle=nil, sharedesc=nil, shareimg=nil, hasstrategy=nil, subprojectstatus=nil, shareappid=nil, sharewsid=nil, requestid=nil)
931
+ @ProductInfo = productinfo
932
+ @ActivityInfo = activityinfo
933
+ @ShareTitle = sharetitle
934
+ @ShareDesc = sharedesc
935
+ @ShareImg = shareimg
936
+ @HasStrategy = hasstrategy
937
+ @SubProjectStatus = subprojectstatus
938
+ @ShareAppId = shareappid
939
+ @ShareWsId = sharewsid
940
+ @RequestId = requestid
941
+ end
942
+
943
+ def deserialize(params)
944
+ unless params['ProductInfo'].nil?
945
+ @ProductInfo = ProductInfo.new
946
+ @ProductInfo.deserialize(params['ProductInfo'])
947
+ end
948
+ unless params['ActivityInfo'].nil?
949
+ @ActivityInfo = ActivityInfo.new
950
+ @ActivityInfo.deserialize(params['ActivityInfo'])
951
+ end
952
+ @ShareTitle = params['ShareTitle']
953
+ @ShareDesc = params['ShareDesc']
954
+ @ShareImg = params['ShareImg']
955
+ @HasStrategy = params['HasStrategy']
956
+ @SubProjectStatus = params['SubProjectStatus']
957
+ @ShareAppId = params['ShareAppId']
958
+ @ShareWsId = params['ShareWsId']
959
+ @RequestId = params['RequestId']
960
+ end
961
+ end
962
+
963
+ # ExpireFlow请求参数结构体
964
+ class ExpireFlowRequest < TencentCloud::Common::AbstractModel
965
+ # @param FlowId: 工单ID
966
+ # @type FlowId: String
967
+
968
+ attr_accessor :FlowId
969
+
970
+ def initialize(flowid=nil)
971
+ @FlowId = flowid
972
+ end
973
+
974
+ def deserialize(params)
975
+ @FlowId = params['FlowId']
976
+ end
977
+ end
978
+
979
+ # ExpireFlow返回参数结构体
980
+ class ExpireFlowResponse < TencentCloud::Common::AbstractModel
981
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
982
+ # @type RequestId: String
983
+
984
+ attr_accessor :RequestId
985
+
986
+ def initialize(requestid=nil)
987
+ @RequestId = requestid
988
+ end
989
+
990
+ def deserialize(params)
991
+ @RequestId = params['RequestId']
992
+ end
993
+ end
994
+
995
+ # 可见范围过滤参数
996
+ class Filters < TencentCloud::Common::AbstractModel
997
+ # @param Type: 过滤类型, 0: 默认(可见部门+自创) 1: 自创 2: 指定部门(部门在可见范围内)
998
+ # @type Type: Integer
999
+ # @param DeptIds: 指定部门Id, 类型2使用
1000
+ # @type DeptIds: Array
1001
+ # @param UserIds: 用户Id列表
1002
+ # @type UserIds: Array
1003
+
1004
+ attr_accessor :Type, :DeptIds, :UserIds
1005
+
1006
+ def initialize(type=nil, deptids=nil, userids=nil)
1007
+ @Type = type
1008
+ @DeptIds = deptids
1009
+ @UserIds = userids
1010
+ end
1011
+
1012
+ def deserialize(params)
1013
+ @Type = params['Type']
1014
+ @DeptIds = params['DeptIds']
1015
+ @UserIds = params['UserIds']
1016
+ end
1017
+ end
1018
+
1019
+ # ModifyProject请求参数结构体
1020
+ class ModifyProjectRequest < TencentCloud::Common::AbstractModel
1021
+ # @param ProjectId: 项目ID
1022
+ # @type ProjectId: String
1023
+ # @param ProjectName: 项目名称
1024
+ # @type ProjectName: String
1025
+ # @param ProjectBudget: 项目预算
1026
+ # @type ProjectBudget: String
1027
+ # @param ProjectOrg: 项目机构
1028
+ # @type ProjectOrg: String
1029
+ # @param ProjectIntroduction: 项目简介
1030
+ # @type ProjectIntroduction: String
1031
+ # @param ProjectOrgId: 项目机构Id
1032
+ # @type ProjectOrgId: String
1033
+
1034
+ attr_accessor :ProjectId, :ProjectName, :ProjectBudget, :ProjectOrg, :ProjectIntroduction, :ProjectOrgId
1035
+
1036
+ def initialize(projectid=nil, projectname=nil, projectbudget=nil, projectorg=nil, projectintroduction=nil, projectorgid=nil)
1037
+ @ProjectId = projectid
1038
+ @ProjectName = projectname
1039
+ @ProjectBudget = projectbudget
1040
+ @ProjectOrg = projectorg
1041
+ @ProjectIntroduction = projectintroduction
1042
+ @ProjectOrgId = projectorgid
1043
+ end
1044
+
1045
+ def deserialize(params)
1046
+ @ProjectId = params['ProjectId']
1047
+ @ProjectName = params['ProjectName']
1048
+ @ProjectBudget = params['ProjectBudget']
1049
+ @ProjectOrg = params['ProjectOrg']
1050
+ @ProjectIntroduction = params['ProjectIntroduction']
1051
+ @ProjectOrgId = params['ProjectOrgId']
1052
+ end
1053
+ end
1054
+
1055
+ # ModifyProject返回参数结构体
1056
+ class ModifyProjectResponse < TencentCloud::Common::AbstractModel
1057
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1058
+ # @type RequestId: String
1059
+
1060
+ attr_accessor :RequestId
1061
+
1062
+ def initialize(requestid=nil)
1063
+ @RequestId = requestid
1064
+ end
1065
+
1066
+ def deserialize(params)
1067
+ @RequestId = params['RequestId']
1068
+ end
1069
+ end
1070
+
1071
+ # OffLineProject请求参数结构体
1072
+ class OffLineProjectRequest < TencentCloud::Common::AbstractModel
1073
+ # @param ProjectId: 项目ID
1074
+ # @type ProjectId: String
1075
+
1076
+ attr_accessor :ProjectId
1077
+
1078
+ def initialize(projectid=nil)
1079
+ @ProjectId = projectid
1080
+ end
1081
+
1082
+ def deserialize(params)
1083
+ @ProjectId = params['ProjectId']
1084
+ end
1085
+ end
1086
+
1087
+ # OffLineProject返回参数结构体
1088
+ class OffLineProjectResponse < TencentCloud::Common::AbstractModel
1089
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1090
+ # @type RequestId: String
1091
+
1092
+ attr_accessor :RequestId
1093
+
1094
+ def initialize(requestid=nil)
1095
+ @RequestId = requestid
1096
+ end
1097
+
1098
+ def deserialize(params)
1099
+ @RequestId = params['RequestId']
1100
+ end
1101
+ end
1102
+
1103
+ # 内容页结构
1104
+ class ProductInfo < TencentCloud::Common::AbstractModel
1105
+ # @param TemplateId: 模板id
1106
+ # 注意:此字段可能返回 null,表示取不到有效值。
1107
+ # @type TemplateId: String
1108
+ # @param ProductTitle: 模板主题
1109
+ # 注意:此字段可能返回 null,表示取不到有效值。
1110
+ # @type ProductTitle: String
1111
+ # @param ProductDesc: 模板描述
1112
+ # 注意:此字段可能返回 null,表示取不到有效值。
1113
+ # @type ProductDesc: String
1114
+ # @param ProductCover: 模板封面地址
1115
+ # 注意:此字段可能返回 null,表示取不到有效值。
1116
+ # @type ProductCover: String
1117
+ # @param ProductId: 内容作品id
1118
+ # 注意:此字段可能返回 null,表示取不到有效值。
1119
+ # @type ProductId: String
1120
+ # @param ProductUrl: 作品预览链接
1121
+ # 注意:此字段可能返回 null,表示取不到有效值。
1122
+ # @type ProductUrl: String
1123
+ # @param ProductName: 作品名称
1124
+ # 注意:此字段可能返回 null,表示取不到有效值。
1125
+ # @type ProductName: String
1126
+
1127
+ attr_accessor :TemplateId, :ProductTitle, :ProductDesc, :ProductCover, :ProductId, :ProductUrl, :ProductName
1128
+
1129
+ def initialize(templateid=nil, producttitle=nil, productdesc=nil, productcover=nil, productid=nil, producturl=nil, productname=nil)
1130
+ @TemplateId = templateid
1131
+ @ProductTitle = producttitle
1132
+ @ProductDesc = productdesc
1133
+ @ProductCover = productcover
1134
+ @ProductId = productid
1135
+ @ProductUrl = producturl
1136
+ @ProductName = productname
1137
+ end
1138
+
1139
+ def deserialize(params)
1140
+ @TemplateId = params['TemplateId']
1141
+ @ProductTitle = params['ProductTitle']
1142
+ @ProductDesc = params['ProductDesc']
1143
+ @ProductCover = params['ProductCover']
1144
+ @ProductId = params['ProductId']
1145
+ @ProductUrl = params['ProductUrl']
1146
+ @ProductName = params['ProductName']
1147
+ end
1148
+ end
1149
+
1150
+ # 项目基础信息
1151
+ class ProjectInfo < TencentCloud::Common::AbstractModel
1152
+ # @param ProjectId: 项目ID
1153
+ # @type ProjectId: String
1154
+ # @param ProjectName: 项目名称
1155
+ # @type ProjectName: String
1156
+ # @param ProjectOrg: 项目所属机构
1157
+ # @type ProjectOrg: String
1158
+ # @param ProjectBudget: 项目预算
1159
+ # @type ProjectBudget: Float
1160
+ # @param ProjectStatus: 项目状态
1161
+ # @type ProjectStatus: String
1162
+ # @param CreateTime: 项目创建时间
1163
+ # @type CreateTime: String
1164
+ # @param ProjectIntroduction: 项目简介
1165
+ # @type ProjectIntroduction: String
1166
+ # @param ProjectOrgId: 项目所属机构Id
1167
+ # 注意:此字段可能返回 null,表示取不到有效值。
1168
+ # @type ProjectOrgId: String
1169
+
1170
+ attr_accessor :ProjectId, :ProjectName, :ProjectOrg, :ProjectBudget, :ProjectStatus, :CreateTime, :ProjectIntroduction, :ProjectOrgId
1171
+
1172
+ def initialize(projectid=nil, projectname=nil, projectorg=nil, projectbudget=nil, projectstatus=nil, createtime=nil, projectintroduction=nil, projectorgid=nil)
1173
+ @ProjectId = projectid
1174
+ @ProjectName = projectname
1175
+ @ProjectOrg = projectorg
1176
+ @ProjectBudget = projectbudget
1177
+ @ProjectStatus = projectstatus
1178
+ @CreateTime = createtime
1179
+ @ProjectIntroduction = projectintroduction
1180
+ @ProjectOrgId = projectorgid
1181
+ end
1182
+
1183
+ def deserialize(params)
1184
+ @ProjectId = params['ProjectId']
1185
+ @ProjectName = params['ProjectName']
1186
+ @ProjectOrg = params['ProjectOrg']
1187
+ @ProjectBudget = params['ProjectBudget']
1188
+ @ProjectStatus = params['ProjectStatus']
1189
+ @CreateTime = params['CreateTime']
1190
+ @ProjectIntroduction = params['ProjectIntroduction']
1191
+ @ProjectOrgId = params['ProjectOrgId']
1192
+ end
1193
+ end
1194
+
1195
+ # 项目奖品库存
1196
+ class ProjectStock < TencentCloud::Common::AbstractModel
1197
+ # @param PrizeId: 奖品id
1198
+ # @type PrizeId: String
1199
+ # @param PrizeBat: 奖品批次
1200
+ # @type PrizeBat: Integer
1201
+ # @param PrizeName: 奖品名称
1202
+ # @type PrizeName: String
1203
+ # @param UsedStock: 已分配奖品数量
1204
+ # @type UsedStock: Integer
1205
+ # @param RemainStock: 该奖品剩余库存数量
1206
+ # @type RemainStock: Integer
1207
+ # @param PoolIdx: 奖品所在奖池index
1208
+ # @type PoolIdx: Integer
1209
+ # @param PoolName: 奖品所在奖池名称
1210
+ # @type PoolName: String
1211
+
1212
+ attr_accessor :PrizeId, :PrizeBat, :PrizeName, :UsedStock, :RemainStock, :PoolIdx, :PoolName
1213
+
1214
+ def initialize(prizeid=nil, prizebat=nil, prizename=nil, usedstock=nil, remainstock=nil, poolidx=nil, poolname=nil)
1215
+ @PrizeId = prizeid
1216
+ @PrizeBat = prizebat
1217
+ @PrizeName = prizename
1218
+ @UsedStock = usedstock
1219
+ @RemainStock = remainstock
1220
+ @PoolIdx = poolidx
1221
+ @PoolName = poolname
1222
+ end
1223
+
1224
+ def deserialize(params)
1225
+ @PrizeId = params['PrizeId']
1226
+ @PrizeBat = params['PrizeBat']
1227
+ @PrizeName = params['PrizeName']
1228
+ @UsedStock = params['UsedStock']
1229
+ @RemainStock = params['RemainStock']
1230
+ @PoolIdx = params['PoolIdx']
1231
+ @PoolName = params['PoolName']
1232
+ end
1233
+ end
1234
+
1235
+ # ReplenishProjectStock请求参数结构体
1236
+ class ReplenishProjectStockRequest < TencentCloud::Common::AbstractModel
1237
+ # @param SubProjectId: 项目id
1238
+ # @type SubProjectId: String
1239
+ # @param PrizeId: 奖品id
1240
+ # @type PrizeId: String
1241
+ # @param PrizeNum: 奖品数量
1242
+ # @type PrizeNum: Integer
1243
+ # @param PoolIndex: 奖池索引
1244
+ # @type PoolIndex: Integer
1245
+ # @param PoolName: 奖池名称
1246
+ # @type PoolName: String
1247
+
1248
+ attr_accessor :SubProjectId, :PrizeId, :PrizeNum, :PoolIndex, :PoolName
1249
+
1250
+ def initialize(subprojectid=nil, prizeid=nil, prizenum=nil, poolindex=nil, poolname=nil)
1251
+ @SubProjectId = subprojectid
1252
+ @PrizeId = prizeid
1253
+ @PrizeNum = prizenum
1254
+ @PoolIndex = poolindex
1255
+ @PoolName = poolname
1256
+ end
1257
+
1258
+ def deserialize(params)
1259
+ @SubProjectId = params['SubProjectId']
1260
+ @PrizeId = params['PrizeId']
1261
+ @PrizeNum = params['PrizeNum']
1262
+ @PoolIndex = params['PoolIndex']
1263
+ @PoolName = params['PoolName']
1264
+ end
1265
+ end
1266
+
1267
+ # ReplenishProjectStock返回参数结构体
1268
+ class ReplenishProjectStockResponse < TencentCloud::Common::AbstractModel
1269
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1270
+ # @type RequestId: String
1271
+
1272
+ attr_accessor :RequestId
1273
+
1274
+ def initialize(requestid=nil)
1275
+ @RequestId = requestid
1276
+ end
1277
+
1278
+ def deserialize(params)
1279
+ @RequestId = params['RequestId']
1280
+ end
1281
+ end
1282
+
1283
+ # 素材模板消息标题的样例列表
1284
+ class ResourceTemplateHeader < TencentCloud::Common::AbstractModel
1285
+ # @param Content: 模板预览区内容
1286
+ # 注意:此字段可能返回 null,表示取不到有效值。
1287
+ # @type Content: String
1288
+ # @param Example: 模板预览示例
1289
+ # 注意:此字段可能返回 null,表示取不到有效值。
1290
+ # @type Example: String
1291
+ # @param KeyArray: 模板预览区域键数组
1292
+ # 注意:此字段可能返回 null,表示取不到有效值。
1293
+ # @type KeyArray: String
1294
+ # @param TemplateId: 模板id
1295
+ # @type TemplateId: String
1296
+ # @param Title: 模板标题
1297
+ # 注意:此字段可能返回 null,表示取不到有效值。
1298
+ # @type Title: String
1299
+
1300
+ attr_accessor :Content, :Example, :KeyArray, :TemplateId, :Title
1301
+
1302
+ def initialize(content=nil, example=nil, keyarray=nil, templateid=nil, title=nil)
1303
+ @Content = content
1304
+ @Example = example
1305
+ @KeyArray = keyarray
1306
+ @TemplateId = templateid
1307
+ @Title = title
1308
+ end
1309
+
1310
+ def deserialize(params)
1311
+ @Content = params['Content']
1312
+ @Example = params['Example']
1313
+ @KeyArray = params['KeyArray']
1314
+ @TemplateId = params['TemplateId']
1315
+ @Title = params['Title']
1316
+ end
1317
+ end
1318
+
1319
+ # SendWxTouchTask请求参数结构体
1320
+ class SendWxTouchTaskRequest < TencentCloud::Common::AbstractModel
1321
+ # @param GroupId: 客户分组ID
1322
+ # @type GroupId: String
1323
+ # @param DistinctFlag: 去除今日已发送的客户
1324
+ # @type DistinctFlag: Boolean
1325
+ # @param IsSendNow: 是否立马发送
1326
+ # @type IsSendNow: Boolean
1327
+ # @param SendDate: 发送时间,一般为0
1328
+ # @type SendDate: Integer
1329
+ # @param TaskName: 任务名称
1330
+ # @type TaskName: String
1331
+ # @param WxTouchType: 微信触达类型,text, news, smallapp, tmplmsg
1332
+ # @type WxTouchType: String
1333
+ # @param Title: 标题
1334
+ # @type Title: String
1335
+ # @param Content: 文本内容
1336
+ # @type Content: String
1337
+ # @param NewsId: 图文素材ID
1338
+ # @type NewsId: String
1339
+ # @param SmallProgramId: 小程序卡片ID
1340
+ # @type SmallProgramId: String
1341
+ # @param TemplateId: 模板消息ID
1342
+ # @type TemplateId: String
1343
+ # @param WxAppId: 微信公众号appId
1344
+ # @type WxAppId: String
1345
+
1346
+ attr_accessor :GroupId, :DistinctFlag, :IsSendNow, :SendDate, :TaskName, :WxTouchType, :Title, :Content, :NewsId, :SmallProgramId, :TemplateId, :WxAppId
1347
+
1348
+ def initialize(groupid=nil, distinctflag=nil, issendnow=nil, senddate=nil, taskname=nil, wxtouchtype=nil, title=nil, content=nil, newsid=nil, smallprogramid=nil, templateid=nil, wxappid=nil)
1349
+ @GroupId = groupid
1350
+ @DistinctFlag = distinctflag
1351
+ @IsSendNow = issendnow
1352
+ @SendDate = senddate
1353
+ @TaskName = taskname
1354
+ @WxTouchType = wxtouchtype
1355
+ @Title = title
1356
+ @Content = content
1357
+ @NewsId = newsid
1358
+ @SmallProgramId = smallprogramid
1359
+ @TemplateId = templateid
1360
+ @WxAppId = wxappid
1361
+ end
1362
+
1363
+ def deserialize(params)
1364
+ @GroupId = params['GroupId']
1365
+ @DistinctFlag = params['DistinctFlag']
1366
+ @IsSendNow = params['IsSendNow']
1367
+ @SendDate = params['SendDate']
1368
+ @TaskName = params['TaskName']
1369
+ @WxTouchType = params['WxTouchType']
1370
+ @Title = params['Title']
1371
+ @Content = params['Content']
1372
+ @NewsId = params['NewsId']
1373
+ @SmallProgramId = params['SmallProgramId']
1374
+ @TemplateId = params['TemplateId']
1375
+ @WxAppId = params['WxAppId']
1376
+ end
1377
+ end
1378
+
1379
+ # SendWxTouchTask返回参数结构体
1380
+ class SendWxTouchTaskResponse < TencentCloud::Common::AbstractModel
1381
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1382
+ # @type RequestId: String
1383
+
1384
+ attr_accessor :RequestId
1385
+
1386
+ def initialize(requestid=nil)
1387
+ @RequestId = requestid
1388
+ end
1389
+
1390
+ def deserialize(params)
1391
+ @RequestId = params['RequestId']
1392
+ end
1393
+ end
1394
+
1395
+ # 子项目信息
1396
+ class SubProjectInfo < TencentCloud::Common::AbstractModel
1397
+ # @param SubProjectId: 子项目id
1398
+ # @type SubProjectId: String
1399
+ # @param SubProjectName: 子项目名称
1400
+ # @type SubProjectName: String
1401
+ # @param SubProjectStatus: 子项目状态
1402
+ # @type SubProjectStatus: String
1403
+
1404
+ attr_accessor :SubProjectId, :SubProjectName, :SubProjectStatus
1405
+
1406
+ def initialize(subprojectid=nil, subprojectname=nil, subprojectstatus=nil)
1407
+ @SubProjectId = subprojectid
1408
+ @SubProjectName = subprojectname
1409
+ @SubProjectStatus = subprojectstatus
1410
+ end
1411
+
1412
+ def deserialize(params)
1413
+ @SubProjectId = params['SubProjectId']
1414
+ @SubProjectName = params['SubProjectName']
1415
+ @SubProjectStatus = params['SubProjectStatus']
1416
+ end
1417
+ end
1418
+
1419
+ end
1420
+ end
1421
+ end
1422
+