tencentcloud-sdk-svp 3.0.827 → 3.0.829

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 448f62a0f8ee71349547b12093ca10600f0de189
4
- data.tar.gz: 451c5e4ec348322f4de4db1ce35548f9d2bd8e84
3
+ metadata.gz: a35cdbd7dc6139981d240e2fed0dbfcc14e1968f
4
+ data.tar.gz: 3e223b9c20a4993f37479aa020dc812567740751
5
5
  SHA512:
6
- metadata.gz: b1d0f87b33e7e9b95b7b58724e1aeaf149525bad871f74a02f953c84e18ea19b61dec890b307f2898f91f9f38393a87bd340676f41e61cbdba74f2bf17218480
7
- data.tar.gz: 20f2345b4ea87ce175739eaf5ae7294884bb31ddc56a198c9c6bad03b4a7c61e35013618391cdd46889884c6baf394917ad8d8bd611c0cf6f8605c2accb5e394
6
+ metadata.gz: 46c36c53a64bb2f746aedfaee638dc4b77fb3d14379ff21ef981dace9a18302b18711e985c4978d7b354d6c62902f11362b90117b0a5753a80c047ad2dbe0456
7
+ data.tar.gz: 8a5f6646800de216be63640d9288774bdc79dbc688f16fc8793bb899dc4b1fc023b19688b8731a13215dc8e35f158f31017e5cd6cd7e8c43cb885818446229c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.827
1
+ 3.0.829
@@ -53,6 +53,78 @@ 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 DescribeSavingPlanDeduct.
59
+ # @type request: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanDeductRequest`
60
+ # @rtype: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanDeductResponse`
61
+ def DescribeSavingPlanDeduct(request)
62
+ body = send_request('DescribeSavingPlanDeduct', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = DescribeSavingPlanDeductResponse.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
+
80
+ # 查用当前用户明细节省计划总览查询时段内的使用情况
81
+
82
+ # @param request: Request instance for DescribeSavingPlanOverview.
83
+ # @type request: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanOverviewRequest`
84
+ # @rtype: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanOverviewResponse`
85
+ def DescribeSavingPlanOverview(request)
86
+ body = send_request('DescribeSavingPlanOverview', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = DescribeSavingPlanOverviewResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 查用当前用户明细节省计划查询时段内的使用情况
105
+
106
+ # @param request: Request instance for DescribeSavingPlanUsage.
107
+ # @type request: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanUsageRequest`
108
+ # @rtype: :class:`Tencentcloud::svp::V20240125::DescribeSavingPlanUsageResponse`
109
+ def DescribeSavingPlanUsage(request)
110
+ body = send_request('DescribeSavingPlanUsage', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = DescribeSavingPlanUsageResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
56
128
 
57
129
  end
58
130
  end
@@ -85,6 +85,433 @@ module TencentCloud
85
85
  end
86
86
  end
87
87
 
88
+ # DescribeSavingPlanDeduct请求参数结构体
89
+ class DescribeSavingPlanDeductRequest < TencentCloud::Common::AbstractModel
90
+ # @param Offset: 分页偏移量
91
+ # @type Offset: Integer
92
+ # @param Limit: 每页数量,最大值为200
93
+ # @type Limit: Integer
94
+ # @param StartEndDate: 节省计划使用开始的查询结束时间
95
+ # @type StartEndDate: String
96
+ # @param StartStartDate: 节省计划使用开始的查询开始时间
97
+ # @type StartStartDate: String
98
+ # @param RegionId: 地域编码
99
+ # @type RegionId: Integer
100
+ # @param ZoneId: 区域编码
101
+ # @type ZoneId: Integer
102
+ # @param SpId: 节省计划资源id
103
+ # @type SpId: String
104
+ # @param DeductEndDate: 抵扣查询结束时间,格式:yyyy-MM-dd HH:mm:ss
105
+ # @type DeductEndDate: String
106
+ # @param DeductStartDate: 抵扣查询开始时间,格式:yyyy-MM-dd HH:mm:ss
107
+ # @type DeductStartDate: String
108
+ # @param EndEndDate: 节省计划使用结束的查询结束时间
109
+ # @type EndEndDate: String
110
+ # @param EndStartDate: 节省计划使用结束的查询开始时间
111
+ # @type EndStartDate: String
112
+
113
+ attr_accessor :Offset, :Limit, :StartEndDate, :StartStartDate, :RegionId, :ZoneId, :SpId, :DeductEndDate, :DeductStartDate, :EndEndDate, :EndStartDate
114
+
115
+ def initialize(offset=nil, limit=nil, startenddate=nil, startstartdate=nil, regionid=nil, zoneid=nil, spid=nil, deductenddate=nil, deductstartdate=nil, endenddate=nil, endstartdate=nil)
116
+ @Offset = offset
117
+ @Limit = limit
118
+ @StartEndDate = startenddate
119
+ @StartStartDate = startstartdate
120
+ @RegionId = regionid
121
+ @ZoneId = zoneid
122
+ @SpId = spid
123
+ @DeductEndDate = deductenddate
124
+ @DeductStartDate = deductstartdate
125
+ @EndEndDate = endenddate
126
+ @EndStartDate = endstartdate
127
+ end
128
+
129
+ def deserialize(params)
130
+ @Offset = params['Offset']
131
+ @Limit = params['Limit']
132
+ @StartEndDate = params['StartEndDate']
133
+ @StartStartDate = params['StartStartDate']
134
+ @RegionId = params['RegionId']
135
+ @ZoneId = params['ZoneId']
136
+ @SpId = params['SpId']
137
+ @DeductEndDate = params['DeductEndDate']
138
+ @DeductStartDate = params['DeductStartDate']
139
+ @EndEndDate = params['EndEndDate']
140
+ @EndStartDate = params['EndStartDate']
141
+ end
142
+ end
143
+
144
+ # DescribeSavingPlanDeduct返回参数结构体
145
+ class DescribeSavingPlanDeductResponse < TencentCloud::Common::AbstractModel
146
+ # @param Total: 查询命中的节省计划抵扣明细数据总条数
147
+ # 注意:此字段可能返回 null,表示取不到有效值。
148
+ # @type Total: Integer
149
+ # @param Deducts: 查询命中的节省计划抵扣明细数据明细
150
+ # @type Deducts: Array
151
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
152
+ # @type RequestId: String
153
+
154
+ attr_accessor :Total, :Deducts, :RequestId
155
+
156
+ def initialize(total=nil, deducts=nil, requestid=nil)
157
+ @Total = total
158
+ @Deducts = deducts
159
+ @RequestId = requestid
160
+ end
161
+
162
+ def deserialize(params)
163
+ @Total = params['Total']
164
+ unless params['Deducts'].nil?
165
+ @Deducts = []
166
+ params['Deducts'].each do |i|
167
+ savingplandeductdetail_tmp = SavingPlanDeductDetail.new
168
+ savingplandeductdetail_tmp.deserialize(i)
169
+ @Deducts << savingplandeductdetail_tmp
170
+ end
171
+ end
172
+ @RequestId = params['RequestId']
173
+ end
174
+ end
175
+
176
+ # DescribeSavingPlanOverview请求参数结构体
177
+ class DescribeSavingPlanOverviewRequest < TencentCloud::Common::AbstractModel
178
+ # @param StartDate: 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
179
+ # @type StartDate: String
180
+ # @param EndDate: 结束时间,格式yyyy-MM-dd
181
+ # @type EndDate: String
182
+ # @param Offset: 分页偏移量
183
+ # @type Offset: Integer
184
+ # @param Limit: 每页数量,最大值为200
185
+ # @type Limit: Integer
186
+
187
+ attr_accessor :StartDate, :EndDate, :Offset, :Limit
188
+
189
+ def initialize(startdate=nil, enddate=nil, offset=nil, limit=nil)
190
+ @StartDate = startdate
191
+ @EndDate = enddate
192
+ @Offset = offset
193
+ @Limit = limit
194
+ end
195
+
196
+ def deserialize(params)
197
+ @StartDate = params['StartDate']
198
+ @EndDate = params['EndDate']
199
+ @Offset = params['Offset']
200
+ @Limit = params['Limit']
201
+ end
202
+ end
203
+
204
+ # DescribeSavingPlanOverview返回参数结构体
205
+ class DescribeSavingPlanOverviewResponse < TencentCloud::Common::AbstractModel
206
+ # @param Overviews: 节省计划总览明细数据
207
+ # 注意:此字段可能返回 null,表示取不到有效值。
208
+ # @type Overviews: Array
209
+ # @param Total: 查询命中的节省计划总览明细数据总条数
210
+ # @type Total: Integer
211
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
212
+ # @type RequestId: String
213
+
214
+ attr_accessor :Overviews, :Total, :RequestId
215
+
216
+ def initialize(overviews=nil, total=nil, requestid=nil)
217
+ @Overviews = overviews
218
+ @Total = total
219
+ @RequestId = requestid
220
+ end
221
+
222
+ def deserialize(params)
223
+ unless params['Overviews'].nil?
224
+ @Overviews = []
225
+ params['Overviews'].each do |i|
226
+ savingplanoverviewdetail_tmp = SavingPlanOverviewDetail.new
227
+ savingplanoverviewdetail_tmp.deserialize(i)
228
+ @Overviews << savingplanoverviewdetail_tmp
229
+ end
230
+ end
231
+ @Total = params['Total']
232
+ @RequestId = params['RequestId']
233
+ end
234
+ end
235
+
236
+ # DescribeSavingPlanUsage请求参数结构体
237
+ class DescribeSavingPlanUsageRequest < TencentCloud::Common::AbstractModel
238
+ # @param StartDate: 开始时间,格式yyyy-MM-dd 注:查询范围请勿超过6个月
239
+ # @type StartDate: String
240
+ # @param EndDate: 结束时间,格式yyyy-MM-dd
241
+ # @type EndDate: String
242
+ # @param Offset: 分页偏移量
243
+ # @type Offset: Integer
244
+ # @param Limit: 每页数量,最大值为200
245
+ # @type Limit: Integer
246
+ # @param TimeInterval: 查询结果数据的时间间隔
247
+ # @type TimeInterval: String
248
+
249
+ attr_accessor :StartDate, :EndDate, :Offset, :Limit, :TimeInterval
250
+
251
+ def initialize(startdate=nil, enddate=nil, offset=nil, limit=nil, timeinterval=nil)
252
+ @StartDate = startdate
253
+ @EndDate = enddate
254
+ @Offset = offset
255
+ @Limit = limit
256
+ @TimeInterval = timeinterval
257
+ end
258
+
259
+ def deserialize(params)
260
+ @StartDate = params['StartDate']
261
+ @EndDate = params['EndDate']
262
+ @Offset = params['Offset']
263
+ @Limit = params['Limit']
264
+ @TimeInterval = params['TimeInterval']
265
+ end
266
+ end
267
+
268
+ # DescribeSavingPlanUsage返回参数结构体
269
+ class DescribeSavingPlanUsageResponse < TencentCloud::Common::AbstractModel
270
+ # @param Total: 查询命中的节省计划总览明细数据总条数
271
+ # @type Total: Integer
272
+ # @param Usages: 节省计划使用率数据
273
+ # 注意:此字段可能返回 null,表示取不到有效值。
274
+ # @type Usages: Array
275
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
276
+ # @type RequestId: String
277
+
278
+ attr_accessor :Total, :Usages, :RequestId
279
+
280
+ def initialize(total=nil, usages=nil, requestid=nil)
281
+ @Total = total
282
+ @Usages = usages
283
+ @RequestId = requestid
284
+ end
285
+
286
+ def deserialize(params)
287
+ @Total = params['Total']
288
+ unless params['Usages'].nil?
289
+ @Usages = []
290
+ params['Usages'].each do |i|
291
+ savingplanusagedetail_tmp = SavingPlanUsageDetail.new
292
+ savingplanusagedetail_tmp.deserialize(i)
293
+ @Usages << savingplanusagedetail_tmp
294
+ end
295
+ end
296
+ @RequestId = params['RequestId']
297
+ end
298
+ end
299
+
300
+ # 节省计划抵扣明细
301
+ class SavingPlanDeductDetail < TencentCloud::Common::AbstractModel
302
+ # @param OwnerUin: 账号id
303
+ # 注意:此字段可能返回 null,表示取不到有效值。
304
+ # @type OwnerUin: String
305
+ # @param OwnerUinName: 账号名称
306
+ # 注意:此字段可能返回 null,表示取不到有效值。
307
+ # @type OwnerUinName: String
308
+ # @param PayerUin: 抵扣账号id
309
+ # 注意:此字段可能返回 null,表示取不到有效值。
310
+ # @type PayerUin: String
311
+ # @param PayerUinName: 抵扣账号名称
312
+ # 注意:此字段可能返回 null,表示取不到有效值。
313
+ # @type PayerUinName: String
314
+ # @param SpId: 节省计划资源id
315
+ # 注意:此字段可能返回 null,表示取不到有效值。
316
+ # @type SpId: String
317
+ # @param ProductCode: 产品编码
318
+ # 注意:此字段可能返回 null,表示取不到有效值。
319
+ # @type ProductCode: String
320
+ # @param ProductName: 产品名称
321
+ # 注意:此字段可能返回 null,表示取不到有效值。
322
+ # @type ProductName: String
323
+ # @param SubProductCode: 子产品编码
324
+ # 注意:此字段可能返回 null,表示取不到有效值。
325
+ # @type SubProductCode: String
326
+ # @param SubProductName: 子产品名称
327
+ # 注意:此字段可能返回 null,表示取不到有效值。
328
+ # @type SubProductName: String
329
+ # @param OutTradeNo: 交易ID
330
+ # 注意:此字段可能返回 null,表示取不到有效值。
331
+ # @type OutTradeNo: String
332
+ # @param RegionId: 地域id
333
+ # 注意:此字段可能返回 null,表示取不到有效值。
334
+ # @type RegionId: Integer
335
+ # @param RegionName: 地域名称
336
+ # 注意:此字段可能返回 null,表示取不到有效值。
337
+ # @type RegionName: String
338
+ # @param ZoneId: 地区id
339
+ # 注意:此字段可能返回 null,表示取不到有效值。
340
+ # @type ZoneId: Integer
341
+ # @param ZoneName: 地区名称
342
+ # 注意:此字段可能返回 null,表示取不到有效值。
343
+ # @type ZoneName: String
344
+ # @param SpStartTime: 开始使用时间
345
+ # 注意:此字段可能返回 null,表示取不到有效值。
346
+ # @type SpStartTime: String
347
+ # @param SpEndTime: 结束使用时间
348
+ # 注意:此字段可能返回 null,表示取不到有效值。
349
+ # @type SpEndTime: String
350
+ # @param DeductTime: 折扣时间
351
+ # 注意:此字段可能返回 null,表示取不到有效值。
352
+ # @type DeductTime: String
353
+ # @param DeductAmount: 抵扣金额,单位分
354
+ # 注意:此字段可能返回 null,表示取不到有效值。
355
+ # @type DeductAmount: String
356
+ # @param DeductDiscount: 抵扣折扣率
357
+ # 注意:此字段可能返回 null,表示取不到有效值。
358
+ # @type DeductDiscount: String
359
+ # @param DeductRate: 抵扣比率
360
+ # 注意:此字段可能返回 null,表示取不到有效值。
361
+ # @type DeductRate: String
362
+
363
+ attr_accessor :OwnerUin, :OwnerUinName, :PayerUin, :PayerUinName, :SpId, :ProductCode, :ProductName, :SubProductCode, :SubProductName, :OutTradeNo, :RegionId, :RegionName, :ZoneId, :ZoneName, :SpStartTime, :SpEndTime, :DeductTime, :DeductAmount, :DeductDiscount, :DeductRate
364
+
365
+ def initialize(owneruin=nil, owneruinname=nil, payeruin=nil, payeruinname=nil, spid=nil, productcode=nil, productname=nil, subproductcode=nil, subproductname=nil, outtradeno=nil, regionid=nil, regionname=nil, zoneid=nil, zonename=nil, spstarttime=nil, spendtime=nil, deducttime=nil, deductamount=nil, deductdiscount=nil, deductrate=nil)
366
+ @OwnerUin = owneruin
367
+ @OwnerUinName = owneruinname
368
+ @PayerUin = payeruin
369
+ @PayerUinName = payeruinname
370
+ @SpId = spid
371
+ @ProductCode = productcode
372
+ @ProductName = productname
373
+ @SubProductCode = subproductcode
374
+ @SubProductName = subproductname
375
+ @OutTradeNo = outtradeno
376
+ @RegionId = regionid
377
+ @RegionName = regionname
378
+ @ZoneId = zoneid
379
+ @ZoneName = zonename
380
+ @SpStartTime = spstarttime
381
+ @SpEndTime = spendtime
382
+ @DeductTime = deducttime
383
+ @DeductAmount = deductamount
384
+ @DeductDiscount = deductdiscount
385
+ @DeductRate = deductrate
386
+ end
387
+
388
+ def deserialize(params)
389
+ @OwnerUin = params['OwnerUin']
390
+ @OwnerUinName = params['OwnerUinName']
391
+ @PayerUin = params['PayerUin']
392
+ @PayerUinName = params['PayerUinName']
393
+ @SpId = params['SpId']
394
+ @ProductCode = params['ProductCode']
395
+ @ProductName = params['ProductName']
396
+ @SubProductCode = params['SubProductCode']
397
+ @SubProductName = params['SubProductName']
398
+ @OutTradeNo = params['OutTradeNo']
399
+ @RegionId = params['RegionId']
400
+ @RegionName = params['RegionName']
401
+ @ZoneId = params['ZoneId']
402
+ @ZoneName = params['ZoneName']
403
+ @SpStartTime = params['SpStartTime']
404
+ @SpEndTime = params['SpEndTime']
405
+ @DeductTime = params['DeductTime']
406
+ @DeductAmount = params['DeductAmount']
407
+ @DeductDiscount = params['DeductDiscount']
408
+ @DeductRate = params['DeductRate']
409
+ end
410
+ end
411
+
412
+ # 节省计划总览明细数据
413
+ class SavingPlanOverviewDetail < TencentCloud::Common::AbstractModel
414
+ # @param SpType: 节省计划类型
415
+ # @type SpType: String
416
+ # @param PayAmount: 支付金额(单位:元)
417
+ # @type PayAmount: String
418
+ # @param StartTime: 开始时间 yyyy-mm-dd HH:mm:ss格式
419
+ # @type StartTime: String
420
+ # @param EndTime: 结束时间 yyyy-mm-dd HH:mm:ss格式
421
+ # @type EndTime: String
422
+ # @param Status: 状态
423
+ # @type Status: Integer
424
+ # @param SavingAmount: 累计节省金额(单位:元)
425
+ # @type SavingAmount: String
426
+ # @param Region: 地域
427
+ # @type Region: Array
428
+ # @param PayType: 支付类型
429
+ # 注意:此字段可能返回 null,表示取不到有效值。
430
+ # @type PayType: Integer
431
+ # @param BuyTime: 购买时间 yyyy-mm-dd HH:mm:ss格式
432
+ # 注意:此字段可能返回 null,表示取不到有效值。
433
+ # @type BuyTime: String
434
+
435
+ attr_accessor :SpType, :PayAmount, :StartTime, :EndTime, :Status, :SavingAmount, :Region, :PayType, :BuyTime
436
+
437
+ def initialize(sptype=nil, payamount=nil, starttime=nil, endtime=nil, status=nil, savingamount=nil, region=nil, paytype=nil, buytime=nil)
438
+ @SpType = sptype
439
+ @PayAmount = payamount
440
+ @StartTime = starttime
441
+ @EndTime = endtime
442
+ @Status = status
443
+ @SavingAmount = savingamount
444
+ @Region = region
445
+ @PayType = paytype
446
+ @BuyTime = buytime
447
+ end
448
+
449
+ def deserialize(params)
450
+ @SpType = params['SpType']
451
+ @PayAmount = params['PayAmount']
452
+ @StartTime = params['StartTime']
453
+ @EndTime = params['EndTime']
454
+ @Status = params['Status']
455
+ @SavingAmount = params['SavingAmount']
456
+ @Region = params['Region']
457
+ @PayType = params['PayType']
458
+ @BuyTime = params['BuyTime']
459
+ end
460
+ end
461
+
462
+ # 节省计划使用率数据
463
+ class SavingPlanUsageDetail < TencentCloud::Common::AbstractModel
464
+ # @param SpType: 节省计划类型
465
+ # @type SpType: String
466
+ # @param Status: 节省计划状态
467
+ # @type Status: Integer
468
+ # @param DeductAmount: 累计抵扣的金额(单位:元)
469
+ # @type DeductAmount: String
470
+ # @param PromiseAmount: 累计承诺消费金额(单位:元)
471
+ # @type PromiseAmount: String
472
+ # @param NetSavings: 累计净节省金额(单位:元)
473
+ # @type NetSavings: String
474
+ # @param UtilizationRate: 使用率
475
+ # @type UtilizationRate: Float
476
+ # @param LossAmount: 累计流失金额(单位:元)
477
+ # @type LossAmount: String
478
+ # @param DosageAmount: 累计按量计费预期金额(单位:元)
479
+ # @type DosageAmount: String
480
+ # @param CostAmount: 累计成本金额(单位:元)
481
+ # @type CostAmount: String
482
+ # @param Region: 地域
483
+ # 注意:此字段可能返回 null,表示取不到有效值。
484
+ # @type Region: Array
485
+
486
+ attr_accessor :SpType, :Status, :DeductAmount, :PromiseAmount, :NetSavings, :UtilizationRate, :LossAmount, :DosageAmount, :CostAmount, :Region
487
+
488
+ def initialize(sptype=nil, status=nil, deductamount=nil, promiseamount=nil, netsavings=nil, utilizationrate=nil, lossamount=nil, dosageamount=nil, costamount=nil, region=nil)
489
+ @SpType = sptype
490
+ @Status = status
491
+ @DeductAmount = deductamount
492
+ @PromiseAmount = promiseamount
493
+ @NetSavings = netsavings
494
+ @UtilizationRate = utilizationrate
495
+ @LossAmount = lossamount
496
+ @DosageAmount = dosageamount
497
+ @CostAmount = costamount
498
+ @Region = region
499
+ end
500
+
501
+ def deserialize(params)
502
+ @SpType = params['SpType']
503
+ @Status = params['Status']
504
+ @DeductAmount = params['DeductAmount']
505
+ @PromiseAmount = params['PromiseAmount']
506
+ @NetSavings = params['NetSavings']
507
+ @UtilizationRate = params['UtilizationRate']
508
+ @LossAmount = params['LossAmount']
509
+ @DosageAmount = params['DosageAmount']
510
+ @CostAmount = params['CostAmount']
511
+ @Region = params['Region']
512
+ end
513
+ end
514
+
88
515
  end
89
516
  end
90
517
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-svp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.827
4
+ version: 3.0.829
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-05-21 00:00:00.000000000 Z
11
+ date: 2024-05-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common