tencentcloud-sdk-keewidb 3.0.529 → 3.0.531
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/v20220308/client.rb +24 -0
- data/lib/v20220308/models.rb +103 -0
- 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: c5024cdb9a33f9eb0e63e36a7db48797134ae794
|
4
|
+
data.tar.gz: f42be12f1f654fbe741eba2ba02dacd3b66051a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 78c41b7b45bcb3283a0af20584cd06a69190f40f7f79d082488ef67d315da84e1955ec606cf0c770a290821c54f55526554d978eba220b3d850d0dfa9097577c
|
7
|
+
data.tar.gz: fb50f3fbce9af8e58f9e8008298faef18f14f80a1176cfbf28efbce0c271ec3115c68d683a437ea1c4e79b7622b914dcad033e92311c613b30f8a58c15b7edb3
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.531
|
data/lib/v20220308/client.rb
CHANGED
@@ -269,6 +269,30 @@ module TencentCloud
|
|
269
269
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
270
|
end
|
271
271
|
|
272
|
+
# 本接口(DescribeInstanceDealDetail)用于查询预付费订单信息。
|
273
|
+
|
274
|
+
# @param request: Request instance for DescribeInstanceDealDetail.
|
275
|
+
# @type request: :class:`Tencentcloud::keewidb::V20220308::DescribeInstanceDealDetailRequest`
|
276
|
+
# @rtype: :class:`Tencentcloud::keewidb::V20220308::DescribeInstanceDealDetailResponse`
|
277
|
+
def DescribeInstanceDealDetail(request)
|
278
|
+
body = send_request('DescribeInstanceDealDetail', request.serialize)
|
279
|
+
response = JSON.parse(body)
|
280
|
+
if response['Response'].key?('Error') == false
|
281
|
+
model = DescribeInstanceDealDetailResponse.new
|
282
|
+
model.deserialize(response['Response'])
|
283
|
+
model
|
284
|
+
else
|
285
|
+
code = response['Response']['Error']['Code']
|
286
|
+
message = response['Response']['Error']['Message']
|
287
|
+
reqid = response['Response']['RequestId']
|
288
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
289
|
+
end
|
290
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
291
|
+
raise e
|
292
|
+
rescue StandardError => e
|
293
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
294
|
+
end
|
295
|
+
|
272
296
|
# 本接口(DescribeInstanceNodeInfo)查询实例节点信息。
|
273
297
|
|
274
298
|
# @param request: Request instance for DescribeInstanceNodeInfo.
|
data/lib/v20220308/models.rb
CHANGED
@@ -672,6 +672,49 @@ module TencentCloud
|
|
672
672
|
end
|
673
673
|
end
|
674
674
|
|
675
|
+
# DescribeInstanceDealDetail请求参数结构体
|
676
|
+
class DescribeInstanceDealDetailRequest < TencentCloud::Common::AbstractModel
|
677
|
+
# @param DealIds: 订单交易ID数组,即 [CreateInstances](https://cloud.tencent.com/document/api/1520/86207) 的输出参数DealId。
|
678
|
+
# @type DealIds: Array
|
679
|
+
|
680
|
+
attr_accessor :DealIds
|
681
|
+
|
682
|
+
def initialize(dealids=nil)
|
683
|
+
@DealIds = dealids
|
684
|
+
end
|
685
|
+
|
686
|
+
def deserialize(params)
|
687
|
+
@DealIds = params['DealIds']
|
688
|
+
end
|
689
|
+
end
|
690
|
+
|
691
|
+
# DescribeInstanceDealDetail返回参数结构体
|
692
|
+
class DescribeInstanceDealDetailResponse < TencentCloud::Common::AbstractModel
|
693
|
+
# @param DealDetails: 订单详细信息
|
694
|
+
# @type DealDetails: Array
|
695
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
696
|
+
# @type RequestId: String
|
697
|
+
|
698
|
+
attr_accessor :DealDetails, :RequestId
|
699
|
+
|
700
|
+
def initialize(dealdetails=nil, requestid=nil)
|
701
|
+
@DealDetails = dealdetails
|
702
|
+
@RequestId = requestid
|
703
|
+
end
|
704
|
+
|
705
|
+
def deserialize(params)
|
706
|
+
unless params['DealDetails'].nil?
|
707
|
+
@DealDetails = []
|
708
|
+
params['DealDetails'].each do |i|
|
709
|
+
tradedealdetail_tmp = TradeDealDetail.new
|
710
|
+
tradedealdetail_tmp.deserialize(i)
|
711
|
+
@DealDetails << tradedealdetail_tmp
|
712
|
+
end
|
713
|
+
end
|
714
|
+
@RequestId = params['RequestId']
|
715
|
+
end
|
716
|
+
end
|
717
|
+
|
675
718
|
# DescribeInstanceNodeInfo请求参数结构体
|
676
719
|
class DescribeInstanceNodeInfoRequest < TencentCloud::Common::AbstractModel
|
677
720
|
# @param InstanceId: 实例 ID,如:kee-6ubh****。
|
@@ -3121,6 +3164,66 @@ module TencentCloud
|
|
3121
3164
|
end
|
3122
3165
|
end
|
3123
3166
|
|
3167
|
+
# 订单交易信息
|
3168
|
+
class TradeDealDetail < TencentCloud::Common::AbstractModel
|
3169
|
+
# @param DealId: 订单号ID,调用云API时使用此ID
|
3170
|
+
# @type DealId: String
|
3171
|
+
# @param DealName: 长订单ID,反馈订单问题给官方客服使用此ID
|
3172
|
+
# @type DealName: String
|
3173
|
+
# @param ZoneId: 可用区id
|
3174
|
+
# @type ZoneId: Integer
|
3175
|
+
# @param GoodsNum: 订单关联的实例数
|
3176
|
+
# @type GoodsNum: Integer
|
3177
|
+
# @param Creater: 创建用户uin
|
3178
|
+
# @type Creater: String
|
3179
|
+
# @param CreatTime: 订单创建时间
|
3180
|
+
# @type CreatTime: String
|
3181
|
+
# @param OverdueTime: 订单超时时间
|
3182
|
+
# @type OverdueTime: String
|
3183
|
+
# @param EndTime: 订单完成时间
|
3184
|
+
# @type EndTime: String
|
3185
|
+
# @param Status: 订单状态 1:未支付 2:已支付,未发货 3:发货中 4:发货成功 5:发货失败 6:已退款 7:已关闭订单 8:订单过期 9:订单已失效 10:产品已失效 11:代付拒绝 12:支付中
|
3186
|
+
# @type Status: Integer
|
3187
|
+
# @param Description: 订单状态描述
|
3188
|
+
# @type Description: String
|
3189
|
+
# @param Price: 订单实际总价,单位:分
|
3190
|
+
# @type Price: Float
|
3191
|
+
# @param InstanceIds: 实例ID
|
3192
|
+
# @type InstanceIds: Array
|
3193
|
+
|
3194
|
+
attr_accessor :DealId, :DealName, :ZoneId, :GoodsNum, :Creater, :CreatTime, :OverdueTime, :EndTime, :Status, :Description, :Price, :InstanceIds
|
3195
|
+
|
3196
|
+
def initialize(dealid=nil, dealname=nil, zoneid=nil, goodsnum=nil, creater=nil, creattime=nil, overduetime=nil, endtime=nil, status=nil, description=nil, price=nil, instanceids=nil)
|
3197
|
+
@DealId = dealid
|
3198
|
+
@DealName = dealname
|
3199
|
+
@ZoneId = zoneid
|
3200
|
+
@GoodsNum = goodsnum
|
3201
|
+
@Creater = creater
|
3202
|
+
@CreatTime = creattime
|
3203
|
+
@OverdueTime = overduetime
|
3204
|
+
@EndTime = endtime
|
3205
|
+
@Status = status
|
3206
|
+
@Description = description
|
3207
|
+
@Price = price
|
3208
|
+
@InstanceIds = instanceids
|
3209
|
+
end
|
3210
|
+
|
3211
|
+
def deserialize(params)
|
3212
|
+
@DealId = params['DealId']
|
3213
|
+
@DealName = params['DealName']
|
3214
|
+
@ZoneId = params['ZoneId']
|
3215
|
+
@GoodsNum = params['GoodsNum']
|
3216
|
+
@Creater = params['Creater']
|
3217
|
+
@CreatTime = params['CreatTime']
|
3218
|
+
@OverdueTime = params['OverdueTime']
|
3219
|
+
@EndTime = params['EndTime']
|
3220
|
+
@Status = params['Status']
|
3221
|
+
@Description = params['Description']
|
3222
|
+
@Price = params['Price']
|
3223
|
+
@InstanceIds = params['InstanceIds']
|
3224
|
+
end
|
3225
|
+
end
|
3226
|
+
|
3124
3227
|
# UpgradeInstance请求参数结构体
|
3125
3228
|
class UpgradeInstanceRequest < TencentCloud::Common::AbstractModel
|
3126
3229
|
# @param InstanceId: 实例 ID。
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-keewidb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.531
|
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-03-
|
11
|
+
date: 2023-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|