tencentcloud-sdk-vcube 3.0.955

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,2758 @@
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 Vcube
19
+ module V20220410
20
+ # 应用包名信息
21
+ class AppInfo < TencentCloud::Common::AbstractModel
22
+ # @param Id: 应用Id
23
+ # @type Id: Integer
24
+ # @param AppId: 用户appid
25
+ # @type AppId: String
26
+ # @param AppName: 应用名称
27
+ # 注意:此字段可能返回 null,表示取不到有效值。
28
+ # @type AppName: String
29
+ # @param BundleId: Ios 包名
30
+ # 注意:此字段可能返回 null,表示取不到有效值。
31
+ # @type BundleId: String
32
+ # @param PackageName: Andorid 包名
33
+ # 注意:此字段可能返回 null,表示取不到有效值。
34
+ # @type PackageName: String
35
+ # @param AppType: 应用详情
36
+ # @type AppType: String
37
+ # @param CreatedAt: 创建时间
38
+ # @type CreatedAt: String
39
+ # @param UpdatedAt: 更新时间
40
+ # @type UpdatedAt: String
41
+ # @param MacBundleId: Mac 进程名
42
+ # 注意:此字段可能返回 null,表示取不到有效值。
43
+ # @type MacBundleId: String
44
+ # @param WinProcessName: windows 进程名
45
+ # 注意:此字段可能返回 null,表示取不到有效值。
46
+ # @type WinProcessName: String
47
+ # @param DomainList: 允许的web域名列表
48
+ # 注意:此字段可能返回 null,表示取不到有效值。
49
+ # @type DomainList: Array
50
+
51
+ attr_accessor :Id, :AppId, :AppName, :BundleId, :PackageName, :AppType, :CreatedAt, :UpdatedAt, :MacBundleId, :WinProcessName, :DomainList
52
+
53
+ def initialize(id=nil, appid=nil, appname=nil, bundleid=nil, packagename=nil, apptype=nil, createdat=nil, updatedat=nil, macbundleid=nil, winprocessname=nil, domainlist=nil)
54
+ @Id = id
55
+ @AppId = appid
56
+ @AppName = appname
57
+ @BundleId = bundleid
58
+ @PackageName = packagename
59
+ @AppType = apptype
60
+ @CreatedAt = createdat
61
+ @UpdatedAt = updatedat
62
+ @MacBundleId = macbundleid
63
+ @WinProcessName = winprocessname
64
+ @DomainList = domainlist
65
+ end
66
+
67
+ def deserialize(params)
68
+ @Id = params['Id']
69
+ @AppId = params['AppId']
70
+ @AppName = params['AppName']
71
+ @BundleId = params['BundleId']
72
+ @PackageName = params['PackageName']
73
+ @AppType = params['AppType']
74
+ @CreatedAt = params['CreatedAt']
75
+ @UpdatedAt = params['UpdatedAt']
76
+ @MacBundleId = params['MacBundleId']
77
+ @WinProcessName = params['WinProcessName']
78
+ @DomainList = params['DomainList']
79
+ end
80
+ end
81
+
82
+ # 视立方license用户 应用结构
83
+ class ApplicationInfo < TencentCloud::Common::AbstractModel
84
+ # @param AppName: 应用名称
85
+ # @type AppName: String
86
+ # @param BundleId: Ios应用的唯一标识
87
+ # 注意:此字段可能返回 null,表示取不到有效值。
88
+ # @type BundleId: String
89
+ # @param AppType: 应用类型,formal: 正式应用,test:测试应用
90
+ # @type AppType: String
91
+ # @param Licenses: license数组
92
+ # @type Licenses: Array
93
+ # @param LicenseKey: license 秘钥
94
+ # 注意:此字段可能返回 null,表示取不到有效值。
95
+ # @type LicenseKey: String
96
+ # @param PackageName: 安卓应用的唯一标识
97
+ # 注意:此字段可能返回 null,表示取不到有效值。
98
+ # @type PackageName: String
99
+ # @param CreatedAt: 创建时间
100
+ # 注意:此字段可能返回 null,表示取不到有效值。
101
+ # @type CreatedAt: String
102
+ # @param UpdatedAt: 更新时间
103
+ # 注意:此字段可能返回 null,表示取不到有效值。
104
+ # @type UpdatedAt: String
105
+ # @param ApplicationId: 用户应用Id
106
+ # 注意:此字段可能返回 null,表示取不到有效值。
107
+ # @type ApplicationId: Integer
108
+ # @param LicenseUrl: 视立方下载license的url
109
+ # 注意:此字段可能返回 null,表示取不到有效值。
110
+ # @type LicenseUrl: String
111
+ # @param XMagics: 优图美视信息列表
112
+ # 注意:此字段可能返回 null,表示取不到有效值。
113
+ # @type XMagics: Array
114
+ # @param MacBundleId: Mac 进程名
115
+ # 注意:此字段可能返回 null,表示取不到有效值。
116
+ # @type MacBundleId: String
117
+ # @param WinProcessName: windows 进程名
118
+ # 注意:此字段可能返回 null,表示取不到有效值。
119
+ # @type WinProcessName: String
120
+ # @param DomainList: web端Domain列表
121
+ # 注意:此字段可能返回 null,表示取不到有效值。
122
+ # @type DomainList: Array
123
+ # @param AppId: 账号AppId
124
+ # @type AppId: String
125
+
126
+ attr_accessor :AppName, :BundleId, :AppType, :Licenses, :LicenseKey, :PackageName, :CreatedAt, :UpdatedAt, :ApplicationId, :LicenseUrl, :XMagics, :MacBundleId, :WinProcessName, :DomainList, :AppId
127
+
128
+ def initialize(appname=nil, bundleid=nil, apptype=nil, licenses=nil, licensekey=nil, packagename=nil, createdat=nil, updatedat=nil, applicationid=nil, licenseurl=nil, xmagics=nil, macbundleid=nil, winprocessname=nil, domainlist=nil, appid=nil)
129
+ @AppName = appname
130
+ @BundleId = bundleid
131
+ @AppType = apptype
132
+ @Licenses = licenses
133
+ @LicenseKey = licensekey
134
+ @PackageName = packagename
135
+ @CreatedAt = createdat
136
+ @UpdatedAt = updatedat
137
+ @ApplicationId = applicationid
138
+ @LicenseUrl = licenseurl
139
+ @XMagics = xmagics
140
+ @MacBundleId = macbundleid
141
+ @WinProcessName = winprocessname
142
+ @DomainList = domainlist
143
+ @AppId = appid
144
+ end
145
+
146
+ def deserialize(params)
147
+ @AppName = params['AppName']
148
+ @BundleId = params['BundleId']
149
+ @AppType = params['AppType']
150
+ unless params['Licenses'].nil?
151
+ @Licenses = []
152
+ params['Licenses'].each do |i|
153
+ license_tmp = License.new
154
+ license_tmp.deserialize(i)
155
+ @Licenses << license_tmp
156
+ end
157
+ end
158
+ @LicenseKey = params['LicenseKey']
159
+ @PackageName = params['PackageName']
160
+ @CreatedAt = params['CreatedAt']
161
+ @UpdatedAt = params['UpdatedAt']
162
+ @ApplicationId = params['ApplicationId']
163
+ @LicenseUrl = params['LicenseUrl']
164
+ unless params['XMagics'].nil?
165
+ @XMagics = []
166
+ params['XMagics'].each do |i|
167
+ xmagicinfo_tmp = XMagicInfo.new
168
+ xmagicinfo_tmp.deserialize(i)
169
+ @XMagics << xmagicinfo_tmp
170
+ end
171
+ end
172
+ @MacBundleId = params['MacBundleId']
173
+ @WinProcessName = params['WinProcessName']
174
+ @DomainList = params['DomainList']
175
+ @AppId = params['AppId']
176
+ end
177
+ end
178
+
179
+ # CreateActivityLicense请求参数结构体
180
+ class CreateActivityLicenseRequest < TencentCloud::Common::AbstractModel
181
+ # @param Activity: 活动Id
182
+ # @type Activity: String
183
+
184
+ attr_accessor :Activity
185
+
186
+ def initialize(activity=nil)
187
+ @Activity = activity
188
+ end
189
+
190
+ def deserialize(params)
191
+ @Activity = params['Activity']
192
+ end
193
+ end
194
+
195
+ # CreateActivityLicense返回参数结构体
196
+ class CreateActivityLicenseResponse < TencentCloud::Common::AbstractModel
197
+ # @param AppId: 用户appid
198
+ # @type AppId: String
199
+ # @param AppName: app名称
200
+ # 注意:此字段可能返回 null,表示取不到有效值。
201
+ # @type AppName: String
202
+ # @param BundleId: ios包名
203
+ # 注意:此字段可能返回 null,表示取不到有效值。
204
+ # @type BundleId: String
205
+ # @param PackageName: 安卓包名
206
+ # @type PackageName: String
207
+ # @param Duration: 有效时长
208
+ # 注意:此字段可能返回 null,表示取不到有效值。
209
+ # @type Duration: Integer
210
+ # @param StartTime: 开始时间
211
+ # @type StartTime: String
212
+ # @param EndTime: 结束时间
213
+ # @type EndTime: String
214
+ # @param LicenseKey: license秘钥
215
+ # @type LicenseKey: String
216
+ # @param LicenseUrl: license 授权文件下载链接
217
+ # @type LicenseUrl: String
218
+ # @param ResidueDay: license剩余天数,最后一天以及过期显示0
219
+ # 注意:此字段可能返回 null,表示取不到有效值。
220
+ # @type ResidueDay: Integer
221
+ # @param Residue: license剩余秒数
222
+ # 注意:此字段可能返回 null,表示取不到有效值。
223
+ # @type Residue: Integer
224
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
225
+ # @type RequestId: String
226
+
227
+ attr_accessor :AppId, :AppName, :BundleId, :PackageName, :Duration, :StartTime, :EndTime, :LicenseKey, :LicenseUrl, :ResidueDay, :Residue, :RequestId
228
+
229
+ def initialize(appid=nil, appname=nil, bundleid=nil, packagename=nil, duration=nil, starttime=nil, endtime=nil, licensekey=nil, licenseurl=nil, residueday=nil, residue=nil, requestid=nil)
230
+ @AppId = appid
231
+ @AppName = appname
232
+ @BundleId = bundleid
233
+ @PackageName = packagename
234
+ @Duration = duration
235
+ @StartTime = starttime
236
+ @EndTime = endtime
237
+ @LicenseKey = licensekey
238
+ @LicenseUrl = licenseurl
239
+ @ResidueDay = residueday
240
+ @Residue = residue
241
+ @RequestId = requestid
242
+ end
243
+
244
+ def deserialize(params)
245
+ @AppId = params['AppId']
246
+ @AppName = params['AppName']
247
+ @BundleId = params['BundleId']
248
+ @PackageName = params['PackageName']
249
+ @Duration = params['Duration']
250
+ @StartTime = params['StartTime']
251
+ @EndTime = params['EndTime']
252
+ @LicenseKey = params['LicenseKey']
253
+ @LicenseUrl = params['LicenseUrl']
254
+ @ResidueDay = params['ResidueDay']
255
+ @Residue = params['Residue']
256
+ @RequestId = params['RequestId']
257
+ end
258
+ end
259
+
260
+ # CreateApplicationAndBindLicense请求参数结构体
261
+ class CreateApplicationAndBindLicenseRequest < TencentCloud::Common::AbstractModel
262
+ # @param AppName: 应用名
263
+ # @type AppName: String
264
+ # @param BundleId: 应用ID
265
+ # @type BundleId: String
266
+ # @param PackageName: 包名
267
+ # @type PackageName: String
268
+ # @param ResourceIds: 资源包ID
269
+ # @type ResourceIds: Array
270
+ # @param CompanyPermit: 营业执照
271
+ # @type CompanyPermit: String
272
+ # @param CompanyType: 公司类型
273
+ # @type CompanyType: String
274
+ # @param CompanyName: 公司名称
275
+ # @type CompanyName: String
276
+ # @param XMagicResourceIds: 优图资源id列表
277
+ # @type XMagicResourceIds: Array
278
+ # @param MacBundleId: Mac 进程名
279
+ # @type MacBundleId: String
280
+ # @param WinProcessName: Windows 进程名
281
+ # @type WinProcessName: String
282
+ # @param DomainList: 要开通的域名列表
283
+ # @type DomainList: Array
284
+ # @param Platform: 要开通的端,web/mobile/pc
285
+ # @type Platform: String
286
+
287
+ attr_accessor :AppName, :BundleId, :PackageName, :ResourceIds, :CompanyPermit, :CompanyType, :CompanyName, :XMagicResourceIds, :MacBundleId, :WinProcessName, :DomainList, :Platform
288
+
289
+ def initialize(appname=nil, bundleid=nil, packagename=nil, resourceids=nil, companypermit=nil, companytype=nil, companyname=nil, xmagicresourceids=nil, macbundleid=nil, winprocessname=nil, domainlist=nil, platform=nil)
290
+ @AppName = appname
291
+ @BundleId = bundleid
292
+ @PackageName = packagename
293
+ @ResourceIds = resourceids
294
+ @CompanyPermit = companypermit
295
+ @CompanyType = companytype
296
+ @CompanyName = companyname
297
+ @XMagicResourceIds = xmagicresourceids
298
+ @MacBundleId = macbundleid
299
+ @WinProcessName = winprocessname
300
+ @DomainList = domainlist
301
+ @Platform = platform
302
+ end
303
+
304
+ def deserialize(params)
305
+ @AppName = params['AppName']
306
+ @BundleId = params['BundleId']
307
+ @PackageName = params['PackageName']
308
+ @ResourceIds = params['ResourceIds']
309
+ @CompanyPermit = params['CompanyPermit']
310
+ @CompanyType = params['CompanyType']
311
+ @CompanyName = params['CompanyName']
312
+ @XMagicResourceIds = params['XMagicResourceIds']
313
+ @MacBundleId = params['MacBundleId']
314
+ @WinProcessName = params['WinProcessName']
315
+ @DomainList = params['DomainList']
316
+ @Platform = params['Platform']
317
+ end
318
+ end
319
+
320
+ # CreateApplicationAndBindLicense返回参数结构体
321
+ class CreateApplicationAndBindLicenseResponse < TencentCloud::Common::AbstractModel
322
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
323
+ # @type RequestId: String
324
+
325
+ attr_accessor :RequestId
326
+
327
+ def initialize(requestid=nil)
328
+ @RequestId = requestid
329
+ end
330
+
331
+ def deserialize(params)
332
+ @RequestId = params['RequestId']
333
+ end
334
+ end
335
+
336
+ # CreateApplicationAndVideo请求参数结构体
337
+ class CreateApplicationAndVideoRequest < TencentCloud::Common::AbstractModel
338
+ # @param AppName: 应用名称
339
+ # @type AppName: String
340
+ # @param BundleId: Ios 包名
341
+ # @type BundleId: String
342
+ # @param PackageName: Android 包名
343
+ # @type PackageName: String
344
+
345
+ attr_accessor :AppName, :BundleId, :PackageName
346
+
347
+ def initialize(appname=nil, bundleid=nil, packagename=nil)
348
+ @AppName = appname
349
+ @BundleId = bundleid
350
+ @PackageName = packagename
351
+ end
352
+
353
+ def deserialize(params)
354
+ @AppName = params['AppName']
355
+ @BundleId = params['BundleId']
356
+ @PackageName = params['PackageName']
357
+ end
358
+ end
359
+
360
+ # CreateApplicationAndVideo返回参数结构体
361
+ class CreateApplicationAndVideoResponse < TencentCloud::Common::AbstractModel
362
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
363
+ # @type RequestId: String
364
+
365
+ attr_accessor :RequestId
366
+
367
+ def initialize(requestid=nil)
368
+ @RequestId = requestid
369
+ end
370
+
371
+ def deserialize(params)
372
+ @RequestId = params['RequestId']
373
+ end
374
+ end
375
+
376
+ # CreateApplicationAndWebPlayerLicense请求参数结构体
377
+ class CreateApplicationAndWebPlayerLicenseRequest < TencentCloud::Common::AbstractModel
378
+ # @param AppName: 应用名称
379
+ # @type AppName: String
380
+ # @param DomainList: 域名列表
381
+ # @type DomainList: Array
382
+
383
+ attr_accessor :AppName, :DomainList
384
+
385
+ def initialize(appname=nil, domainlist=nil)
386
+ @AppName = appname
387
+ @DomainList = domainlist
388
+ end
389
+
390
+ def deserialize(params)
391
+ @AppName = params['AppName']
392
+ @DomainList = params['DomainList']
393
+ end
394
+ end
395
+
396
+ # CreateApplicationAndWebPlayerLicense返回参数结构体
397
+ class CreateApplicationAndWebPlayerLicenseResponse < TencentCloud::Common::AbstractModel
398
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
399
+ # @type RequestId: String
400
+
401
+ attr_accessor :RequestId
402
+
403
+ def initialize(requestid=nil)
404
+ @RequestId = requestid
405
+ end
406
+
407
+ def deserialize(params)
408
+ @RequestId = params['RequestId']
409
+ end
410
+ end
411
+
412
+ # CreateLicense请求参数结构体
413
+ class CreateLicenseRequest < TencentCloud::Common::AbstractModel
414
+ # @param ApplicationId: 应用ID
415
+ # @type ApplicationId: String
416
+ # @param ResourceIds: 资源包ID
417
+ # @type ResourceIds: Array
418
+ # @param Group: url地址分组
419
+ # @type Group: Integer
420
+
421
+ attr_accessor :ApplicationId, :ResourceIds, :Group
422
+
423
+ def initialize(applicationid=nil, resourceids=nil, group=nil)
424
+ @ApplicationId = applicationid
425
+ @ResourceIds = resourceids
426
+ @Group = group
427
+ end
428
+
429
+ def deserialize(params)
430
+ @ApplicationId = params['ApplicationId']
431
+ @ResourceIds = params['ResourceIds']
432
+ @Group = params['Group']
433
+ end
434
+ end
435
+
436
+ # CreateLicense返回参数结构体
437
+ class CreateLicenseResponse < TencentCloud::Common::AbstractModel
438
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
439
+ # @type RequestId: String
440
+
441
+ attr_accessor :RequestId
442
+
443
+ def initialize(requestid=nil)
444
+ @RequestId = requestid
445
+ end
446
+
447
+ def deserialize(params)
448
+ @RequestId = params['RequestId']
449
+ end
450
+ end
451
+
452
+ # CreateTestXMagic请求参数结构体
453
+ class CreateTestXMagicRequest < TencentCloud::Common::AbstractModel
454
+ # @param ApplicationId: 应用id
455
+ # @type ApplicationId: Integer
456
+ # @param CompanyPermit: 营业执照
457
+ # @type CompanyPermit: String
458
+ # @param CompanyType: 公司类型
459
+ # @type CompanyType: String
460
+ # @param CompanyName: 公司名称
461
+ # @type CompanyName: String
462
+ # @param PlanList: 测试套餐名称
463
+ # @type PlanList: Array
464
+
465
+ attr_accessor :ApplicationId, :CompanyPermit, :CompanyType, :CompanyName, :PlanList
466
+
467
+ def initialize(applicationid=nil, companypermit=nil, companytype=nil, companyname=nil, planlist=nil)
468
+ @ApplicationId = applicationid
469
+ @CompanyPermit = companypermit
470
+ @CompanyType = companytype
471
+ @CompanyName = companyname
472
+ @PlanList = planlist
473
+ end
474
+
475
+ def deserialize(params)
476
+ @ApplicationId = params['ApplicationId']
477
+ @CompanyPermit = params['CompanyPermit']
478
+ @CompanyType = params['CompanyType']
479
+ @CompanyName = params['CompanyName']
480
+ @PlanList = params['PlanList']
481
+ end
482
+ end
483
+
484
+ # CreateTestXMagic返回参数结构体
485
+ class CreateTestXMagicResponse < TencentCloud::Common::AbstractModel
486
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
487
+ # @type RequestId: String
488
+
489
+ attr_accessor :RequestId
490
+
491
+ def initialize(requestid=nil)
492
+ @RequestId = requestid
493
+ end
494
+
495
+ def deserialize(params)
496
+ @RequestId = params['RequestId']
497
+ end
498
+ end
499
+
500
+ # CreateTrialApplicationAndLicense请求参数结构体
501
+ class CreateTrialApplicationAndLicenseRequest < TencentCloud::Common::AbstractModel
502
+ # @param AppName: 应用名
503
+ # @type AppName: String
504
+ # @param BundleId: 应用ID
505
+ # @type BundleId: String
506
+ # @param PackageName: 包名
507
+ # @type PackageName: String
508
+ # @param FeatureIds: 功能 id 数组
509
+ # @type FeatureIds: Array
510
+ # @param XMagic: 是否要开通优图功能
511
+ # @type XMagic: Boolean
512
+ # @param CompanyPermit: 营业执照
513
+ # @type CompanyPermit: String
514
+ # @param CompanyType: 公司类型
515
+ # @type CompanyType: String
516
+ # @param CompanyName: 公司名称
517
+ # @type CompanyName: String
518
+ # @param PlanList: 要开通的测试功能名称,基础套餐只能有一个
519
+ # @type PlanList: Array
520
+ # @param MacBundleId: Mac 进程名
521
+ # @type MacBundleId: String
522
+ # @param WinProcessName: Windows 进程名
523
+ # @type WinProcessName: String
524
+ # @param Platform: 要创建到哪个平台,web、mobile、pc,默认mobile
525
+ # @type Platform: String
526
+ # @param DomainList: 授权域名列表
527
+ # @type DomainList: Array
528
+
529
+ attr_accessor :AppName, :BundleId, :PackageName, :FeatureIds, :XMagic, :CompanyPermit, :CompanyType, :CompanyName, :PlanList, :MacBundleId, :WinProcessName, :Platform, :DomainList
530
+
531
+ def initialize(appname=nil, bundleid=nil, packagename=nil, featureids=nil, xmagic=nil, companypermit=nil, companytype=nil, companyname=nil, planlist=nil, macbundleid=nil, winprocessname=nil, platform=nil, domainlist=nil)
532
+ @AppName = appname
533
+ @BundleId = bundleid
534
+ @PackageName = packagename
535
+ @FeatureIds = featureids
536
+ @XMagic = xmagic
537
+ @CompanyPermit = companypermit
538
+ @CompanyType = companytype
539
+ @CompanyName = companyname
540
+ @PlanList = planlist
541
+ @MacBundleId = macbundleid
542
+ @WinProcessName = winprocessname
543
+ @Platform = platform
544
+ @DomainList = domainlist
545
+ end
546
+
547
+ def deserialize(params)
548
+ @AppName = params['AppName']
549
+ @BundleId = params['BundleId']
550
+ @PackageName = params['PackageName']
551
+ @FeatureIds = params['FeatureIds']
552
+ @XMagic = params['XMagic']
553
+ @CompanyPermit = params['CompanyPermit']
554
+ @CompanyType = params['CompanyType']
555
+ @CompanyName = params['CompanyName']
556
+ @PlanList = params['PlanList']
557
+ @MacBundleId = params['MacBundleId']
558
+ @WinProcessName = params['WinProcessName']
559
+ @Platform = params['Platform']
560
+ @DomainList = params['DomainList']
561
+ end
562
+ end
563
+
564
+ # CreateTrialApplicationAndLicense返回参数结构体
565
+ class CreateTrialApplicationAndLicenseResponse < TencentCloud::Common::AbstractModel
566
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
567
+ # @type RequestId: String
568
+
569
+ attr_accessor :RequestId
570
+
571
+ def initialize(requestid=nil)
572
+ @RequestId = requestid
573
+ end
574
+
575
+ def deserialize(params)
576
+ @RequestId = params['RequestId']
577
+ end
578
+ end
579
+
580
+ # CreateTrialLicense请求参数结构体
581
+ class CreateTrialLicenseRequest < TencentCloud::Common::AbstractModel
582
+ # @param ApplicationId: 应用ID
583
+ # @type ApplicationId: String
584
+ # @param FeatureIds: 功能 ID 数组
585
+ # @type FeatureIds: Array
586
+ # @param Group: Url分组
587
+ # @type Group: Integer
588
+
589
+ attr_accessor :ApplicationId, :FeatureIds, :Group
590
+
591
+ def initialize(applicationid=nil, featureids=nil, group=nil)
592
+ @ApplicationId = applicationid
593
+ @FeatureIds = featureids
594
+ @Group = group
595
+ end
596
+
597
+ def deserialize(params)
598
+ @ApplicationId = params['ApplicationId']
599
+ @FeatureIds = params['FeatureIds']
600
+ @Group = params['Group']
601
+ end
602
+ end
603
+
604
+ # CreateTrialLicense返回参数结构体
605
+ class CreateTrialLicenseResponse < TencentCloud::Common::AbstractModel
606
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
607
+ # @type RequestId: String
608
+
609
+ attr_accessor :RequestId
610
+
611
+ def initialize(requestid=nil)
612
+ @RequestId = requestid
613
+ end
614
+
615
+ def deserialize(params)
616
+ @RequestId = params['RequestId']
617
+ end
618
+ end
619
+
620
+ # CreateXMagic请求参数结构体
621
+ class CreateXMagicRequest < TencentCloud::Common::AbstractModel
622
+ # @param ApplicationId: 应用ApplicationId
623
+ # @type ApplicationId: Integer
624
+ # @param CompanyPermit: 营业执照
625
+ # @type CompanyPermit: String
626
+ # @param CompanyType: 公司类型
627
+ # @type CompanyType: String
628
+ # @param CompanyName: 公司名称
629
+ # @type CompanyName: String
630
+ # @param XMagicResourceIds: 优图资源id列表
631
+ # @type XMagicResourceIds: Array
632
+
633
+ attr_accessor :ApplicationId, :CompanyPermit, :CompanyType, :CompanyName, :XMagicResourceIds
634
+
635
+ def initialize(applicationid=nil, companypermit=nil, companytype=nil, companyname=nil, xmagicresourceids=nil)
636
+ @ApplicationId = applicationid
637
+ @CompanyPermit = companypermit
638
+ @CompanyType = companytype
639
+ @CompanyName = companyname
640
+ @XMagicResourceIds = xmagicresourceids
641
+ end
642
+
643
+ def deserialize(params)
644
+ @ApplicationId = params['ApplicationId']
645
+ @CompanyPermit = params['CompanyPermit']
646
+ @CompanyType = params['CompanyType']
647
+ @CompanyName = params['CompanyName']
648
+ @XMagicResourceIds = params['XMagicResourceIds']
649
+ end
650
+ end
651
+
652
+ # CreateXMagic返回参数结构体
653
+ class CreateXMagicResponse < TencentCloud::Common::AbstractModel
654
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
655
+ # @type RequestId: String
656
+
657
+ attr_accessor :RequestId
658
+
659
+ def initialize(requestid=nil)
660
+ @RequestId = requestid
661
+ end
662
+
663
+ def deserialize(params)
664
+ @RequestId = params['RequestId']
665
+ end
666
+ end
667
+
668
+ # DescribeFeatureList请求参数结构体
669
+ class DescribeFeatureListRequest < TencentCloud::Common::AbstractModel
670
+
671
+
672
+ def initialize()
673
+ end
674
+
675
+ def deserialize(params)
676
+ end
677
+ end
678
+
679
+ # DescribeFeatureList返回参数结构体
680
+ class DescribeFeatureListResponse < TencentCloud::Common::AbstractModel
681
+ # @param FeatureList: 功能列表
682
+ # 注意:此字段可能返回 null,表示取不到有效值。
683
+ # @type FeatureList: Array
684
+ # @param XMagicFeatureList: 优图功能列表
685
+ # 注意:此字段可能返回 null,表示取不到有效值。
686
+ # @type XMagicFeatureList: Array
687
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
688
+ # @type RequestId: String
689
+
690
+ attr_accessor :FeatureList, :XMagicFeatureList, :RequestId
691
+
692
+ def initialize(featurelist=nil, xmagicfeaturelist=nil, requestid=nil)
693
+ @FeatureList = featurelist
694
+ @XMagicFeatureList = xmagicfeaturelist
695
+ @RequestId = requestid
696
+ end
697
+
698
+ def deserialize(params)
699
+ unless params['FeatureList'].nil?
700
+ @FeatureList = []
701
+ params['FeatureList'].each do |i|
702
+ videofeature_tmp = VideoFeature.new
703
+ videofeature_tmp.deserialize(i)
704
+ @FeatureList << videofeature_tmp
705
+ end
706
+ end
707
+ unless params['XMagicFeatureList'].nil?
708
+ @XMagicFeatureList = []
709
+ params['XMagicFeatureList'].each do |i|
710
+ xmagicfeature_tmp = XMagicFeature.new
711
+ xmagicfeature_tmp.deserialize(i)
712
+ @XMagicFeatureList << xmagicfeature_tmp
713
+ end
714
+ end
715
+ @RequestId = params['RequestId']
716
+ end
717
+ end
718
+
719
+ # DescribeLicenseList请求参数结构体
720
+ class DescribeLicenseListRequest < TencentCloud::Common::AbstractModel
721
+
722
+
723
+ def initialize()
724
+ end
725
+
726
+ def deserialize(params)
727
+ end
728
+ end
729
+
730
+ # DescribeLicenseList返回参数结构体
731
+ class DescribeLicenseListResponse < TencentCloud::Common::AbstractModel
732
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
733
+ # @type RequestId: String
734
+
735
+ attr_accessor :RequestId
736
+
737
+ def initialize(requestid=nil)
738
+ @RequestId = requestid
739
+ end
740
+
741
+ def deserialize(params)
742
+ @RequestId = params['RequestId']
743
+ end
744
+ end
745
+
746
+ # DescribeNews请求参数结构体
747
+ class DescribeNewsRequest < TencentCloud::Common::AbstractModel
748
+ # @param PageNumber: 页码,从0开始
749
+ # @type PageNumber: Integer
750
+ # @param PageSize: 每页数据量
751
+ # @type PageSize: Integer
752
+
753
+ attr_accessor :PageNumber, :PageSize
754
+
755
+ def initialize(pagenumber=nil, pagesize=nil)
756
+ @PageNumber = pagenumber
757
+ @PageSize = pagesize
758
+ end
759
+
760
+ def deserialize(params)
761
+ @PageNumber = params['PageNumber']
762
+ @PageSize = params['PageSize']
763
+ end
764
+ end
765
+
766
+ # DescribeNews返回参数结构体
767
+ class DescribeNewsResponse < TencentCloud::Common::AbstractModel
768
+ # @param NewsList: 产品动态详情列表
769
+ # @type NewsList: Array
770
+ # @param Count: 总数据量
771
+ # @type Count: Integer
772
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
773
+ # @type RequestId: String
774
+
775
+ attr_accessor :NewsList, :Count, :RequestId
776
+
777
+ def initialize(newslist=nil, count=nil, requestid=nil)
778
+ @NewsList = newslist
779
+ @Count = count
780
+ @RequestId = requestid
781
+ end
782
+
783
+ def deserialize(params)
784
+ unless params['NewsList'].nil?
785
+ @NewsList = []
786
+ params['NewsList'].each do |i|
787
+ newsinfo_tmp = NewsInfo.new
788
+ newsinfo_tmp.deserialize(i)
789
+ @NewsList << newsinfo_tmp
790
+ end
791
+ end
792
+ @Count = params['Count']
793
+ @RequestId = params['RequestId']
794
+ end
795
+ end
796
+
797
+ # DescribeSTS请求参数结构体
798
+ class DescribeSTSRequest < TencentCloud::Common::AbstractModel
799
+
800
+
801
+ def initialize()
802
+ end
803
+
804
+ def deserialize(params)
805
+ end
806
+ end
807
+
808
+ # DescribeSTS返回参数结构体
809
+ class DescribeSTSResponse < TencentCloud::Common::AbstractModel
810
+ # @param Bucket: 桶名称
811
+ # @type Bucket: String
812
+ # @param Region: 地区
813
+ # @type Region: String
814
+ # @param StartTime: 开始生效时间
815
+ # @type StartTime: Integer
816
+ # @param ExpiredTime: 临时token过期时间
817
+ # @type ExpiredTime: Integer
818
+ # @param SessionToken: 临时token
819
+ # @type SessionToken: String
820
+ # @param TmpSecretId: 临时SecretId
821
+ # @type TmpSecretId: String
822
+ # @param TmpSecretKey: 临时秘钥
823
+ # @type TmpSecretKey: String
824
+ # @param Path: 上传的根路径,底下可以多层
825
+ # @type Path: String
826
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
827
+ # @type RequestId: String
828
+
829
+ attr_accessor :Bucket, :Region, :StartTime, :ExpiredTime, :SessionToken, :TmpSecretId, :TmpSecretKey, :Path, :RequestId
830
+
831
+ def initialize(bucket=nil, region=nil, starttime=nil, expiredtime=nil, sessiontoken=nil, tmpsecretid=nil, tmpsecretkey=nil, path=nil, requestid=nil)
832
+ @Bucket = bucket
833
+ @Region = region
834
+ @StartTime = starttime
835
+ @ExpiredTime = expiredtime
836
+ @SessionToken = sessiontoken
837
+ @TmpSecretId = tmpsecretid
838
+ @TmpSecretKey = tmpsecretkey
839
+ @Path = path
840
+ @RequestId = requestid
841
+ end
842
+
843
+ def deserialize(params)
844
+ @Bucket = params['Bucket']
845
+ @Region = params['Region']
846
+ @StartTime = params['StartTime']
847
+ @ExpiredTime = params['ExpiredTime']
848
+ @SessionToken = params['SessionToken']
849
+ @TmpSecretId = params['TmpSecretId']
850
+ @TmpSecretKey = params['TmpSecretKey']
851
+ @Path = params['Path']
852
+ @RequestId = params['RequestId']
853
+ end
854
+ end
855
+
856
+ # DescribeTrialFeature请求参数结构体
857
+ class DescribeTrialFeatureRequest < TencentCloud::Common::AbstractModel
858
+
859
+
860
+ def initialize()
861
+ end
862
+
863
+ def deserialize(params)
864
+ end
865
+ end
866
+
867
+ # DescribeTrialFeature返回参数结构体
868
+ class DescribeTrialFeatureResponse < TencentCloud::Common::AbstractModel
869
+ # @param FeatureList: 功能列表
870
+ # @type FeatureList: Array
871
+ # @param XMagicTrial: 可以开通的优图测试功能
872
+ # 注意:此字段可能返回 null,表示取不到有效值。
873
+ # @type XMagicTrial: :class:`Tencentcloud::Vcube.v20220410.models.XMagicTrial`
874
+ # @param XMagicTrialList: 可以开通的优图测试功能列表
875
+ # 注意:此字段可能返回 null,表示取不到有效值。
876
+ # @type XMagicTrialList: Array
877
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
878
+ # @type RequestId: String
879
+
880
+ attr_accessor :FeatureList, :XMagicTrial, :XMagicTrialList, :RequestId
881
+
882
+ def initialize(featurelist=nil, xmagictrial=nil, xmagictriallist=nil, requestid=nil)
883
+ @FeatureList = featurelist
884
+ @XMagicTrial = xmagictrial
885
+ @XMagicTrialList = xmagictriallist
886
+ @RequestId = requestid
887
+ end
888
+
889
+ def deserialize(params)
890
+ unless params['FeatureList'].nil?
891
+ @FeatureList = []
892
+ params['FeatureList'].each do |i|
893
+ feature_tmp = Feature.new
894
+ feature_tmp.deserialize(i)
895
+ @FeatureList << feature_tmp
896
+ end
897
+ end
898
+ unless params['XMagicTrial'].nil?
899
+ @XMagicTrial = XMagicTrial.new
900
+ @XMagicTrial.deserialize(params['XMagicTrial'])
901
+ end
902
+ unless params['XMagicTrialList'].nil?
903
+ @XMagicTrialList = []
904
+ params['XMagicTrialList'].each do |i|
905
+ xmagictrial_tmp = XMagicTrial.new
906
+ xmagictrial_tmp.deserialize(i)
907
+ @XMagicTrialList << xmagictrial_tmp
908
+ end
909
+ end
910
+ @RequestId = params['RequestId']
911
+ end
912
+ end
913
+
914
+ # DescribeUserConfig请求参数结构体
915
+ class DescribeUserConfigRequest < TencentCloud::Common::AbstractModel
916
+
917
+
918
+ def initialize()
919
+ end
920
+
921
+ def deserialize(params)
922
+ end
923
+ end
924
+
925
+ # DescribeUserConfig返回参数结构体
926
+ class DescribeUserConfigResponse < TencentCloud::Common::AbstractModel
927
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
928
+ # @type RequestId: String
929
+
930
+ attr_accessor :RequestId
931
+
932
+ def initialize(requestid=nil)
933
+ @RequestId = requestid
934
+ end
935
+
936
+ def deserialize(params)
937
+ @RequestId = params['RequestId']
938
+ end
939
+ end
940
+
941
+ # DescribeVcubeApplicationAndLicense请求参数结构体
942
+ class DescribeVcubeApplicationAndLicenseRequest < TencentCloud::Common::AbstractModel
943
+ # @param BizType: 查询对应业务方的license,直播:live 点播:vod
944
+ # @type BizType: String
945
+ # @param AppType: 应用类型测试:test,正式:formal
946
+ # @type AppType: String
947
+ # @param AppName: 应用名称,模糊查询
948
+ # @type AppName: String
949
+ # @param BundleId: Ios包名,模糊查询
950
+ # @type BundleId: String
951
+ # @param PackageName: Android 包名,模糊查询
952
+ # @type PackageName: String
953
+ # @param Platform: 平台信息,pc 或者 mobile
954
+ # @type Platform: String
955
+ # @param MacBundleId: Mac 进程名
956
+ # @type MacBundleId: String
957
+ # @param WinProcessName: Windows 进程名
958
+ # @type WinProcessName: String
959
+
960
+ attr_accessor :BizType, :AppType, :AppName, :BundleId, :PackageName, :Platform, :MacBundleId, :WinProcessName
961
+
962
+ def initialize(biztype=nil, apptype=nil, appname=nil, bundleid=nil, packagename=nil, platform=nil, macbundleid=nil, winprocessname=nil)
963
+ @BizType = biztype
964
+ @AppType = apptype
965
+ @AppName = appname
966
+ @BundleId = bundleid
967
+ @PackageName = packagename
968
+ @Platform = platform
969
+ @MacBundleId = macbundleid
970
+ @WinProcessName = winprocessname
971
+ end
972
+
973
+ def deserialize(params)
974
+ @BizType = params['BizType']
975
+ @AppType = params['AppType']
976
+ @AppName = params['AppName']
977
+ @BundleId = params['BundleId']
978
+ @PackageName = params['PackageName']
979
+ @Platform = params['Platform']
980
+ @MacBundleId = params['MacBundleId']
981
+ @WinProcessName = params['WinProcessName']
982
+ end
983
+ end
984
+
985
+ # DescribeVcubeApplicationAndLicense返回参数结构体
986
+ class DescribeVcubeApplicationAndLicenseResponse < TencentCloud::Common::AbstractModel
987
+ # @param ApplicationInfoList: 应用license列表
988
+ # @type ApplicationInfoList: Array
989
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
990
+ # @type RequestId: String
991
+
992
+ attr_accessor :ApplicationInfoList, :RequestId
993
+
994
+ def initialize(applicationinfolist=nil, requestid=nil)
995
+ @ApplicationInfoList = applicationinfolist
996
+ @RequestId = requestid
997
+ end
998
+
999
+ def deserialize(params)
1000
+ unless params['ApplicationInfoList'].nil?
1001
+ @ApplicationInfoList = []
1002
+ params['ApplicationInfoList'].each do |i|
1003
+ applicationinfo_tmp = ApplicationInfo.new
1004
+ applicationinfo_tmp.deserialize(i)
1005
+ @ApplicationInfoList << applicationinfo_tmp
1006
+ end
1007
+ end
1008
+ @RequestId = params['RequestId']
1009
+ end
1010
+ end
1011
+
1012
+ # DescribeVcubeApplicationAndPlayList请求参数结构体
1013
+ class DescribeVcubeApplicationAndPlayListRequest < TencentCloud::Common::AbstractModel
1014
+ # @param BizType: 查询对应业务方的license,直播:live 点播:vod
1015
+ # @type BizType: String
1016
+ # @param AppType: 应用类型测试:test,正式:formal
1017
+ # @type AppType: String
1018
+ # @param AppName: 应用名称,模糊查询
1019
+ # @type AppName: String
1020
+ # @param BundleId: Ios包名,模糊查询
1021
+ # @type BundleId: String
1022
+ # @param PackageName: Android 包名,模糊查询
1023
+ # @type PackageName: String
1024
+ # @param Platform: 平台信息,pc 或者 mobile
1025
+ # @type Platform: String
1026
+ # @param MacBundleId: Mac 进程名
1027
+ # @type MacBundleId: String
1028
+ # @param WinProcessName: Windows 进程名
1029
+ # @type WinProcessName: String
1030
+
1031
+ attr_accessor :BizType, :AppType, :AppName, :BundleId, :PackageName, :Platform, :MacBundleId, :WinProcessName
1032
+
1033
+ def initialize(biztype=nil, apptype=nil, appname=nil, bundleid=nil, packagename=nil, platform=nil, macbundleid=nil, winprocessname=nil)
1034
+ @BizType = biztype
1035
+ @AppType = apptype
1036
+ @AppName = appname
1037
+ @BundleId = bundleid
1038
+ @PackageName = packagename
1039
+ @Platform = platform
1040
+ @MacBundleId = macbundleid
1041
+ @WinProcessName = winprocessname
1042
+ end
1043
+
1044
+ def deserialize(params)
1045
+ @BizType = params['BizType']
1046
+ @AppType = params['AppType']
1047
+ @AppName = params['AppName']
1048
+ @BundleId = params['BundleId']
1049
+ @PackageName = params['PackageName']
1050
+ @Platform = params['Platform']
1051
+ @MacBundleId = params['MacBundleId']
1052
+ @WinProcessName = params['WinProcessName']
1053
+ end
1054
+ end
1055
+
1056
+ # DescribeVcubeApplicationAndPlayList返回参数结构体
1057
+ class DescribeVcubeApplicationAndPlayListResponse < TencentCloud::Common::AbstractModel
1058
+ # @param ApplicationInfoList: 应用license列表
1059
+ # @type ApplicationInfoList: Array
1060
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1061
+ # @type RequestId: String
1062
+
1063
+ attr_accessor :ApplicationInfoList, :RequestId
1064
+
1065
+ def initialize(applicationinfolist=nil, requestid=nil)
1066
+ @ApplicationInfoList = applicationinfolist
1067
+ @RequestId = requestid
1068
+ end
1069
+
1070
+ def deserialize(params)
1071
+ unless params['ApplicationInfoList'].nil?
1072
+ @ApplicationInfoList = []
1073
+ params['ApplicationInfoList'].each do |i|
1074
+ applicationinfo_tmp = ApplicationInfo.new
1075
+ applicationinfo_tmp.deserialize(i)
1076
+ @ApplicationInfoList << applicationinfo_tmp
1077
+ end
1078
+ end
1079
+ @RequestId = params['RequestId']
1080
+ end
1081
+ end
1082
+
1083
+ # DescribeVcubeApplicationAndXMagicList请求参数结构体
1084
+ class DescribeVcubeApplicationAndXMagicListRequest < TencentCloud::Common::AbstractModel
1085
+ # @param BizType: 查询对应业务方的license,直播:live 点播:vod
1086
+ # @type BizType: String
1087
+ # @param AppType: 应用类型测试:test,正式:formal
1088
+ # @type AppType: String
1089
+ # @param AppName: 应用名称,模糊查询
1090
+ # @type AppName: String
1091
+ # @param BundleId: Ios包名,模糊查询
1092
+ # @type BundleId: String
1093
+ # @param PackageName: Android 包名,模糊查询
1094
+ # @type PackageName: String
1095
+ # @param Platform: 平台信息,pc 或者 mobile
1096
+ # @type Platform: String
1097
+ # @param MacBundleId: Mac 进程名
1098
+ # @type MacBundleId: String
1099
+ # @param WinProcessName: Windows 进程名
1100
+ # @type WinProcessName: String
1101
+
1102
+ attr_accessor :BizType, :AppType, :AppName, :BundleId, :PackageName, :Platform, :MacBundleId, :WinProcessName
1103
+
1104
+ def initialize(biztype=nil, apptype=nil, appname=nil, bundleid=nil, packagename=nil, platform=nil, macbundleid=nil, winprocessname=nil)
1105
+ @BizType = biztype
1106
+ @AppType = apptype
1107
+ @AppName = appname
1108
+ @BundleId = bundleid
1109
+ @PackageName = packagename
1110
+ @Platform = platform
1111
+ @MacBundleId = macbundleid
1112
+ @WinProcessName = winprocessname
1113
+ end
1114
+
1115
+ def deserialize(params)
1116
+ @BizType = params['BizType']
1117
+ @AppType = params['AppType']
1118
+ @AppName = params['AppName']
1119
+ @BundleId = params['BundleId']
1120
+ @PackageName = params['PackageName']
1121
+ @Platform = params['Platform']
1122
+ @MacBundleId = params['MacBundleId']
1123
+ @WinProcessName = params['WinProcessName']
1124
+ end
1125
+ end
1126
+
1127
+ # DescribeVcubeApplicationAndXMagicList返回参数结构体
1128
+ class DescribeVcubeApplicationAndXMagicListResponse < TencentCloud::Common::AbstractModel
1129
+ # @param ApplicationInfoList: 应用license列表
1130
+ # @type ApplicationInfoList: Array
1131
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1132
+ # @type RequestId: String
1133
+
1134
+ attr_accessor :ApplicationInfoList, :RequestId
1135
+
1136
+ def initialize(applicationinfolist=nil, requestid=nil)
1137
+ @ApplicationInfoList = applicationinfolist
1138
+ @RequestId = requestid
1139
+ end
1140
+
1141
+ def deserialize(params)
1142
+ unless params['ApplicationInfoList'].nil?
1143
+ @ApplicationInfoList = []
1144
+ params['ApplicationInfoList'].each do |i|
1145
+ applicationinfo_tmp = ApplicationInfo.new
1146
+ applicationinfo_tmp.deserialize(i)
1147
+ @ApplicationInfoList << applicationinfo_tmp
1148
+ end
1149
+ end
1150
+ @RequestId = params['RequestId']
1151
+ end
1152
+ end
1153
+
1154
+ # DescribeVcubeResourcesList请求参数结构体
1155
+ class DescribeVcubeResourcesListRequest < TencentCloud::Common::AbstractModel
1156
+ # @param PageNumber: 查询资源页码
1157
+ # @type PageNumber: Integer
1158
+ # @param PageSize: 每页的数据量
1159
+ # @type PageSize: Integer
1160
+ # @param AppName: 应用名称,模块查询
1161
+ # @type AppName: String
1162
+ # @param ResourceId: 资源Id,资源包id或者license资源id
1163
+ # @type ResourceId: String
1164
+ # @param Word: 资源Id、应用名称、包名
1165
+ # @type Word: String
1166
+ # @param Platform: 查询资源所属平台,web、mobile
1167
+ # @type Platform: String
1168
+
1169
+ attr_accessor :PageNumber, :PageSize, :AppName, :ResourceId, :Word, :Platform
1170
+
1171
+ def initialize(pagenumber=nil, pagesize=nil, appname=nil, resourceid=nil, word=nil, platform=nil)
1172
+ @PageNumber = pagenumber
1173
+ @PageSize = pagesize
1174
+ @AppName = appname
1175
+ @ResourceId = resourceid
1176
+ @Word = word
1177
+ @Platform = platform
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ @PageNumber = params['PageNumber']
1182
+ @PageSize = params['PageSize']
1183
+ @AppName = params['AppName']
1184
+ @ResourceId = params['ResourceId']
1185
+ @Word = params['Word']
1186
+ @Platform = params['Platform']
1187
+ end
1188
+ end
1189
+
1190
+ # DescribeVcubeResourcesList返回参数结构体
1191
+ class DescribeVcubeResourcesListResponse < TencentCloud::Common::AbstractModel
1192
+ # @param ResourceList: 资源列表
1193
+ # @type ResourceList: Array
1194
+ # @param TotalCount: 总数据量
1195
+ # @type TotalCount: Integer
1196
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1197
+ # @type RequestId: String
1198
+
1199
+ attr_accessor :ResourceList, :TotalCount, :RequestId
1200
+
1201
+ def initialize(resourcelist=nil, totalcount=nil, requestid=nil)
1202
+ @ResourceList = resourcelist
1203
+ @TotalCount = totalcount
1204
+ @RequestId = requestid
1205
+ end
1206
+
1207
+ def deserialize(params)
1208
+ unless params['ResourceList'].nil?
1209
+ @ResourceList = []
1210
+ params['ResourceList'].each do |i|
1211
+ licenseresourceinfo_tmp = LicenseResourceInfo.new
1212
+ licenseresourceinfo_tmp.deserialize(i)
1213
+ @ResourceList << licenseresourceinfo_tmp
1214
+ end
1215
+ end
1216
+ @TotalCount = params['TotalCount']
1217
+ @RequestId = params['RequestId']
1218
+ end
1219
+ end
1220
+
1221
+ # DescribeVcubeResources请求参数结构体
1222
+ class DescribeVcubeResourcesRequest < TencentCloud::Common::AbstractModel
1223
+ # @param Platform: 查找那个平台的资源
1224
+ # @type Platform: String
1225
+
1226
+ attr_accessor :Platform
1227
+
1228
+ def initialize(platform=nil)
1229
+ @Platform = platform
1230
+ end
1231
+
1232
+ def deserialize(params)
1233
+ @Platform = params['Platform']
1234
+ end
1235
+ end
1236
+
1237
+ # DescribeVcubeResources返回参数结构体
1238
+ class DescribeVcubeResourcesResponse < TencentCloud::Common::AbstractModel
1239
+ # @param ResourceList: 资源列表
1240
+ # @type ResourceList: Array
1241
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1242
+ # @type RequestId: String
1243
+
1244
+ attr_accessor :ResourceList, :RequestId
1245
+
1246
+ def initialize(resourcelist=nil, requestid=nil)
1247
+ @ResourceList = resourcelist
1248
+ @RequestId = requestid
1249
+ end
1250
+
1251
+ def deserialize(params)
1252
+ unless params['ResourceList'].nil?
1253
+ @ResourceList = []
1254
+ params['ResourceList'].each do |i|
1255
+ licenseresourcesimpleinfo_tmp = LicenseResourceSimpleInfo.new
1256
+ licenseresourcesimpleinfo_tmp.deserialize(i)
1257
+ @ResourceList << licenseresourcesimpleinfo_tmp
1258
+ end
1259
+ end
1260
+ @RequestId = params['RequestId']
1261
+ end
1262
+ end
1263
+
1264
+ # DescribeXMagicResourceList请求参数结构体
1265
+ class DescribeXMagicResourceListRequest < TencentCloud::Common::AbstractModel
1266
+ # @param PageNumber: 分页页码 第一页是0
1267
+ # @type PageNumber: Integer
1268
+ # @param PageSize: 每页数量
1269
+ # @type PageSize: Integer
1270
+ # @param AppName: 关联的应用名称
1271
+ # @type AppName: String
1272
+ # @param ResourceId: 优图资源Id
1273
+ # @type ResourceId: String
1274
+ # @param Word: 查询关键字,资源Id、应用名称、包名
1275
+ # @type Word: String
1276
+ # @param Platform: 平台信息,pc 或者 mobile
1277
+ # @type Platform: String
1278
+ # @param BizType: 所属业务,xmagic:优图, avatar:虚拟人,不传查全部
1279
+ # @type BizType: String
1280
+
1281
+ attr_accessor :PageNumber, :PageSize, :AppName, :ResourceId, :Word, :Platform, :BizType
1282
+
1283
+ def initialize(pagenumber=nil, pagesize=nil, appname=nil, resourceid=nil, word=nil, platform=nil, biztype=nil)
1284
+ @PageNumber = pagenumber
1285
+ @PageSize = pagesize
1286
+ @AppName = appname
1287
+ @ResourceId = resourceid
1288
+ @Word = word
1289
+ @Platform = platform
1290
+ @BizType = biztype
1291
+ end
1292
+
1293
+ def deserialize(params)
1294
+ @PageNumber = params['PageNumber']
1295
+ @PageSize = params['PageSize']
1296
+ @AppName = params['AppName']
1297
+ @ResourceId = params['ResourceId']
1298
+ @Word = params['Word']
1299
+ @Platform = params['Platform']
1300
+ @BizType = params['BizType']
1301
+ end
1302
+ end
1303
+
1304
+ # DescribeXMagicResourceList返回参数结构体
1305
+ class DescribeXMagicResourceListResponse < TencentCloud::Common::AbstractModel
1306
+ # @param Resources: 优图资源包信息
1307
+ # 注意:此字段可能返回 null,表示取不到有效值。
1308
+ # @type Resources: Array
1309
+ # @param Count: 资源数量
1310
+ # 注意:此字段可能返回 null,表示取不到有效值。
1311
+ # @type Count: Integer
1312
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1313
+ # @type RequestId: String
1314
+
1315
+ attr_accessor :Resources, :Count, :RequestId
1316
+
1317
+ def initialize(resources=nil, count=nil, requestid=nil)
1318
+ @Resources = resources
1319
+ @Count = count
1320
+ @RequestId = requestid
1321
+ end
1322
+
1323
+ def deserialize(params)
1324
+ unless params['Resources'].nil?
1325
+ @Resources = []
1326
+ params['Resources'].each do |i|
1327
+ xmagicresourcesimpleinfo_tmp = XMagicResourceSimpleInfo.new
1328
+ xmagicresourcesimpleinfo_tmp.deserialize(i)
1329
+ @Resources << xmagicresourcesimpleinfo_tmp
1330
+ end
1331
+ end
1332
+ @Count = params['Count']
1333
+ @RequestId = params['RequestId']
1334
+ end
1335
+ end
1336
+
1337
+ # DescribeXMagicResource请求参数结构体
1338
+ class DescribeXMagicResourceRequest < TencentCloud::Common::AbstractModel
1339
+ # @param PageNumber: 分页页码 第一页是0
1340
+ # @type PageNumber: Integer
1341
+ # @param PageSize: 每页数量
1342
+ # @type PageSize: Integer
1343
+
1344
+ attr_accessor :PageNumber, :PageSize
1345
+
1346
+ def initialize(pagenumber=nil, pagesize=nil)
1347
+ @PageNumber = pagenumber
1348
+ @PageSize = pagesize
1349
+ end
1350
+
1351
+ def deserialize(params)
1352
+ @PageNumber = params['PageNumber']
1353
+ @PageSize = params['PageSize']
1354
+ end
1355
+ end
1356
+
1357
+ # DescribeXMagicResource返回参数结构体
1358
+ class DescribeXMagicResourceResponse < TencentCloud::Common::AbstractModel
1359
+ # @param Resources: 优图资源包信息
1360
+ # 注意:此字段可能返回 null,表示取不到有效值。
1361
+ # @type Resources: Array
1362
+ # @param Count: 资源数量
1363
+ # 注意:此字段可能返回 null,表示取不到有效值。
1364
+ # @type Count: Integer
1365
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1366
+ # @type RequestId: String
1367
+
1368
+ attr_accessor :Resources, :Count, :RequestId
1369
+
1370
+ def initialize(resources=nil, count=nil, requestid=nil)
1371
+ @Resources = resources
1372
+ @Count = count
1373
+ @RequestId = requestid
1374
+ end
1375
+
1376
+ def deserialize(params)
1377
+ unless params['Resources'].nil?
1378
+ @Resources = []
1379
+ params['Resources'].each do |i|
1380
+ xmagicresource_tmp = XMagicResource.new
1381
+ xmagicresource_tmp.deserialize(i)
1382
+ @Resources << xmagicresource_tmp
1383
+ end
1384
+ end
1385
+ @Count = params['Count']
1386
+ @RequestId = params['RequestId']
1387
+ end
1388
+ end
1389
+
1390
+ # 功能描述模型
1391
+ class Feature < TencentCloud::Common::AbstractModel
1392
+ # @param Id: 索引
1393
+ # @type Id: Integer
1394
+ # @param FeatureId: 功能ID
1395
+ # @type FeatureId: Integer
1396
+ # @param Name: 功能名称
1397
+ # @type Name: String
1398
+ # @param Type: 功能类型
1399
+ # @type Type: String
1400
+ # @param Trial: 是否可以申请试用
1401
+ # @type Trial: Boolean
1402
+ # @param TrialCount: 可以试用的次数
1403
+ # @type TrialCount: Integer
1404
+ # @param Duration: 可以试用的时长,单位天
1405
+ # @type Duration: Integer
1406
+ # @param CreatedAt: 创建时间
1407
+ # 注意:此字段可能返回 null,表示取不到有效值。
1408
+ # @type CreatedAt: String
1409
+ # @param UpdatedAt: 更新时间
1410
+ # 注意:此字段可能返回 null,表示取不到有效值。
1411
+ # @type UpdatedAt: String
1412
+
1413
+ attr_accessor :Id, :FeatureId, :Name, :Type, :Trial, :TrialCount, :Duration, :CreatedAt, :UpdatedAt
1414
+
1415
+ def initialize(id=nil, featureid=nil, name=nil, type=nil, trial=nil, trialcount=nil, duration=nil, createdat=nil, updatedat=nil)
1416
+ @Id = id
1417
+ @FeatureId = featureid
1418
+ @Name = name
1419
+ @Type = type
1420
+ @Trial = trial
1421
+ @TrialCount = trialcount
1422
+ @Duration = duration
1423
+ @CreatedAt = createdat
1424
+ @UpdatedAt = updatedat
1425
+ end
1426
+
1427
+ def deserialize(params)
1428
+ @Id = params['Id']
1429
+ @FeatureId = params['FeatureId']
1430
+ @Name = params['Name']
1431
+ @Type = params['Type']
1432
+ @Trial = params['Trial']
1433
+ @TrialCount = params['TrialCount']
1434
+ @Duration = params['Duration']
1435
+ @CreatedAt = params['CreatedAt']
1436
+ @UpdatedAt = params['UpdatedAt']
1437
+ end
1438
+ end
1439
+
1440
+ # 视立方应用license
1441
+ class License < TencentCloud::Common::AbstractModel
1442
+ # @param Type: license类型
1443
+ # @type Type: String
1444
+ # @param Remark: 老系统迁移备注
1445
+ # 注意:此字段可能返回 null,表示取不到有效值。
1446
+ # @type Remark: String
1447
+ # @param StartTime: license生效时间
1448
+ # @type StartTime: String
1449
+ # @param EndTime: license失效时间
1450
+ # @type EndTime: String
1451
+ # @param FeatureId: license对应的功能Id
1452
+ # @type FeatureId: Integer
1453
+ # @param LicenseType: license是测试:test还是正式:formal
1454
+ # @type LicenseType: String
1455
+ # @param Renewal: 测试license 是否可以续期
1456
+ # 注意:此字段可能返回 null,表示取不到有效值。
1457
+ # @type Renewal: Boolean
1458
+ # @param LicenseId: license索引
1459
+ # @type LicenseId: Integer
1460
+ # @param Name: license名称
1461
+ # 注意:此字段可能返回 null,表示取不到有效值。
1462
+ # @type Name: String
1463
+ # @param Update: 测试license 是否升级
1464
+ # 注意:此字段可能返回 null,表示取不到有效值。
1465
+ # @type Update: Boolean
1466
+ # @param OldLicenseUrl: 兼容老的licenseUrl
1467
+ # 注意:此字段可能返回 null,表示取不到有效值。
1468
+ # @type OldLicenseUrl: String
1469
+ # @param Group: 视立方url分组
1470
+ # 注意:此字段可能返回 null,表示取不到有效值。
1471
+ # @type Group: Integer
1472
+ # @param Expired: 过期:true ,未过期:其它
1473
+ # 注意:此字段可能返回 null,表示取不到有效值。
1474
+ # @type Expired: Boolean
1475
+ # @param RestTime: 返回还有多少秒过期,过期返回0
1476
+ # 注意:此字段可能返回 null,表示取不到有效值。
1477
+ # @type RestTime: Integer
1478
+ # @param CreatedAt: 创建时间
1479
+ # 注意:此字段可能返回 null,表示取不到有效值。
1480
+ # @type CreatedAt: String
1481
+ # @param UpdatedAt: 更新时间
1482
+ # 注意:此字段可能返回 null,表示取不到有效值。
1483
+ # @type UpdatedAt: String
1484
+ # @param Resource: 计费资源相关信息
1485
+ # 注意:此字段可能返回 null,表示取不到有效值。
1486
+ # @type Resource: :class:`Tencentcloud::Vcube.v20220410.models.RenewResource`
1487
+ # @param IsVest: 是否为马甲包
1488
+ # 注意:此字段可能返回 null,表示取不到有效值。
1489
+ # @type IsVest: Boolean
1490
+
1491
+ attr_accessor :Type, :Remark, :StartTime, :EndTime, :FeatureId, :LicenseType, :Renewal, :LicenseId, :Name, :Update, :OldLicenseUrl, :Group, :Expired, :RestTime, :CreatedAt, :UpdatedAt, :Resource, :IsVest
1492
+
1493
+ def initialize(type=nil, remark=nil, starttime=nil, endtime=nil, featureid=nil, licensetype=nil, renewal=nil, licenseid=nil, name=nil, update=nil, oldlicenseurl=nil, group=nil, expired=nil, resttime=nil, createdat=nil, updatedat=nil, resource=nil, isvest=nil)
1494
+ @Type = type
1495
+ @Remark = remark
1496
+ @StartTime = starttime
1497
+ @EndTime = endtime
1498
+ @FeatureId = featureid
1499
+ @LicenseType = licensetype
1500
+ @Renewal = renewal
1501
+ @LicenseId = licenseid
1502
+ @Name = name
1503
+ @Update = update
1504
+ @OldLicenseUrl = oldlicenseurl
1505
+ @Group = group
1506
+ @Expired = expired
1507
+ @RestTime = resttime
1508
+ @CreatedAt = createdat
1509
+ @UpdatedAt = updatedat
1510
+ @Resource = resource
1511
+ @IsVest = isvest
1512
+ end
1513
+
1514
+ def deserialize(params)
1515
+ @Type = params['Type']
1516
+ @Remark = params['Remark']
1517
+ @StartTime = params['StartTime']
1518
+ @EndTime = params['EndTime']
1519
+ @FeatureId = params['FeatureId']
1520
+ @LicenseType = params['LicenseType']
1521
+ @Renewal = params['Renewal']
1522
+ @LicenseId = params['LicenseId']
1523
+ @Name = params['Name']
1524
+ @Update = params['Update']
1525
+ @OldLicenseUrl = params['OldLicenseUrl']
1526
+ @Group = params['Group']
1527
+ @Expired = params['Expired']
1528
+ @RestTime = params['RestTime']
1529
+ @CreatedAt = params['CreatedAt']
1530
+ @UpdatedAt = params['UpdatedAt']
1531
+ unless params['Resource'].nil?
1532
+ @Resource = RenewResource.new
1533
+ @Resource.deserialize(params['Resource'])
1534
+ end
1535
+ @IsVest = params['IsVest']
1536
+ end
1537
+ end
1538
+
1539
+ # license 资源信息
1540
+ class LicenseResourceInfo < TencentCloud::Common::AbstractModel
1541
+ # @param Id: 授权功能Id
1542
+ # @type Id: Integer
1543
+ # @param AppId: 用户appid
1544
+ # @type AppId: String
1545
+ # @param Duration: 有效期时长
1546
+ # 注意:此字段可能返回 null,表示取不到有效值。
1547
+ # @type Duration: String
1548
+ # @param FeatureId: 功能Id
1549
+ # @type FeatureId: Integer
1550
+ # @param StartTime: 此license资源的开始生效时间
1551
+ # 注意:此字段可能返回 null,表示取不到有效值。
1552
+ # @type StartTime: String
1553
+ # @param EndTime: 此license资源的生效结束时间
1554
+ # 注意:此字段可能返回 null,表示取不到有效值。
1555
+ # @type EndTime: String
1556
+ # @param CreatedAt: 创建时间
1557
+ # @type CreatedAt: String
1558
+ # @param UpdatedAt: 更新时间
1559
+ # @type UpdatedAt: String
1560
+ # @param IsUse: 此资源是否可用于续期和更新有效期
1561
+ # 注意:此字段可能返回 null,表示取不到有效值。
1562
+ # @type IsUse: Boolean
1563
+ # @param Status: 此资源的状态
1564
+ # 注意:此字段可能返回 null,表示取不到有效值。
1565
+ # @type Status: Integer
1566
+ # @param IsolatedTimestamp: 销毁时间
1567
+ # 注意:此字段可能返回 null,表示取不到有效值。
1568
+ # @type IsolatedTimestamp: String
1569
+ # @param Name: 功能模块名称
1570
+ # 注意:此字段可能返回 null,表示取不到有效值。
1571
+ # @type Name: String
1572
+ # @param Type: 功能模块类型
1573
+ # 注意:此字段可能返回 null,表示取不到有效值。
1574
+ # @type Type: String
1575
+ # @param Package: 资源包信息
1576
+ # 注意:此字段可能返回 null,表示取不到有效值。
1577
+ # @type Package: :class:`Tencentcloud::Vcube.v20220410.models.Package`
1578
+ # @param Application: 应用信息
1579
+ # 注意:此字段可能返回 null,表示取不到有效值。
1580
+ # @type Application: :class:`Tencentcloud::Vcube.v20220410.models.AppInfo`
1581
+ # @param ResourceId: 资源Id
1582
+ # 注意:此字段可能返回 null,表示取不到有效值。
1583
+ # @type ResourceId: String
1584
+ # @param AutoRenewFlag: 自动续费状态
1585
+ # 注意:此字段可能返回 null,表示取不到有效值。
1586
+ # @type AutoRenewFlag: Integer
1587
+
1588
+ attr_accessor :Id, :AppId, :Duration, :FeatureId, :StartTime, :EndTime, :CreatedAt, :UpdatedAt, :IsUse, :Status, :IsolatedTimestamp, :Name, :Type, :Package, :Application, :ResourceId, :AutoRenewFlag
1589
+
1590
+ def initialize(id=nil, appid=nil, duration=nil, featureid=nil, starttime=nil, endtime=nil, createdat=nil, updatedat=nil, isuse=nil, status=nil, isolatedtimestamp=nil, name=nil, type=nil, package=nil, application=nil, resourceid=nil, autorenewflag=nil)
1591
+ @Id = id
1592
+ @AppId = appid
1593
+ @Duration = duration
1594
+ @FeatureId = featureid
1595
+ @StartTime = starttime
1596
+ @EndTime = endtime
1597
+ @CreatedAt = createdat
1598
+ @UpdatedAt = updatedat
1599
+ @IsUse = isuse
1600
+ @Status = status
1601
+ @IsolatedTimestamp = isolatedtimestamp
1602
+ @Name = name
1603
+ @Type = type
1604
+ @Package = package
1605
+ @Application = application
1606
+ @ResourceId = resourceid
1607
+ @AutoRenewFlag = autorenewflag
1608
+ end
1609
+
1610
+ def deserialize(params)
1611
+ @Id = params['Id']
1612
+ @AppId = params['AppId']
1613
+ @Duration = params['Duration']
1614
+ @FeatureId = params['FeatureId']
1615
+ @StartTime = params['StartTime']
1616
+ @EndTime = params['EndTime']
1617
+ @CreatedAt = params['CreatedAt']
1618
+ @UpdatedAt = params['UpdatedAt']
1619
+ @IsUse = params['IsUse']
1620
+ @Status = params['Status']
1621
+ @IsolatedTimestamp = params['IsolatedTimestamp']
1622
+ @Name = params['Name']
1623
+ @Type = params['Type']
1624
+ unless params['Package'].nil?
1625
+ @Package = Package.new
1626
+ @Package.deserialize(params['Package'])
1627
+ end
1628
+ unless params['Application'].nil?
1629
+ @Application = AppInfo.new
1630
+ @Application.deserialize(params['Application'])
1631
+ end
1632
+ @ResourceId = params['ResourceId']
1633
+ @AutoRenewFlag = params['AutoRenewFlag']
1634
+ end
1635
+ end
1636
+
1637
+ # license 资源信息
1638
+ class LicenseResourceSimpleInfo < TencentCloud::Common::AbstractModel
1639
+ # @param Id: 授权功能Id
1640
+ # @type Id: Integer
1641
+ # @param AppId: 用户appid
1642
+ # @type AppId: String
1643
+ # @param Duration: 有效期时长
1644
+ # 注意:此字段可能返回 null,表示取不到有效值。
1645
+ # @type Duration: String
1646
+ # @param FeatureId: 功能Id
1647
+ # @type FeatureId: Integer
1648
+ # @param StartTime: 此license资源的开始生效时间
1649
+ # 注意:此字段可能返回 null,表示取不到有效值。
1650
+ # @type StartTime: String
1651
+ # @param EndTime: 此license资源的生效结束时间
1652
+ # 注意:此字段可能返回 null,表示取不到有效值。
1653
+ # @type EndTime: String
1654
+ # @param CreatedAt: 创建时间
1655
+ # @type CreatedAt: String
1656
+ # @param UpdatedAt: 更新时间
1657
+ # @type UpdatedAt: String
1658
+ # @param IsUse: 此资源是否可用于续期和更新有效期
1659
+ # 注意:此字段可能返回 null,表示取不到有效值。
1660
+ # @type IsUse: Boolean
1661
+ # @param Status: 此资源的状态
1662
+ # 注意:此字段可能返回 null,表示取不到有效值。
1663
+ # @type Status: Integer
1664
+ # @param IsolatedTimestamp: 销毁时间
1665
+ # 注意:此字段可能返回 null,表示取不到有效值。
1666
+ # @type IsolatedTimestamp: String
1667
+ # @param Name: 功能模块名称
1668
+ # 注意:此字段可能返回 null,表示取不到有效值。
1669
+ # @type Name: String
1670
+ # @param Type: 功能模块类型
1671
+ # 注意:此字段可能返回 null,表示取不到有效值。
1672
+ # @type Type: String
1673
+ # @param Package: 资源包信息
1674
+ # 注意:此字段可能返回 null,表示取不到有效值。
1675
+ # @type Package: :class:`Tencentcloud::Vcube.v20220410.models.Package`
1676
+ # @param ResourceId: 资源id
1677
+ # 注意:此字段可能返回 null,表示取不到有效值。
1678
+ # @type ResourceId: String
1679
+ # @param AutoRenewFlag: 自动续费状态
1680
+ # 注意:此字段可能返回 null,表示取不到有效值。
1681
+ # @type AutoRenewFlag: Integer
1682
+
1683
+ attr_accessor :Id, :AppId, :Duration, :FeatureId, :StartTime, :EndTime, :CreatedAt, :UpdatedAt, :IsUse, :Status, :IsolatedTimestamp, :Name, :Type, :Package, :ResourceId, :AutoRenewFlag
1684
+
1685
+ def initialize(id=nil, appid=nil, duration=nil, featureid=nil, starttime=nil, endtime=nil, createdat=nil, updatedat=nil, isuse=nil, status=nil, isolatedtimestamp=nil, name=nil, type=nil, package=nil, resourceid=nil, autorenewflag=nil)
1686
+ @Id = id
1687
+ @AppId = appid
1688
+ @Duration = duration
1689
+ @FeatureId = featureid
1690
+ @StartTime = starttime
1691
+ @EndTime = endtime
1692
+ @CreatedAt = createdat
1693
+ @UpdatedAt = updatedat
1694
+ @IsUse = isuse
1695
+ @Status = status
1696
+ @IsolatedTimestamp = isolatedtimestamp
1697
+ @Name = name
1698
+ @Type = type
1699
+ @Package = package
1700
+ @ResourceId = resourceid
1701
+ @AutoRenewFlag = autorenewflag
1702
+ end
1703
+
1704
+ def deserialize(params)
1705
+ @Id = params['Id']
1706
+ @AppId = params['AppId']
1707
+ @Duration = params['Duration']
1708
+ @FeatureId = params['FeatureId']
1709
+ @StartTime = params['StartTime']
1710
+ @EndTime = params['EndTime']
1711
+ @CreatedAt = params['CreatedAt']
1712
+ @UpdatedAt = params['UpdatedAt']
1713
+ @IsUse = params['IsUse']
1714
+ @Status = params['Status']
1715
+ @IsolatedTimestamp = params['IsolatedTimestamp']
1716
+ @Name = params['Name']
1717
+ @Type = params['Type']
1718
+ unless params['Package'].nil?
1719
+ @Package = Package.new
1720
+ @Package.deserialize(params['Package'])
1721
+ end
1722
+ @ResourceId = params['ResourceId']
1723
+ @AutoRenewFlag = params['AutoRenewFlag']
1724
+ end
1725
+ end
1726
+
1727
+ # ModifyApplication请求参数结构体
1728
+ class ModifyApplicationRequest < TencentCloud::Common::AbstractModel
1729
+ # @param ApplicationId: 应用ID
1730
+ # @type ApplicationId: Integer
1731
+ # @param AppName: 应用名
1732
+ # @type AppName: String
1733
+ # @param BundleId: 应用ID
1734
+ # @type BundleId: String
1735
+ # @param PackageName: 包名
1736
+ # @type PackageName: String
1737
+ # @param WinProcessName: Windows 进程名
1738
+ # @type WinProcessName: String
1739
+ # @param MacBundleId: Mac 进程名
1740
+ # @type MacBundleId: String
1741
+ # @param DomainList: 要追加的web域名列表
1742
+ # @type DomainList: Array
1743
+
1744
+ attr_accessor :ApplicationId, :AppName, :BundleId, :PackageName, :WinProcessName, :MacBundleId, :DomainList
1745
+
1746
+ def initialize(applicationid=nil, appname=nil, bundleid=nil, packagename=nil, winprocessname=nil, macbundleid=nil, domainlist=nil)
1747
+ @ApplicationId = applicationid
1748
+ @AppName = appname
1749
+ @BundleId = bundleid
1750
+ @PackageName = packagename
1751
+ @WinProcessName = winprocessname
1752
+ @MacBundleId = macbundleid
1753
+ @DomainList = domainlist
1754
+ end
1755
+
1756
+ def deserialize(params)
1757
+ @ApplicationId = params['ApplicationId']
1758
+ @AppName = params['AppName']
1759
+ @BundleId = params['BundleId']
1760
+ @PackageName = params['PackageName']
1761
+ @WinProcessName = params['WinProcessName']
1762
+ @MacBundleId = params['MacBundleId']
1763
+ @DomainList = params['DomainList']
1764
+ end
1765
+ end
1766
+
1767
+ # ModifyApplication返回参数结构体
1768
+ class ModifyApplicationResponse < TencentCloud::Common::AbstractModel
1769
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1770
+ # @type RequestId: String
1771
+
1772
+ attr_accessor :RequestId
1773
+
1774
+ def initialize(requestid=nil)
1775
+ @RequestId = requestid
1776
+ end
1777
+
1778
+ def deserialize(params)
1779
+ @RequestId = params['RequestId']
1780
+ end
1781
+ end
1782
+
1783
+ # ModifyFormalApplication请求参数结构体
1784
+ class ModifyFormalApplicationRequest < TencentCloud::Common::AbstractModel
1785
+ # @param ApplicationId: 应用Id
1786
+ # @type ApplicationId: Integer
1787
+ # @param AppName: 应用名称
1788
+ # @type AppName: String
1789
+ # @param BundleId: Ios 包名称
1790
+ # @type BundleId: String
1791
+ # @param PackageName: Android 包名称
1792
+ # @type PackageName: String
1793
+
1794
+ attr_accessor :ApplicationId, :AppName, :BundleId, :PackageName
1795
+
1796
+ def initialize(applicationid=nil, appname=nil, bundleid=nil, packagename=nil)
1797
+ @ApplicationId = applicationid
1798
+ @AppName = appname
1799
+ @BundleId = bundleid
1800
+ @PackageName = packagename
1801
+ end
1802
+
1803
+ def deserialize(params)
1804
+ @ApplicationId = params['ApplicationId']
1805
+ @AppName = params['AppName']
1806
+ @BundleId = params['BundleId']
1807
+ @PackageName = params['PackageName']
1808
+ end
1809
+ end
1810
+
1811
+ # ModifyFormalApplication返回参数结构体
1812
+ class ModifyFormalApplicationResponse < TencentCloud::Common::AbstractModel
1813
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1814
+ # @type RequestId: String
1815
+
1816
+ attr_accessor :RequestId
1817
+
1818
+ def initialize(requestid=nil)
1819
+ @RequestId = requestid
1820
+ end
1821
+
1822
+ def deserialize(params)
1823
+ @RequestId = params['RequestId']
1824
+ end
1825
+ end
1826
+
1827
+ # ModifyLicense请求参数结构体
1828
+ class ModifyLicenseRequest < TencentCloud::Common::AbstractModel
1829
+ # @param LicenseId: License 功能模块 Id
1830
+ # @type LicenseId: String
1831
+ # @param ResourceId: 资源包 Id
1832
+ # @type ResourceId: String
1833
+
1834
+ attr_accessor :LicenseId, :ResourceId
1835
+
1836
+ def initialize(licenseid=nil, resourceid=nil)
1837
+ @LicenseId = licenseid
1838
+ @ResourceId = resourceid
1839
+ end
1840
+
1841
+ def deserialize(params)
1842
+ @LicenseId = params['LicenseId']
1843
+ @ResourceId = params['ResourceId']
1844
+ end
1845
+ end
1846
+
1847
+ # ModifyLicense返回参数结构体
1848
+ class ModifyLicenseResponse < TencentCloud::Common::AbstractModel
1849
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1850
+ # @type RequestId: String
1851
+
1852
+ attr_accessor :RequestId
1853
+
1854
+ def initialize(requestid=nil)
1855
+ @RequestId = requestid
1856
+ end
1857
+
1858
+ def deserialize(params)
1859
+ @RequestId = params['RequestId']
1860
+ end
1861
+ end
1862
+
1863
+ # ModifyPresetApplication请求参数结构体
1864
+ class ModifyPresetApplicationRequest < TencentCloud::Common::AbstractModel
1865
+ # @param ApplicationId: 应用Id
1866
+ # @type ApplicationId: Integer
1867
+ # @param AppName: 您的app名称
1868
+ # @type AppName: String
1869
+ # @param BundleId: ios包名
1870
+ # @type BundleId: String
1871
+ # @param PackageName: 安卓包名
1872
+ # @type PackageName: String
1873
+
1874
+ attr_accessor :ApplicationId, :AppName, :BundleId, :PackageName
1875
+
1876
+ def initialize(applicationid=nil, appname=nil, bundleid=nil, packagename=nil)
1877
+ @ApplicationId = applicationid
1878
+ @AppName = appname
1879
+ @BundleId = bundleid
1880
+ @PackageName = packagename
1881
+ end
1882
+
1883
+ def deserialize(params)
1884
+ @ApplicationId = params['ApplicationId']
1885
+ @AppName = params['AppName']
1886
+ @BundleId = params['BundleId']
1887
+ @PackageName = params['PackageName']
1888
+ end
1889
+ end
1890
+
1891
+ # ModifyPresetApplication返回参数结构体
1892
+ class ModifyPresetApplicationResponse < TencentCloud::Common::AbstractModel
1893
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1894
+ # @type RequestId: String
1895
+
1896
+ attr_accessor :RequestId
1897
+
1898
+ def initialize(requestid=nil)
1899
+ @RequestId = requestid
1900
+ end
1901
+
1902
+ def deserialize(params)
1903
+ @RequestId = params['RequestId']
1904
+ end
1905
+ end
1906
+
1907
+ # ModifyTrialLicense请求参数结构体
1908
+ class ModifyTrialLicenseRequest < TencentCloud::Common::AbstractModel
1909
+ # @param LicenseId: 执照ID
1910
+ # @type LicenseId: String
1911
+
1912
+ attr_accessor :LicenseId
1913
+
1914
+ def initialize(licenseid=nil)
1915
+ @LicenseId = licenseid
1916
+ end
1917
+
1918
+ def deserialize(params)
1919
+ @LicenseId = params['LicenseId']
1920
+ end
1921
+ end
1922
+
1923
+ # ModifyTrialLicense返回参数结构体
1924
+ class ModifyTrialLicenseResponse < TencentCloud::Common::AbstractModel
1925
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1926
+ # @type RequestId: String
1927
+
1928
+ attr_accessor :RequestId
1929
+
1930
+ def initialize(requestid=nil)
1931
+ @RequestId = requestid
1932
+ end
1933
+
1934
+ def deserialize(params)
1935
+ @RequestId = params['RequestId']
1936
+ end
1937
+ end
1938
+
1939
+ # ModifyXMagic请求参数结构体
1940
+ class ModifyXMagicRequest < TencentCloud::Common::AbstractModel
1941
+ # @param ResourceId: 资源Id
1942
+ # @type ResourceId: String
1943
+ # @param XMagicId: 优图licenseId
1944
+ # @type XMagicId: String
1945
+
1946
+ attr_accessor :ResourceId, :XMagicId
1947
+
1948
+ def initialize(resourceid=nil, xmagicid=nil)
1949
+ @ResourceId = resourceid
1950
+ @XMagicId = xmagicid
1951
+ end
1952
+
1953
+ def deserialize(params)
1954
+ @ResourceId = params['ResourceId']
1955
+ @XMagicId = params['XMagicId']
1956
+ end
1957
+ end
1958
+
1959
+ # ModifyXMagic返回参数结构体
1960
+ class ModifyXMagicResponse < TencentCloud::Common::AbstractModel
1961
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1962
+ # @type RequestId: String
1963
+
1964
+ attr_accessor :RequestId
1965
+
1966
+ def initialize(requestid=nil)
1967
+ @RequestId = requestid
1968
+ end
1969
+
1970
+ def deserialize(params)
1971
+ @RequestId = params['RequestId']
1972
+ end
1973
+ end
1974
+
1975
+ # 视立方产品概览页新闻动态
1976
+ class NewsInfo < TencentCloud::Common::AbstractModel
1977
+
1978
+
1979
+ def initialize()
1980
+ end
1981
+
1982
+ def deserialize(params)
1983
+ end
1984
+ end
1985
+
1986
+ # 资源包结构
1987
+ class Package < TencentCloud::Common::AbstractModel
1988
+ # @param Id: 资源包Id
1989
+ # @type Id: Integer
1990
+ # @param BizResourceId: 资源包资源Id
1991
+ # @type BizResourceId: String
1992
+ # @param Site: 站点 中国站还是国际站
1993
+ # @type Site: String
1994
+ # @param StartTime: 资源包开始生效时间
1995
+ # @type StartTime: String
1996
+ # @param EndTime: 资源包过期时间
1997
+ # @type EndTime: String
1998
+ # @param RefundTime: 资源包退费时间
1999
+ # 注意:此字段可能返回 null,表示取不到有效值。
2000
+ # @type RefundTime: String
2001
+ # @param Name: 资源包名称
2002
+ # @type Name: String
2003
+ # @param Type: 资源包类型ID,对应点播:PackageId 对应直播:TypeId
2004
+ # 注意:此字段可能返回 null,表示取不到有效值。
2005
+ # @type Type: String
2006
+
2007
+ attr_accessor :Id, :BizResourceId, :Site, :StartTime, :EndTime, :RefundTime, :Name, :Type
2008
+
2009
+ def initialize(id=nil, bizresourceid=nil, site=nil, starttime=nil, endtime=nil, refundtime=nil, name=nil, type=nil)
2010
+ @Id = id
2011
+ @BizResourceId = bizresourceid
2012
+ @Site = site
2013
+ @StartTime = starttime
2014
+ @EndTime = endtime
2015
+ @RefundTime = refundtime
2016
+ @Name = name
2017
+ @Type = type
2018
+ end
2019
+
2020
+ def deserialize(params)
2021
+ @Id = params['Id']
2022
+ @BizResourceId = params['BizResourceId']
2023
+ @Site = params['Site']
2024
+ @StartTime = params['StartTime']
2025
+ @EndTime = params['EndTime']
2026
+ @RefundTime = params['RefundTime']
2027
+ @Name = params['Name']
2028
+ @Type = params['Type']
2029
+ end
2030
+ end
2031
+
2032
+ # RenewLicense请求参数结构体
2033
+ class RenewLicenseRequest < TencentCloud::Common::AbstractModel
2034
+ # @param LicenseId: License 功能模块 Id
2035
+ # @type LicenseId: String
2036
+ # @param ResourceId: 资源包 Id
2037
+ # @type ResourceId: String
2038
+
2039
+ attr_accessor :LicenseId, :ResourceId
2040
+
2041
+ def initialize(licenseid=nil, resourceid=nil)
2042
+ @LicenseId = licenseid
2043
+ @ResourceId = resourceid
2044
+ end
2045
+
2046
+ def deserialize(params)
2047
+ @LicenseId = params['LicenseId']
2048
+ @ResourceId = params['ResourceId']
2049
+ end
2050
+ end
2051
+
2052
+ # RenewLicense返回参数结构体
2053
+ class RenewLicenseResponse < TencentCloud::Common::AbstractModel
2054
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2055
+ # @type RequestId: String
2056
+
2057
+ attr_accessor :RequestId
2058
+
2059
+ def initialize(requestid=nil)
2060
+ @RequestId = requestid
2061
+ end
2062
+
2063
+ def deserialize(params)
2064
+ @RequestId = params['RequestId']
2065
+ end
2066
+ end
2067
+
2068
+ # 自动续期资源info
2069
+ class RenewResource < TencentCloud::Common::AbstractModel
2070
+ # @param ResourceId: 资源Id
2071
+ # 注意:此字段可能返回 null,表示取不到有效值。
2072
+ # @type ResourceId: String
2073
+ # @param AutoRenewFlag: 自动续期标记,0:默认,1:自动续期,2:不续期
2074
+ # 注意:此字段可能返回 null,表示取不到有效值。
2075
+ # @type AutoRenewFlag: Integer
2076
+ # @param IsolatedTimestamp: 资源冻结时间
2077
+ # 注意:此字段可能返回 null,表示取不到有效值。
2078
+ # @type IsolatedTimestamp: String
2079
+ # @param Refund: 资源销毁状态
2080
+ # 注意:此字段可能返回 null,表示取不到有效值。
2081
+ # @type Refund: Boolean
2082
+ # @param SubProductCode: 子产品码
2083
+ # 注意:此字段可能返回 null,表示取不到有效值。
2084
+ # @type SubProductCode: String
2085
+ # @param EndTime: 资源到期时间
2086
+ # 注意:此字段可能返回 null,表示取不到有效值。
2087
+ # @type EndTime: String
2088
+
2089
+ attr_accessor :ResourceId, :AutoRenewFlag, :IsolatedTimestamp, :Refund, :SubProductCode, :EndTime
2090
+
2091
+ def initialize(resourceid=nil, autorenewflag=nil, isolatedtimestamp=nil, refund=nil, subproductcode=nil, endtime=nil)
2092
+ @ResourceId = resourceid
2093
+ @AutoRenewFlag = autorenewflag
2094
+ @IsolatedTimestamp = isolatedtimestamp
2095
+ @Refund = refund
2096
+ @SubProductCode = subproductcode
2097
+ @EndTime = endtime
2098
+ end
2099
+
2100
+ def deserialize(params)
2101
+ @ResourceId = params['ResourceId']
2102
+ @AutoRenewFlag = params['AutoRenewFlag']
2103
+ @IsolatedTimestamp = params['IsolatedTimestamp']
2104
+ @Refund = params['Refund']
2105
+ @SubProductCode = params['SubProductCode']
2106
+ @EndTime = params['EndTime']
2107
+ end
2108
+ end
2109
+
2110
+ # RenewTestXMagic请求参数结构体
2111
+ class RenewTestXMagicRequest < TencentCloud::Common::AbstractModel
2112
+ # @param XMagicId: 优图美视Id
2113
+ # @type XMagicId: Integer
2114
+
2115
+ attr_accessor :XMagicId
2116
+
2117
+ def initialize(xmagicid=nil)
2118
+ @XMagicId = xmagicid
2119
+ end
2120
+
2121
+ def deserialize(params)
2122
+ @XMagicId = params['XMagicId']
2123
+ end
2124
+ end
2125
+
2126
+ # RenewTestXMagic返回参数结构体
2127
+ class RenewTestXMagicResponse < TencentCloud::Common::AbstractModel
2128
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2129
+ # @type RequestId: String
2130
+
2131
+ attr_accessor :RequestId
2132
+
2133
+ def initialize(requestid=nil)
2134
+ @RequestId = requestid
2135
+ end
2136
+
2137
+ def deserialize(params)
2138
+ @RequestId = params['RequestId']
2139
+ end
2140
+ end
2141
+
2142
+ # RenewVideo请求参数结构体
2143
+ class RenewVideoRequest < TencentCloud::Common::AbstractModel
2144
+ # @param LicenseId: 要续期的视频播放license Id
2145
+ # @type LicenseId: Integer
2146
+
2147
+ attr_accessor :LicenseId
2148
+
2149
+ def initialize(licenseid=nil)
2150
+ @LicenseId = licenseid
2151
+ end
2152
+
2153
+ def deserialize(params)
2154
+ @LicenseId = params['LicenseId']
2155
+ end
2156
+ end
2157
+
2158
+ # RenewVideo返回参数结构体
2159
+ class RenewVideoResponse < TencentCloud::Common::AbstractModel
2160
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2161
+ # @type RequestId: String
2162
+
2163
+ attr_accessor :RequestId
2164
+
2165
+ def initialize(requestid=nil)
2166
+ @RequestId = requestid
2167
+ end
2168
+
2169
+ def deserialize(params)
2170
+ @RequestId = params['RequestId']
2171
+ end
2172
+ end
2173
+
2174
+ # UpdateTestXMagic请求参数结构体
2175
+ class UpdateTestXMagicRequest < TencentCloud::Common::AbstractModel
2176
+ # @param XMagicId: 优图美视功能Id
2177
+ # @type XMagicId: Integer
2178
+ # @param ResourceId: XMagic套餐包Id
2179
+ # @type ResourceId: String
2180
+
2181
+ attr_accessor :XMagicId, :ResourceId
2182
+
2183
+ def initialize(xmagicid=nil, resourceid=nil)
2184
+ @XMagicId = xmagicid
2185
+ @ResourceId = resourceid
2186
+ end
2187
+
2188
+ def deserialize(params)
2189
+ @XMagicId = params['XMagicId']
2190
+ @ResourceId = params['ResourceId']
2191
+ end
2192
+ end
2193
+
2194
+ # UpdateTestXMagic返回参数结构体
2195
+ class UpdateTestXMagicResponse < TencentCloud::Common::AbstractModel
2196
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2197
+ # @type RequestId: String
2198
+
2199
+ attr_accessor :RequestId
2200
+
2201
+ def initialize(requestid=nil)
2202
+ @RequestId = requestid
2203
+ end
2204
+
2205
+ def deserialize(params)
2206
+ @RequestId = params['RequestId']
2207
+ end
2208
+ end
2209
+
2210
+ # UpdateTrialLicense请求参数结构体
2211
+ class UpdateTrialLicenseRequest < TencentCloud::Common::AbstractModel
2212
+ # @param LicenseId: 执照ID
2213
+ # @type LicenseId: String
2214
+ # @param ResourceId: 资源包ID
2215
+ # @type ResourceId: String
2216
+
2217
+ attr_accessor :LicenseId, :ResourceId
2218
+
2219
+ def initialize(licenseid=nil, resourceid=nil)
2220
+ @LicenseId = licenseid
2221
+ @ResourceId = resourceid
2222
+ end
2223
+
2224
+ def deserialize(params)
2225
+ @LicenseId = params['LicenseId']
2226
+ @ResourceId = params['ResourceId']
2227
+ end
2228
+ end
2229
+
2230
+ # UpdateTrialLicense返回参数结构体
2231
+ class UpdateTrialLicenseResponse < TencentCloud::Common::AbstractModel
2232
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2233
+ # @type RequestId: String
2234
+
2235
+ attr_accessor :RequestId
2236
+
2237
+ def initialize(requestid=nil)
2238
+ @RequestId = requestid
2239
+ end
2240
+
2241
+ def deserialize(params)
2242
+ @RequestId = params['RequestId']
2243
+ end
2244
+ end
2245
+
2246
+ # UpdateXMagic请求参数结构体
2247
+ class UpdateXMagicRequest < TencentCloud::Common::AbstractModel
2248
+ # @param XMagicId: 要修改的XMagic Id
2249
+ # @type XMagicId: Integer
2250
+ # @param XMagicResourceId: 资源id
2251
+ # @type XMagicResourceId: String
2252
+ # @param CompanyPermit: 营业执照地址
2253
+ # @type CompanyPermit: String
2254
+ # @param CompanyType: 公司类型
2255
+ # @type CompanyType: String
2256
+ # @param CompanyName: 公司名称
2257
+ # @type CompanyName: String
2258
+
2259
+ attr_accessor :XMagicId, :XMagicResourceId, :CompanyPermit, :CompanyType, :CompanyName
2260
+
2261
+ def initialize(xmagicid=nil, xmagicresourceid=nil, companypermit=nil, companytype=nil, companyname=nil)
2262
+ @XMagicId = xmagicid
2263
+ @XMagicResourceId = xmagicresourceid
2264
+ @CompanyPermit = companypermit
2265
+ @CompanyType = companytype
2266
+ @CompanyName = companyname
2267
+ end
2268
+
2269
+ def deserialize(params)
2270
+ @XMagicId = params['XMagicId']
2271
+ @XMagicResourceId = params['XMagicResourceId']
2272
+ @CompanyPermit = params['CompanyPermit']
2273
+ @CompanyType = params['CompanyType']
2274
+ @CompanyName = params['CompanyName']
2275
+ end
2276
+ end
2277
+
2278
+ # UpdateXMagic返回参数结构体
2279
+ class UpdateXMagicResponse < TencentCloud::Common::AbstractModel
2280
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2281
+ # @type RequestId: String
2282
+
2283
+ attr_accessor :RequestId
2284
+
2285
+ def initialize(requestid=nil)
2286
+ @RequestId = requestid
2287
+ end
2288
+
2289
+ def deserialize(params)
2290
+ @RequestId = params['RequestId']
2291
+ end
2292
+ end
2293
+
2294
+ # 视频功能描述模型
2295
+ class VideoFeature < TencentCloud::Common::AbstractModel
2296
+ # @param Id: 索引
2297
+ # @type Id: Integer
2298
+ # @param FeatureId: 功能ID
2299
+ # @type FeatureId: Integer
2300
+ # @param Name: 功能名称
2301
+ # 注意:此字段可能返回 null,表示取不到有效值。
2302
+ # @type Name: String
2303
+ # @param Type: 功能类型
2304
+ # 注意:此字段可能返回 null,表示取不到有效值。
2305
+ # @type Type: String
2306
+ # @param Trial: 是否可以申请试用
2307
+ # 注意:此字段可能返回 null,表示取不到有效值。
2308
+ # @type Trial: Boolean
2309
+ # @param TrialCount: 可以试用的次数
2310
+ # 注意:此字段可能返回 null,表示取不到有效值。
2311
+ # @type TrialCount: Integer
2312
+ # @param Duration: 可以试用的时长,单位天
2313
+ # 注意:此字段可能返回 null,表示取不到有效值。
2314
+ # @type Duration: Integer
2315
+ # @param CreatedAt: 创建时间
2316
+ # 注意:此字段可能返回 null,表示取不到有效值。
2317
+ # @type CreatedAt: String
2318
+ # @param UpdatedAt: 更新时间
2319
+ # 注意:此字段可能返回 null,表示取不到有效值。
2320
+ # @type UpdatedAt: String
2321
+ # @param BizType: 功能所属业务方
2322
+ # 注意:此字段可能返回 null,表示取不到有效值。
2323
+ # @type BizType: String
2324
+ # @param Platform: 平台类型
2325
+ # 注意:此字段可能返回 null,表示取不到有效值。
2326
+ # @type Platform: String
2327
+
2328
+ attr_accessor :Id, :FeatureId, :Name, :Type, :Trial, :TrialCount, :Duration, :CreatedAt, :UpdatedAt, :BizType, :Platform
2329
+
2330
+ def initialize(id=nil, featureid=nil, name=nil, type=nil, trial=nil, trialcount=nil, duration=nil, createdat=nil, updatedat=nil, biztype=nil, platform=nil)
2331
+ @Id = id
2332
+ @FeatureId = featureid
2333
+ @Name = name
2334
+ @Type = type
2335
+ @Trial = trial
2336
+ @TrialCount = trialcount
2337
+ @Duration = duration
2338
+ @CreatedAt = createdat
2339
+ @UpdatedAt = updatedat
2340
+ @BizType = biztype
2341
+ @Platform = platform
2342
+ end
2343
+
2344
+ def deserialize(params)
2345
+ @Id = params['Id']
2346
+ @FeatureId = params['FeatureId']
2347
+ @Name = params['Name']
2348
+ @Type = params['Type']
2349
+ @Trial = params['Trial']
2350
+ @TrialCount = params['TrialCount']
2351
+ @Duration = params['Duration']
2352
+ @CreatedAt = params['CreatedAt']
2353
+ @UpdatedAt = params['UpdatedAt']
2354
+ @BizType = params['BizType']
2355
+ @Platform = params['Platform']
2356
+ end
2357
+ end
2358
+
2359
+ # 优图的的功能,Trial 为true的可以开通测试
2360
+ class XMagicFeature < TencentCloud::Common::AbstractModel
2361
+ # @param Name: 功能名称
2362
+ # @type Name: String
2363
+ # @param TrialCount: 可以申请的次数
2364
+ # 注意:此字段可能返回 null,表示取不到有效值。
2365
+ # @type TrialCount: Integer
2366
+ # @param Duration: 每次申请的时长单位:天
2367
+ # 注意:此字段可能返回 null,表示取不到有效值。
2368
+ # @type Duration: Integer
2369
+ # @param Plan: 功能类别
2370
+ # @type Plan: String
2371
+ # @param XMagicType: single: 原子能力,combined:套餐
2372
+ # @type XMagicType: String
2373
+ # @param Trial: 此功能是否支持开通测试
2374
+ # @type Trial: Boolean
2375
+ # @param BizType: 功能所属业务方
2376
+ # @type BizType: String
2377
+
2378
+ attr_accessor :Name, :TrialCount, :Duration, :Plan, :XMagicType, :Trial, :BizType
2379
+
2380
+ def initialize(name=nil, trialcount=nil, duration=nil, plan=nil, xmagictype=nil, trial=nil, biztype=nil)
2381
+ @Name = name
2382
+ @TrialCount = trialcount
2383
+ @Duration = duration
2384
+ @Plan = plan
2385
+ @XMagicType = xmagictype
2386
+ @Trial = trial
2387
+ @BizType = biztype
2388
+ end
2389
+
2390
+ def deserialize(params)
2391
+ @Name = params['Name']
2392
+ @TrialCount = params['TrialCount']
2393
+ @Duration = params['Duration']
2394
+ @Plan = params['Plan']
2395
+ @XMagicType = params['XMagicType']
2396
+ @Trial = params['Trial']
2397
+ @BizType = params['BizType']
2398
+ end
2399
+ end
2400
+
2401
+ # 查询返回的优图信息
2402
+ class XMagicInfo < TencentCloud::Common::AbstractModel
2403
+ # @param Id: 优图Id
2404
+ # @type Id: Integer
2405
+ # @param CompanyName: 用户公司名称
2406
+ # 注意:此字段可能返回 null,表示取不到有效值。
2407
+ # @type CompanyName: String
2408
+ # @param CompanyPermit: https://cos.xxx
2409
+ # 注意:此字段可能返回 null,表示取不到有效值。
2410
+ # @type CompanyPermit: String
2411
+ # @param CompanyType: 用户公司行业类型
2412
+ # 注意:此字段可能返回 null,表示取不到有效值。
2413
+ # @type CompanyType: String
2414
+ # @param Plan: 优图套餐类型
2415
+ # 注意:此字段可能返回 null,表示取不到有效值。
2416
+ # @type Plan: String
2417
+ # @param LicenseType: 测试版还是正式版 test | formal
2418
+ # @type LicenseType: String
2419
+ # @param Status: 0: 预申请,需要补充申请信息
2420
+ # 1: 审批通过,xmagic已签发,正在生效中
2421
+ # 2: 提交完申请资料后待运营审核状态
2422
+ # 3: 申请被驳回,需要重新修改申请资料
2423
+ # 4: 应用包名被修改后触发xmagic审批,当前xmagic已暂停生效
2424
+ # 5: 应用修改包名后,审批未通过状态,可以重新修改应用PB,状态会回到4
2425
+ # @type Status: Integer
2426
+ # @param Update: 测试license是否已经升级
2427
+ # 注意:此字段可能返回 null,表示取不到有效值。
2428
+ # @type Update: Boolean
2429
+ # @param StartTime: 优图生效开始时间 Status为1的时候
2430
+ # 注意:此字段可能返回 null,表示取不到有效值。
2431
+ # @type StartTime: String
2432
+ # @param EndTime: 优图生效结束时间 Status为1的时候
2433
+ # 注意:此字段可能返回 null,表示取不到有效值。
2434
+ # @type EndTime: String
2435
+ # @param RenewalCount: 续期次数, LicenseType=test时有此字段
2436
+ # 注意:此字段可能返回 null,表示取不到有效值。
2437
+ # @type RenewalCount: Integer
2438
+ # @param Reply: 历次审批的回复
2439
+ # 注意:此字段可能返回 null,表示取不到有效值。
2440
+ # @type Reply: Array
2441
+ # @param CreatedAt: 创建时间
2442
+ # @type CreatedAt: String
2443
+ # @param UpdatedAt: 修改时间
2444
+ # @type UpdatedAt: String
2445
+ # @param UpdateTime: 用户更新信息的时间
2446
+ # 注意:此字段可能返回 null,表示取不到有效值。
2447
+ # @type UpdateTime: String
2448
+ # @param Expired: 是否过期
2449
+ # 注意:此字段可能返回 null,表示取不到有效值。
2450
+ # @type Expired: Boolean
2451
+ # @param RestTime: 返回还剩多少秒过期,过期后返回0
2452
+ # 注意:此字段可能返回 null,表示取不到有效值。
2453
+ # @type RestTime: Integer
2454
+ # @param XMagicType: single: 原子能力,combined:套餐
2455
+ # 注意:此字段可能返回 null,表示取不到有效值。
2456
+ # @type XMagicType: String
2457
+ # @param Name: 优图模块名称,自动中英文
2458
+ # 注意:此字段可能返回 null,表示取不到有效值。
2459
+ # @type Name: String
2460
+ # @param Resource: 优图资源信息
2461
+ # 注意:此字段可能返回 null,表示取不到有效值。
2462
+ # @type Resource: :class:`Tencentcloud::Vcube.v20220410.models.RenewResource`
2463
+ # @param IsVest: 是否是马甲包
2464
+ # 注意:此字段可能返回 null,表示取不到有效值。
2465
+ # @type IsVest: Boolean
2466
+
2467
+ attr_accessor :Id, :CompanyName, :CompanyPermit, :CompanyType, :Plan, :LicenseType, :Status, :Update, :StartTime, :EndTime, :RenewalCount, :Reply, :CreatedAt, :UpdatedAt, :UpdateTime, :Expired, :RestTime, :XMagicType, :Name, :Resource, :IsVest
2468
+
2469
+ def initialize(id=nil, companyname=nil, companypermit=nil, companytype=nil, plan=nil, licensetype=nil, status=nil, update=nil, starttime=nil, endtime=nil, renewalcount=nil, reply=nil, createdat=nil, updatedat=nil, updatetime=nil, expired=nil, resttime=nil, xmagictype=nil, name=nil, resource=nil, isvest=nil)
2470
+ @Id = id
2471
+ @CompanyName = companyname
2472
+ @CompanyPermit = companypermit
2473
+ @CompanyType = companytype
2474
+ @Plan = plan
2475
+ @LicenseType = licensetype
2476
+ @Status = status
2477
+ @Update = update
2478
+ @StartTime = starttime
2479
+ @EndTime = endtime
2480
+ @RenewalCount = renewalcount
2481
+ @Reply = reply
2482
+ @CreatedAt = createdat
2483
+ @UpdatedAt = updatedat
2484
+ @UpdateTime = updatetime
2485
+ @Expired = expired
2486
+ @RestTime = resttime
2487
+ @XMagicType = xmagictype
2488
+ @Name = name
2489
+ @Resource = resource
2490
+ @IsVest = isvest
2491
+ end
2492
+
2493
+ def deserialize(params)
2494
+ @Id = params['Id']
2495
+ @CompanyName = params['CompanyName']
2496
+ @CompanyPermit = params['CompanyPermit']
2497
+ @CompanyType = params['CompanyType']
2498
+ @Plan = params['Plan']
2499
+ @LicenseType = params['LicenseType']
2500
+ @Status = params['Status']
2501
+ @Update = params['Update']
2502
+ @StartTime = params['StartTime']
2503
+ @EndTime = params['EndTime']
2504
+ @RenewalCount = params['RenewalCount']
2505
+ @Reply = params['Reply']
2506
+ @CreatedAt = params['CreatedAt']
2507
+ @UpdatedAt = params['UpdatedAt']
2508
+ @UpdateTime = params['UpdateTime']
2509
+ @Expired = params['Expired']
2510
+ @RestTime = params['RestTime']
2511
+ @XMagicType = params['XMagicType']
2512
+ @Name = params['Name']
2513
+ unless params['Resource'].nil?
2514
+ @Resource = RenewResource.new
2515
+ @Resource.deserialize(params['Resource'])
2516
+ end
2517
+ @IsVest = params['IsVest']
2518
+ end
2519
+ end
2520
+
2521
+ # 优图美视资源包
2522
+ class XMagicResource < TencentCloud::Common::AbstractModel
2523
+ # @param Id: 资源Id
2524
+ # @type Id: Integer
2525
+ # @param AppId: 用户appid
2526
+ # @type AppId: String
2527
+ # @param Plan: 套餐类别
2528
+ # @type Plan: String
2529
+ # @param Duration: 单位:年
2530
+ # @type Duration: String
2531
+ # @param CreatedAt: 创建时间
2532
+ # @type CreatedAt: String
2533
+ # @param UpdatedAt: 更新时间
2534
+ # @type UpdatedAt: String
2535
+ # @param XMagic: 资源是否已使用
2536
+ # 注意:此字段可能返回 null,表示取不到有效值。
2537
+ # @type XMagic: Boolean
2538
+ # @param StartTime: 资源开始生效时间
2539
+ # 注意:此字段可能返回 null,表示取不到有效值。
2540
+ # @type StartTime: String
2541
+ # @param EndTime: 资源结束生效时间
2542
+ # 注意:此字段可能返回 null,表示取不到有效值。
2543
+ # @type EndTime: String
2544
+ # @param Expired: 资源包是否过期
2545
+ # 注意:此字段可能返回 null,表示取不到有效值。
2546
+ # @type Expired: Boolean
2547
+ # @param Name: 功能模块名称
2548
+ # 注意:此字段可能返回 null,表示取不到有效值。
2549
+ # @type Name: String
2550
+ # @param XMagicType: single: 原子能力,combined:套餐
2551
+ # 注意:此字段可能返回 null,表示取不到有效值。
2552
+ # @type XMagicType: String
2553
+ # @param BizType: xmagic:优图, avatar:虚拟人
2554
+ # 注意:此字段可能返回 null,表示取不到有效值。
2555
+ # @type BizType: String
2556
+ # @param ResourceId: 资源Id
2557
+ # 注意:此字段可能返回 null,表示取不到有效值。
2558
+ # @type ResourceId: String
2559
+ # @param IsUse: 资源是否可以使用
2560
+ # 注意:此字段可能返回 null,表示取不到有效值。
2561
+ # @type IsUse: Boolean
2562
+
2563
+ attr_accessor :Id, :AppId, :Plan, :Duration, :CreatedAt, :UpdatedAt, :XMagic, :StartTime, :EndTime, :Expired, :Name, :XMagicType, :BizType, :ResourceId, :IsUse
2564
+
2565
+ def initialize(id=nil, appid=nil, plan=nil, duration=nil, createdat=nil, updatedat=nil, xmagic=nil, starttime=nil, endtime=nil, expired=nil, name=nil, xmagictype=nil, biztype=nil, resourceid=nil, isuse=nil)
2566
+ @Id = id
2567
+ @AppId = appid
2568
+ @Plan = plan
2569
+ @Duration = duration
2570
+ @CreatedAt = createdat
2571
+ @UpdatedAt = updatedat
2572
+ @XMagic = xmagic
2573
+ @StartTime = starttime
2574
+ @EndTime = endtime
2575
+ @Expired = expired
2576
+ @Name = name
2577
+ @XMagicType = xmagictype
2578
+ @BizType = biztype
2579
+ @ResourceId = resourceid
2580
+ @IsUse = isuse
2581
+ end
2582
+
2583
+ def deserialize(params)
2584
+ @Id = params['Id']
2585
+ @AppId = params['AppId']
2586
+ @Plan = params['Plan']
2587
+ @Duration = params['Duration']
2588
+ @CreatedAt = params['CreatedAt']
2589
+ @UpdatedAt = params['UpdatedAt']
2590
+ @XMagic = params['XMagic']
2591
+ @StartTime = params['StartTime']
2592
+ @EndTime = params['EndTime']
2593
+ @Expired = params['Expired']
2594
+ @Name = params['Name']
2595
+ @XMagicType = params['XMagicType']
2596
+ @BizType = params['BizType']
2597
+ @ResourceId = params['ResourceId']
2598
+ @IsUse = params['IsUse']
2599
+ end
2600
+ end
2601
+
2602
+ # 优图美视资源包
2603
+ class XMagicResourceSimpleInfo < TencentCloud::Common::AbstractModel
2604
+ # @param Id: 资源Id
2605
+ # @type Id: Integer
2606
+ # @param AppId: 用户appid
2607
+ # @type AppId: String
2608
+ # @param Plan: 套餐类别
2609
+ # @type Plan: String
2610
+ # @param Duration: 单位:年
2611
+ # @type Duration: String
2612
+ # @param CreatedAt: 创建时间
2613
+ # @type CreatedAt: String
2614
+ # @param UpdatedAt: 更新时间
2615
+ # @type UpdatedAt: String
2616
+ # @param StartTime: 资源开始生效时间
2617
+ # 注意:此字段可能返回 null,表示取不到有效值。
2618
+ # @type StartTime: String
2619
+ # @param EndTime: 资源结束生效时间
2620
+ # 注意:此字段可能返回 null,表示取不到有效值。
2621
+ # @type EndTime: String
2622
+ # @param Application: 应用信息
2623
+ # 注意:此字段可能返回 null,表示取不到有效值。
2624
+ # @type Application: :class:`Tencentcloud::Vcube.v20220410.models.AppInfo`
2625
+ # @param XMagic: 开通的优图功能信息
2626
+ # 注意:此字段可能返回 null,表示取不到有效值。
2627
+ # @type XMagic: :class:`Tencentcloud::Vcube.v20220410.models.XMagicSimpleInfo`
2628
+ # @param Status: 优图资源状态
2629
+ # @type Status: Integer
2630
+ # @param Operation: 操作日期记录
2631
+ # 注意:此字段可能返回 null,表示取不到有效值。
2632
+ # @type Operation: Array
2633
+ # @param IsUse: 是否可以使用
2634
+ # 注意:此字段可能返回 null,表示取不到有效值。
2635
+ # @type IsUse: Boolean
2636
+ # @param XMagicType: single: 原子能力,combined:套餐
2637
+ # 注意:此字段可能返回 null,表示取不到有效值。
2638
+ # @type XMagicType: String
2639
+ # @param Name: 功能模块名称
2640
+ # 注意:此字段可能返回 null,表示取不到有效值。
2641
+ # @type Name: String
2642
+ # @param BizType: 资源所属业务方 xmagic:优图,avatar:虚拟形象
2643
+ # 注意:此字段可能返回 null,表示取不到有效值。
2644
+ # @type BizType: String
2645
+ # @param ResourceId: 资源id
2646
+ # 注意:此字段可能返回 null,表示取不到有效值。
2647
+ # @type ResourceId: String
2648
+ # @param AutoRenewFlag: 资源自动续费状态
2649
+ # 注意:此字段可能返回 null,表示取不到有效值。
2650
+ # @type AutoRenewFlag: Integer
2651
+
2652
+ attr_accessor :Id, :AppId, :Plan, :Duration, :CreatedAt, :UpdatedAt, :StartTime, :EndTime, :Application, :XMagic, :Status, :Operation, :IsUse, :XMagicType, :Name, :BizType, :ResourceId, :AutoRenewFlag
2653
+
2654
+ def initialize(id=nil, appid=nil, plan=nil, duration=nil, createdat=nil, updatedat=nil, starttime=nil, endtime=nil, application=nil, xmagic=nil, status=nil, operation=nil, isuse=nil, xmagictype=nil, name=nil, biztype=nil, resourceid=nil, autorenewflag=nil)
2655
+ @Id = id
2656
+ @AppId = appid
2657
+ @Plan = plan
2658
+ @Duration = duration
2659
+ @CreatedAt = createdat
2660
+ @UpdatedAt = updatedat
2661
+ @StartTime = starttime
2662
+ @EndTime = endtime
2663
+ @Application = application
2664
+ @XMagic = xmagic
2665
+ @Status = status
2666
+ @Operation = operation
2667
+ @IsUse = isuse
2668
+ @XMagicType = xmagictype
2669
+ @Name = name
2670
+ @BizType = biztype
2671
+ @ResourceId = resourceid
2672
+ @AutoRenewFlag = autorenewflag
2673
+ end
2674
+
2675
+ def deserialize(params)
2676
+ @Id = params['Id']
2677
+ @AppId = params['AppId']
2678
+ @Plan = params['Plan']
2679
+ @Duration = params['Duration']
2680
+ @CreatedAt = params['CreatedAt']
2681
+ @UpdatedAt = params['UpdatedAt']
2682
+ @StartTime = params['StartTime']
2683
+ @EndTime = params['EndTime']
2684
+ unless params['Application'].nil?
2685
+ @Application = AppInfo.new
2686
+ @Application.deserialize(params['Application'])
2687
+ end
2688
+ unless params['XMagic'].nil?
2689
+ @XMagic = XMagicSimpleInfo.new
2690
+ @XMagic.deserialize(params['XMagic'])
2691
+ end
2692
+ @Status = params['Status']
2693
+ @Operation = params['Operation']
2694
+ @IsUse = params['IsUse']
2695
+ @XMagicType = params['XMagicType']
2696
+ @Name = params['Name']
2697
+ @BizType = params['BizType']
2698
+ @ResourceId = params['ResourceId']
2699
+ @AutoRenewFlag = params['AutoRenewFlag']
2700
+ end
2701
+ end
2702
+
2703
+ # 优图简单信息
2704
+ class XMagicSimpleInfo < TencentCloud::Common::AbstractModel
2705
+ # @param Id: XMagic 的Id
2706
+ # @type Id: Integer
2707
+ # @param Status: XMagic 状态
2708
+ # @type Status: Integer
2709
+
2710
+ attr_accessor :Id, :Status
2711
+
2712
+ def initialize(id=nil, status=nil)
2713
+ @Id = id
2714
+ @Status = status
2715
+ end
2716
+
2717
+ def deserialize(params)
2718
+ @Id = params['Id']
2719
+ @Status = params['Status']
2720
+ end
2721
+ end
2722
+
2723
+ # 可以开通测试的功能
2724
+ class XMagicTrial < TencentCloud::Common::AbstractModel
2725
+ # @param Name: 功能名称
2726
+ # @type Name: String
2727
+ # @param TrialCount: 可以申请的次数
2728
+ # @type TrialCount: Integer
2729
+ # @param Duration: 每次申请的时长单位:天
2730
+ # @type Duration: Integer
2731
+ # @param Plan: 功能类别
2732
+ # @type Plan: String
2733
+ # @param XMagicType: single: 原子能力,combined:套餐
2734
+ # @type XMagicType: String
2735
+
2736
+ attr_accessor :Name, :TrialCount, :Duration, :Plan, :XMagicType
2737
+
2738
+ def initialize(name=nil, trialcount=nil, duration=nil, plan=nil, xmagictype=nil)
2739
+ @Name = name
2740
+ @TrialCount = trialcount
2741
+ @Duration = duration
2742
+ @Plan = plan
2743
+ @XMagicType = xmagictype
2744
+ end
2745
+
2746
+ def deserialize(params)
2747
+ @Name = params['Name']
2748
+ @TrialCount = params['TrialCount']
2749
+ @Duration = params['Duration']
2750
+ @Plan = params['Plan']
2751
+ @XMagicType = params['XMagicType']
2752
+ end
2753
+ end
2754
+
2755
+ end
2756
+ end
2757
+ end
2758
+