tencentcloud-sdk-domain 1.0.301 → 1.0.302

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: 794787ae35e8a769711e6478894346c9c2297a54
4
- data.tar.gz: a5127e8ce5b89d47538d43ab9d0bb4cf5efecf00
3
+ metadata.gz: c137bade4229809872cfe9eb77bd89eaada1aa87
4
+ data.tar.gz: fca53087ff5f9b705eb8c89ba3f0dfbd156c557c
5
5
  SHA512:
6
- metadata.gz: b1dbde92ddb1e8482f1d1eb47fe813a33af4973b84a7ea172441336e5df5e8dff2702d845bb7d21c002e8f4e42cb9c16bfedf471342c7b72709b22d21ca5ac6a
7
- data.tar.gz: 6542214a7d11fda3ee0393e91cee0379528763fd3b54b027d333565d5e701ab188561c7714821441a34f0a0c3b2253fbc03602635203dcfd5be9cd9025b1ace9
6
+ metadata.gz: 60ef0ad1fbd28d1e9e601c2675a090c21f6fe40b5fcaceadb930192e85a47d789e5528cb435ed917a0ad0ef56f0b7722ed72aa6ad666815fb370bd98a2523a2b
7
+ data.tar.gz: 0b91bd5da563a2f5c517c8da6cfdcae5791730addda76421b257af910a0fe0017e691cdd2fccda329b24bf53dff20e13ba21bcb55acf8ffdb7da2e4b46087f8a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.301
1
+ 1.0.302
@@ -341,6 +341,30 @@ module TencentCloud
341
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
342
  end
343
343
 
344
+ # 获取域名实名信息详情
345
+
346
+ # @param request: Request instance for DescribeDomainSimpleInfo.
347
+ # @type request: :class:`Tencentcloud::domain::V20180808::DescribeDomainSimpleInfoRequest`
348
+ # @rtype: :class:`Tencentcloud::domain::V20180808::DescribeDomainSimpleInfoResponse`
349
+ def DescribeDomainSimpleInfo(request)
350
+ body = send_request('DescribeDomainSimpleInfo', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DescribeDomainSimpleInfoResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
344
368
  # 本接口用于获取已验证的手机邮箱列表
345
369
 
346
370
  # @param request: Request instance for DescribePhoneEmailList.
@@ -829,6 +829,49 @@ module TencentCloud
829
829
  end
830
830
  end
831
831
 
832
+ # DescribeDomainSimpleInfo请求参数结构体
833
+ class DescribeDomainSimpleInfoRequest < TencentCloud::Common::AbstractModel
834
+ # @param DomainName: 域名
835
+ # @type DomainName: String
836
+
837
+ attr_accessor :DomainName
838
+
839
+ def initialize(domainname=nil)
840
+ @DomainName = domainname
841
+ end
842
+
843
+ def deserialize(params)
844
+ @DomainName = params['DomainName']
845
+ end
846
+ end
847
+
848
+ # DescribeDomainSimpleInfo返回参数结构体
849
+ class DescribeDomainSimpleInfoResponse < TencentCloud::Common::AbstractModel
850
+ # @param DomainInfo: 域名信息
851
+ # @type DomainInfo: :class:`Tencentcloud::Domain.v20180808.models.DomainSimpleInfo`
852
+ # @param Uin: 账号ID
853
+ # @type Uin: String
854
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
855
+ # @type RequestId: String
856
+
857
+ attr_accessor :DomainInfo, :Uin, :RequestId
858
+
859
+ def initialize(domaininfo=nil, uin=nil, requestid=nil)
860
+ @DomainInfo = domaininfo
861
+ @Uin = uin
862
+ @RequestId = requestid
863
+ end
864
+
865
+ def deserialize(params)
866
+ unless params['DomainInfo'].nil?
867
+ @DomainInfo = DomainSimpleInfo.new
868
+ @DomainInfo.deserialize(params['DomainInfo'])
869
+ end
870
+ @Uin = params['Uin']
871
+ @RequestId = params['RequestId']
872
+ end
873
+ end
874
+
832
875
  # DescribePhoneEmailList请求参数结构体
833
876
  class DescribePhoneEmailListRequest < TencentCloud::Common::AbstractModel
834
877
  # @param Type: 0:所有类型 1:手机 2:邮箱,默认0
@@ -1234,6 +1277,136 @@ module TencentCloud
1234
1277
  end
1235
1278
  end
1236
1279
 
1280
+ # 获取域名基础模板信息
1281
+ class DomainSimpleInfo < TencentCloud::Common::AbstractModel
1282
+ # @param DomainId: 域名资源ID。
1283
+ # @type DomainId: String
1284
+ # @param DomainName: 域名名称。
1285
+ # @type DomainName: String
1286
+ # @param RealNameAuditStatus: 域名实名认证状态。
1287
+ # NotUpload:未实名认证
1288
+ # InAudit:实名审核中
1289
+ # Approved:实名审核通过
1290
+ # Reject:实名审核失败
1291
+ # NoAudit: 无需实名认证
1292
+ # @type RealNameAuditStatus: String
1293
+ # @param RealNameAuditUnpassReason: 域名实名认证不通过原因。
1294
+ # 注意:此字段可能返回 null,表示取不到有效值。
1295
+ # @type RealNameAuditUnpassReason: String
1296
+ # @param DomainNameAuditStatus: 域名命名审核状态。
1297
+ # NotAudit:命名审核未上传
1298
+ # Pending:命名审核待上传
1299
+ # Auditing:域名命名审核中
1300
+ # Approved:域名命名审核通过
1301
+ # Rejected:域名命名审核拒绝
1302
+ # @type DomainNameAuditStatus: String
1303
+ # @param DomainNameAuditUnpassReason: 域名命名审核不通过原因。
1304
+ # 注意:此字段可能返回 null,表示取不到有效值。
1305
+ # @type DomainNameAuditUnpassReason: String
1306
+ # @param CreationDate: 注册时间。
1307
+ # @type CreationDate: String
1308
+ # @param ExpirationDate: 到期时间
1309
+ # @type ExpirationDate: String
1310
+ # @param DomainStatus: 域名状态。
1311
+ # ok:正常
1312
+ # serverHold:注册局暂停解析
1313
+ # clientHold:注册商暂停解析
1314
+ # pendingTransfer:转移中
1315
+ # renewingPeriod:续费期
1316
+ # redemptionPeriod:偿还期
1317
+ # pendingDelete:删除期
1318
+ # serverTransferProhibited:注册局禁止转移
1319
+ # serverUpdateProhibited:注册局禁止更新
1320
+ # serverDeleteProhibited:注册局禁止删除
1321
+ # clientTransferProhibited:注册商禁止转移
1322
+ # clientUpdateProhibited:注册商禁止更新
1323
+ # clientDeleteProhibited:注册商禁止删除
1324
+ # @type DomainStatus: Array
1325
+ # @param BuyStatus: 域名购买状态。
1326
+ # ok:正常
1327
+ # RegisterPending:待注册
1328
+ # RegisterDoing:注册中
1329
+ # RegisterFailed:注册失败
1330
+ # AboutToExpire: 即将过期
1331
+ # RenewPending:已进入续费期,需要进行续费
1332
+ # RenewDoing:续费中
1333
+ # RedemptionPending:已进入赎回期,需要进行续费
1334
+ # RedemptionDoing:赎回中
1335
+ # TransferPending:待转入中
1336
+ # TransferTransing:转入中
1337
+ # TransferFailed:转入失败
1338
+ # @type BuyStatus: String
1339
+ # @param RegistrarType: 注册商类型
1340
+ # epp: DNSPod, Inc.(烟台帝思普网络科技有限公司)
1341
+ # qcloud: Tencent Cloud Computing (Beijing) Limited Liability Company(腾讯云计算(北京)有限责任公司)
1342
+ # yunxun: Guangzhou Yunxun Information Technology Co., Ltd.(广州云讯信息科技有限公司)
1343
+ # xinnet: Xin Net Technology Corporation(北京新网数码信息技术有限公司)
1344
+ # @type RegistrarType: String
1345
+ # @param NameServer: 域名绑定的ns
1346
+ # @type NameServer: Array
1347
+ # @param LockTransfer: true:开启锁定
1348
+ # false:关闭锁定
1349
+ # @type LockTransfer: Boolean
1350
+ # @param LockEndTime: 锁定结束时间
1351
+ # @type LockEndTime: String
1352
+ # @param RegistrantType: 认证类型:I=个人,E=企业
1353
+ # @type RegistrantType: String
1354
+ # @param OrganizationNameCN: 域名所有者,中文
1355
+ # @type OrganizationNameCN: String
1356
+ # @param OrganizationName: 域名所有者,英文
1357
+ # @type OrganizationName: String
1358
+ # @param RegistrantNameCN: 域名联系人,中文
1359
+ # @type RegistrantNameCN: String
1360
+ # @param RegistrantName: 域名联系人,英文
1361
+ # @type RegistrantName: String
1362
+
1363
+ attr_accessor :DomainId, :DomainName, :RealNameAuditStatus, :RealNameAuditUnpassReason, :DomainNameAuditStatus, :DomainNameAuditUnpassReason, :CreationDate, :ExpirationDate, :DomainStatus, :BuyStatus, :RegistrarType, :NameServer, :LockTransfer, :LockEndTime, :RegistrantType, :OrganizationNameCN, :OrganizationName, :RegistrantNameCN, :RegistrantName
1364
+
1365
+ def initialize(domainid=nil, domainname=nil, realnameauditstatus=nil, realnameauditunpassreason=nil, domainnameauditstatus=nil, domainnameauditunpassreason=nil, creationdate=nil, expirationdate=nil, domainstatus=nil, buystatus=nil, registrartype=nil, nameserver=nil, locktransfer=nil, lockendtime=nil, registranttype=nil, organizationnamecn=nil, organizationname=nil, registrantnamecn=nil, registrantname=nil)
1366
+ @DomainId = domainid
1367
+ @DomainName = domainname
1368
+ @RealNameAuditStatus = realnameauditstatus
1369
+ @RealNameAuditUnpassReason = realnameauditunpassreason
1370
+ @DomainNameAuditStatus = domainnameauditstatus
1371
+ @DomainNameAuditUnpassReason = domainnameauditunpassreason
1372
+ @CreationDate = creationdate
1373
+ @ExpirationDate = expirationdate
1374
+ @DomainStatus = domainstatus
1375
+ @BuyStatus = buystatus
1376
+ @RegistrarType = registrartype
1377
+ @NameServer = nameserver
1378
+ @LockTransfer = locktransfer
1379
+ @LockEndTime = lockendtime
1380
+ @RegistrantType = registranttype
1381
+ @OrganizationNameCN = organizationnamecn
1382
+ @OrganizationName = organizationname
1383
+ @RegistrantNameCN = registrantnamecn
1384
+ @RegistrantName = registrantname
1385
+ end
1386
+
1387
+ def deserialize(params)
1388
+ @DomainId = params['DomainId']
1389
+ @DomainName = params['DomainName']
1390
+ @RealNameAuditStatus = params['RealNameAuditStatus']
1391
+ @RealNameAuditUnpassReason = params['RealNameAuditUnpassReason']
1392
+ @DomainNameAuditStatus = params['DomainNameAuditStatus']
1393
+ @DomainNameAuditUnpassReason = params['DomainNameAuditUnpassReason']
1394
+ @CreationDate = params['CreationDate']
1395
+ @ExpirationDate = params['ExpirationDate']
1396
+ @DomainStatus = params['DomainStatus']
1397
+ @BuyStatus = params['BuyStatus']
1398
+ @RegistrarType = params['RegistrarType']
1399
+ @NameServer = params['NameServer']
1400
+ @LockTransfer = params['LockTransfer']
1401
+ @LockEndTime = params['LockEndTime']
1402
+ @RegistrantType = params['RegistrantType']
1403
+ @OrganizationNameCN = params['OrganizationNameCN']
1404
+ @OrganizationName = params['OrganizationName']
1405
+ @RegistrantNameCN = params['RegistrantNameCN']
1406
+ @RegistrantName = params['RegistrantName']
1407
+ end
1408
+ end
1409
+
1237
1410
  # ModifyDomainDNSBatch请求参数结构体
1238
1411
  class ModifyDomainDNSBatchRequest < TencentCloud::Common::AbstractModel
1239
1412
  # @param Domains: 批量操作的域名。
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-domain
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.301
4
+ version: 1.0.302
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud