tencentcloud-sdk-tbaas 3.0.1059 → 3.0.1061
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/client.rb +0 -24
- data/lib/v20180416/models.rb +4 -87
- 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: 658e261634679b32d5235b692043824a909ef3e1
|
4
|
+
data.tar.gz: b0f4e91fcea3a4b4a95eddc64ad09c635b1e388b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9cd2d291d305e88c71062262a6cd3af57c60f03db99b9d52d548827c2103daed81b4354d0a6d10044dc99c718287f8fad574ef3d84aa9c270fcc4821eff054d1
|
7
|
+
data.tar.gz: fea06f6ce4e2415bdf1823ba370f37a97e3c07c9326341c53a94cfbe210435c9860e3131569a7d766ed85c694319b1936afcfd2d1065f3d13783da2aceb6f357
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.1061
|
data/lib/v20180416/client.rb
CHANGED
@@ -245,30 +245,6 @@ module TencentCloud
|
|
245
245
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
246
246
|
end
|
247
247
|
|
248
|
-
# 获取最新交易列表(已废弃)
|
249
|
-
|
250
|
-
# @param request: Request instance for GetLatesdTransactionList.
|
251
|
-
# @type request: :class:`Tencentcloud::tbaas::V20180416::GetLatesdTransactionListRequest`
|
252
|
-
# @rtype: :class:`Tencentcloud::tbaas::V20180416::GetLatesdTransactionListResponse`
|
253
|
-
def GetLatesdTransactionList(request)
|
254
|
-
body = send_request('GetLatesdTransactionList', request.serialize)
|
255
|
-
response = JSON.parse(body)
|
256
|
-
if response['Response'].key?('Error') == false
|
257
|
-
model = GetLatesdTransactionListResponse.new
|
258
|
-
model.deserialize(response['Response'])
|
259
|
-
model
|
260
|
-
else
|
261
|
-
code = response['Response']['Error']['Code']
|
262
|
-
message = response['Response']['Error']['Message']
|
263
|
-
reqid = response['Response']['RequestId']
|
264
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
265
|
-
end
|
266
|
-
rescue TencentCloud::Common::TencentCloudSDKException => e
|
267
|
-
raise e
|
268
|
-
rescue StandardError => e
|
269
|
-
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
270
|
-
end
|
271
|
-
|
272
248
|
# 获取fabric最新交易列表
|
273
249
|
|
274
250
|
# @param request: Request instance for GetLatestTransactionList.
|
data/lib/v20180416/models.rb
CHANGED
@@ -448,8 +448,8 @@ module TencentCloud
|
|
448
448
|
|
449
449
|
attr_accessor :CertName, :CertCtx, :Cert, :RequestId
|
450
450
|
extend Gem::Deprecate
|
451
|
-
deprecate :CertCtx, :none, 2025,
|
452
|
-
deprecate :CertCtx=, :none, 2025,
|
451
|
+
deprecate :CertCtx, :none, 2025, 5
|
452
|
+
deprecate :CertCtx=, :none, 2025, 5
|
453
453
|
|
454
454
|
def initialize(certname=nil, certctx=nil, cert=nil, requestid=nil)
|
455
455
|
@CertName = certname
|
@@ -820,89 +820,6 @@ module TencentCloud
|
|
820
820
|
end
|
821
821
|
end
|
822
822
|
|
823
|
-
# GetLatesdTransactionList请求参数结构体
|
824
|
-
class GetLatesdTransactionListRequest < TencentCloud::Common::AbstractModel
|
825
|
-
# @param Module: 模块名称,固定字段:transaction
|
826
|
-
# @type Module: String
|
827
|
-
# @param Operation: 操作名称,固定字段:latest_transaction_list
|
828
|
-
# @type Operation: String
|
829
|
-
# @param GroupId: 组织ID,固定字段:0
|
830
|
-
# @type GroupId: Integer
|
831
|
-
# @param ChannelId: 通道ID,固定字段:0
|
832
|
-
# @type ChannelId: Integer
|
833
|
-
# @param LatestBlockNumber: 获取的最新交易的区块数量,取值范围1~5
|
834
|
-
# @type LatestBlockNumber: Integer
|
835
|
-
# @param GroupName: 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称
|
836
|
-
# @type GroupName: String
|
837
|
-
# @param ChannelName: 需要查询的通道名称,可在通道详情或列表中获取
|
838
|
-
# @type ChannelName: String
|
839
|
-
# @param ClusterId: 区块链网络ID,可在区块链网络详情或列表中获取
|
840
|
-
# @type ClusterId: String
|
841
|
-
# @param Offset: 需要获取的起始交易偏移
|
842
|
-
# @type Offset: Integer
|
843
|
-
# @param Limit: 需要获取的交易数量
|
844
|
-
# @type Limit: Integer
|
845
|
-
|
846
|
-
attr_accessor :Module, :Operation, :GroupId, :ChannelId, :LatestBlockNumber, :GroupName, :ChannelName, :ClusterId, :Offset, :Limit
|
847
|
-
|
848
|
-
def initialize(_module=nil, operation=nil, groupid=nil, channelid=nil, latestblocknumber=nil, groupname=nil, channelname=nil, clusterid=nil, offset=nil, limit=nil)
|
849
|
-
@Module = _module
|
850
|
-
@Operation = operation
|
851
|
-
@GroupId = groupid
|
852
|
-
@ChannelId = channelid
|
853
|
-
@LatestBlockNumber = latestblocknumber
|
854
|
-
@GroupName = groupname
|
855
|
-
@ChannelName = channelname
|
856
|
-
@ClusterId = clusterid
|
857
|
-
@Offset = offset
|
858
|
-
@Limit = limit
|
859
|
-
end
|
860
|
-
|
861
|
-
def deserialize(params)
|
862
|
-
@Module = params['Module']
|
863
|
-
@Operation = params['Operation']
|
864
|
-
@GroupId = params['GroupId']
|
865
|
-
@ChannelId = params['ChannelId']
|
866
|
-
@LatestBlockNumber = params['LatestBlockNumber']
|
867
|
-
@GroupName = params['GroupName']
|
868
|
-
@ChannelName = params['ChannelName']
|
869
|
-
@ClusterId = params['ClusterId']
|
870
|
-
@Offset = params['Offset']
|
871
|
-
@Limit = params['Limit']
|
872
|
-
end
|
873
|
-
end
|
874
|
-
|
875
|
-
# GetLatesdTransactionList返回参数结构体
|
876
|
-
class GetLatesdTransactionListResponse < TencentCloud::Common::AbstractModel
|
877
|
-
# @param TotalCount: 交易总数量
|
878
|
-
# @type TotalCount: Integer
|
879
|
-
# @param TransactionList: 交易列表
|
880
|
-
# @type TransactionList: Array
|
881
|
-
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
882
|
-
# @type RequestId: String
|
883
|
-
|
884
|
-
attr_accessor :TotalCount, :TransactionList, :RequestId
|
885
|
-
|
886
|
-
def initialize(totalcount=nil, transactionlist=nil, requestid=nil)
|
887
|
-
@TotalCount = totalcount
|
888
|
-
@TransactionList = transactionlist
|
889
|
-
@RequestId = requestid
|
890
|
-
end
|
891
|
-
|
892
|
-
def deserialize(params)
|
893
|
-
@TotalCount = params['TotalCount']
|
894
|
-
unless params['TransactionList'].nil?
|
895
|
-
@TransactionList = []
|
896
|
-
params['TransactionList'].each do |i|
|
897
|
-
transactionitem_tmp = TransactionItem.new
|
898
|
-
transactionitem_tmp.deserialize(i)
|
899
|
-
@TransactionList << transactionitem_tmp
|
900
|
-
end
|
901
|
-
end
|
902
|
-
@RequestId = params['RequestId']
|
903
|
-
end
|
904
|
-
end
|
905
|
-
|
906
823
|
# GetLatestTransactionList请求参数结构体
|
907
824
|
class GetLatestTransactionListRequest < TencentCloud::Common::AbstractModel
|
908
825
|
# @param Module: 模块名称,固定字段:transaction
|
@@ -1355,8 +1272,8 @@ module TencentCloud
|
|
1355
1272
|
|
1356
1273
|
attr_accessor :Txid, :Events, :TxId, :RequestId
|
1357
1274
|
extend Gem::Deprecate
|
1358
|
-
deprecate :Txid, :none, 2025,
|
1359
|
-
deprecate :Txid=, :none, 2025,
|
1275
|
+
deprecate :Txid, :none, 2025, 5
|
1276
|
+
deprecate :Txid=, :none, 2025, 5
|
1360
1277
|
|
1361
1278
|
def initialize(events=nil, txid=nil, requestid=nil)
|
1362
1279
|
@Events = events
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tbaas
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1061
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-05-
|
11
|
+
date: 2025-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|