tencentcloud-sdk-domain 3.0.802 → 3.0.803
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180808/client.rb +48 -0
- data/lib/v20180808/models.rb +132 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6da00109a3b7c38f4693ec830ce2ce52930a24fa
|
4
|
+
data.tar.gz: 91d4951e4e6a1444b75633a72bc517086408710d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e5f5ddf8b72b4780faa567b0d2b66ae69e51fbeb658a4dcd4450b29a7222ab84036cbec30b0814e4c5104e9e18a3e96b537bd315fa6bcc55f4780fae84cacb
|
7
|
+
data.tar.gz: 22e526d9949a1e8e2ff49d647be9de0939a312463840b2002780ea8c90880651f759dda49f1b85d3741e8f5c4dd09d8bf3bd230dcc167bd9538891bcd79b4c19
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.803
|
data/lib/v20180808/client.rb
CHANGED
@@ -53,6 +53,30 @@ module TencentCloud
|
|
53
53
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
54
54
|
end
|
55
55
|
|
56
|
+
# 用户合作商预释放出价
|
57
|
+
|
58
|
+
# @param request: Request instance for BidPreDomains.
|
59
|
+
# @type request: :class:`Tencentcloud::domain::V20180808::BidPreDomainsRequest`
|
60
|
+
# @rtype: :class:`Tencentcloud::domain::V20180808::BidPreDomainsResponse`
|
61
|
+
def BidPreDomains(request)
|
62
|
+
body = send_request('BidPreDomains', request.serialize)
|
63
|
+
response = JSON.parse(body)
|
64
|
+
if response['Response'].key?('Error') == false
|
65
|
+
model = BidPreDomainsResponse.new
|
66
|
+
model.deserialize(response['Response'])
|
67
|
+
model
|
68
|
+
else
|
69
|
+
code = response['Response']['Error']['Code']
|
70
|
+
message = response['Response']['Error']['Message']
|
71
|
+
reqid = response['Response']['RequestId']
|
72
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
73
|
+
end
|
74
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
75
|
+
raise e
|
76
|
+
rescue StandardError => e
|
77
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
|
+
end
|
79
|
+
|
56
80
|
# 本接口 ( CheckBatchStatus ) 用于查询批量操作日志状态 。
|
57
81
|
|
58
82
|
# @param request: Request instance for CheckBatchStatus.
|
@@ -533,6 +557,30 @@ module TencentCloud
|
|
533
557
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
534
558
|
end
|
535
559
|
|
560
|
+
# 接口用于获取合作商竞价过程中竞价详情数据
|
561
|
+
|
562
|
+
# @param request: Request instance for DescribeReservedBidInfo.
|
563
|
+
# @type request: :class:`Tencentcloud::domain::V20180808::DescribeReservedBidInfoRequest`
|
564
|
+
# @rtype: :class:`Tencentcloud::domain::V20180808::DescribeReservedBidInfoResponse`
|
565
|
+
def DescribeReservedBidInfo(request)
|
566
|
+
body = send_request('DescribeReservedBidInfo', request.serialize)
|
567
|
+
response = JSON.parse(body)
|
568
|
+
if response['Response'].key?('Error') == false
|
569
|
+
model = DescribeReservedBidInfoResponse.new
|
570
|
+
model.deserialize(response['Response'])
|
571
|
+
model
|
572
|
+
else
|
573
|
+
code = response['Response']['Error']['Code']
|
574
|
+
message = response['Response']['Error']['Message']
|
575
|
+
reqid = response['Response']['RequestId']
|
576
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
577
|
+
end
|
578
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
579
|
+
raise e
|
580
|
+
rescue StandardError => e
|
581
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
|
+
end
|
583
|
+
|
536
584
|
# 合作商用于查询预约预释放状态信息内容
|
537
585
|
|
538
586
|
# @param request: Request instance for DescribeReservedPreDomainInfo.
|
data/lib/v20180808/models.rb
CHANGED
@@ -87,6 +87,42 @@ module TencentCloud
|
|
87
87
|
end
|
88
88
|
end
|
89
89
|
|
90
|
+
# BidPreDomains请求参数结构体
|
91
|
+
class BidPreDomainsRequest < TencentCloud::Common::AbstractModel
|
92
|
+
# @param BusinessId: 业务ID
|
93
|
+
# @type BusinessId: String
|
94
|
+
# @param Price: 价格
|
95
|
+
# @type Price: Integer
|
96
|
+
|
97
|
+
attr_accessor :BusinessId, :Price
|
98
|
+
|
99
|
+
def initialize(businessid=nil, price=nil)
|
100
|
+
@BusinessId = businessid
|
101
|
+
@Price = price
|
102
|
+
end
|
103
|
+
|
104
|
+
def deserialize(params)
|
105
|
+
@BusinessId = params['BusinessId']
|
106
|
+
@Price = params['Price']
|
107
|
+
end
|
108
|
+
end
|
109
|
+
|
110
|
+
# BidPreDomains返回参数结构体
|
111
|
+
class BidPreDomainsResponse < TencentCloud::Common::AbstractModel
|
112
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
113
|
+
# @type RequestId: String
|
114
|
+
|
115
|
+
attr_accessor :RequestId
|
116
|
+
|
117
|
+
def initialize(requestid=nil)
|
118
|
+
@RequestId = requestid
|
119
|
+
end
|
120
|
+
|
121
|
+
def deserialize(params)
|
122
|
+
@RequestId = params['RequestId']
|
123
|
+
end
|
124
|
+
end
|
125
|
+
|
90
126
|
# 认证资料信息
|
91
127
|
class CertificateInfo < TencentCloud::Common::AbstractModel
|
92
128
|
# @param CertificateCode: 证件号码。
|
@@ -1274,11 +1310,67 @@ module TencentCloud
|
|
1274
1310
|
end
|
1275
1311
|
end
|
1276
1312
|
|
1313
|
+
# DescribeReservedBidInfo请求参数结构体
|
1314
|
+
class DescribeReservedBidInfoRequest < TencentCloud::Common::AbstractModel
|
1315
|
+
# @param BusinessId: 业务ID
|
1316
|
+
# @type BusinessId: String
|
1317
|
+
|
1318
|
+
attr_accessor :BusinessId
|
1319
|
+
|
1320
|
+
def initialize(businessid=nil)
|
1321
|
+
@BusinessId = businessid
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
def deserialize(params)
|
1325
|
+
@BusinessId = params['BusinessId']
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
# DescribeReservedBidInfo返回参数结构体
|
1330
|
+
class DescribeReservedBidInfoResponse < TencentCloud::Common::AbstractModel
|
1331
|
+
# @param UpPrice: 竞价领先价格
|
1332
|
+
# @type UpPrice: Integer
|
1333
|
+
# @param Price: 请求用户当前价格
|
1334
|
+
# @type Price: Integer
|
1335
|
+
# @param UpUser: 领先用户
|
1336
|
+
# @type UpUser: String
|
1337
|
+
# @param BidList: 竞价详细数据
|
1338
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
1339
|
+
# @type BidList: Array
|
1340
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
1341
|
+
# @type RequestId: String
|
1342
|
+
|
1343
|
+
attr_accessor :UpPrice, :Price, :UpUser, :BidList, :RequestId
|
1344
|
+
|
1345
|
+
def initialize(upprice=nil, price=nil, upuser=nil, bidlist=nil, requestid=nil)
|
1346
|
+
@UpPrice = upprice
|
1347
|
+
@Price = price
|
1348
|
+
@UpUser = upuser
|
1349
|
+
@BidList = bidlist
|
1350
|
+
@RequestId = requestid
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
def deserialize(params)
|
1354
|
+
@UpPrice = params['UpPrice']
|
1355
|
+
@Price = params['Price']
|
1356
|
+
@UpUser = params['UpUser']
|
1357
|
+
unless params['BidList'].nil?
|
1358
|
+
@BidList = []
|
1359
|
+
params['BidList'].each do |i|
|
1360
|
+
reservebidinfo_tmp = ReserveBidInfo.new
|
1361
|
+
reservebidinfo_tmp.deserialize(i)
|
1362
|
+
@BidList << reservebidinfo_tmp
|
1363
|
+
end
|
1364
|
+
end
|
1365
|
+
@RequestId = params['RequestId']
|
1366
|
+
end
|
1367
|
+
end
|
1368
|
+
|
1277
1369
|
# DescribeReservedPreDomainInfo请求参数结构体
|
1278
1370
|
class DescribeReservedPreDomainInfoRequest < TencentCloud::Common::AbstractModel
|
1279
1371
|
# @param DomainList: 域名,每次最多支持500条域名查询
|
1280
1372
|
# @type DomainList: Array
|
1281
|
-
# @param ReservedStatus: 状态,用于筛选,可不填写(1.
|
1373
|
+
# @param ReservedStatus: 状态,用于筛选,可不填写(1. 成功 2. 失败(失败Reason字段将会被赋值)3. 域名交割中 4. 域名交割完成 5. 预约 6. 竞价)
|
1282
1374
|
# @type ReservedStatus: Integer
|
1283
1375
|
# @param ReservedTimeSort: 根据预约时间排序,仅支持:"desc","asc"。
|
1284
1376
|
# @type ReservedTimeSort: String
|
@@ -2195,6 +2287,38 @@ module TencentCloud
|
|
2195
2287
|
end
|
2196
2288
|
end
|
2197
2289
|
|
2290
|
+
# 合作商竞价详情
|
2291
|
+
class ReserveBidInfo < TencentCloud::Common::AbstractModel
|
2292
|
+
# @param User: 用户
|
2293
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2294
|
+
# @type User: String
|
2295
|
+
# @param Price: 出价
|
2296
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2297
|
+
# @type Price: Integer
|
2298
|
+
# @param BidTime: 出价时间
|
2299
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2300
|
+
# @type BidTime: String
|
2301
|
+
# @param BidStatus: 当前状态
|
2302
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2303
|
+
# @type BidStatus: String
|
2304
|
+
|
2305
|
+
attr_accessor :User, :Price, :BidTime, :BidStatus
|
2306
|
+
|
2307
|
+
def initialize(user=nil, price=nil, bidtime=nil, bidstatus=nil)
|
2308
|
+
@User = user
|
2309
|
+
@Price = price
|
2310
|
+
@BidTime = bidtime
|
2311
|
+
@BidStatus = bidstatus
|
2312
|
+
end
|
2313
|
+
|
2314
|
+
def deserialize(params)
|
2315
|
+
@User = params['User']
|
2316
|
+
@Price = params['Price']
|
2317
|
+
@BidTime = params['BidTime']
|
2318
|
+
@BidStatus = params['BidStatus']
|
2319
|
+
end
|
2320
|
+
end
|
2321
|
+
|
2198
2322
|
# 查询预释放预约列表域名详情
|
2199
2323
|
class ReservedDomainInfo < TencentCloud::Common::AbstractModel
|
2200
2324
|
# @param Domain: 域名
|
@@ -2252,10 +2376,13 @@ module TencentCloud
|
|
2252
2376
|
# @param ResourceId: 资源ID,用于删除资源信息
|
2253
2377
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2254
2378
|
# @type ResourceId: String
|
2379
|
+
# @param BusinessId: 业务ID
|
2380
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2381
|
+
# @type BusinessId: String
|
2255
2382
|
|
2256
|
-
attr_accessor :Domain, :ReservedStatus, :FailReason, :ChangeOwnerTime, :RegTime, :ExpireTime, :ResourceId
|
2383
|
+
attr_accessor :Domain, :ReservedStatus, :FailReason, :ChangeOwnerTime, :RegTime, :ExpireTime, :ResourceId, :BusinessId
|
2257
2384
|
|
2258
|
-
def initialize(domain=nil, reservedstatus=nil, failreason=nil, changeownertime=nil, regtime=nil, expiretime=nil, resourceid=nil)
|
2385
|
+
def initialize(domain=nil, reservedstatus=nil, failreason=nil, changeownertime=nil, regtime=nil, expiretime=nil, resourceid=nil, businessid=nil)
|
2259
2386
|
@Domain = domain
|
2260
2387
|
@ReservedStatus = reservedstatus
|
2261
2388
|
@FailReason = failreason
|
@@ -2263,6 +2390,7 @@ module TencentCloud
|
|
2263
2390
|
@RegTime = regtime
|
2264
2391
|
@ExpireTime = expiretime
|
2265
2392
|
@ResourceId = resourceid
|
2393
|
+
@BusinessId = businessid
|
2266
2394
|
end
|
2267
2395
|
|
2268
2396
|
def deserialize(params)
|
@@ -2273,6 +2401,7 @@ module TencentCloud
|
|
2273
2401
|
@RegTime = params['RegTime']
|
2274
2402
|
@ExpireTime = params['ExpireTime']
|
2275
2403
|
@ResourceId = params['ResourceId']
|
2404
|
+
@BusinessId = params['BusinessId']
|
2276
2405
|
end
|
2277
2406
|
end
|
2278
2407
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-domain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.803
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|