tencentcloud-sdk-cpdp 1.0.264 → 1.0.265

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: 87eaef4e1ccb37103ce410a4dd8f89b268c3927c
4
- data.tar.gz: d5bb44d3f2cd29fc52f28b7015f7f4e6d33c5d65
3
+ metadata.gz: f8d614313bd7d3d78daff92517feac4ae9567edf
4
+ data.tar.gz: d2279557c88cbdaa5367d06081027179412e016a
5
5
  SHA512:
6
- metadata.gz: 9287e7e35d40180b8eaac549a0c58f3efae72dbb856e819b2e22a6047da78face759a6f5aef23355d7f5c1347df55fb9455d74835d320d13b8ecec48aa7e8a54
7
- data.tar.gz: 4a0d92f6a62d0189074f96c7226e9595cce23a431ce4befd490ceed5fcf9907d2f4804603d9e34697c2c243d79250411479b66dbd05a35963b613094e4f89b6b
6
+ metadata.gz: a7f057da0c8719c99ad3565b9dde78e09df0bc74f66ef61d2e8cb91d7dbff834da2aef6beab8a22ba63896e48cdb40214e8cb64a3864911c48616a80353bff7c
7
+ data.tar.gz: 40c8fa6634213d4882093ed156f7ada0b03b6b3aa630861a7f0a4b22b6c1b8b102c9898c94da023a5ccf8d96aaa6fc6e3f1071304e4fa8a964ee03815e491a04
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.264
1
+ 1.0.265
@@ -2077,6 +2077,30 @@ module TencentCloud
2077
2077
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2078
2078
  end
2079
2079
 
2080
+ # 灵云-查询超额信息
2081
+
2082
+ # @param request: Request instance for QueryExceedingInfo.
2083
+ # @type request: :class:`Tencentcloud::cpdp::V20190820::QueryExceedingInfoRequest`
2084
+ # @rtype: :class:`Tencentcloud::cpdp::V20190820::QueryExceedingInfoResponse`
2085
+ def QueryExceedingInfo(request)
2086
+ body = send_request('QueryExceedingInfo', request.serialize)
2087
+ response = JSON.parse(body)
2088
+ if response['Response'].key?('Error') == false
2089
+ model = QueryExceedingInfoResponse.new
2090
+ model.deserialize(response['Response'])
2091
+ model
2092
+ else
2093
+ code = response['Response']['Error']['Code']
2094
+ message = response['Response']['Error']['Message']
2095
+ reqid = response['Response']['RequestId']
2096
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
2097
+ end
2098
+ rescue TencentCloud::Common::TencentCloudSDKException => e
2099
+ raise e
2100
+ rescue StandardError => e
2101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
2102
+ end
2103
+
2080
2104
  # 跨境-查询汇率
2081
2105
 
2082
2106
  # @param request: Request instance for QueryExchangeRate.
@@ -8256,6 +8256,26 @@ module TencentCloud
8256
8256
  end
8257
8257
  end
8258
8258
 
8259
+ # 分页参数
8260
+ class Paging < TencentCloud::Common::AbstractModel
8261
+ # @param Index: 页码
8262
+ # @type Index: Integer
8263
+ # @param Count: 页长
8264
+ # @type Count: Integer
8265
+
8266
+ attr_accessor :Index, :Count
8267
+
8268
+ def initialize(index=nil, count=nil)
8269
+ @Index = index
8270
+ @Count = count
8271
+ end
8272
+
8273
+ def deserialize(params)
8274
+ @Index = params['Index']
8275
+ @Count = params['Count']
8276
+ end
8277
+ end
8278
+
8259
8279
  # pay支付方式json数据
8260
8280
  class PayDataResult < TencentCloud::Common::AbstractModel
8261
8281
  # @param PaymentTag: 支付标签(唯一性)
@@ -10513,6 +10533,132 @@ module TencentCloud
10513
10533
  end
10514
10534
  end
10515
10535
 
10536
+ # 超额信息数据
10537
+ class QueryExceedingInfoData < TencentCloud::Common::AbstractModel
10538
+ # @param AgentId: 代理商ID。
10539
+ # @type AgentId: String
10540
+ # @param AgentName: 代理商名称。
10541
+ # @type AgentName: String
10542
+ # @param AnchorId: 主播ID。当入参Dimension为ANCHOR或ORDER时,该字段才会有值。
10543
+ # 注意:此字段可能返回 null,表示取不到有效值。
10544
+ # @type AnchorId: String
10545
+ # @param AnchorName: 主播名称。当入参Dimension为ANCHOR或ORDER时,该字段才会有值。
10546
+ # 注意:此字段可能返回 null,表示取不到有效值。
10547
+ # @type AnchorName: String
10548
+ # @param OrderId: 订单号。当入参Dimension为ORDER时,该字段才会有值。
10549
+ # 注意:此字段可能返回 null,表示取不到有效值。
10550
+ # @type OrderId: String
10551
+ # @param ExceedingType: 超额类型。目前支持 AGENT_EXCEED_100 和 ANCHOR_EXCEED_100_12 两种类型。
10552
+ # @type ExceedingType: String
10553
+
10554
+ attr_accessor :AgentId, :AgentName, :AnchorId, :AnchorName, :OrderId, :ExceedingType
10555
+
10556
+ def initialize(agentid=nil, agentname=nil, anchorid=nil, anchorname=nil, orderid=nil, exceedingtype=nil)
10557
+ @AgentId = agentid
10558
+ @AgentName = agentname
10559
+ @AnchorId = anchorid
10560
+ @AnchorName = anchorname
10561
+ @OrderId = orderid
10562
+ @ExceedingType = exceedingtype
10563
+ end
10564
+
10565
+ def deserialize(params)
10566
+ @AgentId = params['AgentId']
10567
+ @AgentName = params['AgentName']
10568
+ @AnchorId = params['AnchorId']
10569
+ @AnchorName = params['AnchorName']
10570
+ @OrderId = params['OrderId']
10571
+ @ExceedingType = params['ExceedingType']
10572
+ end
10573
+ end
10574
+
10575
+ # QueryExceedingInfo请求参数结构体
10576
+ class QueryExceedingInfoRequest < TencentCloud::Common::AbstractModel
10577
+ # @param TimeStr: 超额日期。格式为yyyy-MM-dd。
10578
+ # @type TimeStr: String
10579
+ # @param Dimension: 维度。目前支持三个维度: AGENT, ANCHOR, ORDER。不填默认使用AGENT维度。
10580
+ # @type Dimension: String
10581
+ # @param PageNumber: 分页信息。不填默认Index为1,Count为100。
10582
+ # @type PageNumber: :class:`Tencentcloud::Cpdp.v20190820.models.Paging`
10583
+
10584
+ attr_accessor :TimeStr, :Dimension, :PageNumber
10585
+
10586
+ def initialize(timestr=nil, dimension=nil, pagenumber=nil)
10587
+ @TimeStr = timestr
10588
+ @Dimension = dimension
10589
+ @PageNumber = pagenumber
10590
+ end
10591
+
10592
+ def deserialize(params)
10593
+ @TimeStr = params['TimeStr']
10594
+ @Dimension = params['Dimension']
10595
+ unless params['PageNumber'].nil?
10596
+ @PageNumber = Paging.new
10597
+ @PageNumber.deserialize(params['PageNumber'])
10598
+ end
10599
+ end
10600
+ end
10601
+
10602
+ # QueryExceedingInfo返回参数结构体
10603
+ class QueryExceedingInfoResponse < TencentCloud::Common::AbstractModel
10604
+ # @param ErrCode: 错误码。
10605
+ # @type ErrCode: String
10606
+ # @param ErrMessage: 错误消息。
10607
+ # @type ErrMessage: String
10608
+ # @param Result: 超额信息结果。
10609
+ # 注意:此字段可能返回 null,表示取不到有效值。
10610
+ # @type Result: :class:`Tencentcloud::Cpdp.v20190820.models.QueryExceedingInfoResult`
10611
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10612
+ # @type RequestId: String
10613
+
10614
+ attr_accessor :ErrCode, :ErrMessage, :Result, :RequestId
10615
+
10616
+ def initialize(errcode=nil, errmessage=nil, result=nil, requestid=nil)
10617
+ @ErrCode = errcode
10618
+ @ErrMessage = errmessage
10619
+ @Result = result
10620
+ @RequestId = requestid
10621
+ end
10622
+
10623
+ def deserialize(params)
10624
+ @ErrCode = params['ErrCode']
10625
+ @ErrMessage = params['ErrMessage']
10626
+ unless params['Result'].nil?
10627
+ @Result = QueryExceedingInfoResult.new
10628
+ @Result.deserialize(params['Result'])
10629
+ end
10630
+ @RequestId = params['RequestId']
10631
+ end
10632
+ end
10633
+
10634
+ # 超额信息结果
10635
+ class QueryExceedingInfoResult < TencentCloud::Common::AbstractModel
10636
+ # @param Count: 记录总数。
10637
+ # @type Count: Integer
10638
+ # @param Data: 超额信息数据。
10639
+ # 注意:此字段可能返回 null,表示取不到有效值。
10640
+ # @type Data: Array
10641
+
10642
+ attr_accessor :Count, :Data
10643
+
10644
+ def initialize(count=nil, data=nil)
10645
+ @Count = count
10646
+ @Data = data
10647
+ end
10648
+
10649
+ def deserialize(params)
10650
+ @Count = params['Count']
10651
+ unless params['Data'].nil?
10652
+ @Data = []
10653
+ params['Data'].each do |i|
10654
+ queryexceedinginfodata_tmp = QueryExceedingInfoData.new
10655
+ queryexceedinginfodata_tmp.deserialize(i)
10656
+ @Data << queryexceedinginfodata_tmp
10657
+ end
10658
+ end
10659
+ end
10660
+ end
10661
+
10516
10662
  # QueryExchangeRate请求参数结构体
10517
10663
  class QueryExchangeRateRequest < TencentCloud::Common::AbstractModel
10518
10664
  # @param SourceCurrency: 源币种 (默认CNY)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cpdp
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.264
4
+ version: 1.0.265
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-24 00:00:00.000000000 Z
11
+ date: 2022-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common