tencentcloud-sdk-privatedns 1.0.200

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1319 @@
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 Privatedns
19
+ module V20201028
20
+ # 私有域解析账号Vpc信息
21
+ class AccountVpcInfo < TencentCloud::Common::AbstractModel
22
+ # @param UniqVpcId: VpcId: vpc-xadsafsdasd
23
+ # @type UniqVpcId: String
24
+ # @param Region: Vpc所属地区: ap-guangzhou, ap-shanghai
25
+ # 注意:此字段可能返回 null,表示取不到有效值。
26
+ # @type Region: String
27
+ # @param Uin: Vpc所属账号: 123456789
28
+ # 注意:此字段可能返回 null,表示取不到有效值。
29
+ # @type Uin: String
30
+ # @param VpcName: vpc资源名称:testname
31
+ # 注意:此字段可能返回 null,表示取不到有效值。
32
+ # @type VpcName: String
33
+
34
+ attr_accessor :UniqVpcId, :Region, :Uin, :VpcName
35
+
36
+ def initialize(uniqvpcid=nil, region=nil, uin=nil, vpcname=nil)
37
+ @UniqVpcId = uniqvpcid
38
+ @Region = region
39
+ @Uin = uin
40
+ @VpcName = vpcname
41
+ end
42
+
43
+ def deserialize(params)
44
+ @UniqVpcId = params['UniqVpcId']
45
+ @Region = params['Region']
46
+ @Uin = params['Uin']
47
+ @VpcName = params['VpcName']
48
+ end
49
+ end
50
+
51
+ # 关联的VPC出参
52
+ class AccountVpcInfoOutput < TencentCloud::Common::AbstractModel
53
+ # @param Uin: 关联账户的uin
54
+ # @type Uin: String
55
+ # @param UniqVpcId: vpcid
56
+ # @type UniqVpcId: String
57
+ # @param Region: 地域
58
+ # @type Region: String
59
+
60
+ attr_accessor :Uin, :UniqVpcId, :Region
61
+
62
+ def initialize(uin=nil, uniqvpcid=nil, region=nil)
63
+ @Uin = uin
64
+ @UniqVpcId = uniqvpcid
65
+ @Region = region
66
+ end
67
+
68
+ def deserialize(params)
69
+ @Uin = params['Uin']
70
+ @UniqVpcId = params['UniqVpcId']
71
+ @Region = params['Region']
72
+ end
73
+ end
74
+
75
+ # 操作日志
76
+ class AuditLog < TencentCloud::Common::AbstractModel
77
+ # @param Resource: 日志类型
78
+ # @type Resource: String
79
+ # @param Metric: 日志表名
80
+ # @type Metric: String
81
+ # @param TotalCount: 日志总数
82
+ # @type TotalCount: Integer
83
+ # @param DataSet: 日志列表
84
+ # @type DataSet: Array
85
+
86
+ attr_accessor :Resource, :Metric, :TotalCount, :DataSet
87
+
88
+ def initialize(resource=nil, metric=nil, totalcount=nil, dataset=nil)
89
+ @Resource = resource
90
+ @Metric = metric
91
+ @TotalCount = totalcount
92
+ @DataSet = dataset
93
+ end
94
+
95
+ def deserialize(params)
96
+ @Resource = params['Resource']
97
+ @Metric = params['Metric']
98
+ @TotalCount = params['TotalCount']
99
+ unless params['DataSet'].nil?
100
+ @DataSet = []
101
+ params['DataSet'].each do |i|
102
+ auditloginfo_tmp = AuditLogInfo.new
103
+ auditloginfo_tmp.deserialize(i)
104
+ @DataSet << auditloginfo_tmp
105
+ end
106
+ end
107
+ end
108
+ end
109
+
110
+ # 日志详情
111
+ class AuditLogInfo < TencentCloud::Common::AbstractModel
112
+ # @param Date: 时间
113
+ # @type Date: String
114
+ # @param OperatorUin: 操作人uin
115
+ # @type OperatorUin: String
116
+ # @param Content: 日志内容
117
+ # @type Content: String
118
+
119
+ attr_accessor :Date, :OperatorUin, :Content
120
+
121
+ def initialize(date=nil, operatoruin=nil, content=nil)
122
+ @Date = date
123
+ @OperatorUin = operatoruin
124
+ @Content = content
125
+ end
126
+
127
+ def deserialize(params)
128
+ @Date = params['Date']
129
+ @OperatorUin = params['OperatorUin']
130
+ @Content = params['Content']
131
+ end
132
+ end
133
+
134
+ # CreatePrivateZoneRecord请求参数结构体
135
+ class CreatePrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
136
+ # @param ZoneId: 私有域ID
137
+ # @type ZoneId: String
138
+ # @param RecordType: 记录类型,可选的记录类型为:"A", "AAAA", "CNAME", "MX", "TXT", "PTR"
139
+ # @type RecordType: String
140
+ # @param SubDomain: 子域名,例如 "www", "m", "@"
141
+ # @type SubDomain: String
142
+ # @param RecordValue: 记录值,例如 IP:192.168.10.2,CNAME:cname.qcloud.com.,MX:mail.qcloud.com.
143
+ # @type RecordValue: String
144
+ # @param Weight: 记录权重,值为1-100
145
+ # @type Weight: Integer
146
+ # @param MX: MX优先级:记录类型为MX时必填。取值范围:5,10,15,20,30,40,50
147
+ # @type MX: Integer
148
+ # @param TTL: 记录缓存时间,数值越小生效越快,取值1-86400s, 默认 600
149
+ # @type TTL: Integer
150
+
151
+ attr_accessor :ZoneId, :RecordType, :SubDomain, :RecordValue, :Weight, :MX, :TTL
152
+
153
+ def initialize(zoneid=nil, recordtype=nil, subdomain=nil, recordvalue=nil, weight=nil, mx=nil, ttl=nil)
154
+ @ZoneId = zoneid
155
+ @RecordType = recordtype
156
+ @SubDomain = subdomain
157
+ @RecordValue = recordvalue
158
+ @Weight = weight
159
+ @MX = mx
160
+ @TTL = ttl
161
+ end
162
+
163
+ def deserialize(params)
164
+ @ZoneId = params['ZoneId']
165
+ @RecordType = params['RecordType']
166
+ @SubDomain = params['SubDomain']
167
+ @RecordValue = params['RecordValue']
168
+ @Weight = params['Weight']
169
+ @MX = params['MX']
170
+ @TTL = params['TTL']
171
+ end
172
+ end
173
+
174
+ # CreatePrivateZoneRecord返回参数结构体
175
+ class CreatePrivateZoneRecordResponse < TencentCloud::Common::AbstractModel
176
+ # @param RecordId: 记录Id
177
+ # @type RecordId: String
178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
179
+ # @type RequestId: String
180
+
181
+ attr_accessor :RecordId, :RequestId
182
+
183
+ def initialize(recordid=nil, requestid=nil)
184
+ @RecordId = recordid
185
+ @RequestId = requestid
186
+ end
187
+
188
+ def deserialize(params)
189
+ @RecordId = params['RecordId']
190
+ @RequestId = params['RequestId']
191
+ end
192
+ end
193
+
194
+ # CreatePrivateZone请求参数结构体
195
+ class CreatePrivateZoneRequest < TencentCloud::Common::AbstractModel
196
+ # @param Domain: 域名,格式必须是标准的TLD
197
+ # @type Domain: String
198
+ # @param TagSet: 创建私有域的同时,为其打上标签
199
+ # @type TagSet: Array
200
+ # @param VpcSet: 创建私有域的同时,将其关联至VPC
201
+ # @type VpcSet: Array
202
+ # @param Remark: 备注
203
+ # @type Remark: String
204
+ # @param DnsForwardStatus: 是否开启子域名递归, ENABLED, DISABLED。默认值为DISABLED
205
+ # @type DnsForwardStatus: String
206
+ # @param Vpcs: 创建私有域的同时,将其关联至VPC
207
+ # @type Vpcs: Array
208
+ # @param AccountVpcSet: 创建私有域同时绑定关联账号的VPC
209
+ # @type AccountVpcSet: Array
210
+
211
+ attr_accessor :Domain, :TagSet, :VpcSet, :Remark, :DnsForwardStatus, :Vpcs, :AccountVpcSet
212
+
213
+ def initialize(domain=nil, tagset=nil, vpcset=nil, remark=nil, dnsforwardstatus=nil, vpcs=nil, accountvpcset=nil)
214
+ @Domain = domain
215
+ @TagSet = tagset
216
+ @VpcSet = vpcset
217
+ @Remark = remark
218
+ @DnsForwardStatus = dnsforwardstatus
219
+ @Vpcs = vpcs
220
+ @AccountVpcSet = accountvpcset
221
+ end
222
+
223
+ def deserialize(params)
224
+ @Domain = params['Domain']
225
+ unless params['TagSet'].nil?
226
+ @TagSet = []
227
+ params['TagSet'].each do |i|
228
+ taginfo_tmp = TagInfo.new
229
+ taginfo_tmp.deserialize(i)
230
+ @TagSet << taginfo_tmp
231
+ end
232
+ end
233
+ unless params['VpcSet'].nil?
234
+ @VpcSet = []
235
+ params['VpcSet'].each do |i|
236
+ vpcinfo_tmp = VpcInfo.new
237
+ vpcinfo_tmp.deserialize(i)
238
+ @VpcSet << vpcinfo_tmp
239
+ end
240
+ end
241
+ @Remark = params['Remark']
242
+ @DnsForwardStatus = params['DnsForwardStatus']
243
+ unless params['Vpcs'].nil?
244
+ @Vpcs = []
245
+ params['Vpcs'].each do |i|
246
+ vpcinfo_tmp = VpcInfo.new
247
+ vpcinfo_tmp.deserialize(i)
248
+ @Vpcs << vpcinfo_tmp
249
+ end
250
+ end
251
+ unless params['AccountVpcSet'].nil?
252
+ @AccountVpcSet = []
253
+ params['AccountVpcSet'].each do |i|
254
+ accountvpcinfo_tmp = AccountVpcInfo.new
255
+ accountvpcinfo_tmp.deserialize(i)
256
+ @AccountVpcSet << accountvpcinfo_tmp
257
+ end
258
+ end
259
+ end
260
+ end
261
+
262
+ # CreatePrivateZone返回参数结构体
263
+ class CreatePrivateZoneResponse < TencentCloud::Common::AbstractModel
264
+ # @param ZoneId: 私有域ID, zone-xxxxxx
265
+ # @type ZoneId: String
266
+ # @param Domain: 私有域名
267
+ # @type Domain: String
268
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
269
+ # @type RequestId: String
270
+
271
+ attr_accessor :ZoneId, :Domain, :RequestId
272
+
273
+ def initialize(zoneid=nil, domain=nil, requestid=nil)
274
+ @ZoneId = zoneid
275
+ @Domain = domain
276
+ @RequestId = requestid
277
+ end
278
+
279
+ def deserialize(params)
280
+ @ZoneId = params['ZoneId']
281
+ @Domain = params['Domain']
282
+ @RequestId = params['RequestId']
283
+ end
284
+ end
285
+
286
+ # 时间统计值
287
+ class DatePoint < TencentCloud::Common::AbstractModel
288
+ # @param Date: 时间
289
+ # @type Date: String
290
+ # @param Value: 值
291
+ # @type Value: Integer
292
+
293
+ attr_accessor :Date, :Value
294
+
295
+ def initialize(date=nil, value=nil)
296
+ @Date = date
297
+ @Value = value
298
+ end
299
+
300
+ def deserialize(params)
301
+ @Date = params['Date']
302
+ @Value = params['Value']
303
+ end
304
+ end
305
+
306
+ # DeletePrivateZoneRecord请求参数结构体
307
+ class DeletePrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
308
+ # @param ZoneId: 私有域ID
309
+ # @type ZoneId: String
310
+ # @param RecordId: 记录ID
311
+ # @type RecordId: String
312
+ # @param RecordIdSet: 记录ID数组,RecordId 优先
313
+ # @type RecordIdSet: Array
314
+
315
+ attr_accessor :ZoneId, :RecordId, :RecordIdSet
316
+
317
+ def initialize(zoneid=nil, recordid=nil, recordidset=nil)
318
+ @ZoneId = zoneid
319
+ @RecordId = recordid
320
+ @RecordIdSet = recordidset
321
+ end
322
+
323
+ def deserialize(params)
324
+ @ZoneId = params['ZoneId']
325
+ @RecordId = params['RecordId']
326
+ @RecordIdSet = params['RecordIdSet']
327
+ end
328
+ end
329
+
330
+ # DeletePrivateZoneRecord返回参数结构体
331
+ class DeletePrivateZoneRecordResponse < TencentCloud::Common::AbstractModel
332
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
333
+ # @type RequestId: String
334
+
335
+ attr_accessor :RequestId
336
+
337
+ def initialize(requestid=nil)
338
+ @RequestId = requestid
339
+ end
340
+
341
+ def deserialize(params)
342
+ @RequestId = params['RequestId']
343
+ end
344
+ end
345
+
346
+ # DeletePrivateZone请求参数结构体
347
+ class DeletePrivateZoneRequest < TencentCloud::Common::AbstractModel
348
+ # @param ZoneId: 私有域ID
349
+ # @type ZoneId: String
350
+ # @param ZoneIdSet: 私有域ID数组,ZoneId 优先
351
+ # @type ZoneIdSet: Array
352
+
353
+ attr_accessor :ZoneId, :ZoneIdSet
354
+
355
+ def initialize(zoneid=nil, zoneidset=nil)
356
+ @ZoneId = zoneid
357
+ @ZoneIdSet = zoneidset
358
+ end
359
+
360
+ def deserialize(params)
361
+ @ZoneId = params['ZoneId']
362
+ @ZoneIdSet = params['ZoneIdSet']
363
+ end
364
+ end
365
+
366
+ # DeletePrivateZone返回参数结构体
367
+ class DeletePrivateZoneResponse < TencentCloud::Common::AbstractModel
368
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
369
+ # @type RequestId: String
370
+
371
+ attr_accessor :RequestId
372
+
373
+ def initialize(requestid=nil)
374
+ @RequestId = requestid
375
+ end
376
+
377
+ def deserialize(params)
378
+ @RequestId = params['RequestId']
379
+ end
380
+ end
381
+
382
+ # DescribeAuditLog请求参数结构体
383
+ class DescribeAuditLogRequest < TencentCloud::Common::AbstractModel
384
+ # @param TimeRangeBegin: 请求量统计起始时间
385
+ # @type TimeRangeBegin: String
386
+ # @param Filters: 筛选参数:ZoneId:私有域ID;Domain:私有域;OperatorUin:操作者账号ID
387
+ # @type Filters: Array
388
+ # @param TimeRangeEnd: 请求量统计结束时间
389
+ # @type TimeRangeEnd: String
390
+ # @param Offset: 分页偏移量,从0开始
391
+ # @type Offset: Integer
392
+ # @param Limit: 分页限制数目, 最大100,默认20
393
+ # @type Limit: Integer
394
+
395
+ attr_accessor :TimeRangeBegin, :Filters, :TimeRangeEnd, :Offset, :Limit
396
+
397
+ def initialize(timerangebegin=nil, filters=nil, timerangeend=nil, offset=nil, limit=nil)
398
+ @TimeRangeBegin = timerangebegin
399
+ @Filters = filters
400
+ @TimeRangeEnd = timerangeend
401
+ @Offset = offset
402
+ @Limit = limit
403
+ end
404
+
405
+ def deserialize(params)
406
+ @TimeRangeBegin = params['TimeRangeBegin']
407
+ unless params['Filters'].nil?
408
+ @Filters = []
409
+ params['Filters'].each do |i|
410
+ filter_tmp = Filter.new
411
+ filter_tmp.deserialize(i)
412
+ @Filters << filter_tmp
413
+ end
414
+ end
415
+ @TimeRangeEnd = params['TimeRangeEnd']
416
+ @Offset = params['Offset']
417
+ @Limit = params['Limit']
418
+ end
419
+ end
420
+
421
+ # DescribeAuditLog返回参数结构体
422
+ class DescribeAuditLogResponse < TencentCloud::Common::AbstractModel
423
+ # @param Data: 操作日志列表
424
+ # @type Data: Array
425
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
426
+ # @type RequestId: String
427
+
428
+ attr_accessor :Data, :RequestId
429
+
430
+ def initialize(data=nil, requestid=nil)
431
+ @Data = data
432
+ @RequestId = requestid
433
+ end
434
+
435
+ def deserialize(params)
436
+ unless params['Data'].nil?
437
+ @Data = []
438
+ params['Data'].each do |i|
439
+ auditlog_tmp = AuditLog.new
440
+ auditlog_tmp.deserialize(i)
441
+ @Data << auditlog_tmp
442
+ end
443
+ end
444
+ @RequestId = params['RequestId']
445
+ end
446
+ end
447
+
448
+ # DescribeDashboard请求参数结构体
449
+ class DescribeDashboardRequest < TencentCloud::Common::AbstractModel
450
+
451
+
452
+ def initialize()
453
+ end
454
+
455
+ def deserialize(params)
456
+ end
457
+ end
458
+
459
+ # DescribeDashboard返回参数结构体
460
+ class DescribeDashboardResponse < TencentCloud::Common::AbstractModel
461
+ # @param ZoneTotal: 私有域解析总数
462
+ # @type ZoneTotal: Integer
463
+ # @param ZoneVpcCount: 私有域关联VPC数量
464
+ # @type ZoneVpcCount: Integer
465
+ # @param RequestTotalCount: 历史请求量总数
466
+ # @type RequestTotalCount: Integer
467
+ # @param FlowUsage: 流量包用量
468
+ # @type FlowUsage: Array
469
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
470
+ # @type RequestId: String
471
+
472
+ attr_accessor :ZoneTotal, :ZoneVpcCount, :RequestTotalCount, :FlowUsage, :RequestId
473
+
474
+ def initialize(zonetotal=nil, zonevpccount=nil, requesttotalcount=nil, flowusage=nil, requestid=nil)
475
+ @ZoneTotal = zonetotal
476
+ @ZoneVpcCount = zonevpccount
477
+ @RequestTotalCount = requesttotalcount
478
+ @FlowUsage = flowusage
479
+ @RequestId = requestid
480
+ end
481
+
482
+ def deserialize(params)
483
+ @ZoneTotal = params['ZoneTotal']
484
+ @ZoneVpcCount = params['ZoneVpcCount']
485
+ @RequestTotalCount = params['RequestTotalCount']
486
+ unless params['FlowUsage'].nil?
487
+ @FlowUsage = []
488
+ params['FlowUsage'].each do |i|
489
+ flowusage_tmp = FlowUsage.new
490
+ flowusage_tmp.deserialize(i)
491
+ @FlowUsage << flowusage_tmp
492
+ end
493
+ end
494
+ @RequestId = params['RequestId']
495
+ end
496
+ end
497
+
498
+ # DescribePrivateDNSAccountList请求参数结构体
499
+ class DescribePrivateDNSAccountListRequest < TencentCloud::Common::AbstractModel
500
+ # @param Offset: 分页偏移量,从0开始
501
+ # @type Offset: Integer
502
+ # @param Limit: 分页限制数目, 最大100,默认20
503
+ # @type Limit: Integer
504
+ # @param Filters: 过滤参数
505
+ # @type Filters: Array
506
+
507
+ attr_accessor :Offset, :Limit, :Filters
508
+
509
+ def initialize(offset=nil, limit=nil, filters=nil)
510
+ @Offset = offset
511
+ @Limit = limit
512
+ @Filters = filters
513
+ end
514
+
515
+ def deserialize(params)
516
+ @Offset = params['Offset']
517
+ @Limit = params['Limit']
518
+ unless params['Filters'].nil?
519
+ @Filters = []
520
+ params['Filters'].each do |i|
521
+ filter_tmp = Filter.new
522
+ filter_tmp.deserialize(i)
523
+ @Filters << filter_tmp
524
+ end
525
+ end
526
+ end
527
+ end
528
+
529
+ # DescribePrivateDNSAccountList返回参数结构体
530
+ class DescribePrivateDNSAccountListResponse < TencentCloud::Common::AbstractModel
531
+ # @param TotalCount: 私有域解析账号数量
532
+ # @type TotalCount: Integer
533
+ # @param AccountSet: 私有域解析账号列表
534
+ # @type AccountSet: Array
535
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
536
+ # @type RequestId: String
537
+
538
+ attr_accessor :TotalCount, :AccountSet, :RequestId
539
+
540
+ def initialize(totalcount=nil, accountset=nil, requestid=nil)
541
+ @TotalCount = totalcount
542
+ @AccountSet = accountset
543
+ @RequestId = requestid
544
+ end
545
+
546
+ def deserialize(params)
547
+ @TotalCount = params['TotalCount']
548
+ unless params['AccountSet'].nil?
549
+ @AccountSet = []
550
+ params['AccountSet'].each do |i|
551
+ privatednsaccount_tmp = PrivateDNSAccount.new
552
+ privatednsaccount_tmp.deserialize(i)
553
+ @AccountSet << privatednsaccount_tmp
554
+ end
555
+ end
556
+ @RequestId = params['RequestId']
557
+ end
558
+ end
559
+
560
+ # DescribePrivateZoneList请求参数结构体
561
+ class DescribePrivateZoneListRequest < TencentCloud::Common::AbstractModel
562
+ # @param Offset: 分页偏移量,从0开始
563
+ # @type Offset: Integer
564
+ # @param Limit: 分页限制数目, 最大100,默认20
565
+ # @type Limit: Integer
566
+ # @param Filters: 过滤参数
567
+ # @type Filters: Array
568
+
569
+ attr_accessor :Offset, :Limit, :Filters
570
+
571
+ def initialize(offset=nil, limit=nil, filters=nil)
572
+ @Offset = offset
573
+ @Limit = limit
574
+ @Filters = filters
575
+ end
576
+
577
+ def deserialize(params)
578
+ @Offset = params['Offset']
579
+ @Limit = params['Limit']
580
+ unless params['Filters'].nil?
581
+ @Filters = []
582
+ params['Filters'].each do |i|
583
+ filter_tmp = Filter.new
584
+ filter_tmp.deserialize(i)
585
+ @Filters << filter_tmp
586
+ end
587
+ end
588
+ end
589
+ end
590
+
591
+ # DescribePrivateZoneList返回参数结构体
592
+ class DescribePrivateZoneListResponse < TencentCloud::Common::AbstractModel
593
+ # @param TotalCount: 私有域数量
594
+ # @type TotalCount: Integer
595
+ # @param PrivateZoneSet: 私有域列表
596
+ # @type PrivateZoneSet: Array
597
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
598
+ # @type RequestId: String
599
+
600
+ attr_accessor :TotalCount, :PrivateZoneSet, :RequestId
601
+
602
+ def initialize(totalcount=nil, privatezoneset=nil, requestid=nil)
603
+ @TotalCount = totalcount
604
+ @PrivateZoneSet = privatezoneset
605
+ @RequestId = requestid
606
+ end
607
+
608
+ def deserialize(params)
609
+ @TotalCount = params['TotalCount']
610
+ unless params['PrivateZoneSet'].nil?
611
+ @PrivateZoneSet = []
612
+ params['PrivateZoneSet'].each do |i|
613
+ privatezone_tmp = PrivateZone.new
614
+ privatezone_tmp.deserialize(i)
615
+ @PrivateZoneSet << privatezone_tmp
616
+ end
617
+ end
618
+ @RequestId = params['RequestId']
619
+ end
620
+ end
621
+
622
+ # DescribePrivateZoneRecordList请求参数结构体
623
+ class DescribePrivateZoneRecordListRequest < TencentCloud::Common::AbstractModel
624
+ # @param ZoneId: 私有域ID: zone-xxxxxx
625
+ # @type ZoneId: String
626
+ # @param Filters: 过滤参数
627
+ # @type Filters: Array
628
+ # @param Offset: 分页偏移量,从0开始
629
+ # @type Offset: Integer
630
+ # @param Limit: 分页限制数目, 最大100,默认20
631
+ # @type Limit: Integer
632
+
633
+ attr_accessor :ZoneId, :Filters, :Offset, :Limit
634
+
635
+ def initialize(zoneid=nil, filters=nil, offset=nil, limit=nil)
636
+ @ZoneId = zoneid
637
+ @Filters = filters
638
+ @Offset = offset
639
+ @Limit = limit
640
+ end
641
+
642
+ def deserialize(params)
643
+ @ZoneId = params['ZoneId']
644
+ unless params['Filters'].nil?
645
+ @Filters = []
646
+ params['Filters'].each do |i|
647
+ filter_tmp = Filter.new
648
+ filter_tmp.deserialize(i)
649
+ @Filters << filter_tmp
650
+ end
651
+ end
652
+ @Offset = params['Offset']
653
+ @Limit = params['Limit']
654
+ end
655
+ end
656
+
657
+ # DescribePrivateZoneRecordList返回参数结构体
658
+ class DescribePrivateZoneRecordListResponse < TencentCloud::Common::AbstractModel
659
+ # @param TotalCount: 解析记录数量
660
+ # @type TotalCount: Integer
661
+ # @param RecordSet: 解析记录列表
662
+ # @type RecordSet: Array
663
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
664
+ # @type RequestId: String
665
+
666
+ attr_accessor :TotalCount, :RecordSet, :RequestId
667
+
668
+ def initialize(totalcount=nil, recordset=nil, requestid=nil)
669
+ @TotalCount = totalcount
670
+ @RecordSet = recordset
671
+ @RequestId = requestid
672
+ end
673
+
674
+ def deserialize(params)
675
+ @TotalCount = params['TotalCount']
676
+ unless params['RecordSet'].nil?
677
+ @RecordSet = []
678
+ params['RecordSet'].each do |i|
679
+ privatezonerecord_tmp = PrivateZoneRecord.new
680
+ privatezonerecord_tmp.deserialize(i)
681
+ @RecordSet << privatezonerecord_tmp
682
+ end
683
+ end
684
+ @RequestId = params['RequestId']
685
+ end
686
+ end
687
+
688
+ # DescribePrivateZone请求参数结构体
689
+ class DescribePrivateZoneRequest < TencentCloud::Common::AbstractModel
690
+ # @param ZoneId: 域名,格式必须是标准的TLD
691
+ # @type ZoneId: String
692
+
693
+ attr_accessor :ZoneId
694
+
695
+ def initialize(zoneid=nil)
696
+ @ZoneId = zoneid
697
+ end
698
+
699
+ def deserialize(params)
700
+ @ZoneId = params['ZoneId']
701
+ end
702
+ end
703
+
704
+ # DescribePrivateZone返回参数结构体
705
+ class DescribePrivateZoneResponse < TencentCloud::Common::AbstractModel
706
+ # @param PrivateZone: 私有域详情
707
+ # @type PrivateZone: :class:`Tencentcloud::Privatedns.v20201028.models.PrivateZone`
708
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
709
+ # @type RequestId: String
710
+
711
+ attr_accessor :PrivateZone, :RequestId
712
+
713
+ def initialize(privatezone=nil, requestid=nil)
714
+ @PrivateZone = privatezone
715
+ @RequestId = requestid
716
+ end
717
+
718
+ def deserialize(params)
719
+ unless params['PrivateZone'].nil?
720
+ @PrivateZone = PrivateZone.new
721
+ @PrivateZone.deserialize(params['PrivateZone'])
722
+ end
723
+ @RequestId = params['RequestId']
724
+ end
725
+ end
726
+
727
+ # DescribePrivateZoneService请求参数结构体
728
+ class DescribePrivateZoneServiceRequest < TencentCloud::Common::AbstractModel
729
+
730
+
731
+ def initialize()
732
+ end
733
+
734
+ def deserialize(params)
735
+ end
736
+ end
737
+
738
+ # DescribePrivateZoneService返回参数结构体
739
+ class DescribePrivateZoneServiceResponse < TencentCloud::Common::AbstractModel
740
+ # @param ServiceStatus: 私有域解析服务开通状态。ENABLED已开通,DISABLED未开通
741
+ # @type ServiceStatus: String
742
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
743
+ # @type RequestId: String
744
+
745
+ attr_accessor :ServiceStatus, :RequestId
746
+
747
+ def initialize(servicestatus=nil, requestid=nil)
748
+ @ServiceStatus = servicestatus
749
+ @RequestId = requestid
750
+ end
751
+
752
+ def deserialize(params)
753
+ @ServiceStatus = params['ServiceStatus']
754
+ @RequestId = params['RequestId']
755
+ end
756
+ end
757
+
758
+ # DescribeRequestData请求参数结构体
759
+ class DescribeRequestDataRequest < TencentCloud::Common::AbstractModel
760
+ # @param TimeRangeBegin: 请求量统计起始时间,格式:2020-11-22 00:00:00
761
+ # @type TimeRangeBegin: String
762
+ # @param Filters: 筛选参数:
763
+ # @type Filters: Array
764
+ # @param TimeRangeEnd: 请求量统计结束时间,格式:2020-11-22 23:59:59
765
+ # @type TimeRangeEnd: String
766
+
767
+ attr_accessor :TimeRangeBegin, :Filters, :TimeRangeEnd
768
+
769
+ def initialize(timerangebegin=nil, filters=nil, timerangeend=nil)
770
+ @TimeRangeBegin = timerangebegin
771
+ @Filters = filters
772
+ @TimeRangeEnd = timerangeend
773
+ end
774
+
775
+ def deserialize(params)
776
+ @TimeRangeBegin = params['TimeRangeBegin']
777
+ unless params['Filters'].nil?
778
+ @Filters = []
779
+ params['Filters'].each do |i|
780
+ filter_tmp = Filter.new
781
+ filter_tmp.deserialize(i)
782
+ @Filters << filter_tmp
783
+ end
784
+ end
785
+ @TimeRangeEnd = params['TimeRangeEnd']
786
+ end
787
+ end
788
+
789
+ # DescribeRequestData返回参数结构体
790
+ class DescribeRequestDataResponse < TencentCloud::Common::AbstractModel
791
+ # @param Data: 请求量统计表
792
+ # @type Data: Array
793
+ # @param Interval: 请求量单位时间: Day:天,Hour:小时
794
+ # @type Interval: String
795
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
796
+ # @type RequestId: String
797
+
798
+ attr_accessor :Data, :Interval, :RequestId
799
+
800
+ def initialize(data=nil, interval=nil, requestid=nil)
801
+ @Data = data
802
+ @Interval = interval
803
+ @RequestId = requestid
804
+ end
805
+
806
+ def deserialize(params)
807
+ unless params['Data'].nil?
808
+ @Data = []
809
+ params['Data'].each do |i|
810
+ metricdata_tmp = MetricData.new
811
+ metricdata_tmp.deserialize(i)
812
+ @Data << metricdata_tmp
813
+ end
814
+ end
815
+ @Interval = params['Interval']
816
+ @RequestId = params['RequestId']
817
+ end
818
+ end
819
+
820
+ # 筛选参数
821
+ class Filter < TencentCloud::Common::AbstractModel
822
+ # @param Name: 参数名
823
+ # @type Name: String
824
+ # @param Values: 参数值数组
825
+ # @type Values: Array
826
+
827
+ attr_accessor :Name, :Values
828
+
829
+ def initialize(name=nil, values=nil)
830
+ @Name = name
831
+ @Values = values
832
+ end
833
+
834
+ def deserialize(params)
835
+ @Name = params['Name']
836
+ @Values = params['Values']
837
+ end
838
+ end
839
+
840
+ # 流量包用量
841
+ class FlowUsage < TencentCloud::Common::AbstractModel
842
+ # @param FlowType: 流量包类型:ZONE 私有域;TRAFFIC 解析流量包
843
+ # @type FlowType: String
844
+ # @param TotalQuantity: 流量包总额度
845
+ # @type TotalQuantity: Integer
846
+ # @param AvailableQuantity: 流量包可用额度
847
+ # @type AvailableQuantity: Integer
848
+
849
+ attr_accessor :FlowType, :TotalQuantity, :AvailableQuantity
850
+
851
+ def initialize(flowtype=nil, totalquantity=nil, availablequantity=nil)
852
+ @FlowType = flowtype
853
+ @TotalQuantity = totalquantity
854
+ @AvailableQuantity = availablequantity
855
+ end
856
+
857
+ def deserialize(params)
858
+ @FlowType = params['FlowType']
859
+ @TotalQuantity = params['TotalQuantity']
860
+ @AvailableQuantity = params['AvailableQuantity']
861
+ end
862
+ end
863
+
864
+ # 统计数据表
865
+ class MetricData < TencentCloud::Common::AbstractModel
866
+ # @param Resource: 资源描述
867
+ # @type Resource: String
868
+ # @param Metric: 表名
869
+ # @type Metric: String
870
+ # @param DataSet: 表数据
871
+ # @type DataSet: Array
872
+
873
+ attr_accessor :Resource, :Metric, :DataSet
874
+
875
+ def initialize(resource=nil, metric=nil, dataset=nil)
876
+ @Resource = resource
877
+ @Metric = metric
878
+ @DataSet = dataset
879
+ end
880
+
881
+ def deserialize(params)
882
+ @Resource = params['Resource']
883
+ @Metric = params['Metric']
884
+ unless params['DataSet'].nil?
885
+ @DataSet = []
886
+ params['DataSet'].each do |i|
887
+ datepoint_tmp = DatePoint.new
888
+ datepoint_tmp.deserialize(i)
889
+ @DataSet << datepoint_tmp
890
+ end
891
+ end
892
+ end
893
+ end
894
+
895
+ # ModifyPrivateZoneRecord请求参数结构体
896
+ class ModifyPrivateZoneRecordRequest < TencentCloud::Common::AbstractModel
897
+ # @param ZoneId: 私有域ID
898
+ # @type ZoneId: String
899
+ # @param RecordId: 记录ID
900
+ # @type RecordId: String
901
+ # @param RecordType: 记录类型,可选的记录类型为:"A", "AAAA", "CNAME", "MX", "TXT", "PTR"
902
+ # @type RecordType: String
903
+ # @param SubDomain: 子域名,例如 "www", "m", "@"
904
+ # @type SubDomain: String
905
+ # @param RecordValue: 记录值,例如 IP:192.168.10.2,CNAME:cname.qcloud.com.,MX:mail.qcloud.com.
906
+ # @type RecordValue: String
907
+ # @param Weight: 记录权重,值为1-100
908
+ # @type Weight: Integer
909
+ # @param MX: MX优先级:记录类型为MX时必填。取值范围:5,10,15,20,30,40,50
910
+ # @type MX: Integer
911
+ # @param TTL: 记录缓存时间,数值越小生效越快,取值1-86400s, 默认 600
912
+ # @type TTL: Integer
913
+
914
+ attr_accessor :ZoneId, :RecordId, :RecordType, :SubDomain, :RecordValue, :Weight, :MX, :TTL
915
+
916
+ def initialize(zoneid=nil, recordid=nil, recordtype=nil, subdomain=nil, recordvalue=nil, weight=nil, mx=nil, ttl=nil)
917
+ @ZoneId = zoneid
918
+ @RecordId = recordid
919
+ @RecordType = recordtype
920
+ @SubDomain = subdomain
921
+ @RecordValue = recordvalue
922
+ @Weight = weight
923
+ @MX = mx
924
+ @TTL = ttl
925
+ end
926
+
927
+ def deserialize(params)
928
+ @ZoneId = params['ZoneId']
929
+ @RecordId = params['RecordId']
930
+ @RecordType = params['RecordType']
931
+ @SubDomain = params['SubDomain']
932
+ @RecordValue = params['RecordValue']
933
+ @Weight = params['Weight']
934
+ @MX = params['MX']
935
+ @TTL = params['TTL']
936
+ end
937
+ end
938
+
939
+ # ModifyPrivateZoneRecord返回参数结构体
940
+ class ModifyPrivateZoneRecordResponse < TencentCloud::Common::AbstractModel
941
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
942
+ # @type RequestId: String
943
+
944
+ attr_accessor :RequestId
945
+
946
+ def initialize(requestid=nil)
947
+ @RequestId = requestid
948
+ end
949
+
950
+ def deserialize(params)
951
+ @RequestId = params['RequestId']
952
+ end
953
+ end
954
+
955
+ # ModifyPrivateZone请求参数结构体
956
+ class ModifyPrivateZoneRequest < TencentCloud::Common::AbstractModel
957
+ # @param ZoneId: 私有域ID
958
+ # @type ZoneId: String
959
+ # @param Remark: 备注
960
+ # @type Remark: String
961
+ # @param DnsForwardStatus: 是否开启子域名递归, ENABLED, DISABLED
962
+ # @type DnsForwardStatus: String
963
+
964
+ attr_accessor :ZoneId, :Remark, :DnsForwardStatus
965
+
966
+ def initialize(zoneid=nil, remark=nil, dnsforwardstatus=nil)
967
+ @ZoneId = zoneid
968
+ @Remark = remark
969
+ @DnsForwardStatus = dnsforwardstatus
970
+ end
971
+
972
+ def deserialize(params)
973
+ @ZoneId = params['ZoneId']
974
+ @Remark = params['Remark']
975
+ @DnsForwardStatus = params['DnsForwardStatus']
976
+ end
977
+ end
978
+
979
+ # ModifyPrivateZone返回参数结构体
980
+ class ModifyPrivateZoneResponse < TencentCloud::Common::AbstractModel
981
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
982
+ # @type RequestId: String
983
+
984
+ attr_accessor :RequestId
985
+
986
+ def initialize(requestid=nil)
987
+ @RequestId = requestid
988
+ end
989
+
990
+ def deserialize(params)
991
+ @RequestId = params['RequestId']
992
+ end
993
+ end
994
+
995
+ # ModifyPrivateZoneVpc请求参数结构体
996
+ class ModifyPrivateZoneVpcRequest < TencentCloud::Common::AbstractModel
997
+ # @param ZoneId: 私有域ID
998
+ # @type ZoneId: String
999
+ # @param VpcSet: 私有域关联的全部VPC列表
1000
+ # @type VpcSet: Array
1001
+ # @param AccountVpcSet: 私有域账号关联的全部VPC列表
1002
+ # @type AccountVpcSet: Array
1003
+
1004
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet
1005
+
1006
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil)
1007
+ @ZoneId = zoneid
1008
+ @VpcSet = vpcset
1009
+ @AccountVpcSet = accountvpcset
1010
+ end
1011
+
1012
+ def deserialize(params)
1013
+ @ZoneId = params['ZoneId']
1014
+ unless params['VpcSet'].nil?
1015
+ @VpcSet = []
1016
+ params['VpcSet'].each do |i|
1017
+ vpcinfo_tmp = VpcInfo.new
1018
+ vpcinfo_tmp.deserialize(i)
1019
+ @VpcSet << vpcinfo_tmp
1020
+ end
1021
+ end
1022
+ unless params['AccountVpcSet'].nil?
1023
+ @AccountVpcSet = []
1024
+ params['AccountVpcSet'].each do |i|
1025
+ accountvpcinfo_tmp = AccountVpcInfo.new
1026
+ accountvpcinfo_tmp.deserialize(i)
1027
+ @AccountVpcSet << accountvpcinfo_tmp
1028
+ end
1029
+ end
1030
+ end
1031
+ end
1032
+
1033
+ # ModifyPrivateZoneVpc返回参数结构体
1034
+ class ModifyPrivateZoneVpcResponse < TencentCloud::Common::AbstractModel
1035
+ # @param ZoneId: 私有域ID, zone-xxxxxx
1036
+ # @type ZoneId: String
1037
+ # @param VpcSet: 解析域关联的VPC列表
1038
+ # @type VpcSet: Array
1039
+ # @param AccountVpcSet: 私有域账号关联的全部VPC列表
1040
+ # @type AccountVpcSet: Array
1041
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1042
+ # @type RequestId: String
1043
+
1044
+ attr_accessor :ZoneId, :VpcSet, :AccountVpcSet, :RequestId
1045
+
1046
+ def initialize(zoneid=nil, vpcset=nil, accountvpcset=nil, requestid=nil)
1047
+ @ZoneId = zoneid
1048
+ @VpcSet = vpcset
1049
+ @AccountVpcSet = accountvpcset
1050
+ @RequestId = requestid
1051
+ end
1052
+
1053
+ def deserialize(params)
1054
+ @ZoneId = params['ZoneId']
1055
+ unless params['VpcSet'].nil?
1056
+ @VpcSet = []
1057
+ params['VpcSet'].each do |i|
1058
+ vpcinfo_tmp = VpcInfo.new
1059
+ vpcinfo_tmp.deserialize(i)
1060
+ @VpcSet << vpcinfo_tmp
1061
+ end
1062
+ end
1063
+ unless params['AccountVpcSet'].nil?
1064
+ @AccountVpcSet = []
1065
+ params['AccountVpcSet'].each do |i|
1066
+ accountvpcinfooutput_tmp = AccountVpcInfoOutput.new
1067
+ accountvpcinfooutput_tmp.deserialize(i)
1068
+ @AccountVpcSet << accountvpcinfooutput_tmp
1069
+ end
1070
+ end
1071
+ @RequestId = params['RequestId']
1072
+ end
1073
+ end
1074
+
1075
+ # 私有域解析账号
1076
+ class PrivateDNSAccount < TencentCloud::Common::AbstractModel
1077
+ # @param Uin: 主账号Uin
1078
+ # @type Uin: String
1079
+ # @param Account: 主账号名称
1080
+ # @type Account: String
1081
+ # @param Nickname: 用户昵称
1082
+ # @type Nickname: String
1083
+
1084
+ attr_accessor :Uin, :Account, :Nickname
1085
+
1086
+ def initialize(uin=nil, account=nil, nickname=nil)
1087
+ @Uin = uin
1088
+ @Account = account
1089
+ @Nickname = nickname
1090
+ end
1091
+
1092
+ def deserialize(params)
1093
+ @Uin = params['Uin']
1094
+ @Account = params['Account']
1095
+ @Nickname = params['Nickname']
1096
+ end
1097
+ end
1098
+
1099
+ # 私有域信息
1100
+ class PrivateZone < TencentCloud::Common::AbstractModel
1101
+ # @param ZoneId: 私有域id: zone-xxxxxxxx
1102
+ # @type ZoneId: String
1103
+ # @param OwnerUin: 域名所有者uin
1104
+ # @type OwnerUin: Integer
1105
+ # @param Domain: 私有域名
1106
+ # @type Domain: String
1107
+ # @param CreatedOn: 创建时间
1108
+ # @type CreatedOn: String
1109
+ # @param UpdatedOn: 修改时间
1110
+ # @type UpdatedOn: String
1111
+ # @param RecordCount: 记录数
1112
+ # @type RecordCount: Integer
1113
+ # @param Remark: 备注
1114
+ # 注意:此字段可能返回 null,表示取不到有效值。
1115
+ # @type Remark: String
1116
+ # @param VpcSet: 绑定的Vpc列表
1117
+ # @type VpcSet: Array
1118
+ # @param Status: 私有域状态:正常解析:ENABLED, 暂停解析:SUSPEND, 锁定:FROZEN
1119
+ # @type Status: String
1120
+ # @param DnsForwardStatus: 域名递归解析状态:开通:ENABLED, 关闭,DISABLED
1121
+ # @type DnsForwardStatus: String
1122
+ # @param Tags: 标签键值对集合
1123
+ # @type Tags: Array
1124
+ # @param AccountVpcSet: 绑定的关联账号的vpc列表
1125
+ # 注意:此字段可能返回 null,表示取不到有效值。
1126
+ # @type AccountVpcSet: Array
1127
+
1128
+ attr_accessor :ZoneId, :OwnerUin, :Domain, :CreatedOn, :UpdatedOn, :RecordCount, :Remark, :VpcSet, :Status, :DnsForwardStatus, :Tags, :AccountVpcSet
1129
+
1130
+ def initialize(zoneid=nil, owneruin=nil, domain=nil, createdon=nil, updatedon=nil, recordcount=nil, remark=nil, vpcset=nil, status=nil, dnsforwardstatus=nil, tags=nil, accountvpcset=nil)
1131
+ @ZoneId = zoneid
1132
+ @OwnerUin = owneruin
1133
+ @Domain = domain
1134
+ @CreatedOn = createdon
1135
+ @UpdatedOn = updatedon
1136
+ @RecordCount = recordcount
1137
+ @Remark = remark
1138
+ @VpcSet = vpcset
1139
+ @Status = status
1140
+ @DnsForwardStatus = dnsforwardstatus
1141
+ @Tags = tags
1142
+ @AccountVpcSet = accountvpcset
1143
+ end
1144
+
1145
+ def deserialize(params)
1146
+ @ZoneId = params['ZoneId']
1147
+ @OwnerUin = params['OwnerUin']
1148
+ @Domain = params['Domain']
1149
+ @CreatedOn = params['CreatedOn']
1150
+ @UpdatedOn = params['UpdatedOn']
1151
+ @RecordCount = params['RecordCount']
1152
+ @Remark = params['Remark']
1153
+ unless params['VpcSet'].nil?
1154
+ @VpcSet = []
1155
+ params['VpcSet'].each do |i|
1156
+ vpcinfo_tmp = VpcInfo.new
1157
+ vpcinfo_tmp.deserialize(i)
1158
+ @VpcSet << vpcinfo_tmp
1159
+ end
1160
+ end
1161
+ @Status = params['Status']
1162
+ @DnsForwardStatus = params['DnsForwardStatus']
1163
+ unless params['Tags'].nil?
1164
+ @Tags = []
1165
+ params['Tags'].each do |i|
1166
+ taginfo_tmp = TagInfo.new
1167
+ taginfo_tmp.deserialize(i)
1168
+ @Tags << taginfo_tmp
1169
+ end
1170
+ end
1171
+ unless params['AccountVpcSet'].nil?
1172
+ @AccountVpcSet = []
1173
+ params['AccountVpcSet'].each do |i|
1174
+ accountvpcinfooutput_tmp = AccountVpcInfoOutput.new
1175
+ accountvpcinfooutput_tmp.deserialize(i)
1176
+ @AccountVpcSet << accountvpcinfooutput_tmp
1177
+ end
1178
+ end
1179
+ end
1180
+ end
1181
+
1182
+ # 私有域信息
1183
+ class PrivateZoneRecord < TencentCloud::Common::AbstractModel
1184
+ # @param RecordId: 记录id
1185
+ # @type RecordId: String
1186
+ # @param ZoneId: 私有域id: zone-xxxxxxxx
1187
+ # @type ZoneId: String
1188
+ # @param SubDomain: 子域名
1189
+ # @type SubDomain: String
1190
+ # @param RecordType: 记录类型,可选的记录类型为:"A", "AAAA", "CNAME", "MX", "TXT", "PTR"
1191
+ # @type RecordType: String
1192
+ # @param RecordValue: 记录值
1193
+ # @type RecordValue: String
1194
+ # @param TTL: 记录缓存时间,数值越小生效越快,取值1-86400s, 默认 600
1195
+ # @type TTL: Integer
1196
+ # @param MX: MX优先级:记录类型为MX时必填。取值范围:5,10,15,20,30,40,50
1197
+ # 注意:此字段可能返回 null,表示取不到有效值。
1198
+ # @type MX: Integer
1199
+ # @param Status: 记录状态:ENABLED
1200
+ # @type Status: String
1201
+ # @param Weight: 记录权重,值为1-100
1202
+ # 注意:此字段可能返回 null,表示取不到有效值。
1203
+ # @type Weight: Integer
1204
+ # @param CreatedOn: 记录创建时间
1205
+ # @type CreatedOn: String
1206
+ # @param UpdatedOn: 记录更新时间
1207
+ # @type UpdatedOn: String
1208
+ # @param Extra: 附加信息
1209
+ # 注意:此字段可能返回 null,表示取不到有效值。
1210
+ # @type Extra: String
1211
+
1212
+ attr_accessor :RecordId, :ZoneId, :SubDomain, :RecordType, :RecordValue, :TTL, :MX, :Status, :Weight, :CreatedOn, :UpdatedOn, :Extra
1213
+
1214
+ def initialize(recordid=nil, zoneid=nil, subdomain=nil, recordtype=nil, recordvalue=nil, ttl=nil, mx=nil, status=nil, weight=nil, createdon=nil, updatedon=nil, extra=nil)
1215
+ @RecordId = recordid
1216
+ @ZoneId = zoneid
1217
+ @SubDomain = subdomain
1218
+ @RecordType = recordtype
1219
+ @RecordValue = recordvalue
1220
+ @TTL = ttl
1221
+ @MX = mx
1222
+ @Status = status
1223
+ @Weight = weight
1224
+ @CreatedOn = createdon
1225
+ @UpdatedOn = updatedon
1226
+ @Extra = extra
1227
+ end
1228
+
1229
+ def deserialize(params)
1230
+ @RecordId = params['RecordId']
1231
+ @ZoneId = params['ZoneId']
1232
+ @SubDomain = params['SubDomain']
1233
+ @RecordType = params['RecordType']
1234
+ @RecordValue = params['RecordValue']
1235
+ @TTL = params['TTL']
1236
+ @MX = params['MX']
1237
+ @Status = params['Status']
1238
+ @Weight = params['Weight']
1239
+ @CreatedOn = params['CreatedOn']
1240
+ @UpdatedOn = params['UpdatedOn']
1241
+ @Extra = params['Extra']
1242
+ end
1243
+ end
1244
+
1245
+ # SubscribePrivateZoneService请求参数结构体
1246
+ class SubscribePrivateZoneServiceRequest < TencentCloud::Common::AbstractModel
1247
+
1248
+
1249
+ def initialize()
1250
+ end
1251
+
1252
+ def deserialize(params)
1253
+ end
1254
+ end
1255
+
1256
+ # SubscribePrivateZoneService返回参数结构体
1257
+ class SubscribePrivateZoneServiceResponse < TencentCloud::Common::AbstractModel
1258
+ # @param ServiceStatus: 私有域解析服务开通状态
1259
+ # @type ServiceStatus: String
1260
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1261
+ # @type RequestId: String
1262
+
1263
+ attr_accessor :ServiceStatus, :RequestId
1264
+
1265
+ def initialize(servicestatus=nil, requestid=nil)
1266
+ @ServiceStatus = servicestatus
1267
+ @RequestId = requestid
1268
+ end
1269
+
1270
+ def deserialize(params)
1271
+ @ServiceStatus = params['ServiceStatus']
1272
+ @RequestId = params['RequestId']
1273
+ end
1274
+ end
1275
+
1276
+ # 标签
1277
+ class TagInfo < TencentCloud::Common::AbstractModel
1278
+ # @param TagKey: 标签键
1279
+ # @type TagKey: String
1280
+ # @param TagValue: 标签值
1281
+ # @type TagValue: String
1282
+
1283
+ attr_accessor :TagKey, :TagValue
1284
+
1285
+ def initialize(tagkey=nil, tagvalue=nil)
1286
+ @TagKey = tagkey
1287
+ @TagValue = tagvalue
1288
+ end
1289
+
1290
+ def deserialize(params)
1291
+ @TagKey = params['TagKey']
1292
+ @TagValue = params['TagValue']
1293
+ end
1294
+ end
1295
+
1296
+ # Vpc信息
1297
+ class VpcInfo < TencentCloud::Common::AbstractModel
1298
+ # @param UniqVpcId: VpcId: vpc-xadsafsdasd
1299
+ # @type UniqVpcId: String
1300
+ # @param Region: Vpc所属地区: ap-guangzhou, ap-shanghai
1301
+ # @type Region: String
1302
+
1303
+ attr_accessor :UniqVpcId, :Region
1304
+
1305
+ def initialize(uniqvpcid=nil, region=nil)
1306
+ @UniqVpcId = uniqvpcid
1307
+ @Region = region
1308
+ end
1309
+
1310
+ def deserialize(params)
1311
+ @UniqVpcId = params['UniqVpcId']
1312
+ @Region = params['Region']
1313
+ end
1314
+ end
1315
+
1316
+ end
1317
+ end
1318
+ end
1319
+