tencentcloud-sdk-keewidb 3.0.529 → 3.0.530

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: 3b4ac77c8b7d64ba0bffbd9f476c712acf6e6b4f
4
- data.tar.gz: a99c8df5fd55c63056f3b50b04eaa0a06ce6358f
3
+ metadata.gz: c0f91cebf1967c75e7a2978c14800a914956ad77
4
+ data.tar.gz: 012729b6fc7eec7fd150a2eefeafa0bb316c28ff
5
5
  SHA512:
6
- metadata.gz: 8740194bdc49c300382b79a15f142f89aca671174fa0a4f31f79b2dbcd6a58602dd9f91d2948bae0693ef5319566648bee0b5cf3b5183e08134d5b8ae3fa6e09
7
- data.tar.gz: c73d9e50dff16249db07595e7d5d69ae647a58602ea47bcbd60fdeefca012b58cdaeb9ce7c7434a203893da7da6ac5a582da66c13fa3d311286e5ce710400034
6
+ metadata.gz: 141791e57ccef1c12afb9ce36a6c6d3796f6192980a95c96ddb806154155a2b0addb104404be8a4266035c2911030e7408967445325371ca5fb311c08951ceaf
7
+ data.tar.gz: 76ec6aa5beaa2e25bf21eddc9bf66657aab2e22ae8ec2a41d94b35671e323844379da8f0539eccd717049d7c1e1c2f0be18649acb5351ae6e8c211d10fc6524a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.529
1
+ 3.0.530
@@ -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.
@@ -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.529
4
+ version: 3.0.530
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-14 00:00:00.000000000 Z
11
+ date: 2023-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common