tencentcloud-sdk-dnspod 3.0.603 → 3.0.604

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 818afbf192e57a51e3ee384e8be64d8ed65bd5bb
4
- data.tar.gz: 3582d38af23daae23355503895f800d71969a6a3
3
+ metadata.gz: e0ef21ede3f9132f7d375ae08962eb3634ab410d
4
+ data.tar.gz: 39e047b5ae3dbebc9c58e62068d53e304ceb618b
5
5
  SHA512:
6
- metadata.gz: 0deb299f56fa3366fecbaacfeca3004cd361bae6d76deef878581dc9e808c83d70b962f0fae7ef6eecaa464edee96a57607ede58e9680e4a152286b7be5d34f7
7
- data.tar.gz: 3099c458cbde0f8ae9ffbea27231b09ccf6257e1675785d54b4342378c2253a50681213fae1f4c76a96afe3405520d19ccf6419c12b56c1b1ff3c86aa260fe86
6
+ metadata.gz: e68986b55b29bd33be3a90a9461f879da12980a59e623a58bfffe1dccaf0af016e3ba793dde697d5782737c37b8b254321414cc3ef7c38c12411bb7c543139f0
7
+ data.tar.gz: 14cf7bf1c5d5690bca4a9223cf1accbc1d7e8b1c054f7c9b909394b2fbaae2b0fe76005a1246743283412280763f27afea6a8d43503c1d2eb3efc389b0612738
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.603
1
+ 3.0.604
@@ -389,6 +389,30 @@ module TencentCloud
389
389
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
390
  end
391
391
 
392
+ # 批量删除解析记录
393
+
394
+ # @param request: Request instance for DeleteRecordBatch.
395
+ # @type request: :class:`Tencentcloud::dnspod::V20210323::DeleteRecordBatchRequest`
396
+ # @rtype: :class:`Tencentcloud::dnspod::V20210323::DeleteRecordBatchResponse`
397
+ def DeleteRecordBatch(request)
398
+ body = send_request('DeleteRecordBatch', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DeleteRecordBatchResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
392
416
  # 删除记录分组
393
417
 
394
418
  # @param request: Request instance for DeleteRecordGroup.
@@ -1170,6 +1170,90 @@ module TencentCloud
1170
1170
  end
1171
1171
  end
1172
1172
 
1173
+ # 批量删除记录详情
1174
+ class DeleteRecordBatchDetail < TencentCloud::Common::AbstractModel
1175
+ # @param DomainId: 域名 ID
1176
+ # @type DomainId: Integer
1177
+ # @param Domain: 域名
1178
+ # @type Domain: String
1179
+ # @param Error: 错误信息
1180
+ # 注意:此字段可能返回 null,表示取不到有效值。
1181
+ # @type Error: String
1182
+ # @param Status: 删除状态
1183
+ # @type Status: String
1184
+ # @param Operation: 操作
1185
+ # @type Operation: String
1186
+ # @param RecordList: 解析记录列表,json 序列化之后的字符串形式
1187
+ # @type RecordList: String
1188
+
1189
+ attr_accessor :DomainId, :Domain, :Error, :Status, :Operation, :RecordList
1190
+
1191
+ def initialize(domainid=nil, domain=nil, error=nil, status=nil, operation=nil, recordlist=nil)
1192
+ @DomainId = domainid
1193
+ @Domain = domain
1194
+ @Error = error
1195
+ @Status = status
1196
+ @Operation = operation
1197
+ @RecordList = recordlist
1198
+ end
1199
+
1200
+ def deserialize(params)
1201
+ @DomainId = params['DomainId']
1202
+ @Domain = params['Domain']
1203
+ @Error = params['Error']
1204
+ @Status = params['Status']
1205
+ @Operation = params['Operation']
1206
+ @RecordList = params['RecordList']
1207
+ end
1208
+ end
1209
+
1210
+ # DeleteRecordBatch请求参数结构体
1211
+ class DeleteRecordBatchRequest < TencentCloud::Common::AbstractModel
1212
+ # @param RecordIdList: 解析记录 ID 数组
1213
+ # @type RecordIdList: Array
1214
+
1215
+ attr_accessor :RecordIdList
1216
+
1217
+ def initialize(recordidlist=nil)
1218
+ @RecordIdList = recordidlist
1219
+ end
1220
+
1221
+ def deserialize(params)
1222
+ @RecordIdList = params['RecordIdList']
1223
+ end
1224
+ end
1225
+
1226
+ # DeleteRecordBatch返回参数结构体
1227
+ class DeleteRecordBatchResponse < TencentCloud::Common::AbstractModel
1228
+ # @param JobId: 批量任务 ID
1229
+ # @type JobId: Integer
1230
+ # @param DetailList: 任务详情
1231
+ # @type DetailList: Array
1232
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1233
+ # @type RequestId: String
1234
+
1235
+ attr_accessor :JobId, :DetailList, :RequestId
1236
+
1237
+ def initialize(jobid=nil, detaillist=nil, requestid=nil)
1238
+ @JobId = jobid
1239
+ @DetailList = detaillist
1240
+ @RequestId = requestid
1241
+ end
1242
+
1243
+ def deserialize(params)
1244
+ @JobId = params['JobId']
1245
+ unless params['DetailList'].nil?
1246
+ @DetailList = []
1247
+ params['DetailList'].each do |i|
1248
+ deleterecordbatchdetail_tmp = DeleteRecordBatchDetail.new
1249
+ deleterecordbatchdetail_tmp.deserialize(i)
1250
+ @DetailList << deleterecordbatchdetail_tmp
1251
+ end
1252
+ end
1253
+ @RequestId = params['RequestId']
1254
+ end
1255
+ end
1256
+
1173
1257
  # DeleteRecordGroup请求参数结构体
1174
1258
  class DeleteRecordGroupRequest < TencentCloud::Common::AbstractModel
1175
1259
  # @param Domain: 域名
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-dnspod
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.603
4
+ version: 3.0.604
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-06-30 00:00:00.000000000 Z
11
+ date: 2023-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -33,8 +33,8 @@ executables: []
33
33
  extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
- - lib/v20210323/client.rb
37
36
  - lib/v20210323/models.rb
37
+ - lib/v20210323/client.rb
38
38
  - lib/tencentcloud-sdk-dnspod.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby